@wix/auto_sdk_multilingual_translation-schemas 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.d.ts +9 -17
- package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.js.map +1 -1
- package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts +17 -33
- package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js +3 -1
- package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map +1 -1
- package/build/es/src/multilingual-translation-v1-schema-translation-schemas.types.d.ts +9 -17
- package/build/es/src/multilingual-translation-v1-schema-translation-schemas.types.js.map +1 -1
- package/build/es/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts +17 -33
- package/build/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js +3 -1
- package/build/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map +1 -1
- package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.d.ts +9 -17
- package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.js.map +1 -1
- package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts +17 -33
- package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js +3 -1
- package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map +1 -1
- package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.types.d.ts +9 -17
- package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.types.js.map +1 -1
- package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts +17 -33
- package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js +3 -1
- package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -779,25 +779,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
779
779
|
updatedEvent?: EntityUpdatedEvent;
|
|
780
780
|
deletedEvent?: EntityDeletedEvent;
|
|
781
781
|
actionEvent?: ActionEvent;
|
|
782
|
-
/**
|
|
783
|
-
* Unique event ID.
|
|
784
|
-
* Allows clients to ignore duplicate webhooks.
|
|
785
|
-
*/
|
|
782
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
786
783
|
id?: string;
|
|
787
784
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
785
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
786
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
790
787
|
*/
|
|
791
788
|
entityFqdn?: string;
|
|
792
789
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
790
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
791
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
796
792
|
*/
|
|
797
793
|
slug?: string;
|
|
798
794
|
/** ID of the entity associated with the event. */
|
|
799
795
|
entityId?: string;
|
|
800
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
796
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
801
797
|
eventTime?: Date | null;
|
|
802
798
|
/**
|
|
803
799
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -807,12 +803,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
807
803
|
/** If present, indicates the action that triggered the event. */
|
|
808
804
|
originatedFrom?: string | null;
|
|
809
805
|
/**
|
|
810
|
-
* A sequence number
|
|
811
|
-
*
|
|
812
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
813
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
814
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
815
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
806
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
807
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
816
808
|
*/
|
|
817
809
|
entityEventSequence?: string | null;
|
|
818
810
|
}
|
|
@@ -840,7 +832,7 @@ export interface EntityUpdatedEvent {
|
|
|
840
832
|
currentEntityAsJson?: string;
|
|
841
833
|
}
|
|
842
834
|
export interface EntityDeletedEvent {
|
|
843
|
-
/** Entity that was deleted */
|
|
835
|
+
/** Entity that was deleted. */
|
|
844
836
|
deletedEntityAsJson?: string | null;
|
|
845
837
|
}
|
|
846
838
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":";;;AAgFA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB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zB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":";;;AAgFA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,q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J;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAsSD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -780,25 +780,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
780
780
|
updatedEvent?: EntityUpdatedEvent;
|
|
781
781
|
deletedEvent?: EntityDeletedEvent;
|
|
782
782
|
actionEvent?: ActionEvent;
|
|
783
|
-
/**
|
|
784
|
-
* Unique event ID.
|
|
785
|
-
* Allows clients to ignore duplicate webhooks.
|
|
786
|
-
*/
|
|
783
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
787
784
|
_id?: string;
|
|
788
785
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
786
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
787
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
791
788
|
*/
|
|
792
789
|
entityFqdn?: string;
|
|
793
790
|
/**
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
791
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
792
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
797
793
|
*/
|
|
798
794
|
slug?: string;
|
|
799
795
|
/** ID of the entity associated with the event. */
|
|
800
796
|
entityId?: string;
|
|
801
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
797
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
802
798
|
eventTime?: Date | null;
|
|
803
799
|
/**
|
|
804
800
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -808,12 +804,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
808
804
|
/** If present, indicates the action that triggered the event. */
|
|
809
805
|
originatedFrom?: string | null;
|
|
810
806
|
/**
|
|
811
|
-
* A sequence number
|
|
812
|
-
*
|
|
813
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
814
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
815
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
816
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
807
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
808
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
817
809
|
*/
|
|
818
810
|
entityEventSequence?: string | null;
|
|
819
811
|
}
|
|
@@ -839,7 +831,7 @@ export interface EntityUpdatedEvent {
|
|
|
839
831
|
currentEntity?: string;
|
|
840
832
|
}
|
|
841
833
|
export interface EntityDeletedEvent {
|
|
842
|
-
/** Entity that was deleted */
|
|
834
|
+
/** Entity that was deleted. */
|
|
843
835
|
deletedEntity?: string | null;
|
|
844
836
|
}
|
|
845
837
|
export interface ActionEvent {
|
|
@@ -930,25 +922,21 @@ export interface BaseEventMetadata {
|
|
|
930
922
|
identity?: IdentificationData;
|
|
931
923
|
}
|
|
932
924
|
export interface EventMetadata extends BaseEventMetadata {
|
|
933
|
-
/**
|
|
934
|
-
* Unique event ID.
|
|
935
|
-
* Allows clients to ignore duplicate webhooks.
|
|
936
|
-
*/
|
|
925
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
937
926
|
_id?: string;
|
|
938
927
|
/**
|
|
939
|
-
*
|
|
940
|
-
*
|
|
928
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
929
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
941
930
|
*/
|
|
942
931
|
entityFqdn?: string;
|
|
943
932
|
/**
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
933
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
934
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
947
935
|
*/
|
|
948
936
|
slug?: string;
|
|
949
937
|
/** ID of the entity associated with the event. */
|
|
950
938
|
entityId?: string;
|
|
951
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
939
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
952
940
|
eventTime?: Date | null;
|
|
953
941
|
/**
|
|
954
942
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -958,12 +946,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
958
946
|
/** If present, indicates the action that triggered the event. */
|
|
959
947
|
originatedFrom?: string | null;
|
|
960
948
|
/**
|
|
961
|
-
* A sequence number
|
|
962
|
-
*
|
|
963
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
964
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
965
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
966
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
949
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
950
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
967
951
|
*/
|
|
968
952
|
entityEventSequence?: string | null;
|
|
969
953
|
}
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixMultilingualTranslationV1Schema = __importStar(require("./multilingual-translation-v1-schema-translation-schemas.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var SchemaScope;
|
|
32
34
|
(function (SchemaScope) {
|
|
33
35
|
SchemaScope["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
|
|
@@ -438,7 +440,7 @@ function querySchemas(options) {
|
|
|
438
440
|
});
|
|
439
441
|
},
|
|
440
442
|
responseTransformer: ({ data }) => {
|
|
441
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
443
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
442
444
|
return {
|
|
443
445
|
items: transformedData?.schemas,
|
|
444
446
|
pagingMetadata: transformedData?.pagingMetadata,
|
package/build/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+IAAiI;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+IAAiI;AACjI,aAAa;AACb,sFAAkF;AAkFlF,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6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B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnDD,0CAmDC"}
|
|
@@ -779,25 +779,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
779
779
|
updatedEvent?: EntityUpdatedEvent;
|
|
780
780
|
deletedEvent?: EntityDeletedEvent;
|
|
781
781
|
actionEvent?: ActionEvent;
|
|
782
|
-
/**
|
|
783
|
-
* Unique event ID.
|
|
784
|
-
* Allows clients to ignore duplicate webhooks.
|
|
785
|
-
*/
|
|
782
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
786
783
|
id?: string;
|
|
787
784
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
785
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
786
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
790
787
|
*/
|
|
791
788
|
entityFqdn?: string;
|
|
792
789
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
790
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
791
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
796
792
|
*/
|
|
797
793
|
slug?: string;
|
|
798
794
|
/** ID of the entity associated with the event. */
|
|
799
795
|
entityId?: string;
|
|
800
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
796
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
801
797
|
eventTime?: Date | null;
|
|
802
798
|
/**
|
|
803
799
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -807,12 +803,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
807
803
|
/** If present, indicates the action that triggered the event. */
|
|
808
804
|
originatedFrom?: string | null;
|
|
809
805
|
/**
|
|
810
|
-
* A sequence number
|
|
811
|
-
*
|
|
812
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
813
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
814
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
815
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
806
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
807
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
816
808
|
*/
|
|
817
809
|
entityEventSequence?: string | null;
|
|
818
810
|
}
|
|
@@ -840,7 +832,7 @@ export interface EntityUpdatedEvent {
|
|
|
840
832
|
currentEntityAsJson?: string;
|
|
841
833
|
}
|
|
842
834
|
export interface EntityDeletedEvent {
|
|
843
|
-
/** Entity that was deleted */
|
|
835
|
+
/** Entity that was deleted. */
|
|
844
836
|
deletedEntityAsJson?: string | null;
|
|
845
837
|
}
|
|
846
838
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":"AAgFA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AA8CD,MAAM,CAAN,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2B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jB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;IAC3H,kDAAqC,CAAA;IACrC,iIAAiI;IACjI,kCAAqB,CAAA;IACrB,sJAAsJ;IACtJ,4BAAe,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,KAAT,SAAS,QAiFpB;AAuCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":"AAgFA,MAAM,CAAN,IAAY,WAMX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DAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAsSD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -780,25 +780,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
780
780
|
updatedEvent?: EntityUpdatedEvent;
|
|
781
781
|
deletedEvent?: EntityDeletedEvent;
|
|
782
782
|
actionEvent?: ActionEvent;
|
|
783
|
-
/**
|
|
784
|
-
* Unique event ID.
|
|
785
|
-
* Allows clients to ignore duplicate webhooks.
|
|
786
|
-
*/
|
|
783
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
787
784
|
_id?: string;
|
|
788
785
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
786
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
787
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
791
788
|
*/
|
|
792
789
|
entityFqdn?: string;
|
|
793
790
|
/**
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
791
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
792
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
797
793
|
*/
|
|
798
794
|
slug?: string;
|
|
799
795
|
/** ID of the entity associated with the event. */
|
|
800
796
|
entityId?: string;
|
|
801
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
797
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
802
798
|
eventTime?: Date | null;
|
|
803
799
|
/**
|
|
804
800
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -808,12 +804,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
808
804
|
/** If present, indicates the action that triggered the event. */
|
|
809
805
|
originatedFrom?: string | null;
|
|
810
806
|
/**
|
|
811
|
-
* A sequence number
|
|
812
|
-
*
|
|
813
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
814
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
815
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
816
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
807
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
808
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
817
809
|
*/
|
|
818
810
|
entityEventSequence?: string | null;
|
|
819
811
|
}
|
|
@@ -839,7 +831,7 @@ export interface EntityUpdatedEvent {
|
|
|
839
831
|
currentEntity?: string;
|
|
840
832
|
}
|
|
841
833
|
export interface EntityDeletedEvent {
|
|
842
|
-
/** Entity that was deleted */
|
|
834
|
+
/** Entity that was deleted. */
|
|
843
835
|
deletedEntity?: string | null;
|
|
844
836
|
}
|
|
845
837
|
export interface ActionEvent {
|
|
@@ -930,25 +922,21 @@ export interface BaseEventMetadata {
|
|
|
930
922
|
identity?: IdentificationData;
|
|
931
923
|
}
|
|
932
924
|
export interface EventMetadata extends BaseEventMetadata {
|
|
933
|
-
/**
|
|
934
|
-
* Unique event ID.
|
|
935
|
-
* Allows clients to ignore duplicate webhooks.
|
|
936
|
-
*/
|
|
925
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
937
926
|
_id?: string;
|
|
938
927
|
/**
|
|
939
|
-
*
|
|
940
|
-
*
|
|
928
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
929
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
941
930
|
*/
|
|
942
931
|
entityFqdn?: string;
|
|
943
932
|
/**
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
933
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
934
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
947
935
|
*/
|
|
948
936
|
slug?: string;
|
|
949
937
|
/** ID of the entity associated with the event. */
|
|
950
938
|
entityId?: string;
|
|
951
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
939
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
952
940
|
eventTime?: Date | null;
|
|
953
941
|
/**
|
|
954
942
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -958,12 +946,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
958
946
|
/** If present, indicates the action that triggered the event. */
|
|
959
947
|
originatedFrom?: string | null;
|
|
960
948
|
/**
|
|
961
|
-
* A sequence number
|
|
962
|
-
*
|
|
963
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
964
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
965
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
966
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
949
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
950
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
967
951
|
*/
|
|
968
952
|
entityEventSequence?: string | null;
|
|
969
953
|
}
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixMultilingualTranslationV1Schema from './multilingual-translation-v1-schema-translation-schemas.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var SchemaScope;
|
|
6
8
|
(function (SchemaScope) {
|
|
7
9
|
SchemaScope["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
|
|
@@ -407,7 +409,7 @@ export function querySchemas(options) {
|
|
|
407
409
|
});
|
|
408
410
|
},
|
|
409
411
|
responseTransformer: ({ data }) => {
|
|
410
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
412
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
411
413
|
return {
|
|
412
414
|
items: transformedData?.schemas,
|
|
413
415
|
pagingMetadata: transformedData?.pagingMetadata,
|
package/build/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4CAA4C,MAAM,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4CAA4C,MAAM,kEAAkE,CAAC;AACjI,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAkFlF,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AA8CD,MAAM,CAAN,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,kCAAqB,CAAA;AACvB,CAAC,EAnBW,SAAS,KAAT,SAAS,QAmBpB;AAmHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAuND,MAAM,CAAN,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IAC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KAAK,EAAE,OAAO,EAAE,KAAK;KACtB,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,4CAA4C,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,MAAM,EAAE,aAAa;gBACrB,KAAK,EAAE,YAAY;gBACnB,UAAU,EAAE,iBAAiB;gBAC7B,KAAK,EAAE,YAAY;aACpB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.d.ts
CHANGED
|
@@ -779,25 +779,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
779
779
|
updatedEvent?: EntityUpdatedEvent;
|
|
780
780
|
deletedEvent?: EntityDeletedEvent;
|
|
781
781
|
actionEvent?: ActionEvent;
|
|
782
|
-
/**
|
|
783
|
-
* Unique event ID.
|
|
784
|
-
* Allows clients to ignore duplicate webhooks.
|
|
785
|
-
*/
|
|
782
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
786
783
|
id?: string;
|
|
787
784
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
785
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
786
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
790
787
|
*/
|
|
791
788
|
entityFqdn?: string;
|
|
792
789
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
790
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
791
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
796
792
|
*/
|
|
797
793
|
slug?: string;
|
|
798
794
|
/** ID of the entity associated with the event. */
|
|
799
795
|
entityId?: string;
|
|
800
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
796
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
801
797
|
eventTime?: Date | null;
|
|
802
798
|
/**
|
|
803
799
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -807,12 +803,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
807
803
|
/** If present, indicates the action that triggered the event. */
|
|
808
804
|
originatedFrom?: string | null;
|
|
809
805
|
/**
|
|
810
|
-
* A sequence number
|
|
811
|
-
*
|
|
812
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
813
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
814
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
815
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
806
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
807
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
816
808
|
*/
|
|
817
809
|
entityEventSequence?: string | null;
|
|
818
810
|
}
|
|
@@ -840,7 +832,7 @@ export interface EntityUpdatedEvent {
|
|
|
840
832
|
currentEntityAsJson?: string;
|
|
841
833
|
}
|
|
842
834
|
export interface EntityDeletedEvent {
|
|
843
|
-
/** Entity that was deleted */
|
|
835
|
+
/** Entity that was deleted. */
|
|
844
836
|
deletedEntityAsJson?: string | null;
|
|
845
837
|
}
|
|
846
838
|
export interface ActionEvent {
|
package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":";;;AAgFA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,kCAAqB,CAAA;AACvB,CAAC,EAnBW,SAAS,yBAAT,SAAS,QAmBpB;AAmHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAuND,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAA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AAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":";;;AAgFA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,kCAAqB,CAAA;AACvB,CAAC,EAnBW,SAAS,yBAAT,SAAS,QAmBpB;AAmHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CA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qB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAsSD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts
CHANGED
|
@@ -780,25 +780,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
780
780
|
updatedEvent?: EntityUpdatedEvent;
|
|
781
781
|
deletedEvent?: EntityDeletedEvent;
|
|
782
782
|
actionEvent?: ActionEvent;
|
|
783
|
-
/**
|
|
784
|
-
* Unique event ID.
|
|
785
|
-
* Allows clients to ignore duplicate webhooks.
|
|
786
|
-
*/
|
|
783
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
787
784
|
_id?: string;
|
|
788
785
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
786
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
787
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
791
788
|
*/
|
|
792
789
|
entityFqdn?: string;
|
|
793
790
|
/**
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
791
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
792
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
797
793
|
*/
|
|
798
794
|
slug?: string;
|
|
799
795
|
/** ID of the entity associated with the event. */
|
|
800
796
|
entityId?: string;
|
|
801
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
797
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
802
798
|
eventTime?: Date | null;
|
|
803
799
|
/**
|
|
804
800
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -808,12 +804,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
808
804
|
/** If present, indicates the action that triggered the event. */
|
|
809
805
|
originatedFrom?: string | null;
|
|
810
806
|
/**
|
|
811
|
-
* A sequence number
|
|
812
|
-
*
|
|
813
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
814
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
815
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
816
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
807
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
808
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
817
809
|
*/
|
|
818
810
|
entityEventSequence?: string | null;
|
|
819
811
|
}
|
|
@@ -839,7 +831,7 @@ export interface EntityUpdatedEvent {
|
|
|
839
831
|
currentEntity?: string;
|
|
840
832
|
}
|
|
841
833
|
export interface EntityDeletedEvent {
|
|
842
|
-
/** Entity that was deleted */
|
|
834
|
+
/** Entity that was deleted. */
|
|
843
835
|
deletedEntity?: string | null;
|
|
844
836
|
}
|
|
845
837
|
export interface ActionEvent {
|
|
@@ -930,25 +922,21 @@ export interface BaseEventMetadata {
|
|
|
930
922
|
identity?: IdentificationData;
|
|
931
923
|
}
|
|
932
924
|
export interface EventMetadata extends BaseEventMetadata {
|
|
933
|
-
/**
|
|
934
|
-
* Unique event ID.
|
|
935
|
-
* Allows clients to ignore duplicate webhooks.
|
|
936
|
-
*/
|
|
925
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
937
926
|
_id?: string;
|
|
938
927
|
/**
|
|
939
|
-
*
|
|
940
|
-
*
|
|
928
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
929
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
941
930
|
*/
|
|
942
931
|
entityFqdn?: string;
|
|
943
932
|
/**
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
933
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
934
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
947
935
|
*/
|
|
948
936
|
slug?: string;
|
|
949
937
|
/** ID of the entity associated with the event. */
|
|
950
938
|
entityId?: string;
|
|
951
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
939
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
952
940
|
eventTime?: Date | null;
|
|
953
941
|
/**
|
|
954
942
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -958,12 +946,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
958
946
|
/** If present, indicates the action that triggered the event. */
|
|
959
947
|
originatedFrom?: string | null;
|
|
960
948
|
/**
|
|
961
|
-
* A sequence number
|
|
962
|
-
*
|
|
963
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
964
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
965
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
966
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
949
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
950
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
967
951
|
*/
|
|
968
952
|
entityEventSequence?: string | null;
|
|
969
953
|
}
|
package/build/internal/cjs/src/multilingual-translation-v1-schema-translation-schemas.universal.js
CHANGED
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixMultilingualTranslationV1Schema = __importStar(require("./multilingual-translation-v1-schema-translation-schemas.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var SchemaScope;
|
|
32
34
|
(function (SchemaScope) {
|
|
33
35
|
SchemaScope["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
|
|
@@ -438,7 +440,7 @@ function querySchemas(options) {
|
|
|
438
440
|
});
|
|
439
441
|
},
|
|
440
442
|
responseTransformer: ({ data }) => {
|
|
441
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
443
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
442
444
|
return {
|
|
443
445
|
items: transformedData?.schemas,
|
|
444
446
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+IAAiI;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+IAAiI;AACjI,aAAa;AACb,sFAAkF;AAkFlF,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA8CD,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB,+BAA+B;IAC/B,4BAAe,CAAA;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ts
CHANGED
|
@@ -779,25 +779,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
779
779
|
updatedEvent?: EntityUpdatedEvent;
|
|
780
780
|
deletedEvent?: EntityDeletedEvent;
|
|
781
781
|
actionEvent?: ActionEvent;
|
|
782
|
-
/**
|
|
783
|
-
* Unique event ID.
|
|
784
|
-
* Allows clients to ignore duplicate webhooks.
|
|
785
|
-
*/
|
|
782
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
786
783
|
id?: string;
|
|
787
784
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
785
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
786
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
790
787
|
*/
|
|
791
788
|
entityFqdn?: string;
|
|
792
789
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
790
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
791
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
796
792
|
*/
|
|
797
793
|
slug?: string;
|
|
798
794
|
/** ID of the entity associated with the event. */
|
|
799
795
|
entityId?: string;
|
|
800
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
796
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
801
797
|
eventTime?: Date | null;
|
|
802
798
|
/**
|
|
803
799
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -807,12 +803,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
807
803
|
/** If present, indicates the action that triggered the event. */
|
|
808
804
|
originatedFrom?: string | null;
|
|
809
805
|
/**
|
|
810
|
-
* A sequence number
|
|
811
|
-
*
|
|
812
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
813
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
814
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
815
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
806
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
807
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
816
808
|
*/
|
|
817
809
|
entityEventSequence?: string | null;
|
|
818
810
|
}
|
|
@@ -840,7 +832,7 @@ export interface EntityUpdatedEvent {
|
|
|
840
832
|
currentEntityAsJson?: string;
|
|
841
833
|
}
|
|
842
834
|
export interface EntityDeletedEvent {
|
|
843
|
-
/** Entity that was deleted */
|
|
835
|
+
/** Entity that was deleted. */
|
|
844
836
|
deletedEntityAsJson?: string | null;
|
|
845
837
|
}
|
|
846
838
|
export interface ActionEvent {
|
package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":"AAgFA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AA8CD,MAAM,CAAN,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CA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Ae,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,KAAT,SAAS,QAiFpB;AAuCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.types.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.types.ts"],"names":[],"mappings":"AAgFA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW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;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.universal.d.ts
CHANGED
|
@@ -780,25 +780,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
780
780
|
updatedEvent?: EntityUpdatedEvent;
|
|
781
781
|
deletedEvent?: EntityDeletedEvent;
|
|
782
782
|
actionEvent?: ActionEvent;
|
|
783
|
-
/**
|
|
784
|
-
* Unique event ID.
|
|
785
|
-
* Allows clients to ignore duplicate webhooks.
|
|
786
|
-
*/
|
|
783
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
787
784
|
_id?: string;
|
|
788
785
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
786
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
787
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
791
788
|
*/
|
|
792
789
|
entityFqdn?: string;
|
|
793
790
|
/**
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
791
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
792
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
797
793
|
*/
|
|
798
794
|
slug?: string;
|
|
799
795
|
/** ID of the entity associated with the event. */
|
|
800
796
|
entityId?: string;
|
|
801
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
797
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
802
798
|
eventTime?: Date | null;
|
|
803
799
|
/**
|
|
804
800
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -808,12 +804,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
808
804
|
/** If present, indicates the action that triggered the event. */
|
|
809
805
|
originatedFrom?: string | null;
|
|
810
806
|
/**
|
|
811
|
-
* A sequence number
|
|
812
|
-
*
|
|
813
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
814
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
815
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
816
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
807
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
808
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
817
809
|
*/
|
|
818
810
|
entityEventSequence?: string | null;
|
|
819
811
|
}
|
|
@@ -839,7 +831,7 @@ export interface EntityUpdatedEvent {
|
|
|
839
831
|
currentEntity?: string;
|
|
840
832
|
}
|
|
841
833
|
export interface EntityDeletedEvent {
|
|
842
|
-
/** Entity that was deleted */
|
|
834
|
+
/** Entity that was deleted. */
|
|
843
835
|
deletedEntity?: string | null;
|
|
844
836
|
}
|
|
845
837
|
export interface ActionEvent {
|
|
@@ -930,25 +922,21 @@ export interface BaseEventMetadata {
|
|
|
930
922
|
identity?: IdentificationData;
|
|
931
923
|
}
|
|
932
924
|
export interface EventMetadata extends BaseEventMetadata {
|
|
933
|
-
/**
|
|
934
|
-
* Unique event ID.
|
|
935
|
-
* Allows clients to ignore duplicate webhooks.
|
|
936
|
-
*/
|
|
925
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
937
926
|
_id?: string;
|
|
938
927
|
/**
|
|
939
|
-
*
|
|
940
|
-
*
|
|
928
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
929
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
941
930
|
*/
|
|
942
931
|
entityFqdn?: string;
|
|
943
932
|
/**
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
933
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
934
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
947
935
|
*/
|
|
948
936
|
slug?: string;
|
|
949
937
|
/** ID of the entity associated with the event. */
|
|
950
938
|
entityId?: string;
|
|
951
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
939
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
952
940
|
eventTime?: Date | null;
|
|
953
941
|
/**
|
|
954
942
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -958,12 +946,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
958
946
|
/** If present, indicates the action that triggered the event. */
|
|
959
947
|
originatedFrom?: string | null;
|
|
960
948
|
/**
|
|
961
|
-
* A sequence number
|
|
962
|
-
*
|
|
963
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
964
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
965
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
966
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
949
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
950
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
967
951
|
*/
|
|
968
952
|
entityEventSequence?: string | null;
|
|
969
953
|
}
|
package/build/internal/es/src/multilingual-translation-v1-schema-translation-schemas.universal.js
CHANGED
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixMultilingualTranslationV1Schema from './multilingual-translation-v1-schema-translation-schemas.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var SchemaScope;
|
|
6
8
|
(function (SchemaScope) {
|
|
7
9
|
SchemaScope["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
|
|
@@ -407,7 +409,7 @@ export function querySchemas(options) {
|
|
|
407
409
|
});
|
|
408
410
|
},
|
|
409
411
|
responseTransformer: ({ data }) => {
|
|
410
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
412
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
411
413
|
return {
|
|
412
414
|
items: transformedData?.schemas,
|
|
413
415
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4CAA4C,MAAM,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"multilingual-translation-v1-schema-translation-schemas.universal.js","sourceRoot":"","sources":["../../../../src/multilingual-translation-v1-schema-translation-schemas.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4CAA4C,MAAM,kEAAkE,CAAC;AACjI,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAkFlF,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,gCAAiB,CAAA;IACjB,yCAAyC;IACzC,4BAAa,CAAA;AACf,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AA8CD,MAAM,CAAN,IAAY,SAmBX;AAnBD,WAAY,SAAS;IACnB,2BAA2B;IAC3B,8CAAiC,CAAA;IACjC,6DAA6D;IAC7D,sCAAyB,CAAA;IACzB,6DAA6D;IAC7D,oCAAuB,CAAA;IACvB,qDAAqD;IACrD,0BAAa,CAAA;IACb,+CAA+C;IAC/C,0CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,sCAAyB,CAAA;IACzB,+BAA+B;IAC/B,4BAAe,CAAA;IACf,kCAAkC;IAClC,kCAAqB,CAAA;AACvB,CAAC,EAnBW,SAAS,KAAT,SAAS,QAmBpB;AAmHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAuND,MAAM,CAAN,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,E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,4CAA4C,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,MAAM,EAAE,aAAa;gBACrB,KAAK,EAAE,YAAY;gBACnB,UAAU,EAAE,iBAAiB;gBAC7B,KAAK,EAAE,YAAY;aACpB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_multilingual_translation-schemas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.multilingual.translation.v1.schema"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "e576015f2472f9b2c775d669915b42810d02f048f14887e83a4116b5"
|
|
52
52
|
}
|