@wix/auto_sdk_ecom_order-invoices 1.0.12 → 1.0.14

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.
@@ -119,25 +119,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
119
119
  updatedEvent?: EntityUpdatedEvent;
120
120
  deletedEvent?: EntityDeletedEvent;
121
121
  actionEvent?: ActionEvent;
122
- /**
123
- * Unique event ID.
124
- * Allows clients to ignore duplicate webhooks.
125
- */
122
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
126
123
  id?: string;
127
124
  /**
128
- * Assumes actions are also always typed to an entity_type
129
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
125
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
126
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
130
127
  */
131
128
  entityFqdn?: string;
132
129
  /**
133
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
134
- * This is although the created/updated/deleted notion is duplication of the oneof types
135
- * Example: created/updated/deleted/started/completed/email_opened
130
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
131
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
136
132
  */
137
133
  slug?: string;
138
134
  /** ID of the entity associated with the event. */
139
135
  entityId?: string;
140
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
141
137
  eventTime?: Date | null;
142
138
  /**
143
139
  * Whether the event was triggered as a result of a privacy regulation application
@@ -147,12 +143,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
147
143
  /** If present, indicates the action that triggered the event. */
148
144
  originatedFrom?: string | null;
149
145
  /**
150
- * A sequence number defining the order of updates to the underlying entity.
151
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
152
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
153
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
154
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
155
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
146
+ * 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.
147
+ * 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.
156
148
  */
157
149
  entityEventSequence?: string | null;
158
150
  }
@@ -180,7 +172,7 @@ export interface EntityUpdatedEvent {
180
172
  currentEntityAsJson?: string;
181
173
  }
182
174
  export interface EntityDeletedEvent {
183
- /** Entity that was deleted */
175
+ /** Entity that was deleted. */
184
176
  deletedEntityAsJson?: string | null;
185
177
  }
186
178
  export interface ActionEvent {
@@ -267,7 +259,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
267
259
  */
268
260
  appId?: string;
269
261
  /** @readonly */
270
- identityType?: WebhookIdentityType;
262
+ identityType?: WebhookIdentityTypeWithLiterals;
271
263
  }
272
264
  /** @oneof */
273
265
  export interface IdentificationDataIdOneOf {
@@ -299,3 +291,5 @@ export declare enum WebhookIdentityType {
299
291
  WIX_USER = "WIX_USER",
300
292
  APP = "APP"
301
293
  }
294
+ /** @enumType */
295
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":";;;AAqUA,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"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":";;;AA6TA,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"}
@@ -120,25 +120,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
120
120
  updatedEvent?: EntityUpdatedEvent;
121
121
  deletedEvent?: EntityDeletedEvent;
122
122
  actionEvent?: ActionEvent;
123
- /**
124
- * Unique event ID.
125
- * Allows clients to ignore duplicate webhooks.
126
- */
123
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
127
124
  _id?: string;
128
125
  /**
129
- * Assumes actions are also always typed to an entity_type
130
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
126
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
127
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
131
128
  */
132
129
  entityFqdn?: string;
133
130
  /**
134
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
135
- * This is although the created/updated/deleted notion is duplication of the oneof types
136
- * Example: created/updated/deleted/started/completed/email_opened
131
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
132
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
137
133
  */
138
134
  slug?: string;
139
135
  /** ID of the entity associated with the event. */
140
136
  entityId?: string;
141
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
137
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
142
138
  eventTime?: Date | null;
143
139
  /**
144
140
  * Whether the event was triggered as a result of a privacy regulation application
@@ -148,12 +144,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
148
144
  /** If present, indicates the action that triggered the event. */
149
145
  originatedFrom?: string | null;
150
146
  /**
151
- * A sequence number defining the order of updates to the underlying entity.
152
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
153
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
154
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
155
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
156
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
147
+ * 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.
148
+ * 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.
157
149
  */
158
150
  entityEventSequence?: string | null;
159
151
  }
@@ -179,7 +171,7 @@ export interface EntityUpdatedEvent {
179
171
  currentEntity?: string;
180
172
  }
181
173
  export interface EntityDeletedEvent {
182
- /** Entity that was deleted */
174
+ /** Entity that was deleted. */
183
175
  deletedEntity?: string | null;
184
176
  }
185
177
  export interface ActionEvent {
@@ -266,7 +258,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
266
258
  */
267
259
  appId?: string;
268
260
  /** @readonly */
269
- identityType?: WebhookIdentityType;
261
+ identityType?: WebhookIdentityTypeWithLiterals;
270
262
  }
271
263
  /** @oneof */
272
264
  export interface IdentificationDataIdOneOf {
@@ -298,6 +290,8 @@ export declare enum WebhookIdentityType {
298
290
  WIX_USER = "WIX_USER",
299
291
  APP = "APP"
300
292
  }
293
+ /** @enumType */
294
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
301
295
  type InvoiceNonNullablePaths = `_id` | `appId`;
302
296
  /**
303
297
  * Retrieves the IDs of invoices associated with all specified orders.
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,kHAAoG;AAqUpG,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;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACI,KAAK,UAAU,6BAA6B,CACjD,QAAkB;IAWlB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE9E,MAAM,OAAO,GACX,gCAAgC,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAE1E,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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,QAAQ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E,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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA5CD,8CA4CC"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,kHAAoG;AA6TpG,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;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACI,KAAK,UAAU,6BAA6B,CACjD,QAAkB;IAWlB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DA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
  updatedEvent?: EntityUpdatedEvent;
120
120
  deletedEvent?: EntityDeletedEvent;
121
121
  actionEvent?: ActionEvent;
122
- /**
123
- * Unique event ID.
124
- * Allows clients to ignore duplicate webhooks.
125
- */
122
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
126
123
  id?: string;
127
124
  /**
128
- * Assumes actions are also always typed to an entity_type
129
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
125
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
126
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
130
127
  */
131
128
  entityFqdn?: string;
132
129
  /**
133
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
134
- * This is although the created/updated/deleted notion is duplication of the oneof types
135
- * Example: created/updated/deleted/started/completed/email_opened
130
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
131
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
136
132
  */
137
133
  slug?: string;
138
134
  /** ID of the entity associated with the event. */
139
135
  entityId?: string;
140
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
141
137
  eventTime?: Date | null;
142
138
  /**
143
139
  * Whether the event was triggered as a result of a privacy regulation application
@@ -147,12 +143,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
147
143
  /** If present, indicates the action that triggered the event. */
148
144
  originatedFrom?: string | null;
149
145
  /**
150
- * A sequence number defining the order of updates to the underlying entity.
151
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
152
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
153
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
154
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
155
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
146
+ * 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.
147
+ * 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.
156
148
  */
157
149
  entityEventSequence?: string | null;
158
150
  }
@@ -180,7 +172,7 @@ export interface EntityUpdatedEvent {
180
172
  currentEntityAsJson?: string;
181
173
  }
182
174
  export interface EntityDeletedEvent {
183
- /** Entity that was deleted */
175
+ /** Entity that was deleted. */
184
176
  deletedEntityAsJson?: string | null;
185
177
  }
186
178
  export interface ActionEvent {
@@ -267,7 +259,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
267
259
  */
268
260
  appId?: string;
269
261
  /** @readonly */
270
- identityType?: WebhookIdentityType;
262
+ identityType?: WebhookIdentityTypeWithLiterals;
271
263
  }
272
264
  /** @oneof */
273
265
  export interface IdentificationDataIdOneOf {
@@ -299,3 +291,5 @@ export declare enum WebhookIdentityType {
299
291
  WIX_USER = "WIX_USER",
300
292
  APP = "APP"
301
293
  }
294
+ /** @enumType */
295
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":"AAqUA,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"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":"AA6TA,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"}
@@ -120,25 +120,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
120
120
  updatedEvent?: EntityUpdatedEvent;
121
121
  deletedEvent?: EntityDeletedEvent;
122
122
  actionEvent?: ActionEvent;
123
- /**
124
- * Unique event ID.
125
- * Allows clients to ignore duplicate webhooks.
126
- */
123
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
127
124
  _id?: string;
128
125
  /**
129
- * Assumes actions are also always typed to an entity_type
130
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
126
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
127
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
131
128
  */
132
129
  entityFqdn?: string;
133
130
  /**
134
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
135
- * This is although the created/updated/deleted notion is duplication of the oneof types
136
- * Example: created/updated/deleted/started/completed/email_opened
131
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
132
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
137
133
  */
138
134
  slug?: string;
139
135
  /** ID of the entity associated with the event. */
140
136
  entityId?: string;
141
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
137
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
142
138
  eventTime?: Date | null;
143
139
  /**
144
140
  * Whether the event was triggered as a result of a privacy regulation application
@@ -148,12 +144,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
148
144
  /** If present, indicates the action that triggered the event. */
149
145
  originatedFrom?: string | null;
150
146
  /**
151
- * A sequence number defining the order of updates to the underlying entity.
152
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
153
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
154
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
155
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
156
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
147
+ * 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.
148
+ * 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.
157
149
  */
158
150
  entityEventSequence?: string | null;
159
151
  }
@@ -179,7 +171,7 @@ export interface EntityUpdatedEvent {
179
171
  currentEntity?: string;
180
172
  }
181
173
  export interface EntityDeletedEvent {
182
- /** Entity that was deleted */
174
+ /** Entity that was deleted. */
183
175
  deletedEntity?: string | null;
184
176
  }
185
177
  export interface ActionEvent {
@@ -266,7 +258,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
266
258
  */
267
259
  appId?: string;
268
260
  /** @readonly */
269
- identityType?: WebhookIdentityType;
261
+ identityType?: WebhookIdentityTypeWithLiterals;
270
262
  }
271
263
  /** @oneof */
272
264
  export interface IdentificationDataIdOneOf {
@@ -298,6 +290,8 @@ export declare enum WebhookIdentityType {
298
290
  WIX_USER = "WIX_USER",
299
291
  APP = "APP"
300
292
  }
293
+ /** @enumType */
294
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
301
295
  type InvoiceNonNullablePaths = `_id` | `appId`;
302
296
  /**
303
297
  * Retrieves the IDs of invoices associated with all specified orders.
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"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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,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,iDAAiD,CAAC;AA6TpG,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;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,QAAkB;IAWlB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,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AAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,OAAe,EACf,WAAuD;IASvD,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,WAAW;KACzB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,gCAAgC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE5E,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,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -119,25 +119,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
119
119
  updatedEvent?: EntityUpdatedEvent;
120
120
  deletedEvent?: EntityDeletedEvent;
121
121
  actionEvent?: ActionEvent;
122
- /**
123
- * Unique event ID.
124
- * Allows clients to ignore duplicate webhooks.
125
- */
122
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
126
123
  id?: string;
127
124
  /**
128
- * Assumes actions are also always typed to an entity_type
129
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
125
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
126
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
130
127
  */
131
128
  entityFqdn?: string;
132
129
  /**
133
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
134
- * This is although the created/updated/deleted notion is duplication of the oneof types
135
- * Example: created/updated/deleted/started/completed/email_opened
130
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
131
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
136
132
  */
137
133
  slug?: string;
138
134
  /** ID of the entity associated with the event. */
139
135
  entityId?: string;
140
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
141
137
  eventTime?: Date | null;
142
138
  /**
143
139
  * Whether the event was triggered as a result of a privacy regulation application
@@ -147,12 +143,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
147
143
  /** If present, indicates the action that triggered the event. */
148
144
  originatedFrom?: string | null;
149
145
  /**
150
- * A sequence number defining the order of updates to the underlying entity.
151
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
152
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
153
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
154
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
155
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
146
+ * 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.
147
+ * 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.
156
148
  */
157
149
  entityEventSequence?: string | null;
158
150
  }
@@ -180,7 +172,7 @@ export interface EntityUpdatedEvent {
180
172
  currentEntityAsJson?: string;
181
173
  }
182
174
  export interface EntityDeletedEvent {
183
- /** Entity that was deleted */
175
+ /** Entity that was deleted. */
184
176
  deletedEntityAsJson?: string | null;
185
177
  }
186
178
  export interface ActionEvent {
@@ -267,7 +259,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
267
259
  */
268
260
  appId?: string;
269
261
  /** @readonly */
270
- identityType?: WebhookIdentityType;
262
+ identityType?: WebhookIdentityTypeWithLiterals;
271
263
  }
272
264
  /** @oneof */
273
265
  export interface IdentificationDataIdOneOf {
@@ -299,3 +291,5 @@ export declare enum WebhookIdentityType {
299
291
  WIX_USER = "WIX_USER",
300
292
  APP = "APP"
301
293
  }
294
+ /** @enumType */
295
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":";;;AAqUA,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"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":";;;AA6TA,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"}
@@ -120,25 +120,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
120
120
  updatedEvent?: EntityUpdatedEvent;
121
121
  deletedEvent?: EntityDeletedEvent;
122
122
  actionEvent?: ActionEvent;
123
- /**
124
- * Unique event ID.
125
- * Allows clients to ignore duplicate webhooks.
126
- */
123
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
127
124
  _id?: string;
128
125
  /**
129
- * Assumes actions are also always typed to an entity_type
130
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
126
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
127
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
131
128
  */
132
129
  entityFqdn?: string;
133
130
  /**
134
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
135
- * This is although the created/updated/deleted notion is duplication of the oneof types
136
- * Example: created/updated/deleted/started/completed/email_opened
131
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
132
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
137
133
  */
138
134
  slug?: string;
139
135
  /** ID of the entity associated with the event. */
140
136
  entityId?: string;
141
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
137
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
142
138
  eventTime?: Date | null;
143
139
  /**
144
140
  * Whether the event was triggered as a result of a privacy regulation application
@@ -148,12 +144,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
148
144
  /** If present, indicates the action that triggered the event. */
149
145
  originatedFrom?: string | null;
150
146
  /**
151
- * A sequence number defining the order of updates to the underlying entity.
152
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
153
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
154
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
155
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
156
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
147
+ * 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.
148
+ * 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.
157
149
  */
158
150
  entityEventSequence?: string | null;
159
151
  }
@@ -179,7 +171,7 @@ export interface EntityUpdatedEvent {
179
171
  currentEntity?: string;
180
172
  }
181
173
  export interface EntityDeletedEvent {
182
- /** Entity that was deleted */
174
+ /** Entity that was deleted. */
183
175
  deletedEntity?: string | null;
184
176
  }
185
177
  export interface ActionEvent {
@@ -266,7 +258,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
266
258
  */
267
259
  appId?: string;
268
260
  /** @readonly */
269
- identityType?: WebhookIdentityType;
261
+ identityType?: WebhookIdentityTypeWithLiterals;
270
262
  }
271
263
  /** @oneof */
272
264
  export interface IdentificationDataIdOneOf {
@@ -298,6 +290,8 @@ export declare enum WebhookIdentityType {
298
290
  WIX_USER = "WIX_USER",
299
291
  APP = "APP"
300
292
  }
293
+ /** @enumType */
294
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
301
295
  type InvoiceNonNullablePaths = `_id` | `appId`;
302
296
  /**
303
297
  * Retrieves the IDs of invoices associated with all specified orders.
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;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;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA5CD,8CA4CC"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,kHAAoG;AA6TpG,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;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACI,KAAK,UAAU,6BAA6B,CACjD,QAAkB;IAWlB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE9E,MAAM,OAAO,GACX,gCAAgC,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAE1E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE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,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,WAAW;KACzB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,gCAAgC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE5E,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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA5CD,8CA4CC"}
@@ -119,25 +119,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
119
119
  updatedEvent?: EntityUpdatedEvent;
120
120
  deletedEvent?: EntityDeletedEvent;
121
121
  actionEvent?: ActionEvent;
122
- /**
123
- * Unique event ID.
124
- * Allows clients to ignore duplicate webhooks.
125
- */
122
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
126
123
  id?: string;
127
124
  /**
128
- * Assumes actions are also always typed to an entity_type
129
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
125
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
126
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
130
127
  */
131
128
  entityFqdn?: string;
132
129
  /**
133
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
134
- * This is although the created/updated/deleted notion is duplication of the oneof types
135
- * Example: created/updated/deleted/started/completed/email_opened
130
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
131
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
136
132
  */
137
133
  slug?: string;
138
134
  /** ID of the entity associated with the event. */
139
135
  entityId?: string;
140
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
141
137
  eventTime?: Date | null;
142
138
  /**
143
139
  * Whether the event was triggered as a result of a privacy regulation application
@@ -147,12 +143,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
147
143
  /** If present, indicates the action that triggered the event. */
148
144
  originatedFrom?: string | null;
149
145
  /**
150
- * A sequence number defining the order of updates to the underlying entity.
151
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
152
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
153
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
154
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
155
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
146
+ * 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.
147
+ * 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.
156
148
  */
157
149
  entityEventSequence?: string | null;
158
150
  }
@@ -180,7 +172,7 @@ export interface EntityUpdatedEvent {
180
172
  currentEntityAsJson?: string;
181
173
  }
182
174
  export interface EntityDeletedEvent {
183
- /** Entity that was deleted */
175
+ /** Entity that was deleted. */
184
176
  deletedEntityAsJson?: string | null;
185
177
  }
186
178
  export interface ActionEvent {
@@ -267,7 +259,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
267
259
  */
268
260
  appId?: string;
269
261
  /** @readonly */
270
- identityType?: WebhookIdentityType;
262
+ identityType?: WebhookIdentityTypeWithLiterals;
271
263
  }
272
264
  /** @oneof */
273
265
  export interface IdentificationDataIdOneOf {
@@ -299,3 +291,5 @@ export declare enum WebhookIdentityType {
299
291
  WIX_USER = "WIX_USER",
300
292
  APP = "APP"
301
293
  }
294
+ /** @enumType */
295
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":"AAqUA,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"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.types.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.types.ts"],"names":[],"mappings":"AA6TA,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"}
@@ -120,25 +120,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
120
120
  updatedEvent?: EntityUpdatedEvent;
121
121
  deletedEvent?: EntityDeletedEvent;
122
122
  actionEvent?: ActionEvent;
123
- /**
124
- * Unique event ID.
125
- * Allows clients to ignore duplicate webhooks.
126
- */
123
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
127
124
  _id?: string;
128
125
  /**
129
- * Assumes actions are also always typed to an entity_type
130
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
126
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
127
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
131
128
  */
132
129
  entityFqdn?: string;
133
130
  /**
134
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
135
- * This is although the created/updated/deleted notion is duplication of the oneof types
136
- * Example: created/updated/deleted/started/completed/email_opened
131
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
132
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
137
133
  */
138
134
  slug?: string;
139
135
  /** ID of the entity associated with the event. */
140
136
  entityId?: string;
141
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
137
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
142
138
  eventTime?: Date | null;
143
139
  /**
144
140
  * Whether the event was triggered as a result of a privacy regulation application
@@ -148,12 +144,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
148
144
  /** If present, indicates the action that triggered the event. */
149
145
  originatedFrom?: string | null;
150
146
  /**
151
- * A sequence number defining the order of updates to the underlying entity.
152
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
153
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
154
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
155
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
156
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
147
+ * 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.
148
+ * 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.
157
149
  */
158
150
  entityEventSequence?: string | null;
159
151
  }
@@ -179,7 +171,7 @@ export interface EntityUpdatedEvent {
179
171
  currentEntity?: string;
180
172
  }
181
173
  export interface EntityDeletedEvent {
182
- /** Entity that was deleted */
174
+ /** Entity that was deleted. */
183
175
  deletedEntity?: string | null;
184
176
  }
185
177
  export interface ActionEvent {
@@ -266,7 +258,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
266
258
  */
267
259
  appId?: string;
268
260
  /** @readonly */
269
- identityType?: WebhookIdentityType;
261
+ identityType?: WebhookIdentityTypeWithLiterals;
270
262
  }
271
263
  /** @oneof */
272
264
  export interface IdentificationDataIdOneOf {
@@ -298,6 +290,8 @@ export declare enum WebhookIdentityType {
298
290
  WIX_USER = "WIX_USER",
299
291
  APP = "APP"
300
292
  }
293
+ /** @enumType */
294
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
301
295
  type InvoiceNonNullablePaths = `_id` | `appId`;
302
296
  /**
303
297
  * Retrieves the IDs of invoices associated with all specified orders.
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,iDAAiD,CAAC;AAqUpG,MAAM,CAAN,IAAY,mBAMX;AA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OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"ecom-orders-v1-invoice-order-invoices.universal.js","sourceRoot":"","sources":["../../../../src/ecom-orders-v1-invoice-order-invoices.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,iDAAiD,CAAC;AA6TpG,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;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,QAAkB;IAWlB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE9E,MAAM,OAAO,GACX,gCAAgC,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAE1E,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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EF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,WAAW;KACzB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,gCAAgC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE5E,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,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;YAClE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,EAAE,aAAa,CAAC,CAC3B,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_ecom_order-invoices",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.ecom.orders.v1.invoice"
49
49
  }
50
50
  },
51
- "falconPackageHash": "6e4cde104a34eebfcd398aee8fbac5fbf21a9f8bed419822c7e50e16"
51
+ "falconPackageHash": "b6d6bee370e6e1697582fdfc3692d2e6751d50d73be9068ea541b316"
52
52
  }