Add translation webhook events (#1273)
This commit is contained in:
parent
79e752cdbf
commit
19b0a9623e
5 changed files with 566 additions and 7 deletions
|
@ -7257,6 +7257,10 @@
|
|||
"context": "event",
|
||||
"string": "Order created"
|
||||
},
|
||||
"src_dot_webhooks_dot_components_dot_WebhookEvents_dot_36047288": {
|
||||
"context": "event",
|
||||
"string": "Translation created"
|
||||
},
|
||||
"src_dot_webhooks_dot_components_dot_WebhookEvents_dot_3617444329": {
|
||||
"context": "event",
|
||||
"string": "Order cancelled"
|
||||
|
@ -7297,6 +7301,10 @@
|
|||
"context": "event",
|
||||
"string": "Process payment"
|
||||
},
|
||||
"src_dot_webhooks_dot_components_dot_WebhookEvents_dot_482477254": {
|
||||
"context": "event",
|
||||
"string": "Translation updated"
|
||||
},
|
||||
"src_dot_webhooks_dot_components_dot_WebhookEvents_dot_679080833": {
|
||||
"context": "event",
|
||||
"string": "Page created"
|
||||
|
|
|
@ -421,6 +421,7 @@ type Attribute implements Node & ObjectWithMetadata {
|
|||
availableInGrid: Boolean!
|
||||
translation(languageCode: LanguageCodeEnum!): AttributeTranslation
|
||||
storefrontSearchPosition: Int!
|
||||
withChoices: Boolean!
|
||||
}
|
||||
|
||||
type AttributeBulkDelete {
|
||||
|
@ -512,6 +513,7 @@ input AttributeFilterInput {
|
|||
type: AttributeTypeEnum
|
||||
inCollection: ID
|
||||
inCategory: ID
|
||||
channel: String
|
||||
}
|
||||
|
||||
input AttributeInput {
|
||||
|
@ -674,6 +676,7 @@ input AttributeValueInput {
|
|||
type AttributeValueTranslatableContent implements Node {
|
||||
id: ID!
|
||||
name: String!
|
||||
richText: JSONString
|
||||
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
|
||||
attributeValue: AttributeValue @deprecated(reason: "Will be removed in Saleor 4.0. Get model fields from the root level.")
|
||||
}
|
||||
|
@ -806,6 +809,7 @@ enum CategorySortField {
|
|||
|
||||
input CategorySortingInput {
|
||||
direction: OrderDirection!
|
||||
channel: String
|
||||
field: CategorySortField!
|
||||
}
|
||||
|
||||
|
@ -1239,6 +1243,7 @@ input CollectionFilterInput {
|
|||
search: String
|
||||
metadata: [MetadataFilter]
|
||||
ids: [ID]
|
||||
channel: String
|
||||
}
|
||||
|
||||
input CollectionInput {
|
||||
|
@ -1278,6 +1283,7 @@ enum CollectionSortField {
|
|||
|
||||
input CollectionSortingInput {
|
||||
direction: OrderDirection!
|
||||
channel: String
|
||||
field: CollectionSortField!
|
||||
}
|
||||
|
||||
|
@ -1648,6 +1654,7 @@ type CustomerEvent implements Node {
|
|||
date: DateTime
|
||||
type: CustomerEventsEnum
|
||||
user: User
|
||||
app: App
|
||||
message: String
|
||||
count: Int
|
||||
order: Order
|
||||
|
@ -3193,6 +3200,7 @@ type OrderEvent implements Node {
|
|||
date: DateTime
|
||||
type: OrderEventsEnum
|
||||
user: User
|
||||
app: App
|
||||
message: String
|
||||
email: String
|
||||
emailType: OrderEventsEmailsEnum
|
||||
|
@ -3684,6 +3692,7 @@ type PageTranslatableContent implements Node {
|
|||
contentJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.")
|
||||
translation(languageCode: LanguageCodeEnum!): PageTranslation
|
||||
page: Page @deprecated(reason: "Will be removed in Saleor 4.0. Get model fields from the root level.")
|
||||
attributeValues: [AttributeValueTranslatableContent!]!
|
||||
}
|
||||
|
||||
type PageTranslate {
|
||||
|
@ -3909,6 +3918,7 @@ type PaymentRefund {
|
|||
|
||||
type PaymentSource {
|
||||
gateway: String!
|
||||
paymentMethodId: String
|
||||
creditCardInfo: CreditCard
|
||||
}
|
||||
|
||||
|
@ -4299,6 +4309,7 @@ input ProductFilterInput {
|
|||
minimalPrice: PriceRangeInput
|
||||
productTypes: [ID]
|
||||
ids: [ID]
|
||||
channel: String
|
||||
}
|
||||
|
||||
type ProductImage {
|
||||
|
@ -4383,6 +4394,7 @@ input ProductMediaUpdateInput {
|
|||
|
||||
input ProductOrder {
|
||||
direction: OrderDirection!
|
||||
channel: String
|
||||
attributeId: ID
|
||||
field: ProductOrderField
|
||||
}
|
||||
|
@ -4429,6 +4441,7 @@ type ProductTranslatableContent implements Node {
|
|||
descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
|
||||
translation(languageCode: LanguageCodeEnum!): ProductTranslation
|
||||
product: Product @deprecated(reason: "Will be removed in Saleor 4.0. Get model fields from the root level.")
|
||||
attributeValues: [AttributeValueTranslatableContent!]!
|
||||
}
|
||||
|
||||
type ProductTranslate {
|
||||
|
@ -4703,6 +4716,7 @@ type ProductVariantTranslatableContent implements Node {
|
|||
name: String!
|
||||
translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation
|
||||
productVariant: ProductVariant @deprecated(reason: "Will be removed in Saleor 4.0. Get model fields from the root level.")
|
||||
attributeValues: [AttributeValueTranslatableContent!]!
|
||||
}
|
||||
|
||||
type ProductVariantTranslate {
|
||||
|
@ -4785,7 +4799,6 @@ type Query {
|
|||
taxTypes: [TaxType]
|
||||
checkout(token: UUID): Checkout
|
||||
checkouts(channel: String, before: String, after: String, first: Int, last: Int): CheckoutCountableConnection
|
||||
checkoutLine(id: ID): CheckoutLine
|
||||
checkoutLines(before: String, after: String, first: Int, last: Int): CheckoutLineCountableConnection
|
||||
channel(id: ID): Channel
|
||||
channels: [Channel!]
|
||||
|
@ -4919,6 +4932,7 @@ input SaleFilterInput {
|
|||
saleType: DiscountValueTypeEnum
|
||||
started: DateTimeRangeInput
|
||||
search: String
|
||||
metadata: [MetadataFilter]
|
||||
}
|
||||
|
||||
input SaleInput {
|
||||
|
@ -4948,6 +4962,7 @@ enum SaleSortField {
|
|||
|
||||
input SaleSortingInput {
|
||||
direction: OrderDirection!
|
||||
channel: String
|
||||
field: SaleSortField!
|
||||
}
|
||||
|
||||
|
@ -5858,6 +5873,7 @@ input VoucherFilterInput {
|
|||
discountType: [VoucherDiscountType]
|
||||
started: DateTimeRangeInput
|
||||
search: String
|
||||
metadata: [MetadataFilter]
|
||||
}
|
||||
|
||||
input VoucherInput {
|
||||
|
@ -5896,6 +5912,7 @@ enum VoucherSortField {
|
|||
|
||||
input VoucherSortingInput {
|
||||
direction: OrderDirection!
|
||||
channel: String
|
||||
field: VoucherSortField!
|
||||
}
|
||||
|
||||
|
@ -6110,6 +6127,8 @@ enum WebhookEventTypeEnum {
|
|||
PAYMENT_PROCESS
|
||||
PAYMENT_REFUND
|
||||
PAYMENT_VOID
|
||||
TRANSLATION_CREATED
|
||||
TRANSLATION_UPDATED
|
||||
}
|
||||
|
||||
enum WebhookSampleEventTypeEnum {
|
||||
|
@ -6144,6 +6163,8 @@ enum WebhookSampleEventTypeEnum {
|
|||
PAYMENT_PROCESS
|
||||
PAYMENT_REFUND
|
||||
PAYMENT_VOID
|
||||
TRANSLATION_CREATED
|
||||
TRANSLATION_UPDATED
|
||||
}
|
||||
|
||||
type WebhookUpdate {
|
||||
|
@ -6178,7 +6199,7 @@ enum WeightUnitsEnum {
|
|||
|
||||
scalar _Any
|
||||
|
||||
union _Entity = Address | User | Group | App | ProductVariant | Product | ProductType | Collection | Category | ProductMedia | ProductImage | PageType
|
||||
union _Entity = App | Address | User | Group | ProductVariant | Product | ProductType | Collection | Category | ProductMedia | ProductImage | PageType
|
||||
|
||||
type _Service {
|
||||
sdl: String
|
||||
|
|
|
@ -26337,6 +26337,78 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook default 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -27792,6 +27864,78 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook form errors 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -29309,6 +29453,82 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook loading 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="true"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id PrivateSwitchBase-disabled-id MuiCheckbox-disabled-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
||||
tabindex="-1"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
disabled=""
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="true"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id PrivateSwitchBase-disabled-id MuiCheckbox-disabled-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
||||
tabindex="-1"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
disabled=""
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -30773,6 +30993,78 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details default 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -32229,6 +32521,78 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details form errors 1`] =
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -33747,6 +34111,82 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details loading 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="true"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id PrivateSwitchBase-disabled-id MuiCheckbox-disabled-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
||||
tabindex="-1"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
disabled=""
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="true"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id PrivateSwitchBase-disabled-id MuiCheckbox-disabled-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
||||
tabindex="-1"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
disabled=""
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -35199,6 +35639,78 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details unnamed 1`] = `
|
|||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_CREATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation created
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class="MuiFormControlLabel-root-id"
|
||||
>
|
||||
<span
|
||||
aria-disabled="false"
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id PrivateSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiIconButton-colorPrimary-id"
|
||||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<input
|
||||
class="PrivateSwitchBase-input-id"
|
||||
data-indeterminate="false"
|
||||
name="TRANSLATION_UPDATED"
|
||||
type="checkbox"
|
||||
/>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root-id"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||
>
|
||||
Translation updated
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -1044,6 +1044,8 @@ export enum WebhookEventTypeEnum {
|
|||
PRODUCT_VARIANT_CREATED = "PRODUCT_VARIANT_CREATED",
|
||||
PRODUCT_VARIANT_DELETED = "PRODUCT_VARIANT_DELETED",
|
||||
PRODUCT_VARIANT_UPDATED = "PRODUCT_VARIANT_UPDATED",
|
||||
TRANSLATION_CREATED = "TRANSLATION_CREATED",
|
||||
TRANSLATION_UPDATED = "TRANSLATION_UPDATED",
|
||||
}
|
||||
|
||||
export enum WeightUnitsEnum {
|
||||
|
@ -1126,16 +1128,15 @@ export interface AttributeFilterInput {
|
|||
type?: AttributeTypeEnum | null;
|
||||
inCollection?: string | null;
|
||||
inCategory?: string | null;
|
||||
channel?: string | null;
|
||||
}
|
||||
|
||||
export interface AttributeInput {
|
||||
slug: string;
|
||||
values?: (string | null)[] | null;
|
||||
valuesRange?: IntRangeInput | null;
|
||||
dateTimeRange?: DateTimeRangeInput | null;
|
||||
dateRange?: DateRangeInput | null;
|
||||
dateTime?: any | null;
|
||||
date?: any | null;
|
||||
dateTime?: DateTimeRangeInput | null;
|
||||
date?: DateRangeInput | null;
|
||||
boolean?: boolean | null;
|
||||
}
|
||||
|
||||
|
@ -1184,7 +1185,7 @@ export interface AttributeValueTranslationInput {
|
|||
|
||||
export interface BulkAttributeValueInput {
|
||||
id?: string | null;
|
||||
values?: (string | null)[] | null;
|
||||
values?: string[] | null;
|
||||
boolean?: boolean | null;
|
||||
}
|
||||
|
||||
|
@ -1211,6 +1212,7 @@ export interface CategoryInput {
|
|||
|
||||
export interface CategorySortingInput {
|
||||
direction: OrderDirection;
|
||||
channel?: string | null;
|
||||
field: CategorySortField;
|
||||
}
|
||||
|
||||
|
@ -1256,6 +1258,7 @@ export interface CollectionFilterInput {
|
|||
search?: string | null;
|
||||
metadata?: (MetadataFilter | null)[] | null;
|
||||
ids?: (string | null)[] | null;
|
||||
channel?: string | null;
|
||||
}
|
||||
|
||||
export interface CollectionInput {
|
||||
|
@ -1271,6 +1274,7 @@ export interface CollectionInput {
|
|||
|
||||
export interface CollectionSortingInput {
|
||||
direction: OrderDirection;
|
||||
channel?: string | null;
|
||||
field: CollectionSortField;
|
||||
}
|
||||
|
||||
|
@ -1682,6 +1686,7 @@ export interface ProductFilterInput {
|
|||
minimalPrice?: PriceRangeInput | null;
|
||||
productTypes?: (string | null)[] | null;
|
||||
ids?: (string | null)[] | null;
|
||||
channel?: string | null;
|
||||
}
|
||||
|
||||
export interface ProductInput {
|
||||
|
@ -1700,6 +1705,7 @@ export interface ProductInput {
|
|||
|
||||
export interface ProductOrder {
|
||||
direction: OrderDirection;
|
||||
channel?: string | null;
|
||||
attributeId?: string | null;
|
||||
field?: ProductOrderField | null;
|
||||
}
|
||||
|
@ -1791,6 +1797,7 @@ export interface SaleFilterInput {
|
|||
saleType?: DiscountValueTypeEnum | null;
|
||||
started?: DateTimeRangeInput | null;
|
||||
search?: string | null;
|
||||
metadata?: (MetadataFilter | null)[] | null;
|
||||
}
|
||||
|
||||
export interface SaleInput {
|
||||
|
@ -1806,6 +1813,7 @@ export interface SaleInput {
|
|||
|
||||
export interface SaleSortingInput {
|
||||
direction: OrderDirection;
|
||||
channel?: string | null;
|
||||
field: SaleSortField;
|
||||
}
|
||||
|
||||
|
@ -1972,6 +1980,7 @@ export interface VoucherFilterInput {
|
|||
discountType?: (VoucherDiscountType | null)[] | null;
|
||||
started?: DateTimeRangeInput | null;
|
||||
search?: string | null;
|
||||
metadata?: (MetadataFilter | null)[] | null;
|
||||
}
|
||||
|
||||
export interface VoucherInput {
|
||||
|
@ -1994,6 +2003,7 @@ export interface VoucherInput {
|
|||
|
||||
export interface VoucherSortingInput {
|
||||
direction: OrderDirection;
|
||||
channel?: string | null;
|
||||
field: VoucherSortField;
|
||||
}
|
||||
|
||||
|
|
|
@ -173,6 +173,14 @@ const WebhookEvents: React.FC<WebhookEventsProps> = ({
|
|||
[WebhookEventTypeEnum.NOTIFY_USER]: intl.formatMessage({
|
||||
defaultMessage: "User notified",
|
||||
description: "event"
|
||||
}),
|
||||
[WebhookEventTypeEnum.TRANSLATION_CREATED]: intl.formatMessage({
|
||||
defaultMessage: "Translation created",
|
||||
description: "event"
|
||||
}),
|
||||
[WebhookEventTypeEnum.TRANSLATION_UPDATED]: intl.formatMessage({
|
||||
defaultMessage: "Translation updated",
|
||||
description: "event"
|
||||
})
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue