@voyant-travel/openapi 0.2.6 → 0.3.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.
- package/package.json +8 -5
- package/spec/admin/accommodations.json +1395 -0
- package/spec/admin/action-ledger.json +6202 -0
- package/spec/admin/booking-requirements.json +5689 -0
- package/spec/admin/bookings.json +18794 -0
- package/spec/admin/catalog.json +690 -0
- package/spec/admin/distribution.json +19581 -0
- package/spec/admin/external-refs.json +1382 -0
- package/spec/admin/extras.json +4648 -0
- package/spec/admin/finance.json +35506 -0
- package/spec/admin/identity.json +4072 -0
- package/spec/admin/legal.json +14339 -0
- package/spec/admin/markets.json +5286 -0
- package/spec/admin/notifications.json +8409 -0
- package/spec/admin/operations.json +39806 -0
- package/spec/admin/operator-settings.json +1389 -0
- package/spec/admin/pricing.json +10640 -0
- package/spec/admin/products.json +22131 -0
- package/spec/admin/promotions.json +2730 -0
- package/spec/admin/quotes.json +7033 -0
- package/spec/admin/relationships.json +13911 -0
- package/spec/admin/sellability.json +4840 -0
- package/spec/admin/storefront.json +1953 -0
- package/spec/admin/suppliers.json +5850 -0
- package/spec/admin/trips.json +9357 -0
- package/spec/framework-admin.json +2812 -552
- package/spec/framework-openapi.json +2710 -276
- package/spec/framework-storefront.json +178 -4
- package/spec/storefront/booking-requirements.json +367 -0
- package/spec/storefront/bookings.json +6137 -0
- package/spec/storefront/catalog.json +690 -0
- package/spec/storefront/customer-portal.json +6038 -0
- package/spec/storefront/finance.json +4824 -0
- package/spec/storefront/legal.json +2082 -0
- package/spec/storefront/markets.json +256 -0
- package/spec/storefront/operator-settings.json +309 -0
- package/spec/storefront/pricing.json +585 -0
- package/spec/storefront/products.json +2910 -0
- package/spec/storefront/storefront-verification.json +909 -0
- package/spec/storefront/storefront.json +4067 -0
- package/spec/storefront/trips.json +9357 -0
|
@@ -43812,6 +43812,42 @@
|
|
|
43812
43812
|
}
|
|
43813
43813
|
}
|
|
43814
43814
|
}
|
|
43815
|
+
},
|
|
43816
|
+
"404": {
|
|
43817
|
+
"description": "Referenced resource pool or resource not found",
|
|
43818
|
+
"content": {
|
|
43819
|
+
"application/json": {
|
|
43820
|
+
"schema": {
|
|
43821
|
+
"type": "object",
|
|
43822
|
+
"properties": {
|
|
43823
|
+
"error": {
|
|
43824
|
+
"type": "string"
|
|
43825
|
+
}
|
|
43826
|
+
},
|
|
43827
|
+
"required": [
|
|
43828
|
+
"error"
|
|
43829
|
+
]
|
|
43830
|
+
}
|
|
43831
|
+
}
|
|
43832
|
+
}
|
|
43833
|
+
},
|
|
43834
|
+
"409": {
|
|
43835
|
+
"description": "Resource pool member already exists",
|
|
43836
|
+
"content": {
|
|
43837
|
+
"application/json": {
|
|
43838
|
+
"schema": {
|
|
43839
|
+
"type": "object",
|
|
43840
|
+
"properties": {
|
|
43841
|
+
"error": {
|
|
43842
|
+
"type": "string"
|
|
43843
|
+
}
|
|
43844
|
+
},
|
|
43845
|
+
"required": [
|
|
43846
|
+
"error"
|
|
43847
|
+
]
|
|
43848
|
+
}
|
|
43849
|
+
}
|
|
43850
|
+
}
|
|
43815
43851
|
}
|
|
43816
43852
|
}
|
|
43817
43853
|
}
|
|
@@ -44163,6 +44199,24 @@
|
|
|
44163
44199
|
}
|
|
44164
44200
|
}
|
|
44165
44201
|
}
|
|
44202
|
+
},
|
|
44203
|
+
"404": {
|
|
44204
|
+
"description": "Referenced resource pool not found",
|
|
44205
|
+
"content": {
|
|
44206
|
+
"application/json": {
|
|
44207
|
+
"schema": {
|
|
44208
|
+
"type": "object",
|
|
44209
|
+
"properties": {
|
|
44210
|
+
"error": {
|
|
44211
|
+
"type": "string"
|
|
44212
|
+
}
|
|
44213
|
+
},
|
|
44214
|
+
"required": [
|
|
44215
|
+
"error"
|
|
44216
|
+
]
|
|
44217
|
+
}
|
|
44218
|
+
}
|
|
44219
|
+
}
|
|
44166
44220
|
}
|
|
44167
44221
|
}
|
|
44168
44222
|
}
|
|
@@ -44707,7 +44761,7 @@
|
|
|
44707
44761
|
}
|
|
44708
44762
|
},
|
|
44709
44763
|
"404": {
|
|
44710
|
-
"description": "Resource requirement not found",
|
|
44764
|
+
"description": "Resource requirement or referenced resource pool not found",
|
|
44711
44765
|
"content": {
|
|
44712
44766
|
"application/json": {
|
|
44713
44767
|
"schema": {
|
|
@@ -45072,6 +45126,24 @@
|
|
|
45072
45126
|
}
|
|
45073
45127
|
}
|
|
45074
45128
|
}
|
|
45129
|
+
},
|
|
45130
|
+
"404": {
|
|
45131
|
+
"description": "Referenced resource pool not found",
|
|
45132
|
+
"content": {
|
|
45133
|
+
"application/json": {
|
|
45134
|
+
"schema": {
|
|
45135
|
+
"type": "object",
|
|
45136
|
+
"properties": {
|
|
45137
|
+
"error": {
|
|
45138
|
+
"type": "string"
|
|
45139
|
+
}
|
|
45140
|
+
},
|
|
45141
|
+
"required": [
|
|
45142
|
+
"error"
|
|
45143
|
+
]
|
|
45144
|
+
}
|
|
45145
|
+
}
|
|
45146
|
+
}
|
|
45075
45147
|
}
|
|
45076
45148
|
}
|
|
45077
45149
|
}
|
|
@@ -45616,7 +45688,7 @@
|
|
|
45616
45688
|
}
|
|
45617
45689
|
},
|
|
45618
45690
|
"404": {
|
|
45619
|
-
"description": "Resource allocation not found",
|
|
45691
|
+
"description": "Resource allocation or referenced resource pool not found",
|
|
45620
45692
|
"content": {
|
|
45621
45693
|
"application/json": {
|
|
45622
45694
|
"schema": {
|
|
@@ -46041,6 +46113,24 @@
|
|
|
46041
46113
|
}
|
|
46042
46114
|
}
|
|
46043
46115
|
}
|
|
46116
|
+
},
|
|
46117
|
+
"404": {
|
|
46118
|
+
"description": "Referenced resource pool or resource not found",
|
|
46119
|
+
"content": {
|
|
46120
|
+
"application/json": {
|
|
46121
|
+
"schema": {
|
|
46122
|
+
"type": "object",
|
|
46123
|
+
"properties": {
|
|
46124
|
+
"error": {
|
|
46125
|
+
"type": "string"
|
|
46126
|
+
}
|
|
46127
|
+
},
|
|
46128
|
+
"required": [
|
|
46129
|
+
"error"
|
|
46130
|
+
]
|
|
46131
|
+
}
|
|
46132
|
+
}
|
|
46133
|
+
}
|
|
46044
46134
|
}
|
|
46045
46135
|
}
|
|
46046
46136
|
}
|
|
@@ -46662,7 +46752,7 @@
|
|
|
46662
46752
|
}
|
|
46663
46753
|
},
|
|
46664
46754
|
"404": {
|
|
46665
|
-
"description": "Resource slot assignment not found",
|
|
46755
|
+
"description": "Resource slot assignment or referenced resource pool/resource not found",
|
|
46666
46756
|
"content": {
|
|
46667
46757
|
"application/json": {
|
|
46668
46758
|
"schema": {
|
|
@@ -46998,6 +47088,24 @@
|
|
|
46998
47088
|
}
|
|
46999
47089
|
}
|
|
47000
47090
|
}
|
|
47091
|
+
},
|
|
47092
|
+
"404": {
|
|
47093
|
+
"description": "Referenced resource not found",
|
|
47094
|
+
"content": {
|
|
47095
|
+
"application/json": {
|
|
47096
|
+
"schema": {
|
|
47097
|
+
"type": "object",
|
|
47098
|
+
"properties": {
|
|
47099
|
+
"error": {
|
|
47100
|
+
"type": "string"
|
|
47101
|
+
}
|
|
47102
|
+
},
|
|
47103
|
+
"required": [
|
|
47104
|
+
"error"
|
|
47105
|
+
]
|
|
47106
|
+
}
|
|
47107
|
+
}
|
|
47108
|
+
}
|
|
47001
47109
|
}
|
|
47002
47110
|
}
|
|
47003
47111
|
}
|
|
@@ -47520,7 +47628,7 @@
|
|
|
47520
47628
|
}
|
|
47521
47629
|
},
|
|
47522
47630
|
"404": {
|
|
47523
|
-
"description": "Resource closeout not found",
|
|
47631
|
+
"description": "Resource closeout or referenced resource not found",
|
|
47524
47632
|
"content": {
|
|
47525
47633
|
"application/json": {
|
|
47526
47634
|
"schema": {
|
|
@@ -76650,6 +76758,39 @@
|
|
|
76650
76758
|
"active": {
|
|
76651
76759
|
"type": "boolean",
|
|
76652
76760
|
"default": true
|
|
76761
|
+
},
|
|
76762
|
+
"sourceKind": {
|
|
76763
|
+
"type": [
|
|
76764
|
+
"string",
|
|
76765
|
+
"null"
|
|
76766
|
+
],
|
|
76767
|
+
"minLength": 1
|
|
76768
|
+
},
|
|
76769
|
+
"sourceConnectionId": {
|
|
76770
|
+
"type": [
|
|
76771
|
+
"string",
|
|
76772
|
+
"null"
|
|
76773
|
+
],
|
|
76774
|
+
"minLength": 1
|
|
76775
|
+
},
|
|
76776
|
+
"pushBookings": {
|
|
76777
|
+
"type": "boolean",
|
|
76778
|
+
"default": true
|
|
76779
|
+
},
|
|
76780
|
+
"pushAvailability": {
|
|
76781
|
+
"type": "boolean",
|
|
76782
|
+
"default": true
|
|
76783
|
+
},
|
|
76784
|
+
"pushContent": {
|
|
76785
|
+
"type": "boolean",
|
|
76786
|
+
"default": true
|
|
76787
|
+
},
|
|
76788
|
+
"policy": {
|
|
76789
|
+
"type": [
|
|
76790
|
+
"object",
|
|
76791
|
+
"null"
|
|
76792
|
+
],
|
|
76793
|
+
"additionalProperties": {}
|
|
76653
76794
|
}
|
|
76654
76795
|
},
|
|
76655
76796
|
"required": [
|
|
@@ -76843,8 +76984,37 @@
|
|
|
76843
76984
|
]
|
|
76844
76985
|
},
|
|
76845
76986
|
"active": {
|
|
76846
|
-
"type": "boolean"
|
|
76847
|
-
|
|
76987
|
+
"type": "boolean"
|
|
76988
|
+
},
|
|
76989
|
+
"sourceKind": {
|
|
76990
|
+
"type": [
|
|
76991
|
+
"string",
|
|
76992
|
+
"null"
|
|
76993
|
+
],
|
|
76994
|
+
"minLength": 1
|
|
76995
|
+
},
|
|
76996
|
+
"sourceConnectionId": {
|
|
76997
|
+
"type": [
|
|
76998
|
+
"string",
|
|
76999
|
+
"null"
|
|
77000
|
+
],
|
|
77001
|
+
"minLength": 1
|
|
77002
|
+
},
|
|
77003
|
+
"pushBookings": {
|
|
77004
|
+
"type": "boolean"
|
|
77005
|
+
},
|
|
77006
|
+
"pushAvailability": {
|
|
77007
|
+
"type": "boolean"
|
|
77008
|
+
},
|
|
77009
|
+
"pushContent": {
|
|
77010
|
+
"type": "boolean"
|
|
77011
|
+
},
|
|
77012
|
+
"policy": {
|
|
77013
|
+
"type": [
|
|
77014
|
+
"object",
|
|
77015
|
+
"null"
|
|
77016
|
+
],
|
|
77017
|
+
"additionalProperties": {}
|
|
76848
77018
|
}
|
|
76849
77019
|
}
|
|
76850
77020
|
}
|
|
@@ -77311,8 +77481,37 @@
|
|
|
77311
77481
|
]
|
|
77312
77482
|
},
|
|
77313
77483
|
"active": {
|
|
77314
|
-
"type": "boolean"
|
|
77315
|
-
|
|
77484
|
+
"type": "boolean"
|
|
77485
|
+
},
|
|
77486
|
+
"sourceKind": {
|
|
77487
|
+
"type": [
|
|
77488
|
+
"string",
|
|
77489
|
+
"null"
|
|
77490
|
+
],
|
|
77491
|
+
"minLength": 1
|
|
77492
|
+
},
|
|
77493
|
+
"sourceConnectionId": {
|
|
77494
|
+
"type": [
|
|
77495
|
+
"string",
|
|
77496
|
+
"null"
|
|
77497
|
+
],
|
|
77498
|
+
"minLength": 1
|
|
77499
|
+
},
|
|
77500
|
+
"pushBookings": {
|
|
77501
|
+
"type": "boolean"
|
|
77502
|
+
},
|
|
77503
|
+
"pushAvailability": {
|
|
77504
|
+
"type": "boolean"
|
|
77505
|
+
},
|
|
77506
|
+
"pushContent": {
|
|
77507
|
+
"type": "boolean"
|
|
77508
|
+
},
|
|
77509
|
+
"policy": {
|
|
77510
|
+
"type": [
|
|
77511
|
+
"object",
|
|
77512
|
+
"null"
|
|
77513
|
+
],
|
|
77514
|
+
"additionalProperties": {}
|
|
77316
77515
|
}
|
|
77317
77516
|
}
|
|
77318
77517
|
}
|
|
@@ -77938,6 +78137,24 @@
|
|
|
77938
78137
|
}
|
|
77939
78138
|
}
|
|
77940
78139
|
}
|
|
78140
|
+
},
|
|
78141
|
+
"409": {
|
|
78142
|
+
"description": "duplicate_channel_booking_link",
|
|
78143
|
+
"content": {
|
|
78144
|
+
"application/json": {
|
|
78145
|
+
"schema": {
|
|
78146
|
+
"type": "object",
|
|
78147
|
+
"properties": {
|
|
78148
|
+
"error": {
|
|
78149
|
+
"type": "string"
|
|
78150
|
+
}
|
|
78151
|
+
},
|
|
78152
|
+
"required": [
|
|
78153
|
+
"error"
|
|
78154
|
+
]
|
|
78155
|
+
}
|
|
78156
|
+
}
|
|
78157
|
+
}
|
|
77941
78158
|
}
|
|
77942
78159
|
}
|
|
77943
78160
|
}
|
|
@@ -127973,6 +128190,34 @@
|
|
|
127973
128190
|
}
|
|
127974
128191
|
}
|
|
127975
128192
|
}
|
|
128193
|
+
},
|
|
128194
|
+
"409": {
|
|
128195
|
+
"description": "Active promotional offer slug or code already exists",
|
|
128196
|
+
"content": {
|
|
128197
|
+
"application/json": {
|
|
128198
|
+
"schema": {
|
|
128199
|
+
"type": "object",
|
|
128200
|
+
"properties": {
|
|
128201
|
+
"error": {
|
|
128202
|
+
"type": "string"
|
|
128203
|
+
},
|
|
128204
|
+
"code": {
|
|
128205
|
+
"type": "string"
|
|
128206
|
+
},
|
|
128207
|
+
"requestId": {
|
|
128208
|
+
"type": "string"
|
|
128209
|
+
},
|
|
128210
|
+
"details": {
|
|
128211
|
+
"type": "object",
|
|
128212
|
+
"additionalProperties": {}
|
|
128213
|
+
}
|
|
128214
|
+
},
|
|
128215
|
+
"required": [
|
|
128216
|
+
"error"
|
|
128217
|
+
]
|
|
128218
|
+
}
|
|
128219
|
+
}
|
|
128220
|
+
}
|
|
127976
128221
|
}
|
|
127977
128222
|
}
|
|
127978
128223
|
}
|
|
@@ -128974,6 +129219,34 @@
|
|
|
128974
129219
|
}
|
|
128975
129220
|
}
|
|
128976
129221
|
}
|
|
129222
|
+
},
|
|
129223
|
+
"409": {
|
|
129224
|
+
"description": "Active promotional offer slug or code already exists",
|
|
129225
|
+
"content": {
|
|
129226
|
+
"application/json": {
|
|
129227
|
+
"schema": {
|
|
129228
|
+
"type": "object",
|
|
129229
|
+
"properties": {
|
|
129230
|
+
"error": {
|
|
129231
|
+
"type": "string"
|
|
129232
|
+
},
|
|
129233
|
+
"code": {
|
|
129234
|
+
"type": "string"
|
|
129235
|
+
},
|
|
129236
|
+
"requestId": {
|
|
129237
|
+
"type": "string"
|
|
129238
|
+
},
|
|
129239
|
+
"details": {
|
|
129240
|
+
"type": "object",
|
|
129241
|
+
"additionalProperties": {}
|
|
129242
|
+
}
|
|
129243
|
+
},
|
|
129244
|
+
"required": [
|
|
129245
|
+
"error"
|
|
129246
|
+
]
|
|
129247
|
+
}
|
|
129248
|
+
}
|
|
129249
|
+
}
|
|
128977
129250
|
}
|
|
128978
129251
|
}
|
|
128979
129252
|
},
|
|
@@ -161591,6 +161864,24 @@
|
|
|
161591
161864
|
}
|
|
161592
161865
|
}
|
|
161593
161866
|
}
|
|
161867
|
+
},
|
|
161868
|
+
"409": {
|
|
161869
|
+
"description": "Booking item mutations are not allowed for this booking",
|
|
161870
|
+
"content": {
|
|
161871
|
+
"application/json": {
|
|
161872
|
+
"schema": {
|
|
161873
|
+
"type": "object",
|
|
161874
|
+
"properties": {
|
|
161875
|
+
"error": {
|
|
161876
|
+
"type": "string"
|
|
161877
|
+
}
|
|
161878
|
+
},
|
|
161879
|
+
"required": [
|
|
161880
|
+
"error"
|
|
161881
|
+
]
|
|
161882
|
+
}
|
|
161883
|
+
}
|
|
161884
|
+
}
|
|
161594
161885
|
}
|
|
161595
161886
|
}
|
|
161596
161887
|
}
|
|
@@ -162075,6 +162366,24 @@
|
|
|
162075
162366
|
}
|
|
162076
162367
|
}
|
|
162077
162368
|
}
|
|
162369
|
+
},
|
|
162370
|
+
"409": {
|
|
162371
|
+
"description": "Booking item mutations are not allowed for this booking",
|
|
162372
|
+
"content": {
|
|
162373
|
+
"application/json": {
|
|
162374
|
+
"schema": {
|
|
162375
|
+
"type": "object",
|
|
162376
|
+
"properties": {
|
|
162377
|
+
"error": {
|
|
162378
|
+
"type": "string"
|
|
162379
|
+
}
|
|
162380
|
+
},
|
|
162381
|
+
"required": [
|
|
162382
|
+
"error"
|
|
162383
|
+
]
|
|
162384
|
+
}
|
|
162385
|
+
}
|
|
162386
|
+
}
|
|
162078
162387
|
}
|
|
162079
162388
|
}
|
|
162080
162389
|
},
|
|
@@ -162133,6 +162442,24 @@
|
|
|
162133
162442
|
}
|
|
162134
162443
|
}
|
|
162135
162444
|
}
|
|
162445
|
+
},
|
|
162446
|
+
"409": {
|
|
162447
|
+
"description": "Booking item mutations are not allowed for this booking",
|
|
162448
|
+
"content": {
|
|
162449
|
+
"application/json": {
|
|
162450
|
+
"schema": {
|
|
162451
|
+
"type": "object",
|
|
162452
|
+
"properties": {
|
|
162453
|
+
"error": {
|
|
162454
|
+
"type": "string"
|
|
162455
|
+
}
|
|
162456
|
+
},
|
|
162457
|
+
"required": [
|
|
162458
|
+
"error"
|
|
162459
|
+
]
|
|
162460
|
+
}
|
|
162461
|
+
}
|
|
162462
|
+
}
|
|
162136
162463
|
}
|
|
162137
162464
|
}
|
|
162138
162465
|
}
|
|
@@ -162353,6 +162680,24 @@
|
|
|
162353
162680
|
}
|
|
162354
162681
|
}
|
|
162355
162682
|
}
|
|
162683
|
+
},
|
|
162684
|
+
"409": {
|
|
162685
|
+
"description": "Booking item mutations are not allowed for this booking",
|
|
162686
|
+
"content": {
|
|
162687
|
+
"application/json": {
|
|
162688
|
+
"schema": {
|
|
162689
|
+
"type": "object",
|
|
162690
|
+
"properties": {
|
|
162691
|
+
"error": {
|
|
162692
|
+
"type": "string"
|
|
162693
|
+
}
|
|
162694
|
+
},
|
|
162695
|
+
"required": [
|
|
162696
|
+
"error"
|
|
162697
|
+
]
|
|
162698
|
+
}
|
|
162699
|
+
}
|
|
162700
|
+
}
|
|
162356
162701
|
}
|
|
162357
162702
|
}
|
|
162358
162703
|
}
|
|
@@ -162421,6 +162766,24 @@
|
|
|
162421
162766
|
}
|
|
162422
162767
|
}
|
|
162423
162768
|
}
|
|
162769
|
+
},
|
|
162770
|
+
"409": {
|
|
162771
|
+
"description": "Booking item mutations are not allowed for this booking",
|
|
162772
|
+
"content": {
|
|
162773
|
+
"application/json": {
|
|
162774
|
+
"schema": {
|
|
162775
|
+
"type": "object",
|
|
162776
|
+
"properties": {
|
|
162777
|
+
"error": {
|
|
162778
|
+
"type": "string"
|
|
162779
|
+
}
|
|
162780
|
+
},
|
|
162781
|
+
"required": [
|
|
162782
|
+
"error"
|
|
162783
|
+
]
|
|
162784
|
+
}
|
|
162785
|
+
}
|
|
162786
|
+
}
|
|
162424
162787
|
}
|
|
162425
162788
|
}
|
|
162426
162789
|
}
|
|
@@ -166990,7 +167353,7 @@
|
|
|
166990
167353
|
],
|
|
166991
167354
|
"responses": {
|
|
166992
167355
|
"200": {
|
|
166993
|
-
"description": "A booking by id (PII redacted unless reveal-authorized
|
|
167356
|
+
"description": "A booking by id with its bookings-owned child collections (items, travelers, documents); PII redacted unless reveal-authorized",
|
|
166994
167357
|
"content": {
|
|
166995
167358
|
"application/json": {
|
|
166996
167359
|
"schema": {
|
|
@@ -167266,6 +167629,386 @@
|
|
|
167266
167629
|
},
|
|
167267
167630
|
"updatedAt": {
|
|
167268
167631
|
"type": "string"
|
|
167632
|
+
},
|
|
167633
|
+
"items": {
|
|
167634
|
+
"type": "array",
|
|
167635
|
+
"items": {
|
|
167636
|
+
"type": "object",
|
|
167637
|
+
"properties": {
|
|
167638
|
+
"id": {
|
|
167639
|
+
"type": "string"
|
|
167640
|
+
},
|
|
167641
|
+
"bookingId": {
|
|
167642
|
+
"type": "string"
|
|
167643
|
+
},
|
|
167644
|
+
"title": {
|
|
167645
|
+
"type": "string"
|
|
167646
|
+
},
|
|
167647
|
+
"description": {
|
|
167648
|
+
"type": [
|
|
167649
|
+
"string",
|
|
167650
|
+
"null"
|
|
167651
|
+
]
|
|
167652
|
+
},
|
|
167653
|
+
"itemType": {
|
|
167654
|
+
"type": "string",
|
|
167655
|
+
"enum": [
|
|
167656
|
+
"unit",
|
|
167657
|
+
"extra",
|
|
167658
|
+
"service",
|
|
167659
|
+
"fee",
|
|
167660
|
+
"tax",
|
|
167661
|
+
"discount",
|
|
167662
|
+
"adjustment",
|
|
167663
|
+
"accommodation",
|
|
167664
|
+
"transport",
|
|
167665
|
+
"other"
|
|
167666
|
+
]
|
|
167667
|
+
},
|
|
167668
|
+
"status": {
|
|
167669
|
+
"type": "string",
|
|
167670
|
+
"enum": [
|
|
167671
|
+
"draft",
|
|
167672
|
+
"on_hold",
|
|
167673
|
+
"confirmed",
|
|
167674
|
+
"cancelled",
|
|
167675
|
+
"expired",
|
|
167676
|
+
"fulfilled"
|
|
167677
|
+
]
|
|
167678
|
+
},
|
|
167679
|
+
"serviceDate": {
|
|
167680
|
+
"type": [
|
|
167681
|
+
"string",
|
|
167682
|
+
"null"
|
|
167683
|
+
]
|
|
167684
|
+
},
|
|
167685
|
+
"startsAt": {
|
|
167686
|
+
"type": [
|
|
167687
|
+
"string",
|
|
167688
|
+
"null"
|
|
167689
|
+
]
|
|
167690
|
+
},
|
|
167691
|
+
"endsAt": {
|
|
167692
|
+
"type": [
|
|
167693
|
+
"string",
|
|
167694
|
+
"null"
|
|
167695
|
+
]
|
|
167696
|
+
},
|
|
167697
|
+
"quantity": {
|
|
167698
|
+
"type": "integer"
|
|
167699
|
+
},
|
|
167700
|
+
"sellCurrency": {
|
|
167701
|
+
"type": "string"
|
|
167702
|
+
},
|
|
167703
|
+
"unitSellAmountCents": {
|
|
167704
|
+
"type": [
|
|
167705
|
+
"integer",
|
|
167706
|
+
"null"
|
|
167707
|
+
]
|
|
167708
|
+
},
|
|
167709
|
+
"totalSellAmountCents": {
|
|
167710
|
+
"type": [
|
|
167711
|
+
"integer",
|
|
167712
|
+
"null"
|
|
167713
|
+
]
|
|
167714
|
+
},
|
|
167715
|
+
"costCurrency": {
|
|
167716
|
+
"type": [
|
|
167717
|
+
"string",
|
|
167718
|
+
"null"
|
|
167719
|
+
]
|
|
167720
|
+
},
|
|
167721
|
+
"unitCostAmountCents": {
|
|
167722
|
+
"type": [
|
|
167723
|
+
"integer",
|
|
167724
|
+
"null"
|
|
167725
|
+
]
|
|
167726
|
+
},
|
|
167727
|
+
"totalCostAmountCents": {
|
|
167728
|
+
"type": [
|
|
167729
|
+
"integer",
|
|
167730
|
+
"null"
|
|
167731
|
+
]
|
|
167732
|
+
},
|
|
167733
|
+
"notes": {
|
|
167734
|
+
"type": [
|
|
167735
|
+
"string",
|
|
167736
|
+
"null"
|
|
167737
|
+
]
|
|
167738
|
+
},
|
|
167739
|
+
"productId": {
|
|
167740
|
+
"type": [
|
|
167741
|
+
"string",
|
|
167742
|
+
"null"
|
|
167743
|
+
]
|
|
167744
|
+
},
|
|
167745
|
+
"optionId": {
|
|
167746
|
+
"type": [
|
|
167747
|
+
"string",
|
|
167748
|
+
"null"
|
|
167749
|
+
]
|
|
167750
|
+
},
|
|
167751
|
+
"optionUnitId": {
|
|
167752
|
+
"type": [
|
|
167753
|
+
"string",
|
|
167754
|
+
"null"
|
|
167755
|
+
]
|
|
167756
|
+
},
|
|
167757
|
+
"pricingCategoryId": {
|
|
167758
|
+
"type": [
|
|
167759
|
+
"string",
|
|
167760
|
+
"null"
|
|
167761
|
+
]
|
|
167762
|
+
},
|
|
167763
|
+
"availabilitySlotId": {
|
|
167764
|
+
"type": [
|
|
167765
|
+
"string",
|
|
167766
|
+
"null"
|
|
167767
|
+
]
|
|
167768
|
+
},
|
|
167769
|
+
"productNameSnapshot": {
|
|
167770
|
+
"type": [
|
|
167771
|
+
"string",
|
|
167772
|
+
"null"
|
|
167773
|
+
]
|
|
167774
|
+
},
|
|
167775
|
+
"optionNameSnapshot": {
|
|
167776
|
+
"type": [
|
|
167777
|
+
"string",
|
|
167778
|
+
"null"
|
|
167779
|
+
]
|
|
167780
|
+
},
|
|
167781
|
+
"unitNameSnapshot": {
|
|
167782
|
+
"type": [
|
|
167783
|
+
"string",
|
|
167784
|
+
"null"
|
|
167785
|
+
]
|
|
167786
|
+
},
|
|
167787
|
+
"departureLabelSnapshot": {
|
|
167788
|
+
"type": [
|
|
167789
|
+
"string",
|
|
167790
|
+
"null"
|
|
167791
|
+
]
|
|
167792
|
+
},
|
|
167793
|
+
"sourceSnapshotId": {
|
|
167794
|
+
"type": [
|
|
167795
|
+
"string",
|
|
167796
|
+
"null"
|
|
167797
|
+
]
|
|
167798
|
+
},
|
|
167799
|
+
"sourceOfferId": {
|
|
167800
|
+
"type": [
|
|
167801
|
+
"string",
|
|
167802
|
+
"null"
|
|
167803
|
+
]
|
|
167804
|
+
},
|
|
167805
|
+
"metadata": {
|
|
167806
|
+
"type": [
|
|
167807
|
+
"object",
|
|
167808
|
+
"null"
|
|
167809
|
+
],
|
|
167810
|
+
"additionalProperties": {}
|
|
167811
|
+
},
|
|
167812
|
+
"createdAt": {
|
|
167813
|
+
"type": "string"
|
|
167814
|
+
},
|
|
167815
|
+
"updatedAt": {
|
|
167816
|
+
"type": "string"
|
|
167817
|
+
}
|
|
167818
|
+
},
|
|
167819
|
+
"required": [
|
|
167820
|
+
"id",
|
|
167821
|
+
"bookingId",
|
|
167822
|
+
"title",
|
|
167823
|
+
"description",
|
|
167824
|
+
"itemType",
|
|
167825
|
+
"status",
|
|
167826
|
+
"serviceDate",
|
|
167827
|
+
"startsAt",
|
|
167828
|
+
"endsAt",
|
|
167829
|
+
"quantity",
|
|
167830
|
+
"sellCurrency",
|
|
167831
|
+
"unitSellAmountCents",
|
|
167832
|
+
"totalSellAmountCents",
|
|
167833
|
+
"costCurrency",
|
|
167834
|
+
"unitCostAmountCents",
|
|
167835
|
+
"totalCostAmountCents",
|
|
167836
|
+
"notes",
|
|
167837
|
+
"productId",
|
|
167838
|
+
"optionId",
|
|
167839
|
+
"optionUnitId",
|
|
167840
|
+
"pricingCategoryId",
|
|
167841
|
+
"availabilitySlotId",
|
|
167842
|
+
"productNameSnapshot",
|
|
167843
|
+
"optionNameSnapshot",
|
|
167844
|
+
"unitNameSnapshot",
|
|
167845
|
+
"departureLabelSnapshot",
|
|
167846
|
+
"sourceSnapshotId",
|
|
167847
|
+
"sourceOfferId",
|
|
167848
|
+
"metadata",
|
|
167849
|
+
"createdAt",
|
|
167850
|
+
"updatedAt"
|
|
167851
|
+
]
|
|
167852
|
+
}
|
|
167853
|
+
},
|
|
167854
|
+
"travelers": {
|
|
167855
|
+
"type": "array",
|
|
167856
|
+
"items": {
|
|
167857
|
+
"type": "object",
|
|
167858
|
+
"properties": {
|
|
167859
|
+
"id": {
|
|
167860
|
+
"type": "string"
|
|
167861
|
+
},
|
|
167862
|
+
"bookingId": {
|
|
167863
|
+
"type": "string"
|
|
167864
|
+
},
|
|
167865
|
+
"participantType": {
|
|
167866
|
+
"type": "string",
|
|
167867
|
+
"enum": [
|
|
167868
|
+
"traveler",
|
|
167869
|
+
"occupant",
|
|
167870
|
+
"other"
|
|
167871
|
+
]
|
|
167872
|
+
},
|
|
167873
|
+
"travelerCategory": {
|
|
167874
|
+
"type": [
|
|
167875
|
+
"string",
|
|
167876
|
+
"null"
|
|
167877
|
+
],
|
|
167878
|
+
"enum": [
|
|
167879
|
+
"adult",
|
|
167880
|
+
"child",
|
|
167881
|
+
"infant",
|
|
167882
|
+
"senior",
|
|
167883
|
+
"other",
|
|
167884
|
+
null
|
|
167885
|
+
]
|
|
167886
|
+
},
|
|
167887
|
+
"firstName": {
|
|
167888
|
+
"type": "string"
|
|
167889
|
+
},
|
|
167890
|
+
"lastName": {
|
|
167891
|
+
"type": "string"
|
|
167892
|
+
},
|
|
167893
|
+
"email": {
|
|
167894
|
+
"type": [
|
|
167895
|
+
"string",
|
|
167896
|
+
"null"
|
|
167897
|
+
]
|
|
167898
|
+
},
|
|
167899
|
+
"phone": {
|
|
167900
|
+
"type": [
|
|
167901
|
+
"string",
|
|
167902
|
+
"null"
|
|
167903
|
+
]
|
|
167904
|
+
},
|
|
167905
|
+
"preferredLanguage": {
|
|
167906
|
+
"type": [
|
|
167907
|
+
"string",
|
|
167908
|
+
"null"
|
|
167909
|
+
]
|
|
167910
|
+
},
|
|
167911
|
+
"specialRequests": {
|
|
167912
|
+
"type": [
|
|
167913
|
+
"string",
|
|
167914
|
+
"null"
|
|
167915
|
+
]
|
|
167916
|
+
},
|
|
167917
|
+
"isPrimary": {
|
|
167918
|
+
"type": "boolean"
|
|
167919
|
+
},
|
|
167920
|
+
"notes": {
|
|
167921
|
+
"type": [
|
|
167922
|
+
"string",
|
|
167923
|
+
"null"
|
|
167924
|
+
]
|
|
167925
|
+
},
|
|
167926
|
+
"createdAt": {
|
|
167927
|
+
"type": "string"
|
|
167928
|
+
},
|
|
167929
|
+
"updatedAt": {
|
|
167930
|
+
"type": "string"
|
|
167931
|
+
}
|
|
167932
|
+
},
|
|
167933
|
+
"required": [
|
|
167934
|
+
"id",
|
|
167935
|
+
"bookingId",
|
|
167936
|
+
"participantType",
|
|
167937
|
+
"travelerCategory",
|
|
167938
|
+
"firstName",
|
|
167939
|
+
"lastName",
|
|
167940
|
+
"email",
|
|
167941
|
+
"phone",
|
|
167942
|
+
"preferredLanguage",
|
|
167943
|
+
"specialRequests",
|
|
167944
|
+
"isPrimary",
|
|
167945
|
+
"notes",
|
|
167946
|
+
"createdAt",
|
|
167947
|
+
"updatedAt"
|
|
167948
|
+
]
|
|
167949
|
+
}
|
|
167950
|
+
},
|
|
167951
|
+
"documents": {
|
|
167952
|
+
"type": "array",
|
|
167953
|
+
"items": {
|
|
167954
|
+
"type": "object",
|
|
167955
|
+
"properties": {
|
|
167956
|
+
"id": {
|
|
167957
|
+
"type": "string"
|
|
167958
|
+
},
|
|
167959
|
+
"bookingId": {
|
|
167960
|
+
"type": "string"
|
|
167961
|
+
},
|
|
167962
|
+
"travelerId": {
|
|
167963
|
+
"type": [
|
|
167964
|
+
"string",
|
|
167965
|
+
"null"
|
|
167966
|
+
]
|
|
167967
|
+
},
|
|
167968
|
+
"type": {
|
|
167969
|
+
"type": "string",
|
|
167970
|
+
"enum": [
|
|
167971
|
+
"visa",
|
|
167972
|
+
"insurance",
|
|
167973
|
+
"health",
|
|
167974
|
+
"passport_copy",
|
|
167975
|
+
"other"
|
|
167976
|
+
]
|
|
167977
|
+
},
|
|
167978
|
+
"fileName": {
|
|
167979
|
+
"type": "string"
|
|
167980
|
+
},
|
|
167981
|
+
"fileUrl": {
|
|
167982
|
+
"type": "string"
|
|
167983
|
+
},
|
|
167984
|
+
"expiresAt": {
|
|
167985
|
+
"type": [
|
|
167986
|
+
"string",
|
|
167987
|
+
"null"
|
|
167988
|
+
]
|
|
167989
|
+
},
|
|
167990
|
+
"notes": {
|
|
167991
|
+
"type": [
|
|
167992
|
+
"string",
|
|
167993
|
+
"null"
|
|
167994
|
+
]
|
|
167995
|
+
},
|
|
167996
|
+
"createdAt": {
|
|
167997
|
+
"type": "string"
|
|
167998
|
+
}
|
|
167999
|
+
},
|
|
168000
|
+
"required": [
|
|
168001
|
+
"id",
|
|
168002
|
+
"bookingId",
|
|
168003
|
+
"travelerId",
|
|
168004
|
+
"type",
|
|
168005
|
+
"fileName",
|
|
168006
|
+
"fileUrl",
|
|
168007
|
+
"expiresAt",
|
|
168008
|
+
"notes",
|
|
168009
|
+
"createdAt"
|
|
168010
|
+
]
|
|
168011
|
+
}
|
|
167269
168012
|
}
|
|
167270
168013
|
},
|
|
167271
168014
|
"required": [
|
|
@@ -167313,7 +168056,10 @@
|
|
|
167313
168056
|
"paidAt",
|
|
167314
168057
|
"redeemedAt",
|
|
167315
168058
|
"createdAt",
|
|
167316
|
-
"updatedAt"
|
|
168059
|
+
"updatedAt",
|
|
168060
|
+
"items",
|
|
168061
|
+
"travelers",
|
|
168062
|
+
"documents"
|
|
167317
168063
|
]
|
|
167318
168064
|
}
|
|
167319
168065
|
},
|
|
@@ -175399,7 +176145,7 @@
|
|
|
175399
176145
|
},
|
|
175400
176146
|
"amountCents": {
|
|
175401
176147
|
"type": "integer",
|
|
175402
|
-
"minimum":
|
|
176148
|
+
"minimum": 1
|
|
175403
176149
|
},
|
|
175404
176150
|
"provider": {
|
|
175405
176151
|
"type": [
|
|
@@ -176121,7 +176867,7 @@
|
|
|
176121
176867
|
},
|
|
176122
176868
|
"amountCents": {
|
|
176123
176869
|
"type": "integer",
|
|
176124
|
-
"minimum":
|
|
176870
|
+
"minimum": 1
|
|
176125
176871
|
},
|
|
176126
176872
|
"provider": {
|
|
176127
176873
|
"type": [
|
|
@@ -176634,7 +177380,7 @@
|
|
|
176634
177380
|
},
|
|
176635
177381
|
"amountCents": {
|
|
176636
177382
|
"type": "integer",
|
|
176637
|
-
"minimum":
|
|
177383
|
+
"minimum": 1
|
|
176638
177384
|
},
|
|
176639
177385
|
"provider": {
|
|
176640
177386
|
"type": [
|
|
@@ -176984,7 +177730,7 @@
|
|
|
176984
177730
|
},
|
|
176985
177731
|
"amountCents": {
|
|
176986
177732
|
"type": "integer",
|
|
176987
|
-
"minimum":
|
|
177733
|
+
"minimum": 1
|
|
176988
177734
|
},
|
|
176989
177735
|
"provider": {
|
|
176990
177736
|
"type": [
|
|
@@ -181991,6 +182737,32 @@
|
|
|
181991
182737
|
}
|
|
181992
182738
|
}
|
|
181993
182739
|
},
|
|
182740
|
+
"400": {
|
|
182741
|
+
"description": "invalid_request: guarantee state does not allow deletion",
|
|
182742
|
+
"content": {
|
|
182743
|
+
"application/json": {
|
|
182744
|
+
"schema": {
|
|
182745
|
+
"type": "object",
|
|
182746
|
+
"properties": {
|
|
182747
|
+
"error": {
|
|
182748
|
+
"type": "string"
|
|
182749
|
+
},
|
|
182750
|
+
"code": {
|
|
182751
|
+
"type": "string"
|
|
182752
|
+
},
|
|
182753
|
+
"details": {
|
|
182754
|
+
"type": "object",
|
|
182755
|
+
"additionalProperties": {}
|
|
182756
|
+
}
|
|
182757
|
+
},
|
|
182758
|
+
"required": [
|
|
182759
|
+
"error",
|
|
182760
|
+
"code"
|
|
182761
|
+
]
|
|
182762
|
+
}
|
|
182763
|
+
}
|
|
182764
|
+
}
|
|
182765
|
+
},
|
|
181994
182766
|
"404": {
|
|
181995
182767
|
"description": "Booking guarantee not found",
|
|
181996
182768
|
"content": {
|
|
@@ -182177,238 +182949,240 @@
|
|
|
182177
182949
|
"maxLength": 3
|
|
182178
182950
|
},
|
|
182179
182951
|
"amountCents": {
|
|
182180
|
-
"type": "integer"
|
|
182181
|
-
},
|
|
182182
|
-
"rateBasisPoints": {
|
|
182183
|
-
"type": [
|
|
182184
|
-
"integer",
|
|
182185
|
-
"null"
|
|
182186
|
-
],
|
|
182187
|
-
"minimum": 0
|
|
182188
|
-
},
|
|
182189
|
-
"includedInPrice": {
|
|
182190
|
-
"type": "boolean",
|
|
182191
|
-
"default": false
|
|
182192
|
-
},
|
|
182193
|
-
"remittanceParty": {
|
|
182194
|
-
"type": [
|
|
182195
|
-
"string",
|
|
182196
|
-
"null"
|
|
182197
|
-
],
|
|
182198
|
-
"maxLength": 255
|
|
182199
|
-
},
|
|
182200
|
-
"sortOrder": {
|
|
182201
182952
|
"type": "integer",
|
|
182202
|
-
"minimum": 0
|
|
182203
|
-
|
|
182204
|
-
|
|
182205
|
-
|
|
182206
|
-
|
|
182207
|
-
|
|
182208
|
-
|
|
182209
|
-
|
|
182210
|
-
|
|
182211
|
-
|
|
182212
|
-
|
|
182213
|
-
|
|
182214
|
-
|
|
182215
|
-
|
|
182216
|
-
|
|
182217
|
-
|
|
182218
|
-
|
|
182219
|
-
|
|
182220
|
-
|
|
182221
|
-
|
|
182222
|
-
"
|
|
182223
|
-
"
|
|
182224
|
-
|
|
182225
|
-
|
|
182226
|
-
|
|
182227
|
-
|
|
182228
|
-
|
|
182229
|
-
|
|
182230
|
-
|
|
182231
|
-
|
|
182232
|
-
|
|
182233
|
-
|
|
182234
|
-
|
|
182235
|
-
|
|
182236
|
-
|
|
182237
|
-
|
|
182238
|
-
|
|
182239
|
-
|
|
182240
|
-
|
|
182241
|
-
|
|
182242
|
-
|
|
182243
|
-
|
|
182244
|
-
|
|
182245
|
-
|
|
182246
|
-
|
|
182247
|
-
|
|
182248
|
-
|
|
182249
|
-
"
|
|
182250
|
-
|
|
182251
|
-
|
|
182252
|
-
|
|
182253
|
-
|
|
182254
|
-
|
|
182255
|
-
|
|
182256
|
-
|
|
182257
|
-
|
|
182258
|
-
|
|
182259
|
-
|
|
182260
|
-
|
|
182261
|
-
|
|
182262
|
-
|
|
182263
|
-
|
|
182264
|
-
|
|
182265
|
-
|
|
182266
|
-
|
|
182267
|
-
|
|
182268
|
-
|
|
182269
|
-
|
|
182270
|
-
|
|
182271
|
-
"
|
|
182272
|
-
"
|
|
182273
|
-
"
|
|
182274
|
-
|
|
182275
|
-
|
|
182276
|
-
|
|
182277
|
-
|
|
182278
|
-
|
|
182279
|
-
|
|
182280
|
-
|
|
182281
|
-
|
|
182282
|
-
|
|
182283
|
-
|
|
182284
|
-
|
|
182285
|
-
|
|
182286
|
-
|
|
182287
|
-
|
|
182288
|
-
|
|
182289
|
-
"
|
|
182290
|
-
|
|
182291
|
-
|
|
182292
|
-
"
|
|
182293
|
-
|
|
182294
|
-
|
|
182295
|
-
|
|
182296
|
-
|
|
182297
|
-
|
|
182298
|
-
"sortOrder"
|
|
182299
|
-
|
|
182300
|
-
|
|
182301
|
-
|
|
182302
|
-
|
|
182303
|
-
|
|
182304
|
-
|
|
182305
|
-
|
|
182306
|
-
|
|
182307
|
-
|
|
182308
|
-
|
|
182309
|
-
|
|
182310
|
-
|
|
182311
|
-
|
|
182312
|
-
|
|
182313
|
-
|
|
182314
|
-
|
|
182315
|
-
|
|
182316
|
-
|
|
182317
|
-
|
|
182318
|
-
|
|
182319
|
-
|
|
182320
|
-
|
|
182321
|
-
|
|
182322
|
-
|
|
182323
|
-
|
|
182324
|
-
|
|
182325
|
-
|
|
182326
|
-
|
|
182327
|
-
|
|
182328
|
-
|
|
182329
|
-
|
|
182330
|
-
|
|
182331
|
-
|
|
182332
|
-
|
|
182333
|
-
|
|
182334
|
-
|
|
182335
|
-
|
|
182336
|
-
|
|
182337
|
-
|
|
182338
|
-
|
|
182339
|
-
|
|
182340
|
-
|
|
182341
|
-
|
|
182342
|
-
|
|
182343
|
-
|
|
182344
|
-
|
|
182345
|
-
|
|
182346
|
-
|
|
182347
|
-
|
|
182348
|
-
|
|
182349
|
-
|
|
182350
|
-
|
|
182351
|
-
|
|
182352
|
-
|
|
182353
|
-
|
|
182354
|
-
|
|
182355
|
-
|
|
182356
|
-
|
|
182357
|
-
|
|
182358
|
-
|
|
182359
|
-
|
|
182360
|
-
|
|
182361
|
-
|
|
182362
|
-
|
|
182363
|
-
|
|
182364
|
-
|
|
182365
|
-
|
|
182366
|
-
|
|
182367
|
-
|
|
182368
|
-
}
|
|
182369
|
-
|
|
182370
|
-
|
|
182371
|
-
|
|
182372
|
-
|
|
182373
|
-
|
|
182374
|
-
|
|
182375
|
-
|
|
182376
|
-
|
|
182377
|
-
|
|
182378
|
-
|
|
182379
|
-
|
|
182380
|
-
|
|
182381
|
-
|
|
182382
|
-
|
|
182383
|
-
|
|
182384
|
-
|
|
182385
|
-
|
|
182386
|
-
|
|
182387
|
-
|
|
182388
|
-
|
|
182389
|
-
|
|
182390
|
-
|
|
182391
|
-
|
|
182392
|
-
|
|
182393
|
-
|
|
182394
|
-
|
|
182395
|
-
|
|
182396
|
-
|
|
182397
|
-
|
|
182398
|
-
|
|
182399
|
-
|
|
182400
|
-
|
|
182401
|
-
"
|
|
182402
|
-
|
|
182403
|
-
|
|
182404
|
-
|
|
182405
|
-
|
|
182406
|
-
|
|
182407
|
-
"
|
|
182408
|
-
"
|
|
182409
|
-
|
|
182410
|
-
|
|
182411
|
-
|
|
182953
|
+
"minimum": 0
|
|
182954
|
+
},
|
|
182955
|
+
"rateBasisPoints": {
|
|
182956
|
+
"type": [
|
|
182957
|
+
"integer",
|
|
182958
|
+
"null"
|
|
182959
|
+
],
|
|
182960
|
+
"minimum": 0
|
|
182961
|
+
},
|
|
182962
|
+
"includedInPrice": {
|
|
182963
|
+
"type": "boolean",
|
|
182964
|
+
"default": false
|
|
182965
|
+
},
|
|
182966
|
+
"remittanceParty": {
|
|
182967
|
+
"type": [
|
|
182968
|
+
"string",
|
|
182969
|
+
"null"
|
|
182970
|
+
],
|
|
182971
|
+
"maxLength": 255
|
|
182972
|
+
},
|
|
182973
|
+
"sortOrder": {
|
|
182974
|
+
"type": "integer",
|
|
182975
|
+
"minimum": 0,
|
|
182976
|
+
"default": 0
|
|
182977
|
+
}
|
|
182978
|
+
},
|
|
182979
|
+
"required": [
|
|
182980
|
+
"name",
|
|
182981
|
+
"currency",
|
|
182982
|
+
"amountCents"
|
|
182983
|
+
]
|
|
182984
|
+
}
|
|
182985
|
+
}
|
|
182986
|
+
}
|
|
182987
|
+
},
|
|
182988
|
+
"responses": {
|
|
182989
|
+
"201": {
|
|
182990
|
+
"description": "The created tax line",
|
|
182991
|
+
"content": {
|
|
182992
|
+
"application/json": {
|
|
182993
|
+
"schema": {
|
|
182994
|
+
"type": "object",
|
|
182995
|
+
"properties": {
|
|
182996
|
+
"data": {
|
|
182997
|
+
"type": "object",
|
|
182998
|
+
"properties": {
|
|
182999
|
+
"id": {
|
|
183000
|
+
"type": "string"
|
|
183001
|
+
},
|
|
183002
|
+
"bookingItemId": {
|
|
183003
|
+
"type": "string"
|
|
183004
|
+
},
|
|
183005
|
+
"code": {
|
|
183006
|
+
"type": [
|
|
183007
|
+
"string",
|
|
183008
|
+
"null"
|
|
183009
|
+
]
|
|
183010
|
+
},
|
|
183011
|
+
"name": {
|
|
183012
|
+
"type": "string"
|
|
183013
|
+
},
|
|
183014
|
+
"jurisdiction": {
|
|
183015
|
+
"type": [
|
|
183016
|
+
"string",
|
|
183017
|
+
"null"
|
|
183018
|
+
]
|
|
183019
|
+
},
|
|
183020
|
+
"scope": {
|
|
183021
|
+
"type": "string",
|
|
183022
|
+
"enum": [
|
|
183023
|
+
"included",
|
|
183024
|
+
"excluded",
|
|
183025
|
+
"withheld"
|
|
183026
|
+
]
|
|
183027
|
+
},
|
|
183028
|
+
"currency": {
|
|
183029
|
+
"type": "string"
|
|
183030
|
+
},
|
|
183031
|
+
"amountCents": {
|
|
183032
|
+
"type": "integer"
|
|
183033
|
+
},
|
|
183034
|
+
"rateBasisPoints": {
|
|
183035
|
+
"type": [
|
|
183036
|
+
"integer",
|
|
183037
|
+
"null"
|
|
183038
|
+
]
|
|
183039
|
+
},
|
|
183040
|
+
"includedInPrice": {
|
|
183041
|
+
"type": "boolean"
|
|
183042
|
+
},
|
|
183043
|
+
"remittanceParty": {
|
|
183044
|
+
"type": [
|
|
183045
|
+
"string",
|
|
183046
|
+
"null"
|
|
183047
|
+
]
|
|
183048
|
+
},
|
|
183049
|
+
"sortOrder": {
|
|
183050
|
+
"type": "integer"
|
|
183051
|
+
},
|
|
183052
|
+
"createdAt": {
|
|
183053
|
+
"type": "string"
|
|
183054
|
+
},
|
|
183055
|
+
"updatedAt": {
|
|
183056
|
+
"type": "string"
|
|
183057
|
+
}
|
|
183058
|
+
},
|
|
183059
|
+
"required": [
|
|
183060
|
+
"id",
|
|
183061
|
+
"bookingItemId",
|
|
183062
|
+
"code",
|
|
183063
|
+
"name",
|
|
183064
|
+
"jurisdiction",
|
|
183065
|
+
"scope",
|
|
183066
|
+
"currency",
|
|
183067
|
+
"amountCents",
|
|
183068
|
+
"rateBasisPoints",
|
|
183069
|
+
"includedInPrice",
|
|
183070
|
+
"remittanceParty",
|
|
183071
|
+
"sortOrder",
|
|
183072
|
+
"createdAt",
|
|
183073
|
+
"updatedAt"
|
|
183074
|
+
]
|
|
183075
|
+
}
|
|
183076
|
+
},
|
|
183077
|
+
"required": [
|
|
183078
|
+
"data"
|
|
183079
|
+
]
|
|
183080
|
+
}
|
|
183081
|
+
}
|
|
183082
|
+
}
|
|
183083
|
+
},
|
|
183084
|
+
"400": {
|
|
183085
|
+
"description": "invalid_request: request body failed validation",
|
|
183086
|
+
"content": {
|
|
183087
|
+
"application/json": {
|
|
183088
|
+
"schema": {
|
|
183089
|
+
"type": "object",
|
|
183090
|
+
"properties": {
|
|
183091
|
+
"error": {
|
|
183092
|
+
"type": "string"
|
|
183093
|
+
}
|
|
183094
|
+
},
|
|
183095
|
+
"required": [
|
|
183096
|
+
"error"
|
|
183097
|
+
]
|
|
183098
|
+
}
|
|
183099
|
+
}
|
|
183100
|
+
}
|
|
183101
|
+
},
|
|
183102
|
+
"404": {
|
|
183103
|
+
"description": "Booking item not found",
|
|
183104
|
+
"content": {
|
|
183105
|
+
"application/json": {
|
|
183106
|
+
"schema": {
|
|
183107
|
+
"type": "object",
|
|
183108
|
+
"properties": {
|
|
183109
|
+
"error": {
|
|
183110
|
+
"type": "string"
|
|
183111
|
+
}
|
|
183112
|
+
},
|
|
183113
|
+
"required": [
|
|
183114
|
+
"error"
|
|
183115
|
+
]
|
|
183116
|
+
}
|
|
183117
|
+
}
|
|
183118
|
+
}
|
|
183119
|
+
}
|
|
183120
|
+
}
|
|
183121
|
+
}
|
|
183122
|
+
},
|
|
183123
|
+
"/v1/admin/finance/booking-items/{bookingItemId}/tax-lines/{taxLineId}": {
|
|
183124
|
+
"patch": {
|
|
183125
|
+
"parameters": [
|
|
183126
|
+
{
|
|
183127
|
+
"schema": {
|
|
183128
|
+
"type": "string"
|
|
183129
|
+
},
|
|
183130
|
+
"required": true,
|
|
183131
|
+
"name": "bookingItemId",
|
|
183132
|
+
"in": "path"
|
|
183133
|
+
},
|
|
183134
|
+
{
|
|
183135
|
+
"schema": {
|
|
183136
|
+
"type": "string"
|
|
183137
|
+
},
|
|
183138
|
+
"required": true,
|
|
183139
|
+
"name": "taxLineId",
|
|
183140
|
+
"in": "path"
|
|
183141
|
+
}
|
|
183142
|
+
],
|
|
183143
|
+
"requestBody": {
|
|
183144
|
+
"required": true,
|
|
183145
|
+
"content": {
|
|
183146
|
+
"application/json": {
|
|
183147
|
+
"schema": {
|
|
183148
|
+
"type": "object",
|
|
183149
|
+
"properties": {
|
|
183150
|
+
"code": {
|
|
183151
|
+
"type": [
|
|
183152
|
+
"string",
|
|
183153
|
+
"null"
|
|
183154
|
+
],
|
|
183155
|
+
"maxLength": 100
|
|
183156
|
+
},
|
|
183157
|
+
"name": {
|
|
183158
|
+
"type": "string",
|
|
183159
|
+
"minLength": 1,
|
|
183160
|
+
"maxLength": 255
|
|
183161
|
+
},
|
|
183162
|
+
"jurisdiction": {
|
|
183163
|
+
"type": [
|
|
183164
|
+
"string",
|
|
183165
|
+
"null"
|
|
183166
|
+
],
|
|
183167
|
+
"maxLength": 255
|
|
183168
|
+
},
|
|
183169
|
+
"scope": {
|
|
183170
|
+
"type": "string",
|
|
183171
|
+
"enum": [
|
|
183172
|
+
"included",
|
|
183173
|
+
"excluded",
|
|
183174
|
+
"withheld"
|
|
183175
|
+
],
|
|
183176
|
+
"default": "excluded"
|
|
183177
|
+
},
|
|
183178
|
+
"currency": {
|
|
183179
|
+
"type": "string",
|
|
183180
|
+
"minLength": 3,
|
|
183181
|
+
"maxLength": 3
|
|
183182
|
+
},
|
|
183183
|
+
"amountCents": {
|
|
183184
|
+
"type": "integer",
|
|
183185
|
+
"minimum": 0
|
|
182412
183186
|
},
|
|
182413
183187
|
"rateBasisPoints": {
|
|
182414
183188
|
"type": [
|
|
@@ -182828,7 +183602,8 @@
|
|
|
182828
183602
|
"type": [
|
|
182829
183603
|
"integer",
|
|
182830
183604
|
"null"
|
|
182831
|
-
]
|
|
183605
|
+
],
|
|
183606
|
+
"minimum": 0
|
|
182832
183607
|
},
|
|
182833
183608
|
"rateBasisPoints": {
|
|
182834
183609
|
"type": [
|
|
@@ -183005,10 +183780,18 @@
|
|
|
183005
183780
|
"properties": {
|
|
183006
183781
|
"error": {
|
|
183007
183782
|
"type": "string"
|
|
183783
|
+
},
|
|
183784
|
+
"code": {
|
|
183785
|
+
"type": "string"
|
|
183786
|
+
},
|
|
183787
|
+
"details": {
|
|
183788
|
+
"type": "object",
|
|
183789
|
+
"additionalProperties": {}
|
|
183008
183790
|
}
|
|
183009
183791
|
},
|
|
183010
183792
|
"required": [
|
|
183011
|
-
"error"
|
|
183793
|
+
"error",
|
|
183794
|
+
"code"
|
|
183012
183795
|
]
|
|
183013
183796
|
}
|
|
183014
183797
|
}
|
|
@@ -183087,8 +183870,7 @@
|
|
|
183087
183870
|
"fixed",
|
|
183088
183871
|
"markup",
|
|
183089
183872
|
"net"
|
|
183090
|
-
]
|
|
183091
|
-
"default": "percentage"
|
|
183873
|
+
]
|
|
183092
183874
|
},
|
|
183093
183875
|
"currency": {
|
|
183094
183876
|
"type": [
|
|
@@ -183102,7 +183884,8 @@
|
|
|
183102
183884
|
"type": [
|
|
183103
183885
|
"integer",
|
|
183104
183886
|
"null"
|
|
183105
|
-
]
|
|
183887
|
+
],
|
|
183888
|
+
"minimum": 0
|
|
183106
183889
|
},
|
|
183107
183890
|
"rateBasisPoints": {
|
|
183108
183891
|
"type": [
|
|
@@ -183119,8 +183902,7 @@
|
|
|
183119
183902
|
"payable",
|
|
183120
183903
|
"paid",
|
|
183121
183904
|
"void"
|
|
183122
|
-
]
|
|
183123
|
-
"default": "pending"
|
|
183905
|
+
]
|
|
183124
183906
|
},
|
|
183125
183907
|
"payableAt": {
|
|
183126
183908
|
"type": [
|
|
@@ -183276,10 +184058,18 @@
|
|
|
183276
184058
|
"properties": {
|
|
183277
184059
|
"error": {
|
|
183278
184060
|
"type": "string"
|
|
184061
|
+
},
|
|
184062
|
+
"code": {
|
|
184063
|
+
"type": "string"
|
|
184064
|
+
},
|
|
184065
|
+
"details": {
|
|
184066
|
+
"type": "object",
|
|
184067
|
+
"additionalProperties": {}
|
|
183279
184068
|
}
|
|
183280
184069
|
},
|
|
183281
184070
|
"required": [
|
|
183282
|
-
"error"
|
|
184071
|
+
"error",
|
|
184072
|
+
"code"
|
|
183283
184073
|
]
|
|
183284
184074
|
}
|
|
183285
184075
|
}
|
|
@@ -184173,6 +184963,24 @@
|
|
|
184173
184963
|
}
|
|
184174
184964
|
}
|
|
184175
184965
|
}
|
|
184966
|
+
},
|
|
184967
|
+
"409": {
|
|
184968
|
+
"description": "The payment conflicts with the invoice state (e.g. overpayment)",
|
|
184969
|
+
"content": {
|
|
184970
|
+
"application/json": {
|
|
184971
|
+
"schema": {
|
|
184972
|
+
"type": "object",
|
|
184973
|
+
"properties": {
|
|
184974
|
+
"error": {
|
|
184975
|
+
"type": "string"
|
|
184976
|
+
}
|
|
184977
|
+
},
|
|
184978
|
+
"required": [
|
|
184979
|
+
"error"
|
|
184980
|
+
]
|
|
184981
|
+
}
|
|
184982
|
+
}
|
|
184983
|
+
}
|
|
184176
184984
|
}
|
|
184177
184985
|
}
|
|
184178
184986
|
},
|
|
@@ -184935,6 +185743,28 @@
|
|
|
184935
185743
|
}
|
|
184936
185744
|
}
|
|
184937
185745
|
}
|
|
185746
|
+
},
|
|
185747
|
+
"422": {
|
|
185748
|
+
"description": "supplier payment payable invariant failed",
|
|
185749
|
+
"content": {
|
|
185750
|
+
"application/json": {
|
|
185751
|
+
"schema": {
|
|
185752
|
+
"type": "object",
|
|
185753
|
+
"properties": {
|
|
185754
|
+
"error": {
|
|
185755
|
+
"type": "string"
|
|
185756
|
+
},
|
|
185757
|
+
"code": {
|
|
185758
|
+
"type": "string"
|
|
185759
|
+
}
|
|
185760
|
+
},
|
|
185761
|
+
"required": [
|
|
185762
|
+
"error",
|
|
185763
|
+
"code"
|
|
185764
|
+
]
|
|
185765
|
+
}
|
|
185766
|
+
}
|
|
185767
|
+
}
|
|
184938
185768
|
}
|
|
184939
185769
|
}
|
|
184940
185770
|
}
|
|
@@ -185242,6 +186072,28 @@
|
|
|
185242
186072
|
}
|
|
185243
186073
|
}
|
|
185244
186074
|
}
|
|
186075
|
+
},
|
|
186076
|
+
"422": {
|
|
186077
|
+
"description": "supplier payment payable invariant failed",
|
|
186078
|
+
"content": {
|
|
186079
|
+
"application/json": {
|
|
186080
|
+
"schema": {
|
|
186081
|
+
"type": "object",
|
|
186082
|
+
"properties": {
|
|
186083
|
+
"error": {
|
|
186084
|
+
"type": "string"
|
|
186085
|
+
},
|
|
186086
|
+
"code": {
|
|
186087
|
+
"type": "string"
|
|
186088
|
+
}
|
|
186089
|
+
},
|
|
186090
|
+
"required": [
|
|
186091
|
+
"error",
|
|
186092
|
+
"code"
|
|
186093
|
+
]
|
|
186094
|
+
}
|
|
186095
|
+
}
|
|
186096
|
+
}
|
|
185245
186097
|
}
|
|
185246
186098
|
}
|
|
185247
186099
|
}
|
|
@@ -186059,6 +186911,42 @@
|
|
|
186059
186911
|
}
|
|
186060
186912
|
}
|
|
186061
186913
|
}
|
|
186914
|
+
},
|
|
186915
|
+
"404": {
|
|
186916
|
+
"description": "Booking, person, or organization reference not found",
|
|
186917
|
+
"content": {
|
|
186918
|
+
"application/json": {
|
|
186919
|
+
"schema": {
|
|
186920
|
+
"type": "object",
|
|
186921
|
+
"properties": {
|
|
186922
|
+
"error": {
|
|
186923
|
+
"type": "string"
|
|
186924
|
+
}
|
|
186925
|
+
},
|
|
186926
|
+
"required": [
|
|
186927
|
+
"error"
|
|
186928
|
+
]
|
|
186929
|
+
}
|
|
186930
|
+
}
|
|
186931
|
+
}
|
|
186932
|
+
},
|
|
186933
|
+
"409": {
|
|
186934
|
+
"description": "Invoice number already exists",
|
|
186935
|
+
"content": {
|
|
186936
|
+
"application/json": {
|
|
186937
|
+
"schema": {
|
|
186938
|
+
"type": "object",
|
|
186939
|
+
"properties": {
|
|
186940
|
+
"error": {
|
|
186941
|
+
"type": "string"
|
|
186942
|
+
}
|
|
186943
|
+
},
|
|
186944
|
+
"required": [
|
|
186945
|
+
"error"
|
|
186946
|
+
]
|
|
186947
|
+
}
|
|
186948
|
+
}
|
|
186949
|
+
}
|
|
186062
186950
|
}
|
|
186063
186951
|
}
|
|
186064
186952
|
}
|
|
@@ -186090,6 +186978,13 @@
|
|
|
186090
186978
|
"type": "string",
|
|
186091
186979
|
"minLength": 1
|
|
186092
186980
|
},
|
|
186981
|
+
"convertedFromInvoiceId": {
|
|
186982
|
+
"type": [
|
|
186983
|
+
"string",
|
|
186984
|
+
"null"
|
|
186985
|
+
],
|
|
186986
|
+
"minLength": 1
|
|
186987
|
+
},
|
|
186093
186988
|
"issueDate": {
|
|
186094
186989
|
"type": "string",
|
|
186095
186990
|
"minLength": 1
|
|
@@ -187585,59 +188480,9 @@
|
|
|
187585
188480
|
}
|
|
187586
188481
|
}
|
|
187587
188482
|
}
|
|
187588
|
-
}
|
|
187589
|
-
}
|
|
187590
|
-
},
|
|
187591
|
-
"delete": {
|
|
187592
|
-
"parameters": [
|
|
187593
|
-
{
|
|
187594
|
-
"schema": {
|
|
187595
|
-
"type": "string"
|
|
187596
|
-
},
|
|
187597
|
-
"required": true,
|
|
187598
|
-
"name": "id",
|
|
187599
|
-
"in": "path"
|
|
187600
|
-
}
|
|
187601
|
-
],
|
|
187602
|
-
"responses": {
|
|
187603
|
-
"200": {
|
|
187604
|
-
"description": "Invoice deleted",
|
|
187605
|
-
"content": {
|
|
187606
|
-
"application/json": {
|
|
187607
|
-
"schema": {
|
|
187608
|
-
"type": "object",
|
|
187609
|
-
"properties": {
|
|
187610
|
-
"success": {
|
|
187611
|
-
"type": "boolean"
|
|
187612
|
-
}
|
|
187613
|
-
},
|
|
187614
|
-
"required": [
|
|
187615
|
-
"success"
|
|
187616
|
-
]
|
|
187617
|
-
}
|
|
187618
|
-
}
|
|
187619
|
-
}
|
|
187620
188483
|
},
|
|
187621
|
-
"
|
|
187622
|
-
"description": "
|
|
187623
|
-
"content": {
|
|
187624
|
-
"application/json": {
|
|
187625
|
-
"schema": {
|
|
187626
|
-
"type": "object",
|
|
187627
|
-
"properties": {
|
|
187628
|
-
"error": {
|
|
187629
|
-
"type": "string"
|
|
187630
|
-
}
|
|
187631
|
-
},
|
|
187632
|
-
"required": [
|
|
187633
|
-
"error"
|
|
187634
|
-
]
|
|
187635
|
-
}
|
|
187636
|
-
}
|
|
187637
|
-
}
|
|
187638
|
-
},
|
|
187639
|
-
"404": {
|
|
187640
|
-
"description": "Invoice not found",
|
|
188484
|
+
"409": {
|
|
188485
|
+
"description": "Invoice number already exists",
|
|
187641
188486
|
"content": {
|
|
187642
188487
|
"application/json": {
|
|
187643
188488
|
"schema": {
|
|
@@ -187655,11 +188500,8 @@
|
|
|
187655
188500
|
}
|
|
187656
188501
|
}
|
|
187657
188502
|
}
|
|
187658
|
-
}
|
|
187659
|
-
|
|
187660
|
-
"/v1/admin/finance/invoices/{id}/void": {
|
|
187661
|
-
"post": {
|
|
187662
|
-
"description": "Void an invoice. Accepts an optional `voidReason` JSON body; an empty or absent body is accepted. The body is parsed in the handler (not as a declared OpenAPI request body) because Hono's JSON validator would reject a zero-length `application/json` request before the handler runs.",
|
|
188503
|
+
},
|
|
188504
|
+
"delete": {
|
|
187663
188505
|
"parameters": [
|
|
187664
188506
|
{
|
|
187665
188507
|
"schema": {
|
|
@@ -187672,243 +188514,314 @@
|
|
|
187672
188514
|
],
|
|
187673
188515
|
"responses": {
|
|
187674
188516
|
"200": {
|
|
187675
|
-
"description": "
|
|
188517
|
+
"description": "Invoice deleted",
|
|
187676
188518
|
"content": {
|
|
187677
188519
|
"application/json": {
|
|
187678
188520
|
"schema": {
|
|
187679
188521
|
"type": "object",
|
|
187680
188522
|
"properties": {
|
|
187681
|
-
"
|
|
187682
|
-
"type": "
|
|
187683
|
-
"properties": {
|
|
187684
|
-
"id": {
|
|
187685
|
-
"type": "string"
|
|
187686
|
-
},
|
|
187687
|
-
"invoiceNumber": {
|
|
187688
|
-
"type": "string"
|
|
187689
|
-
},
|
|
187690
|
-
"invoiceType": {
|
|
187691
|
-
"type": "string",
|
|
187692
|
-
"enum": [
|
|
187693
|
-
"invoice",
|
|
187694
|
-
"proforma",
|
|
187695
|
-
"credit_note"
|
|
187696
|
-
]
|
|
187697
|
-
},
|
|
187698
|
-
"convertedFromInvoiceId": {
|
|
187699
|
-
"type": [
|
|
187700
|
-
"string",
|
|
187701
|
-
"null"
|
|
187702
|
-
]
|
|
187703
|
-
},
|
|
187704
|
-
"seriesId": {
|
|
187705
|
-
"type": [
|
|
187706
|
-
"string",
|
|
187707
|
-
"null"
|
|
187708
|
-
]
|
|
187709
|
-
},
|
|
187710
|
-
"sequence": {
|
|
187711
|
-
"type": [
|
|
187712
|
-
"integer",
|
|
187713
|
-
"null"
|
|
187714
|
-
]
|
|
187715
|
-
},
|
|
187716
|
-
"templateId": {
|
|
187717
|
-
"type": [
|
|
187718
|
-
"string",
|
|
187719
|
-
"null"
|
|
187720
|
-
]
|
|
187721
|
-
},
|
|
187722
|
-
"taxRegimeId": {
|
|
187723
|
-
"type": [
|
|
187724
|
-
"string",
|
|
187725
|
-
"null"
|
|
187726
|
-
]
|
|
187727
|
-
},
|
|
187728
|
-
"language": {
|
|
187729
|
-
"type": [
|
|
187730
|
-
"string",
|
|
187731
|
-
"null"
|
|
187732
|
-
]
|
|
187733
|
-
},
|
|
187734
|
-
"bookingId": {
|
|
187735
|
-
"type": "string"
|
|
187736
|
-
},
|
|
187737
|
-
"personId": {
|
|
187738
|
-
"type": [
|
|
187739
|
-
"string",
|
|
187740
|
-
"null"
|
|
187741
|
-
]
|
|
187742
|
-
},
|
|
187743
|
-
"organizationId": {
|
|
187744
|
-
"type": [
|
|
187745
|
-
"string",
|
|
187746
|
-
"null"
|
|
187747
|
-
]
|
|
187748
|
-
},
|
|
187749
|
-
"status": {
|
|
187750
|
-
"type": "string",
|
|
187751
|
-
"enum": [
|
|
187752
|
-
"draft",
|
|
187753
|
-
"pending_external_allocation",
|
|
187754
|
-
"issued",
|
|
187755
|
-
"partially_paid",
|
|
187756
|
-
"paid",
|
|
187757
|
-
"overdue",
|
|
187758
|
-
"void"
|
|
187759
|
-
]
|
|
187760
|
-
},
|
|
187761
|
-
"currency": {
|
|
187762
|
-
"type": "string"
|
|
187763
|
-
},
|
|
187764
|
-
"baseCurrency": {
|
|
187765
|
-
"type": [
|
|
187766
|
-
"string",
|
|
187767
|
-
"null"
|
|
187768
|
-
]
|
|
187769
|
-
},
|
|
187770
|
-
"fxRateSetId": {
|
|
187771
|
-
"type": [
|
|
187772
|
-
"string",
|
|
187773
|
-
"null"
|
|
187774
|
-
]
|
|
187775
|
-
},
|
|
187776
|
-
"subtotalCents": {
|
|
187777
|
-
"type": "integer"
|
|
187778
|
-
},
|
|
187779
|
-
"baseSubtotalCents": {
|
|
187780
|
-
"type": [
|
|
187781
|
-
"integer",
|
|
187782
|
-
"null"
|
|
187783
|
-
]
|
|
187784
|
-
},
|
|
187785
|
-
"taxCents": {
|
|
187786
|
-
"type": "integer"
|
|
187787
|
-
},
|
|
187788
|
-
"baseTaxCents": {
|
|
187789
|
-
"type": [
|
|
187790
|
-
"integer",
|
|
187791
|
-
"null"
|
|
187792
|
-
]
|
|
187793
|
-
},
|
|
187794
|
-
"totalCents": {
|
|
187795
|
-
"type": "integer"
|
|
187796
|
-
},
|
|
187797
|
-
"baseTotalCents": {
|
|
187798
|
-
"type": [
|
|
187799
|
-
"integer",
|
|
187800
|
-
"null"
|
|
187801
|
-
]
|
|
187802
|
-
},
|
|
187803
|
-
"paidCents": {
|
|
187804
|
-
"type": "integer"
|
|
187805
|
-
},
|
|
187806
|
-
"basePaidCents": {
|
|
187807
|
-
"type": [
|
|
187808
|
-
"integer",
|
|
187809
|
-
"null"
|
|
187810
|
-
]
|
|
187811
|
-
},
|
|
187812
|
-
"balanceDueCents": {
|
|
187813
|
-
"type": "integer"
|
|
187814
|
-
},
|
|
187815
|
-
"baseBalanceDueCents": {
|
|
187816
|
-
"type": [
|
|
187817
|
-
"integer",
|
|
187818
|
-
"null"
|
|
187819
|
-
]
|
|
187820
|
-
},
|
|
187821
|
-
"commissionPercent": {
|
|
187822
|
-
"type": [
|
|
187823
|
-
"integer",
|
|
187824
|
-
"null"
|
|
187825
|
-
]
|
|
187826
|
-
},
|
|
187827
|
-
"commissionAmountCents": {
|
|
187828
|
-
"type": [
|
|
187829
|
-
"integer",
|
|
187830
|
-
"null"
|
|
187831
|
-
]
|
|
187832
|
-
},
|
|
187833
|
-
"issueDate": {
|
|
187834
|
-
"type": "string"
|
|
187835
|
-
},
|
|
187836
|
-
"dueDate": {
|
|
187837
|
-
"type": "string"
|
|
187838
|
-
},
|
|
187839
|
-
"notes": {
|
|
187840
|
-
"type": [
|
|
187841
|
-
"string",
|
|
187842
|
-
"null"
|
|
187843
|
-
]
|
|
187844
|
-
},
|
|
187845
|
-
"voidedAt": {
|
|
187846
|
-
"type": [
|
|
187847
|
-
"string",
|
|
187848
|
-
"null"
|
|
187849
|
-
]
|
|
187850
|
-
},
|
|
187851
|
-
"voidReason": {
|
|
187852
|
-
"type": [
|
|
187853
|
-
"string",
|
|
187854
|
-
"null"
|
|
187855
|
-
]
|
|
187856
|
-
},
|
|
187857
|
-
"createdAt": {
|
|
187858
|
-
"type": "string"
|
|
187859
|
-
},
|
|
187860
|
-
"updatedAt": {
|
|
187861
|
-
"type": "string"
|
|
187862
|
-
}
|
|
187863
|
-
},
|
|
187864
|
-
"required": [
|
|
187865
|
-
"id",
|
|
187866
|
-
"invoiceNumber",
|
|
187867
|
-
"invoiceType",
|
|
187868
|
-
"convertedFromInvoiceId",
|
|
187869
|
-
"seriesId",
|
|
187870
|
-
"sequence",
|
|
187871
|
-
"templateId",
|
|
187872
|
-
"taxRegimeId",
|
|
187873
|
-
"language",
|
|
187874
|
-
"bookingId",
|
|
187875
|
-
"personId",
|
|
187876
|
-
"organizationId",
|
|
187877
|
-
"status",
|
|
187878
|
-
"currency",
|
|
187879
|
-
"baseCurrency",
|
|
187880
|
-
"fxRateSetId",
|
|
187881
|
-
"subtotalCents",
|
|
187882
|
-
"baseSubtotalCents",
|
|
187883
|
-
"taxCents",
|
|
187884
|
-
"baseTaxCents",
|
|
187885
|
-
"totalCents",
|
|
187886
|
-
"baseTotalCents",
|
|
187887
|
-
"paidCents",
|
|
187888
|
-
"basePaidCents",
|
|
187889
|
-
"balanceDueCents",
|
|
187890
|
-
"baseBalanceDueCents",
|
|
187891
|
-
"commissionPercent",
|
|
187892
|
-
"commissionAmountCents",
|
|
187893
|
-
"issueDate",
|
|
187894
|
-
"dueDate",
|
|
187895
|
-
"notes",
|
|
187896
|
-
"voidedAt",
|
|
187897
|
-
"voidReason",
|
|
187898
|
-
"createdAt",
|
|
187899
|
-
"updatedAt"
|
|
187900
|
-
]
|
|
188523
|
+
"success": {
|
|
188524
|
+
"type": "boolean"
|
|
187901
188525
|
}
|
|
187902
188526
|
},
|
|
187903
188527
|
"required": [
|
|
187904
|
-
"
|
|
188528
|
+
"success"
|
|
187905
188529
|
]
|
|
187906
188530
|
}
|
|
187907
188531
|
}
|
|
187908
188532
|
}
|
|
187909
188533
|
},
|
|
187910
188534
|
"400": {
|
|
187911
|
-
"description": "
|
|
188535
|
+
"description": "Only draft invoices can be deleted",
|
|
188536
|
+
"content": {
|
|
188537
|
+
"application/json": {
|
|
188538
|
+
"schema": {
|
|
188539
|
+
"type": "object",
|
|
188540
|
+
"properties": {
|
|
188541
|
+
"error": {
|
|
188542
|
+
"type": "string"
|
|
188543
|
+
}
|
|
188544
|
+
},
|
|
188545
|
+
"required": [
|
|
188546
|
+
"error"
|
|
188547
|
+
]
|
|
188548
|
+
}
|
|
188549
|
+
}
|
|
188550
|
+
}
|
|
188551
|
+
},
|
|
188552
|
+
"404": {
|
|
188553
|
+
"description": "Invoice not found",
|
|
188554
|
+
"content": {
|
|
188555
|
+
"application/json": {
|
|
188556
|
+
"schema": {
|
|
188557
|
+
"type": "object",
|
|
188558
|
+
"properties": {
|
|
188559
|
+
"error": {
|
|
188560
|
+
"type": "string"
|
|
188561
|
+
}
|
|
188562
|
+
},
|
|
188563
|
+
"required": [
|
|
188564
|
+
"error"
|
|
188565
|
+
]
|
|
188566
|
+
}
|
|
188567
|
+
}
|
|
188568
|
+
}
|
|
188569
|
+
}
|
|
188570
|
+
}
|
|
188571
|
+
}
|
|
188572
|
+
},
|
|
188573
|
+
"/v1/admin/finance/invoices/{id}/void": {
|
|
188574
|
+
"post": {
|
|
188575
|
+
"description": "Void an invoice. Accepts an optional `voidReason` JSON body; an empty or absent body is accepted. The body is parsed in the handler (not as a declared OpenAPI request body) because Hono's JSON validator would reject a zero-length `application/json` request before the handler runs.",
|
|
188576
|
+
"parameters": [
|
|
188577
|
+
{
|
|
188578
|
+
"schema": {
|
|
188579
|
+
"type": "string"
|
|
188580
|
+
},
|
|
188581
|
+
"required": true,
|
|
188582
|
+
"name": "id",
|
|
188583
|
+
"in": "path"
|
|
188584
|
+
}
|
|
188585
|
+
],
|
|
188586
|
+
"responses": {
|
|
188587
|
+
"200": {
|
|
188588
|
+
"description": "The voided invoice",
|
|
188589
|
+
"content": {
|
|
188590
|
+
"application/json": {
|
|
188591
|
+
"schema": {
|
|
188592
|
+
"type": "object",
|
|
188593
|
+
"properties": {
|
|
188594
|
+
"data": {
|
|
188595
|
+
"type": "object",
|
|
188596
|
+
"properties": {
|
|
188597
|
+
"id": {
|
|
188598
|
+
"type": "string"
|
|
188599
|
+
},
|
|
188600
|
+
"invoiceNumber": {
|
|
188601
|
+
"type": "string"
|
|
188602
|
+
},
|
|
188603
|
+
"invoiceType": {
|
|
188604
|
+
"type": "string",
|
|
188605
|
+
"enum": [
|
|
188606
|
+
"invoice",
|
|
188607
|
+
"proforma",
|
|
188608
|
+
"credit_note"
|
|
188609
|
+
]
|
|
188610
|
+
},
|
|
188611
|
+
"convertedFromInvoiceId": {
|
|
188612
|
+
"type": [
|
|
188613
|
+
"string",
|
|
188614
|
+
"null"
|
|
188615
|
+
]
|
|
188616
|
+
},
|
|
188617
|
+
"seriesId": {
|
|
188618
|
+
"type": [
|
|
188619
|
+
"string",
|
|
188620
|
+
"null"
|
|
188621
|
+
]
|
|
188622
|
+
},
|
|
188623
|
+
"sequence": {
|
|
188624
|
+
"type": [
|
|
188625
|
+
"integer",
|
|
188626
|
+
"null"
|
|
188627
|
+
]
|
|
188628
|
+
},
|
|
188629
|
+
"templateId": {
|
|
188630
|
+
"type": [
|
|
188631
|
+
"string",
|
|
188632
|
+
"null"
|
|
188633
|
+
]
|
|
188634
|
+
},
|
|
188635
|
+
"taxRegimeId": {
|
|
188636
|
+
"type": [
|
|
188637
|
+
"string",
|
|
188638
|
+
"null"
|
|
188639
|
+
]
|
|
188640
|
+
},
|
|
188641
|
+
"language": {
|
|
188642
|
+
"type": [
|
|
188643
|
+
"string",
|
|
188644
|
+
"null"
|
|
188645
|
+
]
|
|
188646
|
+
},
|
|
188647
|
+
"bookingId": {
|
|
188648
|
+
"type": "string"
|
|
188649
|
+
},
|
|
188650
|
+
"personId": {
|
|
188651
|
+
"type": [
|
|
188652
|
+
"string",
|
|
188653
|
+
"null"
|
|
188654
|
+
]
|
|
188655
|
+
},
|
|
188656
|
+
"organizationId": {
|
|
188657
|
+
"type": [
|
|
188658
|
+
"string",
|
|
188659
|
+
"null"
|
|
188660
|
+
]
|
|
188661
|
+
},
|
|
188662
|
+
"status": {
|
|
188663
|
+
"type": "string",
|
|
188664
|
+
"enum": [
|
|
188665
|
+
"draft",
|
|
188666
|
+
"pending_external_allocation",
|
|
188667
|
+
"issued",
|
|
188668
|
+
"partially_paid",
|
|
188669
|
+
"paid",
|
|
188670
|
+
"overdue",
|
|
188671
|
+
"void"
|
|
188672
|
+
]
|
|
188673
|
+
},
|
|
188674
|
+
"currency": {
|
|
188675
|
+
"type": "string"
|
|
188676
|
+
},
|
|
188677
|
+
"baseCurrency": {
|
|
188678
|
+
"type": [
|
|
188679
|
+
"string",
|
|
188680
|
+
"null"
|
|
188681
|
+
]
|
|
188682
|
+
},
|
|
188683
|
+
"fxRateSetId": {
|
|
188684
|
+
"type": [
|
|
188685
|
+
"string",
|
|
188686
|
+
"null"
|
|
188687
|
+
]
|
|
188688
|
+
},
|
|
188689
|
+
"subtotalCents": {
|
|
188690
|
+
"type": "integer"
|
|
188691
|
+
},
|
|
188692
|
+
"baseSubtotalCents": {
|
|
188693
|
+
"type": [
|
|
188694
|
+
"integer",
|
|
188695
|
+
"null"
|
|
188696
|
+
]
|
|
188697
|
+
},
|
|
188698
|
+
"taxCents": {
|
|
188699
|
+
"type": "integer"
|
|
188700
|
+
},
|
|
188701
|
+
"baseTaxCents": {
|
|
188702
|
+
"type": [
|
|
188703
|
+
"integer",
|
|
188704
|
+
"null"
|
|
188705
|
+
]
|
|
188706
|
+
},
|
|
188707
|
+
"totalCents": {
|
|
188708
|
+
"type": "integer"
|
|
188709
|
+
},
|
|
188710
|
+
"baseTotalCents": {
|
|
188711
|
+
"type": [
|
|
188712
|
+
"integer",
|
|
188713
|
+
"null"
|
|
188714
|
+
]
|
|
188715
|
+
},
|
|
188716
|
+
"paidCents": {
|
|
188717
|
+
"type": "integer"
|
|
188718
|
+
},
|
|
188719
|
+
"basePaidCents": {
|
|
188720
|
+
"type": [
|
|
188721
|
+
"integer",
|
|
188722
|
+
"null"
|
|
188723
|
+
]
|
|
188724
|
+
},
|
|
188725
|
+
"balanceDueCents": {
|
|
188726
|
+
"type": "integer"
|
|
188727
|
+
},
|
|
188728
|
+
"baseBalanceDueCents": {
|
|
188729
|
+
"type": [
|
|
188730
|
+
"integer",
|
|
188731
|
+
"null"
|
|
188732
|
+
]
|
|
188733
|
+
},
|
|
188734
|
+
"commissionPercent": {
|
|
188735
|
+
"type": [
|
|
188736
|
+
"integer",
|
|
188737
|
+
"null"
|
|
188738
|
+
]
|
|
188739
|
+
},
|
|
188740
|
+
"commissionAmountCents": {
|
|
188741
|
+
"type": [
|
|
188742
|
+
"integer",
|
|
188743
|
+
"null"
|
|
188744
|
+
]
|
|
188745
|
+
},
|
|
188746
|
+
"issueDate": {
|
|
188747
|
+
"type": "string"
|
|
188748
|
+
},
|
|
188749
|
+
"dueDate": {
|
|
188750
|
+
"type": "string"
|
|
188751
|
+
},
|
|
188752
|
+
"notes": {
|
|
188753
|
+
"type": [
|
|
188754
|
+
"string",
|
|
188755
|
+
"null"
|
|
188756
|
+
]
|
|
188757
|
+
},
|
|
188758
|
+
"voidedAt": {
|
|
188759
|
+
"type": [
|
|
188760
|
+
"string",
|
|
188761
|
+
"null"
|
|
188762
|
+
]
|
|
188763
|
+
},
|
|
188764
|
+
"voidReason": {
|
|
188765
|
+
"type": [
|
|
188766
|
+
"string",
|
|
188767
|
+
"null"
|
|
188768
|
+
]
|
|
188769
|
+
},
|
|
188770
|
+
"createdAt": {
|
|
188771
|
+
"type": "string"
|
|
188772
|
+
},
|
|
188773
|
+
"updatedAt": {
|
|
188774
|
+
"type": "string"
|
|
188775
|
+
}
|
|
188776
|
+
},
|
|
188777
|
+
"required": [
|
|
188778
|
+
"id",
|
|
188779
|
+
"invoiceNumber",
|
|
188780
|
+
"invoiceType",
|
|
188781
|
+
"convertedFromInvoiceId",
|
|
188782
|
+
"seriesId",
|
|
188783
|
+
"sequence",
|
|
188784
|
+
"templateId",
|
|
188785
|
+
"taxRegimeId",
|
|
188786
|
+
"language",
|
|
188787
|
+
"bookingId",
|
|
188788
|
+
"personId",
|
|
188789
|
+
"organizationId",
|
|
188790
|
+
"status",
|
|
188791
|
+
"currency",
|
|
188792
|
+
"baseCurrency",
|
|
188793
|
+
"fxRateSetId",
|
|
188794
|
+
"subtotalCents",
|
|
188795
|
+
"baseSubtotalCents",
|
|
188796
|
+
"taxCents",
|
|
188797
|
+
"baseTaxCents",
|
|
188798
|
+
"totalCents",
|
|
188799
|
+
"baseTotalCents",
|
|
188800
|
+
"paidCents",
|
|
188801
|
+
"basePaidCents",
|
|
188802
|
+
"balanceDueCents",
|
|
188803
|
+
"baseBalanceDueCents",
|
|
188804
|
+
"commissionPercent",
|
|
188805
|
+
"commissionAmountCents",
|
|
188806
|
+
"issueDate",
|
|
188807
|
+
"dueDate",
|
|
188808
|
+
"notes",
|
|
188809
|
+
"voidedAt",
|
|
188810
|
+
"voidReason",
|
|
188811
|
+
"createdAt",
|
|
188812
|
+
"updatedAt"
|
|
188813
|
+
]
|
|
188814
|
+
}
|
|
188815
|
+
},
|
|
188816
|
+
"required": [
|
|
188817
|
+
"data"
|
|
188818
|
+
]
|
|
188819
|
+
}
|
|
188820
|
+
}
|
|
188821
|
+
}
|
|
188822
|
+
},
|
|
188823
|
+
"400": {
|
|
188824
|
+
"description": "invalid_request, or the invoice is a draft (delete it instead)",
|
|
187912
188825
|
"content": {
|
|
187913
188826
|
"application/json": {
|
|
187914
188827
|
"schema": {
|
|
@@ -190041,6 +190954,24 @@
|
|
|
190041
190954
|
}
|
|
190042
190955
|
}
|
|
190043
190956
|
}
|
|
190957
|
+
},
|
|
190958
|
+
"409": {
|
|
190959
|
+
"description": "Credit note would exceed the invoice balance due",
|
|
190960
|
+
"content": {
|
|
190961
|
+
"application/json": {
|
|
190962
|
+
"schema": {
|
|
190963
|
+
"type": "object",
|
|
190964
|
+
"properties": {
|
|
190965
|
+
"error": {
|
|
190966
|
+
"type": "string"
|
|
190967
|
+
}
|
|
190968
|
+
},
|
|
190969
|
+
"required": [
|
|
190970
|
+
"error"
|
|
190971
|
+
]
|
|
190972
|
+
}
|
|
190973
|
+
}
|
|
190974
|
+
}
|
|
190044
190975
|
}
|
|
190045
190976
|
}
|
|
190046
190977
|
}
|
|
@@ -190259,6 +191190,24 @@
|
|
|
190259
191190
|
}
|
|
190260
191191
|
}
|
|
190261
191192
|
}
|
|
191193
|
+
},
|
|
191194
|
+
"409": {
|
|
191195
|
+
"description": "Credit note would exceed the invoice balance due",
|
|
191196
|
+
"content": {
|
|
191197
|
+
"application/json": {
|
|
191198
|
+
"schema": {
|
|
191199
|
+
"type": "object",
|
|
191200
|
+
"properties": {
|
|
191201
|
+
"error": {
|
|
191202
|
+
"type": "string"
|
|
191203
|
+
}
|
|
191204
|
+
},
|
|
191205
|
+
"required": [
|
|
191206
|
+
"error"
|
|
191207
|
+
]
|
|
191208
|
+
}
|
|
191209
|
+
}
|
|
191210
|
+
}
|
|
190262
191211
|
}
|
|
190263
191212
|
}
|
|
190264
191213
|
}
|
|
@@ -192591,7 +193540,7 @@
|
|
|
192591
193540
|
"null"
|
|
192592
193541
|
],
|
|
192593
193542
|
"minimum": 0,
|
|
192594
|
-
"maximum":
|
|
193543
|
+
"maximum": 100
|
|
192595
193544
|
},
|
|
192596
193545
|
"description": {
|
|
192597
193546
|
"type": [
|
|
@@ -192915,7 +193864,7 @@
|
|
|
192915
193864
|
"null"
|
|
192916
193865
|
],
|
|
192917
193866
|
"minimum": 0,
|
|
192918
|
-
"maximum":
|
|
193867
|
+
"maximum": 100
|
|
192919
193868
|
},
|
|
192920
193869
|
"description": {
|
|
192921
193870
|
"type": [
|
|
@@ -198005,18 +198954,36 @@
|
|
|
198005
198954
|
"id": {
|
|
198006
198955
|
"type": "string"
|
|
198007
198956
|
},
|
|
198957
|
+
"source": {
|
|
198958
|
+
"type": "string",
|
|
198959
|
+
"enum": [
|
|
198960
|
+
"payment",
|
|
198961
|
+
"voucher_redemption"
|
|
198962
|
+
],
|
|
198963
|
+
"default": "payment"
|
|
198964
|
+
},
|
|
198008
198965
|
"invoiceId": {
|
|
198009
|
-
"type":
|
|
198966
|
+
"type": [
|
|
198967
|
+
"string",
|
|
198968
|
+
"null"
|
|
198969
|
+
]
|
|
198010
198970
|
},
|
|
198011
198971
|
"invoiceNumber": {
|
|
198012
|
-
"type":
|
|
198972
|
+
"type": [
|
|
198973
|
+
"string",
|
|
198974
|
+
"null"
|
|
198975
|
+
]
|
|
198013
198976
|
},
|
|
198014
198977
|
"invoiceType": {
|
|
198015
|
-
"type":
|
|
198978
|
+
"type": [
|
|
198979
|
+
"string",
|
|
198980
|
+
"null"
|
|
198981
|
+
],
|
|
198016
198982
|
"enum": [
|
|
198017
198983
|
"invoice",
|
|
198018
198984
|
"proforma",
|
|
198019
|
-
"credit_note"
|
|
198985
|
+
"credit_note",
|
|
198986
|
+
null
|
|
198020
198987
|
]
|
|
198021
198988
|
},
|
|
198022
198989
|
"status": {
|
|
@@ -200380,6 +201347,27 @@
|
|
|
200380
201347
|
}
|
|
200381
201348
|
}
|
|
200382
201349
|
}
|
|
201350
|
+
},
|
|
201351
|
+
"422": {
|
|
201352
|
+
"description": "Supplier invoice payable invariant failed",
|
|
201353
|
+
"content": {
|
|
201354
|
+
"application/json": {
|
|
201355
|
+
"schema": {
|
|
201356
|
+
"type": "object",
|
|
201357
|
+
"properties": {
|
|
201358
|
+
"error": {
|
|
201359
|
+
"type": "string"
|
|
201360
|
+
},
|
|
201361
|
+
"code": {
|
|
201362
|
+
"type": "string"
|
|
201363
|
+
}
|
|
201364
|
+
},
|
|
201365
|
+
"required": [
|
|
201366
|
+
"error"
|
|
201367
|
+
]
|
|
201368
|
+
}
|
|
201369
|
+
}
|
|
201370
|
+
}
|
|
200383
201371
|
}
|
|
200384
201372
|
}
|
|
200385
201373
|
},
|
|
@@ -200932,6 +201920,27 @@
|
|
|
200932
201920
|
}
|
|
200933
201921
|
}
|
|
200934
201922
|
}
|
|
201923
|
+
},
|
|
201924
|
+
"422": {
|
|
201925
|
+
"description": "Supplier invoice payable invariant failed",
|
|
201926
|
+
"content": {
|
|
201927
|
+
"application/json": {
|
|
201928
|
+
"schema": {
|
|
201929
|
+
"type": "object",
|
|
201930
|
+
"properties": {
|
|
201931
|
+
"error": {
|
|
201932
|
+
"type": "string"
|
|
201933
|
+
},
|
|
201934
|
+
"code": {
|
|
201935
|
+
"type": "string"
|
|
201936
|
+
}
|
|
201937
|
+
},
|
|
201938
|
+
"required": [
|
|
201939
|
+
"error"
|
|
201940
|
+
]
|
|
201941
|
+
}
|
|
201942
|
+
}
|
|
201943
|
+
}
|
|
200935
201944
|
}
|
|
200936
201945
|
}
|
|
200937
201946
|
},
|
|
@@ -201529,7 +202538,7 @@
|
|
|
201529
202538
|
}
|
|
201530
202539
|
},
|
|
201531
202540
|
"422": {
|
|
201532
|
-
"description": "
|
|
202541
|
+
"description": "Supplier invoice payable or allocation invariant failed",
|
|
201533
202542
|
"content": {
|
|
201534
202543
|
"application/json": {
|
|
201535
202544
|
"schema": {
|
|
@@ -202762,6 +203771,27 @@
|
|
|
202762
203771
|
}
|
|
202763
203772
|
}
|
|
202764
203773
|
}
|
|
203774
|
+
},
|
|
203775
|
+
"422": {
|
|
203776
|
+
"description": "supplier invoice payable invariant failed",
|
|
203777
|
+
"content": {
|
|
203778
|
+
"application/json": {
|
|
203779
|
+
"schema": {
|
|
203780
|
+
"type": "object",
|
|
203781
|
+
"properties": {
|
|
203782
|
+
"error": {
|
|
203783
|
+
"type": "string"
|
|
203784
|
+
},
|
|
203785
|
+
"code": {
|
|
203786
|
+
"type": "string"
|
|
203787
|
+
}
|
|
203788
|
+
},
|
|
203789
|
+
"required": [
|
|
203790
|
+
"error"
|
|
203791
|
+
]
|
|
203792
|
+
}
|
|
203793
|
+
}
|
|
203794
|
+
}
|
|
202765
203795
|
}
|
|
202766
203796
|
}
|
|
202767
203797
|
}
|
|
@@ -205846,14 +206876,12 @@
|
|
|
205846
206876
|
},
|
|
205847
206877
|
"separator": {
|
|
205848
206878
|
"type": "string",
|
|
205849
|
-
"maxLength": 5
|
|
205850
|
-
"default": ""
|
|
206879
|
+
"maxLength": 5
|
|
205851
206880
|
},
|
|
205852
206881
|
"padLength": {
|
|
205853
206882
|
"type": "integer",
|
|
205854
206883
|
"minimum": 0,
|
|
205855
|
-
"maximum": 12
|
|
205856
|
-
"default": 4
|
|
206884
|
+
"maximum": 12
|
|
205857
206885
|
},
|
|
205858
206886
|
"resetStrategy": {
|
|
205859
206887
|
"type": "string",
|
|
@@ -205861,8 +206889,7 @@
|
|
|
205861
206889
|
"never",
|
|
205862
206890
|
"annual",
|
|
205863
206891
|
"monthly"
|
|
205864
|
-
]
|
|
205865
|
-
"default": "never"
|
|
206892
|
+
]
|
|
205866
206893
|
},
|
|
205867
206894
|
"scope": {
|
|
205868
206895
|
"type": "string",
|
|
@@ -205872,12 +206899,10 @@
|
|
|
205872
206899
|
"partner",
|
|
205873
206900
|
"channel",
|
|
205874
206901
|
"other"
|
|
205875
|
-
]
|
|
205876
|
-
"default": "customer"
|
|
206902
|
+
]
|
|
205877
206903
|
},
|
|
205878
206904
|
"isDefault": {
|
|
205879
|
-
"type": "boolean"
|
|
205880
|
-
"default": false
|
|
206905
|
+
"type": "boolean"
|
|
205881
206906
|
},
|
|
205882
206907
|
"externalProvider": {
|
|
205883
206908
|
"type": [
|
|
@@ -205896,8 +206921,7 @@
|
|
|
205896
206921
|
"maxLength": 100
|
|
205897
206922
|
},
|
|
205898
206923
|
"active": {
|
|
205899
|
-
"type": "boolean"
|
|
205900
|
-
"default": true
|
|
206924
|
+
"type": "boolean"
|
|
205901
206925
|
}
|
|
205902
206926
|
}
|
|
205903
206927
|
}
|
|
@@ -239848,6 +240872,1242 @@
|
|
|
239848
240872
|
}
|
|
239849
240873
|
}
|
|
239850
240874
|
}
|
|
240875
|
+
},
|
|
240876
|
+
"/v1/admin/settings/operator-profile": {
|
|
240877
|
+
"get": {
|
|
240878
|
+
"responses": {
|
|
240879
|
+
"200": {
|
|
240880
|
+
"description": "The operator profile",
|
|
240881
|
+
"content": {
|
|
240882
|
+
"application/json": {
|
|
240883
|
+
"schema": {
|
|
240884
|
+
"type": "object",
|
|
240885
|
+
"properties": {
|
|
240886
|
+
"data": {
|
|
240887
|
+
"type": [
|
|
240888
|
+
"object",
|
|
240889
|
+
"null"
|
|
240890
|
+
],
|
|
240891
|
+
"properties": {
|
|
240892
|
+
"id": {
|
|
240893
|
+
"type": "string"
|
|
240894
|
+
},
|
|
240895
|
+
"name": {
|
|
240896
|
+
"type": [
|
|
240897
|
+
"string",
|
|
240898
|
+
"null"
|
|
240899
|
+
]
|
|
240900
|
+
},
|
|
240901
|
+
"legalName": {
|
|
240902
|
+
"type": [
|
|
240903
|
+
"string",
|
|
240904
|
+
"null"
|
|
240905
|
+
]
|
|
240906
|
+
},
|
|
240907
|
+
"vatId": {
|
|
240908
|
+
"type": [
|
|
240909
|
+
"string",
|
|
240910
|
+
"null"
|
|
240911
|
+
]
|
|
240912
|
+
},
|
|
240913
|
+
"registrationNumber": {
|
|
240914
|
+
"type": [
|
|
240915
|
+
"string",
|
|
240916
|
+
"null"
|
|
240917
|
+
]
|
|
240918
|
+
},
|
|
240919
|
+
"address": {
|
|
240920
|
+
"type": [
|
|
240921
|
+
"string",
|
|
240922
|
+
"null"
|
|
240923
|
+
]
|
|
240924
|
+
},
|
|
240925
|
+
"phone": {
|
|
240926
|
+
"type": [
|
|
240927
|
+
"string",
|
|
240928
|
+
"null"
|
|
240929
|
+
]
|
|
240930
|
+
},
|
|
240931
|
+
"email": {
|
|
240932
|
+
"type": [
|
|
240933
|
+
"string",
|
|
240934
|
+
"null"
|
|
240935
|
+
]
|
|
240936
|
+
},
|
|
240937
|
+
"website": {
|
|
240938
|
+
"type": [
|
|
240939
|
+
"string",
|
|
240940
|
+
"null"
|
|
240941
|
+
]
|
|
240942
|
+
},
|
|
240943
|
+
"license": {
|
|
240944
|
+
"type": [
|
|
240945
|
+
"string",
|
|
240946
|
+
"null"
|
|
240947
|
+
]
|
|
240948
|
+
},
|
|
240949
|
+
"licenseAuthority": {
|
|
240950
|
+
"type": [
|
|
240951
|
+
"string",
|
|
240952
|
+
"null"
|
|
240953
|
+
]
|
|
240954
|
+
},
|
|
240955
|
+
"signatoryName": {
|
|
240956
|
+
"type": [
|
|
240957
|
+
"string",
|
|
240958
|
+
"null"
|
|
240959
|
+
]
|
|
240960
|
+
},
|
|
240961
|
+
"signatoryRole": {
|
|
240962
|
+
"type": [
|
|
240963
|
+
"string",
|
|
240964
|
+
"null"
|
|
240965
|
+
]
|
|
240966
|
+
},
|
|
240967
|
+
"createdAt": {
|
|
240968
|
+
"type": "string"
|
|
240969
|
+
},
|
|
240970
|
+
"updatedAt": {
|
|
240971
|
+
"type": "string"
|
|
240972
|
+
}
|
|
240973
|
+
},
|
|
240974
|
+
"required": [
|
|
240975
|
+
"id",
|
|
240976
|
+
"name",
|
|
240977
|
+
"legalName",
|
|
240978
|
+
"vatId",
|
|
240979
|
+
"registrationNumber",
|
|
240980
|
+
"address",
|
|
240981
|
+
"phone",
|
|
240982
|
+
"email",
|
|
240983
|
+
"website",
|
|
240984
|
+
"license",
|
|
240985
|
+
"licenseAuthority",
|
|
240986
|
+
"signatoryName",
|
|
240987
|
+
"signatoryRole",
|
|
240988
|
+
"createdAt",
|
|
240989
|
+
"updatedAt"
|
|
240990
|
+
]
|
|
240991
|
+
}
|
|
240992
|
+
},
|
|
240993
|
+
"required": [
|
|
240994
|
+
"data"
|
|
240995
|
+
]
|
|
240996
|
+
}
|
|
240997
|
+
}
|
|
240998
|
+
}
|
|
240999
|
+
}
|
|
241000
|
+
}
|
|
241001
|
+
},
|
|
241002
|
+
"patch": {
|
|
241003
|
+
"requestBody": {
|
|
241004
|
+
"required": true,
|
|
241005
|
+
"content": {
|
|
241006
|
+
"application/json": {
|
|
241007
|
+
"schema": {
|
|
241008
|
+
"type": "object",
|
|
241009
|
+
"properties": {
|
|
241010
|
+
"name": {
|
|
241011
|
+
"type": [
|
|
241012
|
+
"string",
|
|
241013
|
+
"null"
|
|
241014
|
+
]
|
|
241015
|
+
},
|
|
241016
|
+
"legalName": {
|
|
241017
|
+
"type": [
|
|
241018
|
+
"string",
|
|
241019
|
+
"null"
|
|
241020
|
+
]
|
|
241021
|
+
},
|
|
241022
|
+
"vatId": {
|
|
241023
|
+
"type": [
|
|
241024
|
+
"string",
|
|
241025
|
+
"null"
|
|
241026
|
+
]
|
|
241027
|
+
},
|
|
241028
|
+
"registrationNumber": {
|
|
241029
|
+
"type": [
|
|
241030
|
+
"string",
|
|
241031
|
+
"null"
|
|
241032
|
+
]
|
|
241033
|
+
},
|
|
241034
|
+
"address": {
|
|
241035
|
+
"type": [
|
|
241036
|
+
"string",
|
|
241037
|
+
"null"
|
|
241038
|
+
]
|
|
241039
|
+
},
|
|
241040
|
+
"phone": {
|
|
241041
|
+
"type": [
|
|
241042
|
+
"string",
|
|
241043
|
+
"null"
|
|
241044
|
+
]
|
|
241045
|
+
},
|
|
241046
|
+
"email": {
|
|
241047
|
+
"anyOf": [
|
|
241048
|
+
{
|
|
241049
|
+
"type": [
|
|
241050
|
+
"string",
|
|
241051
|
+
"null"
|
|
241052
|
+
],
|
|
241053
|
+
"format": "email"
|
|
241054
|
+
},
|
|
241055
|
+
{
|
|
241056
|
+
"type": "string",
|
|
241057
|
+
"enum": [
|
|
241058
|
+
""
|
|
241059
|
+
]
|
|
241060
|
+
},
|
|
241061
|
+
{
|
|
241062
|
+
"type": "null"
|
|
241063
|
+
}
|
|
241064
|
+
]
|
|
241065
|
+
},
|
|
241066
|
+
"website": {
|
|
241067
|
+
"anyOf": [
|
|
241068
|
+
{
|
|
241069
|
+
"type": [
|
|
241070
|
+
"string",
|
|
241071
|
+
"null"
|
|
241072
|
+
],
|
|
241073
|
+
"format": "uri"
|
|
241074
|
+
},
|
|
241075
|
+
{
|
|
241076
|
+
"type": "string",
|
|
241077
|
+
"enum": [
|
|
241078
|
+
""
|
|
241079
|
+
]
|
|
241080
|
+
},
|
|
241081
|
+
{
|
|
241082
|
+
"type": "null"
|
|
241083
|
+
}
|
|
241084
|
+
]
|
|
241085
|
+
},
|
|
241086
|
+
"license": {
|
|
241087
|
+
"type": [
|
|
241088
|
+
"string",
|
|
241089
|
+
"null"
|
|
241090
|
+
]
|
|
241091
|
+
},
|
|
241092
|
+
"licenseAuthority": {
|
|
241093
|
+
"type": [
|
|
241094
|
+
"string",
|
|
241095
|
+
"null"
|
|
241096
|
+
]
|
|
241097
|
+
},
|
|
241098
|
+
"signatoryName": {
|
|
241099
|
+
"type": [
|
|
241100
|
+
"string",
|
|
241101
|
+
"null"
|
|
241102
|
+
]
|
|
241103
|
+
},
|
|
241104
|
+
"signatoryRole": {
|
|
241105
|
+
"type": [
|
|
241106
|
+
"string",
|
|
241107
|
+
"null"
|
|
241108
|
+
]
|
|
241109
|
+
}
|
|
241110
|
+
}
|
|
241111
|
+
}
|
|
241112
|
+
}
|
|
241113
|
+
}
|
|
241114
|
+
},
|
|
241115
|
+
"responses": {
|
|
241116
|
+
"200": {
|
|
241117
|
+
"description": "The updated operator profile",
|
|
241118
|
+
"content": {
|
|
241119
|
+
"application/json": {
|
|
241120
|
+
"schema": {
|
|
241121
|
+
"type": "object",
|
|
241122
|
+
"properties": {
|
|
241123
|
+
"data": {
|
|
241124
|
+
"type": [
|
|
241125
|
+
"object",
|
|
241126
|
+
"null"
|
|
241127
|
+
],
|
|
241128
|
+
"properties": {
|
|
241129
|
+
"id": {
|
|
241130
|
+
"type": "string"
|
|
241131
|
+
},
|
|
241132
|
+
"name": {
|
|
241133
|
+
"type": [
|
|
241134
|
+
"string",
|
|
241135
|
+
"null"
|
|
241136
|
+
]
|
|
241137
|
+
},
|
|
241138
|
+
"legalName": {
|
|
241139
|
+
"type": [
|
|
241140
|
+
"string",
|
|
241141
|
+
"null"
|
|
241142
|
+
]
|
|
241143
|
+
},
|
|
241144
|
+
"vatId": {
|
|
241145
|
+
"type": [
|
|
241146
|
+
"string",
|
|
241147
|
+
"null"
|
|
241148
|
+
]
|
|
241149
|
+
},
|
|
241150
|
+
"registrationNumber": {
|
|
241151
|
+
"type": [
|
|
241152
|
+
"string",
|
|
241153
|
+
"null"
|
|
241154
|
+
]
|
|
241155
|
+
},
|
|
241156
|
+
"address": {
|
|
241157
|
+
"type": [
|
|
241158
|
+
"string",
|
|
241159
|
+
"null"
|
|
241160
|
+
]
|
|
241161
|
+
},
|
|
241162
|
+
"phone": {
|
|
241163
|
+
"type": [
|
|
241164
|
+
"string",
|
|
241165
|
+
"null"
|
|
241166
|
+
]
|
|
241167
|
+
},
|
|
241168
|
+
"email": {
|
|
241169
|
+
"type": [
|
|
241170
|
+
"string",
|
|
241171
|
+
"null"
|
|
241172
|
+
]
|
|
241173
|
+
},
|
|
241174
|
+
"website": {
|
|
241175
|
+
"type": [
|
|
241176
|
+
"string",
|
|
241177
|
+
"null"
|
|
241178
|
+
]
|
|
241179
|
+
},
|
|
241180
|
+
"license": {
|
|
241181
|
+
"type": [
|
|
241182
|
+
"string",
|
|
241183
|
+
"null"
|
|
241184
|
+
]
|
|
241185
|
+
},
|
|
241186
|
+
"licenseAuthority": {
|
|
241187
|
+
"type": [
|
|
241188
|
+
"string",
|
|
241189
|
+
"null"
|
|
241190
|
+
]
|
|
241191
|
+
},
|
|
241192
|
+
"signatoryName": {
|
|
241193
|
+
"type": [
|
|
241194
|
+
"string",
|
|
241195
|
+
"null"
|
|
241196
|
+
]
|
|
241197
|
+
},
|
|
241198
|
+
"signatoryRole": {
|
|
241199
|
+
"type": [
|
|
241200
|
+
"string",
|
|
241201
|
+
"null"
|
|
241202
|
+
]
|
|
241203
|
+
},
|
|
241204
|
+
"createdAt": {
|
|
241205
|
+
"type": "string"
|
|
241206
|
+
},
|
|
241207
|
+
"updatedAt": {
|
|
241208
|
+
"type": "string"
|
|
241209
|
+
}
|
|
241210
|
+
},
|
|
241211
|
+
"required": [
|
|
241212
|
+
"id",
|
|
241213
|
+
"name",
|
|
241214
|
+
"legalName",
|
|
241215
|
+
"vatId",
|
|
241216
|
+
"registrationNumber",
|
|
241217
|
+
"address",
|
|
241218
|
+
"phone",
|
|
241219
|
+
"email",
|
|
241220
|
+
"website",
|
|
241221
|
+
"license",
|
|
241222
|
+
"licenseAuthority",
|
|
241223
|
+
"signatoryName",
|
|
241224
|
+
"signatoryRole",
|
|
241225
|
+
"createdAt",
|
|
241226
|
+
"updatedAt"
|
|
241227
|
+
]
|
|
241228
|
+
}
|
|
241229
|
+
},
|
|
241230
|
+
"required": [
|
|
241231
|
+
"data"
|
|
241232
|
+
]
|
|
241233
|
+
}
|
|
241234
|
+
}
|
|
241235
|
+
}
|
|
241236
|
+
}
|
|
241237
|
+
}
|
|
241238
|
+
}
|
|
241239
|
+
},
|
|
241240
|
+
"/v1/admin/settings/operator-payment-instructions": {
|
|
241241
|
+
"get": {
|
|
241242
|
+
"responses": {
|
|
241243
|
+
"200": {
|
|
241244
|
+
"description": "The operator payment instructions",
|
|
241245
|
+
"content": {
|
|
241246
|
+
"application/json": {
|
|
241247
|
+
"schema": {
|
|
241248
|
+
"type": "object",
|
|
241249
|
+
"properties": {
|
|
241250
|
+
"data": {
|
|
241251
|
+
"type": [
|
|
241252
|
+
"object",
|
|
241253
|
+
"null"
|
|
241254
|
+
],
|
|
241255
|
+
"properties": {
|
|
241256
|
+
"id": {
|
|
241257
|
+
"type": "string"
|
|
241258
|
+
},
|
|
241259
|
+
"bankTransferBeneficiary": {
|
|
241260
|
+
"type": [
|
|
241261
|
+
"string",
|
|
241262
|
+
"null"
|
|
241263
|
+
]
|
|
241264
|
+
},
|
|
241265
|
+
"iban": {
|
|
241266
|
+
"type": [
|
|
241267
|
+
"string",
|
|
241268
|
+
"null"
|
|
241269
|
+
]
|
|
241270
|
+
},
|
|
241271
|
+
"bank": {
|
|
241272
|
+
"type": [
|
|
241273
|
+
"string",
|
|
241274
|
+
"null"
|
|
241275
|
+
]
|
|
241276
|
+
},
|
|
241277
|
+
"notes": {
|
|
241278
|
+
"type": [
|
|
241279
|
+
"string",
|
|
241280
|
+
"null"
|
|
241281
|
+
]
|
|
241282
|
+
},
|
|
241283
|
+
"createdAt": {
|
|
241284
|
+
"type": "string"
|
|
241285
|
+
},
|
|
241286
|
+
"updatedAt": {
|
|
241287
|
+
"type": "string"
|
|
241288
|
+
}
|
|
241289
|
+
},
|
|
241290
|
+
"required": [
|
|
241291
|
+
"id",
|
|
241292
|
+
"bankTransferBeneficiary",
|
|
241293
|
+
"iban",
|
|
241294
|
+
"bank",
|
|
241295
|
+
"notes",
|
|
241296
|
+
"createdAt",
|
|
241297
|
+
"updatedAt"
|
|
241298
|
+
]
|
|
241299
|
+
}
|
|
241300
|
+
},
|
|
241301
|
+
"required": [
|
|
241302
|
+
"data"
|
|
241303
|
+
]
|
|
241304
|
+
}
|
|
241305
|
+
}
|
|
241306
|
+
}
|
|
241307
|
+
}
|
|
241308
|
+
}
|
|
241309
|
+
},
|
|
241310
|
+
"patch": {
|
|
241311
|
+
"requestBody": {
|
|
241312
|
+
"required": true,
|
|
241313
|
+
"content": {
|
|
241314
|
+
"application/json": {
|
|
241315
|
+
"schema": {
|
|
241316
|
+
"type": "object",
|
|
241317
|
+
"properties": {
|
|
241318
|
+
"bankTransferBeneficiary": {
|
|
241319
|
+
"type": [
|
|
241320
|
+
"string",
|
|
241321
|
+
"null"
|
|
241322
|
+
]
|
|
241323
|
+
},
|
|
241324
|
+
"iban": {
|
|
241325
|
+
"type": [
|
|
241326
|
+
"string",
|
|
241327
|
+
"null"
|
|
241328
|
+
]
|
|
241329
|
+
},
|
|
241330
|
+
"bank": {
|
|
241331
|
+
"type": [
|
|
241332
|
+
"string",
|
|
241333
|
+
"null"
|
|
241334
|
+
]
|
|
241335
|
+
},
|
|
241336
|
+
"notes": {
|
|
241337
|
+
"type": [
|
|
241338
|
+
"string",
|
|
241339
|
+
"null"
|
|
241340
|
+
]
|
|
241341
|
+
}
|
|
241342
|
+
}
|
|
241343
|
+
}
|
|
241344
|
+
}
|
|
241345
|
+
}
|
|
241346
|
+
},
|
|
241347
|
+
"responses": {
|
|
241348
|
+
"200": {
|
|
241349
|
+
"description": "The updated operator payment instructions",
|
|
241350
|
+
"content": {
|
|
241351
|
+
"application/json": {
|
|
241352
|
+
"schema": {
|
|
241353
|
+
"type": "object",
|
|
241354
|
+
"properties": {
|
|
241355
|
+
"data": {
|
|
241356
|
+
"type": [
|
|
241357
|
+
"object",
|
|
241358
|
+
"null"
|
|
241359
|
+
],
|
|
241360
|
+
"properties": {
|
|
241361
|
+
"id": {
|
|
241362
|
+
"type": "string"
|
|
241363
|
+
},
|
|
241364
|
+
"bankTransferBeneficiary": {
|
|
241365
|
+
"type": [
|
|
241366
|
+
"string",
|
|
241367
|
+
"null"
|
|
241368
|
+
]
|
|
241369
|
+
},
|
|
241370
|
+
"iban": {
|
|
241371
|
+
"type": [
|
|
241372
|
+
"string",
|
|
241373
|
+
"null"
|
|
241374
|
+
]
|
|
241375
|
+
},
|
|
241376
|
+
"bank": {
|
|
241377
|
+
"type": [
|
|
241378
|
+
"string",
|
|
241379
|
+
"null"
|
|
241380
|
+
]
|
|
241381
|
+
},
|
|
241382
|
+
"notes": {
|
|
241383
|
+
"type": [
|
|
241384
|
+
"string",
|
|
241385
|
+
"null"
|
|
241386
|
+
]
|
|
241387
|
+
},
|
|
241388
|
+
"createdAt": {
|
|
241389
|
+
"type": "string"
|
|
241390
|
+
},
|
|
241391
|
+
"updatedAt": {
|
|
241392
|
+
"type": "string"
|
|
241393
|
+
}
|
|
241394
|
+
},
|
|
241395
|
+
"required": [
|
|
241396
|
+
"id",
|
|
241397
|
+
"bankTransferBeneficiary",
|
|
241398
|
+
"iban",
|
|
241399
|
+
"bank",
|
|
241400
|
+
"notes",
|
|
241401
|
+
"createdAt",
|
|
241402
|
+
"updatedAt"
|
|
241403
|
+
]
|
|
241404
|
+
}
|
|
241405
|
+
},
|
|
241406
|
+
"required": [
|
|
241407
|
+
"data"
|
|
241408
|
+
]
|
|
241409
|
+
}
|
|
241410
|
+
}
|
|
241411
|
+
}
|
|
241412
|
+
}
|
|
241413
|
+
}
|
|
241414
|
+
}
|
|
241415
|
+
},
|
|
241416
|
+
"/v1/admin/settings/operator-payment-defaults": {
|
|
241417
|
+
"get": {
|
|
241418
|
+
"responses": {
|
|
241419
|
+
"200": {
|
|
241420
|
+
"description": "The operator payment defaults",
|
|
241421
|
+
"content": {
|
|
241422
|
+
"application/json": {
|
|
241423
|
+
"schema": {
|
|
241424
|
+
"type": "object",
|
|
241425
|
+
"properties": {
|
|
241426
|
+
"data": {
|
|
241427
|
+
"type": [
|
|
241428
|
+
"object",
|
|
241429
|
+
"null"
|
|
241430
|
+
],
|
|
241431
|
+
"properties": {
|
|
241432
|
+
"id": {
|
|
241433
|
+
"type": "string"
|
|
241434
|
+
},
|
|
241435
|
+
"customerPaymentPolicy": {},
|
|
241436
|
+
"bookingCheckoutUrlTemplate": {
|
|
241437
|
+
"type": [
|
|
241438
|
+
"string",
|
|
241439
|
+
"null"
|
|
241440
|
+
]
|
|
241441
|
+
},
|
|
241442
|
+
"invoicePayUrlTemplate": {
|
|
241443
|
+
"type": [
|
|
241444
|
+
"string",
|
|
241445
|
+
"null"
|
|
241446
|
+
]
|
|
241447
|
+
},
|
|
241448
|
+
"createdAt": {
|
|
241449
|
+
"type": "string"
|
|
241450
|
+
},
|
|
241451
|
+
"updatedAt": {
|
|
241452
|
+
"type": "string"
|
|
241453
|
+
}
|
|
241454
|
+
},
|
|
241455
|
+
"required": [
|
|
241456
|
+
"id",
|
|
241457
|
+
"bookingCheckoutUrlTemplate",
|
|
241458
|
+
"invoicePayUrlTemplate",
|
|
241459
|
+
"createdAt",
|
|
241460
|
+
"updatedAt"
|
|
241461
|
+
]
|
|
241462
|
+
}
|
|
241463
|
+
},
|
|
241464
|
+
"required": [
|
|
241465
|
+
"data"
|
|
241466
|
+
]
|
|
241467
|
+
}
|
|
241468
|
+
}
|
|
241469
|
+
}
|
|
241470
|
+
}
|
|
241471
|
+
}
|
|
241472
|
+
},
|
|
241473
|
+
"patch": {
|
|
241474
|
+
"requestBody": {
|
|
241475
|
+
"required": true,
|
|
241476
|
+
"content": {
|
|
241477
|
+
"application/json": {
|
|
241478
|
+
"schema": {
|
|
241479
|
+
"type": "object",
|
|
241480
|
+
"properties": {
|
|
241481
|
+
"customerPaymentPolicy": {
|
|
241482
|
+
"type": [
|
|
241483
|
+
"object",
|
|
241484
|
+
"null"
|
|
241485
|
+
],
|
|
241486
|
+
"properties": {
|
|
241487
|
+
"deposit": {
|
|
241488
|
+
"type": "object",
|
|
241489
|
+
"properties": {
|
|
241490
|
+
"kind": {
|
|
241491
|
+
"type": "string",
|
|
241492
|
+
"enum": [
|
|
241493
|
+
"none",
|
|
241494
|
+
"percent",
|
|
241495
|
+
"fixed_cents"
|
|
241496
|
+
]
|
|
241497
|
+
},
|
|
241498
|
+
"percent": {
|
|
241499
|
+
"type": "number",
|
|
241500
|
+
"minimum": 0,
|
|
241501
|
+
"maximum": 100
|
|
241502
|
+
},
|
|
241503
|
+
"amountCents": {
|
|
241504
|
+
"type": "integer",
|
|
241505
|
+
"minimum": 0
|
|
241506
|
+
}
|
|
241507
|
+
},
|
|
241508
|
+
"required": [
|
|
241509
|
+
"kind"
|
|
241510
|
+
]
|
|
241511
|
+
},
|
|
241512
|
+
"minDaysBeforeDepartureForDeposit": {
|
|
241513
|
+
"type": "integer",
|
|
241514
|
+
"minimum": 0
|
|
241515
|
+
},
|
|
241516
|
+
"balanceDueDaysBeforeDeparture": {
|
|
241517
|
+
"type": "integer",
|
|
241518
|
+
"minimum": 0
|
|
241519
|
+
},
|
|
241520
|
+
"balanceDueMinDaysFromNow": {
|
|
241521
|
+
"type": "integer",
|
|
241522
|
+
"minimum": 0
|
|
241523
|
+
}
|
|
241524
|
+
},
|
|
241525
|
+
"required": [
|
|
241526
|
+
"deposit",
|
|
241527
|
+
"minDaysBeforeDepartureForDeposit",
|
|
241528
|
+
"balanceDueDaysBeforeDeparture",
|
|
241529
|
+
"balanceDueMinDaysFromNow"
|
|
241530
|
+
]
|
|
241531
|
+
},
|
|
241532
|
+
"bookingCheckoutUrlTemplate": {
|
|
241533
|
+
"type": [
|
|
241534
|
+
"string",
|
|
241535
|
+
"null"
|
|
241536
|
+
]
|
|
241537
|
+
},
|
|
241538
|
+
"invoicePayUrlTemplate": {
|
|
241539
|
+
"type": [
|
|
241540
|
+
"string",
|
|
241541
|
+
"null"
|
|
241542
|
+
]
|
|
241543
|
+
}
|
|
241544
|
+
}
|
|
241545
|
+
}
|
|
241546
|
+
}
|
|
241547
|
+
}
|
|
241548
|
+
},
|
|
241549
|
+
"responses": {
|
|
241550
|
+
"200": {
|
|
241551
|
+
"description": "The updated operator payment defaults",
|
|
241552
|
+
"content": {
|
|
241553
|
+
"application/json": {
|
|
241554
|
+
"schema": {
|
|
241555
|
+
"type": "object",
|
|
241556
|
+
"properties": {
|
|
241557
|
+
"data": {
|
|
241558
|
+
"type": [
|
|
241559
|
+
"object",
|
|
241560
|
+
"null"
|
|
241561
|
+
],
|
|
241562
|
+
"properties": {
|
|
241563
|
+
"id": {
|
|
241564
|
+
"type": "string"
|
|
241565
|
+
},
|
|
241566
|
+
"customerPaymentPolicy": {},
|
|
241567
|
+
"bookingCheckoutUrlTemplate": {
|
|
241568
|
+
"type": [
|
|
241569
|
+
"string",
|
|
241570
|
+
"null"
|
|
241571
|
+
]
|
|
241572
|
+
},
|
|
241573
|
+
"invoicePayUrlTemplate": {
|
|
241574
|
+
"type": [
|
|
241575
|
+
"string",
|
|
241576
|
+
"null"
|
|
241577
|
+
]
|
|
241578
|
+
},
|
|
241579
|
+
"createdAt": {
|
|
241580
|
+
"type": "string"
|
|
241581
|
+
},
|
|
241582
|
+
"updatedAt": {
|
|
241583
|
+
"type": "string"
|
|
241584
|
+
}
|
|
241585
|
+
},
|
|
241586
|
+
"required": [
|
|
241587
|
+
"id",
|
|
241588
|
+
"bookingCheckoutUrlTemplate",
|
|
241589
|
+
"invoicePayUrlTemplate",
|
|
241590
|
+
"createdAt",
|
|
241591
|
+
"updatedAt"
|
|
241592
|
+
]
|
|
241593
|
+
}
|
|
241594
|
+
},
|
|
241595
|
+
"required": [
|
|
241596
|
+
"data"
|
|
241597
|
+
]
|
|
241598
|
+
}
|
|
241599
|
+
}
|
|
241600
|
+
}
|
|
241601
|
+
}
|
|
241602
|
+
}
|
|
241603
|
+
}
|
|
241604
|
+
},
|
|
241605
|
+
"/v1/admin/settings/operator": {
|
|
241606
|
+
"get": {
|
|
241607
|
+
"responses": {
|
|
241608
|
+
"200": {
|
|
241609
|
+
"description": "The combined operator settings",
|
|
241610
|
+
"content": {
|
|
241611
|
+
"application/json": {
|
|
241612
|
+
"schema": {
|
|
241613
|
+
"type": "object",
|
|
241614
|
+
"properties": {
|
|
241615
|
+
"data": {
|
|
241616
|
+
"type": [
|
|
241617
|
+
"object",
|
|
241618
|
+
"null"
|
|
241619
|
+
],
|
|
241620
|
+
"properties": {
|
|
241621
|
+
"id": {
|
|
241622
|
+
"type": "string"
|
|
241623
|
+
},
|
|
241624
|
+
"name": {
|
|
241625
|
+
"type": [
|
|
241626
|
+
"string",
|
|
241627
|
+
"null"
|
|
241628
|
+
]
|
|
241629
|
+
},
|
|
241630
|
+
"legalName": {
|
|
241631
|
+
"type": [
|
|
241632
|
+
"string",
|
|
241633
|
+
"null"
|
|
241634
|
+
]
|
|
241635
|
+
},
|
|
241636
|
+
"vatId": {
|
|
241637
|
+
"type": [
|
|
241638
|
+
"string",
|
|
241639
|
+
"null"
|
|
241640
|
+
]
|
|
241641
|
+
},
|
|
241642
|
+
"registrationNumber": {
|
|
241643
|
+
"type": [
|
|
241644
|
+
"string",
|
|
241645
|
+
"null"
|
|
241646
|
+
]
|
|
241647
|
+
},
|
|
241648
|
+
"address": {
|
|
241649
|
+
"type": [
|
|
241650
|
+
"string",
|
|
241651
|
+
"null"
|
|
241652
|
+
]
|
|
241653
|
+
},
|
|
241654
|
+
"phone": {
|
|
241655
|
+
"type": [
|
|
241656
|
+
"string",
|
|
241657
|
+
"null"
|
|
241658
|
+
]
|
|
241659
|
+
},
|
|
241660
|
+
"email": {
|
|
241661
|
+
"type": [
|
|
241662
|
+
"string",
|
|
241663
|
+
"null"
|
|
241664
|
+
]
|
|
241665
|
+
},
|
|
241666
|
+
"website": {
|
|
241667
|
+
"type": [
|
|
241668
|
+
"string",
|
|
241669
|
+
"null"
|
|
241670
|
+
]
|
|
241671
|
+
},
|
|
241672
|
+
"license": {
|
|
241673
|
+
"type": [
|
|
241674
|
+
"string",
|
|
241675
|
+
"null"
|
|
241676
|
+
]
|
|
241677
|
+
},
|
|
241678
|
+
"licenseAuthority": {
|
|
241679
|
+
"type": [
|
|
241680
|
+
"string",
|
|
241681
|
+
"null"
|
|
241682
|
+
]
|
|
241683
|
+
},
|
|
241684
|
+
"signatoryName": {
|
|
241685
|
+
"type": [
|
|
241686
|
+
"string",
|
|
241687
|
+
"null"
|
|
241688
|
+
]
|
|
241689
|
+
},
|
|
241690
|
+
"signatoryRole": {
|
|
241691
|
+
"type": [
|
|
241692
|
+
"string",
|
|
241693
|
+
"null"
|
|
241694
|
+
]
|
|
241695
|
+
},
|
|
241696
|
+
"createdAt": {
|
|
241697
|
+
"type": "string"
|
|
241698
|
+
},
|
|
241699
|
+
"updatedAt": {
|
|
241700
|
+
"type": "string"
|
|
241701
|
+
},
|
|
241702
|
+
"bankTransferBeneficiary": {
|
|
241703
|
+
"type": [
|
|
241704
|
+
"string",
|
|
241705
|
+
"null"
|
|
241706
|
+
]
|
|
241707
|
+
},
|
|
241708
|
+
"iban": {
|
|
241709
|
+
"type": [
|
|
241710
|
+
"string",
|
|
241711
|
+
"null"
|
|
241712
|
+
]
|
|
241713
|
+
},
|
|
241714
|
+
"bank": {
|
|
241715
|
+
"type": [
|
|
241716
|
+
"string",
|
|
241717
|
+
"null"
|
|
241718
|
+
]
|
|
241719
|
+
},
|
|
241720
|
+
"notes": {
|
|
241721
|
+
"type": [
|
|
241722
|
+
"string",
|
|
241723
|
+
"null"
|
|
241724
|
+
]
|
|
241725
|
+
},
|
|
241726
|
+
"customerPaymentPolicy": {},
|
|
241727
|
+
"bookingCheckoutUrlTemplate": {
|
|
241728
|
+
"type": [
|
|
241729
|
+
"string",
|
|
241730
|
+
"null"
|
|
241731
|
+
]
|
|
241732
|
+
},
|
|
241733
|
+
"invoicePayUrlTemplate": {
|
|
241734
|
+
"type": [
|
|
241735
|
+
"string",
|
|
241736
|
+
"null"
|
|
241737
|
+
]
|
|
241738
|
+
}
|
|
241739
|
+
},
|
|
241740
|
+
"required": [
|
|
241741
|
+
"bankTransferBeneficiary",
|
|
241742
|
+
"iban",
|
|
241743
|
+
"bank",
|
|
241744
|
+
"notes",
|
|
241745
|
+
"bookingCheckoutUrlTemplate",
|
|
241746
|
+
"invoicePayUrlTemplate"
|
|
241747
|
+
]
|
|
241748
|
+
}
|
|
241749
|
+
},
|
|
241750
|
+
"required": [
|
|
241751
|
+
"data"
|
|
241752
|
+
]
|
|
241753
|
+
}
|
|
241754
|
+
}
|
|
241755
|
+
}
|
|
241756
|
+
}
|
|
241757
|
+
}
|
|
241758
|
+
},
|
|
241759
|
+
"patch": {
|
|
241760
|
+
"requestBody": {
|
|
241761
|
+
"required": true,
|
|
241762
|
+
"content": {
|
|
241763
|
+
"application/json": {
|
|
241764
|
+
"schema": {
|
|
241765
|
+
"type": "object",
|
|
241766
|
+
"properties": {
|
|
241767
|
+
"name": {
|
|
241768
|
+
"type": [
|
|
241769
|
+
"string",
|
|
241770
|
+
"null"
|
|
241771
|
+
]
|
|
241772
|
+
},
|
|
241773
|
+
"legalName": {
|
|
241774
|
+
"type": [
|
|
241775
|
+
"string",
|
|
241776
|
+
"null"
|
|
241777
|
+
]
|
|
241778
|
+
},
|
|
241779
|
+
"vatId": {
|
|
241780
|
+
"type": [
|
|
241781
|
+
"string",
|
|
241782
|
+
"null"
|
|
241783
|
+
]
|
|
241784
|
+
},
|
|
241785
|
+
"registrationNumber": {
|
|
241786
|
+
"type": [
|
|
241787
|
+
"string",
|
|
241788
|
+
"null"
|
|
241789
|
+
]
|
|
241790
|
+
},
|
|
241791
|
+
"address": {
|
|
241792
|
+
"type": [
|
|
241793
|
+
"string",
|
|
241794
|
+
"null"
|
|
241795
|
+
]
|
|
241796
|
+
},
|
|
241797
|
+
"phone": {
|
|
241798
|
+
"type": [
|
|
241799
|
+
"string",
|
|
241800
|
+
"null"
|
|
241801
|
+
]
|
|
241802
|
+
},
|
|
241803
|
+
"email": {
|
|
241804
|
+
"anyOf": [
|
|
241805
|
+
{
|
|
241806
|
+
"type": [
|
|
241807
|
+
"string",
|
|
241808
|
+
"null"
|
|
241809
|
+
],
|
|
241810
|
+
"format": "email"
|
|
241811
|
+
},
|
|
241812
|
+
{
|
|
241813
|
+
"type": "string",
|
|
241814
|
+
"enum": [
|
|
241815
|
+
""
|
|
241816
|
+
]
|
|
241817
|
+
},
|
|
241818
|
+
{
|
|
241819
|
+
"type": "null"
|
|
241820
|
+
}
|
|
241821
|
+
]
|
|
241822
|
+
},
|
|
241823
|
+
"website": {
|
|
241824
|
+
"anyOf": [
|
|
241825
|
+
{
|
|
241826
|
+
"type": [
|
|
241827
|
+
"string",
|
|
241828
|
+
"null"
|
|
241829
|
+
],
|
|
241830
|
+
"format": "uri"
|
|
241831
|
+
},
|
|
241832
|
+
{
|
|
241833
|
+
"type": "string",
|
|
241834
|
+
"enum": [
|
|
241835
|
+
""
|
|
241836
|
+
]
|
|
241837
|
+
},
|
|
241838
|
+
{
|
|
241839
|
+
"type": "null"
|
|
241840
|
+
}
|
|
241841
|
+
]
|
|
241842
|
+
},
|
|
241843
|
+
"license": {
|
|
241844
|
+
"type": [
|
|
241845
|
+
"string",
|
|
241846
|
+
"null"
|
|
241847
|
+
]
|
|
241848
|
+
},
|
|
241849
|
+
"licenseAuthority": {
|
|
241850
|
+
"type": [
|
|
241851
|
+
"string",
|
|
241852
|
+
"null"
|
|
241853
|
+
]
|
|
241854
|
+
},
|
|
241855
|
+
"signatoryName": {
|
|
241856
|
+
"type": [
|
|
241857
|
+
"string",
|
|
241858
|
+
"null"
|
|
241859
|
+
]
|
|
241860
|
+
},
|
|
241861
|
+
"signatoryRole": {
|
|
241862
|
+
"type": [
|
|
241863
|
+
"string",
|
|
241864
|
+
"null"
|
|
241865
|
+
]
|
|
241866
|
+
},
|
|
241867
|
+
"bankTransferBeneficiary": {
|
|
241868
|
+
"type": [
|
|
241869
|
+
"string",
|
|
241870
|
+
"null"
|
|
241871
|
+
]
|
|
241872
|
+
},
|
|
241873
|
+
"iban": {
|
|
241874
|
+
"type": [
|
|
241875
|
+
"string",
|
|
241876
|
+
"null"
|
|
241877
|
+
]
|
|
241878
|
+
},
|
|
241879
|
+
"bank": {
|
|
241880
|
+
"type": [
|
|
241881
|
+
"string",
|
|
241882
|
+
"null"
|
|
241883
|
+
]
|
|
241884
|
+
},
|
|
241885
|
+
"notes": {
|
|
241886
|
+
"type": [
|
|
241887
|
+
"string",
|
|
241888
|
+
"null"
|
|
241889
|
+
]
|
|
241890
|
+
},
|
|
241891
|
+
"customerPaymentPolicy": {
|
|
241892
|
+
"type": [
|
|
241893
|
+
"object",
|
|
241894
|
+
"null"
|
|
241895
|
+
],
|
|
241896
|
+
"properties": {
|
|
241897
|
+
"deposit": {
|
|
241898
|
+
"type": "object",
|
|
241899
|
+
"properties": {
|
|
241900
|
+
"kind": {
|
|
241901
|
+
"type": "string",
|
|
241902
|
+
"enum": [
|
|
241903
|
+
"none",
|
|
241904
|
+
"percent",
|
|
241905
|
+
"fixed_cents"
|
|
241906
|
+
]
|
|
241907
|
+
},
|
|
241908
|
+
"percent": {
|
|
241909
|
+
"type": "number",
|
|
241910
|
+
"minimum": 0,
|
|
241911
|
+
"maximum": 100
|
|
241912
|
+
},
|
|
241913
|
+
"amountCents": {
|
|
241914
|
+
"type": "integer",
|
|
241915
|
+
"minimum": 0
|
|
241916
|
+
}
|
|
241917
|
+
},
|
|
241918
|
+
"required": [
|
|
241919
|
+
"kind"
|
|
241920
|
+
]
|
|
241921
|
+
},
|
|
241922
|
+
"minDaysBeforeDepartureForDeposit": {
|
|
241923
|
+
"type": "integer",
|
|
241924
|
+
"minimum": 0
|
|
241925
|
+
},
|
|
241926
|
+
"balanceDueDaysBeforeDeparture": {
|
|
241927
|
+
"type": "integer",
|
|
241928
|
+
"minimum": 0
|
|
241929
|
+
},
|
|
241930
|
+
"balanceDueMinDaysFromNow": {
|
|
241931
|
+
"type": "integer",
|
|
241932
|
+
"minimum": 0
|
|
241933
|
+
}
|
|
241934
|
+
},
|
|
241935
|
+
"required": [
|
|
241936
|
+
"deposit",
|
|
241937
|
+
"minDaysBeforeDepartureForDeposit",
|
|
241938
|
+
"balanceDueDaysBeforeDeparture",
|
|
241939
|
+
"balanceDueMinDaysFromNow"
|
|
241940
|
+
]
|
|
241941
|
+
},
|
|
241942
|
+
"bookingCheckoutUrlTemplate": {
|
|
241943
|
+
"type": [
|
|
241944
|
+
"string",
|
|
241945
|
+
"null"
|
|
241946
|
+
]
|
|
241947
|
+
},
|
|
241948
|
+
"invoicePayUrlTemplate": {
|
|
241949
|
+
"type": [
|
|
241950
|
+
"string",
|
|
241951
|
+
"null"
|
|
241952
|
+
]
|
|
241953
|
+
}
|
|
241954
|
+
}
|
|
241955
|
+
}
|
|
241956
|
+
}
|
|
241957
|
+
}
|
|
241958
|
+
},
|
|
241959
|
+
"responses": {
|
|
241960
|
+
"200": {
|
|
241961
|
+
"description": "The updated combined operator settings",
|
|
241962
|
+
"content": {
|
|
241963
|
+
"application/json": {
|
|
241964
|
+
"schema": {
|
|
241965
|
+
"type": "object",
|
|
241966
|
+
"properties": {
|
|
241967
|
+
"data": {
|
|
241968
|
+
"type": [
|
|
241969
|
+
"object",
|
|
241970
|
+
"null"
|
|
241971
|
+
],
|
|
241972
|
+
"properties": {
|
|
241973
|
+
"id": {
|
|
241974
|
+
"type": "string"
|
|
241975
|
+
},
|
|
241976
|
+
"name": {
|
|
241977
|
+
"type": [
|
|
241978
|
+
"string",
|
|
241979
|
+
"null"
|
|
241980
|
+
]
|
|
241981
|
+
},
|
|
241982
|
+
"legalName": {
|
|
241983
|
+
"type": [
|
|
241984
|
+
"string",
|
|
241985
|
+
"null"
|
|
241986
|
+
]
|
|
241987
|
+
},
|
|
241988
|
+
"vatId": {
|
|
241989
|
+
"type": [
|
|
241990
|
+
"string",
|
|
241991
|
+
"null"
|
|
241992
|
+
]
|
|
241993
|
+
},
|
|
241994
|
+
"registrationNumber": {
|
|
241995
|
+
"type": [
|
|
241996
|
+
"string",
|
|
241997
|
+
"null"
|
|
241998
|
+
]
|
|
241999
|
+
},
|
|
242000
|
+
"address": {
|
|
242001
|
+
"type": [
|
|
242002
|
+
"string",
|
|
242003
|
+
"null"
|
|
242004
|
+
]
|
|
242005
|
+
},
|
|
242006
|
+
"phone": {
|
|
242007
|
+
"type": [
|
|
242008
|
+
"string",
|
|
242009
|
+
"null"
|
|
242010
|
+
]
|
|
242011
|
+
},
|
|
242012
|
+
"email": {
|
|
242013
|
+
"type": [
|
|
242014
|
+
"string",
|
|
242015
|
+
"null"
|
|
242016
|
+
]
|
|
242017
|
+
},
|
|
242018
|
+
"website": {
|
|
242019
|
+
"type": [
|
|
242020
|
+
"string",
|
|
242021
|
+
"null"
|
|
242022
|
+
]
|
|
242023
|
+
},
|
|
242024
|
+
"license": {
|
|
242025
|
+
"type": [
|
|
242026
|
+
"string",
|
|
242027
|
+
"null"
|
|
242028
|
+
]
|
|
242029
|
+
},
|
|
242030
|
+
"licenseAuthority": {
|
|
242031
|
+
"type": [
|
|
242032
|
+
"string",
|
|
242033
|
+
"null"
|
|
242034
|
+
]
|
|
242035
|
+
},
|
|
242036
|
+
"signatoryName": {
|
|
242037
|
+
"type": [
|
|
242038
|
+
"string",
|
|
242039
|
+
"null"
|
|
242040
|
+
]
|
|
242041
|
+
},
|
|
242042
|
+
"signatoryRole": {
|
|
242043
|
+
"type": [
|
|
242044
|
+
"string",
|
|
242045
|
+
"null"
|
|
242046
|
+
]
|
|
242047
|
+
},
|
|
242048
|
+
"createdAt": {
|
|
242049
|
+
"type": "string"
|
|
242050
|
+
},
|
|
242051
|
+
"updatedAt": {
|
|
242052
|
+
"type": "string"
|
|
242053
|
+
},
|
|
242054
|
+
"bankTransferBeneficiary": {
|
|
242055
|
+
"type": [
|
|
242056
|
+
"string",
|
|
242057
|
+
"null"
|
|
242058
|
+
]
|
|
242059
|
+
},
|
|
242060
|
+
"iban": {
|
|
242061
|
+
"type": [
|
|
242062
|
+
"string",
|
|
242063
|
+
"null"
|
|
242064
|
+
]
|
|
242065
|
+
},
|
|
242066
|
+
"bank": {
|
|
242067
|
+
"type": [
|
|
242068
|
+
"string",
|
|
242069
|
+
"null"
|
|
242070
|
+
]
|
|
242071
|
+
},
|
|
242072
|
+
"notes": {
|
|
242073
|
+
"type": [
|
|
242074
|
+
"string",
|
|
242075
|
+
"null"
|
|
242076
|
+
]
|
|
242077
|
+
},
|
|
242078
|
+
"customerPaymentPolicy": {},
|
|
242079
|
+
"bookingCheckoutUrlTemplate": {
|
|
242080
|
+
"type": [
|
|
242081
|
+
"string",
|
|
242082
|
+
"null"
|
|
242083
|
+
]
|
|
242084
|
+
},
|
|
242085
|
+
"invoicePayUrlTemplate": {
|
|
242086
|
+
"type": [
|
|
242087
|
+
"string",
|
|
242088
|
+
"null"
|
|
242089
|
+
]
|
|
242090
|
+
}
|
|
242091
|
+
},
|
|
242092
|
+
"required": [
|
|
242093
|
+
"bankTransferBeneficiary",
|
|
242094
|
+
"iban",
|
|
242095
|
+
"bank",
|
|
242096
|
+
"notes",
|
|
242097
|
+
"bookingCheckoutUrlTemplate",
|
|
242098
|
+
"invoicePayUrlTemplate"
|
|
242099
|
+
]
|
|
242100
|
+
}
|
|
242101
|
+
},
|
|
242102
|
+
"required": [
|
|
242103
|
+
"data"
|
|
242104
|
+
]
|
|
242105
|
+
}
|
|
242106
|
+
}
|
|
242107
|
+
}
|
|
242108
|
+
}
|
|
242109
|
+
}
|
|
242110
|
+
}
|
|
239851
242111
|
}
|
|
239852
242112
|
},
|
|
239853
242113
|
"webhooks": {}
|