@bikdotai/bik-component-library 0.0.264-beta.1 → 0.0.264-beta.11
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/cjs/components/add-variableV2/AddVariableV2.styled.js +1 -1
- package/dist/cjs/components/add-variableV2/index.d.ts +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +1 -1
- package/dist/cjs/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/cjs/components/stepper/WorkingStepper.d.ts +1 -0
- package/dist/cjs/components/template-context-mapper/TemplateContextMapper.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/TemplateContextMapper.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/Body.d.ts +2 -0
- package/dist/cjs/components/template-context-mapper/modalElements/Body.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/TemplateSelectModalContent.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/modalElements/TemplateSelectModalContent.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.js +3 -3
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorsPanel.d.ts +3 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorsPanel.js +2 -2
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/add-variableV2/AddVariableV2.styled.js +1 -1
- package/dist/esm/components/add-variableV2/index.d.ts +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +1 -1
- package/dist/esm/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/esm/components/stepper/WorkingStepper.d.ts +1 -0
- package/dist/esm/components/template-context-mapper/TemplateContextMapper.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/TemplateContextMapper.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/Body.d.ts +2 -0
- package/dist/esm/components/template-context-mapper/modalElements/Body.js +5 -5
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/TemplateSelectModalContent.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/modalElements/TemplateSelectModalContent.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnector.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnector.js +3 -3
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorsPanel.d.ts +3 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorsPanel.js +2 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/components/add-variableV2/__stories__/AddVariableV2.stories.d.ts +0 -505
- package/dist/cjs/components/add-variableV2/__stories__/AddVariableV2.stories.js +0 -1
- package/dist/esm/components/add-variableV2/__stories__/AddVariableV2.stories.d.ts +0 -505
- package/dist/esm/components/add-variableV2/__stories__/AddVariableV2.stories.js +0 -1
|
@@ -1,505 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<import("react").FC<import("../AddVariableV2SideModal").VariableV2SideModalProps>>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const AddVariableModalComponent: ComponentStory<import("react").FC<import("../AddVariableV2SideModal").VariableV2SideModalProps>>;
|
|
6
|
-
export declare const customVariables: {
|
|
7
|
-
payloadVariables: {
|
|
8
|
-
description: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
orderId: number;
|
|
11
|
-
variables: {
|
|
12
|
-
'Custom text': {
|
|
13
|
-
description: undefined;
|
|
14
|
-
displayName: string;
|
|
15
|
-
actualValue: string;
|
|
16
|
-
variableType: string;
|
|
17
|
-
isAvailable: boolean;
|
|
18
|
-
};
|
|
19
|
-
'Custom url': {
|
|
20
|
-
description: undefined;
|
|
21
|
-
displayName: string;
|
|
22
|
-
actualValue: string;
|
|
23
|
-
variableType: string;
|
|
24
|
-
isAvailable: boolean;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const storeVariables: {
|
|
30
|
-
payloadVariables: {
|
|
31
|
-
description: string;
|
|
32
|
-
displayName: string;
|
|
33
|
-
orderId: number;
|
|
34
|
-
variables: {
|
|
35
|
-
'store id': {
|
|
36
|
-
description: undefined;
|
|
37
|
-
displayName: string;
|
|
38
|
-
actualValue: string;
|
|
39
|
-
variableType: string;
|
|
40
|
-
isAvailable: boolean;
|
|
41
|
-
};
|
|
42
|
-
'store name': {
|
|
43
|
-
description: undefined;
|
|
44
|
-
displayName: string;
|
|
45
|
-
actualValue: string;
|
|
46
|
-
variableType: string;
|
|
47
|
-
isAvailable: boolean;
|
|
48
|
-
};
|
|
49
|
-
'store url': {
|
|
50
|
-
description: undefined;
|
|
51
|
-
displayName: string;
|
|
52
|
-
actualValue: string;
|
|
53
|
-
variableType: string;
|
|
54
|
-
isAvailable: boolean;
|
|
55
|
-
};
|
|
56
|
-
'store phoneNumber': {
|
|
57
|
-
description: undefined;
|
|
58
|
-
displayName: string;
|
|
59
|
-
actualValue: string;
|
|
60
|
-
variableType: string;
|
|
61
|
-
isAvailable: boolean;
|
|
62
|
-
};
|
|
63
|
-
'store email': {
|
|
64
|
-
description: undefined;
|
|
65
|
-
displayName: string;
|
|
66
|
-
actualValue: string;
|
|
67
|
-
variableType: string;
|
|
68
|
-
isAvailable: boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export declare const customerVariables: {
|
|
74
|
-
payloadVariables: {
|
|
75
|
-
description: string;
|
|
76
|
-
displayName: string;
|
|
77
|
-
orderId: number;
|
|
78
|
-
variables: {
|
|
79
|
-
'customer id': {
|
|
80
|
-
description: undefined;
|
|
81
|
-
displayName: string;
|
|
82
|
-
actualValue: string;
|
|
83
|
-
variableType: string;
|
|
84
|
-
isAvailable: boolean;
|
|
85
|
-
};
|
|
86
|
-
'customer name': {
|
|
87
|
-
description: undefined;
|
|
88
|
-
displayName: string;
|
|
89
|
-
actualValue: string;
|
|
90
|
-
variableType: string;
|
|
91
|
-
isAvailable: boolean;
|
|
92
|
-
};
|
|
93
|
-
'customer cityAddress': {
|
|
94
|
-
description: undefined;
|
|
95
|
-
displayName: string;
|
|
96
|
-
actualValue: string;
|
|
97
|
-
variableType: string;
|
|
98
|
-
isAvailable: boolean;
|
|
99
|
-
};
|
|
100
|
-
'customer fullAddress': {
|
|
101
|
-
description: undefined;
|
|
102
|
-
displayName: string;
|
|
103
|
-
actualValue: string;
|
|
104
|
-
variableType: string;
|
|
105
|
-
isAvailable: boolean;
|
|
106
|
-
};
|
|
107
|
-
'customer pincode': {
|
|
108
|
-
description: undefined;
|
|
109
|
-
displayName: string;
|
|
110
|
-
actualValue: string;
|
|
111
|
-
variableType: string;
|
|
112
|
-
isAvailable: boolean;
|
|
113
|
-
};
|
|
114
|
-
'customer email': {
|
|
115
|
-
description: undefined;
|
|
116
|
-
displayName: string;
|
|
117
|
-
actualValue: string;
|
|
118
|
-
variableType: string;
|
|
119
|
-
isAvailable: boolean;
|
|
120
|
-
};
|
|
121
|
-
'customer phone': {
|
|
122
|
-
description: undefined;
|
|
123
|
-
displayName: string;
|
|
124
|
-
actualValue: string;
|
|
125
|
-
variableType: string;
|
|
126
|
-
isAvailable: boolean;
|
|
127
|
-
};
|
|
128
|
-
'customer state': {
|
|
129
|
-
description: undefined;
|
|
130
|
-
displayName: string;
|
|
131
|
-
actualValue: string;
|
|
132
|
-
variableType: string;
|
|
133
|
-
isAvailable: boolean;
|
|
134
|
-
};
|
|
135
|
-
'customer returnUser': {
|
|
136
|
-
description: undefined;
|
|
137
|
-
displayName: string;
|
|
138
|
-
actualValue: string;
|
|
139
|
-
variableType: string;
|
|
140
|
-
isAvailable: boolean;
|
|
141
|
-
};
|
|
142
|
-
'customer tags': {
|
|
143
|
-
description: undefined;
|
|
144
|
-
displayName: string;
|
|
145
|
-
actualValue: string;
|
|
146
|
-
variableType: string;
|
|
147
|
-
isAvailable: boolean;
|
|
148
|
-
};
|
|
149
|
-
'customer instagramUsername': {
|
|
150
|
-
description: undefined;
|
|
151
|
-
displayName: string;
|
|
152
|
-
actualValue: string;
|
|
153
|
-
variableType: string;
|
|
154
|
-
isAvailable: boolean;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
export declare const cartVariables: {
|
|
160
|
-
payloadVariables: {
|
|
161
|
-
description: string;
|
|
162
|
-
displayName: string;
|
|
163
|
-
orderId: number;
|
|
164
|
-
variables: {
|
|
165
|
-
'cart productQuantity': {
|
|
166
|
-
description: undefined;
|
|
167
|
-
displayName: string;
|
|
168
|
-
actualValue: string;
|
|
169
|
-
variableType: string;
|
|
170
|
-
isAvailable: boolean;
|
|
171
|
-
};
|
|
172
|
-
'cart storeId': {
|
|
173
|
-
description: undefined;
|
|
174
|
-
displayName: string;
|
|
175
|
-
actualValue: string;
|
|
176
|
-
variableType: string;
|
|
177
|
-
isAvailable: boolean;
|
|
178
|
-
};
|
|
179
|
-
'cart imageUrl': {
|
|
180
|
-
description: undefined;
|
|
181
|
-
displayName: string;
|
|
182
|
-
actualValue: string;
|
|
183
|
-
variableType: string;
|
|
184
|
-
isAvailable: boolean;
|
|
185
|
-
};
|
|
186
|
-
'cart cartUrl': {
|
|
187
|
-
description: undefined;
|
|
188
|
-
displayName: string;
|
|
189
|
-
actualValue: string;
|
|
190
|
-
variableType: string;
|
|
191
|
-
isAvailable: boolean;
|
|
192
|
-
};
|
|
193
|
-
'cart productName': {
|
|
194
|
-
description: undefined;
|
|
195
|
-
displayName: string;
|
|
196
|
-
actualValue: string;
|
|
197
|
-
variableType: string;
|
|
198
|
-
isAvailable: boolean;
|
|
199
|
-
};
|
|
200
|
-
'cart phoneNumber': {
|
|
201
|
-
description: undefined;
|
|
202
|
-
displayName: string;
|
|
203
|
-
actualValue: string;
|
|
204
|
-
variableType: string;
|
|
205
|
-
isAvailable: boolean;
|
|
206
|
-
};
|
|
207
|
-
'cart id': {
|
|
208
|
-
description: undefined;
|
|
209
|
-
displayName: string;
|
|
210
|
-
actualValue: string;
|
|
211
|
-
variableType: string;
|
|
212
|
-
isAvailable: boolean;
|
|
213
|
-
};
|
|
214
|
-
'cart productPrice': {
|
|
215
|
-
description: undefined;
|
|
216
|
-
displayName: string;
|
|
217
|
-
actualValue: string;
|
|
218
|
-
variableType: string;
|
|
219
|
-
isAvailable: boolean;
|
|
220
|
-
};
|
|
221
|
-
'cart productId': {
|
|
222
|
-
description: undefined;
|
|
223
|
-
displayName: string;
|
|
224
|
-
actualValue: string;
|
|
225
|
-
variableType: string;
|
|
226
|
-
isAvailable: boolean;
|
|
227
|
-
};
|
|
228
|
-
'cart triggerSource': {
|
|
229
|
-
description: undefined;
|
|
230
|
-
displayName: string;
|
|
231
|
-
actualValue: string;
|
|
232
|
-
variableType: string;
|
|
233
|
-
isAvailable: boolean;
|
|
234
|
-
};
|
|
235
|
-
'cart userId': {
|
|
236
|
-
description: undefined;
|
|
237
|
-
displayName: string;
|
|
238
|
-
actualValue: string;
|
|
239
|
-
variableType: string;
|
|
240
|
-
isAvailable: boolean;
|
|
241
|
-
};
|
|
242
|
-
'cart converted': {
|
|
243
|
-
description: undefined;
|
|
244
|
-
displayName: string;
|
|
245
|
-
actualValue: string;
|
|
246
|
-
variableType: string;
|
|
247
|
-
isAvailable: boolean;
|
|
248
|
-
};
|
|
249
|
-
'cart triggerType': {
|
|
250
|
-
description: undefined;
|
|
251
|
-
displayName: string;
|
|
252
|
-
actualValue: string;
|
|
253
|
-
variableType: string;
|
|
254
|
-
isAvailable: boolean;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
export declare const orderVariables: {
|
|
260
|
-
payloadVariables: {
|
|
261
|
-
description: string;
|
|
262
|
-
displayName: string;
|
|
263
|
-
orderId: number;
|
|
264
|
-
variables: {
|
|
265
|
-
'order storeId': {
|
|
266
|
-
description: undefined;
|
|
267
|
-
displayName: string;
|
|
268
|
-
actualValue: string;
|
|
269
|
-
variableType: string;
|
|
270
|
-
isAvailable: boolean;
|
|
271
|
-
};
|
|
272
|
-
'order catalogId': {
|
|
273
|
-
description: undefined;
|
|
274
|
-
displayName: string;
|
|
275
|
-
actualValue: string;
|
|
276
|
-
variableType: string;
|
|
277
|
-
isAvailable: boolean;
|
|
278
|
-
};
|
|
279
|
-
'order partnersDataId': {
|
|
280
|
-
description: undefined;
|
|
281
|
-
displayName: string;
|
|
282
|
-
actualValue: string;
|
|
283
|
-
variableType: string;
|
|
284
|
-
isAvailable: boolean;
|
|
285
|
-
};
|
|
286
|
-
'order pinCode': {
|
|
287
|
-
description: undefined;
|
|
288
|
-
displayName: string;
|
|
289
|
-
actualValue: string;
|
|
290
|
-
variableType: string;
|
|
291
|
-
isAvailable: boolean;
|
|
292
|
-
};
|
|
293
|
-
'order orderNo': {
|
|
294
|
-
description: undefined;
|
|
295
|
-
displayName: string;
|
|
296
|
-
actualValue: string;
|
|
297
|
-
variableType: string;
|
|
298
|
-
isAvailable: boolean;
|
|
299
|
-
};
|
|
300
|
-
'order id': {
|
|
301
|
-
description: undefined;
|
|
302
|
-
displayName: string;
|
|
303
|
-
actualValue: string;
|
|
304
|
-
variableType: string;
|
|
305
|
-
isAvailable: boolean;
|
|
306
|
-
};
|
|
307
|
-
'order name': {
|
|
308
|
-
description: undefined;
|
|
309
|
-
displayName: string;
|
|
310
|
-
actualValue: string;
|
|
311
|
-
variableType: string;
|
|
312
|
-
isAvailable: boolean;
|
|
313
|
-
};
|
|
314
|
-
'order city': {
|
|
315
|
-
description: undefined;
|
|
316
|
-
displayName: string;
|
|
317
|
-
actualValue: string;
|
|
318
|
-
variableType: string;
|
|
319
|
-
isAvailable: boolean;
|
|
320
|
-
};
|
|
321
|
-
'order allProductNames': {
|
|
322
|
-
description: undefined;
|
|
323
|
-
displayName: string;
|
|
324
|
-
actualValue: string;
|
|
325
|
-
variableType: string;
|
|
326
|
-
isAvailable: boolean;
|
|
327
|
-
};
|
|
328
|
-
'order itemCount': {
|
|
329
|
-
description: undefined;
|
|
330
|
-
displayName: string;
|
|
331
|
-
actualValue: string;
|
|
332
|
-
variableType: string;
|
|
333
|
-
isAvailable: boolean;
|
|
334
|
-
};
|
|
335
|
-
'order paymentAmount': {
|
|
336
|
-
description: undefined;
|
|
337
|
-
displayName: string;
|
|
338
|
-
actualValue: string;
|
|
339
|
-
variableType: string;
|
|
340
|
-
isAvailable: boolean;
|
|
341
|
-
};
|
|
342
|
-
'order paymentStatus': {
|
|
343
|
-
description: undefined;
|
|
344
|
-
displayName: string;
|
|
345
|
-
actualValue: string;
|
|
346
|
-
variableType: string;
|
|
347
|
-
isAvailable: boolean;
|
|
348
|
-
};
|
|
349
|
-
'order url': {
|
|
350
|
-
description: undefined;
|
|
351
|
-
displayName: string;
|
|
352
|
-
actualValue: string;
|
|
353
|
-
variableType: string;
|
|
354
|
-
isAvailable: boolean;
|
|
355
|
-
};
|
|
356
|
-
'order paymentMode': {
|
|
357
|
-
description: undefined;
|
|
358
|
-
displayName: string;
|
|
359
|
-
actualValue: string;
|
|
360
|
-
variableType: string;
|
|
361
|
-
isAvailable: boolean;
|
|
362
|
-
};
|
|
363
|
-
'order total': {
|
|
364
|
-
description: undefined;
|
|
365
|
-
displayName: string;
|
|
366
|
-
actualValue: string;
|
|
367
|
-
variableType: string;
|
|
368
|
-
isAvailable: boolean;
|
|
369
|
-
};
|
|
370
|
-
'order status': {
|
|
371
|
-
description: undefined;
|
|
372
|
-
displayName: string;
|
|
373
|
-
actualValue: string;
|
|
374
|
-
variableType: string;
|
|
375
|
-
isAvailable: boolean;
|
|
376
|
-
};
|
|
377
|
-
'order productId': {
|
|
378
|
-
description: undefined;
|
|
379
|
-
displayName: string;
|
|
380
|
-
actualValue: string;
|
|
381
|
-
variableType: string;
|
|
382
|
-
isAvailable: boolean;
|
|
383
|
-
};
|
|
384
|
-
'order productName': {
|
|
385
|
-
description: undefined;
|
|
386
|
-
displayName: string;
|
|
387
|
-
actualValue: string;
|
|
388
|
-
variableType: string;
|
|
389
|
-
isAvailable: boolean;
|
|
390
|
-
};
|
|
391
|
-
'order address': {
|
|
392
|
-
description: undefined;
|
|
393
|
-
displayName: string;
|
|
394
|
-
actualValue: string;
|
|
395
|
-
variableType: string;
|
|
396
|
-
isAvailable: boolean;
|
|
397
|
-
};
|
|
398
|
-
'order productImage': {
|
|
399
|
-
description: undefined;
|
|
400
|
-
displayName: string;
|
|
401
|
-
actualValue: string;
|
|
402
|
-
variableType: string;
|
|
403
|
-
isAvailable: boolean;
|
|
404
|
-
};
|
|
405
|
-
'order customerName': {
|
|
406
|
-
description: undefined;
|
|
407
|
-
displayName: string;
|
|
408
|
-
actualValue: string;
|
|
409
|
-
variableType: string;
|
|
410
|
-
isAvailable: boolean;
|
|
411
|
-
};
|
|
412
|
-
'order state': {
|
|
413
|
-
description: undefined;
|
|
414
|
-
displayName: string;
|
|
415
|
-
actualValue: string;
|
|
416
|
-
variableType: string;
|
|
417
|
-
isAvailable: boolean;
|
|
418
|
-
};
|
|
419
|
-
'order triggerType': {
|
|
420
|
-
description: undefined;
|
|
421
|
-
displayName: string;
|
|
422
|
-
actualValue: string;
|
|
423
|
-
variableType: string;
|
|
424
|
-
isAvailable: boolean;
|
|
425
|
-
};
|
|
426
|
-
'order tags': {
|
|
427
|
-
description: undefined;
|
|
428
|
-
displayName: string;
|
|
429
|
-
actualValue: string;
|
|
430
|
-
variableType: string;
|
|
431
|
-
isAvailable: boolean;
|
|
432
|
-
};
|
|
433
|
-
'order fulfillmentStatus': {
|
|
434
|
-
description: undefined;
|
|
435
|
-
displayName: string;
|
|
436
|
-
actualValue: string;
|
|
437
|
-
variableType: string;
|
|
438
|
-
isAvailable: boolean;
|
|
439
|
-
};
|
|
440
|
-
'order productFulfillmentStatus': {
|
|
441
|
-
description: undefined;
|
|
442
|
-
displayName: string;
|
|
443
|
-
actualValue: string;
|
|
444
|
-
variableType: string;
|
|
445
|
-
isAvailable: boolean;
|
|
446
|
-
};
|
|
447
|
-
'order productShipmentStatus': {
|
|
448
|
-
description: undefined;
|
|
449
|
-
displayName: string;
|
|
450
|
-
actualValue: string;
|
|
451
|
-
variableType: string;
|
|
452
|
-
isAvailable: boolean;
|
|
453
|
-
};
|
|
454
|
-
'order productTrackingCompany': {
|
|
455
|
-
description: undefined;
|
|
456
|
-
displayName: string;
|
|
457
|
-
actualValue: string;
|
|
458
|
-
variableType: string;
|
|
459
|
-
isAvailable: boolean;
|
|
460
|
-
};
|
|
461
|
-
'order productTrackingNumber': {
|
|
462
|
-
description: undefined;
|
|
463
|
-
displayName: string;
|
|
464
|
-
actualValue: string;
|
|
465
|
-
variableType: string;
|
|
466
|
-
isAvailable: boolean;
|
|
467
|
-
};
|
|
468
|
-
'order productTrackingUrl': {
|
|
469
|
-
description: undefined;
|
|
470
|
-
displayName: string;
|
|
471
|
-
actualValue: string;
|
|
472
|
-
variableType: string;
|
|
473
|
-
isAvailable: boolean;
|
|
474
|
-
};
|
|
475
|
-
'order phone': {
|
|
476
|
-
description: undefined;
|
|
477
|
-
displayName: string;
|
|
478
|
-
actualValue: string;
|
|
479
|
-
variableType: string;
|
|
480
|
-
isAvailable: boolean;
|
|
481
|
-
};
|
|
482
|
-
'order email': {
|
|
483
|
-
description: undefined;
|
|
484
|
-
displayName: string;
|
|
485
|
-
actualValue: string;
|
|
486
|
-
variableType: string;
|
|
487
|
-
isAvailable: boolean;
|
|
488
|
-
};
|
|
489
|
-
'order shippingAddressPhoneNumber': {
|
|
490
|
-
description: undefined;
|
|
491
|
-
displayName: string;
|
|
492
|
-
actualValue: string;
|
|
493
|
-
variableType: string;
|
|
494
|
-
isAvailable: boolean;
|
|
495
|
-
};
|
|
496
|
-
'order billingAddressPhoneNumber': {
|
|
497
|
-
description: undefined;
|
|
498
|
-
displayName: string;
|
|
499
|
-
actualValue: string;
|
|
500
|
-
variableType: string;
|
|
501
|
-
isAvailable: boolean;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as a,Fragment as e,jsx as r}from"react/jsx-runtime";import{useState as i}from"react";import{AddVariableV2SideModal as l}from"../AddVariableV2SideModal.js";import{Button as t}from"../../button/Button.js";const d=(d=>{const[n,v]=i(!1),[m,b]=i(""),y=[];y.push(s),y.push(o),y.push(p),y.push(c),y.push(u);const g={data:y,showVariable:n,setShowVariable:v,variableValue:m,setVariableValue:b,placeholder:"Add a variable"};return a(e,{children:[r(t,{buttonText:"Show Modal",onClick:()=>{v(!n)}}),n&&r(l,Object.assign({},g))]})}).bind({});d.args={};const s={payloadVariables:{description:"Custom variables",displayName:"Custom variables",orderId:101,variables:{"Custom text":{description:void 0,displayName:"Custom text",actualValue:"{{custom.text}}",variableType:"any",isAvailable:!0},"Custom url":{description:void 0,displayName:"Custom url",actualValue:"{{custom.url}}",variableType:"any",isAvailable:!0}}}},o={payloadVariables:{description:"Store variables",displayName:"Store variables",orderId:401,variables:{"store id":{description:void 0,displayName:"store id",actualValue:"{{store.id}}",variableType:"string",isAvailable:!0},"store name":{description:void 0,displayName:"store name",actualValue:"{{store.name}}",variableType:"string",isAvailable:!0},"store url":{description:void 0,displayName:"store url",actualValue:"{{store.url}}",variableType:"string",isAvailable:!0},"store phoneNumber":{description:void 0,displayName:"store phoneNumber",actualValue:"{{store.phoneNumber}}",variableType:"string",isAvailable:!0},"store email":{description:void 0,displayName:"store email",actualValue:"{{store.email}}",variableType:"string",isAvailable:!0}}}},p={payloadVariables:{description:"Customer variables",displayName:"Customer variables",orderId:402,variables:{"customer id":{description:void 0,displayName:"customer id",actualValue:"{{customer.id}}",variableType:"integer",isAvailable:!0},"customer name":{description:void 0,displayName:"customer name",actualValue:"{{customer.name}}",variableType:"string",isAvailable:!0},"customer cityAddress":{description:void 0,displayName:"customer cityAddress",actualValue:"{{customer.cityAddress}}",variableType:"string",isAvailable:!0},"customer fullAddress":{description:void 0,displayName:"customer fullAddress",actualValue:"{{customer.fullAddress}}",variableType:"string",isAvailable:!0},"customer pincode":{description:void 0,displayName:"customer pincode",actualValue:"{{customer.pincode}}",variableType:"string",isAvailable:!0},"customer email":{description:void 0,displayName:"customer email",actualValue:"{{customer.email}}",variableType:"string",isAvailable:!0},"customer phone":{description:void 0,displayName:"customer phone",actualValue:"{{customer.phone}}",variableType:"string",isAvailable:!0},"customer state":{description:void 0,displayName:"customer state",actualValue:"{{customer.state}}",variableType:"string",isAvailable:!0},"customer returnUser":{description:void 0,displayName:"customer returnUser",actualValue:"{{customer.returnUser}}",variableType:"boolean",isAvailable:!0},"customer tags":{description:void 0,displayName:"customer tags",actualValue:"{{customer.tags}}",variableType:"list",isAvailable:!0},"customer instagramUsername":{description:void 0,displayName:"customer instagramUsername",actualValue:"{{customer.instagramUsername}}",variableType:"string",isAvailable:!0}}}},c={payloadVariables:{description:"Cart variables",displayName:"Cart variables",orderId:403,variables:{"cart productQuantity":{description:void 0,displayName:"cart productQuantity",actualValue:"{{cart.productQuantity}}",variableType:"integer",isAvailable:!0},"cart storeId":{description:void 0,displayName:"cart storeId",actualValue:"{{cart.storeId}}",variableType:"string",isAvailable:!0},"cart imageUrl":{description:void 0,displayName:"cart imageUrl",actualValue:"{{cart.imageUrl}}",variableType:"string",isAvailable:!0},"cart cartUrl":{description:void 0,displayName:"cart cartUrl",actualValue:"{{cart.cartUrl}}",variableType:"string",isAvailable:!0},"cart productName":{description:void 0,displayName:"cart productName",actualValue:"{{cart.productName}}",variableType:"string",isAvailable:!0},"cart phoneNumber":{description:void 0,displayName:"cart phoneNumber",actualValue:"{{cart.phoneNumber}}",variableType:"string",isAvailable:!0},"cart id":{description:void 0,displayName:"cart id",actualValue:"{{cart.id}}",variableType:"string",isAvailable:!0},"cart productPrice":{description:void 0,displayName:"cart productPrice",actualValue:"{{cart.productPrice}}",variableType:"string",isAvailable:!0},"cart productId":{description:void 0,displayName:"cart productId",actualValue:"{{cart.productId}}",variableType:"integer",isAvailable:!0},"cart triggerSource":{description:void 0,displayName:"cart triggerSource",actualValue:"{{cart.triggerSource}}",variableType:"string",isAvailable:!0},"cart userId":{description:void 0,displayName:"cart userId",actualValue:"{{cart.userId}}",variableType:"integer",isAvailable:!0},"cart converted":{description:void 0,displayName:"cart converted",actualValue:"{{cart.converted}}",variableType:"boolean",isAvailable:!0},"cart triggerType":{description:void 0,displayName:"cart triggerType",actualValue:"{{cart.triggerType}}",variableType:"string",isAvailable:!0}}}},u={payloadVariables:{description:"Order variables",displayName:"Order variables",orderId:404,variables:{"order storeId":{description:void 0,displayName:"order storeId",actualValue:"{{order.storeId}}",variableType:"string",isAvailable:!0},"order catalogId":{description:void 0,displayName:"order catalogId",actualValue:"{{order.catalogId}}",variableType:"string",isAvailable:!0},"order partnersDataId":{description:void 0,displayName:"order partnersDataId",actualValue:"{{order.partnersDataId}}",variableType:"integer",isAvailable:!0},"order pinCode":{description:void 0,displayName:"order pinCode",actualValue:"{{order.pinCode}}",variableType:"string",isAvailable:!0},"order orderNo":{description:void 0,displayName:"order orderNo",actualValue:"{{order.orderNo}}",variableType:"string",isAvailable:!0},"order id":{description:void 0,displayName:"order id",actualValue:"{{order.id}}",variableType:"string",isAvailable:!0},"order name":{description:void 0,displayName:"order name",actualValue:"{{order.name}}",variableType:"string",isAvailable:!0},"order city":{description:void 0,displayName:"order city",actualValue:"{{order.city}}",variableType:"string",isAvailable:!0},"order allProductNames":{description:void 0,displayName:"order allProductNames",actualValue:"{{order.allProductNames}}",variableType:"string",isAvailable:!0},"order itemCount":{description:void 0,displayName:"order itemCount",actualValue:"{{order.itemCount}}",variableType:"integer",isAvailable:!0},"order paymentAmount":{description:void 0,displayName:"order paymentAmount",actualValue:"{{order.paymentAmount}}",variableType:"integer",isAvailable:!0},"order paymentStatus":{description:void 0,displayName:"order paymentStatus",actualValue:"{{order.paymentStatus}}",variableType:"string",isAvailable:!0},"order url":{description:void 0,displayName:"order url",actualValue:"{{order.url}}",variableType:"string",isAvailable:!0},"order paymentMode":{description:void 0,displayName:"order paymentMode",actualValue:"{{order.paymentMode}}",variableType:"string",isAvailable:!0},"order total":{description:void 0,displayName:"order total",actualValue:"{{order.total}}",variableType:"number",isAvailable:!0},"order status":{description:void 0,displayName:"order status",actualValue:"{{order.status}}",variableType:"string",isAvailable:!0},"order productId":{description:void 0,displayName:"order productId",actualValue:"{{order.productId}}",variableType:"integer",isAvailable:!0},"order productName":{description:void 0,displayName:"order productName",actualValue:"{{order.productName}}",variableType:"string",isAvailable:!0},"order address":{description:void 0,displayName:"order address",actualValue:"{{order.address}}",variableType:"string",isAvailable:!0},"order productImage":{description:void 0,displayName:"order productImage",actualValue:"{{order.productImage}}",variableType:"string",isAvailable:!0},"order customerName":{description:void 0,displayName:"order customerName",actualValue:"{{order.customerName}}",variableType:"string",isAvailable:!0},"order state":{description:void 0,displayName:"order state",actualValue:"{{order.state}}",variableType:"string",isAvailable:!0},"order triggerType":{description:void 0,displayName:"order triggerType",actualValue:"{{order.triggerType}}",variableType:"string",isAvailable:!0},"order tags":{description:void 0,displayName:"order tags",actualValue:"{{order.tags}}",variableType:"list",isAvailable:!0},"order fulfillmentStatus":{description:void 0,displayName:"order fulfillmentStatus",actualValue:"{{order.fulfillmentStatus}}",variableType:"string",isAvailable:!0},"order productFulfillmentStatus":{description:void 0,displayName:"order productFulfillmentStatus",actualValue:"{{order.productFulfillmentStatus}}",variableType:"string",isAvailable:!0},"order productShipmentStatus":{description:void 0,displayName:"order productShipmentStatus",actualValue:"{{order.productShipmentStatus}}",variableType:"string",isAvailable:!0},"order productTrackingCompany":{description:void 0,displayName:"order productTrackingCompany",actualValue:"{{order.productTrackingCompany}}",variableType:"string",isAvailable:!0},"order productTrackingNumber":{description:void 0,displayName:"order productTrackingNumber",actualValue:"{{order.productTrackingNumber}}",variableType:"string",isAvailable:!0},"order productTrackingUrl":{description:void 0,displayName:"order productTrackingUrl",actualValue:"{{order.productTrackingUrl}}",variableType:"string",isAvailable:!0},"order phone":{description:void 0,displayName:"order phone",actualValue:"{{order.phone}}",variableType:"string",isAvailable:!0},"order email":{description:void 0,displayName:"order email",actualValue:"{{order.email}}",variableType:"string",isAvailable:!0},"order shippingAddressPhoneNumber":{description:void 0,displayName:"order shippingAddressPhoneNumber",actualValue:"{{order.shippingAddressPhoneNumber}}",variableType:"string",isAvailable:!0},"order billingAddressPhoneNumber":{description:void 0,displayName:"order billingAddressPhoneNumber",actualValue:"{{order.billingAddressPhoneNumber}}",variableType:"string",isAvailable:!0}}}};export{d as AddVariableModalComponent,c as cartVariables,s as customVariables,p as customerVariables,u as orderVariables,o as storeVariables};
|