@segment/analytics-browser-actions-cj 1.7.1-staging-b870c2b86.0 → 1.7.1-staging-ce1986724.0
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.
|
@@ -1,971 +1,972 @@
|
|
|
1
1
|
import { InputField } from '@segment/actions-core'
|
|
2
2
|
|
|
3
3
|
export const allVerticals: InputField = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
4
|
+
label: 'All Vertical Parameters',
|
|
5
|
+
description:
|
|
6
|
+
"This field is used to pass additional parameters specific to the vertical. All vertical parameters listed below can be utilized regardless of the account's vertical.",
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: false,
|
|
9
|
+
defaultObjectUI: 'keyvalue',
|
|
10
|
+
properties: {
|
|
11
|
+
ancillarySpend: {
|
|
12
|
+
label: 'Ancillary Spend',
|
|
13
|
+
description: 'Ancillary spend at the time of transaction, but not commissionable.',
|
|
14
|
+
type: 'number'
|
|
15
|
+
},
|
|
16
|
+
brand: {
|
|
17
|
+
label: 'Brand',
|
|
18
|
+
description:
|
|
19
|
+
'Brand of items purchased. If there are multiple items with different brands, one brand must be designated for the order.',
|
|
20
|
+
type: 'string'
|
|
21
|
+
},
|
|
22
|
+
brandId: {
|
|
23
|
+
label: 'Brand ID',
|
|
24
|
+
description:
|
|
25
|
+
'Identifier of brand of items purchased. If there are multiple items with different brands, one brand must be designated for the order.',
|
|
26
|
+
type: 'string'
|
|
27
|
+
},
|
|
28
|
+
businessUnit: {
|
|
29
|
+
label: 'Business Unit',
|
|
30
|
+
description:
|
|
31
|
+
'Identifies the business unit the customer purchased through. If there are multiple items with different business units, one business unit must be designated for the order.',
|
|
32
|
+
type: 'string'
|
|
33
|
+
},
|
|
34
|
+
campaignId: {
|
|
35
|
+
label: 'Campaign ID',
|
|
36
|
+
description: 'Marketing campaign id.',
|
|
37
|
+
type: 'string'
|
|
38
|
+
},
|
|
39
|
+
campaignName: {
|
|
40
|
+
label: 'Campaign Name',
|
|
41
|
+
description: 'Marketing campaign name.',
|
|
42
|
+
type: 'string'
|
|
43
|
+
},
|
|
44
|
+
category: {
|
|
45
|
+
label: 'Category',
|
|
46
|
+
description:
|
|
47
|
+
'Category of items purchased. If there are multiple items with different categories, one category must be designated for the order.',
|
|
48
|
+
type: 'string'
|
|
49
|
+
},
|
|
50
|
+
class: {
|
|
51
|
+
label: 'Class',
|
|
52
|
+
description: 'Class of item.',
|
|
53
|
+
type: 'string'
|
|
54
|
+
},
|
|
55
|
+
confirmationNumber: {
|
|
56
|
+
label: 'Confirmation Number',
|
|
57
|
+
description: 'Confirmation Number',
|
|
58
|
+
type: 'number'
|
|
59
|
+
},
|
|
60
|
+
couponDiscount: {
|
|
61
|
+
label: 'Coupon Discount',
|
|
62
|
+
description:
|
|
63
|
+
'The value (amount of discount) of the coupon. This should be the number linked to the "coupon_type" parameter',
|
|
64
|
+
type: 'number'
|
|
65
|
+
},
|
|
66
|
+
couponType: {
|
|
67
|
+
label: 'Coupon Type',
|
|
68
|
+
description:
|
|
69
|
+
'The type of coupon used in the order. This should be the number linked to the "coupon_discount" parameter.',
|
|
70
|
+
type: 'string',
|
|
71
|
+
choices: [
|
|
72
|
+
{ label: 'Percent', value: 'percent' },
|
|
73
|
+
{ label: 'Dollars', value: 'dollars' },
|
|
74
|
+
{ label: 'Added Value', value: 'added_value' }
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
customerCountry: {
|
|
78
|
+
label: 'Customer Country',
|
|
79
|
+
description: "The customer's country. ISO 3166-1 alpha 2 country code, eg. US, UK, AU, FR.",
|
|
80
|
+
type: 'string'
|
|
81
|
+
},
|
|
82
|
+
customerSegment: {
|
|
83
|
+
label: 'Customer Segment',
|
|
84
|
+
description: 'Advertiser-specific customer segment definition.',
|
|
85
|
+
type: 'string'
|
|
86
|
+
},
|
|
87
|
+
customerStatus: {
|
|
88
|
+
label: 'Customer Status',
|
|
89
|
+
description: 'The status of the customer, e.g. new, returning.',
|
|
90
|
+
type: 'string',
|
|
91
|
+
choices: [
|
|
92
|
+
{ label: 'New', value: 'New' },
|
|
93
|
+
{ label: 'Lapsed', value: 'Lapsed' },
|
|
94
|
+
{ label: 'Return', value: 'Return' }
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
customerType: {
|
|
98
|
+
label: 'Customer Type',
|
|
99
|
+
description: 'Indicates the type of individual making the purchase as someone representing a group.',
|
|
100
|
+
type: 'string'
|
|
101
|
+
},
|
|
102
|
+
delivery: {
|
|
103
|
+
label: 'Delivery',
|
|
104
|
+
description: 'The delivery method used for the order.',
|
|
105
|
+
type: 'string',
|
|
106
|
+
choices: [
|
|
107
|
+
{ label: 'In-Store', value: 'IN_STORE' },
|
|
108
|
+
{ label: 'Pick-up', value: 'PICK_UP' },
|
|
109
|
+
{ label: 'Recurring', value: 'RECURRING' },
|
|
110
|
+
{ label: 'Standard', value: 'STANDARD' },
|
|
111
|
+
{ label: 'Next day', value: 'NEXT_DAY' },
|
|
112
|
+
{ label: 'Digital', value: 'DIGITAL' },
|
|
113
|
+
{ label: 'Express', value: 'EXPRESS' }
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
description: {
|
|
117
|
+
label: 'Description',
|
|
118
|
+
description: 'Description of the product.',
|
|
119
|
+
type: 'string'
|
|
120
|
+
},
|
|
121
|
+
duration: {
|
|
122
|
+
label: 'Duration',
|
|
123
|
+
description: 'Duration in days.',
|
|
124
|
+
type: 'number'
|
|
125
|
+
},
|
|
126
|
+
endDateTime: {
|
|
127
|
+
label: 'End Date Time',
|
|
128
|
+
description: 'End date and time of the order, in ISO 8601 format.',
|
|
129
|
+
type: 'string',
|
|
130
|
+
format: 'date-time'
|
|
131
|
+
},
|
|
132
|
+
genre: {
|
|
133
|
+
label: 'Genre',
|
|
134
|
+
description:
|
|
135
|
+
'Product genre. If there are multiple items with different genres, one genre must be designated for the order.',
|
|
136
|
+
type: 'string'
|
|
137
|
+
},
|
|
138
|
+
itemId: {
|
|
139
|
+
label: 'Item ID',
|
|
140
|
+
description: 'Id for the item. (Simple Actions Only).',
|
|
141
|
+
type: 'string'
|
|
142
|
+
},
|
|
143
|
+
itemName: {
|
|
144
|
+
label: 'Item Name',
|
|
145
|
+
description: 'Advertiser assigned item name.',
|
|
146
|
+
type: 'string'
|
|
147
|
+
},
|
|
148
|
+
itemType: {
|
|
149
|
+
label: 'Item Type',
|
|
150
|
+
description: 'Advertiser assigned item type.',
|
|
151
|
+
type: 'string'
|
|
152
|
+
},
|
|
153
|
+
lifestage: {
|
|
154
|
+
label: 'Lifestage',
|
|
155
|
+
description: 'Advertiser assigned general demographic.',
|
|
156
|
+
type: 'string'
|
|
157
|
+
},
|
|
158
|
+
location: {
|
|
159
|
+
label: 'Location',
|
|
160
|
+
description: 'Identifies the customer location if different from customerCountry.',
|
|
161
|
+
type: 'string'
|
|
162
|
+
},
|
|
163
|
+
loyaltyEarned: {
|
|
164
|
+
label: 'Loyalty Earned',
|
|
165
|
+
description: 'Loyalty points earned on the transaction.',
|
|
166
|
+
type: 'number'
|
|
167
|
+
},
|
|
168
|
+
loyaltyFirstTimeSignup: {
|
|
169
|
+
label: 'Loyalty First Time Signup',
|
|
170
|
+
description: 'Indicates whether this order coincided with the consumer joining the loyalty program.',
|
|
171
|
+
type: 'string',
|
|
172
|
+
choices: [
|
|
173
|
+
{ label: 'Yes', value: 'Yes' },
|
|
174
|
+
{ label: 'No', value: 'No' }
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
loyaltyLevel: {
|
|
178
|
+
label: 'Loyalty Level',
|
|
179
|
+
description: "Indicates the level of the customer's loyalty status.",
|
|
180
|
+
type: 'string'
|
|
181
|
+
},
|
|
182
|
+
loyaltyRedeemed: {
|
|
183
|
+
label: 'Loyalty Redeemed',
|
|
184
|
+
description: 'Loyalty points used during the transaction.',
|
|
185
|
+
type: 'number'
|
|
186
|
+
},
|
|
187
|
+
loyaltyStatus: {
|
|
188
|
+
label: 'Loyalty Status',
|
|
189
|
+
description: 'Indicates if the customer is a loyalty member.',
|
|
190
|
+
type: 'string',
|
|
191
|
+
choices: [
|
|
192
|
+
{ label: 'Yes', value: 'Yes' },
|
|
193
|
+
{ label: 'No', value: 'No' }
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
margin: {
|
|
197
|
+
label: 'Margin',
|
|
198
|
+
description: 'Margin on total order. Can be a dollar value or a custom indicator.',
|
|
199
|
+
type: 'string'
|
|
200
|
+
},
|
|
201
|
+
marketingChannel: {
|
|
202
|
+
label: 'Marketing Channel',
|
|
203
|
+
description: 'Advertiser-defined marketing channel assigned to this transaction.',
|
|
204
|
+
type: 'string',
|
|
205
|
+
choices: [
|
|
206
|
+
{ label: 'Affiliate', value: 'affiliate' },
|
|
207
|
+
{ label: 'Display', value: 'display' },
|
|
208
|
+
{ label: 'Social', value: 'social' },
|
|
209
|
+
{ label: 'Search', value: 'search' },
|
|
210
|
+
{ label: 'Email', value: 'email' },
|
|
211
|
+
{ label: 'Direct Navigation', value: 'direct navigation' }
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
noCancellation: {
|
|
215
|
+
label: 'No Cancellation',
|
|
216
|
+
description:
|
|
217
|
+
'Indicates if the purchase has a no cancellation policy. "Yes" means there is a "no cancellation" policy, "no" means there is no policy.',
|
|
218
|
+
type: 'string',
|
|
219
|
+
choices: [
|
|
220
|
+
{ label: 'Yes', value: 'Yes' },
|
|
221
|
+
{ label: 'No', value: 'No' }
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
orderSubtotal: {
|
|
225
|
+
label: 'Order Subtotal',
|
|
226
|
+
description: 'Subtotal for order.',
|
|
227
|
+
type: 'number'
|
|
228
|
+
},
|
|
229
|
+
paymentMethod: {
|
|
230
|
+
label: 'Payment Method',
|
|
231
|
+
description: 'Method of payment.',
|
|
232
|
+
type: 'string',
|
|
233
|
+
choices: [
|
|
234
|
+
{ label: 'Credit/Debit Card', value: 'credit_debit_card' },
|
|
235
|
+
{ label: 'Direct Debit', value: 'direct_debit' },
|
|
236
|
+
{ label: 'EFTPOS', value: 'EFTPOS' },
|
|
237
|
+
{ label: 'Online Payments', value: 'online_payments' },
|
|
238
|
+
{ label: 'Cash', value: 'cash' },
|
|
239
|
+
{ label: 'Check', value: 'check' },
|
|
240
|
+
{ label: 'Money Order', value: 'money_order' },
|
|
241
|
+
{ label: 'Gift Card/Voucher', value: 'gift_card_voucher' },
|
|
242
|
+
{ label: 'Digital Currency', value: 'digital_currency' }
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
paymentModel: {
|
|
246
|
+
label: 'Payment Model',
|
|
247
|
+
description: 'Model of payment used; advertiser-specific.',
|
|
248
|
+
type: 'string'
|
|
249
|
+
},
|
|
250
|
+
platformId: {
|
|
251
|
+
label: 'Platform ID',
|
|
252
|
+
description: 'Device platform customer is using.',
|
|
253
|
+
type: 'string'
|
|
254
|
+
},
|
|
255
|
+
pointOfSale: {
|
|
256
|
+
label: 'Point of Sale',
|
|
257
|
+
description: 'Point of sale for the transaction.',
|
|
258
|
+
type: 'string',
|
|
259
|
+
choices: [
|
|
260
|
+
{ label: 'Amazon', value: 'AMAZON' },
|
|
261
|
+
{ label: 'Call Center', value: 'CALL_CENTER' },
|
|
262
|
+
{ label: 'Car Rental', value: 'CAR_RENTAL' },
|
|
263
|
+
{ label: 'Catalog', value: 'CATALOG' },
|
|
264
|
+
{ label: 'Hotel Location', value: 'HOTEL_LOCATION' },
|
|
265
|
+
{ label: 'Internet', value: 'INTERNET' },
|
|
266
|
+
{ label: 'In-App', value: 'IN_APP' },
|
|
267
|
+
{ label: 'Outlet', value: 'OUTLET' },
|
|
268
|
+
{ label: 'Retail Store', value: 'RETAIL_STORE' }
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
preorder: {
|
|
272
|
+
label: 'Preorder',
|
|
273
|
+
description: 'Indicates if the purchase was made prior to the item becoming available.',
|
|
274
|
+
type: 'string',
|
|
275
|
+
choices: [
|
|
276
|
+
{ label: 'Yes', value: 'Yes' },
|
|
277
|
+
{ label: 'No', value: 'No' }
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
prepaid: {
|
|
281
|
+
label: 'Prepaid',
|
|
282
|
+
description: "Indicates if the payment was made in advance of the item's consumption.",
|
|
283
|
+
type: 'string',
|
|
284
|
+
choices: [
|
|
285
|
+
{ label: 'Yes', value: 'Yes' },
|
|
286
|
+
{ label: 'No', value: 'No' }
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
promotion: {
|
|
290
|
+
label: 'Promotion',
|
|
291
|
+
description: 'Promotion applied. If multiple, must be comma-separated.',
|
|
292
|
+
type: 'string'
|
|
293
|
+
},
|
|
294
|
+
promotionAmount: {
|
|
295
|
+
label: 'Promotion Amount',
|
|
296
|
+
description: 'The numeric value associated with the promotion.',
|
|
297
|
+
type: 'number'
|
|
298
|
+
},
|
|
299
|
+
promotionConditionThreshold: {
|
|
300
|
+
label: 'Promotion Condition Threshold',
|
|
301
|
+
description: 'Threshold needed to qualify for the promotion.',
|
|
302
|
+
type: 'number'
|
|
303
|
+
},
|
|
304
|
+
promotionConditionType: {
|
|
305
|
+
label: 'Promotion Condition Type',
|
|
306
|
+
description: 'Type of conditions applied to the promotion.',
|
|
307
|
+
type: 'string',
|
|
308
|
+
choices: [
|
|
309
|
+
{ label: 'Brand Card Signup Specific', value: 'BRAND_CARD_SIGNUP_SPECIFIC' },
|
|
310
|
+
{ label: 'Brand Card Specific', value: 'BRAND_CARD_SPECIFIC' },
|
|
311
|
+
{ label: 'Location Specific', value: 'LOCATION_SPECIFIC' },
|
|
312
|
+
{ label: 'Membership Required', value: 'MEMBERSHIP_REQUIRED' },
|
|
313
|
+
{ label: 'Loyalty Required', value: 'LOYALTY_REQUIRED' },
|
|
314
|
+
{ label: 'Email Signup Required', value: 'EMAIL_SIGNUP_REQUIRED' },
|
|
315
|
+
{ label: 'New Customer Specific', value: 'NEW_CUSTOMER_SPECIFIC' },
|
|
316
|
+
{ label: 'Product Specific', value: 'PRODUCT_SPECIFIC' },
|
|
317
|
+
{ label: 'Point of Sale Specific', value: 'POINT_OF_SALE_SPECIFIC' }
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
promotionEnds: {
|
|
321
|
+
label: 'Promotion Ends',
|
|
322
|
+
description: 'End date of the promotion, in ISO 8601 format.',
|
|
323
|
+
type: 'string',
|
|
324
|
+
format: 'date-time'
|
|
325
|
+
},
|
|
326
|
+
promotionStarts: {
|
|
327
|
+
label: 'Promotion Starts',
|
|
328
|
+
description: 'Start date of the promotion, in ISO 8601 format.',
|
|
329
|
+
type: 'string',
|
|
330
|
+
format: 'date-time'
|
|
331
|
+
},
|
|
332
|
+
promotionType: {
|
|
333
|
+
label: 'Promotion Type',
|
|
334
|
+
description: 'Category of promotion.',
|
|
335
|
+
type: 'string',
|
|
336
|
+
choices: [
|
|
337
|
+
{ label: 'BOGO', value: 'BOGO' },
|
|
338
|
+
{ label: 'Amount Off', value: 'AMOUNT_OFF' },
|
|
339
|
+
{ label: 'Free Gift', value: 'FREE_GIFT' },
|
|
340
|
+
{ label: 'Free Shipping', value: 'FREE_SHIP' },
|
|
341
|
+
{ label: 'Introductory Offer', value: 'INTRODUCTORY_OFFER' },
|
|
342
|
+
{ label: 'Percent Off', value: 'PERCENT_OFF' },
|
|
343
|
+
{ label: 'Coupon', value: 'COUPON' }
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
quantity: {
|
|
347
|
+
label: 'Quantity',
|
|
348
|
+
description: 'Quantity for a given SKU. (Simple Actions Only).',
|
|
349
|
+
type: 'integer'
|
|
350
|
+
},
|
|
351
|
+
rating: {
|
|
352
|
+
label: 'Rating',
|
|
353
|
+
description: 'Rating of the product.',
|
|
354
|
+
type: 'string'
|
|
355
|
+
},
|
|
356
|
+
serviceType: {
|
|
357
|
+
label: 'Service Type',
|
|
358
|
+
description: 'Classification of service offered.',
|
|
359
|
+
type: 'string',
|
|
360
|
+
choices: [
|
|
361
|
+
{ label: 'Cable', value: 'cable' },
|
|
362
|
+
{ label: 'Checking Internet', value: 'checking_internet' },
|
|
363
|
+
{ label: 'Credit Card', value: 'credit_card' },
|
|
364
|
+
{ label: 'Identity', value: 'identity' },
|
|
365
|
+
{ label: 'Insurance', value: 'insurance' },
|
|
366
|
+
{ label: 'Investment', value: 'investment' },
|
|
367
|
+
{ label: 'Loan', value: 'loan' },
|
|
368
|
+
{ label: 'Payment', value: 'payment' },
|
|
369
|
+
{ label: 'Phone', value: 'phone' },
|
|
370
|
+
{ label: 'Prepaid Debit', value: 'prepaid_debit' },
|
|
371
|
+
{ label: 'Savings', value: 'savings' },
|
|
372
|
+
{ label: 'Tax', value: 'tax' },
|
|
373
|
+
{ label: 'TV Satellite', value: 'tv_sat' },
|
|
374
|
+
{ label: 'TV Streaming', value: 'tv_stream' },
|
|
375
|
+
{ label: 'Wireless', value: 'wireless' },
|
|
376
|
+
{ label: 'Wireless Business', value: 'wireless_bus' },
|
|
377
|
+
{ label: 'Wireless Family', value: 'wireless_fam' },
|
|
378
|
+
{ label: 'Wireless Individual', value: 'wireless_ind' }
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
startDateTime: {
|
|
382
|
+
label: 'Start Date Time',
|
|
383
|
+
description: 'Start of item duration (e.g., check-out or departure date/time). Must be in ISO 8601 format.',
|
|
384
|
+
type: 'string',
|
|
385
|
+
format: 'date-time'
|
|
386
|
+
},
|
|
387
|
+
subscriptionFee: {
|
|
388
|
+
label: 'Subscription Fee',
|
|
389
|
+
description: 'Cost of subscription fee featured when signing up for free trial.',
|
|
390
|
+
type: 'number'
|
|
391
|
+
},
|
|
392
|
+
subscriptionLength: {
|
|
393
|
+
label: 'Subscription Length',
|
|
394
|
+
description: 'Product duration.',
|
|
395
|
+
type: 'string'
|
|
396
|
+
},
|
|
397
|
+
taxAmount: {
|
|
398
|
+
label: 'Tax Amount',
|
|
399
|
+
description: 'Total tax for the order.',
|
|
400
|
+
type: 'number'
|
|
401
|
+
},
|
|
402
|
+
taxType: {
|
|
403
|
+
label: 'Tax Type',
|
|
404
|
+
description: 'Type of tax assessed.',
|
|
405
|
+
type: 'string',
|
|
406
|
+
choices: [
|
|
407
|
+
{ label: 'Administrative', value: 'ADMINISTRATIVE' },
|
|
408
|
+
{ label: 'Carrier', value: 'CARRIER' },
|
|
409
|
+
{ label: 'Delivery', value: 'DELIVERY' },
|
|
410
|
+
{ label: 'Federal Universal Service', value: 'FEDERAL_UNIVERSAL_SERVICE' },
|
|
411
|
+
{ label: 'Local', value: 'LOCAL' },
|
|
412
|
+
{ label: 'Regulatory Cost Recovery', value: 'REGULATORY_COST_RECOVERY' },
|
|
413
|
+
{ label: 'Room', value: 'ROOM' },
|
|
414
|
+
{ label: 'Segment', value: 'SEGMENT' },
|
|
415
|
+
{ label: 'State', value: 'STATE' },
|
|
416
|
+
{ label: 'Tourist', value: 'TOURIST' },
|
|
417
|
+
{ label: 'V911 Service', value: 'V911_SERVICE' }
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
upsell: {
|
|
421
|
+
label: 'Upsell',
|
|
422
|
+
description: 'Indicates if someone converted from a trial to a subscription.',
|
|
423
|
+
type: 'string',
|
|
424
|
+
choices: [
|
|
425
|
+
{ label: 'Yes', value: 'Yes' },
|
|
426
|
+
{ label: 'No', value: 'No' }
|
|
427
|
+
]
|
|
428
|
+
}
|
|
419
429
|
},
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
430
|
+
default: {
|
|
431
|
+
brand: { '@path': '$.properties.brand' },
|
|
432
|
+
brandId: { '@path': '$.properties.brand_id' },
|
|
433
|
+
businessUnit: { '@path': '$.properties.business_unit' },
|
|
434
|
+
campaignId: { '@path': '$.properties.campaign_id' },
|
|
435
|
+
campaignName: { '@path': '$.properties.campaign_name' },
|
|
436
|
+
category: { '@path': '$.properties.category' },
|
|
437
|
+
class: { '@path': '$.properties.class' },
|
|
438
|
+
confirmationNumber: { '@path': '$.properties.confirmation_number' },
|
|
439
|
+
couponDiscount: { '@path': '$.properties.coupon_discount' },
|
|
440
|
+
couponType: { '@path': '$.properties.coupon_type' },
|
|
441
|
+
customerCountry: { '@path': '$.context.locale' },
|
|
442
|
+
customerSegment: { '@path': '$.properties.customer_segment' },
|
|
443
|
+
customerStatus: { '@path': '$.properties.customer_status' },
|
|
444
|
+
customerType: { '@path': '$.properties.customer_type' },
|
|
445
|
+
delivery: { '@path': '$.properties.delivery' },
|
|
446
|
+
description: { '@path': '$.properties.description' },
|
|
447
|
+
duration: { '@path': '$.properties.duration' },
|
|
448
|
+
endDateTime: { '@path': '$.properties.end_date_time' },
|
|
449
|
+
genre: { '@path': '$.properties.genre' },
|
|
450
|
+
itemId: { '@path': '$.properties.item_id' },
|
|
451
|
+
itemName: { '@path': '$.properties.item_name' },
|
|
452
|
+
itemType: { '@path': '$.properties.item_type' },
|
|
453
|
+
lifestage: { '@path': '$.properties.lifestage' },
|
|
454
|
+
location: { '@path': '$.properties.location' },
|
|
455
|
+
loyaltyEarned: { '@path': '$.properties.loyalty_earned' },
|
|
456
|
+
loyaltyFirstTimeSignup: { '@path': '$.properties.loyalty_first_time_signup' },
|
|
457
|
+
loyaltyLevel: { '@path': '$.properties.loyalty_level' },
|
|
458
|
+
loyaltyRedeemed: { '@path': '$.properties.loyalty_redeemed' },
|
|
459
|
+
loyaltyStatus: { '@path': '$.properties.loyalty_status' },
|
|
460
|
+
margin: { '@path': '$.properties.margin' },
|
|
461
|
+
marketingChannel: { '@path': '$.properties.marketing_channel' },
|
|
462
|
+
noCancellation: { '@path': '$.properties.no_cancellation' },
|
|
463
|
+
orderSubtotal: { '@path': '$.properties.order_subtotal' },
|
|
464
|
+
paymentMethod: { '@path': '$.properties.payment_method' },
|
|
465
|
+
paymentModel: { '@path': '$.properties.payment_model' },
|
|
466
|
+
platformId: { '@path': '$.properties.platform_id' },
|
|
467
|
+
pointOfSale: { '@path': '$.properties.point_of_sale' },
|
|
468
|
+
preorder: { '@path': '$.properties.preorder' },
|
|
469
|
+
prepaid: { '@path': '$.properties.prepaid' },
|
|
470
|
+
promotion: { '@path': '$.properties.promotion' },
|
|
471
|
+
promotionAmount: { '@path': '$.properties.promotion_amount' },
|
|
472
|
+
promotionConditionThreshold: { '@path': '$.properties.promotion_condition_threshold' },
|
|
473
|
+
promotionConditionType: { '@path': '$.properties.promotion_condition_type' },
|
|
474
|
+
promotionEnds: { '@path': '$.properties.promotion_ends' },
|
|
475
|
+
promotionStarts: { '@path': '$.properties.promotion_starts' },
|
|
476
|
+
promotionType: { '@path': '$.properties.promotion_type' },
|
|
477
|
+
quantity: { '@path': '$.properties.quantity' },
|
|
478
|
+
rating: { '@path': '$.properties.rating' },
|
|
479
|
+
serviceType: { '@path': '$.properties.service_type' },
|
|
480
|
+
startDateTime: { '@path': '$.properties.start_date_time' },
|
|
481
|
+
subscriptionFee: { '@path': '$.properties.subscription_fee' },
|
|
482
|
+
subscriptionLength: { '@path': '$.properties.subscription_length' },
|
|
483
|
+
taxAmount: { '@path': '$.properties.tax_amount' },
|
|
484
|
+
taxType: { '@path': '$.properties.tax_type' },
|
|
485
|
+
upsell: { '@path': '$.properties.upsell' }
|
|
428
486
|
}
|
|
429
|
-
},
|
|
430
|
-
default: {
|
|
431
|
-
brand: { '@path': '$.properties.brand' },
|
|
432
|
-
brandId: { '@path': '$.properties.brand_id' },
|
|
433
|
-
businessUnit: { '@path': '$.properties.business_unit' },
|
|
434
|
-
campaignId: { '@path': '$.properties.campaign_id' },
|
|
435
|
-
campaignName: { '@path': '$.properties.campaign_name' },
|
|
436
|
-
category: { '@path': '$.properties.category' },
|
|
437
|
-
class: { '@path': '$.properties.class' },
|
|
438
|
-
confirmationNumber: { '@path': '$.properties.confirmation_number' },
|
|
439
|
-
couponDiscount: { '@path': '$.properties.coupon_discount' },
|
|
440
|
-
couponType: { '@path': '$.properties.coupon_type' },
|
|
441
|
-
customerCountry: { '@path': '$.context.locale' },
|
|
442
|
-
customerSegment: { '@path': '$.properties.customer_segment' },
|
|
443
|
-
customerStatus: { '@path': '$.properties.customer_status' },
|
|
444
|
-
customerType: { '@path': '$.properties.customer_type' },
|
|
445
|
-
delivery: { '@path': '$.properties.delivery' },
|
|
446
|
-
description: { '@path': '$.properties.description' },
|
|
447
|
-
duration: { '@path': '$.properties.duration' },
|
|
448
|
-
endDateTime: { '@path': '$.properties.end_date_time' },
|
|
449
|
-
genre: { '@path': '$.properties.genre' },
|
|
450
|
-
itemId: { '@path': '$.properties.item_id' },
|
|
451
|
-
itemName: { '@path': '$.properties.item_name' },
|
|
452
|
-
itemType: { '@path': '$.properties.item_type' },
|
|
453
|
-
lifestage: { '@path': '$.properties.lifestage' },
|
|
454
|
-
location: { '@path': '$.properties.location' },
|
|
455
|
-
loyaltyEarned: { '@path': '$.properties.loyalty_earned' },
|
|
456
|
-
loyaltyFirstTimeSignup: { '@path': '$.properties.loyalty_first_time_signup' },
|
|
457
|
-
loyaltyLevel: { '@path': '$.properties.loyalty_level' },
|
|
458
|
-
loyaltyRedeemed: { '@path': '$.properties.loyalty_redeemed' },
|
|
459
|
-
loyaltyStatus: { '@path': '$.properties.loyalty_status' },
|
|
460
|
-
margin: { '@path': '$.properties.margin' },
|
|
461
|
-
marketingChannel: { '@path': '$.properties.marketing_channel' },
|
|
462
|
-
noCancellation: { '@path': '$.properties.no_cancellation' },
|
|
463
|
-
orderSubtotal: { '@path': '$.properties.order_subtotal' },
|
|
464
|
-
paymentMethod: { '@path': '$.properties.payment_method' },
|
|
465
|
-
paymentModel: { '@path': '$.properties.payment_model' },
|
|
466
|
-
platformId: { '@path': '$.properties.platform_id' },
|
|
467
|
-
pointOfSale: { '@path': '$.properties.point_of_sale' },
|
|
468
|
-
preorder: { '@path': '$.properties.preorder' },
|
|
469
|
-
prepaid: { '@path': '$.properties.prepaid' },
|
|
470
|
-
promotion: { '@path': '$.properties.promotion' },
|
|
471
|
-
promotionAmount: { '@path': '$.properties.promotion_amount' },
|
|
472
|
-
promotionConditionThreshold: { '@path': '$.properties.promotion_condition_threshold' },
|
|
473
|
-
promotionConditionType: { '@path': '$.properties.promotion_condition_type' },
|
|
474
|
-
promotionEnds: { '@path': '$.properties.promotion_ends' },
|
|
475
|
-
promotionStarts: { '@path': '$.properties.promotion_starts' },
|
|
476
|
-
promotionType: { '@path': '$.properties.promotion_type' },
|
|
477
|
-
quantity: { '@path': '$.properties.quantity' },
|
|
478
|
-
rating: { '@path': '$.properties.rating' },
|
|
479
|
-
serviceType: { '@path': '$.properties.service_type' },
|
|
480
|
-
startDateTime: { '@path': '$.properties.start_date_time' },
|
|
481
|
-
subscriptionFee: { '@path': '$.properties.subscription_fee' },
|
|
482
|
-
subscriptionLength: { '@path': '$.properties.subscription_length' },
|
|
483
|
-
taxAmount: { '@path': '$.properties.tax_amount' },
|
|
484
|
-
taxType: { '@path': '$.properties.tax_type' },
|
|
485
|
-
upsell: { '@path': '$.properties.upsell' }
|
|
486
|
-
}
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
export const travelVerticals: InputField = {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
490
|
+
label: 'Travel Vertical Parameters',
|
|
491
|
+
description: 'This field is used to pass additional parameters specific to the travel vertical.',
|
|
492
|
+
type: 'object',
|
|
493
|
+
defaultObjectUI: 'keyvalue',
|
|
494
|
+
properties: {
|
|
495
|
+
bookingDate: {
|
|
496
|
+
label: 'Booking Date',
|
|
497
|
+
description: 'Date the booking was made.',
|
|
498
|
+
type: 'string',
|
|
499
|
+
format: 'date-time'
|
|
500
|
+
},
|
|
501
|
+
bookingStatus: {
|
|
502
|
+
label: 'Booking Status',
|
|
503
|
+
description: 'Booking status at the time of tag firing.',
|
|
504
|
+
type: 'string'
|
|
505
|
+
},
|
|
506
|
+
bookingValuePostTax: {
|
|
507
|
+
label: 'Booking Value Post-Tax',
|
|
508
|
+
description: 'Value of booking after taxes.',
|
|
509
|
+
type: 'number'
|
|
510
|
+
},
|
|
511
|
+
bookingValuePreTax: {
|
|
512
|
+
label: 'Booking Value Pre-Tax',
|
|
513
|
+
description: 'Value of booking before taxes.',
|
|
514
|
+
type: 'number'
|
|
515
|
+
},
|
|
516
|
+
carOptions: {
|
|
517
|
+
label: 'Car Options',
|
|
518
|
+
description:
|
|
519
|
+
'Other items added to the reservation beyond the vehicle itself (e.g. "insurance", "GPS", "Car Seat").',
|
|
520
|
+
type: 'string'
|
|
521
|
+
},
|
|
522
|
+
class: {
|
|
523
|
+
label: 'Class',
|
|
524
|
+
description: 'Class of item (flight, hotel, car, or cruise specific classes).',
|
|
525
|
+
type: 'string',
|
|
526
|
+
choices: [
|
|
527
|
+
{ label: 'Flight - first', value: 'first' },
|
|
528
|
+
{ label: 'Flight - business', value: 'business' },
|
|
529
|
+
{ label: 'Flight - premium economy', value: 'premiumeconomy' },
|
|
530
|
+
{ label: 'Flight - economy', value: 'economy' },
|
|
531
|
+
{ label: 'Flight - basic economy', value: 'basiceconomy' },
|
|
532
|
+
{ label: 'Hotel - standard', value: 'standard' },
|
|
533
|
+
{ label: 'Hotel - deluxe', value: 'deluxe' },
|
|
534
|
+
{ label: 'Hotel - junior suite', value: 'junior_suite' },
|
|
535
|
+
{ label: 'Hotel - suite', value: 'suite' },
|
|
536
|
+
{ label: 'Car - economy', value: 'economy' },
|
|
537
|
+
{ label: 'Car - compact', value: 'compact' },
|
|
538
|
+
{ label: 'Car - mid size', value: 'mid_size' },
|
|
539
|
+
{ label: 'Car - full size', value: 'full_size' },
|
|
540
|
+
{ label: 'Car - premium', value: 'premium' },
|
|
541
|
+
{ label: 'Car - luxury', value: 'luxury' },
|
|
542
|
+
{ label: 'Car - mini van', value: 'mini_van' },
|
|
543
|
+
{ label: 'Car - convertible', value: 'convertible' },
|
|
544
|
+
{ label: 'Car - mid size SUV', value: 'mid_size_suv' },
|
|
545
|
+
{ label: 'Car - standard SUV', value: 'standard_suv' },
|
|
546
|
+
{ label: 'Car - full size SUV', value: 'full_size_suv' },
|
|
547
|
+
{ label: 'Car - full size van', value: 'full_size_van' },
|
|
548
|
+
{ label: 'Cruise - interior', value: 'interior' },
|
|
549
|
+
{ label: 'Cruise - ocean view', value: 'ocean_view' },
|
|
550
|
+
{ label: 'Cruise - suite', value: 'suite' },
|
|
551
|
+
{ label: 'Cruise - balcony', value: 'balcony' }
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
cruiseType: {
|
|
555
|
+
label: 'Cruise Type',
|
|
556
|
+
description: 'Type of cruise (Alaskan, Caribbean, etc...).',
|
|
557
|
+
type: 'string'
|
|
558
|
+
},
|
|
559
|
+
destinationCity: {
|
|
560
|
+
label: 'Destination City',
|
|
561
|
+
description:
|
|
562
|
+
"Customer service destination city name (New York City, Boston, Atlanta, etc...). If destinationCity is provided, destinationState must also be provided. If there is no Origin/Destination combo, but needs to indicate a location of service (network service, event) use 'destination' set of parameters.",
|
|
563
|
+
type: 'string'
|
|
564
|
+
},
|
|
565
|
+
destinationCountry: {
|
|
566
|
+
label: 'Destination Country',
|
|
567
|
+
description:
|
|
568
|
+
'Customer service destination country code, per ISO 3166-1 alpha 3 country code (USA, GBR, SWE, etc...).',
|
|
569
|
+
type: 'string'
|
|
570
|
+
},
|
|
571
|
+
destinationState: {
|
|
572
|
+
label: 'Destination State',
|
|
573
|
+
description:
|
|
574
|
+
'Customer service destination state/province code. ISO 3166-2 country subdivision standards. e.g. US-NY, US-CA, US-FL, US-TX',
|
|
575
|
+
type: 'string'
|
|
576
|
+
},
|
|
577
|
+
domestic: {
|
|
578
|
+
label: 'Domestic Travel',
|
|
579
|
+
description: 'Indicates whether the travel is domestic (Yes) or international (No).',
|
|
580
|
+
type: 'string',
|
|
581
|
+
choices: [
|
|
582
|
+
{ label: 'YES', value: 'YES' },
|
|
583
|
+
{ label: 'NO', value: 'NO' }
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
dropoffIata: {
|
|
587
|
+
label: 'Dropoff IATA',
|
|
588
|
+
description: 'Destination location IATA code. 3 letter IATA code.',
|
|
589
|
+
type: 'string'
|
|
590
|
+
},
|
|
591
|
+
dropoffId: {
|
|
592
|
+
label: 'Dropoff ID',
|
|
593
|
+
description: 'Advertiser ID for destination location.',
|
|
594
|
+
type: 'string'
|
|
595
|
+
},
|
|
596
|
+
flightFareType: {
|
|
597
|
+
label: 'Flight Fare Type',
|
|
598
|
+
description: 'Type of flight fare (e.g. gotta get away).',
|
|
599
|
+
type: 'string'
|
|
600
|
+
},
|
|
601
|
+
flightOptions: {
|
|
602
|
+
label: 'Flight Options',
|
|
603
|
+
description: 'Other items added to the reservation (e.g. Wi-Fi).',
|
|
604
|
+
type: 'string'
|
|
605
|
+
},
|
|
606
|
+
flightType: {
|
|
607
|
+
label: 'Flight Type',
|
|
608
|
+
description: 'Type of flight (e.g. direct, layover, overnight).',
|
|
609
|
+
type: 'string',
|
|
610
|
+
choices: [
|
|
611
|
+
{ label: 'Multi City', value: 'MULTI_CITY' },
|
|
612
|
+
{ label: 'One Way', value: 'ONE_WAY' },
|
|
613
|
+
{ label: 'Round Trip', value: 'ROUND_TRIP' }
|
|
614
|
+
]
|
|
615
|
+
},
|
|
616
|
+
flyerMiles: {
|
|
617
|
+
label: 'Flyer Miles',
|
|
618
|
+
description: 'Flyer miles earned from this flight.',
|
|
619
|
+
type: 'number'
|
|
620
|
+
},
|
|
621
|
+
guests: {
|
|
622
|
+
label: 'Guests',
|
|
623
|
+
description: 'Number of guests.',
|
|
624
|
+
type: 'integer'
|
|
625
|
+
},
|
|
626
|
+
iata: {
|
|
627
|
+
label: 'IATA',
|
|
628
|
+
description:
|
|
629
|
+
'IATA code (3-letter); If using for a multi-stop flight each city in a flight can be provided in a comma-separated list.',
|
|
630
|
+
type: 'string'
|
|
631
|
+
},
|
|
632
|
+
itineraryId: {
|
|
633
|
+
label: 'Itinerary ID',
|
|
634
|
+
description: 'Booking itinerary ID.',
|
|
635
|
+
type: 'string'
|
|
636
|
+
},
|
|
637
|
+
minimumStayDuration: {
|
|
638
|
+
label: 'Minimum Stay Duration',
|
|
639
|
+
description: 'Minimum stay duration required in days.',
|
|
640
|
+
type: 'number'
|
|
641
|
+
},
|
|
642
|
+
originCity: {
|
|
643
|
+
label: 'Origin City',
|
|
644
|
+
description:
|
|
645
|
+
'Customer service origin city name (New York City, Ottawa, Los Angeles, etc...). If originCity is provided, originState is also provided',
|
|
646
|
+
type: 'string'
|
|
647
|
+
},
|
|
648
|
+
originCountry: {
|
|
649
|
+
label: 'Origin Country',
|
|
650
|
+
description:
|
|
651
|
+
'Customer service origin country code per ISO 3166-1 alpha 3 country code (USA, GBR, SWE, etc...).',
|
|
652
|
+
type: 'string'
|
|
653
|
+
},
|
|
654
|
+
originState: {
|
|
655
|
+
label: 'Origin State',
|
|
656
|
+
description:
|
|
657
|
+
'Customer service origin state/province code per ISO 3166-2 country subdivision standards (Alaska would be "or_state=US-AK", Bangkok would be "or_state=TH-10").',
|
|
658
|
+
type: 'string'
|
|
659
|
+
},
|
|
660
|
+
paidAtBookingPostTax: {
|
|
661
|
+
label: 'Paid at Booking (Post-Tax)',
|
|
662
|
+
description: 'Amount paid at booking after taxes.',
|
|
663
|
+
type: 'number'
|
|
664
|
+
},
|
|
665
|
+
paidAtBookingPreTax: {
|
|
666
|
+
label: 'Paid at Booking (Pre-Tax)',
|
|
667
|
+
description: 'Amount paid at booking before taxes.',
|
|
668
|
+
type: 'number'
|
|
669
|
+
},
|
|
670
|
+
pickupIata: {
|
|
671
|
+
label: 'Pickup IATA',
|
|
672
|
+
description: 'Origin location IATA code.',
|
|
673
|
+
type: 'string'
|
|
674
|
+
},
|
|
675
|
+
pickupId: {
|
|
676
|
+
label: 'Pickup ID',
|
|
677
|
+
description: 'Advertiser ID for origin location.',
|
|
678
|
+
type: 'string'
|
|
679
|
+
},
|
|
680
|
+
port: {
|
|
681
|
+
label: 'Port',
|
|
682
|
+
description: 'Departure port city (for cruises).',
|
|
683
|
+
type: 'string'
|
|
684
|
+
},
|
|
685
|
+
roomType: {
|
|
686
|
+
label: 'Room Type',
|
|
687
|
+
description:
|
|
688
|
+
'Room type booked. If using the same values listed for "class" parameter, use that parameter instead.',
|
|
689
|
+
type: 'string'
|
|
690
|
+
},
|
|
691
|
+
rooms: {
|
|
692
|
+
label: 'Rooms',
|
|
693
|
+
description: 'Number of rooms booked.',
|
|
694
|
+
type: 'integer'
|
|
695
|
+
},
|
|
696
|
+
shipName: {
|
|
697
|
+
label: 'Ship Name',
|
|
698
|
+
description: 'Name of the cruise ship.',
|
|
699
|
+
type: 'string'
|
|
700
|
+
},
|
|
701
|
+
travelType: {
|
|
702
|
+
label: 'Travel Type',
|
|
703
|
+
description:
|
|
704
|
+
' Type of travel being booked. If you want access to standardized benchmark reporting, you must pass a value from the following list.',
|
|
705
|
+
type: 'string',
|
|
706
|
+
choices: [
|
|
707
|
+
{ label: 'Activities', value: 'ACTIVITIES' },
|
|
708
|
+
{ label: 'Air', value: 'AIR' },
|
|
709
|
+
{ label: 'Car', value: 'CAR' },
|
|
710
|
+
{ label: 'Cruise', value: 'CRUISE' },
|
|
711
|
+
{ label: 'Events', value: 'EVENTS' },
|
|
712
|
+
{ label: 'Hotel', value: 'HOTEL' },
|
|
713
|
+
{ label: 'Other', value: 'OTHER' },
|
|
714
|
+
{ label: 'Package', value: 'PACKAGE' },
|
|
715
|
+
{ label: 'Restaurants', value: 'RESTAURANTS' },
|
|
716
|
+
{ label: 'Travel Guides', value: 'TRAVEL_GUIDES' },
|
|
717
|
+
{ label: 'Vacation Rental', value: 'VACATION_RENTAL' }
|
|
718
|
+
]
|
|
719
|
+
}
|
|
699
720
|
},
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
721
|
+
default: {
|
|
722
|
+
bookingDate: { '@path': '$.properties.booking_date' },
|
|
723
|
+
bookingStatus: { '@path': '$.properties.booking_status' },
|
|
724
|
+
bookingValuePostTax: { '@path': '$.properties.booking_value_post_tax' },
|
|
725
|
+
bookingValuePreTax: { '@path': '$.properties.booking_value_pre_tax' },
|
|
726
|
+
carOptions: { '@path': '$.properties.car_options' },
|
|
727
|
+
class: { '@path': '$.properties.class' },
|
|
728
|
+
cruiseType: { '@path': '$.properties.cruise_type' },
|
|
729
|
+
destinationCity: { '@path': '$.properties.destination_city' },
|
|
730
|
+
destinationCountry: { '@path': '$.properties.destination_country' },
|
|
731
|
+
destinationState: { '@path': '$.properties.destination_state' },
|
|
732
|
+
domestic: { '@path': '$.properties.domestic' },
|
|
733
|
+
dropoffIata: { '@path': '$.properties.dropoff_iata' },
|
|
734
|
+
dropoffId: { '@path': '$.properties.dropoff_id' },
|
|
735
|
+
flightFareType: { '@path': '$.properties.flight_fare_type' },
|
|
736
|
+
flightOptions: { '@path': '$.properties.flight_options' },
|
|
737
|
+
flightType: { '@path': '$.properties.flight_type' },
|
|
738
|
+
flyerMiles: { '@path': '$.properties.flyer_miles' },
|
|
739
|
+
guests: { '@path': '$.properties.guests' },
|
|
740
|
+
iata: { '@path': '$.properties.iata' },
|
|
741
|
+
itineraryId: { '@path': '$.properties.itinerary_id' },
|
|
742
|
+
minimumStayDuration: { '@path': '$.properties.minimum_stay_duration' },
|
|
743
|
+
originCity: { '@path': '$.properties.origin_city' },
|
|
744
|
+
originCountry: { '@path': '$.properties.origin_country' },
|
|
745
|
+
originState: { '@path': '$.properties.origin_state' },
|
|
746
|
+
paidAtBookingPostTax: { '@path': '$.properties.paid_at_booking_post_tax' },
|
|
747
|
+
paidAtBookingPreTax: { '@path': '$.properties.paid_at_booking_pre_tax' },
|
|
748
|
+
pickupIata: { '@path': '$.properties.pickup_iata' },
|
|
749
|
+
pickupId: { '@path': '$.properties.pickup_id' },
|
|
750
|
+
port: { '@path': '$.properties.port' },
|
|
751
|
+
roomType: { '@path': '$.properties.room_type' },
|
|
752
|
+
rooms: { '@path': '$.properties.rooms' },
|
|
753
|
+
shipName: { '@path': '$.properties.ship_name' },
|
|
754
|
+
travelType: { '@path': '$.properties.travel_type' }
|
|
718
755
|
}
|
|
719
|
-
},
|
|
720
|
-
default: {
|
|
721
|
-
bookingDate: { '@path': '$.properties.booking_date' },
|
|
722
|
-
bookingStatus: { '@path': '$.properties.booking_status' },
|
|
723
|
-
bookingValuePostTax: { '@path': '$.properties.booking_value_post_tax' },
|
|
724
|
-
bookingValuePreTax: { '@path': '$.properties.booking_value_pre_tax' },
|
|
725
|
-
carOptions: { '@path': '$.properties.car_options' },
|
|
726
|
-
class: { '@path': '$.properties.class' },
|
|
727
|
-
cruiseType: { '@path': '$.properties.cruise_type' },
|
|
728
|
-
destinationCity: { '@path': '$.properties.destination_city' },
|
|
729
|
-
destinationCountry: { '@path': '$.properties.destination_country' },
|
|
730
|
-
destinationState: { '@path': '$.properties.destination_state' },
|
|
731
|
-
domestic: { '@path': '$.properties.domestic' },
|
|
732
|
-
dropoffIata: { '@path': '$.properties.dropoff_iata' },
|
|
733
|
-
dropoffId: { '@path': '$.properties.dropoff_id' },
|
|
734
|
-
flightFareType: { '@path': '$.properties.flight_fare_type' },
|
|
735
|
-
flightOptions: { '@path': '$.properties.flight_options' },
|
|
736
|
-
flightType: { '@path': '$.properties.flight_type' },
|
|
737
|
-
flyerMiles: { '@path': '$.properties.flyer_miles' },
|
|
738
|
-
guests: { '@path': '$.properties.guests' },
|
|
739
|
-
iata: { '@path': '$.properties.iata' },
|
|
740
|
-
itineraryId: { '@path': '$.properties.itinerary_id' },
|
|
741
|
-
minimumStayDuration: { '@path': '$.properties.minimum_stay_duration' },
|
|
742
|
-
originCity: { '@path': '$.properties.origin_city' },
|
|
743
|
-
originCountry: { '@path': '$.properties.origin_country' },
|
|
744
|
-
originState: { '@path': '$.properties.origin_state' },
|
|
745
|
-
paidAtBookingPostTax: { '@path': '$.properties.paid_at_booking_post_tax' },
|
|
746
|
-
paidAtBookingPreTax: { '@path': '$.properties.paid_at_booking_pre_tax' },
|
|
747
|
-
pickupIata: { '@path': '$.properties.pickup_iata' },
|
|
748
|
-
pickupId: { '@path': '$.properties.pickup_id' },
|
|
749
|
-
port: { '@path': '$.properties.port' },
|
|
750
|
-
roomType: { '@path': '$.properties.room_type' },
|
|
751
|
-
rooms: { '@path': '$.properties.rooms' },
|
|
752
|
-
shipName: { '@path': '$.properties.ship_name' },
|
|
753
|
-
travelType: { '@path': '$.properties.travel_type' }
|
|
754
|
-
}
|
|
755
756
|
}
|
|
756
757
|
|
|
757
758
|
export const financeVerticals: InputField = {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
759
|
+
label: 'Finance Verticals',
|
|
760
|
+
description: 'This field is used to pass additional parameters specific to the finance vertical.',
|
|
761
|
+
type: 'object',
|
|
762
|
+
defaultObjectUI: 'keyvalue',
|
|
763
|
+
properties: {
|
|
764
|
+
annualFee: {
|
|
765
|
+
label: 'Annual Fee',
|
|
766
|
+
description: 'Amount of the annual fee.',
|
|
767
|
+
type: 'number'
|
|
768
|
+
},
|
|
769
|
+
applicationStatus: {
|
|
770
|
+
label: 'Application Status',
|
|
771
|
+
description: 'Identifies the status of the application at the time the transaction is sent to CJ.',
|
|
772
|
+
type: 'string',
|
|
773
|
+
choices: [
|
|
774
|
+
{ label: 'Instant Approved', value: 'instant_approved' },
|
|
775
|
+
{ label: 'Instant Declined', value: 'instant_declined' },
|
|
776
|
+
{ label: 'Pended', value: 'pended' },
|
|
777
|
+
{ label: 'Approved', value: 'approved' },
|
|
778
|
+
{ label: 'Declined', value: 'declined' },
|
|
779
|
+
{ label: 'Declined Counter', value: 'declined_counter' }
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
apr: {
|
|
783
|
+
label: 'APR',
|
|
784
|
+
description: 'APR at time of application approval.',
|
|
785
|
+
type: 'number'
|
|
786
|
+
},
|
|
787
|
+
aprTransfer: {
|
|
788
|
+
label: 'APR Transfer',
|
|
789
|
+
description: 'APR for transfers.',
|
|
790
|
+
type: 'number'
|
|
791
|
+
},
|
|
792
|
+
aprTransferTime: {
|
|
793
|
+
label: 'APR Transfer Time',
|
|
794
|
+
description: 'If transfer APR is only for a certain period of time, pass the number of months here.',
|
|
795
|
+
type: 'integer'
|
|
796
|
+
},
|
|
797
|
+
cardCategory: {
|
|
798
|
+
label: 'Card Category',
|
|
799
|
+
description: 'Category of the card.',
|
|
800
|
+
type: 'string',
|
|
801
|
+
choices: [
|
|
802
|
+
{ label: 'Balance Transfer Cards', value: 'BALANCE_TRANSFER_CARDS' },
|
|
803
|
+
{ label: 'Cash Back Reward Cards', value: 'CASH_BACK_REWARD_CARDS' },
|
|
804
|
+
{ label: 'Charge Cards', value: 'CHARGE_CARDS' },
|
|
805
|
+
{ label: 'Clicks', value: 'CLICKS' },
|
|
806
|
+
{ label: 'Military Affiliate', value: 'MILITARY_AFFILIATE' },
|
|
807
|
+
{ label: 'Other', value: 'OTHER' },
|
|
808
|
+
{ label: 'Reward Points Cards', value: 'REWARD_POINTS_CARDS' },
|
|
809
|
+
{ label: 'Credit Building Cards', value: 'CREDIT_BUILDING_CARDS' },
|
|
810
|
+
{ label: 'Student Cards', value: 'STUDENT_CARDS' },
|
|
811
|
+
{ label: 'Travel Reward Cards', value: 'TRAVEL_REWARD_CARDS' },
|
|
812
|
+
{ label: 'Unknown Product', value: 'UNKNOWN_PRODUCT' },
|
|
813
|
+
{ label: 'Low APR Cards', value: 'LOW_APR_CARDS' }
|
|
814
|
+
]
|
|
815
|
+
},
|
|
816
|
+
cashAdvanceFee: {
|
|
817
|
+
label: 'Cash Advance Fee',
|
|
818
|
+
description: 'Amount of the fee associated with the cash advance.',
|
|
819
|
+
type: 'number'
|
|
820
|
+
},
|
|
821
|
+
contractLength: {
|
|
822
|
+
label: 'Contract Length',
|
|
823
|
+
description: 'Contract length, in months.',
|
|
824
|
+
type: 'number'
|
|
825
|
+
},
|
|
826
|
+
contractType: {
|
|
827
|
+
label: 'Contract Type',
|
|
828
|
+
description: 'Advertiser-specific contract description.',
|
|
829
|
+
type: 'string'
|
|
830
|
+
},
|
|
831
|
+
creditReport: {
|
|
832
|
+
label: 'Credit Report',
|
|
833
|
+
description: 'Indicates if the customer received a credit report and if it was purchased.',
|
|
834
|
+
type: 'string',
|
|
835
|
+
choices: [
|
|
836
|
+
{ label: 'Purchase', value: 'purchase' },
|
|
837
|
+
{ label: 'Free', value: 'free' },
|
|
838
|
+
{ label: 'Trial', value: 'trial' }
|
|
839
|
+
]
|
|
840
|
+
},
|
|
841
|
+
creditLine: {
|
|
842
|
+
label: 'Credit Line',
|
|
843
|
+
description: 'Amount of credit extended through product.',
|
|
844
|
+
type: 'number'
|
|
845
|
+
},
|
|
846
|
+
creditQuality: {
|
|
847
|
+
label: 'Credit Quality',
|
|
848
|
+
description:
|
|
849
|
+
'Minimum credit tier required for product approval. (300-579=Very Poor, 580-669=Fair, 670-739=Good,740-799=Very Good, 800-850=Exceptional).',
|
|
850
|
+
type: 'string',
|
|
851
|
+
choices: [
|
|
852
|
+
{ label: 'Very Poor', value: 'Very Poor' },
|
|
853
|
+
{ label: 'Fair', value: 'Fair' },
|
|
854
|
+
{ label: 'Good', value: 'Good' },
|
|
855
|
+
{ label: 'Very Good', value: 'Very Good' },
|
|
856
|
+
{ label: 'Exceptional', value: 'Exceptional' }
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
fundedAmount: {
|
|
860
|
+
label: 'Funded Amount',
|
|
861
|
+
description: 'Indicates the amount of funding added to the account at the time of transaction.',
|
|
862
|
+
type: 'number'
|
|
863
|
+
},
|
|
864
|
+
fundedCurrency: {
|
|
865
|
+
label: 'Funded Currency',
|
|
866
|
+
description: 'Currency of the funding provided for the new account.',
|
|
867
|
+
type: 'number'
|
|
868
|
+
},
|
|
869
|
+
introductoryApr: {
|
|
870
|
+
label: 'Introductory APR',
|
|
871
|
+
description:
|
|
872
|
+
'The introductory APR amount. (If the intro APR is not different than overall APR, use the "APR" parameter).',
|
|
873
|
+
type: 'number'
|
|
874
|
+
},
|
|
875
|
+
introductoryAprTime: {
|
|
876
|
+
label: 'Introductory APR Time',
|
|
877
|
+
description: 'The number of months the intro APR applies for.',
|
|
878
|
+
type: 'integer'
|
|
879
|
+
},
|
|
880
|
+
minimumBalance: {
|
|
881
|
+
label: 'Minimum Balance',
|
|
882
|
+
description: 'Value of the minimum cash balance requirement for the account.',
|
|
883
|
+
type: 'number'
|
|
884
|
+
},
|
|
885
|
+
minimumDeposit: {
|
|
886
|
+
label: 'Minimum Deposit',
|
|
887
|
+
description: 'Indicates the value if a minimum deposit is required.',
|
|
888
|
+
type: 'number'
|
|
889
|
+
},
|
|
890
|
+
prequalify: {
|
|
891
|
+
label: 'Prequalify',
|
|
892
|
+
description: 'Indicates if the applicant was pre-qualified for the card.',
|
|
893
|
+
type: 'string',
|
|
894
|
+
choices: [
|
|
895
|
+
{ label: 'Yes', value: 'Yes' },
|
|
896
|
+
{ label: 'No', value: 'No' }
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
transferFee: {
|
|
900
|
+
label: 'Transfer Fee',
|
|
901
|
+
description: 'The transfer fee amount (i.e. for a credit card).',
|
|
902
|
+
type: 'number'
|
|
903
|
+
}
|
|
897
904
|
},
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
905
|
+
default: {
|
|
906
|
+
annualFee: { '@path': '$.properties.annual_fee' },
|
|
907
|
+
applicationStatus: { '@path': '$.properties.application_status' },
|
|
908
|
+
apr: { '@path': '$.properties.apr' },
|
|
909
|
+
aprTransfer: { '@path': '$.properties.apr_transfer' },
|
|
910
|
+
aprTransferTime: { '@path': '$.properties.apr_transfer_time' },
|
|
911
|
+
cardCategory: { '@path': '$.properties.card_category' },
|
|
912
|
+
cashAdvanceFee: { '@path': '$.properties.cash_advance_fee' },
|
|
913
|
+
contractLength: { '@path': '$.properties.contract_length' },
|
|
914
|
+
contractType: { '@path': '$.properties.contract_type' },
|
|
915
|
+
creditReport: { '@path': '$.properties.credit_report' },
|
|
916
|
+
creditLine: { '@path': '$.properties.credit_line' },
|
|
917
|
+
creditQuality: { '@path': '$.properties.credit_quality' },
|
|
918
|
+
fundedAmount: { '@path': '$.properties.funded_amount' },
|
|
919
|
+
fundedCurrency: { '@path': '$.properties.funded_currency' },
|
|
920
|
+
introductoryApr: { '@path': '$.properties.introductory_apr' },
|
|
921
|
+
introductoryAprTime: { '@path': '$.properties.introductory_apr_time' },
|
|
922
|
+
minimumBalance: { '@path': '$.properties.minimum_balance' },
|
|
923
|
+
minimumDeposit: { '@path': '$.properties.minimum_deposit' },
|
|
924
|
+
prequalify: { '@path': '$.properties.prequalify' },
|
|
925
|
+
transferFee: { '@path': '$.properties.transfer_fee' }
|
|
902
926
|
}
|
|
903
|
-
},
|
|
904
|
-
default: {
|
|
905
|
-
annualFee: { '@path': '$.properties.annual_fee' },
|
|
906
|
-
applicationStatus: { '@path': '$.properties.application_status' },
|
|
907
|
-
apr: { '@path': '$.properties.apr' },
|
|
908
|
-
aprTransfer: { '@path': '$.properties.apr_transfer' },
|
|
909
|
-
aprTransferTime: { '@path': '$.properties.apr_transfer_time' },
|
|
910
|
-
cardCategory: { '@path': '$.properties.card_category' },
|
|
911
|
-
cashAdvanceFee: { '@path': '$.properties.cash_advance_fee' },
|
|
912
|
-
contractLength: { '@path': '$.properties.contract_length' },
|
|
913
|
-
contractType: { '@path': '$.properties.contract_type' },
|
|
914
|
-
creditReport: { '@path': '$.properties.credit_report' },
|
|
915
|
-
creditLine: { '@path': '$.properties.credit_line' },
|
|
916
|
-
creditQuality: { '@path': '$.properties.credit_quality' },
|
|
917
|
-
fundedAmount: { '@path': '$.properties.funded_amount' },
|
|
918
|
-
fundedCurrency: { '@path': '$.properties.funded_currency' },
|
|
919
|
-
introductoryApr: { '@path': '$.properties.introductory_apr' },
|
|
920
|
-
introductoryAprTime: { '@path': '$.properties.introductory_apr_time' },
|
|
921
|
-
minimumBalance: { '@path': '$.properties.minimum_balance' },
|
|
922
|
-
minimumDeposit: { '@path': '$.properties.minimum_deposit' },
|
|
923
|
-
prequalify: { '@path': '$.properties.prequalify' },
|
|
924
|
-
transferFee: { '@path': '$.properties.transfer_fee' }
|
|
925
|
-
}
|
|
926
927
|
}
|
|
927
928
|
|
|
928
929
|
export const networkServicesVerticals: InputField = {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
930
|
+
label: 'Network Services Verticals',
|
|
931
|
+
description: 'This field is used to pass additional parameters specific to the network services vertical.',
|
|
932
|
+
type: 'object',
|
|
933
|
+
defaultObjectUI: 'keyvalue',
|
|
934
|
+
properties: {
|
|
935
|
+
annualFee: {
|
|
936
|
+
label: 'Annual Fee',
|
|
937
|
+
description: 'Amount of the annual fee.',
|
|
938
|
+
type: 'number'
|
|
939
|
+
},
|
|
940
|
+
applicationStatus: {
|
|
941
|
+
label: 'Application Status',
|
|
942
|
+
description: 'Identifies the status of the application at the time the transaction is sent to CJ.',
|
|
943
|
+
type: 'string',
|
|
944
|
+
choices: [
|
|
945
|
+
{ label: 'Instant Approved', value: 'instant_approved' },
|
|
946
|
+
{ label: 'Instant Declined', value: 'instant_declined' },
|
|
947
|
+
{ label: 'Pended', value: 'pended' },
|
|
948
|
+
{ label: 'Approved', value: 'approved' },
|
|
949
|
+
{ label: 'Declined', value: 'declined' },
|
|
950
|
+
{ label: 'Declined Counter', value: 'declined_counter' }
|
|
951
|
+
]
|
|
952
|
+
},
|
|
953
|
+
contractLength: {
|
|
954
|
+
label: 'Contract Length',
|
|
955
|
+
description: 'Contract length, in months.',
|
|
956
|
+
type: 'number'
|
|
957
|
+
},
|
|
958
|
+
contractType: {
|
|
959
|
+
label: 'Contract Type',
|
|
960
|
+
description: 'Advertiser-specific contract description.',
|
|
961
|
+
type: 'string'
|
|
962
|
+
}
|
|
956
963
|
},
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
964
|
+
default: {
|
|
965
|
+
annualFee: { '@path': '$.properties.annual_fee' },
|
|
966
|
+
applicationStatus: { '@path': '$.properties.application_status' },
|
|
967
|
+
contractLength: { '@path': '$.properties.contract_length' },
|
|
968
|
+
contractType: { '@path': '$.properties.contract_type' }
|
|
961
969
|
}
|
|
962
|
-
},
|
|
963
|
-
default: {
|
|
964
|
-
annualFee: { '@path': '$.properties.annual_fee' },
|
|
965
|
-
applicationStatus: { '@path': '$.properties.application_status' },
|
|
966
|
-
contractLength: { '@path': '$.properties.contract_length' },
|
|
967
|
-
contractType: { '@path': '$.properties.contract_type' }
|
|
968
|
-
}
|
|
969
970
|
}
|
|
970
971
|
|
|
971
972
|
export const orderFields: Record<string, InputField> = {
|
|
@@ -974,9 +975,9 @@ export const orderFields: Record<string, InputField> = {
|
|
|
974
975
|
description: 'Send additional data relating to travel, finance network services',
|
|
975
976
|
type: 'string',
|
|
976
977
|
choices: [
|
|
977
|
-
{
|
|
978
|
-
{
|
|
979
|
-
{
|
|
978
|
+
{label: 'Travel Vertical', value:'travel'},
|
|
979
|
+
{label: 'Network Vertical', value:'network'},
|
|
980
|
+
{label: 'Finance Vertical', value:'finance'}
|
|
980
981
|
]
|
|
981
982
|
},
|
|
982
983
|
userId: {
|
|
@@ -996,7 +997,9 @@ export const orderFields: Record<string, InputField> = {
|
|
|
996
997
|
label: 'Page Type',
|
|
997
998
|
description: 'Page type to be sent to CJ. Must be set to "conversionConfirmation" for order events.',
|
|
998
999
|
type: 'string',
|
|
999
|
-
choices: [
|
|
1000
|
+
choices: [
|
|
1001
|
+
{ label: 'Conversion Confirmation', value: 'conversionConfirmation' }
|
|
1002
|
+
],
|
|
1000
1003
|
required: true,
|
|
1001
1004
|
default: 'conversionConfirmation',
|
|
1002
1005
|
readOnly: true
|
|
@@ -1026,7 +1029,7 @@ export const orderFields: Record<string, InputField> = {
|
|
|
1026
1029
|
label: 'Action Tracker ID',
|
|
1027
1030
|
description:
|
|
1028
1031
|
'Required if not specified in Settings. This is a static value provided by CJ. Each account may have multiple actions and each will be referenced by a different actionTrackerId value.',
|
|
1029
|
-
type: 'string'
|
|
1032
|
+
type: 'string'
|
|
1030
1033
|
},
|
|
1031
1034
|
currency: {
|
|
1032
1035
|
label: 'Currency',
|
|
@@ -1111,4 +1114,4 @@ export const orderFields: Record<string, InputField> = {
|
|
|
1111
1114
|
travelVerticals,
|
|
1112
1115
|
financeVerticals,
|
|
1113
1116
|
networkServicesVerticals
|
|
1114
|
-
}
|
|
1117
|
+
}
|