@voyant-travel/openapi 0.2.5 → 0.2.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/openapi",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Generated OpenAPI 3.1 specification for the Voyant framework's standard API surface (admin + storefront).",
6
6
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "@types/node": "^25.5.2",
26
26
  "typescript": "^6.0.3",
27
27
  "vitest": "^4.1.9",
28
- "@voyant-travel/framework": "^0.9.33",
28
+ "@voyant-travel/framework": "^0.9.35",
29
29
  "@voyant-travel/hono": "^0.118.3",
30
30
  "@voyant-travel/voyant-typescript-config": "^0.1.0"
31
31
  },
@@ -213978,8 +213978,7 @@
213978
213978
  "additionalProperties": {}
213979
213979
  },
213980
213980
  "sortOrder": {
213981
- "type": "integer",
213982
- "default": 0
213981
+ "type": "integer"
213983
213982
  }
213984
213983
  }
213985
213984
  }
@@ -216400,8 +216399,7 @@
216400
216399
  "language": {
216401
216400
  "type": "string",
216402
216401
  "minLength": 2,
216403
- "maxLength": 10,
216404
- "default": "en"
216402
+ "maxLength": 10
216405
216403
  },
216406
216404
  "metadata": {
216407
216405
  "type": [
@@ -216576,6 +216574,24 @@
216576
216574
  }
216577
216575
  }
216578
216576
  }
216577
+ },
216578
+ "409": {
216579
+ "description": "Policy has recorded acceptances and cannot be deleted",
216580
+ "content": {
216581
+ "application/json": {
216582
+ "schema": {
216583
+ "type": "object",
216584
+ "properties": {
216585
+ "error": {
216586
+ "type": "string"
216587
+ }
216588
+ },
216589
+ "required": [
216590
+ "error"
216591
+ ]
216592
+ }
216593
+ }
216594
+ }
216579
216595
  }
216580
216596
  }
216581
216597
  }
@@ -228658,8 +228658,7 @@
228658
228658
  "additionalProperties": {}
228659
228659
  },
228660
228660
  "sortOrder": {
228661
- "type": "integer",
228662
- "default": 0
228661
+ "type": "integer"
228663
228662
  }
228664
228663
  }
228665
228664
  }
@@ -231080,8 +231079,7 @@
231080
231079
  "language": {
231081
231080
  "type": "string",
231082
231081
  "minLength": 2,
231083
- "maxLength": 10,
231084
- "default": "en"
231082
+ "maxLength": 10
231085
231083
  },
231086
231084
  "metadata": {
231087
231085
  "type": [
@@ -231256,6 +231254,24 @@
231256
231254
  }
231257
231255
  }
231258
231256
  }
231257
+ },
231258
+ "409": {
231259
+ "description": "Policy has recorded acceptances and cannot be deleted",
231260
+ "content": {
231261
+ "application/json": {
231262
+ "schema": {
231263
+ "type": "object",
231264
+ "properties": {
231265
+ "error": {
231266
+ "type": "string"
231267
+ }
231268
+ },
231269
+ "required": [
231270
+ "error"
231271
+ ]
231272
+ }
231273
+ }
231274
+ }
231259
231275
  }
231260
231276
  }
231261
231277
  }
@@ -233286,11 +233302,19 @@
233286
233302
  "required": true,
233287
233303
  "name": "id",
233288
233304
  "in": "path"
233305
+ },
233306
+ {
233307
+ "schema": {
233308
+ "type": "string"
233309
+ },
233310
+ "required": false,
233311
+ "name": "token",
233312
+ "in": "query"
233289
233313
  }
233290
233314
  ],
233291
233315
  "responses": {
233292
233316
  "200": {
233293
- "description": "A public-safe contract by id (metadata stripped)",
233317
+ "description": "A token-authorized public-safe contract",
233294
233318
  "content": {
233295
233319
  "application/json": {
233296
233320
  "schema": {
@@ -233299,9 +233323,6 @@
233299
233323
  "data": {
233300
233324
  "type": "object",
233301
233325
  "properties": {
233302
- "id": {
233303
- "type": "string"
233304
- },
233305
233326
  "contractNumber": {
233306
233327
  "type": [
233307
233328
  "string",
@@ -233330,159 +233351,9 @@
233330
233351
  "void"
233331
233352
  ]
233332
233353
  },
233333
- "stageHistory": {
233334
- "type": "array",
233335
- "items": {
233336
- "type": "object",
233337
- "properties": {
233338
- "stage": {
233339
- "type": "string",
233340
- "enum": [
233341
- "draft",
233342
- "issued",
233343
- "sent",
233344
- "signed",
233345
- "executed",
233346
- "expired",
233347
- "void"
233348
- ]
233349
- },
233350
- "previousStage": {
233351
- "type": [
233352
- "string",
233353
- "null"
233354
- ],
233355
- "enum": [
233356
- "draft",
233357
- "issued",
233358
- "sent",
233359
- "signed",
233360
- "executed",
233361
- "expired",
233362
- "void",
233363
- null
233364
- ]
233365
- },
233366
- "transition": {
233367
- "type": "string",
233368
- "enum": [
233369
- "created",
233370
- "issued",
233371
- "sent",
233372
- "signed",
233373
- "executed",
233374
- "voided"
233375
- ]
233376
- },
233377
- "enteredAt": {
233378
- "type": "string"
233379
- },
233380
- "actorId": {
233381
- "type": [
233382
- "string",
233383
- "null"
233384
- ]
233385
- }
233386
- },
233387
- "required": [
233388
- "stage",
233389
- "previousStage",
233390
- "transition",
233391
- "enteredAt"
233392
- ]
233393
- }
233394
- },
233395
233354
  "title": {
233396
233355
  "type": "string"
233397
233356
  },
233398
- "templateVersionId": {
233399
- "type": [
233400
- "string",
233401
- "null"
233402
- ]
233403
- },
233404
- "seriesId": {
233405
- "type": [
233406
- "string",
233407
- "null"
233408
- ]
233409
- },
233410
- "personId": {
233411
- "type": [
233412
- "string",
233413
- "null"
233414
- ]
233415
- },
233416
- "organizationId": {
233417
- "type": [
233418
- "string",
233419
- "null"
233420
- ]
233421
- },
233422
- "supplierId": {
233423
- "type": [
233424
- "string",
233425
- "null"
233426
- ]
233427
- },
233428
- "channelId": {
233429
- "type": [
233430
- "string",
233431
- "null"
233432
- ]
233433
- },
233434
- "bookingId": {
233435
- "type": [
233436
- "string",
233437
- "null"
233438
- ]
233439
- },
233440
- "targetKind": {
233441
- "type": [
233442
- "string",
233443
- "null"
233444
- ],
233445
- "enum": [
233446
- "booking",
233447
- "quote_version",
233448
- "program",
233449
- "product",
233450
- "inventory_item",
233451
- "supplier_channel_relationship",
233452
- "provider_source_ref",
233453
- null
233454
- ]
233455
- },
233456
- "targetId": {
233457
- "type": [
233458
- "string",
233459
- "null"
233460
- ]
233461
- },
233462
- "targetProvider": {
233463
- "type": [
233464
- "string",
233465
- "null"
233466
- ]
233467
- },
233468
- "targetSourceRef": {
233469
- "type": [
233470
- "string",
233471
- "null"
233472
- ]
233473
- },
233474
- "legacyTransactionOfferId": {
233475
- "type": [
233476
- "string",
233477
- "null"
233478
- ]
233479
- },
233480
- "legacyTransactionOrderId": {
233481
- "type": [
233482
- "string",
233483
- "null"
233484
- ]
233485
- },
233486
233357
  "issuedAt": {
233487
233358
  "type": [
233488
233359
  "string",
@@ -233529,35 +233400,13 @@
233529
233400
  "string",
233530
233401
  "null"
233531
233402
  ]
233532
- },
233533
- "variables": {},
233534
- "createdAt": {
233535
- "type": "string"
233536
- },
233537
- "updatedAt": {
233538
- "type": "string"
233539
233403
  }
233540
233404
  },
233541
233405
  "required": [
233542
- "id",
233543
233406
  "contractNumber",
233544
233407
  "scope",
233545
233408
  "status",
233546
- "stageHistory",
233547
233409
  "title",
233548
- "templateVersionId",
233549
- "seriesId",
233550
- "personId",
233551
- "organizationId",
233552
- "supplierId",
233553
- "channelId",
233554
- "bookingId",
233555
- "targetKind",
233556
- "targetId",
233557
- "targetProvider",
233558
- "targetSourceRef",
233559
- "legacyTransactionOfferId",
233560
- "legacyTransactionOrderId",
233561
233410
  "issuedAt",
233562
233411
  "sentAt",
233563
233412
  "executedAt",
@@ -233565,9 +233414,7 @@
233565
233414
  "voidedAt",
233566
233415
  "language",
233567
233416
  "renderedBodyFormat",
233568
- "renderedBody",
233569
- "createdAt",
233570
- "updatedAt"
233417
+ "renderedBody"
233571
233418
  ]
233572
233419
  }
233573
233420
  },
@@ -233595,6 +233442,24 @@
233595
233442
  }
233596
233443
  }
233597
233444
  }
233445
+ },
233446
+ "410": {
233447
+ "description": "Contract access grant is no longer available",
233448
+ "content": {
233449
+ "application/json": {
233450
+ "schema": {
233451
+ "type": "object",
233452
+ "properties": {
233453
+ "error": {
233454
+ "type": "string"
233455
+ }
233456
+ },
233457
+ "required": [
233458
+ "error"
233459
+ ]
233460
+ }
233461
+ }
233462
+ }
233598
233463
  }
233599
233464
  }
233600
233465
  }
@@ -233609,6 +233474,14 @@
233609
233474
  "required": true,
233610
233475
  "name": "id",
233611
233476
  "in": "path"
233477
+ },
233478
+ {
233479
+ "schema": {
233480
+ "type": "string"
233481
+ },
233482
+ "required": false,
233483
+ "name": "token",
233484
+ "in": "query"
233612
233485
  }
233613
233486
  ],
233614
233487
  "requestBody": {
@@ -233637,112 +233510,6 @@
233637
233510
  ],
233638
233511
  "maxLength": 255
233639
233512
  },
233640
- "personId": {
233641
- "type": [
233642
- "string",
233643
- "null"
233644
- ]
233645
- },
233646
- "targetKind": {
233647
- "type": [
233648
- "string",
233649
- "null"
233650
- ],
233651
- "enum": [
233652
- "booking",
233653
- "quote_version",
233654
- "program",
233655
- "product",
233656
- "inventory_item",
233657
- "supplier_channel_relationship",
233658
- "provider_source_ref",
233659
- null
233660
- ]
233661
- },
233662
- "targetId": {
233663
- "anyOf": [
233664
- {
233665
- "type": "string",
233666
- "enum": [
233667
- ""
233668
- ]
233669
- },
233670
- {
233671
- "type": "string"
233672
- },
233673
- {
233674
- "type": "null"
233675
- }
233676
- ]
233677
- },
233678
- "targetProvider": {
233679
- "anyOf": [
233680
- {
233681
- "type": "string",
233682
- "enum": [
233683
- ""
233684
- ]
233685
- },
233686
- {
233687
- "type": "string",
233688
- "minLength": 1,
233689
- "maxLength": 100
233690
- },
233691
- {
233692
- "type": "null"
233693
- }
233694
- ]
233695
- },
233696
- "targetSourceRef": {
233697
- "anyOf": [
233698
- {
233699
- "type": "string",
233700
- "enum": [
233701
- ""
233702
- ]
233703
- },
233704
- {
233705
- "type": "string",
233706
- "minLength": 1,
233707
- "maxLength": 500
233708
- },
233709
- {
233710
- "type": "null"
233711
- }
233712
- ]
233713
- },
233714
- "legacyTransactionOfferId": {
233715
- "anyOf": [
233716
- {
233717
- "type": "string",
233718
- "enum": [
233719
- ""
233720
- ]
233721
- },
233722
- {
233723
- "type": "string"
233724
- },
233725
- {
233726
- "type": "null"
233727
- }
233728
- ]
233729
- },
233730
- "legacyTransactionOrderId": {
233731
- "anyOf": [
233732
- {
233733
- "type": "string",
233734
- "enum": [
233735
- ""
233736
- ]
233737
- },
233738
- {
233739
- "type": "string"
233740
- },
233741
- {
233742
- "type": "null"
233743
- }
233744
- ]
233745
- },
233746
233513
  "method": {
233747
233514
  "type": "string",
233748
233515
  "enum": [
@@ -233753,46 +233520,11 @@
233753
233520
  ],
233754
233521
  "default": "manual"
233755
233522
  },
233756
- "provider": {
233757
- "type": [
233758
- "string",
233759
- "null"
233760
- ],
233761
- "maxLength": 255
233762
- },
233763
- "externalReference": {
233764
- "type": [
233765
- "string",
233766
- "null"
233767
- ],
233768
- "maxLength": 255
233769
- },
233770
233523
  "signatureData": {
233771
233524
  "type": [
233772
233525
  "string",
233773
233526
  "null"
233774
233527
  ]
233775
- },
233776
- "ipAddress": {
233777
- "type": [
233778
- "string",
233779
- "null"
233780
- ],
233781
- "maxLength": 64
233782
- },
233783
- "userAgent": {
233784
- "type": [
233785
- "string",
233786
- "null"
233787
- ],
233788
- "maxLength": 500
233789
- },
233790
- "metadata": {
233791
- "type": [
233792
- "object",
233793
- "null"
233794
- ],
233795
- "additionalProperties": {}
233796
233528
  }
233797
233529
  },
233798
233530
  "required": [
@@ -233816,12 +233548,6 @@
233816
233548
  "signature": {
233817
233549
  "type": "object",
233818
233550
  "properties": {
233819
- "id": {
233820
- "type": "string"
233821
- },
233822
- "contractId": {
233823
- "type": "string"
233824
- },
233825
233551
  "signerName": {
233826
233552
  "type": "string"
233827
233553
  },
@@ -233837,58 +233563,6 @@
233837
233563
  "null"
233838
233564
  ]
233839
233565
  },
233840
- "personId": {
233841
- "type": [
233842
- "string",
233843
- "null"
233844
- ]
233845
- },
233846
- "targetKind": {
233847
- "type": [
233848
- "string",
233849
- "null"
233850
- ],
233851
- "enum": [
233852
- "booking",
233853
- "quote_version",
233854
- "program",
233855
- "product",
233856
- "inventory_item",
233857
- "supplier_channel_relationship",
233858
- "provider_source_ref",
233859
- null
233860
- ]
233861
- },
233862
- "targetId": {
233863
- "type": [
233864
- "string",
233865
- "null"
233866
- ]
233867
- },
233868
- "targetProvider": {
233869
- "type": [
233870
- "string",
233871
- "null"
233872
- ]
233873
- },
233874
- "targetSourceRef": {
233875
- "type": [
233876
- "string",
233877
- "null"
233878
- ]
233879
- },
233880
- "legacyTransactionOfferId": {
233881
- "type": [
233882
- "string",
233883
- "null"
233884
- ]
233885
- },
233886
- "legacyTransactionOrderId": {
233887
- "type": [
233888
- "string",
233889
- "null"
233890
- ]
233891
- },
233892
233566
  "method": {
233893
233567
  "type": "string",
233894
233568
  "enum": [
@@ -233898,65 +233572,16 @@
233898
233572
  "other"
233899
233573
  ]
233900
233574
  },
233901
- "provider": {
233902
- "type": [
233903
- "string",
233904
- "null"
233905
- ]
233906
- },
233907
- "externalReference": {
233908
- "type": [
233909
- "string",
233910
- "null"
233911
- ]
233912
- },
233913
- "signatureData": {
233914
- "type": [
233915
- "string",
233916
- "null"
233917
- ]
233918
- },
233919
- "ipAddress": {
233920
- "type": [
233921
- "string",
233922
- "null"
233923
- ]
233924
- },
233925
- "userAgent": {
233926
- "type": [
233927
- "string",
233928
- "null"
233929
- ]
233930
- },
233931
233575
  "signedAt": {
233932
233576
  "type": "string"
233933
- },
233934
- "metadata": {},
233935
- "createdAt": {
233936
- "type": "string"
233937
233577
  }
233938
233578
  },
233939
233579
  "required": [
233940
- "id",
233941
- "contractId",
233942
233580
  "signerName",
233943
233581
  "signerEmail",
233944
233582
  "signerRole",
233945
- "personId",
233946
- "targetKind",
233947
- "targetId",
233948
- "targetProvider",
233949
- "targetSourceRef",
233950
- "legacyTransactionOfferId",
233951
- "legacyTransactionOrderId",
233952
233583
  "method",
233953
- "provider",
233954
- "externalReference",
233955
- "signatureData",
233956
- "ipAddress",
233957
- "userAgent",
233958
- "signedAt",
233959
- "createdAt"
233584
+ "signedAt"
233960
233585
  ]
233961
233586
  }
233962
233587
  },
@@ -234025,6 +233650,24 @@
234025
233650
  }
234026
233651
  }
234027
233652
  }
233653
+ },
233654
+ "410": {
233655
+ "description": "Contract access grant is no longer available",
233656
+ "content": {
233657
+ "application/json": {
233658
+ "schema": {
233659
+ "type": "object",
233660
+ "properties": {
233661
+ "error": {
233662
+ "type": "string"
233663
+ }
233664
+ },
233665
+ "required": [
233666
+ "error"
233667
+ ]
233668
+ }
233669
+ }
233670
+ }
234028
233671
  }
234029
233672
  }
234030
233673
  }
@@ -15357,11 +15357,19 @@
15357
15357
  "required": true,
15358
15358
  "name": "id",
15359
15359
  "in": "path"
15360
+ },
15361
+ {
15362
+ "schema": {
15363
+ "type": "string"
15364
+ },
15365
+ "required": false,
15366
+ "name": "token",
15367
+ "in": "query"
15360
15368
  }
15361
15369
  ],
15362
15370
  "responses": {
15363
15371
  "200": {
15364
- "description": "A public-safe contract by id (metadata stripped)",
15372
+ "description": "A token-authorized public-safe contract",
15365
15373
  "content": {
15366
15374
  "application/json": {
15367
15375
  "schema": {
@@ -15370,9 +15378,6 @@
15370
15378
  "data": {
15371
15379
  "type": "object",
15372
15380
  "properties": {
15373
- "id": {
15374
- "type": "string"
15375
- },
15376
15381
  "contractNumber": {
15377
15382
  "type": [
15378
15383
  "string",
@@ -15401,159 +15406,9 @@
15401
15406
  "void"
15402
15407
  ]
15403
15408
  },
15404
- "stageHistory": {
15405
- "type": "array",
15406
- "items": {
15407
- "type": "object",
15408
- "properties": {
15409
- "stage": {
15410
- "type": "string",
15411
- "enum": [
15412
- "draft",
15413
- "issued",
15414
- "sent",
15415
- "signed",
15416
- "executed",
15417
- "expired",
15418
- "void"
15419
- ]
15420
- },
15421
- "previousStage": {
15422
- "type": [
15423
- "string",
15424
- "null"
15425
- ],
15426
- "enum": [
15427
- "draft",
15428
- "issued",
15429
- "sent",
15430
- "signed",
15431
- "executed",
15432
- "expired",
15433
- "void",
15434
- null
15435
- ]
15436
- },
15437
- "transition": {
15438
- "type": "string",
15439
- "enum": [
15440
- "created",
15441
- "issued",
15442
- "sent",
15443
- "signed",
15444
- "executed",
15445
- "voided"
15446
- ]
15447
- },
15448
- "enteredAt": {
15449
- "type": "string"
15450
- },
15451
- "actorId": {
15452
- "type": [
15453
- "string",
15454
- "null"
15455
- ]
15456
- }
15457
- },
15458
- "required": [
15459
- "stage",
15460
- "previousStage",
15461
- "transition",
15462
- "enteredAt"
15463
- ]
15464
- }
15465
- },
15466
15409
  "title": {
15467
15410
  "type": "string"
15468
15411
  },
15469
- "templateVersionId": {
15470
- "type": [
15471
- "string",
15472
- "null"
15473
- ]
15474
- },
15475
- "seriesId": {
15476
- "type": [
15477
- "string",
15478
- "null"
15479
- ]
15480
- },
15481
- "personId": {
15482
- "type": [
15483
- "string",
15484
- "null"
15485
- ]
15486
- },
15487
- "organizationId": {
15488
- "type": [
15489
- "string",
15490
- "null"
15491
- ]
15492
- },
15493
- "supplierId": {
15494
- "type": [
15495
- "string",
15496
- "null"
15497
- ]
15498
- },
15499
- "channelId": {
15500
- "type": [
15501
- "string",
15502
- "null"
15503
- ]
15504
- },
15505
- "bookingId": {
15506
- "type": [
15507
- "string",
15508
- "null"
15509
- ]
15510
- },
15511
- "targetKind": {
15512
- "type": [
15513
- "string",
15514
- "null"
15515
- ],
15516
- "enum": [
15517
- "booking",
15518
- "quote_version",
15519
- "program",
15520
- "product",
15521
- "inventory_item",
15522
- "supplier_channel_relationship",
15523
- "provider_source_ref",
15524
- null
15525
- ]
15526
- },
15527
- "targetId": {
15528
- "type": [
15529
- "string",
15530
- "null"
15531
- ]
15532
- },
15533
- "targetProvider": {
15534
- "type": [
15535
- "string",
15536
- "null"
15537
- ]
15538
- },
15539
- "targetSourceRef": {
15540
- "type": [
15541
- "string",
15542
- "null"
15543
- ]
15544
- },
15545
- "legacyTransactionOfferId": {
15546
- "type": [
15547
- "string",
15548
- "null"
15549
- ]
15550
- },
15551
- "legacyTransactionOrderId": {
15552
- "type": [
15553
- "string",
15554
- "null"
15555
- ]
15556
- },
15557
15412
  "issuedAt": {
15558
15413
  "type": [
15559
15414
  "string",
@@ -15600,35 +15455,13 @@
15600
15455
  "string",
15601
15456
  "null"
15602
15457
  ]
15603
- },
15604
- "variables": {},
15605
- "createdAt": {
15606
- "type": "string"
15607
- },
15608
- "updatedAt": {
15609
- "type": "string"
15610
15458
  }
15611
15459
  },
15612
15460
  "required": [
15613
- "id",
15614
15461
  "contractNumber",
15615
15462
  "scope",
15616
15463
  "status",
15617
- "stageHistory",
15618
15464
  "title",
15619
- "templateVersionId",
15620
- "seriesId",
15621
- "personId",
15622
- "organizationId",
15623
- "supplierId",
15624
- "channelId",
15625
- "bookingId",
15626
- "targetKind",
15627
- "targetId",
15628
- "targetProvider",
15629
- "targetSourceRef",
15630
- "legacyTransactionOfferId",
15631
- "legacyTransactionOrderId",
15632
15465
  "issuedAt",
15633
15466
  "sentAt",
15634
15467
  "executedAt",
@@ -15636,9 +15469,7 @@
15636
15469
  "voidedAt",
15637
15470
  "language",
15638
15471
  "renderedBodyFormat",
15639
- "renderedBody",
15640
- "createdAt",
15641
- "updatedAt"
15472
+ "renderedBody"
15642
15473
  ]
15643
15474
  }
15644
15475
  },
@@ -15666,6 +15497,24 @@
15666
15497
  }
15667
15498
  }
15668
15499
  }
15500
+ },
15501
+ "410": {
15502
+ "description": "Contract access grant is no longer available",
15503
+ "content": {
15504
+ "application/json": {
15505
+ "schema": {
15506
+ "type": "object",
15507
+ "properties": {
15508
+ "error": {
15509
+ "type": "string"
15510
+ }
15511
+ },
15512
+ "required": [
15513
+ "error"
15514
+ ]
15515
+ }
15516
+ }
15517
+ }
15669
15518
  }
15670
15519
  }
15671
15520
  }
@@ -15680,6 +15529,14 @@
15680
15529
  "required": true,
15681
15530
  "name": "id",
15682
15531
  "in": "path"
15532
+ },
15533
+ {
15534
+ "schema": {
15535
+ "type": "string"
15536
+ },
15537
+ "required": false,
15538
+ "name": "token",
15539
+ "in": "query"
15683
15540
  }
15684
15541
  ],
15685
15542
  "requestBody": {
@@ -15708,112 +15565,6 @@
15708
15565
  ],
15709
15566
  "maxLength": 255
15710
15567
  },
15711
- "personId": {
15712
- "type": [
15713
- "string",
15714
- "null"
15715
- ]
15716
- },
15717
- "targetKind": {
15718
- "type": [
15719
- "string",
15720
- "null"
15721
- ],
15722
- "enum": [
15723
- "booking",
15724
- "quote_version",
15725
- "program",
15726
- "product",
15727
- "inventory_item",
15728
- "supplier_channel_relationship",
15729
- "provider_source_ref",
15730
- null
15731
- ]
15732
- },
15733
- "targetId": {
15734
- "anyOf": [
15735
- {
15736
- "type": "string",
15737
- "enum": [
15738
- ""
15739
- ]
15740
- },
15741
- {
15742
- "type": "string"
15743
- },
15744
- {
15745
- "type": "null"
15746
- }
15747
- ]
15748
- },
15749
- "targetProvider": {
15750
- "anyOf": [
15751
- {
15752
- "type": "string",
15753
- "enum": [
15754
- ""
15755
- ]
15756
- },
15757
- {
15758
- "type": "string",
15759
- "minLength": 1,
15760
- "maxLength": 100
15761
- },
15762
- {
15763
- "type": "null"
15764
- }
15765
- ]
15766
- },
15767
- "targetSourceRef": {
15768
- "anyOf": [
15769
- {
15770
- "type": "string",
15771
- "enum": [
15772
- ""
15773
- ]
15774
- },
15775
- {
15776
- "type": "string",
15777
- "minLength": 1,
15778
- "maxLength": 500
15779
- },
15780
- {
15781
- "type": "null"
15782
- }
15783
- ]
15784
- },
15785
- "legacyTransactionOfferId": {
15786
- "anyOf": [
15787
- {
15788
- "type": "string",
15789
- "enum": [
15790
- ""
15791
- ]
15792
- },
15793
- {
15794
- "type": "string"
15795
- },
15796
- {
15797
- "type": "null"
15798
- }
15799
- ]
15800
- },
15801
- "legacyTransactionOrderId": {
15802
- "anyOf": [
15803
- {
15804
- "type": "string",
15805
- "enum": [
15806
- ""
15807
- ]
15808
- },
15809
- {
15810
- "type": "string"
15811
- },
15812
- {
15813
- "type": "null"
15814
- }
15815
- ]
15816
- },
15817
15568
  "method": {
15818
15569
  "type": "string",
15819
15570
  "enum": [
@@ -15824,46 +15575,11 @@
15824
15575
  ],
15825
15576
  "default": "manual"
15826
15577
  },
15827
- "provider": {
15828
- "type": [
15829
- "string",
15830
- "null"
15831
- ],
15832
- "maxLength": 255
15833
- },
15834
- "externalReference": {
15835
- "type": [
15836
- "string",
15837
- "null"
15838
- ],
15839
- "maxLength": 255
15840
- },
15841
15578
  "signatureData": {
15842
15579
  "type": [
15843
15580
  "string",
15844
15581
  "null"
15845
15582
  ]
15846
- },
15847
- "ipAddress": {
15848
- "type": [
15849
- "string",
15850
- "null"
15851
- ],
15852
- "maxLength": 64
15853
- },
15854
- "userAgent": {
15855
- "type": [
15856
- "string",
15857
- "null"
15858
- ],
15859
- "maxLength": 500
15860
- },
15861
- "metadata": {
15862
- "type": [
15863
- "object",
15864
- "null"
15865
- ],
15866
- "additionalProperties": {}
15867
15583
  }
15868
15584
  },
15869
15585
  "required": [
@@ -15887,12 +15603,6 @@
15887
15603
  "signature": {
15888
15604
  "type": "object",
15889
15605
  "properties": {
15890
- "id": {
15891
- "type": "string"
15892
- },
15893
- "contractId": {
15894
- "type": "string"
15895
- },
15896
15606
  "signerName": {
15897
15607
  "type": "string"
15898
15608
  },
@@ -15908,58 +15618,6 @@
15908
15618
  "null"
15909
15619
  ]
15910
15620
  },
15911
- "personId": {
15912
- "type": [
15913
- "string",
15914
- "null"
15915
- ]
15916
- },
15917
- "targetKind": {
15918
- "type": [
15919
- "string",
15920
- "null"
15921
- ],
15922
- "enum": [
15923
- "booking",
15924
- "quote_version",
15925
- "program",
15926
- "product",
15927
- "inventory_item",
15928
- "supplier_channel_relationship",
15929
- "provider_source_ref",
15930
- null
15931
- ]
15932
- },
15933
- "targetId": {
15934
- "type": [
15935
- "string",
15936
- "null"
15937
- ]
15938
- },
15939
- "targetProvider": {
15940
- "type": [
15941
- "string",
15942
- "null"
15943
- ]
15944
- },
15945
- "targetSourceRef": {
15946
- "type": [
15947
- "string",
15948
- "null"
15949
- ]
15950
- },
15951
- "legacyTransactionOfferId": {
15952
- "type": [
15953
- "string",
15954
- "null"
15955
- ]
15956
- },
15957
- "legacyTransactionOrderId": {
15958
- "type": [
15959
- "string",
15960
- "null"
15961
- ]
15962
- },
15963
15621
  "method": {
15964
15622
  "type": "string",
15965
15623
  "enum": [
@@ -15969,65 +15627,16 @@
15969
15627
  "other"
15970
15628
  ]
15971
15629
  },
15972
- "provider": {
15973
- "type": [
15974
- "string",
15975
- "null"
15976
- ]
15977
- },
15978
- "externalReference": {
15979
- "type": [
15980
- "string",
15981
- "null"
15982
- ]
15983
- },
15984
- "signatureData": {
15985
- "type": [
15986
- "string",
15987
- "null"
15988
- ]
15989
- },
15990
- "ipAddress": {
15991
- "type": [
15992
- "string",
15993
- "null"
15994
- ]
15995
- },
15996
- "userAgent": {
15997
- "type": [
15998
- "string",
15999
- "null"
16000
- ]
16001
- },
16002
15630
  "signedAt": {
16003
15631
  "type": "string"
16004
- },
16005
- "metadata": {},
16006
- "createdAt": {
16007
- "type": "string"
16008
15632
  }
16009
15633
  },
16010
15634
  "required": [
16011
- "id",
16012
- "contractId",
16013
15635
  "signerName",
16014
15636
  "signerEmail",
16015
15637
  "signerRole",
16016
- "personId",
16017
- "targetKind",
16018
- "targetId",
16019
- "targetProvider",
16020
- "targetSourceRef",
16021
- "legacyTransactionOfferId",
16022
- "legacyTransactionOrderId",
16023
15638
  "method",
16024
- "provider",
16025
- "externalReference",
16026
- "signatureData",
16027
- "ipAddress",
16028
- "userAgent",
16029
- "signedAt",
16030
- "createdAt"
15639
+ "signedAt"
16031
15640
  ]
16032
15641
  }
16033
15642
  },
@@ -16096,6 +15705,24 @@
16096
15705
  }
16097
15706
  }
16098
15707
  }
15708
+ },
15709
+ "410": {
15710
+ "description": "Contract access grant is no longer available",
15711
+ "content": {
15712
+ "application/json": {
15713
+ "schema": {
15714
+ "type": "object",
15715
+ "properties": {
15716
+ "error": {
15717
+ "type": "string"
15718
+ }
15719
+ },
15720
+ "required": [
15721
+ "error"
15722
+ ]
15723
+ }
15724
+ }
15725
+ }
16099
15726
  }
16100
15727
  }
16101
15728
  }