@leatcom/portal-sessions 0.0.73 → 0.0.75-beta.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/dist/portal-sessions.es.d.ts +24 -403
- package/dist/portal-sessions.es.js +16749 -16758
- package/dist/portal-sessions.umd.js +44 -44
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
declare type Attribute = {
|
|
5
5
|
attribute: {
|
|
6
6
|
field_type: string;
|
|
7
7
|
id: number;
|
|
@@ -15,67 +15,7 @@ export declare type Attribute = {
|
|
|
15
15
|
value: string;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
declare type
|
|
19
|
-
attribute: {
|
|
20
|
-
field_type: string;
|
|
21
|
-
id: number;
|
|
22
|
-
is_hard_read_only: boolean;
|
|
23
|
-
is_soft_read_only: boolean;
|
|
24
|
-
label: string;
|
|
25
|
-
name: string;
|
|
26
|
-
options: [];
|
|
27
|
-
type: any;
|
|
28
|
-
};
|
|
29
|
-
value: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
declare type Column = {
|
|
33
|
-
align?: "left" | "center" | "right";
|
|
34
|
-
value: ColumnValue;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
declare type ColumnValue = {
|
|
38
|
-
id: number;
|
|
39
|
-
type: string;
|
|
40
|
-
title?: string;
|
|
41
|
-
subtitle?: string;
|
|
42
|
-
label?: string;
|
|
43
|
-
hidden?: boolean;
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export declare type ContactAttributeFormElement = {
|
|
48
|
-
bottom_helper: any | undefined;
|
|
49
|
-
defaultValue: string;
|
|
50
|
-
dimensions: [];
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
hidden: boolean;
|
|
53
|
-
hide_label: boolean;
|
|
54
|
-
id: string;
|
|
55
|
-
is_clearable: boolean;
|
|
56
|
-
label: string;
|
|
57
|
-
max_amount: number;
|
|
58
|
-
max_length: number;
|
|
59
|
-
meta: [];
|
|
60
|
-
min_amount: number;
|
|
61
|
-
name: string;
|
|
62
|
-
options: Array<Option_2>;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
prefix: string | undefined;
|
|
65
|
-
render_as: string;
|
|
66
|
-
required: boolean;
|
|
67
|
-
search: Search;
|
|
68
|
-
searchable: boolean;
|
|
69
|
-
sort_type: any | undefined;
|
|
70
|
-
status: any | undefined;
|
|
71
|
-
step: string | number | undefined;
|
|
72
|
-
suffix: string | null;
|
|
73
|
-
tooltip: string;
|
|
74
|
-
top_helper: any | undefined;
|
|
75
|
-
type: any;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export declare type ContactResource = {
|
|
18
|
+
declare type ContactResource = {
|
|
79
19
|
id: number;
|
|
80
20
|
uuid: string;
|
|
81
21
|
email: string;
|
|
@@ -92,46 +32,11 @@ export declare type ContactResource = {
|
|
|
92
32
|
};
|
|
93
33
|
};
|
|
94
34
|
|
|
95
|
-
declare type
|
|
96
|
-
id: number;
|
|
97
|
-
uuid: string;
|
|
98
|
-
email: string;
|
|
99
|
-
attributes: Array<Attribute_2>;
|
|
100
|
-
tier: Tier_2 | null;
|
|
101
|
-
subscriptions: Array<Subscription_2>;
|
|
102
|
-
credit_balance: CreditBalance_2;
|
|
103
|
-
prepaid_balance: PrepaidBalance_2;
|
|
104
|
-
current_values: { [key: string]: string | number };
|
|
105
|
-
current_display_values: { [key: string]: string };
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export declare type CreditBalance = {
|
|
35
|
+
declare type CreditBalance = {
|
|
109
36
|
balance: number;
|
|
110
37
|
id: number;
|
|
111
38
|
};
|
|
112
39
|
|
|
113
|
-
declare type CreditBalance_2 = {
|
|
114
|
-
balance: number;
|
|
115
|
-
id: number;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export declare type CreditReceptionTransactionResource = {
|
|
119
|
-
type: string;
|
|
120
|
-
credits: number;
|
|
121
|
-
contact: {
|
|
122
|
-
uuid: string;
|
|
123
|
-
};
|
|
124
|
-
shop: {
|
|
125
|
-
name: string;
|
|
126
|
-
uuid: string;
|
|
127
|
-
};
|
|
128
|
-
contact_identifier: string;
|
|
129
|
-
created_at: string;
|
|
130
|
-
uuid: string;
|
|
131
|
-
unit_value: string;
|
|
132
|
-
unit: string;
|
|
133
|
-
};
|
|
134
|
-
|
|
135
40
|
export declare function DefaultSession({ uuid, host }: DefaultSessionProps): JSX_2.Element;
|
|
136
41
|
|
|
137
42
|
export declare type DefaultSessionProps = {
|
|
@@ -139,70 +44,12 @@ export declare type DefaultSessionProps = {
|
|
|
139
44
|
host?: string;
|
|
140
45
|
};
|
|
141
46
|
|
|
142
|
-
|
|
143
|
-
INPUT_INVALID = 1003,
|
|
144
|
-
CONTACT_NOT_FOUND = 55031
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
declare type Event_2 = {
|
|
148
|
-
data: {
|
|
149
|
-
[p: string]: any;
|
|
150
|
-
};
|
|
151
|
-
type: string;
|
|
152
|
-
created_at: string;
|
|
153
|
-
};
|
|
154
|
-
export { Event_2 as Event }
|
|
155
|
-
|
|
156
|
-
export declare enum EventType {
|
|
157
|
-
GIFTCARD_TRANSACTION = "giftcard_transaction",
|
|
158
|
-
VOUCHER_REDEEMED = "voucher_redeemed",
|
|
159
|
-
REWARD_RECEPTION = "reward_reception",
|
|
160
|
-
PREPAID_TRANSACTION = "prepaid_transaction"
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export declare enum FacingMode {
|
|
47
|
+
declare enum FacingMode {
|
|
164
48
|
USER = "user",
|
|
165
49
|
ENVIRONMENT = "environment"
|
|
166
50
|
}
|
|
167
51
|
|
|
168
|
-
declare
|
|
169
|
-
USER = "user",
|
|
170
|
-
ENVIRONMENT = "environment",
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export declare type GiftcardProgram = {
|
|
174
|
-
id: number;
|
|
175
|
-
name: string;
|
|
176
|
-
uuid: string;
|
|
177
|
-
max_amount_in_cents: number;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
export declare type GiftcardRecipient = {
|
|
181
|
-
id: number;
|
|
182
|
-
email: string;
|
|
183
|
-
status: number;
|
|
184
|
-
opens: number;
|
|
185
|
-
clicks: number;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
export declare type GiftcardResource = {
|
|
189
|
-
id: number;
|
|
190
|
-
uuid: string;
|
|
191
|
-
type: string;
|
|
192
|
-
hash: string;
|
|
193
|
-
amount_in_cents: number;
|
|
194
|
-
upgradeable: boolean;
|
|
195
|
-
active: boolean;
|
|
196
|
-
expiration_date: string;
|
|
197
|
-
amount: number;
|
|
198
|
-
url: string;
|
|
199
|
-
display_amount: string;
|
|
200
|
-
formatted_expiration_date: string;
|
|
201
|
-
giftcard_program: GiftcardProgram;
|
|
202
|
-
giftcard_recipients: Array<GiftcardRecipient>;
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
export declare type GiftcardTransactionResource = {
|
|
52
|
+
declare type GiftcardTransactionResource = {
|
|
206
53
|
id: number;
|
|
207
54
|
uuid: string;
|
|
208
55
|
amount_in_cents: number;
|
|
@@ -221,110 +68,22 @@ export declare type GiftcardTransactionResource = {
|
|
|
221
68
|
created_at: string;
|
|
222
69
|
};
|
|
223
70
|
|
|
224
|
-
declare type GiftcardTransactionResource_2 = {
|
|
225
|
-
id: number;
|
|
226
|
-
uuid: string;
|
|
227
|
-
amount_in_cents: number;
|
|
228
|
-
type: string;
|
|
229
|
-
settled: boolean;
|
|
230
|
-
card: { id: number; uuid: string };
|
|
231
|
-
shop: { id: number; uuid: string; name: string };
|
|
232
|
-
settlements: []; // GiftcardTransactionSettlementResource
|
|
233
|
-
created_at: string;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
declare type Header = {
|
|
237
|
-
items: HeaderItem[];
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
declare type HeaderItem = {
|
|
241
|
-
value?: string;
|
|
242
|
-
align?: "left" | "center" | "right";
|
|
243
|
-
};
|
|
244
|
-
|
|
245
71
|
declare type Image_2 = {
|
|
246
72
|
id: string;
|
|
247
73
|
type: string;
|
|
248
74
|
value: string;
|
|
249
75
|
};
|
|
250
|
-
export { Image_2 as Image }
|
|
251
|
-
|
|
252
|
-
declare type Image_3 = {
|
|
253
|
-
id: string;
|
|
254
|
-
type: string;
|
|
255
|
-
value: string;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
export declare type InputData = {
|
|
259
|
-
enable_on_screen_keyboard?: boolean;
|
|
260
|
-
enable_email_identification?: boolean;
|
|
261
|
-
enable_registration?: boolean;
|
|
262
|
-
amount_in_cents?: number;
|
|
263
|
-
allow_multiple_giftcards?: boolean;
|
|
264
|
-
primary_identification_method?: PrimaryIdentificationMethod;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
export declare type LoyaltyProgram = {
|
|
268
|
-
name: string;
|
|
269
|
-
max_amount: number;
|
|
270
|
-
custom_credit_name: string;
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
export declare type Media = {
|
|
274
|
-
id: number;
|
|
275
|
-
type: string;
|
|
276
|
-
value: string;
|
|
277
|
-
};
|
|
278
76
|
|
|
279
|
-
declare type
|
|
77
|
+
declare type Media = {
|
|
280
78
|
id: number;
|
|
281
79
|
type: string;
|
|
282
80
|
value: string;
|
|
283
81
|
};
|
|
284
82
|
|
|
285
|
-
declare type Option_2 = {
|
|
286
|
-
value: string;
|
|
287
|
-
label: string;
|
|
288
|
-
};
|
|
289
|
-
export { Option_2 as Option }
|
|
290
|
-
|
|
291
|
-
export declare enum PortalRoute {
|
|
292
|
-
GENERIC = "/generic",
|
|
293
|
-
GIFTCARD = "/giftcard",
|
|
294
|
-
PORTAL = "/portal",
|
|
295
|
-
PAY_PREPAID = "/pay-prepaid",
|
|
296
|
-
TOP_UP_PREPAID = "/top-up-prepaid",
|
|
297
|
-
POINTS_TRANSACTION = "/points-transaction",
|
|
298
|
-
VOUCHER = "/voucher"
|
|
299
|
-
}
|
|
300
|
-
|
|
301
83
|
export declare function PortalSession(props: PortalSessionProps): ReactElement;
|
|
302
84
|
|
|
303
|
-
export declare type PortalSessionApiResource = {
|
|
304
|
-
type: PortalType;
|
|
305
|
-
uuid: string;
|
|
306
|
-
contact: {
|
|
307
|
-
uuid: string;
|
|
308
|
-
};
|
|
309
|
-
input_data: InputData;
|
|
310
|
-
results: Record<string, any>;
|
|
311
|
-
events: Array<Event_2>;
|
|
312
|
-
currency: string;
|
|
313
|
-
loyalty_program: LoyaltyProgram;
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
export declare type PortalSessionPayload = {
|
|
317
|
-
api_key: string;
|
|
318
|
-
shop_uuid: string;
|
|
319
|
-
enable_on_screen_keyboard?: boolean;
|
|
320
|
-
enable_email_identification?: boolean;
|
|
321
|
-
enable_registration?: boolean;
|
|
322
|
-
amount_in_cents?: number;
|
|
323
|
-
allow_multiple_giftcards?: boolean;
|
|
324
|
-
};
|
|
325
|
-
|
|
326
85
|
export declare type PortalSessionProps = {
|
|
327
|
-
type?:
|
|
86
|
+
type?: keyof typeof PortalType;
|
|
328
87
|
host?: string;
|
|
329
88
|
apiKey: string;
|
|
330
89
|
shopUuid: string;
|
|
@@ -334,16 +93,16 @@ export declare type PortalSessionProps = {
|
|
|
334
93
|
enableOnScreenKeyboard?: boolean;
|
|
335
94
|
allowMultipleGiftcards?: boolean;
|
|
336
95
|
amountInCents?: number;
|
|
337
|
-
cameraFacingMode?:
|
|
338
|
-
onContactLink?: (contact:
|
|
339
|
-
onClaimReward?: (reward:
|
|
340
|
-
onRedeemVoucher?: (voucher:
|
|
341
|
-
onUseGiftcard?: (giftcardTransaction:
|
|
96
|
+
cameraFacingMode?: FacingMode | "user" | "environment";
|
|
97
|
+
onContactLink?: (contact: ContactResource) => void;
|
|
98
|
+
onClaimReward?: (reward: RewardResource, transactionUuid?: string) => void;
|
|
99
|
+
onRedeemVoucher?: (voucher: VoucherResource) => void;
|
|
100
|
+
onUseGiftcard?: (giftcardTransaction: GiftcardTransactionResource) => void;
|
|
342
101
|
onCreateTransaction?: (creditReceptionId: number) => void;
|
|
343
|
-
primaryIdentificationMethod?:
|
|
102
|
+
primaryIdentificationMethod?: PrimaryIdentificationMethod;
|
|
344
103
|
};
|
|
345
104
|
|
|
346
|
-
|
|
105
|
+
declare enum PortalType {
|
|
347
106
|
GENERIC = "GENERIC",
|
|
348
107
|
GIFTCARD = "GIFTCARD",
|
|
349
108
|
REDEEM_GIFTCARD = "REDEEM_GIFTCARD",
|
|
@@ -355,42 +114,16 @@ export declare enum PortalType {
|
|
|
355
114
|
VOUCHER = "VOUCHER"
|
|
356
115
|
}
|
|
357
116
|
|
|
358
|
-
declare
|
|
359
|
-
GENERIC = "GENERIC",
|
|
360
|
-
GIFTCARD = "GIFTCARD",
|
|
361
|
-
REDEEM_GIFTCARD = "REDEEM_GIFTCARD",
|
|
362
|
-
TOP_UP_GIFTCARD = "TOP_UP_GIFTCARD",
|
|
363
|
-
PORTAL = "PORTAL",
|
|
364
|
-
PAY_PREPAID = "PAY_PREPAID",
|
|
365
|
-
TOP_UP_PREPAID = "TOP_UP_PREPAID",
|
|
366
|
-
POINTS_TRANSACTION = "POINTS_TRANSACTION",
|
|
367
|
-
VOUCHER = "VOUCHER",
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
export declare type PrepaidBalance = {
|
|
371
|
-
balance_in_cents: number;
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
declare type PrepaidBalance_2 = {
|
|
117
|
+
declare type PrepaidBalance = {
|
|
375
118
|
balance_in_cents: number;
|
|
376
119
|
};
|
|
377
120
|
|
|
378
|
-
|
|
379
|
-
balance_in_cents: number;
|
|
380
|
-
balance: string;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
export declare enum PrimaryIdentificationMethod {
|
|
121
|
+
declare enum PrimaryIdentificationMethod {
|
|
384
122
|
IDENTIFIER = "identifier",
|
|
385
123
|
EMAIL = "email"
|
|
386
124
|
}
|
|
387
125
|
|
|
388
|
-
declare
|
|
389
|
-
IDENTIFIER = "identifier",
|
|
390
|
-
EMAIL = "email",
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export declare type Promotion = {
|
|
126
|
+
declare type Promotion = {
|
|
394
127
|
uuid: string;
|
|
395
128
|
name: string;
|
|
396
129
|
description: string;
|
|
@@ -402,17 +135,7 @@ export declare type Promotion = {
|
|
|
402
135
|
[p: string]: string | boolean | number;
|
|
403
136
|
};
|
|
404
137
|
|
|
405
|
-
declare type
|
|
406
|
-
uuid: string;
|
|
407
|
-
name: string;
|
|
408
|
-
description: string;
|
|
409
|
-
voucher_limit: number;
|
|
410
|
-
limit_per_contact: number;
|
|
411
|
-
expiration_duration: number;
|
|
412
|
-
image: Image_3;
|
|
413
|
-
} & { [p: string]: string | boolean | number };
|
|
414
|
-
|
|
415
|
-
export declare type RewardResource = {
|
|
138
|
+
declare type RewardResource = {
|
|
416
139
|
uuid: string;
|
|
417
140
|
title: string;
|
|
418
141
|
description: string;
|
|
@@ -426,31 +149,7 @@ export declare type RewardResource = {
|
|
|
426
149
|
[attributeKey: string]: string | number | boolean;
|
|
427
150
|
};
|
|
428
151
|
|
|
429
|
-
declare type
|
|
430
|
-
uuid: string;
|
|
431
|
-
title: string;
|
|
432
|
-
description: string;
|
|
433
|
-
cost_price: number;
|
|
434
|
-
required_credits: number;
|
|
435
|
-
active: boolean;
|
|
436
|
-
media: Media_2;
|
|
437
|
-
reward_type: string;
|
|
438
|
-
stock: number;
|
|
439
|
-
} & { [attributeKey: string]: string | number | boolean };
|
|
440
|
-
|
|
441
|
-
declare type RowType = {
|
|
442
|
-
columns: Column[];
|
|
443
|
-
id: number;
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
export declare type Search = {
|
|
447
|
-
api_url: string;
|
|
448
|
-
token: string;
|
|
449
|
-
debounceInMilSec: number;
|
|
450
|
-
json_key: string;
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
export declare type Subscription = {
|
|
152
|
+
declare type Subscription = {
|
|
454
153
|
is_subscribed: boolean;
|
|
455
154
|
status: SubscriptionStatus;
|
|
456
155
|
subscription_type: {
|
|
@@ -463,77 +162,27 @@ export declare type Subscription = {
|
|
|
463
162
|
};
|
|
464
163
|
};
|
|
465
164
|
|
|
466
|
-
declare
|
|
467
|
-
is_subscribed: boolean;
|
|
468
|
-
status: SubscriptionStatus_2;
|
|
469
|
-
subscription_type: {
|
|
470
|
-
active: boolean;
|
|
471
|
-
description: string;
|
|
472
|
-
id: number;
|
|
473
|
-
name: string;
|
|
474
|
-
strategy: SubscriptionStrategy_2;
|
|
475
|
-
uuid: string;
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
export declare enum SubscriptionStatus {
|
|
165
|
+
declare enum SubscriptionStatus {
|
|
480
166
|
SUBSCRIBED = "SUBSCRIBED",
|
|
481
167
|
UNSUBSCRIBED = "UNSUBSCRIBED",
|
|
482
168
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
483
169
|
}
|
|
484
170
|
|
|
485
|
-
declare enum
|
|
486
|
-
SUBSCRIBED = "SUBSCRIBED",
|
|
487
|
-
UNSUBSCRIBED = "UNSUBSCRIBED",
|
|
488
|
-
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export declare enum SubscriptionStrategy {
|
|
171
|
+
declare enum SubscriptionStrategy {
|
|
492
172
|
OPT_OUT = "OPT_OUT",
|
|
493
173
|
OPT_IN = "OPT_IN",
|
|
494
174
|
DOUBLE_OPT_IN = "DOUBLE_OPT_IN",
|
|
495
175
|
FUNCTIONAL = "FUNCTIONAL"
|
|
496
176
|
}
|
|
497
177
|
|
|
498
|
-
declare
|
|
499
|
-
OPT_OUT = "OPT_OUT",
|
|
500
|
-
OPT_IN = "OPT_IN",
|
|
501
|
-
DOUBLE_OPT_IN = "DOUBLE_OPT_IN",
|
|
502
|
-
FUNCTIONAL = "FUNCTIONAL",
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export declare type SubscriptionType = {
|
|
506
|
-
id: number;
|
|
507
|
-
uuid: string;
|
|
508
|
-
name: string;
|
|
509
|
-
description: string;
|
|
510
|
-
is_piggy_defined: boolean;
|
|
511
|
-
strategy: string;
|
|
512
|
-
active: boolean;
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
export declare type TableResponse = {
|
|
516
|
-
header: Header;
|
|
517
|
-
rows: RowType[];
|
|
518
|
-
empty_state_url: string;
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
export declare type Tier = {
|
|
522
|
-
description: string;
|
|
523
|
-
name: string;
|
|
524
|
-
position: number;
|
|
525
|
-
uuid: string;
|
|
526
|
-
};
|
|
527
|
-
|
|
528
|
-
declare type Tier_2 = {
|
|
178
|
+
declare type Tier = {
|
|
529
179
|
description: string;
|
|
530
|
-
// media:
|
|
531
180
|
name: string;
|
|
532
181
|
position: number;
|
|
533
182
|
uuid: string;
|
|
534
183
|
};
|
|
535
184
|
|
|
536
|
-
|
|
185
|
+
declare type VoucherResource = {
|
|
537
186
|
uuid: string;
|
|
538
187
|
code: string;
|
|
539
188
|
status: VoucherStatus;
|
|
@@ -552,26 +201,7 @@ export declare type VoucherResource = {
|
|
|
552
201
|
promotion: Promotion;
|
|
553
202
|
};
|
|
554
203
|
|
|
555
|
-
declare
|
|
556
|
-
uuid: string;
|
|
557
|
-
code: string;
|
|
558
|
-
status: VoucherStatus_2;
|
|
559
|
-
name: string;
|
|
560
|
-
description: string;
|
|
561
|
-
expiration_date: string;
|
|
562
|
-
redeemed_at: string;
|
|
563
|
-
is_redeemed: boolean;
|
|
564
|
-
attributes: {
|
|
565
|
-
[key: string]: any;
|
|
566
|
-
};
|
|
567
|
-
contact: {
|
|
568
|
-
uuid: string;
|
|
569
|
-
email: string;
|
|
570
|
-
};
|
|
571
|
-
promotion: Promotion_2;
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
export declare enum VoucherStatus {
|
|
204
|
+
declare enum VoucherStatus {
|
|
575
205
|
INACTIVE = "INACTIVE",
|
|
576
206
|
ACTIVE = "ACTIVE",
|
|
577
207
|
EXPIRED = "EXPIRED",
|
|
@@ -580,13 +210,4 @@ export declare enum VoucherStatus {
|
|
|
580
210
|
DEACTIVATED = "DEACTIVATED"
|
|
581
211
|
}
|
|
582
212
|
|
|
583
|
-
declare enum VoucherStatus_2 {
|
|
584
|
-
INACTIVE = "INACTIVE",
|
|
585
|
-
ACTIVE = "ACTIVE",
|
|
586
|
-
EXPIRED = "EXPIRED",
|
|
587
|
-
LOCKED = "LOCKED",
|
|
588
|
-
REDEEMED = "REDEEMED",
|
|
589
|
-
DEACTIVATED = "DEACTIVATED",
|
|
590
|
-
}
|
|
591
|
-
|
|
592
213
|
export { }
|