@wix/auto_sdk_ecom_orders-settings 1.0.0 → 1.0.2
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/ecom-v1-orders-settings-orders-settings.types.d.ts +40 -10
- package/build/cjs/src/ecom-v1-orders-settings-orders-settings.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-orders-settings-orders-settings.universal.d.ts +50 -12
- package/build/cjs/src/ecom-v1-orders-settings-orders-settings.universal.js.map +1 -1
- package/build/es/src/ecom-v1-orders-settings-orders-settings.types.d.ts +40 -10
- package/build/es/src/ecom-v1-orders-settings-orders-settings.types.js.map +1 -1
- package/build/es/src/ecom-v1-orders-settings-orders-settings.universal.d.ts +50 -12
- package/build/es/src/ecom-v1-orders-settings-orders-settings.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-orders-settings-orders-settings.types.d.ts +40 -10
- package/build/internal/cjs/src/ecom-v1-orders-settings-orders-settings.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-orders-settings-orders-settings.universal.d.ts +50 -12
- package/build/internal/cjs/src/ecom-v1-orders-settings-orders-settings.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-orders-settings-orders-settings.types.d.ts +40 -10
- package/build/internal/es/src/ecom-v1-orders-settings-orders-settings.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-orders-settings-orders-settings.universal.d.ts +50 -12
- package/build/internal/es/src/ecom-v1-orders-settings-orders-settings.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -127,9 +127,15 @@ export interface ActionEvent {
|
|
|
127
127
|
bodyAsJson?: string;
|
|
128
128
|
}
|
|
129
129
|
export interface MessageEnvelope {
|
|
130
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* App instance ID.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
131
134
|
instanceId?: string | null;
|
|
132
|
-
/**
|
|
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
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of a site visitor that has not logged in to the site.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
141
150
|
anonymousVisitorId?: string;
|
|
142
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of a site visitor that has logged in to the site.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
143
155
|
memberId?: string;
|
|
144
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
145
160
|
wixUserId?: string;
|
|
146
|
-
/**
|
|
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
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* ID of a site visitor that has not logged in to the site.
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
154
175
|
anonymousVisitorId?: string;
|
|
155
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* ID of a site visitor that has logged in to the site.
|
|
178
|
+
* @format GUID
|
|
179
|
+
*/
|
|
156
180
|
memberId?: string;
|
|
157
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
158
185
|
wixUserId?: string;
|
|
159
|
-
/**
|
|
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;
|
|
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
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* App instance ID.
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
130
133
|
instanceId?: string | null;
|
|
131
|
-
/**
|
|
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
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has not logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
140
149
|
anonymousVisitorId?: string;
|
|
141
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a site visitor that has logged in to the site.
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
142
154
|
memberId?: string;
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
144
159
|
wixUserId?: string;
|
|
145
|
-
/**
|
|
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
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has not logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
153
174
|
anonymousVisitorId?: string;
|
|
154
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a site visitor that has logged in to the site.
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
155
179
|
memberId?: string;
|
|
156
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
157
184
|
wixUserId?: string;
|
|
158
|
-
/**
|
|
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
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* App instance ID.
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
179
212
|
instanceId?: string | null;
|
|
180
|
-
/**
|
|
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;
|
|
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,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC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AAC;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
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* App instance ID.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
131
134
|
instanceId?: string | null;
|
|
132
|
-
/**
|
|
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
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of a site visitor that has not logged in to the site.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
141
150
|
anonymousVisitorId?: string;
|
|
142
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of a site visitor that has logged in to the site.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
143
155
|
memberId?: string;
|
|
144
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
145
160
|
wixUserId?: string;
|
|
146
|
-
/**
|
|
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
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* ID of a site visitor that has not logged in to the site.
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
154
175
|
anonymousVisitorId?: string;
|
|
155
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* ID of a site visitor that has logged in to the site.
|
|
178
|
+
* @format GUID
|
|
179
|
+
*/
|
|
156
180
|
memberId?: string;
|
|
157
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
158
185
|
wixUserId?: string;
|
|
159
|
-
/**
|
|
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;
|
|
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
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* App instance ID.
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
130
133
|
instanceId?: string | null;
|
|
131
|
-
/**
|
|
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
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has not logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
140
149
|
anonymousVisitorId?: string;
|
|
141
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a site visitor that has logged in to the site.
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
142
154
|
memberId?: string;
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
144
159
|
wixUserId?: string;
|
|
145
|
-
/**
|
|
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
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has not logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
153
174
|
anonymousVisitorId?: string;
|
|
154
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a site visitor that has logged in to the site.
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
155
179
|
memberId?: string;
|
|
156
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
157
184
|
wixUserId?: string;
|
|
158
|
-
/**
|
|
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
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* App instance ID.
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
179
212
|
instanceId?: string | null;
|
|
180
|
-
/**
|
|
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;
|
|
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;IACrB,kCAAW,CAAA;A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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
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* App instance ID.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
131
134
|
instanceId?: string | null;
|
|
132
|
-
/**
|
|
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
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of a site visitor that has not logged in to the site.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
141
150
|
anonymousVisitorId?: string;
|
|
142
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of a site visitor that has logged in to the site.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
143
155
|
memberId?: string;
|
|
144
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
145
160
|
wixUserId?: string;
|
|
146
|
-
/**
|
|
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
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* ID of a site visitor that has not logged in to the site.
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
154
175
|
anonymousVisitorId?: string;
|
|
155
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* ID of a site visitor that has logged in to the site.
|
|
178
|
+
* @format GUID
|
|
179
|
+
*/
|
|
156
180
|
memberId?: string;
|
|
157
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
158
185
|
wixUserId?: string;
|
|
159
|
-
/**
|
|
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;
|
|
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
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* App instance ID.
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
130
133
|
instanceId?: string | null;
|
|
131
|
-
/**
|
|
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
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has not logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
140
149
|
anonymousVisitorId?: string;
|
|
141
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a site visitor that has logged in to the site.
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
142
154
|
memberId?: string;
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
144
159
|
wixUserId?: string;
|
|
145
|
-
/**
|
|
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
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has not logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
153
174
|
anonymousVisitorId?: string;
|
|
154
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a site visitor that has logged in to the site.
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
155
179
|
memberId?: string;
|
|
156
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
157
184
|
wixUserId?: string;
|
|
158
|
-
/**
|
|
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
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* App instance ID.
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
179
212
|
instanceId?: string | null;
|
|
180
|
-
/**
|
|
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;
|
|
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;I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;;;;GAqBG;AACI,KAAK,UAAU,oBAAoB,CACxC,cAA8B;IAI9B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;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,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
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* App instance ID.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
131
134
|
instanceId?: string | null;
|
|
132
|
-
/**
|
|
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
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of a site visitor that has not logged in to the site.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
141
150
|
anonymousVisitorId?: string;
|
|
142
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of a site visitor that has logged in to the site.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
143
155
|
memberId?: string;
|
|
144
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
145
160
|
wixUserId?: string;
|
|
146
|
-
/**
|
|
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
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* ID of a site visitor that has not logged in to the site.
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
154
175
|
anonymousVisitorId?: string;
|
|
155
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* ID of a site visitor that has logged in to the site.
|
|
178
|
+
* @format GUID
|
|
179
|
+
*/
|
|
156
180
|
memberId?: string;
|
|
157
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
158
185
|
wixUserId?: string;
|
|
159
|
-
/**
|
|
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;
|
|
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
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* App instance ID.
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
130
133
|
instanceId?: string | null;
|
|
131
|
-
/**
|
|
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
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has not logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
140
149
|
anonymousVisitorId?: string;
|
|
141
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a site visitor that has logged in to the site.
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
142
154
|
memberId?: string;
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
144
159
|
wixUserId?: string;
|
|
145
|
-
/**
|
|
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
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has not logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
153
174
|
anonymousVisitorId?: string;
|
|
154
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a site visitor that has logged in to the site.
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
155
179
|
memberId?: string;
|
|
156
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
157
184
|
wixUserId?: string;
|
|
158
|
-
/**
|
|
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
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* App instance ID.
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
179
212
|
instanceId?: string | null;
|
|
180
|
-
/**
|
|
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;
|
|
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;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAoGD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB;IAGrC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,iCAAiC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE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B,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.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.42",
|
|
32
|
+
"@wix/sdk-types": "^1.13.9"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.ecom.v1.orders_settings"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "4631679d83a40e393d8463e3d1dc185c13c6b3e3648931834ba3c7a7"
|
|
52
52
|
}
|