shopify-webhook-schemas 0.1.2 → 0.1.4
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/Readme.md +14 -2
- package/dist/src/anonymize-exemplars.d.ts +1 -0
- package/dist/src/anonymize-exemplars.js +51 -0
- package/dist/src/index.js +11 -5
- package/dist/src/scrape.js +501 -182
- package/metadatas/2024-07/app_purchases_one_time/update.json +1 -1
- package/metadatas/2024-07/app_subscriptions/approaching_capped_amount.json +1 -1
- package/metadatas/2024-07/app_subscriptions/update.json +1 -1
- package/metadatas/2024-07/bulk_operations/finish.json +2 -2
- package/metadatas/2024-07/checkouts/create.json +6 -6
- package/metadatas/2024-07/checkouts/update.json +6 -6
- package/metadatas/2024-07/draft_orders/create.json +20 -20
- package/metadatas/2024-07/draft_orders/update.json +20 -20
- package/metadatas/2024-07/orders/edited.json +1 -0
- package/metadatas/2024-07/product_listings/add.json +1 -13
- package/metadatas/2024-07/product_listings/update.json +1 -13
- package/metadatas/2024-07/scheduled_product_listings/add.json +1 -13
- package/metadatas/2024-07/scheduled_product_listings/update.json +1 -13
- package/metadatas/2024-07/selling_plan_groups/create.json +2 -2
- package/metadatas/2024-07/selling_plan_groups/delete.json +2 -2
- package/metadatas/2024-07/selling_plan_groups/update.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/challenged.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/failure.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/success.json +2 -2
- package/metadatas/2024-07/subscription_billing_cycle_edits/create.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycle_edits/delete.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycle_edits/update.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycles/skip.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycles/unskip.json +1 -1
- package/metadatas/2024-07/subscription_contracts/activate.json +3 -3
- package/metadatas/2024-07/subscription_contracts/cancel.json +3 -3
- package/metadatas/2024-07/subscription_contracts/create.json +3 -3
- package/metadatas/2024-07/subscription_contracts/expire.json +3 -3
- package/metadatas/2024-07/subscription_contracts/fail.json +3 -3
- package/metadatas/2024-07/subscription_contracts/pause.json +3 -3
- package/metadatas/2024-07/subscription_contracts/update.json +3 -3
- package/package.json +9 -1
- package/schemas/2023-07/checkouts/create.json +578 -102
- package/schemas/2023-07/checkouts/delete.json +26 -4
- package/schemas/2023-07/checkouts/update.json +578 -102
- package/schemas/2023-07/collection_listings/add.json +9 -2
- package/schemas/2023-07/collection_listings/remove.json +7 -0
- package/schemas/2023-07/collection_listings/update.json +9 -2
- package/schemas/2023-07/company_locations/create.json +8 -2
- package/schemas/2023-07/company_locations/delete.json +8 -2
- package/schemas/2023-07/company_locations/update.json +8 -2
- package/schemas/2023-07/draft_orders/create.json +729 -126
- package/schemas/2023-07/draft_orders/update.json +729 -126
- package/schemas/2023-07/fulfillments/create.json +149 -30
- package/schemas/2023-07/fulfillments/update.json +149 -30
- package/schemas/2023-07/order_transactions/create.json +31 -9
- package/schemas/2023-07/orders/cancelled.json +966 -48
- package/schemas/2023-07/orders/create.json +966 -48
- package/schemas/2023-07/orders/fulfilled.json +966 -48
- package/schemas/2023-07/orders/paid.json +966 -48
- package/schemas/2023-07/orders/partially_fulfilled.json +966 -48
- package/schemas/2023-07/orders/updated.json +966 -48
- package/schemas/2023-07/products/create.json +191 -17
- package/schemas/2023-07/products/update.json +191 -17
- package/schemas/2023-10/checkouts/create.json +578 -102
- package/schemas/2023-10/checkouts/delete.json +26 -4
- package/schemas/2023-10/checkouts/update.json +578 -102
- package/schemas/2023-10/collection_listings/add.json +9 -2
- package/schemas/2023-10/collection_listings/remove.json +7 -0
- package/schemas/2023-10/collection_listings/update.json +9 -2
- package/schemas/2023-10/company_locations/create.json +8 -2
- package/schemas/2023-10/company_locations/delete.json +8 -2
- package/schemas/2023-10/company_locations/update.json +8 -2
- package/schemas/2023-10/draft_orders/create.json +729 -126
- package/schemas/2023-10/draft_orders/update.json +729 -126
- package/schemas/2023-10/fulfillments/create.json +149 -30
- package/schemas/2023-10/fulfillments/update.json +149 -30
- package/schemas/2023-10/order_transactions/create.json +28 -9
- package/schemas/2023-10/orders/cancelled.json +966 -48
- package/schemas/2023-10/orders/create.json +966 -48
- package/schemas/2023-10/orders/fulfilled.json +966 -48
- package/schemas/2023-10/orders/paid.json +966 -48
- package/schemas/2023-10/orders/partially_fulfilled.json +966 -48
- package/schemas/2023-10/orders/updated.json +966 -48
- package/schemas/2023-10/products/create.json +191 -17
- package/schemas/2023-10/products/update.json +191 -17
- package/schemas/2024-01/checkouts/create.json +585 -100
- package/schemas/2024-01/checkouts/delete.json +26 -4
- package/schemas/2024-01/checkouts/update.json +585 -100
- package/schemas/2024-01/collection_listings/add.json +9 -2
- package/schemas/2024-01/collection_listings/remove.json +7 -0
- package/schemas/2024-01/collection_listings/update.json +9 -2
- package/schemas/2024-01/company_locations/create.json +8 -2
- package/schemas/2024-01/company_locations/delete.json +8 -2
- package/schemas/2024-01/company_locations/update.json +8 -2
- package/schemas/2024-01/draft_orders/create.json +733 -124
- package/schemas/2024-01/draft_orders/update.json +733 -124
- package/schemas/2024-01/fulfillment_orders/split.json +237 -2
- package/schemas/2024-01/fulfillments/create.json +149 -30
- package/schemas/2024-01/fulfillments/update.json +149 -30
- package/schemas/2024-01/order_transactions/create.json +28 -9
- package/schemas/2024-01/orders/cancelled.json +970 -50
- package/schemas/2024-01/orders/create.json +970 -50
- package/schemas/2024-01/orders/fulfilled.json +970 -50
- package/schemas/2024-01/orders/paid.json +970 -50
- package/schemas/2024-01/orders/partially_fulfilled.json +970 -50
- package/schemas/2024-01/orders/updated.json +970 -50
- package/schemas/2024-01/products/create.json +191 -17
- package/schemas/2024-01/products/update.json +191 -17
- package/schemas/2024-04/checkouts/create.json +585 -100
- package/schemas/2024-04/checkouts/delete.json +26 -4
- package/schemas/2024-04/checkouts/update.json +585 -100
- package/schemas/2024-04/collection_listings/add.json +9 -2
- package/schemas/2024-04/collection_listings/remove.json +7 -0
- package/schemas/2024-04/collection_listings/update.json +9 -2
- package/schemas/2024-04/company_locations/create.json +8 -2
- package/schemas/2024-04/company_locations/delete.json +8 -2
- package/schemas/2024-04/company_locations/update.json +8 -2
- package/schemas/2024-04/draft_orders/create.json +733 -124
- package/schemas/2024-04/draft_orders/update.json +733 -124
- package/schemas/2024-04/fulfillment_orders/split.json +237 -2
- package/schemas/2024-04/fulfillments/create.json +149 -30
- package/schemas/2024-04/fulfillments/update.json +149 -30
- package/schemas/2024-04/order_transactions/create.json +28 -9
- package/schemas/2024-04/orders/cancelled.json +967 -50
- package/schemas/2024-04/orders/create.json +967 -50
- package/schemas/2024-04/orders/fulfilled.json +967 -50
- package/schemas/2024-04/orders/paid.json +967 -50
- package/schemas/2024-04/orders/partially_fulfilled.json +967 -50
- package/schemas/2024-04/orders/updated.json +967 -50
- package/schemas/2024-04/products/create.json +191 -17
- package/schemas/2024-04/products/update.json +191 -17
- package/schemas/2024-07/checkouts/create.json +585 -100
- package/schemas/2024-07/checkouts/delete.json +26 -4
- package/schemas/2024-07/checkouts/update.json +585 -100
- package/schemas/2024-07/collection_listings/add.json +9 -2
- package/schemas/2024-07/collection_listings/remove.json +7 -0
- package/schemas/2024-07/collection_listings/update.json +9 -2
- package/schemas/2024-07/company_locations/create.json +8 -2
- package/schemas/2024-07/company_locations/delete.json +8 -2
- package/schemas/2024-07/company_locations/update.json +8 -2
- package/schemas/2024-07/draft_orders/create.json +733 -124
- package/schemas/2024-07/draft_orders/update.json +733 -124
- package/schemas/2024-07/fulfillment_orders/split.json +237 -2
- package/schemas/2024-07/fulfillments/create.json +149 -30
- package/schemas/2024-07/fulfillments/update.json +149 -30
- package/schemas/2024-07/order_transactions/create.json +28 -9
- package/schemas/2024-07/orders/cancelled.json +967 -50
- package/schemas/2024-07/orders/create.json +967 -50
- package/schemas/2024-07/orders/edited.json +5 -0
- package/schemas/2024-07/orders/fulfilled.json +967 -50
- package/schemas/2024-07/orders/paid.json +967 -50
- package/schemas/2024-07/orders/partially_fulfilled.json +967 -50
- package/schemas/2024-07/orders/updated.json +967 -50
- package/schemas/2024-07/product_listings/add.json +1 -44
- package/schemas/2024-07/product_listings/update.json +1 -44
- package/schemas/2024-07/products/create.json +191 -17
- package/schemas/2024-07/products/update.json +191 -17
- package/schemas/2024-07/scheduled_product_listings/add.json +1 -44
- package/schemas/2024-07/scheduled_product_listings/update.json +1 -44
|
@@ -46,19 +46,31 @@
|
|
|
46
46
|
"null"
|
|
47
47
|
],
|
|
48
48
|
"properties": {
|
|
49
|
-
"
|
|
49
|
+
"address1": {
|
|
50
50
|
"type": "string"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"city": {
|
|
53
53
|
"type": "string"
|
|
54
54
|
},
|
|
55
|
-
"
|
|
55
|
+
"zip": {
|
|
56
56
|
"type": "string"
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"address2": {
|
|
59
|
+
"type": [
|
|
60
|
+
"string",
|
|
61
|
+
"null"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"country_code": {
|
|
59
65
|
"type": "string"
|
|
60
66
|
},
|
|
61
|
-
"
|
|
67
|
+
"province_code": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"first_name": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"phone": {
|
|
62
74
|
"type": "string"
|
|
63
75
|
},
|
|
64
76
|
"province": {
|
|
@@ -70,9 +82,6 @@
|
|
|
70
82
|
"last_name": {
|
|
71
83
|
"type": "string"
|
|
72
84
|
},
|
|
73
|
-
"address2": {
|
|
74
|
-
"type": "null"
|
|
75
|
-
},
|
|
76
85
|
"company": {
|
|
77
86
|
"type": "string"
|
|
78
87
|
},
|
|
@@ -84,28 +93,13 @@
|
|
|
84
93
|
},
|
|
85
94
|
"name": {
|
|
86
95
|
"type": "string"
|
|
87
|
-
},
|
|
88
|
-
"country_code": {
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
"province_code": {
|
|
92
|
-
"type": "string"
|
|
93
96
|
}
|
|
94
97
|
},
|
|
95
98
|
"required": [
|
|
96
|
-
"first_name",
|
|
97
99
|
"address1",
|
|
98
|
-
"phone",
|
|
99
100
|
"city",
|
|
100
101
|
"zip",
|
|
101
|
-
"province",
|
|
102
|
-
"country",
|
|
103
|
-
"last_name",
|
|
104
102
|
"address2",
|
|
105
|
-
"company",
|
|
106
|
-
"latitude",
|
|
107
|
-
"longitude",
|
|
108
|
-
"name",
|
|
109
103
|
"country_code",
|
|
110
104
|
"province_code"
|
|
111
105
|
]
|
|
@@ -145,13 +139,22 @@
|
|
|
145
139
|
"type": "null"
|
|
146
140
|
},
|
|
147
141
|
"company": {
|
|
148
|
-
"type":
|
|
142
|
+
"type": [
|
|
143
|
+
"string",
|
|
144
|
+
"null"
|
|
145
|
+
]
|
|
149
146
|
},
|
|
150
147
|
"latitude": {
|
|
151
|
-
"type":
|
|
148
|
+
"type": [
|
|
149
|
+
"number",
|
|
150
|
+
"null"
|
|
151
|
+
]
|
|
152
152
|
},
|
|
153
153
|
"longitude": {
|
|
154
|
-
"type":
|
|
154
|
+
"type": [
|
|
155
|
+
"number",
|
|
156
|
+
"null"
|
|
157
|
+
]
|
|
155
158
|
},
|
|
156
159
|
"name": {
|
|
157
160
|
"type": "string"
|
|
@@ -202,10 +205,16 @@
|
|
|
202
205
|
"type": "string"
|
|
203
206
|
},
|
|
204
207
|
"variant_title": {
|
|
205
|
-
"type":
|
|
208
|
+
"type": [
|
|
209
|
+
"string",
|
|
210
|
+
"null"
|
|
211
|
+
]
|
|
206
212
|
},
|
|
207
213
|
"vendor": {
|
|
208
|
-
"type":
|
|
214
|
+
"type": [
|
|
215
|
+
"string",
|
|
216
|
+
"null"
|
|
217
|
+
]
|
|
209
218
|
},
|
|
210
219
|
"fulfillment_service": {
|
|
211
220
|
"type": "string"
|
|
@@ -248,7 +257,10 @@
|
|
|
248
257
|
"type": "string"
|
|
249
258
|
},
|
|
250
259
|
"fulfillment_status": {
|
|
251
|
-
"type":
|
|
260
|
+
"type": [
|
|
261
|
+
"string",
|
|
262
|
+
"null"
|
|
263
|
+
]
|
|
252
264
|
},
|
|
253
265
|
"price_set": {
|
|
254
266
|
"type": "object",
|
|
@@ -396,7 +408,114 @@
|
|
|
396
408
|
},
|
|
397
409
|
"tax_lines": {
|
|
398
410
|
"type": "array",
|
|
399
|
-
"items":
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"rate": {
|
|
415
|
+
"type": "number"
|
|
416
|
+
},
|
|
417
|
+
"title": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"channel_liable": {
|
|
421
|
+
"type": "boolean"
|
|
422
|
+
},
|
|
423
|
+
"price": {
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"price_set": {
|
|
427
|
+
"type": "object",
|
|
428
|
+
"properties": {
|
|
429
|
+
"presentment_money": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"amount": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"currency_code": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": [
|
|
440
|
+
"amount",
|
|
441
|
+
"currency_code"
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"shop_money": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"amount": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"currency_code": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"required": [
|
|
455
|
+
"amount",
|
|
456
|
+
"currency_code"
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"required": [
|
|
461
|
+
"presentment_money",
|
|
462
|
+
"shop_money"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"rate",
|
|
468
|
+
"title",
|
|
469
|
+
"channel_liable",
|
|
470
|
+
"price",
|
|
471
|
+
"price_set"
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"tax_code": {
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"pre_tax_price_set": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"presentment_money": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"properties": {
|
|
484
|
+
"amount": {
|
|
485
|
+
"type": "string"
|
|
486
|
+
},
|
|
487
|
+
"currency_code": {
|
|
488
|
+
"type": "string"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"required": [
|
|
492
|
+
"amount",
|
|
493
|
+
"currency_code"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
"shop_money": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"properties": {
|
|
499
|
+
"currency_code": {
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"amount": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"required": [
|
|
507
|
+
"currency_code",
|
|
508
|
+
"amount"
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"required": [
|
|
513
|
+
"presentment_money",
|
|
514
|
+
"shop_money"
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
"pre_tax_price": {
|
|
518
|
+
"type": "string"
|
|
400
519
|
}
|
|
401
520
|
},
|
|
402
521
|
"required": [
|
|
@@ -46,19 +46,31 @@
|
|
|
46
46
|
"null"
|
|
47
47
|
],
|
|
48
48
|
"properties": {
|
|
49
|
-
"
|
|
49
|
+
"address1": {
|
|
50
50
|
"type": "string"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"city": {
|
|
53
53
|
"type": "string"
|
|
54
54
|
},
|
|
55
|
-
"
|
|
55
|
+
"zip": {
|
|
56
56
|
"type": "string"
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"address2": {
|
|
59
|
+
"type": [
|
|
60
|
+
"string",
|
|
61
|
+
"null"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"country_code": {
|
|
59
65
|
"type": "string"
|
|
60
66
|
},
|
|
61
|
-
"
|
|
67
|
+
"province_code": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"first_name": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"phone": {
|
|
62
74
|
"type": "string"
|
|
63
75
|
},
|
|
64
76
|
"province": {
|
|
@@ -70,9 +82,6 @@
|
|
|
70
82
|
"last_name": {
|
|
71
83
|
"type": "string"
|
|
72
84
|
},
|
|
73
|
-
"address2": {
|
|
74
|
-
"type": "null"
|
|
75
|
-
},
|
|
76
85
|
"company": {
|
|
77
86
|
"type": "string"
|
|
78
87
|
},
|
|
@@ -84,28 +93,13 @@
|
|
|
84
93
|
},
|
|
85
94
|
"name": {
|
|
86
95
|
"type": "string"
|
|
87
|
-
},
|
|
88
|
-
"country_code": {
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
"province_code": {
|
|
92
|
-
"type": "string"
|
|
93
96
|
}
|
|
94
97
|
},
|
|
95
98
|
"required": [
|
|
96
|
-
"first_name",
|
|
97
99
|
"address1",
|
|
98
|
-
"phone",
|
|
99
100
|
"city",
|
|
100
101
|
"zip",
|
|
101
|
-
"province",
|
|
102
|
-
"country",
|
|
103
|
-
"last_name",
|
|
104
102
|
"address2",
|
|
105
|
-
"company",
|
|
106
|
-
"latitude",
|
|
107
|
-
"longitude",
|
|
108
|
-
"name",
|
|
109
103
|
"country_code",
|
|
110
104
|
"province_code"
|
|
111
105
|
]
|
|
@@ -145,13 +139,22 @@
|
|
|
145
139
|
"type": "null"
|
|
146
140
|
},
|
|
147
141
|
"company": {
|
|
148
|
-
"type":
|
|
142
|
+
"type": [
|
|
143
|
+
"string",
|
|
144
|
+
"null"
|
|
145
|
+
]
|
|
149
146
|
},
|
|
150
147
|
"latitude": {
|
|
151
|
-
"type":
|
|
148
|
+
"type": [
|
|
149
|
+
"number",
|
|
150
|
+
"null"
|
|
151
|
+
]
|
|
152
152
|
},
|
|
153
153
|
"longitude": {
|
|
154
|
-
"type":
|
|
154
|
+
"type": [
|
|
155
|
+
"number",
|
|
156
|
+
"null"
|
|
157
|
+
]
|
|
155
158
|
},
|
|
156
159
|
"name": {
|
|
157
160
|
"type": "string"
|
|
@@ -202,10 +205,16 @@
|
|
|
202
205
|
"type": "string"
|
|
203
206
|
},
|
|
204
207
|
"variant_title": {
|
|
205
|
-
"type":
|
|
208
|
+
"type": [
|
|
209
|
+
"string",
|
|
210
|
+
"null"
|
|
211
|
+
]
|
|
206
212
|
},
|
|
207
213
|
"vendor": {
|
|
208
|
-
"type":
|
|
214
|
+
"type": [
|
|
215
|
+
"string",
|
|
216
|
+
"null"
|
|
217
|
+
]
|
|
209
218
|
},
|
|
210
219
|
"fulfillment_service": {
|
|
211
220
|
"type": "string"
|
|
@@ -248,7 +257,10 @@
|
|
|
248
257
|
"type": "string"
|
|
249
258
|
},
|
|
250
259
|
"fulfillment_status": {
|
|
251
|
-
"type":
|
|
260
|
+
"type": [
|
|
261
|
+
"string",
|
|
262
|
+
"null"
|
|
263
|
+
]
|
|
252
264
|
},
|
|
253
265
|
"price_set": {
|
|
254
266
|
"type": "object",
|
|
@@ -396,7 +408,114 @@
|
|
|
396
408
|
},
|
|
397
409
|
"tax_lines": {
|
|
398
410
|
"type": "array",
|
|
399
|
-
"items":
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"rate": {
|
|
415
|
+
"type": "number"
|
|
416
|
+
},
|
|
417
|
+
"title": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"channel_liable": {
|
|
421
|
+
"type": "boolean"
|
|
422
|
+
},
|
|
423
|
+
"price": {
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"price_set": {
|
|
427
|
+
"type": "object",
|
|
428
|
+
"properties": {
|
|
429
|
+
"presentment_money": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"amount": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"currency_code": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": [
|
|
440
|
+
"amount",
|
|
441
|
+
"currency_code"
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"shop_money": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"amount": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"currency_code": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"required": [
|
|
455
|
+
"amount",
|
|
456
|
+
"currency_code"
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"required": [
|
|
461
|
+
"presentment_money",
|
|
462
|
+
"shop_money"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"rate",
|
|
468
|
+
"title",
|
|
469
|
+
"channel_liable",
|
|
470
|
+
"price",
|
|
471
|
+
"price_set"
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"tax_code": {
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"pre_tax_price_set": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"presentment_money": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"properties": {
|
|
484
|
+
"amount": {
|
|
485
|
+
"type": "string"
|
|
486
|
+
},
|
|
487
|
+
"currency_code": {
|
|
488
|
+
"type": "string"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"required": [
|
|
492
|
+
"amount",
|
|
493
|
+
"currency_code"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
"shop_money": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"properties": {
|
|
499
|
+
"currency_code": {
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"amount": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"required": [
|
|
507
|
+
"currency_code",
|
|
508
|
+
"amount"
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"required": [
|
|
513
|
+
"presentment_money",
|
|
514
|
+
"shop_money"
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
"pre_tax_price": {
|
|
518
|
+
"type": "string"
|
|
400
519
|
}
|
|
401
520
|
},
|
|
402
521
|
"required": [
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
"type": "boolean"
|
|
32
32
|
},
|
|
33
33
|
"authorization": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
"format": "time"
|
|
34
|
+
"type": "string"
|
|
36
35
|
},
|
|
37
36
|
"location_id": {
|
|
38
37
|
"type": [
|
|
@@ -78,13 +77,23 @@
|
|
|
78
77
|
"type": "object",
|
|
79
78
|
"properties": {
|
|
80
79
|
"credit_card_bin": {
|
|
81
|
-
"type":
|
|
80
|
+
"type": [
|
|
81
|
+
"string",
|
|
82
|
+
"null"
|
|
83
|
+
],
|
|
84
|
+
"format": "date-time"
|
|
82
85
|
},
|
|
83
86
|
"avs_result_code": {
|
|
84
|
-
"type":
|
|
87
|
+
"type": [
|
|
88
|
+
"string",
|
|
89
|
+
"null"
|
|
90
|
+
]
|
|
85
91
|
},
|
|
86
92
|
"cvv_result_code": {
|
|
87
|
-
"type":
|
|
93
|
+
"type": [
|
|
94
|
+
"string",
|
|
95
|
+
"null"
|
|
96
|
+
]
|
|
88
97
|
},
|
|
89
98
|
"credit_card_number": {
|
|
90
99
|
"type": "string"
|
|
@@ -96,16 +105,28 @@
|
|
|
96
105
|
"type": "null"
|
|
97
106
|
},
|
|
98
107
|
"credit_card_name": {
|
|
99
|
-
"type":
|
|
108
|
+
"type": [
|
|
109
|
+
"string",
|
|
110
|
+
"null"
|
|
111
|
+
]
|
|
100
112
|
},
|
|
101
113
|
"credit_card_wallet": {
|
|
102
114
|
"type": "null"
|
|
103
115
|
},
|
|
104
116
|
"credit_card_expiration_month": {
|
|
105
|
-
"type":
|
|
117
|
+
"type": [
|
|
118
|
+
"integer",
|
|
119
|
+
"null"
|
|
120
|
+
]
|
|
106
121
|
},
|
|
107
122
|
"credit_card_expiration_year": {
|
|
108
|
-
"type":
|
|
123
|
+
"type": [
|
|
124
|
+
"integer",
|
|
125
|
+
"null"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"payment_method_name": {
|
|
129
|
+
"type": "string"
|
|
109
130
|
}
|
|
110
131
|
},
|
|
111
132
|
"required": [
|
|
@@ -122,7 +143,8 @@
|
|
|
122
143
|
]
|
|
123
144
|
},
|
|
124
145
|
"receipt": {
|
|
125
|
-
"type": "object"
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": true
|
|
126
148
|
},
|
|
127
149
|
"amount": {
|
|
128
150
|
"type": "string"
|