@wix/auto_sdk_ecom_orders-settings 1.0.0 → 1.0.1

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.
@@ -127,9 +127,15 @@ export interface ActionEvent {
127
127
  bodyAsJson?: string;
128
128
  }
129
129
  export interface MessageEnvelope {
130
- /** App instance ID. */
130
+ /**
131
+ * App instance ID.
132
+ * @format GUID
133
+ */
131
134
  instanceId?: string | null;
132
- /** Event type. */
135
+ /**
136
+ * Event type.
137
+ * @maxLength 150
138
+ */
133
139
  eventType?: string;
134
140
  /** The identification type and identity data. */
135
141
  identity?: IdentificationData;
@@ -137,26 +143,50 @@ export interface MessageEnvelope {
137
143
  data?: string;
138
144
  }
139
145
  export interface IdentificationData extends IdentificationDataIdOneOf {
140
- /** ID of a site visitor that has not logged in to the site. */
146
+ /**
147
+ * ID of a site visitor that has not logged in to the site.
148
+ * @format GUID
149
+ */
141
150
  anonymousVisitorId?: string;
142
- /** ID of a site visitor that has logged in to the site. */
151
+ /**
152
+ * ID of a site visitor that has logged in to the site.
153
+ * @format GUID
154
+ */
143
155
  memberId?: string;
144
- /** ID of a Wix user (site owner, contributor, etc.). */
156
+ /**
157
+ * ID of a Wix user (site owner, contributor, etc.).
158
+ * @format GUID
159
+ */
145
160
  wixUserId?: string;
146
- /** ID of an app. */
161
+ /**
162
+ * ID of an app.
163
+ * @format GUID
164
+ */
147
165
  appId?: string;
148
166
  /** @readonly */
149
167
  identityType?: WebhookIdentityType;
150
168
  }
151
169
  /** @oneof */
152
170
  export interface IdentificationDataIdOneOf {
153
- /** ID of a site visitor that has not logged in to the site. */
171
+ /**
172
+ * ID of a site visitor that has not logged in to the site.
173
+ * @format GUID
174
+ */
154
175
  anonymousVisitorId?: string;
155
- /** ID of a site visitor that has logged in to the site. */
176
+ /**
177
+ * ID of a site visitor that has logged in to the site.
178
+ * @format GUID
179
+ */
156
180
  memberId?: string;
157
- /** ID of a Wix user (site owner, contributor, etc.). */
181
+ /**
182
+ * ID of a Wix user (site owner, contributor, etc.).
183
+ * @format GUID
184
+ */
158
185
  wixUserId?: string;
159
- /** ID of an app. */
186
+ /**
187
+ * ID of an app.
188
+ * @format GUID
189
+ */
160
190
  appId?: string;
161
191
  }
162
192
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":";;;AA0BA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AAiJD,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-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":";;;AA0BA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA+KD,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"}
@@ -126,9 +126,15 @@ export interface ActionEvent {
126
126
  body?: string;
127
127
  }
128
128
  export interface MessageEnvelope {
129
- /** App instance ID. */
129
+ /**
130
+ * App instance ID.
131
+ * @format GUID
132
+ */
130
133
  instanceId?: string | null;
131
- /** Event type. */
134
+ /**
135
+ * Event type.
136
+ * @maxLength 150
137
+ */
132
138
  eventType?: string;
133
139
  /** The identification type and identity data. */
134
140
  identity?: IdentificationData;
@@ -136,26 +142,50 @@ export interface MessageEnvelope {
136
142
  data?: string;
137
143
  }
138
144
  export interface IdentificationData extends IdentificationDataIdOneOf {
139
- /** ID of a site visitor that has not logged in to the site. */
145
+ /**
146
+ * ID of a site visitor that has not logged in to the site.
147
+ * @format GUID
148
+ */
140
149
  anonymousVisitorId?: string;
141
- /** ID of a site visitor that has logged in to the site. */
150
+ /**
151
+ * ID of a site visitor that has logged in to the site.
152
+ * @format GUID
153
+ */
142
154
  memberId?: string;
143
- /** ID of a Wix user (site owner, contributor, etc.). */
155
+ /**
156
+ * ID of a Wix user (site owner, contributor, etc.).
157
+ * @format GUID
158
+ */
144
159
  wixUserId?: string;
145
- /** ID of an app. */
160
+ /**
161
+ * ID of an app.
162
+ * @format GUID
163
+ */
146
164
  appId?: string;
147
165
  /** @readonly */
148
166
  identityType?: WebhookIdentityType;
149
167
  }
150
168
  /** @oneof */
151
169
  export interface IdentificationDataIdOneOf {
152
- /** ID of a site visitor that has not logged in to the site. */
170
+ /**
171
+ * ID of a site visitor that has not logged in to the site.
172
+ * @format GUID
173
+ */
153
174
  anonymousVisitorId?: string;
154
- /** ID of a site visitor that has logged in to the site. */
175
+ /**
176
+ * ID of a site visitor that has logged in to the site.
177
+ * @format GUID
178
+ */
155
179
  memberId?: string;
156
- /** ID of a Wix user (site owner, contributor, etc.). */
180
+ /**
181
+ * ID of a Wix user (site owner, contributor, etc.).
182
+ * @format GUID
183
+ */
157
184
  wixUserId?: string;
158
- /** ID of an app. */
185
+ /**
186
+ * ID of an app.
187
+ * @format GUID
188
+ */
159
189
  appId?: string;
160
190
  }
161
191
  export declare enum WebhookIdentityType {
@@ -175,9 +205,15 @@ export interface UpdateOrdersSettingsResponseNonNullableFields {
175
205
  ordersSettings?: OrdersSettingsNonNullableFields;
176
206
  }
177
207
  export interface BaseEventMetadata {
178
- /** App instance ID. */
208
+ /**
209
+ * App instance ID.
210
+ * @format GUID
211
+ */
179
212
  instanceId?: string | null;
180
- /** Event type. */
213
+ /**
214
+ * Event type.
215
+ * @maxLength 150
216
+ */
181
217
  eventType?: string;
182
218
  /** The identification type and identity data. */
183
219
  identity?: IdentificationData;
@@ -243,6 +279,8 @@ export interface OrdersSettingsUpdatedEnvelope {
243
279
  * @permissionId ECOM.READ_ORDERS_SETTINGS
244
280
  * @webhook
245
281
  * @eventType wix.ecom.v1.orders_settings_updated
282
+ * @serviceIdentifier wix.ecom.orders_settings.api.v1.OrdersSettingsService
283
+ * @slug updated
246
284
  * @documentationMaturity preview
247
285
  */
248
286
  export declare function onOrdersSettingsUpdated(handler: (event: OrdersSettingsUpdatedEnvelope) => void | Promise<void>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qHAAuG;AA6BvG,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA+ID,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;AA4FD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU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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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,oDAsCC"}
1
+ {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qHAAuG;AA6BvG,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA6KD,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;AAoGD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,iBAAiB;IAGrC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,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M,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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,oDAsCC"}
@@ -127,9 +127,15 @@ export interface ActionEvent {
127
127
  bodyAsJson?: string;
128
128
  }
129
129
  export interface MessageEnvelope {
130
- /** App instance ID. */
130
+ /**
131
+ * App instance ID.
132
+ * @format GUID
133
+ */
131
134
  instanceId?: string | null;
132
- /** Event type. */
135
+ /**
136
+ * Event type.
137
+ * @maxLength 150
138
+ */
133
139
  eventType?: string;
134
140
  /** The identification type and identity data. */
135
141
  identity?: IdentificationData;
@@ -137,26 +143,50 @@ export interface MessageEnvelope {
137
143
  data?: string;
138
144
  }
139
145
  export interface IdentificationData extends IdentificationDataIdOneOf {
140
- /** ID of a site visitor that has not logged in to the site. */
146
+ /**
147
+ * ID of a site visitor that has not logged in to the site.
148
+ * @format GUID
149
+ */
141
150
  anonymousVisitorId?: string;
142
- /** ID of a site visitor that has logged in to the site. */
151
+ /**
152
+ * ID of a site visitor that has logged in to the site.
153
+ * @format GUID
154
+ */
143
155
  memberId?: string;
144
- /** ID of a Wix user (site owner, contributor, etc.). */
156
+ /**
157
+ * ID of a Wix user (site owner, contributor, etc.).
158
+ * @format GUID
159
+ */
145
160
  wixUserId?: string;
146
- /** ID of an app. */
161
+ /**
162
+ * ID of an app.
163
+ * @format GUID
164
+ */
147
165
  appId?: string;
148
166
  /** @readonly */
149
167
  identityType?: WebhookIdentityType;
150
168
  }
151
169
  /** @oneof */
152
170
  export interface IdentificationDataIdOneOf {
153
- /** ID of a site visitor that has not logged in to the site. */
171
+ /**
172
+ * ID of a site visitor that has not logged in to the site.
173
+ * @format GUID
174
+ */
154
175
  anonymousVisitorId?: string;
155
- /** ID of a site visitor that has logged in to the site. */
176
+ /**
177
+ * ID of a site visitor that has logged in to the site.
178
+ * @format GUID
179
+ */
156
180
  memberId?: string;
157
- /** ID of a Wix user (site owner, contributor, etc.). */
181
+ /**
182
+ * ID of a Wix user (site owner, contributor, etc.).
183
+ * @format GUID
184
+ */
158
185
  wixUserId?: string;
159
- /** ID of an app. */
186
+ /**
187
+ * ID of an app.
188
+ * @format GUID
189
+ */
160
190
  appId?: string;
161
191
  }
162
192
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":"AA0BA,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAiJD,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-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":"AA0BA,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AA+KD,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"}
@@ -126,9 +126,15 @@ export interface ActionEvent {
126
126
  body?: string;
127
127
  }
128
128
  export interface MessageEnvelope {
129
- /** App instance ID. */
129
+ /**
130
+ * App instance ID.
131
+ * @format GUID
132
+ */
130
133
  instanceId?: string | null;
131
- /** Event type. */
134
+ /**
135
+ * Event type.
136
+ * @maxLength 150
137
+ */
132
138
  eventType?: string;
133
139
  /** The identification type and identity data. */
134
140
  identity?: IdentificationData;
@@ -136,26 +142,50 @@ export interface MessageEnvelope {
136
142
  data?: string;
137
143
  }
138
144
  export interface IdentificationData extends IdentificationDataIdOneOf {
139
- /** ID of a site visitor that has not logged in to the site. */
145
+ /**
146
+ * ID of a site visitor that has not logged in to the site.
147
+ * @format GUID
148
+ */
140
149
  anonymousVisitorId?: string;
141
- /** ID of a site visitor that has logged in to the site. */
150
+ /**
151
+ * ID of a site visitor that has logged in to the site.
152
+ * @format GUID
153
+ */
142
154
  memberId?: string;
143
- /** ID of a Wix user (site owner, contributor, etc.). */
155
+ /**
156
+ * ID of a Wix user (site owner, contributor, etc.).
157
+ * @format GUID
158
+ */
144
159
  wixUserId?: string;
145
- /** ID of an app. */
160
+ /**
161
+ * ID of an app.
162
+ * @format GUID
163
+ */
146
164
  appId?: string;
147
165
  /** @readonly */
148
166
  identityType?: WebhookIdentityType;
149
167
  }
150
168
  /** @oneof */
151
169
  export interface IdentificationDataIdOneOf {
152
- /** ID of a site visitor that has not logged in to the site. */
170
+ /**
171
+ * ID of a site visitor that has not logged in to the site.
172
+ * @format GUID
173
+ */
153
174
  anonymousVisitorId?: string;
154
- /** ID of a site visitor that has logged in to the site. */
175
+ /**
176
+ * ID of a site visitor that has logged in to the site.
177
+ * @format GUID
178
+ */
155
179
  memberId?: string;
156
- /** ID of a Wix user (site owner, contributor, etc.). */
180
+ /**
181
+ * ID of a Wix user (site owner, contributor, etc.).
182
+ * @format GUID
183
+ */
157
184
  wixUserId?: string;
158
- /** ID of an app. */
185
+ /**
186
+ * ID of an app.
187
+ * @format GUID
188
+ */
159
189
  appId?: string;
160
190
  }
161
191
  export declare enum WebhookIdentityType {
@@ -175,9 +205,15 @@ export interface UpdateOrdersSettingsResponseNonNullableFields {
175
205
  ordersSettings?: OrdersSettingsNonNullableFields;
176
206
  }
177
207
  export interface BaseEventMetadata {
178
- /** App instance ID. */
208
+ /**
209
+ * App instance ID.
210
+ * @format GUID
211
+ */
179
212
  instanceId?: string | null;
180
- /** Event type. */
213
+ /**
214
+ * Event type.
215
+ * @maxLength 150
216
+ */
181
217
  eventType?: string;
182
218
  /** The identification type and identity data. */
183
219
  identity?: IdentificationData;
@@ -243,6 +279,8 @@ export interface OrdersSettingsUpdatedEnvelope {
243
279
  * @permissionId ECOM.READ_ORDERS_SETTINGS
244
280
  * @webhook
245
281
  * @eventType wix.ecom.v1.orders_settings_updated
282
+ * @serviceIdentifier wix.ecom.orders_settings.api.v1.OrdersSettingsService
283
+ * @slug updated
246
284
  * @documentationMaturity preview
247
285
  */
248
286
  export declare function onOrdersSettingsUpdated(handler: (event: OrdersSettingsUpdatedEnvelope) => void | Promise<void>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.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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AC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,cAA8B;IAI9B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,cAAc,EAAE,cAAc;KAC/B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,iCAAiC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAElE,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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-orders-settings-orders-settings.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,OAA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AAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,cAA8B;IAI9B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,cAAc,EAAE,cAAc;KAC/B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,iCAAiC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAElE,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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -127,9 +127,15 @@ export interface ActionEvent {
127
127
  bodyAsJson?: string;
128
128
  }
129
129
  export interface MessageEnvelope {
130
- /** App instance ID. */
130
+ /**
131
+ * App instance ID.
132
+ * @format GUID
133
+ */
131
134
  instanceId?: string | null;
132
- /** Event type. */
135
+ /**
136
+ * Event type.
137
+ * @maxLength 150
138
+ */
133
139
  eventType?: string;
134
140
  /** The identification type and identity data. */
135
141
  identity?: IdentificationData;
@@ -137,26 +143,50 @@ export interface MessageEnvelope {
137
143
  data?: string;
138
144
  }
139
145
  export interface IdentificationData extends IdentificationDataIdOneOf {
140
- /** ID of a site visitor that has not logged in to the site. */
146
+ /**
147
+ * ID of a site visitor that has not logged in to the site.
148
+ * @format GUID
149
+ */
141
150
  anonymousVisitorId?: string;
142
- /** ID of a site visitor that has logged in to the site. */
151
+ /**
152
+ * ID of a site visitor that has logged in to the site.
153
+ * @format GUID
154
+ */
143
155
  memberId?: string;
144
- /** ID of a Wix user (site owner, contributor, etc.). */
156
+ /**
157
+ * ID of a Wix user (site owner, contributor, etc.).
158
+ * @format GUID
159
+ */
145
160
  wixUserId?: string;
146
- /** ID of an app. */
161
+ /**
162
+ * ID of an app.
163
+ * @format GUID
164
+ */
147
165
  appId?: string;
148
166
  /** @readonly */
149
167
  identityType?: WebhookIdentityType;
150
168
  }
151
169
  /** @oneof */
152
170
  export interface IdentificationDataIdOneOf {
153
- /** ID of a site visitor that has not logged in to the site. */
171
+ /**
172
+ * ID of a site visitor that has not logged in to the site.
173
+ * @format GUID
174
+ */
154
175
  anonymousVisitorId?: string;
155
- /** ID of a site visitor that has logged in to the site. */
176
+ /**
177
+ * ID of a site visitor that has logged in to the site.
178
+ * @format GUID
179
+ */
156
180
  memberId?: string;
157
- /** ID of a Wix user (site owner, contributor, etc.). */
181
+ /**
182
+ * ID of a Wix user (site owner, contributor, etc.).
183
+ * @format GUID
184
+ */
158
185
  wixUserId?: string;
159
- /** ID of an app. */
186
+ /**
187
+ * ID of an app.
188
+ * @format GUID
189
+ */
160
190
  appId?: string;
161
191
  }
162
192
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":";;;AA0BA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AAiJD,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-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":";;;AA0BA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA+KD,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"}
@@ -126,9 +126,15 @@ export interface ActionEvent {
126
126
  body?: string;
127
127
  }
128
128
  export interface MessageEnvelope {
129
- /** App instance ID. */
129
+ /**
130
+ * App instance ID.
131
+ * @format GUID
132
+ */
130
133
  instanceId?: string | null;
131
- /** Event type. */
134
+ /**
135
+ * Event type.
136
+ * @maxLength 150
137
+ */
132
138
  eventType?: string;
133
139
  /** The identification type and identity data. */
134
140
  identity?: IdentificationData;
@@ -136,26 +142,50 @@ export interface MessageEnvelope {
136
142
  data?: string;
137
143
  }
138
144
  export interface IdentificationData extends IdentificationDataIdOneOf {
139
- /** ID of a site visitor that has not logged in to the site. */
145
+ /**
146
+ * ID of a site visitor that has not logged in to the site.
147
+ * @format GUID
148
+ */
140
149
  anonymousVisitorId?: string;
141
- /** ID of a site visitor that has logged in to the site. */
150
+ /**
151
+ * ID of a site visitor that has logged in to the site.
152
+ * @format GUID
153
+ */
142
154
  memberId?: string;
143
- /** ID of a Wix user (site owner, contributor, etc.). */
155
+ /**
156
+ * ID of a Wix user (site owner, contributor, etc.).
157
+ * @format GUID
158
+ */
144
159
  wixUserId?: string;
145
- /** ID of an app. */
160
+ /**
161
+ * ID of an app.
162
+ * @format GUID
163
+ */
146
164
  appId?: string;
147
165
  /** @readonly */
148
166
  identityType?: WebhookIdentityType;
149
167
  }
150
168
  /** @oneof */
151
169
  export interface IdentificationDataIdOneOf {
152
- /** ID of a site visitor that has not logged in to the site. */
170
+ /**
171
+ * ID of a site visitor that has not logged in to the site.
172
+ * @format GUID
173
+ */
153
174
  anonymousVisitorId?: string;
154
- /** ID of a site visitor that has logged in to the site. */
175
+ /**
176
+ * ID of a site visitor that has logged in to the site.
177
+ * @format GUID
178
+ */
155
179
  memberId?: string;
156
- /** ID of a Wix user (site owner, contributor, etc.). */
180
+ /**
181
+ * ID of a Wix user (site owner, contributor, etc.).
182
+ * @format GUID
183
+ */
157
184
  wixUserId?: string;
158
- /** ID of an app. */
185
+ /**
186
+ * ID of an app.
187
+ * @format GUID
188
+ */
159
189
  appId?: string;
160
190
  }
161
191
  export declare enum WebhookIdentityType {
@@ -175,9 +205,15 @@ export interface UpdateOrdersSettingsResponseNonNullableFields {
175
205
  ordersSettings?: OrdersSettingsNonNullableFields;
176
206
  }
177
207
  export interface BaseEventMetadata {
178
- /** App instance ID. */
208
+ /**
209
+ * App instance ID.
210
+ * @format GUID
211
+ */
179
212
  instanceId?: string | null;
180
- /** Event type. */
213
+ /**
214
+ * Event type.
215
+ * @maxLength 150
216
+ */
181
217
  eventType?: string;
182
218
  /** The identification type and identity data. */
183
219
  identity?: IdentificationData;
@@ -243,6 +279,8 @@ export interface OrdersSettingsUpdatedEnvelope {
243
279
  * @permissionId ECOM.READ_ORDERS_SETTINGS
244
280
  * @webhook
245
281
  * @eventType wix.ecom.v1.orders_settings_updated
282
+ * @serviceIdentifier wix.ecom.orders_settings.api.v1.OrdersSettingsService
283
+ * @slug updated
246
284
  * @documentationMaturity preview
247
285
  */
248
286
  export declare function onOrdersSettingsUpdated(handler: (event: OrdersSettingsUpdatedEnvelope) => void | Promise<void>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qHAAuG;AA6BvG,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA+ID,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;AA4FD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,iBAAiB;IAGrC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,iCAAiC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE7E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD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ACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,oDAsCC"}
1
+ {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qHAAuG;AA6BvG,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AA6KD,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;AAoGD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,iBAAiB;IAGrC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,iCAAiC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE7E,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,EAA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C,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,oDAsCC"}
@@ -127,9 +127,15 @@ export interface ActionEvent {
127
127
  bodyAsJson?: string;
128
128
  }
129
129
  export interface MessageEnvelope {
130
- /** App instance ID. */
130
+ /**
131
+ * App instance ID.
132
+ * @format GUID
133
+ */
131
134
  instanceId?: string | null;
132
- /** Event type. */
135
+ /**
136
+ * Event type.
137
+ * @maxLength 150
138
+ */
133
139
  eventType?: string;
134
140
  /** The identification type and identity data. */
135
141
  identity?: IdentificationData;
@@ -137,26 +143,50 @@ export interface MessageEnvelope {
137
143
  data?: string;
138
144
  }
139
145
  export interface IdentificationData extends IdentificationDataIdOneOf {
140
- /** ID of a site visitor that has not logged in to the site. */
146
+ /**
147
+ * ID of a site visitor that has not logged in to the site.
148
+ * @format GUID
149
+ */
141
150
  anonymousVisitorId?: string;
142
- /** ID of a site visitor that has logged in to the site. */
151
+ /**
152
+ * ID of a site visitor that has logged in to the site.
153
+ * @format GUID
154
+ */
143
155
  memberId?: string;
144
- /** ID of a Wix user (site owner, contributor, etc.). */
156
+ /**
157
+ * ID of a Wix user (site owner, contributor, etc.).
158
+ * @format GUID
159
+ */
145
160
  wixUserId?: string;
146
- /** ID of an app. */
161
+ /**
162
+ * ID of an app.
163
+ * @format GUID
164
+ */
147
165
  appId?: string;
148
166
  /** @readonly */
149
167
  identityType?: WebhookIdentityType;
150
168
  }
151
169
  /** @oneof */
152
170
  export interface IdentificationDataIdOneOf {
153
- /** ID of a site visitor that has not logged in to the site. */
171
+ /**
172
+ * ID of a site visitor that has not logged in to the site.
173
+ * @format GUID
174
+ */
154
175
  anonymousVisitorId?: string;
155
- /** ID of a site visitor that has logged in to the site. */
176
+ /**
177
+ * ID of a site visitor that has logged in to the site.
178
+ * @format GUID
179
+ */
156
180
  memberId?: string;
157
- /** ID of a Wix user (site owner, contributor, etc.). */
181
+ /**
182
+ * ID of a Wix user (site owner, contributor, etc.).
183
+ * @format GUID
184
+ */
158
185
  wixUserId?: string;
159
- /** ID of an app. */
186
+ /**
187
+ * ID of an app.
188
+ * @format GUID
189
+ */
160
190
  appId?: string;
161
191
  }
162
192
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":"AA0BA,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAiJD,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-v1-orders-settings-orders-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.types.ts"],"names":[],"mappings":"AA0BA,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AA+KD,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"}
@@ -126,9 +126,15 @@ export interface ActionEvent {
126
126
  body?: string;
127
127
  }
128
128
  export interface MessageEnvelope {
129
- /** App instance ID. */
129
+ /**
130
+ * App instance ID.
131
+ * @format GUID
132
+ */
130
133
  instanceId?: string | null;
131
- /** Event type. */
134
+ /**
135
+ * Event type.
136
+ * @maxLength 150
137
+ */
132
138
  eventType?: string;
133
139
  /** The identification type and identity data. */
134
140
  identity?: IdentificationData;
@@ -136,26 +142,50 @@ export interface MessageEnvelope {
136
142
  data?: string;
137
143
  }
138
144
  export interface IdentificationData extends IdentificationDataIdOneOf {
139
- /** ID of a site visitor that has not logged in to the site. */
145
+ /**
146
+ * ID of a site visitor that has not logged in to the site.
147
+ * @format GUID
148
+ */
140
149
  anonymousVisitorId?: string;
141
- /** ID of a site visitor that has logged in to the site. */
150
+ /**
151
+ * ID of a site visitor that has logged in to the site.
152
+ * @format GUID
153
+ */
142
154
  memberId?: string;
143
- /** ID of a Wix user (site owner, contributor, etc.). */
155
+ /**
156
+ * ID of a Wix user (site owner, contributor, etc.).
157
+ * @format GUID
158
+ */
144
159
  wixUserId?: string;
145
- /** ID of an app. */
160
+ /**
161
+ * ID of an app.
162
+ * @format GUID
163
+ */
146
164
  appId?: string;
147
165
  /** @readonly */
148
166
  identityType?: WebhookIdentityType;
149
167
  }
150
168
  /** @oneof */
151
169
  export interface IdentificationDataIdOneOf {
152
- /** ID of a site visitor that has not logged in to the site. */
170
+ /**
171
+ * ID of a site visitor that has not logged in to the site.
172
+ * @format GUID
173
+ */
153
174
  anonymousVisitorId?: string;
154
- /** ID of a site visitor that has logged in to the site. */
175
+ /**
176
+ * ID of a site visitor that has logged in to the site.
177
+ * @format GUID
178
+ */
155
179
  memberId?: string;
156
- /** ID of a Wix user (site owner, contributor, etc.). */
180
+ /**
181
+ * ID of a Wix user (site owner, contributor, etc.).
182
+ * @format GUID
183
+ */
157
184
  wixUserId?: string;
158
- /** ID of an app. */
185
+ /**
186
+ * ID of an app.
187
+ * @format GUID
188
+ */
159
189
  appId?: string;
160
190
  }
161
191
  export declare enum WebhookIdentityType {
@@ -175,9 +205,15 @@ export interface UpdateOrdersSettingsResponseNonNullableFields {
175
205
  ordersSettings?: OrdersSettingsNonNullableFields;
176
206
  }
177
207
  export interface BaseEventMetadata {
178
- /** App instance ID. */
208
+ /**
209
+ * App instance ID.
210
+ * @format GUID
211
+ */
179
212
  instanceId?: string | null;
180
- /** Event type. */
213
+ /**
214
+ * Event type.
215
+ * @maxLength 150
216
+ */
181
217
  eventType?: string;
182
218
  /** The identification type and identity data. */
183
219
  identity?: IdentificationData;
@@ -243,6 +279,8 @@ export interface OrdersSettingsUpdatedEnvelope {
243
279
  * @permissionId ECOM.READ_ORDERS_SETTINGS
244
280
  * @webhook
245
281
  * @eventType wix.ecom.v1.orders_settings_updated
282
+ * @serviceIdentifier wix.ecom.orders_settings.api.v1.OrdersSettingsService
283
+ * @slug updated
246
284
  * @documentationMaturity preview
247
285
  */
248
286
  export declare function onOrdersSettingsUpdated(handler: (event: OrdersSettingsUpdatedEnvelope) => void | Promise<void>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.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,iCAAiC,MAAM,mDAAmD,CAAC;AA6BvG,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AA+ID,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,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O,CAAC,CAAC;IAElE,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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"ecom-v1-orders-settings-orders-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-orders-settings-orders-settings.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,iCAAiC,MAAM,mDAAmD,CAAC;AA6BvG,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+FAAqE,CAAA;IACrE,uEAAuE;IACvE,yDAA+B,CAAA;IAC/B,gIAAgI;IAChI,6DAAmC,CAAA;AACrC,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AA6KD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACr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AAO,CAAC,CAAC;IAElE,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,cAAc,EAAE,MAAM,EAAE;YACpD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,gBAAgB,CAAC,CACnB,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_orders-settings",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.ecom.v1.orders_settings"
49
49
  }
50
50
  },
51
- "falconPackageHash": "499b40c6172bd083be18d47416ae58c01ec2fcc375f20c571f33745d"
51
+ "falconPackageHash": "52404da34eadad213d73513c8c58c0c41991a91e7786dd0f854a055b"
52
52
  }