@wix/auto_sdk_loyalty_programs 1.0.3 → 1.0.5
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-v1-program-programs.types.d.ts +196 -45
- package/build/cjs/src/loyalty-v1-program-programs.types.js +1 -0
- package/build/cjs/src/loyalty-v1-program-programs.types.js.map +1 -1
- package/build/cjs/src/loyalty-v1-program-programs.universal.d.ts +204 -47
- package/build/cjs/src/loyalty-v1-program-programs.universal.js +1 -0
- package/build/cjs/src/loyalty-v1-program-programs.universal.js.map +1 -1
- package/build/es/src/loyalty-v1-program-programs.types.d.ts +196 -45
- package/build/es/src/loyalty-v1-program-programs.types.js +1 -0
- package/build/es/src/loyalty-v1-program-programs.types.js.map +1 -1
- package/build/es/src/loyalty-v1-program-programs.universal.d.ts +204 -47
- package/build/es/src/loyalty-v1-program-programs.universal.js +1 -0
- package/build/es/src/loyalty-v1-program-programs.universal.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-program-programs.types.d.ts +196 -45
- package/build/internal/cjs/src/loyalty-v1-program-programs.types.js +1 -0
- package/build/internal/cjs/src/loyalty-v1-program-programs.types.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-program-programs.universal.d.ts +204 -47
- package/build/internal/cjs/src/loyalty-v1-program-programs.universal.js +1 -0
- package/build/internal/cjs/src/loyalty-v1-program-programs.universal.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-program-programs.types.d.ts +196 -45
- package/build/internal/es/src/loyalty-v1-program-programs.types.js +1 -0
- package/build/internal/es/src/loyalty-v1-program-programs.types.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-program-programs.universal.d.ts +204 -47
- package/build/internal/es/src/loyalty-v1-program-programs.universal.js +1 -0
- package/build/internal/es/src/loyalty-v1-program-programs.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* [this overview](https://support.wix.com/en/article/wix-loyalty-program-an-overview).
|
|
5
5
|
*/
|
|
6
6
|
export interface LoyaltyProgram {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Program name.
|
|
9
|
+
* @minLength 2
|
|
10
|
+
* @maxLength 50
|
|
11
|
+
*/
|
|
8
12
|
name?: string | null;
|
|
9
13
|
/** Details about the program's collectible unit. */
|
|
10
14
|
pointDefinition?: PointDefinition;
|
|
@@ -42,6 +46,7 @@ export interface PointDefinition {
|
|
|
42
46
|
* In contrast to a custom name, the default `"Points"` name is translated and adjusted to singular based on circumstances.
|
|
43
47
|
*
|
|
44
48
|
* Default: `Points`.
|
|
49
|
+
* @maxLength 20
|
|
45
50
|
*/
|
|
46
51
|
customName?: string | null;
|
|
47
52
|
/** Details about the points icon. */
|
|
@@ -96,9 +101,17 @@ export interface PointsExpiration {
|
|
|
96
101
|
* @readonly
|
|
97
102
|
*/
|
|
98
103
|
status?: Status;
|
|
99
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* How many months a member should be inactive to lose the collected points.
|
|
106
|
+
* @min 1
|
|
107
|
+
* @max 12
|
|
108
|
+
*/
|
|
100
109
|
monthsOfInactivity?: number;
|
|
101
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Percentage of points that a member loses after being inactive.
|
|
112
|
+
* @min 1
|
|
113
|
+
* @max 100
|
|
114
|
+
*/
|
|
102
115
|
expiringPointsPercentage?: number;
|
|
103
116
|
}
|
|
104
117
|
export declare enum Status {
|
|
@@ -127,7 +140,10 @@ export interface PremiumFeatures {
|
|
|
127
140
|
pointsExpiration?: boolean;
|
|
128
141
|
}
|
|
129
142
|
export interface SocialMediaSettings {
|
|
130
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* List of social media channels
|
|
145
|
+
* @maxSize 5
|
|
146
|
+
*/
|
|
131
147
|
channels?: SocialMediaChannel[];
|
|
132
148
|
}
|
|
133
149
|
export interface SocialMediaChannel {
|
|
@@ -135,11 +151,16 @@ export interface SocialMediaChannel {
|
|
|
135
151
|
type?: Type;
|
|
136
152
|
/** Enable or disable social media channel */
|
|
137
153
|
enabled?: boolean;
|
|
138
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Social media channel ID. For example, Instagram username.
|
|
156
|
+
* @minLength 1
|
|
157
|
+
* @maxLength 255
|
|
158
|
+
*/
|
|
139
159
|
id?: string;
|
|
140
160
|
/**
|
|
141
161
|
* Social media channel URL
|
|
142
162
|
* @readonly
|
|
163
|
+
* @format WEB_URL
|
|
143
164
|
*/
|
|
144
165
|
url?: string | null;
|
|
145
166
|
}
|
|
@@ -170,7 +191,10 @@ export interface BulkGetLoyaltyProgramResponse {
|
|
|
170
191
|
programInSites?: ProgramInSite[];
|
|
171
192
|
}
|
|
172
193
|
export interface ProgramInSite {
|
|
173
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Metasite ID.
|
|
196
|
+
* @format GUID
|
|
197
|
+
*/
|
|
174
198
|
metaSiteId?: string;
|
|
175
199
|
/** Loyalty program. */
|
|
176
200
|
loyaltyProgram?: LoyaltyProgram;
|
|
@@ -210,7 +234,10 @@ export interface PauseLoyaltyProgramResponse {
|
|
|
210
234
|
loyaltyProgram?: LoyaltyProgram;
|
|
211
235
|
}
|
|
212
236
|
export interface GetLoyaltyProgramDescriptionRequest {
|
|
213
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* List of description fields to retrieve. Supported values: `description`, `updatedDate`.
|
|
239
|
+
* @maxSize 2
|
|
240
|
+
*/
|
|
214
241
|
fields?: string[];
|
|
215
242
|
}
|
|
216
243
|
export interface GetLoyaltyProgramDescriptionResponse {
|
|
@@ -220,7 +247,11 @@ export interface GetLoyaltyProgramDescriptionResponse {
|
|
|
220
247
|
updatedDate?: Date | null;
|
|
221
248
|
}
|
|
222
249
|
export interface UpdateLoyaltyProgramDescriptionRequest {
|
|
223
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Loyalty program description to update.
|
|
252
|
+
* @minLength 1
|
|
253
|
+
* @maxLength 1000000
|
|
254
|
+
*/
|
|
224
255
|
description?: string;
|
|
225
256
|
}
|
|
226
257
|
export interface UpdateLoyaltyProgramDescriptionResponse {
|
|
@@ -297,7 +328,10 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
297
328
|
studioAssigned?: StudioAssigned;
|
|
298
329
|
/** Emitted when Studio is detached. */
|
|
299
330
|
studioUnassigned?: StudioUnassigned;
|
|
300
|
-
/**
|
|
331
|
+
/**
|
|
332
|
+
* A meta site id.
|
|
333
|
+
* @format GUID
|
|
334
|
+
*/
|
|
301
335
|
metaSiteId?: string;
|
|
302
336
|
/** A meta site version. Monotonically increasing. */
|
|
303
337
|
version?: string;
|
|
@@ -306,6 +340,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
306
340
|
/**
|
|
307
341
|
* TODO(meta-site): Change validation once validations are disabled for consumers
|
|
308
342
|
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
|
|
343
|
+
* @maxSize 4000
|
|
309
344
|
*/
|
|
310
345
|
assets?: Asset[];
|
|
311
346
|
}
|
|
@@ -343,9 +378,15 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
343
378
|
studioUnassigned?: StudioUnassigned;
|
|
344
379
|
}
|
|
345
380
|
export interface Asset {
|
|
346
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
383
|
+
* @maxLength 36
|
|
384
|
+
*/
|
|
347
385
|
appDefId?: string;
|
|
348
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* An instance id. For legacy reasons may be UUID or a string.
|
|
388
|
+
* @maxLength 200
|
|
389
|
+
*/
|
|
349
390
|
instanceId?: string;
|
|
350
391
|
/** An application state. */
|
|
351
392
|
state?: State;
|
|
@@ -358,9 +399,15 @@ export declare enum State {
|
|
|
358
399
|
DEMO = "DEMO"
|
|
359
400
|
}
|
|
360
401
|
export interface SiteCreated {
|
|
361
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* A template identifier (empty if not created from a template).
|
|
404
|
+
* @maxLength 36
|
|
405
|
+
*/
|
|
362
406
|
originTemplateId?: string;
|
|
363
|
-
/**
|
|
407
|
+
/**
|
|
408
|
+
* An account id of the owner.
|
|
409
|
+
* @format GUID
|
|
410
|
+
*/
|
|
364
411
|
ownerId?: string;
|
|
365
412
|
/** A context in which meta site was created. */
|
|
366
413
|
context?: SiteCreatedContext;
|
|
@@ -369,9 +416,13 @@ export interface SiteCreated {
|
|
|
369
416
|
*
|
|
370
417
|
* In case of a creation from a template it's a template id.
|
|
371
418
|
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
419
|
+
* @format GUID
|
|
372
420
|
*/
|
|
373
421
|
originMetaSiteId?: string | null;
|
|
374
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* A meta site name (URL slug).
|
|
424
|
+
* @maxLength 20
|
|
425
|
+
*/
|
|
375
426
|
siteName?: string;
|
|
376
427
|
/** A namespace. */
|
|
377
428
|
namespace?: Namespace;
|
|
@@ -468,9 +519,15 @@ export declare enum Namespace {
|
|
|
468
519
|
}
|
|
469
520
|
/** Site transferred to another user. */
|
|
470
521
|
export interface SiteTransferred {
|
|
471
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* A previous owner id (user that transfers meta site).
|
|
524
|
+
* @format GUID
|
|
525
|
+
*/
|
|
472
526
|
oldOwnerId?: string;
|
|
473
|
-
/**
|
|
527
|
+
/**
|
|
528
|
+
* A new owner id (user that accepts meta site).
|
|
529
|
+
* @format GUID
|
|
530
|
+
*/
|
|
474
531
|
newOwnerId?: string;
|
|
475
532
|
}
|
|
476
533
|
/** Soft deletion of the meta site. Could be restored. */
|
|
@@ -483,16 +540,23 @@ export interface DeleteContext {
|
|
|
483
540
|
dateDeleted?: Date | null;
|
|
484
541
|
/** A status. */
|
|
485
542
|
deleteStatus?: DeleteStatus;
|
|
486
|
-
/**
|
|
543
|
+
/**
|
|
544
|
+
* A reason (flow).
|
|
545
|
+
* @maxLength 255
|
|
546
|
+
*/
|
|
487
547
|
deleteOrigin?: string;
|
|
488
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* A service that deleted it.
|
|
550
|
+
* @maxLength 255
|
|
551
|
+
*/
|
|
489
552
|
initiatorId?: string | null;
|
|
490
553
|
}
|
|
491
554
|
export declare enum DeleteStatus {
|
|
492
555
|
UNKNOWN = "UNKNOWN",
|
|
493
556
|
TRASH = "TRASH",
|
|
494
557
|
DELETED = "DELETED",
|
|
495
|
-
PENDING_PURGE = "PENDING_PURGE"
|
|
558
|
+
PENDING_PURGE = "PENDING_PURGE",
|
|
559
|
+
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
496
560
|
}
|
|
497
561
|
/** Restoration of the meta site. */
|
|
498
562
|
export interface SiteUndeleted {
|
|
@@ -501,7 +565,11 @@ export interface SiteUndeleted {
|
|
|
501
565
|
export interface SitePublished {
|
|
502
566
|
}
|
|
503
567
|
export interface SiteUnpublished {
|
|
504
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* A list of URLs previously associated with the meta site.
|
|
570
|
+
* @maxLength 4000
|
|
571
|
+
* @maxSize 10000
|
|
572
|
+
*/
|
|
505
573
|
urls?: string[];
|
|
506
574
|
}
|
|
507
575
|
export interface SiteMarkedAsTemplate {
|
|
@@ -524,30 +592,60 @@ export interface SiteMarkedAsWixSite {
|
|
|
524
592
|
* To ensure this, the TPA on the template gets a new instance_id.
|
|
525
593
|
*/
|
|
526
594
|
export interface ServiceProvisioned {
|
|
527
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* Either UUID or EmbeddedServiceType.
|
|
597
|
+
* @maxLength 36
|
|
598
|
+
*/
|
|
528
599
|
appDefId?: string;
|
|
529
|
-
/**
|
|
600
|
+
/**
|
|
601
|
+
* Not only UUID. Something here could be something weird.
|
|
602
|
+
* @maxLength 36
|
|
603
|
+
*/
|
|
530
604
|
instanceId?: string;
|
|
531
|
-
/**
|
|
605
|
+
/**
|
|
606
|
+
* An instance id from which this instance is originated.
|
|
607
|
+
* @maxLength 36
|
|
608
|
+
*/
|
|
532
609
|
originInstanceId?: string;
|
|
533
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* A version.
|
|
612
|
+
* @maxLength 500
|
|
613
|
+
*/
|
|
534
614
|
version?: string | null;
|
|
535
|
-
/**
|
|
615
|
+
/**
|
|
616
|
+
* The origin meta site id
|
|
617
|
+
* @format GUID
|
|
618
|
+
*/
|
|
536
619
|
originMetaSiteId?: string | null;
|
|
537
620
|
}
|
|
538
621
|
export interface ServiceRemoved {
|
|
539
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* Either UUID or EmbeddedServiceType.
|
|
624
|
+
* @maxLength 36
|
|
625
|
+
*/
|
|
540
626
|
appDefId?: string;
|
|
541
|
-
/**
|
|
627
|
+
/**
|
|
628
|
+
* Not only UUID. Something here could be something weird.
|
|
629
|
+
* @maxLength 36
|
|
630
|
+
*/
|
|
542
631
|
instanceId?: string;
|
|
543
|
-
/**
|
|
632
|
+
/**
|
|
633
|
+
* A version.
|
|
634
|
+
* @maxLength 500
|
|
635
|
+
*/
|
|
544
636
|
version?: string | null;
|
|
545
637
|
}
|
|
546
638
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
547
639
|
export interface SiteRenamed {
|
|
548
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* A new meta site name (URL slug).
|
|
642
|
+
* @maxLength 20
|
|
643
|
+
*/
|
|
549
644
|
newSiteName?: string;
|
|
550
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* A previous meta site name (URL slug).
|
|
647
|
+
* @maxLength 255
|
|
648
|
+
*/
|
|
551
649
|
oldSiteName?: string;
|
|
552
650
|
}
|
|
553
651
|
/**
|
|
@@ -656,11 +754,13 @@ export interface FeatureEnabled extends FeatureEnabledReasonOneOf {
|
|
|
656
754
|
/**
|
|
657
755
|
* Information about a transfer from another account.
|
|
658
756
|
* __Deprecated__. Use `reason.transferred_from_another_account` instead.
|
|
757
|
+
* @format GUID
|
|
659
758
|
*/
|
|
660
759
|
transferredFromAccount?: string | null;
|
|
661
760
|
/**
|
|
662
761
|
* Information about a transfer from another site.
|
|
663
762
|
* __Deprecated__. Use `reason.reassigned_from_site` instead.
|
|
763
|
+
* @format GUID
|
|
664
764
|
*/
|
|
665
765
|
reassignedFromMetasite?: string | null;
|
|
666
766
|
}
|
|
@@ -709,6 +809,8 @@ export interface Feature extends FeatureQuantityInfoOneOf {
|
|
|
709
809
|
*
|
|
710
810
|
* Min: 2 characters
|
|
711
811
|
* Max: 50 characters
|
|
812
|
+
* @minLength 2
|
|
813
|
+
* @maxLength 50
|
|
712
814
|
*/
|
|
713
815
|
uniqueName?: string;
|
|
714
816
|
/**
|
|
@@ -747,6 +849,7 @@ export interface Feature extends FeatureQuantityInfoOneOf {
|
|
|
747
849
|
/**
|
|
748
850
|
* ID of the [subscription](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/subscription-object)
|
|
749
851
|
* to which the feature instance belongs.
|
|
852
|
+
* @format GUID
|
|
750
853
|
*/
|
|
751
854
|
subscriptionId?: string | null;
|
|
752
855
|
/**
|
|
@@ -780,6 +883,7 @@ export interface FeatureContext {
|
|
|
780
883
|
/**
|
|
781
884
|
* ID of the Wix account that the feature instance belongs to.
|
|
782
885
|
* Available for both site and account level feature instances.
|
|
886
|
+
* @format GUID
|
|
783
887
|
*/
|
|
784
888
|
userId?: string;
|
|
785
889
|
/**
|
|
@@ -787,6 +891,7 @@ export interface FeatureContext {
|
|
|
787
891
|
* Only available for site level feature instances that are assigned to a Wix
|
|
788
892
|
* site. Not available for account level and unassigned site level feature
|
|
789
893
|
* instances.
|
|
894
|
+
* @format GUID
|
|
790
895
|
*/
|
|
791
896
|
metaSiteId?: string | null;
|
|
792
897
|
}
|
|
@@ -843,12 +948,18 @@ export interface QuotaInfo {
|
|
|
843
948
|
}
|
|
844
949
|
/** Subscription transferred from another account, features on the current account were enabled. */
|
|
845
950
|
export interface TransferredFromAnotherAccountReason {
|
|
846
|
-
/**
|
|
951
|
+
/**
|
|
952
|
+
* Information about a transfer from another account.
|
|
953
|
+
* @format GUID
|
|
954
|
+
*/
|
|
847
955
|
transferredFromAccount?: string;
|
|
848
956
|
}
|
|
849
957
|
/** Subscription moved from one site to another in the same account, features enabled on the target site */
|
|
850
958
|
export interface ReassignedFromSiteReason {
|
|
851
|
-
/**
|
|
959
|
+
/**
|
|
960
|
+
* Information about a transfer from another site.
|
|
961
|
+
* @format GUID
|
|
962
|
+
*/
|
|
852
963
|
reassignedFromMetasite?: string;
|
|
853
964
|
}
|
|
854
965
|
/** Subscription was floating and assigned to site, features enabled on the target site */
|
|
@@ -885,7 +996,10 @@ export interface FeatureDisabled extends FeatureDisabledReasonOneOf {
|
|
|
885
996
|
* possibly its new context.
|
|
886
997
|
*/
|
|
887
998
|
feature?: Feature;
|
|
888
|
-
/**
|
|
999
|
+
/**
|
|
1000
|
+
* ID of the meta site for which the feature has been disabled.
|
|
1001
|
+
* @format GUID
|
|
1002
|
+
*/
|
|
889
1003
|
metaSiteId?: string | null;
|
|
890
1004
|
}
|
|
891
1005
|
/** @oneof */
|
|
@@ -911,7 +1025,10 @@ export interface ReplacedByAnotherSubscriptionReason {
|
|
|
911
1025
|
}
|
|
912
1026
|
/** Subscription was assigned to another site, causing features on the origin site to be disabled. */
|
|
913
1027
|
export interface ReassignedToAnotherSiteReason {
|
|
914
|
-
/**
|
|
1028
|
+
/**
|
|
1029
|
+
* Information about a transfer to the site.
|
|
1030
|
+
* @format GUID
|
|
1031
|
+
*/
|
|
915
1032
|
reassignedToMetasite?: string;
|
|
916
1033
|
}
|
|
917
1034
|
/** Feature updated, for example Quota was increased due to upgrade */
|
|
@@ -953,6 +1070,7 @@ export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
|
|
|
953
1070
|
/**
|
|
954
1071
|
* Information about a transfer to the account.
|
|
955
1072
|
* __Deprecated__. Use `reason.transferred_to_account` instead.
|
|
1073
|
+
* @format GUID
|
|
956
1074
|
*/
|
|
957
1075
|
transferredToAccount?: string | null;
|
|
958
1076
|
}
|
|
@@ -967,7 +1085,10 @@ export interface FeatureCancelledReasonOneOf {
|
|
|
967
1085
|
}
|
|
968
1086
|
/** Subscription was transferred to another account, features in the origin account were cancelled */
|
|
969
1087
|
export interface TransferredToAnotherAccountReason {
|
|
970
|
-
/**
|
|
1088
|
+
/**
|
|
1089
|
+
* Information about a transfer to the account.
|
|
1090
|
+
* @format GUID
|
|
1091
|
+
*/
|
|
971
1092
|
transferredToAccount?: string;
|
|
972
1093
|
}
|
|
973
1094
|
/** Cancellation was requested from the subscription manager api, might be a result of billing event, or direct call */
|
|
@@ -1046,9 +1167,15 @@ export interface ActionEvent {
|
|
|
1046
1167
|
bodyAsJson?: string;
|
|
1047
1168
|
}
|
|
1048
1169
|
export interface MessageEnvelope {
|
|
1049
|
-
/**
|
|
1170
|
+
/**
|
|
1171
|
+
* App instance ID.
|
|
1172
|
+
* @format GUID
|
|
1173
|
+
*/
|
|
1050
1174
|
instanceId?: string | null;
|
|
1051
|
-
/**
|
|
1175
|
+
/**
|
|
1176
|
+
* Event type.
|
|
1177
|
+
* @maxLength 150
|
|
1178
|
+
*/
|
|
1052
1179
|
eventType?: string;
|
|
1053
1180
|
/** The identification type and identity data. */
|
|
1054
1181
|
identity?: IdentificationData;
|
|
@@ -1056,26 +1183,50 @@ export interface MessageEnvelope {
|
|
|
1056
1183
|
data?: string;
|
|
1057
1184
|
}
|
|
1058
1185
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1059
|
-
/**
|
|
1186
|
+
/**
|
|
1187
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1188
|
+
* @format GUID
|
|
1189
|
+
*/
|
|
1060
1190
|
anonymousVisitorId?: string;
|
|
1061
|
-
/**
|
|
1191
|
+
/**
|
|
1192
|
+
* ID of a site visitor that has logged in to the site.
|
|
1193
|
+
* @format GUID
|
|
1194
|
+
*/
|
|
1062
1195
|
memberId?: string;
|
|
1063
|
-
/**
|
|
1196
|
+
/**
|
|
1197
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1198
|
+
* @format GUID
|
|
1199
|
+
*/
|
|
1064
1200
|
wixUserId?: string;
|
|
1065
|
-
/**
|
|
1201
|
+
/**
|
|
1202
|
+
* ID of an app.
|
|
1203
|
+
* @format GUID
|
|
1204
|
+
*/
|
|
1066
1205
|
appId?: string;
|
|
1067
1206
|
/** @readonly */
|
|
1068
1207
|
identityType?: WebhookIdentityType;
|
|
1069
1208
|
}
|
|
1070
1209
|
/** @oneof */
|
|
1071
1210
|
export interface IdentificationDataIdOneOf {
|
|
1072
|
-
/**
|
|
1211
|
+
/**
|
|
1212
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1213
|
+
* @format GUID
|
|
1214
|
+
*/
|
|
1073
1215
|
anonymousVisitorId?: string;
|
|
1074
|
-
/**
|
|
1216
|
+
/**
|
|
1217
|
+
* ID of a site visitor that has logged in to the site.
|
|
1218
|
+
* @format GUID
|
|
1219
|
+
*/
|
|
1075
1220
|
memberId?: string;
|
|
1076
|
-
/**
|
|
1221
|
+
/**
|
|
1222
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1223
|
+
* @format GUID
|
|
1224
|
+
*/
|
|
1077
1225
|
wixUserId?: string;
|
|
1078
|
-
/**
|
|
1226
|
+
/**
|
|
1227
|
+
* ID of an app.
|
|
1228
|
+
* @format GUID
|
|
1229
|
+
*/
|
|
1079
1230
|
appId?: string;
|
|
1080
1231
|
}
|
|
1081
1232
|
export declare enum WebhookIdentityType {
|
|
@@ -139,6 +139,7 @@ export var DeleteStatus;
|
|
|
139
139
|
DeleteStatus["TRASH"] = "TRASH";
|
|
140
140
|
DeleteStatus["DELETED"] = "DELETED";
|
|
141
141
|
DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
|
|
142
|
+
DeleteStatus["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
142
143
|
})(DeleteStatus || (DeleteStatus = {}));
|
|
143
144
|
/** Determines the reset cycle of the feature usage. */
|
|
144
145
|
export var FeaturePeriod;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-program-programs.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-program-programs.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loyalty-v1-program-programs.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-program-programs.types.ts"],"names":[],"mappings":"AA2FA,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACvB,8BAA8B;IAC9B,oCAAmB,CAAA;IACnB,kDAAkD;IAClD,gCAAe,CAAA;IACf,yBAAyB;IACzB,kCAAiB,CAAA;IACjB,8HAA8H;IAC9H,kCAAiB,CAAA;AACnB,CAAC,EATW,aAAa,KAAb,aAAa,QASxB;AAsBD,MAAM,CAAN,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,gEAAgE;IAChE,2CAAiC,CAAA;IACjC,6CAA6C;IAC7C,+BAAqB,CAAA;IACrB,4CAA4C;IAC5C,6BAAmB,CAAA;AACrB,CAAC,EAPW,MAAM,KAAN,MAAM,QAOjB;AA+CD,MAAM,CAAN,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,KAAJ,IAAI,QAaf;AA4OD,MAAM,CAAN,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,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