@wix/auto_sdk_ecom_checkout-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.
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +41 -10
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts +50 -15
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -2
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +41 -10
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts +50 -15
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -2
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +41 -10
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts +50 -15
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -2
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +41 -10
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts +50 -15
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -2
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -149,6 +149,7 @@ export interface CheckoutHeader {
|
|
|
149
149
|
/**
|
|
150
150
|
* Textual content to be included in the header (e.g. Business Name)
|
|
151
151
|
* TODO: update maxLength validation once limitation is known
|
|
152
|
+
* @maxLength 55
|
|
152
153
|
*/
|
|
153
154
|
text?: string | null;
|
|
154
155
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -317,9 +318,15 @@ export interface ActionEvent {
|
|
|
317
318
|
bodyAsJson?: string;
|
|
318
319
|
}
|
|
319
320
|
export interface MessageEnvelope {
|
|
320
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* App instance ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
321
325
|
instanceId?: string | null;
|
|
322
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Event type.
|
|
328
|
+
* @maxLength 150
|
|
329
|
+
*/
|
|
323
330
|
eventType?: string;
|
|
324
331
|
/** The identification type and identity data. */
|
|
325
332
|
identity?: IdentificationData;
|
|
@@ -327,26 +334,50 @@ export interface MessageEnvelope {
|
|
|
327
334
|
data?: string;
|
|
328
335
|
}
|
|
329
336
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
330
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has not logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
331
341
|
anonymousVisitorId?: string;
|
|
332
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a site visitor that has logged in to the site.
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
333
346
|
memberId?: string;
|
|
334
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
335
351
|
wixUserId?: string;
|
|
336
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of an app.
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
337
356
|
appId?: string;
|
|
338
357
|
/** @readonly */
|
|
339
358
|
identityType?: WebhookIdentityType;
|
|
340
359
|
}
|
|
341
360
|
/** @oneof */
|
|
342
361
|
export interface IdentificationDataIdOneOf {
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* ID of a site visitor that has not logged in to the site.
|
|
364
|
+
* @format GUID
|
|
365
|
+
*/
|
|
344
366
|
anonymousVisitorId?: string;
|
|
345
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of a site visitor that has logged in to the site.
|
|
369
|
+
* @format GUID
|
|
370
|
+
*/
|
|
346
371
|
memberId?: string;
|
|
347
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
374
|
+
* @format GUID
|
|
375
|
+
*/
|
|
348
376
|
wixUserId?: string;
|
|
349
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* ID of an app.
|
|
379
|
+
* @format GUID
|
|
380
|
+
*/
|
|
350
381
|
appId?: string;
|
|
351
382
|
}
|
|
352
383
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":";;;AA4NA,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,0BAAa,CAAA;IACb,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAuLD,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"}
|
|
@@ -144,6 +144,7 @@ export interface CheckoutHeader {
|
|
|
144
144
|
/**
|
|
145
145
|
* Textual content to be included in the header (e.g. Business Name)
|
|
146
146
|
* TODO: update maxLength validation once limitation is known
|
|
147
|
+
* @maxLength 55
|
|
147
148
|
*/
|
|
148
149
|
text?: string | null;
|
|
149
150
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -287,9 +288,15 @@ export interface ActionEvent {
|
|
|
287
288
|
body?: string;
|
|
288
289
|
}
|
|
289
290
|
export interface MessageEnvelope {
|
|
290
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* App instance ID.
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
291
295
|
instanceId?: string | null;
|
|
292
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Event type.
|
|
298
|
+
* @maxLength 150
|
|
299
|
+
*/
|
|
293
300
|
eventType?: string;
|
|
294
301
|
/** The identification type and identity data. */
|
|
295
302
|
identity?: IdentificationData;
|
|
@@ -297,26 +304,50 @@ export interface MessageEnvelope {
|
|
|
297
304
|
data?: string;
|
|
298
305
|
}
|
|
299
306
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
300
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* ID of a site visitor that has not logged in to the site.
|
|
309
|
+
* @format GUID
|
|
310
|
+
*/
|
|
301
311
|
anonymousVisitorId?: string;
|
|
302
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* ID of a site visitor that has logged in to the site.
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
303
316
|
memberId?: string;
|
|
304
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
319
|
+
* @format GUID
|
|
320
|
+
*/
|
|
305
321
|
wixUserId?: string;
|
|
306
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* ID of an app.
|
|
324
|
+
* @format GUID
|
|
325
|
+
*/
|
|
307
326
|
appId?: string;
|
|
308
327
|
/** @readonly */
|
|
309
328
|
identityType?: WebhookIdentityType;
|
|
310
329
|
}
|
|
311
330
|
/** @oneof */
|
|
312
331
|
export interface IdentificationDataIdOneOf {
|
|
313
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* ID of a site visitor that has not logged in to the site.
|
|
334
|
+
* @format GUID
|
|
335
|
+
*/
|
|
314
336
|
anonymousVisitorId?: string;
|
|
315
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
316
341
|
memberId?: string;
|
|
317
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
318
346
|
wixUserId?: string;
|
|
319
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of an app.
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
320
351
|
appId?: string;
|
|
321
352
|
}
|
|
322
353
|
export declare enum WebhookIdentityType {
|
|
@@ -346,9 +377,15 @@ export interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
346
377
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
347
378
|
}
|
|
348
379
|
export interface BaseEventMetadata {
|
|
349
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* App instance ID.
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
350
384
|
instanceId?: string | null;
|
|
351
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Event type.
|
|
387
|
+
* @maxLength 150
|
|
388
|
+
*/
|
|
352
389
|
eventType?: string;
|
|
353
390
|
/** The identification type and identity data. */
|
|
354
391
|
identity?: IdentificationData;
|
|
@@ -414,7 +451,7 @@ export interface CheckoutSettingsUpdatedEnvelope {
|
|
|
414
451
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
415
452
|
* @webhook
|
|
416
453
|
* @eventType wix.ecom.v1.checkout_settings_updated
|
|
417
|
-
* @
|
|
454
|
+
* @slug updated
|
|
418
455
|
*/
|
|
419
456
|
export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSettingsUpdatedEnvelope) => void | Promise<void>): void;
|
|
420
457
|
/**
|
|
@@ -423,7 +460,6 @@ export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSetti
|
|
|
423
460
|
*
|
|
424
461
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
425
462
|
* @public
|
|
426
|
-
* @documentationMaturity preview
|
|
427
463
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
428
464
|
* @permissionScope Manage Stores - all permissions
|
|
429
465
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -452,7 +488,6 @@ export declare function getCheckoutSettings(): Promise<GetCheckoutSettingsRespon
|
|
|
452
488
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
453
489
|
* @param checkoutSettings - Checkout settings to update.
|
|
454
490
|
* @public
|
|
455
|
-
* @documentationMaturity preview
|
|
456
491
|
* @requiredField checkoutSettings
|
|
457
492
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
458
493
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -57,7 +57,6 @@ var WebhookIdentityType;
|
|
|
57
57
|
*
|
|
58
58
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
59
59
|
* @public
|
|
60
|
-
* @documentationMaturity preview
|
|
61
60
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
62
61
|
* @permissionScope Manage Stores - all permissions
|
|
63
62
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -112,7 +111,6 @@ exports.getCheckoutSettings = getCheckoutSettings;
|
|
|
112
111
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
113
112
|
* @param checkoutSettings - Checkout settings to update.
|
|
114
113
|
* @public
|
|
115
|
-
* @documentationMaturity preview
|
|
116
114
|
* @requiredField checkoutSettings
|
|
117
115
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
118
116
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2HAA6G;AAC7G,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2HAA6G;AAC7G,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAiMlF,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,0BAAa,CAAA;IACb,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAqLD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB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EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,gCAAc,EAC5B,IAAA,8DAAqC,EAAC;QACpC,gBAAgB,EAAE,gBAAgB;KACnC,CAAC,EACF;QACE;YACE,WAAW,EAAE,oCAA4B;YACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC;SACtE;KACF,CACF,CAAC;IAEF,MAAM,OAAO,GACX,mCAAmC,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAEtE,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,EAC5C,IAAA,gCAAc,EAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,oCAA4B;gBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC;aACtE;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,gBAAgB,EAAE,MAAM,EAAE;YACtD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,CAAC,CACrB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,wDAsDC"}
|
|
@@ -149,6 +149,7 @@ export interface CheckoutHeader {
|
|
|
149
149
|
/**
|
|
150
150
|
* Textual content to be included in the header (e.g. Business Name)
|
|
151
151
|
* TODO: update maxLength validation once limitation is known
|
|
152
|
+
* @maxLength 55
|
|
152
153
|
*/
|
|
153
154
|
text?: string | null;
|
|
154
155
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -317,9 +318,15 @@ export interface ActionEvent {
|
|
|
317
318
|
bodyAsJson?: string;
|
|
318
319
|
}
|
|
319
320
|
export interface MessageEnvelope {
|
|
320
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* App instance ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
321
325
|
instanceId?: string | null;
|
|
322
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Event type.
|
|
328
|
+
* @maxLength 150
|
|
329
|
+
*/
|
|
323
330
|
eventType?: string;
|
|
324
331
|
/** The identification type and identity data. */
|
|
325
332
|
identity?: IdentificationData;
|
|
@@ -327,26 +334,50 @@ export interface MessageEnvelope {
|
|
|
327
334
|
data?: string;
|
|
328
335
|
}
|
|
329
336
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
330
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has not logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
331
341
|
anonymousVisitorId?: string;
|
|
332
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a site visitor that has logged in to the site.
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
333
346
|
memberId?: string;
|
|
334
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
335
351
|
wixUserId?: string;
|
|
336
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of an app.
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
337
356
|
appId?: string;
|
|
338
357
|
/** @readonly */
|
|
339
358
|
identityType?: WebhookIdentityType;
|
|
340
359
|
}
|
|
341
360
|
/** @oneof */
|
|
342
361
|
export interface IdentificationDataIdOneOf {
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* ID of a site visitor that has not logged in to the site.
|
|
364
|
+
* @format GUID
|
|
365
|
+
*/
|
|
344
366
|
anonymousVisitorId?: string;
|
|
345
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of a site visitor that has logged in to the site.
|
|
369
|
+
* @format GUID
|
|
370
|
+
*/
|
|
346
371
|
memberId?: string;
|
|
347
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
374
|
+
* @format GUID
|
|
375
|
+
*/
|
|
348
376
|
wixUserId?: string;
|
|
349
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* ID of an app.
|
|
379
|
+
* @format GUID
|
|
380
|
+
*/
|
|
350
381
|
appId?: string;
|
|
351
382
|
}
|
|
352
383
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":"AA4NA,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AAED,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,0BAAa,CAAA;IACb,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAuLD,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"}
|
|
@@ -144,6 +144,7 @@ export interface CheckoutHeader {
|
|
|
144
144
|
/**
|
|
145
145
|
* Textual content to be included in the header (e.g. Business Name)
|
|
146
146
|
* TODO: update maxLength validation once limitation is known
|
|
147
|
+
* @maxLength 55
|
|
147
148
|
*/
|
|
148
149
|
text?: string | null;
|
|
149
150
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -287,9 +288,15 @@ export interface ActionEvent {
|
|
|
287
288
|
body?: string;
|
|
288
289
|
}
|
|
289
290
|
export interface MessageEnvelope {
|
|
290
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* App instance ID.
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
291
295
|
instanceId?: string | null;
|
|
292
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Event type.
|
|
298
|
+
* @maxLength 150
|
|
299
|
+
*/
|
|
293
300
|
eventType?: string;
|
|
294
301
|
/** The identification type and identity data. */
|
|
295
302
|
identity?: IdentificationData;
|
|
@@ -297,26 +304,50 @@ export interface MessageEnvelope {
|
|
|
297
304
|
data?: string;
|
|
298
305
|
}
|
|
299
306
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
300
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* ID of a site visitor that has not logged in to the site.
|
|
309
|
+
* @format GUID
|
|
310
|
+
*/
|
|
301
311
|
anonymousVisitorId?: string;
|
|
302
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* ID of a site visitor that has logged in to the site.
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
303
316
|
memberId?: string;
|
|
304
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
319
|
+
* @format GUID
|
|
320
|
+
*/
|
|
305
321
|
wixUserId?: string;
|
|
306
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* ID of an app.
|
|
324
|
+
* @format GUID
|
|
325
|
+
*/
|
|
307
326
|
appId?: string;
|
|
308
327
|
/** @readonly */
|
|
309
328
|
identityType?: WebhookIdentityType;
|
|
310
329
|
}
|
|
311
330
|
/** @oneof */
|
|
312
331
|
export interface IdentificationDataIdOneOf {
|
|
313
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* ID of a site visitor that has not logged in to the site.
|
|
334
|
+
* @format GUID
|
|
335
|
+
*/
|
|
314
336
|
anonymousVisitorId?: string;
|
|
315
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
316
341
|
memberId?: string;
|
|
317
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
318
346
|
wixUserId?: string;
|
|
319
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of an app.
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
320
351
|
appId?: string;
|
|
321
352
|
}
|
|
322
353
|
export declare enum WebhookIdentityType {
|
|
@@ -346,9 +377,15 @@ export interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
346
377
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
347
378
|
}
|
|
348
379
|
export interface BaseEventMetadata {
|
|
349
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* App instance ID.
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
350
384
|
instanceId?: string | null;
|
|
351
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Event type.
|
|
387
|
+
* @maxLength 150
|
|
388
|
+
*/
|
|
352
389
|
eventType?: string;
|
|
353
390
|
/** The identification type and identity data. */
|
|
354
391
|
identity?: IdentificationData;
|
|
@@ -414,7 +451,7 @@ export interface CheckoutSettingsUpdatedEnvelope {
|
|
|
414
451
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
415
452
|
* @webhook
|
|
416
453
|
* @eventType wix.ecom.v1.checkout_settings_updated
|
|
417
|
-
* @
|
|
454
|
+
* @slug updated
|
|
418
455
|
*/
|
|
419
456
|
export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSettingsUpdatedEnvelope) => void | Promise<void>): void;
|
|
420
457
|
/**
|
|
@@ -423,7 +460,6 @@ export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSetti
|
|
|
423
460
|
*
|
|
424
461
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
425
462
|
* @public
|
|
426
|
-
* @documentationMaturity preview
|
|
427
463
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
428
464
|
* @permissionScope Manage Stores - all permissions
|
|
429
465
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -452,7 +488,6 @@ export declare function getCheckoutSettings(): Promise<GetCheckoutSettingsRespon
|
|
|
452
488
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
453
489
|
* @param checkoutSettings - Checkout settings to update.
|
|
454
490
|
* @public
|
|
455
|
-
* @documentationMaturity preview
|
|
456
491
|
* @requiredField checkoutSettings
|
|
457
492
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
458
493
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -31,7 +31,6 @@ export var WebhookIdentityType;
|
|
|
31
31
|
*
|
|
32
32
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
33
33
|
* @public
|
|
34
|
-
* @documentationMaturity preview
|
|
35
34
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
36
35
|
* @permissionScope Manage Stores - all permissions
|
|
37
36
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -85,7 +84,6 @@ export async function getCheckoutSettings() {
|
|
|
85
84
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
86
85
|
* @param checkoutSettings - Checkout settings to update.
|
|
87
86
|
* @public
|
|
88
|
-
* @documentationMaturity preview
|
|
89
87
|
* @requiredField checkoutSettings
|
|
90
88
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
91
89
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-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,mCAAmC,MAAM,uDAAuD,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-settings-checkout-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,mCAAmC,MAAM,uDAAuD,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAiMlF,MAAM,CAAN,IAAY,QAKX;AALD,WAA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E,MAAM,EAAE;YACtD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,CAAC,CACrB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -149,6 +149,7 @@ export interface CheckoutHeader {
|
|
|
149
149
|
/**
|
|
150
150
|
* Textual content to be included in the header (e.g. Business Name)
|
|
151
151
|
* TODO: update maxLength validation once limitation is known
|
|
152
|
+
* @maxLength 55
|
|
152
153
|
*/
|
|
153
154
|
text?: string | null;
|
|
154
155
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -317,9 +318,15 @@ export interface ActionEvent {
|
|
|
317
318
|
bodyAsJson?: string;
|
|
318
319
|
}
|
|
319
320
|
export interface MessageEnvelope {
|
|
320
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* App instance ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
321
325
|
instanceId?: string | null;
|
|
322
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Event type.
|
|
328
|
+
* @maxLength 150
|
|
329
|
+
*/
|
|
323
330
|
eventType?: string;
|
|
324
331
|
/** The identification type and identity data. */
|
|
325
332
|
identity?: IdentificationData;
|
|
@@ -327,26 +334,50 @@ export interface MessageEnvelope {
|
|
|
327
334
|
data?: string;
|
|
328
335
|
}
|
|
329
336
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
330
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has not logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
331
341
|
anonymousVisitorId?: string;
|
|
332
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a site visitor that has logged in to the site.
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
333
346
|
memberId?: string;
|
|
334
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
335
351
|
wixUserId?: string;
|
|
336
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of an app.
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
337
356
|
appId?: string;
|
|
338
357
|
/** @readonly */
|
|
339
358
|
identityType?: WebhookIdentityType;
|
|
340
359
|
}
|
|
341
360
|
/** @oneof */
|
|
342
361
|
export interface IdentificationDataIdOneOf {
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* ID of a site visitor that has not logged in to the site.
|
|
364
|
+
* @format GUID
|
|
365
|
+
*/
|
|
344
366
|
anonymousVisitorId?: string;
|
|
345
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of a site visitor that has logged in to the site.
|
|
369
|
+
* @format GUID
|
|
370
|
+
*/
|
|
346
371
|
memberId?: string;
|
|
347
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
374
|
+
* @format GUID
|
|
375
|
+
*/
|
|
348
376
|
wixUserId?: string;
|
|
349
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* ID of an app.
|
|
379
|
+
* @format GUID
|
|
380
|
+
*/
|
|
350
381
|
appId?: string;
|
|
351
382
|
}
|
|
352
383
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":";;;AA4NA,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,0BAAa,CAAA;IACb,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAuLD,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"}
|
|
@@ -144,6 +144,7 @@ export interface CheckoutHeader {
|
|
|
144
144
|
/**
|
|
145
145
|
* Textual content to be included in the header (e.g. Business Name)
|
|
146
146
|
* TODO: update maxLength validation once limitation is known
|
|
147
|
+
* @maxLength 55
|
|
147
148
|
*/
|
|
148
149
|
text?: string | null;
|
|
149
150
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -287,9 +288,15 @@ export interface ActionEvent {
|
|
|
287
288
|
body?: string;
|
|
288
289
|
}
|
|
289
290
|
export interface MessageEnvelope {
|
|
290
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* App instance ID.
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
291
295
|
instanceId?: string | null;
|
|
292
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Event type.
|
|
298
|
+
* @maxLength 150
|
|
299
|
+
*/
|
|
293
300
|
eventType?: string;
|
|
294
301
|
/** The identification type and identity data. */
|
|
295
302
|
identity?: IdentificationData;
|
|
@@ -297,26 +304,50 @@ export interface MessageEnvelope {
|
|
|
297
304
|
data?: string;
|
|
298
305
|
}
|
|
299
306
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
300
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* ID of a site visitor that has not logged in to the site.
|
|
309
|
+
* @format GUID
|
|
310
|
+
*/
|
|
301
311
|
anonymousVisitorId?: string;
|
|
302
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* ID of a site visitor that has logged in to the site.
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
303
316
|
memberId?: string;
|
|
304
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
319
|
+
* @format GUID
|
|
320
|
+
*/
|
|
305
321
|
wixUserId?: string;
|
|
306
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* ID of an app.
|
|
324
|
+
* @format GUID
|
|
325
|
+
*/
|
|
307
326
|
appId?: string;
|
|
308
327
|
/** @readonly */
|
|
309
328
|
identityType?: WebhookIdentityType;
|
|
310
329
|
}
|
|
311
330
|
/** @oneof */
|
|
312
331
|
export interface IdentificationDataIdOneOf {
|
|
313
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* ID of a site visitor that has not logged in to the site.
|
|
334
|
+
* @format GUID
|
|
335
|
+
*/
|
|
314
336
|
anonymousVisitorId?: string;
|
|
315
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
316
341
|
memberId?: string;
|
|
317
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
318
346
|
wixUserId?: string;
|
|
319
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of an app.
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
320
351
|
appId?: string;
|
|
321
352
|
}
|
|
322
353
|
export declare enum WebhookIdentityType {
|
|
@@ -348,9 +379,15 @@ export interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
348
379
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
349
380
|
}
|
|
350
381
|
export interface BaseEventMetadata {
|
|
351
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* App instance ID.
|
|
384
|
+
* @format GUID
|
|
385
|
+
*/
|
|
352
386
|
instanceId?: string | null;
|
|
353
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* Event type.
|
|
389
|
+
* @maxLength 150
|
|
390
|
+
*/
|
|
354
391
|
eventType?: string;
|
|
355
392
|
/** The identification type and identity data. */
|
|
356
393
|
identity?: IdentificationData;
|
|
@@ -416,7 +453,7 @@ export interface CheckoutSettingsUpdatedEnvelope {
|
|
|
416
453
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
417
454
|
* @webhook
|
|
418
455
|
* @eventType wix.ecom.v1.checkout_settings_updated
|
|
419
|
-
* @
|
|
456
|
+
* @slug updated
|
|
420
457
|
*/
|
|
421
458
|
export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSettingsUpdatedEnvelope) => void | Promise<void>): void;
|
|
422
459
|
/**
|
|
@@ -425,7 +462,6 @@ export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSetti
|
|
|
425
462
|
*
|
|
426
463
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
427
464
|
* @public
|
|
428
|
-
* @documentationMaturity preview
|
|
429
465
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
430
466
|
* @permissionScope Manage Stores - all permissions
|
|
431
467
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -454,7 +490,6 @@ export declare function getCheckoutSettings(): Promise<GetCheckoutSettingsRespon
|
|
|
454
490
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
455
491
|
* @param checkoutSettings - Checkout settings to update.
|
|
456
492
|
* @public
|
|
457
|
-
* @documentationMaturity preview
|
|
458
493
|
* @requiredField checkoutSettings
|
|
459
494
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
460
495
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -57,7 +57,6 @@ var WebhookIdentityType;
|
|
|
57
57
|
*
|
|
58
58
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
59
59
|
* @public
|
|
60
|
-
* @documentationMaturity preview
|
|
61
60
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
62
61
|
* @permissionScope Manage Stores - all permissions
|
|
63
62
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -112,7 +111,6 @@ exports.getCheckoutSettings = getCheckoutSettings;
|
|
|
112
111
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
113
112
|
* @param checkoutSettings - Checkout settings to update.
|
|
114
113
|
* @public
|
|
115
|
-
* @documentationMaturity preview
|
|
116
114
|
* @requiredField checkoutSettings
|
|
117
115
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
118
116
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2HAA6G;AAC7G,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2HAA6G;AAC7G,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAiMlF,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,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AAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,wDAsDC"}
|
|
@@ -149,6 +149,7 @@ export interface CheckoutHeader {
|
|
|
149
149
|
/**
|
|
150
150
|
* Textual content to be included in the header (e.g. Business Name)
|
|
151
151
|
* TODO: update maxLength validation once limitation is known
|
|
152
|
+
* @maxLength 55
|
|
152
153
|
*/
|
|
153
154
|
text?: string | null;
|
|
154
155
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -317,9 +318,15 @@ export interface ActionEvent {
|
|
|
317
318
|
bodyAsJson?: string;
|
|
318
319
|
}
|
|
319
320
|
export interface MessageEnvelope {
|
|
320
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* App instance ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
321
325
|
instanceId?: string | null;
|
|
322
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Event type.
|
|
328
|
+
* @maxLength 150
|
|
329
|
+
*/
|
|
323
330
|
eventType?: string;
|
|
324
331
|
/** The identification type and identity data. */
|
|
325
332
|
identity?: IdentificationData;
|
|
@@ -327,26 +334,50 @@ export interface MessageEnvelope {
|
|
|
327
334
|
data?: string;
|
|
328
335
|
}
|
|
329
336
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
330
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has not logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
331
341
|
anonymousVisitorId?: string;
|
|
332
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a site visitor that has logged in to the site.
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
333
346
|
memberId?: string;
|
|
334
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
335
351
|
wixUserId?: string;
|
|
336
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of an app.
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
337
356
|
appId?: string;
|
|
338
357
|
/** @readonly */
|
|
339
358
|
identityType?: WebhookIdentityType;
|
|
340
359
|
}
|
|
341
360
|
/** @oneof */
|
|
342
361
|
export interface IdentificationDataIdOneOf {
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* ID of a site visitor that has not logged in to the site.
|
|
364
|
+
* @format GUID
|
|
365
|
+
*/
|
|
344
366
|
anonymousVisitorId?: string;
|
|
345
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of a site visitor that has logged in to the site.
|
|
369
|
+
* @format GUID
|
|
370
|
+
*/
|
|
346
371
|
memberId?: string;
|
|
347
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
374
|
+
* @format GUID
|
|
375
|
+
*/
|
|
348
376
|
wixUserId?: string;
|
|
349
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* ID of an app.
|
|
379
|
+
* @format GUID
|
|
380
|
+
*/
|
|
350
381
|
appId?: string;
|
|
351
382
|
}
|
|
352
383
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-settings.types.ts"],"names":[],"mappings":"AA4NA,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AAED,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,0BAAa,CAAA;IACb,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAuLD,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"}
|
|
@@ -144,6 +144,7 @@ export interface CheckoutHeader {
|
|
|
144
144
|
/**
|
|
145
145
|
* Textual content to be included in the header (e.g. Business Name)
|
|
146
146
|
* TODO: update maxLength validation once limitation is known
|
|
147
|
+
* @maxLength 55
|
|
147
148
|
*/
|
|
148
149
|
text?: string | null;
|
|
149
150
|
/** Specifications for when a logo is included in the header. */
|
|
@@ -287,9 +288,15 @@ export interface ActionEvent {
|
|
|
287
288
|
body?: string;
|
|
288
289
|
}
|
|
289
290
|
export interface MessageEnvelope {
|
|
290
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* App instance ID.
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
291
295
|
instanceId?: string | null;
|
|
292
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Event type.
|
|
298
|
+
* @maxLength 150
|
|
299
|
+
*/
|
|
293
300
|
eventType?: string;
|
|
294
301
|
/** The identification type and identity data. */
|
|
295
302
|
identity?: IdentificationData;
|
|
@@ -297,26 +304,50 @@ export interface MessageEnvelope {
|
|
|
297
304
|
data?: string;
|
|
298
305
|
}
|
|
299
306
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
300
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* ID of a site visitor that has not logged in to the site.
|
|
309
|
+
* @format GUID
|
|
310
|
+
*/
|
|
301
311
|
anonymousVisitorId?: string;
|
|
302
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* ID of a site visitor that has logged in to the site.
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
303
316
|
memberId?: string;
|
|
304
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
319
|
+
* @format GUID
|
|
320
|
+
*/
|
|
305
321
|
wixUserId?: string;
|
|
306
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* ID of an app.
|
|
324
|
+
* @format GUID
|
|
325
|
+
*/
|
|
307
326
|
appId?: string;
|
|
308
327
|
/** @readonly */
|
|
309
328
|
identityType?: WebhookIdentityType;
|
|
310
329
|
}
|
|
311
330
|
/** @oneof */
|
|
312
331
|
export interface IdentificationDataIdOneOf {
|
|
313
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* ID of a site visitor that has not logged in to the site.
|
|
334
|
+
* @format GUID
|
|
335
|
+
*/
|
|
314
336
|
anonymousVisitorId?: string;
|
|
315
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* ID of a site visitor that has logged in to the site.
|
|
339
|
+
* @format GUID
|
|
340
|
+
*/
|
|
316
341
|
memberId?: string;
|
|
317
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
344
|
+
* @format GUID
|
|
345
|
+
*/
|
|
318
346
|
wixUserId?: string;
|
|
319
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* ID of an app.
|
|
349
|
+
* @format GUID
|
|
350
|
+
*/
|
|
320
351
|
appId?: string;
|
|
321
352
|
}
|
|
322
353
|
export declare enum WebhookIdentityType {
|
|
@@ -348,9 +379,15 @@ export interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
348
379
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
349
380
|
}
|
|
350
381
|
export interface BaseEventMetadata {
|
|
351
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* App instance ID.
|
|
384
|
+
* @format GUID
|
|
385
|
+
*/
|
|
352
386
|
instanceId?: string | null;
|
|
353
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* Event type.
|
|
389
|
+
* @maxLength 150
|
|
390
|
+
*/
|
|
354
391
|
eventType?: string;
|
|
355
392
|
/** The identification type and identity data. */
|
|
356
393
|
identity?: IdentificationData;
|
|
@@ -416,7 +453,7 @@ export interface CheckoutSettingsUpdatedEnvelope {
|
|
|
416
453
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
417
454
|
* @webhook
|
|
418
455
|
* @eventType wix.ecom.v1.checkout_settings_updated
|
|
419
|
-
* @
|
|
456
|
+
* @slug updated
|
|
420
457
|
*/
|
|
421
458
|
export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSettingsUpdatedEnvelope) => void | Promise<void>): void;
|
|
422
459
|
/**
|
|
@@ -425,7 +462,6 @@ export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSetti
|
|
|
425
462
|
*
|
|
426
463
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
427
464
|
* @public
|
|
428
|
-
* @documentationMaturity preview
|
|
429
465
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
430
466
|
* @permissionScope Manage Stores - all permissions
|
|
431
467
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -454,7 +490,6 @@ export declare function getCheckoutSettings(): Promise<GetCheckoutSettingsRespon
|
|
|
454
490
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
455
491
|
* @param checkoutSettings - Checkout settings to update.
|
|
456
492
|
* @public
|
|
457
|
-
* @documentationMaturity preview
|
|
458
493
|
* @requiredField checkoutSettings
|
|
459
494
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
460
495
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -31,7 +31,6 @@ export var WebhookIdentityType;
|
|
|
31
31
|
*
|
|
32
32
|
* The `getCheckoutSettings()` function returns a Promise that resolves to checkout settings.
|
|
33
33
|
* @public
|
|
34
|
-
* @documentationMaturity preview
|
|
35
34
|
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
36
35
|
* @permissionScope Manage Stores - all permissions
|
|
37
36
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
@@ -85,7 +84,6 @@ export async function getCheckoutSettings() {
|
|
|
85
84
|
* The `updateCheckoutSettings()` function returns a Promise that resolves to the newly updated checkout settings.
|
|
86
85
|
* @param checkoutSettings - Checkout settings to update.
|
|
87
86
|
* @public
|
|
88
|
-
* @documentationMaturity preview
|
|
89
87
|
* @requiredField checkoutSettings
|
|
90
88
|
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
91
89
|
* @permissionScope Manage Stores - all permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-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,mCAAmC,MAAM,uDAAuD,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-settings-checkout-settings.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-checkout-settings-checkout-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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E,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC;aACtE;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,gBAAgB,EAAE,MAAM,EAAE;YACtD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,CAAC,CACrB,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_checkout-settings",
|
|
3
|
-
"version": "1.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.checkout_settings"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "9d1829305a97c7ea1eceea0059c22ba59ee6baf6b97f67e7dedc3897"
|
|
52
52
|
}
|