@wix/auto_sdk_loyalty_imports 1.0.1 → 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/loyalty-imports-v1-loyalty-import-imports.types.d.ts +85 -18
- package/build/cjs/src/loyalty-imports-v1-loyalty-import-imports.types.js.map +1 -1
- package/build/cjs/src/loyalty-imports-v1-loyalty-import-imports.universal.d.ts +93 -20
- package/build/cjs/src/loyalty-imports-v1-loyalty-import-imports.universal.js.map +1 -1
- package/build/es/src/loyalty-imports-v1-loyalty-import-imports.types.d.ts +85 -18
- package/build/es/src/loyalty-imports-v1-loyalty-import-imports.types.js.map +1 -1
- package/build/es/src/loyalty-imports-v1-loyalty-import-imports.universal.d.ts +93 -20
- package/build/es/src/loyalty-imports-v1-loyalty-import-imports.universal.js.map +1 -1
- package/build/internal/cjs/src/loyalty-imports-v1-loyalty-import-imports.types.d.ts +85 -18
- package/build/internal/cjs/src/loyalty-imports-v1-loyalty-import-imports.types.js.map +1 -1
- package/build/internal/cjs/src/loyalty-imports-v1-loyalty-import-imports.universal.d.ts +93 -20
- package/build/internal/cjs/src/loyalty-imports-v1-loyalty-import-imports.universal.js.map +1 -1
- package/build/internal/es/src/loyalty-imports-v1-loyalty-import-imports.types.d.ts +85 -18
- package/build/internal/es/src/loyalty-imports-v1-loyalty-import-imports.types.js.map +1 -1
- package/build/internal/es/src/loyalty-imports-v1-loyalty-import-imports.universal.d.ts +93 -20
- package/build/internal/es/src/loyalty-imports-v1-loyalty-import-imports.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
export interface LoyaltyImport {
|
|
7
7
|
/**
|
|
8
8
|
* The ID of the import.
|
|
9
|
+
* @format GUID
|
|
9
10
|
* @readonly
|
|
10
11
|
*/
|
|
11
12
|
id?: string | null;
|
|
12
13
|
/**
|
|
13
14
|
* ID of the asynchronous import job associated with this import.
|
|
15
|
+
* @format GUID
|
|
14
16
|
* @readonly
|
|
15
17
|
*/
|
|
16
18
|
asyncImportJobId?: string | null;
|
|
@@ -63,15 +65,21 @@ export declare enum ImportStatus {
|
|
|
63
65
|
export interface FileMetadata {
|
|
64
66
|
/**
|
|
65
67
|
* Size of the uploaded file in bytes. Max: `10 MB`.
|
|
68
|
+
* @max 104857600
|
|
66
69
|
* @readonly
|
|
67
70
|
*/
|
|
68
71
|
size?: number | null;
|
|
69
72
|
/**
|
|
70
73
|
* Name of the uploaded file.
|
|
74
|
+
* @format GUID
|
|
71
75
|
* @readonly
|
|
72
76
|
*/
|
|
73
77
|
name?: string | null;
|
|
74
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* URL of the uploaded file.
|
|
80
|
+
* @minLength 3
|
|
81
|
+
* @maxLength 10000
|
|
82
|
+
*/
|
|
75
83
|
url?: string;
|
|
76
84
|
/** Column headings from the first row of the uploaded CSV file. */
|
|
77
85
|
header?: FileHeader;
|
|
@@ -81,17 +89,26 @@ export interface FileMetadata {
|
|
|
81
89
|
* Must include mappings for both `EMAIL` and `POINTS` to be valid.
|
|
82
90
|
*/
|
|
83
91
|
headerMappingInfo?: HeaderMappingInfo;
|
|
84
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Up to 5 sample rows from the import file, providing a preview of the data to be imported.
|
|
94
|
+
* @maxSize 5
|
|
95
|
+
*/
|
|
85
96
|
sampleDataRows?: SampleDataRow[];
|
|
86
97
|
}
|
|
87
98
|
export interface FileHeader {
|
|
88
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Column headings from the first row of the uploaded file.
|
|
101
|
+
* @maxSize 100
|
|
102
|
+
* @maxLength 1000
|
|
103
|
+
*/
|
|
89
104
|
values?: string[];
|
|
90
105
|
}
|
|
91
106
|
export interface HeaderMappingInfo {
|
|
92
107
|
/**
|
|
93
108
|
* Mappings between required loyalty data fields and file columns.
|
|
94
109
|
* Must contain exactly 2 mappings: one for `EMAIL` and one for `POINTS`.
|
|
110
|
+
* @minSize 2
|
|
111
|
+
* @maxSize 2
|
|
95
112
|
*/
|
|
96
113
|
headerMappings?: HeaderMapping[];
|
|
97
114
|
}
|
|
@@ -114,6 +131,8 @@ export interface SampleDataRow {
|
|
|
114
131
|
/**
|
|
115
132
|
* Values in one sample data row. Each value corresponds to a column in the CSV file.
|
|
116
133
|
* The number of values matches the number of columns in the file.
|
|
134
|
+
* @maxSize 20
|
|
135
|
+
* @maxLength 1000
|
|
117
136
|
*/
|
|
118
137
|
values?: string[];
|
|
119
138
|
}
|
|
@@ -126,6 +145,7 @@ export interface ParseResult {
|
|
|
126
145
|
/**
|
|
127
146
|
* Reason code explaining why parsing failed, if applicable.
|
|
128
147
|
* @readonly
|
|
148
|
+
* @maxLength 1000
|
|
129
149
|
*/
|
|
130
150
|
parseErrorReason?: string | null;
|
|
131
151
|
}
|
|
@@ -217,6 +237,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
217
237
|
* Sort object.
|
|
218
238
|
*
|
|
219
239
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
240
|
+
* @maxSize 5
|
|
220
241
|
*/
|
|
221
242
|
sort?: Sorting[];
|
|
222
243
|
}
|
|
@@ -230,7 +251,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
230
251
|
cursorPaging?: CursorPaging;
|
|
231
252
|
}
|
|
232
253
|
export interface Sorting {
|
|
233
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Name of the field to sort by.
|
|
256
|
+
* @maxLength 512
|
|
257
|
+
*/
|
|
234
258
|
fieldName?: string;
|
|
235
259
|
/** Sort order. */
|
|
236
260
|
order?: SortOrder;
|
|
@@ -240,13 +264,17 @@ export declare enum SortOrder {
|
|
|
240
264
|
DESC = "DESC"
|
|
241
265
|
}
|
|
242
266
|
export interface CursorPaging {
|
|
243
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* Maximum number of items to return in the results.
|
|
269
|
+
* @max 100
|
|
270
|
+
*/
|
|
244
271
|
limit?: number | null;
|
|
245
272
|
/**
|
|
246
273
|
* Pointer to the next or previous page in the list of results.
|
|
247
274
|
*
|
|
248
275
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
249
276
|
* Not relevant for the first request.
|
|
277
|
+
* @maxLength 16000
|
|
250
278
|
*/
|
|
251
279
|
cursor?: string | null;
|
|
252
280
|
}
|
|
@@ -270,13 +298,22 @@ export interface CursorPagingMetadata {
|
|
|
270
298
|
hasNext?: boolean | null;
|
|
271
299
|
}
|
|
272
300
|
export interface Cursors {
|
|
273
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Cursor string pointing to the next page in the list of results.
|
|
303
|
+
* @maxLength 16000
|
|
304
|
+
*/
|
|
274
305
|
next?: string | null;
|
|
275
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Cursor pointing to the previous page in the list of results.
|
|
308
|
+
* @maxLength 16000
|
|
309
|
+
*/
|
|
276
310
|
prev?: string | null;
|
|
277
311
|
}
|
|
278
312
|
export interface DeleteLoyaltyImportRequest {
|
|
279
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* Loyalty import ID.
|
|
315
|
+
* @format GUID
|
|
316
|
+
*/
|
|
280
317
|
loyaltyImportId?: string;
|
|
281
318
|
/**
|
|
282
319
|
* Revision number, which increments by 1 each time the loyalty import is updated.
|
|
@@ -365,9 +402,15 @@ export interface ImportFinished {
|
|
|
365
402
|
loyaltyImport?: LoyaltyImport;
|
|
366
403
|
}
|
|
367
404
|
export interface MessageEnvelope {
|
|
368
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* App instance ID.
|
|
407
|
+
* @format GUID
|
|
408
|
+
*/
|
|
369
409
|
instanceId?: string | null;
|
|
370
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* Event type.
|
|
412
|
+
* @maxLength 150
|
|
413
|
+
*/
|
|
371
414
|
eventType?: string;
|
|
372
415
|
/** The identification type and identity data. */
|
|
373
416
|
identity?: IdentificationData;
|
|
@@ -375,26 +418,50 @@ export interface MessageEnvelope {
|
|
|
375
418
|
data?: string;
|
|
376
419
|
}
|
|
377
420
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
378
|
-
/**
|
|
421
|
+
/**
|
|
422
|
+
* ID of a site visitor that has not logged in to the site.
|
|
423
|
+
* @format GUID
|
|
424
|
+
*/
|
|
379
425
|
anonymousVisitorId?: string;
|
|
380
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* ID of a site visitor that has logged in to the site.
|
|
428
|
+
* @format GUID
|
|
429
|
+
*/
|
|
381
430
|
memberId?: string;
|
|
382
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
433
|
+
* @format GUID
|
|
434
|
+
*/
|
|
383
435
|
wixUserId?: string;
|
|
384
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* ID of an app.
|
|
438
|
+
* @format GUID
|
|
439
|
+
*/
|
|
385
440
|
appId?: string;
|
|
386
441
|
/** @readonly */
|
|
387
442
|
identityType?: WebhookIdentityType;
|
|
388
443
|
}
|
|
389
444
|
/** @oneof */
|
|
390
445
|
export interface IdentificationDataIdOneOf {
|
|
391
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* ID of a site visitor that has not logged in to the site.
|
|
448
|
+
* @format GUID
|
|
449
|
+
*/
|
|
392
450
|
anonymousVisitorId?: string;
|
|
393
|
-
/**
|
|
451
|
+
/**
|
|
452
|
+
* ID of a site visitor that has logged in to the site.
|
|
453
|
+
* @format GUID
|
|
454
|
+
*/
|
|
394
455
|
memberId?: string;
|
|
395
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
458
|
+
* @format GUID
|
|
459
|
+
*/
|
|
396
460
|
wixUserId?: string;
|
|
397
|
-
/**
|
|
461
|
+
/**
|
|
462
|
+
* ID of an app.
|
|
463
|
+
* @format GUID
|
|
464
|
+
*/
|
|
398
465
|
appId?: string;
|
|
399
466
|
}
|
|
400
467
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-imports-v1-loyalty-import-imports.types.js","sourceRoot":"","sources":["../../../src/loyalty-imports-v1-loyalty-import-imports.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loyalty-imports-v1-loyalty-import-imports.types.js","sourceRoot":"","sources":["../../../src/loyalty-imports-v1-loyalty-import-imports.types.ts"],"names":[],"mappings":";;;AAiDA,IAAY,YAeX;AAfD,WAAY,YAAY;IACtB,0CAA0C;IAC1C,mCAAmB,CAAA;IACnB,sEAAsE;IACtE,uCAAuB,CAAA;IACvB,uDAAuD;IACvD,mCAAmB,CAAA;IACnB,+EAA+E;IAC/E,iCAAiB,CAAA;IACjB,yDAAyD;IACzD,uCAAuB,CAAA;IACvB,wIAAwI;IACxI,qCAAqB,CAAA;IACrB,qCAAqC;IACrC,iCAAiB,CAAA;AACnB,CAAC,EAfW,YAAY,4BAAZ,YAAY,QAevB;AAiED,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,sDAAsD;IACtD,6BAAe,CAAA;IACf,wFAAwF;IACxF,+BAAiB,CAAA;AACnB,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAsJD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA2ND,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"}
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
export interface LoyaltyImport {
|
|
7
7
|
/**
|
|
8
8
|
* The ID of the import.
|
|
9
|
+
* @format GUID
|
|
9
10
|
* @readonly
|
|
10
11
|
*/
|
|
11
12
|
_id?: string | null;
|
|
12
13
|
/**
|
|
13
14
|
* ID of the asynchronous import job associated with this import.
|
|
15
|
+
* @format GUID
|
|
14
16
|
* @readonly
|
|
15
17
|
*/
|
|
16
18
|
asyncImportJobId?: string | null;
|
|
@@ -63,15 +65,21 @@ export declare enum ImportStatus {
|
|
|
63
65
|
export interface FileMetadata {
|
|
64
66
|
/**
|
|
65
67
|
* Size of the uploaded file in bytes. Max: `10 MB`.
|
|
68
|
+
* @max 104857600
|
|
66
69
|
* @readonly
|
|
67
70
|
*/
|
|
68
71
|
size?: number | null;
|
|
69
72
|
/**
|
|
70
73
|
* Name of the uploaded file.
|
|
74
|
+
* @format GUID
|
|
71
75
|
* @readonly
|
|
72
76
|
*/
|
|
73
77
|
name?: string | null;
|
|
74
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* URL of the uploaded file.
|
|
80
|
+
* @minLength 3
|
|
81
|
+
* @maxLength 10000
|
|
82
|
+
*/
|
|
75
83
|
url?: string;
|
|
76
84
|
/** Column headings from the first row of the uploaded CSV file. */
|
|
77
85
|
header?: FileHeader;
|
|
@@ -81,17 +89,26 @@ export interface FileMetadata {
|
|
|
81
89
|
* Must include mappings for both `EMAIL` and `POINTS` to be valid.
|
|
82
90
|
*/
|
|
83
91
|
headerMappingInfo?: HeaderMappingInfo;
|
|
84
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Up to 5 sample rows from the import file, providing a preview of the data to be imported.
|
|
94
|
+
* @maxSize 5
|
|
95
|
+
*/
|
|
85
96
|
sampleDataRows?: SampleDataRow[];
|
|
86
97
|
}
|
|
87
98
|
export interface FileHeader {
|
|
88
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Column headings from the first row of the uploaded file.
|
|
101
|
+
* @maxSize 100
|
|
102
|
+
* @maxLength 1000
|
|
103
|
+
*/
|
|
89
104
|
values?: string[];
|
|
90
105
|
}
|
|
91
106
|
export interface HeaderMappingInfo {
|
|
92
107
|
/**
|
|
93
108
|
* Mappings between required loyalty data fields and file columns.
|
|
94
109
|
* Must contain exactly 2 mappings: one for `EMAIL` and one for `POINTS`.
|
|
110
|
+
* @minSize 2
|
|
111
|
+
* @maxSize 2
|
|
95
112
|
*/
|
|
96
113
|
headerMappings?: HeaderMapping[];
|
|
97
114
|
}
|
|
@@ -114,6 +131,8 @@ export interface SampleDataRow {
|
|
|
114
131
|
/**
|
|
115
132
|
* Values in one sample data row. Each value corresponds to a column in the CSV file.
|
|
116
133
|
* The number of values matches the number of columns in the file.
|
|
134
|
+
* @maxSize 20
|
|
135
|
+
* @maxLength 1000
|
|
117
136
|
*/
|
|
118
137
|
values?: string[];
|
|
119
138
|
}
|
|
@@ -126,6 +145,7 @@ export interface ParseResult {
|
|
|
126
145
|
/**
|
|
127
146
|
* Reason code explaining why parsing failed, if applicable.
|
|
128
147
|
* @readonly
|
|
148
|
+
* @maxLength 1000
|
|
129
149
|
*/
|
|
130
150
|
parseErrorReason?: string | null;
|
|
131
151
|
}
|
|
@@ -217,6 +237,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
217
237
|
* Sort object.
|
|
218
238
|
*
|
|
219
239
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
240
|
+
* @maxSize 5
|
|
220
241
|
*/
|
|
221
242
|
sort?: Sorting[];
|
|
222
243
|
}
|
|
@@ -230,7 +251,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
230
251
|
cursorPaging?: CursorPaging;
|
|
231
252
|
}
|
|
232
253
|
export interface Sorting {
|
|
233
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Name of the field to sort by.
|
|
256
|
+
* @maxLength 512
|
|
257
|
+
*/
|
|
234
258
|
fieldName?: string;
|
|
235
259
|
/** Sort order. */
|
|
236
260
|
order?: SortOrder;
|
|
@@ -240,13 +264,17 @@ export declare enum SortOrder {
|
|
|
240
264
|
DESC = "DESC"
|
|
241
265
|
}
|
|
242
266
|
export interface CursorPaging {
|
|
243
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* Maximum number of items to return in the results.
|
|
269
|
+
* @max 100
|
|
270
|
+
*/
|
|
244
271
|
limit?: number | null;
|
|
245
272
|
/**
|
|
246
273
|
* Pointer to the next or previous page in the list of results.
|
|
247
274
|
*
|
|
248
275
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
249
276
|
* Not relevant for the first request.
|
|
277
|
+
* @maxLength 16000
|
|
250
278
|
*/
|
|
251
279
|
cursor?: string | null;
|
|
252
280
|
}
|
|
@@ -270,13 +298,22 @@ export interface CursorPagingMetadata {
|
|
|
270
298
|
hasNext?: boolean | null;
|
|
271
299
|
}
|
|
272
300
|
export interface Cursors {
|
|
273
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Cursor string pointing to the next page in the list of results.
|
|
303
|
+
* @maxLength 16000
|
|
304
|
+
*/
|
|
274
305
|
next?: string | null;
|
|
275
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Cursor pointing to the previous page in the list of results.
|
|
308
|
+
* @maxLength 16000
|
|
309
|
+
*/
|
|
276
310
|
prev?: string | null;
|
|
277
311
|
}
|
|
278
312
|
export interface DeleteLoyaltyImportRequest {
|
|
279
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* Loyalty import ID.
|
|
315
|
+
* @format GUID
|
|
316
|
+
*/
|
|
280
317
|
loyaltyImportId?: string;
|
|
281
318
|
/**
|
|
282
319
|
* Revision number, which increments by 1 each time the loyalty import is updated.
|
|
@@ -363,9 +400,15 @@ export interface ImportFinished {
|
|
|
363
400
|
loyaltyImport?: LoyaltyImport;
|
|
364
401
|
}
|
|
365
402
|
export interface MessageEnvelope {
|
|
366
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* App instance ID.
|
|
405
|
+
* @format GUID
|
|
406
|
+
*/
|
|
367
407
|
instanceId?: string | null;
|
|
368
|
-
/**
|
|
408
|
+
/**
|
|
409
|
+
* Event type.
|
|
410
|
+
* @maxLength 150
|
|
411
|
+
*/
|
|
369
412
|
eventType?: string;
|
|
370
413
|
/** The identification type and identity data. */
|
|
371
414
|
identity?: IdentificationData;
|
|
@@ -373,26 +416,50 @@ export interface MessageEnvelope {
|
|
|
373
416
|
data?: string;
|
|
374
417
|
}
|
|
375
418
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
376
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* ID of a site visitor that has not logged in to the site.
|
|
421
|
+
* @format GUID
|
|
422
|
+
*/
|
|
377
423
|
anonymousVisitorId?: string;
|
|
378
|
-
/**
|
|
424
|
+
/**
|
|
425
|
+
* ID of a site visitor that has logged in to the site.
|
|
426
|
+
* @format GUID
|
|
427
|
+
*/
|
|
379
428
|
memberId?: string;
|
|
380
|
-
/**
|
|
429
|
+
/**
|
|
430
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
431
|
+
* @format GUID
|
|
432
|
+
*/
|
|
381
433
|
wixUserId?: string;
|
|
382
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* ID of an app.
|
|
436
|
+
* @format GUID
|
|
437
|
+
*/
|
|
383
438
|
appId?: string;
|
|
384
439
|
/** @readonly */
|
|
385
440
|
identityType?: WebhookIdentityType;
|
|
386
441
|
}
|
|
387
442
|
/** @oneof */
|
|
388
443
|
export interface IdentificationDataIdOneOf {
|
|
389
|
-
/**
|
|
444
|
+
/**
|
|
445
|
+
* ID of a site visitor that has not logged in to the site.
|
|
446
|
+
* @format GUID
|
|
447
|
+
*/
|
|
390
448
|
anonymousVisitorId?: string;
|
|
391
|
-
/**
|
|
449
|
+
/**
|
|
450
|
+
* ID of a site visitor that has logged in to the site.
|
|
451
|
+
* @format GUID
|
|
452
|
+
*/
|
|
392
453
|
memberId?: string;
|
|
393
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
456
|
+
* @format GUID
|
|
457
|
+
*/
|
|
394
458
|
wixUserId?: string;
|
|
395
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* ID of an app.
|
|
461
|
+
* @format GUID
|
|
462
|
+
*/
|
|
396
463
|
appId?: string;
|
|
397
464
|
}
|
|
398
465
|
export declare enum WebhookIdentityType {
|
|
@@ -442,9 +509,15 @@ export interface QueryLoyaltyImportsResponseNonNullableFields {
|
|
|
442
509
|
loyaltyImports: LoyaltyImportNonNullableFields[];
|
|
443
510
|
}
|
|
444
511
|
export interface BaseEventMetadata {
|
|
445
|
-
/**
|
|
512
|
+
/**
|
|
513
|
+
* App instance ID.
|
|
514
|
+
* @format GUID
|
|
515
|
+
*/
|
|
446
516
|
instanceId?: string | null;
|
|
447
|
-
/**
|
|
517
|
+
/**
|
|
518
|
+
* Event type.
|
|
519
|
+
* @maxLength 150
|
|
520
|
+
*/
|
|
448
521
|
eventType?: string;
|
|
449
522
|
/** The identification type and identity data. */
|
|
450
523
|
identity?: IdentificationData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-imports-v1-loyalty-import-imports.universal.js","sourceRoot":"","sources":["../../../src/loyalty-imports-v1-loyalty-import-imports.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,gIAAkH;
|
|
1
|
+
{"version":3,"file":"loyalty-imports-v1-loyalty-import-imports.universal.js","sourceRoot":"","sources":["../../../src/loyalty-imports-v1-loyalty-import-imports.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,gIAAkH;AAoDlH,IAAY,YAeX;AAfD,WAAY,YAAY;IACtB,0CAA0C;IAC1C,mCAAmB,CAAA;IACnB,sEAAsE;IACtE,uCAAuB,CAAA;IACvB,uDAAuD;IACvD,mC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