@wix/auto_sdk_editor-branches_branches 1.0.8 → 1.0.10
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/editor-branches-v1-branch-branches.types.d.ts +9 -17
- package/build/cjs/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.d.ts +17 -33
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.js +3 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.types.d.ts +9 -17
- package/build/es/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.universal.d.ts +17 -33
- package/build/es/src/editor-branches-v1-branch-branches.universal.js +3 -1
- package/build/es/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.types.d.ts +9 -17
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.d.ts +17 -33
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.js +3 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.types.d.ts +9 -17
- package/build/internal/es/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.d.ts +17 -33
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.js +3 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -759,25 +759,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
759
759
|
updatedEvent?: EntityUpdatedEvent;
|
|
760
760
|
deletedEvent?: EntityDeletedEvent;
|
|
761
761
|
actionEvent?: ActionEvent;
|
|
762
|
-
/**
|
|
763
|
-
* Unique event ID.
|
|
764
|
-
* Allows clients to ignore duplicate webhooks.
|
|
765
|
-
*/
|
|
762
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
766
763
|
id?: string;
|
|
767
764
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
765
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
766
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
770
767
|
*/
|
|
771
768
|
entityFqdn?: string;
|
|
772
769
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
770
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
771
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
776
772
|
*/
|
|
777
773
|
slug?: string;
|
|
778
774
|
/** ID of the entity associated with the event. */
|
|
779
775
|
entityId?: string;
|
|
780
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
776
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
781
777
|
eventTime?: Date | null;
|
|
782
778
|
/**
|
|
783
779
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -787,12 +783,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
787
783
|
/** If present, indicates the action that triggered the event. */
|
|
788
784
|
originatedFrom?: string | null;
|
|
789
785
|
/**
|
|
790
|
-
* A sequence number
|
|
791
|
-
*
|
|
792
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
793
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
794
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
795
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
786
|
+
* 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.
|
|
787
|
+
* 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.
|
|
796
788
|
*/
|
|
797
789
|
entityEventSequence?: string | null;
|
|
798
790
|
}
|
|
@@ -820,7 +812,7 @@ export interface EntityUpdatedEvent {
|
|
|
820
812
|
currentEntityAsJson?: string;
|
|
821
813
|
}
|
|
822
814
|
export interface EntityDeletedEvent {
|
|
823
|
-
/** Entity that was deleted */
|
|
815
|
+
/** Entity that was deleted. */
|
|
824
816
|
deletedEntityAsJson?: string | null;
|
|
825
817
|
}
|
|
826
818
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":";;;AAkEA,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAgID,IAAY,SAGX;AAHD,WA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;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":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":";;;AAkEA,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,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,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;AAoSD,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"}
|
|
@@ -760,25 +760,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
760
760
|
updatedEvent?: EntityUpdatedEvent;
|
|
761
761
|
deletedEvent?: EntityDeletedEvent;
|
|
762
762
|
actionEvent?: ActionEvent;
|
|
763
|
-
/**
|
|
764
|
-
* Unique event ID.
|
|
765
|
-
* Allows clients to ignore duplicate webhooks.
|
|
766
|
-
*/
|
|
763
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
767
764
|
_id?: string;
|
|
768
765
|
/**
|
|
769
|
-
*
|
|
770
|
-
*
|
|
766
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
767
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
771
768
|
*/
|
|
772
769
|
entityFqdn?: string;
|
|
773
770
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
771
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
772
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
777
773
|
*/
|
|
778
774
|
slug?: string;
|
|
779
775
|
/** ID of the entity associated with the event. */
|
|
780
776
|
entityId?: string;
|
|
781
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
777
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
782
778
|
eventTime?: Date | null;
|
|
783
779
|
/**
|
|
784
780
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -788,12 +784,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
788
784
|
/** If present, indicates the action that triggered the event. */
|
|
789
785
|
originatedFrom?: string | null;
|
|
790
786
|
/**
|
|
791
|
-
* A sequence number
|
|
792
|
-
*
|
|
793
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
794
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
795
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
796
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
787
|
+
* 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.
|
|
788
|
+
* 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.
|
|
797
789
|
*/
|
|
798
790
|
entityEventSequence?: string | null;
|
|
799
791
|
}
|
|
@@ -819,7 +811,7 @@ export interface EntityUpdatedEvent {
|
|
|
819
811
|
currentEntity?: string;
|
|
820
812
|
}
|
|
821
813
|
export interface EntityDeletedEvent {
|
|
822
|
-
/** Entity that was deleted */
|
|
814
|
+
/** Entity that was deleted. */
|
|
823
815
|
deletedEntity?: string | null;
|
|
824
816
|
}
|
|
825
817
|
export interface ActionEvent {
|
|
@@ -910,25 +902,21 @@ export interface BaseEventMetadata {
|
|
|
910
902
|
identity?: IdentificationData;
|
|
911
903
|
}
|
|
912
904
|
export interface EventMetadata extends BaseEventMetadata {
|
|
913
|
-
/**
|
|
914
|
-
* Unique event ID.
|
|
915
|
-
* Allows clients to ignore duplicate webhooks.
|
|
916
|
-
*/
|
|
905
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
917
906
|
_id?: string;
|
|
918
907
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
908
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
909
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
921
910
|
*/
|
|
922
911
|
entityFqdn?: string;
|
|
923
912
|
/**
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
913
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
914
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
927
915
|
*/
|
|
928
916
|
slug?: string;
|
|
929
917
|
/** ID of the entity associated with the event. */
|
|
930
918
|
entityId?: string;
|
|
931
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
919
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
932
920
|
eventTime?: Date | null;
|
|
933
921
|
/**
|
|
934
922
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -938,12 +926,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
938
926
|
/** If present, indicates the action that triggered the event. */
|
|
939
927
|
originatedFrom?: string | null;
|
|
940
928
|
/**
|
|
941
|
-
* A sequence number
|
|
942
|
-
*
|
|
943
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
944
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
945
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
946
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
929
|
+
* 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.
|
|
930
|
+
* 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.
|
|
947
931
|
*/
|
|
948
932
|
entityEventSequence?: string | null;
|
|
949
933
|
}
|
|
@@ -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 ambassadorWixEditorBranchesV1Branch = __importStar(require("./editor-branches-v1-branch-branches.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var Type;
|
|
32
34
|
(function (Type) {
|
|
33
35
|
/** Unknown branch type. */
|
|
@@ -349,7 +351,7 @@ function queryBranches() {
|
|
|
349
351
|
});
|
|
350
352
|
},
|
|
351
353
|
responseTransformer: ({ data }) => {
|
|
352
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
354
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
353
355
|
return {
|
|
354
356
|
items: transformedData?.branches,
|
|
355
357
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kHAAoG;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kHAAoG;AACpG,aAAa;AACb,sFAAkF;AAoElF,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IAC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AQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxDD,sCAwDC"}
|
|
@@ -759,25 +759,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
759
759
|
updatedEvent?: EntityUpdatedEvent;
|
|
760
760
|
deletedEvent?: EntityDeletedEvent;
|
|
761
761
|
actionEvent?: ActionEvent;
|
|
762
|
-
/**
|
|
763
|
-
* Unique event ID.
|
|
764
|
-
* Allows clients to ignore duplicate webhooks.
|
|
765
|
-
*/
|
|
762
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
766
763
|
id?: string;
|
|
767
764
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
765
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
766
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
770
767
|
*/
|
|
771
768
|
entityFqdn?: string;
|
|
772
769
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
770
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
771
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
776
772
|
*/
|
|
777
773
|
slug?: string;
|
|
778
774
|
/** ID of the entity associated with the event. */
|
|
779
775
|
entityId?: string;
|
|
780
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
776
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
781
777
|
eventTime?: Date | null;
|
|
782
778
|
/**
|
|
783
779
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -787,12 +783,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
787
783
|
/** If present, indicates the action that triggered the event. */
|
|
788
784
|
originatedFrom?: string | null;
|
|
789
785
|
/**
|
|
790
|
-
* A sequence number
|
|
791
|
-
*
|
|
792
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
793
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
794
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
795
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
786
|
+
* 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.
|
|
787
|
+
* 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.
|
|
796
788
|
*/
|
|
797
789
|
entityEventSequence?: string | null;
|
|
798
790
|
}
|
|
@@ -820,7 +812,7 @@ export interface EntityUpdatedEvent {
|
|
|
820
812
|
currentEntityAsJson?: string;
|
|
821
813
|
}
|
|
822
814
|
export interface EntityDeletedEvent {
|
|
823
|
-
/** Entity that was deleted */
|
|
815
|
+
/** Entity that was deleted. */
|
|
824
816
|
deletedEntityAsJson?: string | null;
|
|
825
817
|
}
|
|
826
818
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D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AAqB,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":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,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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"}
|
|
@@ -760,25 +760,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
760
760
|
updatedEvent?: EntityUpdatedEvent;
|
|
761
761
|
deletedEvent?: EntityDeletedEvent;
|
|
762
762
|
actionEvent?: ActionEvent;
|
|
763
|
-
/**
|
|
764
|
-
* Unique event ID.
|
|
765
|
-
* Allows clients to ignore duplicate webhooks.
|
|
766
|
-
*/
|
|
763
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
767
764
|
_id?: string;
|
|
768
765
|
/**
|
|
769
|
-
*
|
|
770
|
-
*
|
|
766
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
767
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
771
768
|
*/
|
|
772
769
|
entityFqdn?: string;
|
|
773
770
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
771
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
772
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
777
773
|
*/
|
|
778
774
|
slug?: string;
|
|
779
775
|
/** ID of the entity associated with the event. */
|
|
780
776
|
entityId?: string;
|
|
781
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
777
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
782
778
|
eventTime?: Date | null;
|
|
783
779
|
/**
|
|
784
780
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -788,12 +784,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
788
784
|
/** If present, indicates the action that triggered the event. */
|
|
789
785
|
originatedFrom?: string | null;
|
|
790
786
|
/**
|
|
791
|
-
* A sequence number
|
|
792
|
-
*
|
|
793
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
794
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
795
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
796
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
787
|
+
* 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.
|
|
788
|
+
* 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.
|
|
797
789
|
*/
|
|
798
790
|
entityEventSequence?: string | null;
|
|
799
791
|
}
|
|
@@ -819,7 +811,7 @@ export interface EntityUpdatedEvent {
|
|
|
819
811
|
currentEntity?: string;
|
|
820
812
|
}
|
|
821
813
|
export interface EntityDeletedEvent {
|
|
822
|
-
/** Entity that was deleted */
|
|
814
|
+
/** Entity that was deleted. */
|
|
823
815
|
deletedEntity?: string | null;
|
|
824
816
|
}
|
|
825
817
|
export interface ActionEvent {
|
|
@@ -910,25 +902,21 @@ export interface BaseEventMetadata {
|
|
|
910
902
|
identity?: IdentificationData;
|
|
911
903
|
}
|
|
912
904
|
export interface EventMetadata extends BaseEventMetadata {
|
|
913
|
-
/**
|
|
914
|
-
* Unique event ID.
|
|
915
|
-
* Allows clients to ignore duplicate webhooks.
|
|
916
|
-
*/
|
|
905
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
917
906
|
_id?: string;
|
|
918
907
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
908
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
909
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
921
910
|
*/
|
|
922
911
|
entityFqdn?: string;
|
|
923
912
|
/**
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
913
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
914
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
927
915
|
*/
|
|
928
916
|
slug?: string;
|
|
929
917
|
/** ID of the entity associated with the event. */
|
|
930
918
|
entityId?: string;
|
|
931
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
919
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
932
920
|
eventTime?: Date | null;
|
|
933
921
|
/**
|
|
934
922
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -938,12 +926,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
938
926
|
/** If present, indicates the action that triggered the event. */
|
|
939
927
|
originatedFrom?: string | null;
|
|
940
928
|
/**
|
|
941
|
-
* A sequence number
|
|
942
|
-
*
|
|
943
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
944
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
945
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
946
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
929
|
+
* 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.
|
|
930
|
+
* 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.
|
|
947
931
|
*/
|
|
948
932
|
entityEventSequence?: string | null;
|
|
949
933
|
}
|
|
@@ -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 ambassadorWixEditorBranchesV1Branch from './editor-branches-v1-branch-branches.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var Type;
|
|
6
8
|
(function (Type) {
|
|
7
9
|
/** Unknown branch type. */
|
|
@@ -319,7 +321,7 @@ export function queryBranches() {
|
|
|
319
321
|
});
|
|
320
322
|
},
|
|
321
323
|
responseTransformer: ({ data }) => {
|
|
322
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
324
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
323
325
|
return {
|
|
324
326
|
items: transformedData?.branches,
|
|
325
327
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.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,mCAAmC,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO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AC,KAAK,EAAE,EAAE,CAAwC,CAAC;YAChE,OAAO,qCAAqC,CAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAuC,EAAE,EAAE;YACrE,MAAM,eAAe,GAAG,uCAAuC,CAC7D,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,CACzB,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,QAAQ;gBAChC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -759,25 +759,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
759
759
|
updatedEvent?: EntityUpdatedEvent;
|
|
760
760
|
deletedEvent?: EntityDeletedEvent;
|
|
761
761
|
actionEvent?: ActionEvent;
|
|
762
|
-
/**
|
|
763
|
-
* Unique event ID.
|
|
764
|
-
* Allows clients to ignore duplicate webhooks.
|
|
765
|
-
*/
|
|
762
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
766
763
|
id?: string;
|
|
767
764
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
765
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
766
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
770
767
|
*/
|
|
771
768
|
entityFqdn?: string;
|
|
772
769
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
770
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
771
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
776
772
|
*/
|
|
777
773
|
slug?: string;
|
|
778
774
|
/** ID of the entity associated with the event. */
|
|
779
775
|
entityId?: string;
|
|
780
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
776
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
781
777
|
eventTime?: Date | null;
|
|
782
778
|
/**
|
|
783
779
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -787,12 +783,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
787
783
|
/** If present, indicates the action that triggered the event. */
|
|
788
784
|
originatedFrom?: string | null;
|
|
789
785
|
/**
|
|
790
|
-
* A sequence number
|
|
791
|
-
*
|
|
792
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
793
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
794
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
795
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
786
|
+
* 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.
|
|
787
|
+
* 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.
|
|
796
788
|
*/
|
|
797
789
|
entityEventSequence?: string | null;
|
|
798
790
|
}
|
|
@@ -820,7 +812,7 @@ export interface EntityUpdatedEvent {
|
|
|
820
812
|
currentEntityAsJson?: string;
|
|
821
813
|
}
|
|
822
814
|
export interface EntityDeletedEvent {
|
|
823
|
-
/** Entity that was deleted */
|
|
815
|
+
/** Entity that was deleted. */
|
|
824
816
|
deletedEntityAsJson?: string | null;
|
|
825
817
|
}
|
|
826
818
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":";;;AAkEA,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAgID,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,EANW,KAAK,qBAAL,KAAK,QAMh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DAA6C,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":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":";;;AAkEA,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAgID,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,KAMX;AAND,WAA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;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;AAoSD,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"}
|
|
@@ -760,25 +760,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
760
760
|
updatedEvent?: EntityUpdatedEvent;
|
|
761
761
|
deletedEvent?: EntityDeletedEvent;
|
|
762
762
|
actionEvent?: ActionEvent;
|
|
763
|
-
/**
|
|
764
|
-
* Unique event ID.
|
|
765
|
-
* Allows clients to ignore duplicate webhooks.
|
|
766
|
-
*/
|
|
763
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
767
764
|
_id?: string;
|
|
768
765
|
/**
|
|
769
|
-
*
|
|
770
|
-
*
|
|
766
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
767
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
771
768
|
*/
|
|
772
769
|
entityFqdn?: string;
|
|
773
770
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
771
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
772
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
777
773
|
*/
|
|
778
774
|
slug?: string;
|
|
779
775
|
/** ID of the entity associated with the event. */
|
|
780
776
|
entityId?: string;
|
|
781
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
777
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
782
778
|
eventTime?: Date | null;
|
|
783
779
|
/**
|
|
784
780
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -788,12 +784,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
788
784
|
/** If present, indicates the action that triggered the event. */
|
|
789
785
|
originatedFrom?: string | null;
|
|
790
786
|
/**
|
|
791
|
-
* A sequence number
|
|
792
|
-
*
|
|
793
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
794
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
795
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
796
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
787
|
+
* 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.
|
|
788
|
+
* 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.
|
|
797
789
|
*/
|
|
798
790
|
entityEventSequence?: string | null;
|
|
799
791
|
}
|
|
@@ -819,7 +811,7 @@ export interface EntityUpdatedEvent {
|
|
|
819
811
|
currentEntity?: string;
|
|
820
812
|
}
|
|
821
813
|
export interface EntityDeletedEvent {
|
|
822
|
-
/** Entity that was deleted */
|
|
814
|
+
/** Entity that was deleted. */
|
|
823
815
|
deletedEntity?: string | null;
|
|
824
816
|
}
|
|
825
817
|
export interface ActionEvent {
|
|
@@ -910,25 +902,21 @@ export interface BaseEventMetadata {
|
|
|
910
902
|
identity?: IdentificationData;
|
|
911
903
|
}
|
|
912
904
|
export interface EventMetadata extends BaseEventMetadata {
|
|
913
|
-
/**
|
|
914
|
-
* Unique event ID.
|
|
915
|
-
* Allows clients to ignore duplicate webhooks.
|
|
916
|
-
*/
|
|
905
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
917
906
|
_id?: string;
|
|
918
907
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
908
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
909
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
921
910
|
*/
|
|
922
911
|
entityFqdn?: string;
|
|
923
912
|
/**
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
913
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
914
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
927
915
|
*/
|
|
928
916
|
slug?: string;
|
|
929
917
|
/** ID of the entity associated with the event. */
|
|
930
918
|
entityId?: string;
|
|
931
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
919
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
932
920
|
eventTime?: Date | null;
|
|
933
921
|
/**
|
|
934
922
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -938,12 +926,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
938
926
|
/** If present, indicates the action that triggered the event. */
|
|
939
927
|
originatedFrom?: string | null;
|
|
940
928
|
/**
|
|
941
|
-
* A sequence number
|
|
942
|
-
*
|
|
943
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
944
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
945
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
946
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
929
|
+
* 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.
|
|
930
|
+
* 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.
|
|
947
931
|
*/
|
|
948
932
|
entityEventSequence?: string | null;
|
|
949
933
|
}
|
|
@@ -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 ambassadorWixEditorBranchesV1Branch = __importStar(require("./editor-branches-v1-branch-branches.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var Type;
|
|
32
34
|
(function (Type) {
|
|
33
35
|
/** Unknown branch type. */
|
|
@@ -349,7 +351,7 @@ function queryBranches() {
|
|
|
349
351
|
});
|
|
350
352
|
},
|
|
351
353
|
responseTransformer: ({ data }) => {
|
|
352
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
354
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
353
355
|
return {
|
|
354
356
|
items: transformedData?.branches,
|
|
355
357
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kHAAoG;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kHAAoG;AACpG,aAAa;AACb,sFAAkF;AAoElF,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf;AAED,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAOD,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAgID,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAA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AC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAoC,EAAE,EAAE;YAC3D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAAwC,CAAC;YAChE,OAAO,IAAA,8DAAqC,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAuC,EAAE,EAAE;YACrE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAC7D,IAAA,gCAAc,EAAC,IAAI,EAAE,EAAE,CAAC,CACzB,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,QAAQ;gBAChC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxDD,sCAwDC"}
|
|
@@ -759,25 +759,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
759
759
|
updatedEvent?: EntityUpdatedEvent;
|
|
760
760
|
deletedEvent?: EntityDeletedEvent;
|
|
761
761
|
actionEvent?: ActionEvent;
|
|
762
|
-
/**
|
|
763
|
-
* Unique event ID.
|
|
764
|
-
* Allows clients to ignore duplicate webhooks.
|
|
765
|
-
*/
|
|
762
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
766
763
|
id?: string;
|
|
767
764
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
765
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
766
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
770
767
|
*/
|
|
771
768
|
entityFqdn?: string;
|
|
772
769
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
770
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
771
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
776
772
|
*/
|
|
777
773
|
slug?: string;
|
|
778
774
|
/** ID of the entity associated with the event. */
|
|
779
775
|
entityId?: string;
|
|
780
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
776
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
781
777
|
eventTime?: Date | null;
|
|
782
778
|
/**
|
|
783
779
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -787,12 +783,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
787
783
|
/** If present, indicates the action that triggered the event. */
|
|
788
784
|
originatedFrom?: string | null;
|
|
789
785
|
/**
|
|
790
|
-
* A sequence number
|
|
791
|
-
*
|
|
792
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
793
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
794
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
795
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
786
|
+
* 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.
|
|
787
|
+
* 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.
|
|
796
788
|
*/
|
|
797
789
|
entityEventSequence?: string | null;
|
|
798
790
|
}
|
|
@@ -820,7 +812,7 @@ export interface EntityUpdatedEvent {
|
|
|
820
812
|
currentEntityAsJson?: string;
|
|
821
813
|
}
|
|
822
814
|
export interface EntityDeletedEvent {
|
|
823
|
-
/** Entity that was deleted */
|
|
815
|
+
/** Entity that was deleted. */
|
|
824
816
|
deletedEntityAsJson?: string | null;
|
|
825
817
|
}
|
|
826
818
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAOD,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B;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;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":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,E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atedEvent?: EntityUpdatedEvent;
|
|
761
761
|
deletedEvent?: EntityDeletedEvent;
|
|
762
762
|
actionEvent?: ActionEvent;
|
|
763
|
-
/**
|
|
764
|
-
* Unique event ID.
|
|
765
|
-
* Allows clients to ignore duplicate webhooks.
|
|
766
|
-
*/
|
|
763
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
767
764
|
_id?: string;
|
|
768
765
|
/**
|
|
769
|
-
*
|
|
770
|
-
*
|
|
766
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
767
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
771
768
|
*/
|
|
772
769
|
entityFqdn?: string;
|
|
773
770
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
771
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
772
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
777
773
|
*/
|
|
778
774
|
slug?: string;
|
|
779
775
|
/** ID of the entity associated with the event. */
|
|
780
776
|
entityId?: string;
|
|
781
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
777
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
782
778
|
eventTime?: Date | null;
|
|
783
779
|
/**
|
|
784
780
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -788,12 +784,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
788
784
|
/** If present, indicates the action that triggered the event. */
|
|
789
785
|
originatedFrom?: string | null;
|
|
790
786
|
/**
|
|
791
|
-
* A sequence number
|
|
792
|
-
*
|
|
793
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
794
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
795
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
796
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
787
|
+
* 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.
|
|
788
|
+
* 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.
|
|
797
789
|
*/
|
|
798
790
|
entityEventSequence?: string | null;
|
|
799
791
|
}
|
|
@@ -819,7 +811,7 @@ export interface EntityUpdatedEvent {
|
|
|
819
811
|
currentEntity?: string;
|
|
820
812
|
}
|
|
821
813
|
export interface EntityDeletedEvent {
|
|
822
|
-
/** Entity that was deleted */
|
|
814
|
+
/** Entity that was deleted. */
|
|
823
815
|
deletedEntity?: string | null;
|
|
824
816
|
}
|
|
825
817
|
export interface ActionEvent {
|
|
@@ -910,25 +902,21 @@ export interface BaseEventMetadata {
|
|
|
910
902
|
identity?: IdentificationData;
|
|
911
903
|
}
|
|
912
904
|
export interface EventMetadata extends BaseEventMetadata {
|
|
913
|
-
/**
|
|
914
|
-
* Unique event ID.
|
|
915
|
-
* Allows clients to ignore duplicate webhooks.
|
|
916
|
-
*/
|
|
905
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
917
906
|
_id?: string;
|
|
918
907
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
908
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
909
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
921
910
|
*/
|
|
922
911
|
entityFqdn?: string;
|
|
923
912
|
/**
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
913
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
914
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
927
915
|
*/
|
|
928
916
|
slug?: string;
|
|
929
917
|
/** ID of the entity associated with the event. */
|
|
930
918
|
entityId?: string;
|
|
931
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
919
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
932
920
|
eventTime?: Date | null;
|
|
933
921
|
/**
|
|
934
922
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -938,12 +926,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
938
926
|
/** If present, indicates the action that triggered the event. */
|
|
939
927
|
originatedFrom?: string | null;
|
|
940
928
|
/**
|
|
941
|
-
* A sequence number
|
|
942
|
-
*
|
|
943
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
944
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
945
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
946
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
929
|
+
* 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.
|
|
930
|
+
* 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.
|
|
947
931
|
*/
|
|
948
932
|
entityEventSequence?: string | null;
|
|
949
933
|
}
|
|
@@ -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 ambassadorWixEditorBranchesV1Branch from './editor-branches-v1-branch-branches.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var Type;
|
|
6
8
|
(function (Type) {
|
|
7
9
|
/** Unknown branch type. */
|
|
@@ -319,7 +321,7 @@ export function queryBranches() {
|
|
|
319
321
|
});
|
|
320
322
|
},
|
|
321
323
|
responseTransformer: ({ data }) => {
|
|
322
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
324
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
323
325
|
return {
|
|
324
326
|
items: transformedData?.branches,
|
|
325
327
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.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,mCAAmC,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.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,mCAAmC,MAAM,8CAA8C,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAoElF,MAAM,CAAN,IAAY,IASX;AATD,WAAY,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,GAAG,uCAAuC,CAC7D,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,CACzB,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,QAAQ;gBAChC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_editor-branches_branches",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.editor.branches.v1.branch"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "48f5e7e20380a0074e38c6f6480e5c7d6d75863bf7d795af79817ccc"
|
|
52
52
|
}
|