@voyant-travel/openapi 0.4.0 → 0.4.2
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 +3 -3
- package/spec/admin/promotions.json +56 -0
- package/spec/admin/relationships.json +249 -132
- package/spec/admin/suppliers.json +15 -11
- package/spec/framework-admin.json +320 -143
- package/spec/framework-openapi.json +320 -143
|
@@ -6652,7 +6652,10 @@
|
|
|
6652
6652
|
"type": [
|
|
6653
6653
|
"string",
|
|
6654
6654
|
"null"
|
|
6655
|
-
]
|
|
6655
|
+
],
|
|
6656
|
+
"minLength": 3,
|
|
6657
|
+
"maxLength": 3,
|
|
6658
|
+
"pattern": "^[A-Z]{3}$"
|
|
6656
6659
|
},
|
|
6657
6660
|
"preferredLanguage": {
|
|
6658
6661
|
"type": [
|
|
@@ -6665,7 +6668,8 @@
|
|
|
6665
6668
|
"integer",
|
|
6666
6669
|
"null"
|
|
6667
6670
|
],
|
|
6668
|
-
"exclusiveMinimum": 0
|
|
6671
|
+
"exclusiveMinimum": 0,
|
|
6672
|
+
"maximum": 365
|
|
6669
6673
|
},
|
|
6670
6674
|
"status": {
|
|
6671
6675
|
"type": "string",
|
|
@@ -7179,7 +7183,10 @@
|
|
|
7179
7183
|
"type": [
|
|
7180
7184
|
"string",
|
|
7181
7185
|
"null"
|
|
7182
|
-
]
|
|
7186
|
+
],
|
|
7187
|
+
"minLength": 3,
|
|
7188
|
+
"maxLength": 3,
|
|
7189
|
+
"pattern": "^[A-Z]{3}$"
|
|
7183
7190
|
},
|
|
7184
7191
|
"preferredLanguage": {
|
|
7185
7192
|
"type": [
|
|
@@ -7192,7 +7199,8 @@
|
|
|
7192
7199
|
"integer",
|
|
7193
7200
|
"null"
|
|
7194
7201
|
],
|
|
7195
|
-
"exclusiveMinimum": 0
|
|
7202
|
+
"exclusiveMinimum": 0,
|
|
7203
|
+
"maximum": 365
|
|
7196
7204
|
},
|
|
7197
7205
|
"status": {
|
|
7198
7206
|
"type": "string",
|
|
@@ -7200,8 +7208,7 @@
|
|
|
7200
7208
|
"active",
|
|
7201
7209
|
"inactive",
|
|
7202
7210
|
"archived"
|
|
7203
|
-
]
|
|
7204
|
-
"default": "active"
|
|
7211
|
+
]
|
|
7205
7212
|
},
|
|
7206
7213
|
"source": {
|
|
7207
7214
|
"type": [
|
|
@@ -7219,8 +7226,7 @@
|
|
|
7219
7226
|
"type": "array",
|
|
7220
7227
|
"items": {
|
|
7221
7228
|
"type": "string"
|
|
7222
|
-
}
|
|
7223
|
-
"default": []
|
|
7229
|
+
}
|
|
7224
7230
|
},
|
|
7225
7231
|
"customFields": {
|
|
7226
7232
|
"type": "object",
|
|
@@ -7490,6 +7496,24 @@
|
|
|
7490
7496
|
}
|
|
7491
7497
|
}
|
|
7492
7498
|
}
|
|
7499
|
+
},
|
|
7500
|
+
"409": {
|
|
7501
|
+
"description": "Organization has linked people",
|
|
7502
|
+
"content": {
|
|
7503
|
+
"application/json": {
|
|
7504
|
+
"schema": {
|
|
7505
|
+
"type": "object",
|
|
7506
|
+
"properties": {
|
|
7507
|
+
"error": {
|
|
7508
|
+
"type": "string"
|
|
7509
|
+
}
|
|
7510
|
+
},
|
|
7511
|
+
"required": [
|
|
7512
|
+
"error"
|
|
7513
|
+
]
|
|
7514
|
+
}
|
|
7515
|
+
}
|
|
7516
|
+
}
|
|
7493
7517
|
}
|
|
7494
7518
|
},
|
|
7495
7519
|
"operationId": "deleteAdminRelationshipsOrganizationsById",
|
|
@@ -7862,16 +7886,6 @@
|
|
|
7862
7886
|
"schema": {
|
|
7863
7887
|
"type": "object",
|
|
7864
7888
|
"properties": {
|
|
7865
|
-
"entityType": {
|
|
7866
|
-
"type": "string",
|
|
7867
|
-
"minLength": 1,
|
|
7868
|
-
"maxLength": 100
|
|
7869
|
-
},
|
|
7870
|
-
"entityId": {
|
|
7871
|
-
"type": "string",
|
|
7872
|
-
"minLength": 1,
|
|
7873
|
-
"maxLength": 100
|
|
7874
|
-
},
|
|
7875
7889
|
"kind": {
|
|
7876
7890
|
"type": "string",
|
|
7877
7891
|
"enum": [
|
|
@@ -7924,8 +7938,6 @@
|
|
|
7924
7938
|
}
|
|
7925
7939
|
},
|
|
7926
7940
|
"required": [
|
|
7927
|
-
"entityType",
|
|
7928
|
-
"entityId",
|
|
7929
7941
|
"kind",
|
|
7930
7942
|
"value"
|
|
7931
7943
|
]
|
|
@@ -8034,6 +8046,24 @@
|
|
|
8034
8046
|
}
|
|
8035
8047
|
}
|
|
8036
8048
|
}
|
|
8049
|
+
},
|
|
8050
|
+
"404": {
|
|
8051
|
+
"description": "Organization not found",
|
|
8052
|
+
"content": {
|
|
8053
|
+
"application/json": {
|
|
8054
|
+
"schema": {
|
|
8055
|
+
"type": "object",
|
|
8056
|
+
"properties": {
|
|
8057
|
+
"error": {
|
|
8058
|
+
"type": "string"
|
|
8059
|
+
}
|
|
8060
|
+
},
|
|
8061
|
+
"required": [
|
|
8062
|
+
"error"
|
|
8063
|
+
]
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
}
|
|
8037
8067
|
}
|
|
8038
8068
|
},
|
|
8039
8069
|
"operationId": "postAdminRelationshipsOrganizationsByIdContactMethods",
|
|
@@ -8223,16 +8253,6 @@
|
|
|
8223
8253
|
"schema": {
|
|
8224
8254
|
"type": "object",
|
|
8225
8255
|
"properties": {
|
|
8226
|
-
"entityType": {
|
|
8227
|
-
"type": "string",
|
|
8228
|
-
"minLength": 1,
|
|
8229
|
-
"maxLength": 100
|
|
8230
|
-
},
|
|
8231
|
-
"entityId": {
|
|
8232
|
-
"type": "string",
|
|
8233
|
-
"minLength": 1,
|
|
8234
|
-
"maxLength": 100
|
|
8235
|
-
},
|
|
8236
8256
|
"label": {
|
|
8237
8257
|
"type": "string",
|
|
8238
8258
|
"enum": [
|
|
@@ -8325,11 +8345,7 @@
|
|
|
8325
8345
|
],
|
|
8326
8346
|
"additionalProperties": {}
|
|
8327
8347
|
}
|
|
8328
|
-
}
|
|
8329
|
-
"required": [
|
|
8330
|
-
"entityType",
|
|
8331
|
-
"entityId"
|
|
8332
|
-
]
|
|
8348
|
+
}
|
|
8333
8349
|
}
|
|
8334
8350
|
}
|
|
8335
8351
|
}
|
|
@@ -8487,6 +8503,24 @@
|
|
|
8487
8503
|
}
|
|
8488
8504
|
}
|
|
8489
8505
|
}
|
|
8506
|
+
},
|
|
8507
|
+
"404": {
|
|
8508
|
+
"description": "Organization not found",
|
|
8509
|
+
"content": {
|
|
8510
|
+
"application/json": {
|
|
8511
|
+
"schema": {
|
|
8512
|
+
"type": "object",
|
|
8513
|
+
"properties": {
|
|
8514
|
+
"error": {
|
|
8515
|
+
"type": "string"
|
|
8516
|
+
}
|
|
8517
|
+
},
|
|
8518
|
+
"required": [
|
|
8519
|
+
"error"
|
|
8520
|
+
]
|
|
8521
|
+
}
|
|
8522
|
+
}
|
|
8523
|
+
}
|
|
8490
8524
|
}
|
|
8491
8525
|
},
|
|
8492
8526
|
"operationId": "postAdminRelationshipsOrganizationsByIdAddresses",
|
|
@@ -9943,8 +9977,7 @@
|
|
|
9943
9977
|
"active",
|
|
9944
9978
|
"inactive",
|
|
9945
9979
|
"archived"
|
|
9946
|
-
]
|
|
9947
|
-
"default": "active"
|
|
9980
|
+
]
|
|
9948
9981
|
},
|
|
9949
9982
|
"source": {
|
|
9950
9983
|
"type": [
|
|
@@ -9962,8 +9995,7 @@
|
|
|
9962
9995
|
"type": "array",
|
|
9963
9996
|
"items": {
|
|
9964
9997
|
"type": "string"
|
|
9965
|
-
}
|
|
9966
|
-
"default": []
|
|
9998
|
+
}
|
|
9967
9999
|
},
|
|
9968
10000
|
"customFields": {
|
|
9969
10001
|
"type": "object",
|
|
@@ -10763,16 +10795,6 @@
|
|
|
10763
10795
|
"schema": {
|
|
10764
10796
|
"type": "object",
|
|
10765
10797
|
"properties": {
|
|
10766
|
-
"entityType": {
|
|
10767
|
-
"type": "string",
|
|
10768
|
-
"minLength": 1,
|
|
10769
|
-
"maxLength": 100
|
|
10770
|
-
},
|
|
10771
|
-
"entityId": {
|
|
10772
|
-
"type": "string",
|
|
10773
|
-
"minLength": 1,
|
|
10774
|
-
"maxLength": 100
|
|
10775
|
-
},
|
|
10776
10798
|
"kind": {
|
|
10777
10799
|
"type": "string",
|
|
10778
10800
|
"enum": [
|
|
@@ -10825,8 +10847,6 @@
|
|
|
10825
10847
|
}
|
|
10826
10848
|
},
|
|
10827
10849
|
"required": [
|
|
10828
|
-
"entityType",
|
|
10829
|
-
"entityId",
|
|
10830
10850
|
"kind",
|
|
10831
10851
|
"value"
|
|
10832
10852
|
]
|
|
@@ -10935,6 +10955,24 @@
|
|
|
10935
10955
|
}
|
|
10936
10956
|
}
|
|
10937
10957
|
}
|
|
10958
|
+
},
|
|
10959
|
+
"404": {
|
|
10960
|
+
"description": "Person not found",
|
|
10961
|
+
"content": {
|
|
10962
|
+
"application/json": {
|
|
10963
|
+
"schema": {
|
|
10964
|
+
"type": "object",
|
|
10965
|
+
"properties": {
|
|
10966
|
+
"error": {
|
|
10967
|
+
"type": "string"
|
|
10968
|
+
}
|
|
10969
|
+
},
|
|
10970
|
+
"required": [
|
|
10971
|
+
"error"
|
|
10972
|
+
]
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
10975
|
+
}
|
|
10938
10976
|
}
|
|
10939
10977
|
},
|
|
10940
10978
|
"operationId": "postAdminRelationshipsPeopleByIdContactMethods",
|
|
@@ -11124,16 +11162,6 @@
|
|
|
11124
11162
|
"schema": {
|
|
11125
11163
|
"type": "object",
|
|
11126
11164
|
"properties": {
|
|
11127
|
-
"entityType": {
|
|
11128
|
-
"type": "string",
|
|
11129
|
-
"minLength": 1,
|
|
11130
|
-
"maxLength": 100
|
|
11131
|
-
},
|
|
11132
|
-
"entityId": {
|
|
11133
|
-
"type": "string",
|
|
11134
|
-
"minLength": 1,
|
|
11135
|
-
"maxLength": 100
|
|
11136
|
-
},
|
|
11137
11165
|
"label": {
|
|
11138
11166
|
"type": "string",
|
|
11139
11167
|
"enum": [
|
|
@@ -11226,11 +11254,7 @@
|
|
|
11226
11254
|
],
|
|
11227
11255
|
"additionalProperties": {}
|
|
11228
11256
|
}
|
|
11229
|
-
}
|
|
11230
|
-
"required": [
|
|
11231
|
-
"entityType",
|
|
11232
|
-
"entityId"
|
|
11233
|
-
]
|
|
11257
|
+
}
|
|
11234
11258
|
}
|
|
11235
11259
|
}
|
|
11236
11260
|
}
|
|
@@ -11388,6 +11412,24 @@
|
|
|
11388
11412
|
}
|
|
11389
11413
|
}
|
|
11390
11414
|
}
|
|
11415
|
+
},
|
|
11416
|
+
"404": {
|
|
11417
|
+
"description": "Person not found",
|
|
11418
|
+
"content": {
|
|
11419
|
+
"application/json": {
|
|
11420
|
+
"schema": {
|
|
11421
|
+
"type": "object",
|
|
11422
|
+
"properties": {
|
|
11423
|
+
"error": {
|
|
11424
|
+
"type": "string"
|
|
11425
|
+
}
|
|
11426
|
+
},
|
|
11427
|
+
"required": [
|
|
11428
|
+
"error"
|
|
11429
|
+
]
|
|
11430
|
+
}
|
|
11431
|
+
}
|
|
11432
|
+
}
|
|
11391
11433
|
}
|
|
11392
11434
|
},
|
|
11393
11435
|
"operationId": "postAdminRelationshipsPeopleByIdAddresses",
|
|
@@ -11882,60 +11924,97 @@
|
|
|
11882
11924
|
"content": {
|
|
11883
11925
|
"application/json": {
|
|
11884
11926
|
"schema": {
|
|
11885
|
-
"
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
"
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
"
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11927
|
+
"anyOf": [
|
|
11928
|
+
{
|
|
11929
|
+
"type": "object",
|
|
11930
|
+
"properties": {
|
|
11931
|
+
"holderName": {
|
|
11932
|
+
"type": [
|
|
11933
|
+
"string",
|
|
11934
|
+
"null"
|
|
11935
|
+
]
|
|
11936
|
+
},
|
|
11937
|
+
"processorToken": {
|
|
11938
|
+
"type": "string",
|
|
11939
|
+
"minLength": 1
|
|
11940
|
+
},
|
|
11941
|
+
"isDefault": {
|
|
11942
|
+
"type": "boolean",
|
|
11943
|
+
"default": false
|
|
11944
|
+
},
|
|
11945
|
+
"brand": {
|
|
11946
|
+
"type": "string",
|
|
11947
|
+
"enum": [
|
|
11948
|
+
"visa",
|
|
11949
|
+
"mastercard",
|
|
11950
|
+
"amex",
|
|
11951
|
+
"revolut"
|
|
11952
|
+
]
|
|
11953
|
+
},
|
|
11954
|
+
"last4": {
|
|
11955
|
+
"type": "string",
|
|
11956
|
+
"minLength": 2,
|
|
11957
|
+
"maxLength": 8
|
|
11958
|
+
},
|
|
11959
|
+
"expMonth": {
|
|
11960
|
+
"type": "integer",
|
|
11961
|
+
"minimum": 1,
|
|
11962
|
+
"maximum": 12
|
|
11963
|
+
},
|
|
11964
|
+
"expYear": {
|
|
11965
|
+
"type": "integer",
|
|
11966
|
+
"minimum": 2000,
|
|
11967
|
+
"maximum": 2100
|
|
11968
|
+
}
|
|
11969
|
+
},
|
|
11970
|
+
"required": [
|
|
11971
|
+
"processorToken",
|
|
11972
|
+
"brand",
|
|
11973
|
+
"last4",
|
|
11974
|
+
"expMonth",
|
|
11975
|
+
"expYear"
|
|
11915
11976
|
],
|
|
11916
|
-
"
|
|
11917
|
-
"maximum": 12
|
|
11977
|
+
"additionalProperties": false
|
|
11918
11978
|
},
|
|
11919
|
-
|
|
11920
|
-
"type":
|
|
11921
|
-
|
|
11922
|
-
"
|
|
11979
|
+
{
|
|
11980
|
+
"type": "object",
|
|
11981
|
+
"properties": {
|
|
11982
|
+
"holderName": {
|
|
11983
|
+
"type": [
|
|
11984
|
+
"string",
|
|
11985
|
+
"null"
|
|
11986
|
+
]
|
|
11987
|
+
},
|
|
11988
|
+
"processorToken": {
|
|
11989
|
+
"type": "string",
|
|
11990
|
+
"minLength": 1
|
|
11991
|
+
},
|
|
11992
|
+
"isDefault": {
|
|
11993
|
+
"type": "boolean",
|
|
11994
|
+
"default": false
|
|
11995
|
+
},
|
|
11996
|
+
"brand": {
|
|
11997
|
+
"type": "string",
|
|
11998
|
+
"enum": [
|
|
11999
|
+
"bank_transfer"
|
|
12000
|
+
]
|
|
12001
|
+
},
|
|
12002
|
+
"last4": {
|
|
12003
|
+
"type": "null"
|
|
12004
|
+
},
|
|
12005
|
+
"expMonth": {
|
|
12006
|
+
"type": "null"
|
|
12007
|
+
},
|
|
12008
|
+
"expYear": {
|
|
12009
|
+
"type": "null"
|
|
12010
|
+
}
|
|
12011
|
+
},
|
|
12012
|
+
"required": [
|
|
12013
|
+
"processorToken",
|
|
12014
|
+
"brand"
|
|
11923
12015
|
],
|
|
11924
|
-
"
|
|
11925
|
-
"maximum": 2100
|
|
11926
|
-
},
|
|
11927
|
-
"processorToken": {
|
|
11928
|
-
"type": "string",
|
|
11929
|
-
"minLength": 1
|
|
11930
|
-
},
|
|
11931
|
-
"isDefault": {
|
|
11932
|
-
"type": "boolean",
|
|
11933
|
-
"default": false
|
|
12016
|
+
"additionalProperties": false
|
|
11934
12017
|
}
|
|
11935
|
-
},
|
|
11936
|
-
"required": [
|
|
11937
|
-
"brand",
|
|
11938
|
-
"processorToken"
|
|
11939
12018
|
]
|
|
11940
12019
|
}
|
|
11941
12020
|
}
|
|
@@ -12081,6 +12160,20 @@
|
|
|
12081
12160
|
"schema": {
|
|
12082
12161
|
"type": "object",
|
|
12083
12162
|
"properties": {
|
|
12163
|
+
"holderName": {
|
|
12164
|
+
"type": [
|
|
12165
|
+
"string",
|
|
12166
|
+
"null"
|
|
12167
|
+
]
|
|
12168
|
+
},
|
|
12169
|
+
"processorToken": {
|
|
12170
|
+
"type": "string",
|
|
12171
|
+
"minLength": 1
|
|
12172
|
+
},
|
|
12173
|
+
"isDefault": {
|
|
12174
|
+
"type": "boolean",
|
|
12175
|
+
"default": false
|
|
12176
|
+
},
|
|
12084
12177
|
"brand": {
|
|
12085
12178
|
"type": "string",
|
|
12086
12179
|
"enum": [
|
|
@@ -12099,12 +12192,6 @@
|
|
|
12099
12192
|
"minLength": 2,
|
|
12100
12193
|
"maxLength": 8
|
|
12101
12194
|
},
|
|
12102
|
-
"holderName": {
|
|
12103
|
-
"type": [
|
|
12104
|
-
"string",
|
|
12105
|
-
"null"
|
|
12106
|
-
]
|
|
12107
|
-
},
|
|
12108
12195
|
"expMonth": {
|
|
12109
12196
|
"type": [
|
|
12110
12197
|
"integer",
|
|
@@ -12120,16 +12207,9 @@
|
|
|
12120
12207
|
],
|
|
12121
12208
|
"minimum": 2000,
|
|
12122
12209
|
"maximum": 2100
|
|
12123
|
-
},
|
|
12124
|
-
"processorToken": {
|
|
12125
|
-
"type": "string",
|
|
12126
|
-
"minLength": 1
|
|
12127
|
-
},
|
|
12128
|
-
"isDefault": {
|
|
12129
|
-
"type": "boolean",
|
|
12130
|
-
"default": false
|
|
12131
12210
|
}
|
|
12132
|
-
}
|
|
12211
|
+
},
|
|
12212
|
+
"additionalProperties": false
|
|
12133
12213
|
}
|
|
12134
12214
|
}
|
|
12135
12215
|
}
|
|
@@ -12549,7 +12629,8 @@
|
|
|
12549
12629
|
"type": [
|
|
12550
12630
|
"string",
|
|
12551
12631
|
"null"
|
|
12552
|
-
]
|
|
12632
|
+
],
|
|
12633
|
+
"format": "date-time"
|
|
12553
12634
|
}
|
|
12554
12635
|
},
|
|
12555
12636
|
"required": [
|
|
@@ -16057,6 +16138,24 @@
|
|
|
16057
16138
|
}
|
|
16058
16139
|
}
|
|
16059
16140
|
}
|
|
16141
|
+
},
|
|
16142
|
+
"409": {
|
|
16143
|
+
"description": "Relationship already exists",
|
|
16144
|
+
"content": {
|
|
16145
|
+
"application/json": {
|
|
16146
|
+
"schema": {
|
|
16147
|
+
"type": "object",
|
|
16148
|
+
"properties": {
|
|
16149
|
+
"error": {
|
|
16150
|
+
"type": "string"
|
|
16151
|
+
}
|
|
16152
|
+
},
|
|
16153
|
+
"required": [
|
|
16154
|
+
"error"
|
|
16155
|
+
]
|
|
16156
|
+
}
|
|
16157
|
+
}
|
|
16158
|
+
}
|
|
16060
16159
|
}
|
|
16061
16160
|
},
|
|
16062
16161
|
"operationId": "postAdminRelationshipsPeopleByIdRelationships",
|
|
@@ -19082,6 +19181,24 @@
|
|
|
19082
19181
|
}
|
|
19083
19182
|
}
|
|
19084
19183
|
}
|
|
19184
|
+
},
|
|
19185
|
+
"404": {
|
|
19186
|
+
"description": "Linked entity not found",
|
|
19187
|
+
"content": {
|
|
19188
|
+
"application/json": {
|
|
19189
|
+
"schema": {
|
|
19190
|
+
"type": "object",
|
|
19191
|
+
"properties": {
|
|
19192
|
+
"error": {
|
|
19193
|
+
"type": "string"
|
|
19194
|
+
}
|
|
19195
|
+
},
|
|
19196
|
+
"required": [
|
|
19197
|
+
"error"
|
|
19198
|
+
]
|
|
19199
|
+
}
|
|
19200
|
+
}
|
|
19201
|
+
}
|
|
19085
19202
|
}
|
|
19086
19203
|
},
|
|
19087
19204
|
"operationId": "postAdminRelationshipsActivitiesByIdLinks",
|
|
@@ -98441,7 +98558,8 @@
|
|
|
98441
98558
|
},
|
|
98442
98559
|
{
|
|
98443
98560
|
"schema": {
|
|
98444
|
-
"type": "string"
|
|
98561
|
+
"type": "string",
|
|
98562
|
+
"format": "date"
|
|
98445
98563
|
},
|
|
98446
98564
|
"required": false,
|
|
98447
98565
|
"name": "from",
|
|
@@ -98449,7 +98567,8 @@
|
|
|
98449
98567
|
},
|
|
98450
98568
|
{
|
|
98451
98569
|
"schema": {
|
|
98452
|
-
"type": "string"
|
|
98570
|
+
"type": "string",
|
|
98571
|
+
"format": "date"
|
|
98453
98572
|
},
|
|
98454
98573
|
"required": false,
|
|
98455
98574
|
"name": "to",
|
|
@@ -98543,7 +98662,7 @@
|
|
|
98543
98662
|
"properties": {
|
|
98544
98663
|
"date": {
|
|
98545
98664
|
"type": "string",
|
|
98546
|
-
"
|
|
98665
|
+
"format": "date"
|
|
98547
98666
|
},
|
|
98548
98667
|
"available": {
|
|
98549
98668
|
"type": "boolean",
|
|
@@ -98566,7 +98685,7 @@
|
|
|
98566
98685
|
"properties": {
|
|
98567
98686
|
"date": {
|
|
98568
98687
|
"type": "string",
|
|
98569
|
-
"
|
|
98688
|
+
"format": "date"
|
|
98570
98689
|
},
|
|
98571
98690
|
"available": {
|
|
98572
98691
|
"type": "boolean",
|
|
@@ -98590,7 +98709,7 @@
|
|
|
98590
98709
|
},
|
|
98591
98710
|
"responses": {
|
|
98592
98711
|
"201": {
|
|
98593
|
-
"description": "The
|
|
98712
|
+
"description": "The upserted availability entries",
|
|
98594
98713
|
"content": {
|
|
98595
98714
|
"application/json": {
|
|
98596
98715
|
"schema": {
|
|
@@ -99758,7 +99877,9 @@
|
|
|
99758
99877
|
"string",
|
|
99759
99878
|
"null"
|
|
99760
99879
|
],
|
|
99761
|
-
"
|
|
99880
|
+
"minLength": 3,
|
|
99881
|
+
"maxLength": 3,
|
|
99882
|
+
"pattern": "^[A-Z]{3}$"
|
|
99762
99883
|
},
|
|
99763
99884
|
"primaryFacilityId": {
|
|
99764
99885
|
"type": [
|
|
@@ -100315,8 +100436,7 @@
|
|
|
100315
100436
|
"active",
|
|
100316
100437
|
"inactive",
|
|
100317
100438
|
"pending"
|
|
100318
|
-
]
|
|
100319
|
-
"default": "active"
|
|
100439
|
+
]
|
|
100320
100440
|
},
|
|
100321
100441
|
"description": {
|
|
100322
100442
|
"type": [
|
|
@@ -100367,7 +100487,9 @@
|
|
|
100367
100487
|
"string",
|
|
100368
100488
|
"null"
|
|
100369
100489
|
],
|
|
100370
|
-
"
|
|
100490
|
+
"minLength": 3,
|
|
100491
|
+
"maxLength": 3,
|
|
100492
|
+
"pattern": "^[A-Z]{3}$"
|
|
100371
100493
|
},
|
|
100372
100494
|
"primaryFacilityId": {
|
|
100373
100495
|
"type": [
|
|
@@ -100464,8 +100586,7 @@
|
|
|
100464
100586
|
"type": "array",
|
|
100465
100587
|
"items": {
|
|
100466
100588
|
"type": "string"
|
|
100467
|
-
}
|
|
100468
|
-
"default": []
|
|
100589
|
+
}
|
|
100469
100590
|
}
|
|
100470
100591
|
}
|
|
100471
100592
|
}
|
|
@@ -133554,6 +133675,34 @@
|
|
|
133554
133675
|
}
|
|
133555
133676
|
}
|
|
133556
133677
|
},
|
|
133678
|
+
"400": {
|
|
133679
|
+
"description": "invalid_reference: product-scoped offer references unknown product ids",
|
|
133680
|
+
"content": {
|
|
133681
|
+
"application/json": {
|
|
133682
|
+
"schema": {
|
|
133683
|
+
"type": "object",
|
|
133684
|
+
"properties": {
|
|
133685
|
+
"error": {
|
|
133686
|
+
"type": "string"
|
|
133687
|
+
},
|
|
133688
|
+
"code": {
|
|
133689
|
+
"type": "string"
|
|
133690
|
+
},
|
|
133691
|
+
"requestId": {
|
|
133692
|
+
"type": "string"
|
|
133693
|
+
},
|
|
133694
|
+
"details": {
|
|
133695
|
+
"type": "object",
|
|
133696
|
+
"additionalProperties": {}
|
|
133697
|
+
}
|
|
133698
|
+
},
|
|
133699
|
+
"required": [
|
|
133700
|
+
"error"
|
|
133701
|
+
]
|
|
133702
|
+
}
|
|
133703
|
+
}
|
|
133704
|
+
}
|
|
133705
|
+
},
|
|
133557
133706
|
"409": {
|
|
133558
133707
|
"description": "Active promotional offer slug or code already exists",
|
|
133559
133708
|
"content": {
|
|
@@ -134579,6 +134728,34 @@
|
|
|
134579
134728
|
}
|
|
134580
134729
|
}
|
|
134581
134730
|
},
|
|
134731
|
+
"400": {
|
|
134732
|
+
"description": "invalid_reference: product-scoped offer references unknown product ids",
|
|
134733
|
+
"content": {
|
|
134734
|
+
"application/json": {
|
|
134735
|
+
"schema": {
|
|
134736
|
+
"type": "object",
|
|
134737
|
+
"properties": {
|
|
134738
|
+
"error": {
|
|
134739
|
+
"type": "string"
|
|
134740
|
+
},
|
|
134741
|
+
"code": {
|
|
134742
|
+
"type": "string"
|
|
134743
|
+
},
|
|
134744
|
+
"requestId": {
|
|
134745
|
+
"type": "string"
|
|
134746
|
+
},
|
|
134747
|
+
"details": {
|
|
134748
|
+
"type": "object",
|
|
134749
|
+
"additionalProperties": {}
|
|
134750
|
+
}
|
|
134751
|
+
},
|
|
134752
|
+
"required": [
|
|
134753
|
+
"error"
|
|
134754
|
+
]
|
|
134755
|
+
}
|
|
134756
|
+
}
|
|
134757
|
+
}
|
|
134758
|
+
},
|
|
134582
134759
|
"404": {
|
|
134583
134760
|
"description": "Promotional offer not found",
|
|
134584
134761
|
"content": {
|