@wix/auto_sdk_ecom_checkout-settings 1.0.6 → 1.0.8
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.universal.d.ts → ecom-v1-checkout-settings-checkout-settings.universal-DL30mjR_.d.mts} +42 -129
- package/build/{es/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts → ecom-v1-checkout-settings-checkout-settings.universal-DL30mjR_.d.ts} +42 -129
- package/build/index.d.mts +29 -0
- package/build/index.d.ts +29 -0
- package/build/index.js +332 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +303 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts → ecom-v1-checkout-settings-checkout-settings.universal-DL30mjR_.d.mts} +42 -131
- package/build/internal/{es/src/ecom-v1-checkout-settings-checkout-settings.universal.d.ts → ecom-v1-checkout-settings-checkout-settings.universal-DL30mjR_.d.ts} +42 -131
- package/build/internal/index.d.mts +29 -0
- package/build/internal/index.d.ts +29 -0
- package/build/internal/index.js +332 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +303 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +214 -0
- package/build/internal/meta.d.ts +214 -0
- package/build/internal/meta.js +213 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +185 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +214 -0
- package/build/meta.d.ts +214 -0
- package/build/meta.js +213 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +185 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.d.ts +0 -12
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.js +0 -18
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.d.ts +0 -5
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.js +0 -149
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.d.ts +0 -14
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.js +0 -66
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.d.ts +0 -22
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.js +0 -41
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +0 -409
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js +0 -25
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -158
- package/build/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.context.d.ts +0 -12
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.context.js +0 -12
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.context.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.http.d.ts +0 -5
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.http.js +0 -144
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.http.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.meta.d.ts +0 -14
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.meta.js +0 -38
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.meta.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.public.d.ts +0 -22
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.public.js +0 -33
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.public.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +0 -409
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.types.js +0 -22
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -130
- package/build/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.d.ts +0 -12
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.js +0 -18
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.d.ts +0 -5
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.js +0 -149
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.d.ts +0 -14
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.js +0 -66
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.d.ts +0 -22
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.js +0 -41
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +0 -422
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js +0 -25
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -158
- package/build/internal/cjs/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.context.d.ts +0 -12
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.context.js +0 -12
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.http.d.ts +0 -5
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.http.js +0 -144
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.meta.d.ts +0 -14
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.meta.js +0 -38
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.public.d.ts +0 -22
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.public.js +0 -33
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.types.d.ts +0 -422
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.types.js +0 -22
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js +0 -130
- package/build/internal/es/src/ecom-v1-checkout-settings-checkout-settings.universal.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface CheckoutSettings {
|
|
2
2
|
/** Checkout policies. */
|
|
3
3
|
checkoutPolicies?: CheckoutPolicies;
|
|
4
4
|
/** Settings that apply to checkout fields and the checkout process. */
|
|
@@ -16,7 +16,7 @@ export interface CheckoutSettings {
|
|
|
16
16
|
*/
|
|
17
17
|
_updatedDate?: Date | null;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
interface CheckoutPolicies {
|
|
20
20
|
/** Terms and conditions. */
|
|
21
21
|
termsAndConditions?: TermsAndConditionsPolicy;
|
|
22
22
|
/** Privacy policy. */
|
|
@@ -30,7 +30,7 @@ export interface CheckoutPolicies {
|
|
|
30
30
|
/** Custom policy. */
|
|
31
31
|
customPolicy?: CustomCheckoutPolicy;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
interface TermsAndConditionsPolicy {
|
|
34
34
|
/**
|
|
35
35
|
* Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>
|
|
36
36
|
*
|
|
@@ -40,7 +40,7 @@ export interface TermsAndConditionsPolicy {
|
|
|
40
40
|
/** Terms and conditions policy content. */
|
|
41
41
|
content?: string | null;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
interface PrivacyPolicy {
|
|
44
44
|
/**
|
|
45
45
|
* Whether the privacy policy is visible to the customer in the checkout page. <br><br>
|
|
46
46
|
*
|
|
@@ -50,7 +50,7 @@ export interface PrivacyPolicy {
|
|
|
50
50
|
/** Privacy policy content. */
|
|
51
51
|
content?: string | null;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
interface ReturnPolicy {
|
|
54
54
|
/**
|
|
55
55
|
* Whether the return policy is visible to the customer in the checkout page. <br><br>
|
|
56
56
|
*
|
|
@@ -60,7 +60,7 @@ export interface ReturnPolicy {
|
|
|
60
60
|
/** Return policy content. */
|
|
61
61
|
content?: string | null;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
interface DigitalItemPolicy {
|
|
64
64
|
/**
|
|
65
65
|
* Whether the digital item policy is visible to the customer in the checkout page. <br><br>
|
|
66
66
|
*
|
|
@@ -70,7 +70,7 @@ export interface DigitalItemPolicy {
|
|
|
70
70
|
/** Digital item policy content. */
|
|
71
71
|
content?: string | null;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
interface ContactUsPolicy {
|
|
74
74
|
/**
|
|
75
75
|
* Whether the contact us policy is visible to the customer in the checkout page. <br><br>
|
|
76
76
|
*
|
|
@@ -80,7 +80,7 @@ export interface ContactUsPolicy {
|
|
|
80
80
|
/** Contact us policy content. */
|
|
81
81
|
content?: string | null;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
interface CustomCheckoutPolicy {
|
|
84
84
|
/**
|
|
85
85
|
* Whether the custom policy is visible to the customer in the checkout page. <br><br>
|
|
86
86
|
*
|
|
@@ -92,7 +92,7 @@ export interface CustomCheckoutPolicy {
|
|
|
92
92
|
/** Custom policy title. */
|
|
93
93
|
title?: string | null;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
interface CheckoutFields {
|
|
96
96
|
/**
|
|
97
97
|
* Subscription checkbox. <br><br>
|
|
98
98
|
*
|
|
@@ -135,17 +135,17 @@ export interface CheckoutFields {
|
|
|
135
135
|
*/
|
|
136
136
|
captureBeforeExpiryEnabled?: boolean | null;
|
|
137
137
|
}
|
|
138
|
-
|
|
138
|
+
interface CheckboxField {
|
|
139
139
|
/** Whether the checkbox is visible to the customer. */
|
|
140
140
|
visible?: boolean | null;
|
|
141
141
|
/** Whether the checkbox is checked by default. */
|
|
142
142
|
checkedByDefault?: boolean | null;
|
|
143
143
|
}
|
|
144
|
-
|
|
144
|
+
interface CheckoutBrand {
|
|
145
145
|
/** Checkout header. */
|
|
146
146
|
header?: CheckoutHeader;
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
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
|
|
@@ -166,11 +166,11 @@ export interface CheckoutHeader {
|
|
|
166
166
|
*/
|
|
167
167
|
displayCheckoutLabel?: boolean | null;
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
interface Logo {
|
|
170
170
|
/** Size of the logo. */
|
|
171
171
|
size?: LogoSize;
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
interface FocalPoint {
|
|
174
174
|
/** X-coordinate of the focal point. */
|
|
175
175
|
x?: number;
|
|
176
176
|
/** Y-coordinate of the focal point. */
|
|
@@ -180,49 +180,49 @@ export interface FocalPoint {
|
|
|
180
180
|
/** crop by width */
|
|
181
181
|
width?: number | null;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
declare enum LogoSize {
|
|
184
184
|
UNKNOWN_LOGO_SIZE = "UNKNOWN_LOGO_SIZE",
|
|
185
185
|
SMALL = "SMALL",
|
|
186
186
|
MEDIUM = "MEDIUM",
|
|
187
187
|
LARGE = "LARGE"
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
declare enum Alignment {
|
|
190
190
|
UNKNOWN_ALIGNMENT = "UNKNOWN_ALIGNMENT",
|
|
191
191
|
SIDE = "SIDE",
|
|
192
192
|
CENTER = "CENTER"
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
interface GetCheckoutSettingsRequest {
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
interface GetCheckoutSettingsResponse {
|
|
197
197
|
/** Checkout settings. */
|
|
198
198
|
checkoutSettings?: CheckoutSettings;
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
interface UpdateCheckoutSettingsRequest {
|
|
201
201
|
/** Checkout settings to update. */
|
|
202
202
|
checkoutSettings: CheckoutSettings;
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
interface UpdateCheckoutSettingsResponse {
|
|
205
205
|
/** Updated checkout settings. */
|
|
206
206
|
checkoutSettings?: CheckoutSettings;
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
interface ListCheckoutSettingsRequest {
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
interface ListCheckoutSettingsResponse {
|
|
211
211
|
/** List of retrieved checkout settings. */
|
|
212
212
|
checkoutSettings?: CheckoutSettings[];
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
interface GiftCardProviderWasProvisioned {
|
|
215
215
|
/** The gift card provider which was installed */
|
|
216
216
|
providerAppDefId?: string;
|
|
217
217
|
providerInstanceId?: string;
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
interface Empty {
|
|
220
220
|
}
|
|
221
|
-
|
|
221
|
+
interface DeleteCheckoutSettingsRequest {
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
interface DeleteCheckoutSettingsResponse {
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
226
226
|
createdEvent?: EntityCreatedEvent;
|
|
227
227
|
updatedEvent?: EntityUpdatedEvent;
|
|
228
228
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -265,19 +265,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
265
265
|
entityEventSequence?: string | null;
|
|
266
266
|
}
|
|
267
267
|
/** @oneof */
|
|
268
|
-
|
|
268
|
+
interface DomainEventBodyOneOf {
|
|
269
269
|
createdEvent?: EntityCreatedEvent;
|
|
270
270
|
updatedEvent?: EntityUpdatedEvent;
|
|
271
271
|
deletedEvent?: EntityDeletedEvent;
|
|
272
272
|
actionEvent?: ActionEvent;
|
|
273
273
|
}
|
|
274
|
-
|
|
274
|
+
interface EntityCreatedEvent {
|
|
275
275
|
entity?: string;
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
interface RestoreInfo {
|
|
278
278
|
deletedDate?: Date | null;
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
interface EntityUpdatedEvent {
|
|
281
281
|
/**
|
|
282
282
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
283
283
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -285,14 +285,14 @@ export interface EntityUpdatedEvent {
|
|
|
285
285
|
*/
|
|
286
286
|
currentEntity?: string;
|
|
287
287
|
}
|
|
288
|
-
|
|
288
|
+
interface EntityDeletedEvent {
|
|
289
289
|
/** Entity that was deleted */
|
|
290
290
|
deletedEntity?: string | null;
|
|
291
291
|
}
|
|
292
|
-
|
|
292
|
+
interface ActionEvent {
|
|
293
293
|
body?: string;
|
|
294
294
|
}
|
|
295
|
-
|
|
295
|
+
interface MessageEnvelope {
|
|
296
296
|
/**
|
|
297
297
|
* App instance ID.
|
|
298
298
|
* @format GUID
|
|
@@ -308,7 +308,7 @@ export interface MessageEnvelope {
|
|
|
308
308
|
/** Stringify payload. */
|
|
309
309
|
data?: string;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
312
312
|
/**
|
|
313
313
|
* ID of a site visitor that has not logged in to the site.
|
|
314
314
|
* @format GUID
|
|
@@ -333,7 +333,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
333
333
|
identityType?: WebhookIdentityType;
|
|
334
334
|
}
|
|
335
335
|
/** @oneof */
|
|
336
|
-
|
|
336
|
+
interface IdentificationDataIdOneOf {
|
|
337
337
|
/**
|
|
338
338
|
* ID of a site visitor that has not logged in to the site.
|
|
339
339
|
* @format GUID
|
|
@@ -355,35 +355,14 @@ export interface IdentificationDataIdOneOf {
|
|
|
355
355
|
*/
|
|
356
356
|
appId?: string;
|
|
357
357
|
}
|
|
358
|
-
|
|
358
|
+
declare enum WebhookIdentityType {
|
|
359
359
|
UNKNOWN = "UNKNOWN",
|
|
360
360
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
361
361
|
MEMBER = "MEMBER",
|
|
362
362
|
WIX_USER = "WIX_USER",
|
|
363
363
|
APP = "APP"
|
|
364
364
|
}
|
|
365
|
-
interface
|
|
366
|
-
/** @internal */
|
|
367
|
-
image: string;
|
|
368
|
-
size: LogoSize;
|
|
369
|
-
}
|
|
370
|
-
interface CheckoutHeaderNonNullableFields {
|
|
371
|
-
logo?: LogoNonNullableFields;
|
|
372
|
-
alignment: Alignment;
|
|
373
|
-
}
|
|
374
|
-
interface CheckoutBrandNonNullableFields {
|
|
375
|
-
header?: CheckoutHeaderNonNullableFields;
|
|
376
|
-
}
|
|
377
|
-
interface CheckoutSettingsNonNullableFields {
|
|
378
|
-
checkoutBrand?: CheckoutBrandNonNullableFields;
|
|
379
|
-
}
|
|
380
|
-
export interface GetCheckoutSettingsResponseNonNullableFields {
|
|
381
|
-
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
382
|
-
}
|
|
383
|
-
export interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
384
|
-
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
385
|
-
}
|
|
386
|
-
export interface BaseEventMetadata {
|
|
365
|
+
interface BaseEventMetadata {
|
|
387
366
|
/**
|
|
388
367
|
* App instance ID.
|
|
389
368
|
* @format GUID
|
|
@@ -397,7 +376,7 @@ export interface BaseEventMetadata {
|
|
|
397
376
|
/** The identification type and identity data. */
|
|
398
377
|
identity?: IdentificationData;
|
|
399
378
|
}
|
|
400
|
-
|
|
379
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
401
380
|
/**
|
|
402
381
|
* Unique event ID.
|
|
403
382
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -435,77 +414,9 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
435
414
|
*/
|
|
436
415
|
entityEventSequence?: string | null;
|
|
437
416
|
}
|
|
438
|
-
|
|
417
|
+
interface CheckoutSettingsUpdatedEnvelope {
|
|
439
418
|
entity: CheckoutSettings;
|
|
440
419
|
metadata: EventMetadata;
|
|
441
420
|
}
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
* @permissionScope Manage Stores - all permissions
|
|
445
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
446
|
-
* @permissionScope Read eCommerce - all read permissions
|
|
447
|
-
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
448
|
-
* @permissionScope Read Orders
|
|
449
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
450
|
-
* @permissionScope Read Stores - all read permissions
|
|
451
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
452
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
453
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
454
|
-
* @permissionScope Manage eCommerce - all permissions
|
|
455
|
-
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
456
|
-
* @permissionScope Picasso private app mega scope
|
|
457
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
458
|
-
* @permissionScope Manage Orders
|
|
459
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
460
|
-
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
461
|
-
* @webhook
|
|
462
|
-
* @eventType wix.ecom.v1.checkout_settings_updated
|
|
463
|
-
* @slug updated
|
|
464
|
-
*/
|
|
465
|
-
export declare function onCheckoutSettingsUpdated(handler: (event: CheckoutSettingsUpdatedEnvelope) => void | Promise<void>): void;
|
|
466
|
-
/**
|
|
467
|
-
* Retrieves the site's checkout settings.
|
|
468
|
-
* @public
|
|
469
|
-
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
470
|
-
* @permissionScope Manage Stores - all permissions
|
|
471
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
472
|
-
* @permissionScope Read eCommerce - all read permissions
|
|
473
|
-
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
474
|
-
* @permissionScope Read Orders
|
|
475
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
476
|
-
* @permissionScope Read Stores - all read permissions
|
|
477
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
478
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
479
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
480
|
-
* @permissionScope Manage eCommerce - all permissions
|
|
481
|
-
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
482
|
-
* @permissionScope Picasso private app mega scope
|
|
483
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
484
|
-
* @permissionScope Manage Orders
|
|
485
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
486
|
-
* @applicableIdentity APP
|
|
487
|
-
* @applicableIdentity VISITOR
|
|
488
|
-
* @fqn wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.GetCheckoutSettings
|
|
489
|
-
*/
|
|
490
|
-
export declare function getCheckoutSettings(): Promise<GetCheckoutSettingsResponse & GetCheckoutSettingsResponseNonNullableFields>;
|
|
491
|
-
/**
|
|
492
|
-
* Updates the site's checkout settings.
|
|
493
|
-
* @param checkoutSettings - Checkout settings to update.
|
|
494
|
-
* @public
|
|
495
|
-
* @requiredField checkoutSettings
|
|
496
|
-
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
497
|
-
* @permissionScope Manage Stores - all permissions
|
|
498
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
499
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
500
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
501
|
-
* @permissionScope Manage eCommerce - all permissions
|
|
502
|
-
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
503
|
-
* @permissionScope Picasso private app mega scope
|
|
504
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
505
|
-
* @permissionScope Manage Orders
|
|
506
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
507
|
-
* @applicableIdentity APP
|
|
508
|
-
* @fqn wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.UpdateCheckoutSettings
|
|
509
|
-
*/
|
|
510
|
-
export declare function updateCheckoutSettings(checkoutSettings: CheckoutSettings): Promise<UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields>;
|
|
511
|
-
export {};
|
|
421
|
+
|
|
422
|
+
export { Alignment as A, type BaseEventMetadata as B, type CheckoutSettings as C, type DigitalItemPolicy as D, type Empty as E, type FocalPoint as F, type GetCheckoutSettingsResponse as G, type IdentificationData as I, LogoSize as L, type MessageEnvelope as M, type PrivacyPolicy as P, type ReturnPolicy as R, type TermsAndConditionsPolicy as T, type UpdateCheckoutSettingsResponse as U, WebhookIdentityType as W, type CheckoutPolicies as a, type ContactUsPolicy as b, type CustomCheckoutPolicy as c, type CheckoutFields as d, type CheckboxField as e, type CheckoutBrand as f, type CheckoutHeader as g, type Logo as h, type GetCheckoutSettingsRequest as i, type UpdateCheckoutSettingsRequest as j, type ListCheckoutSettingsRequest as k, type ListCheckoutSettingsResponse as l, type GiftCardProviderWasProvisioned as m, type DeleteCheckoutSettingsRequest as n, type DeleteCheckoutSettingsResponse as o, type DomainEvent as p, type DomainEventBodyOneOf as q, type EntityCreatedEvent as r, type RestoreInfo as s, type EntityUpdatedEvent as t, type EntityDeletedEvent as u, type ActionEvent as v, type IdentificationDataIdOneOf as w, type EventMetadata as x, type CheckoutSettingsUpdatedEnvelope as y };
|