@voyant-travel/openapi 0.3.0 → 0.4.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.
Files changed (41) hide show
  1. package/package.json +3 -3
  2. package/spec/admin/accommodations.json +54 -6
  3. package/spec/admin/action-ledger.json +94 -11
  4. package/spec/admin/booking-requirements.json +326 -40
  5. package/spec/admin/bookings.json +550 -68
  6. package/spec/admin/catalog.json +14 -1
  7. package/spec/admin/distribution.json +974 -121
  8. package/spec/admin/external-refs.json +62 -7
  9. package/spec/admin/extras.json +158 -19
  10. package/spec/admin/finance.json +1230 -153
  11. package/spec/admin/identity.json +90 -21
  12. package/spec/admin/legal.json +550 -68
  13. package/spec/admin/markets.json +302 -37
  14. package/spec/admin/notifications.json +294 -36
  15. package/spec/admin/operations.json +2112 -291
  16. package/spec/admin/operator-settings.json +70 -8
  17. package/spec/admin/pricing.json +566 -70
  18. package/spec/admin/products.json +1286 -160
  19. package/spec/admin/promotions.json +54 -6
  20. package/spec/admin/quotes.json +342 -42
  21. package/spec/admin/relationships.json +686 -85
  22. package/spec/admin/sellability.json +246 -30
  23. package/spec/admin/storefront.json +22 -2
  24. package/spec/admin/suppliers.json +278 -34
  25. package/spec/admin/trips.json +198 -24
  26. package/spec/framework-admin.json +10472 -1392
  27. package/spec/framework-openapi.json +11510 -1695
  28. package/spec/framework-storefront.json +846 -105
  29. package/spec/storefront/booking-requirements.json +14 -1
  30. package/spec/storefront/bookings.json +86 -10
  31. package/spec/storefront/catalog.json +14 -1
  32. package/spec/storefront/customer-portal.json +158 -19
  33. package/spec/storefront/finance.json +102 -12
  34. package/spec/storefront/legal.json +94 -11
  35. package/spec/storefront/markets.json +14 -1
  36. package/spec/storefront/operator-settings.json +22 -2
  37. package/spec/storefront/pricing.json +14 -1
  38. package/spec/storefront/products.json +62 -7
  39. package/spec/storefront/storefront-verification.json +38 -4
  40. package/spec/storefront/storefront.json +102 -12
  41. package/spec/storefront/trips.json +198 -24
@@ -5,6 +5,12 @@
5
5
  "version": "0.0.0",
6
6
  "description": "Generated from the Voyant framework's standard module composition. Do not edit by hand."
7
7
  },
8
+ "servers": [
9
+ {
10
+ "url": "/",
11
+ "description": "This deployment (same origin)"
12
+ }
13
+ ],
8
14
  "components": {
9
15
  "schemas": {
10
16
  "CatalogSearchFilter": {
@@ -610,7 +616,14 @@
610
616
  }
611
617
  }
612
618
  }
613
- }
619
+ },
620
+ "operationId": "getAdminPromotions",
621
+ "summary": "GET /v1/admin/promotions",
622
+ "tags": [
623
+ "promotions"
624
+ ],
625
+ "x-voyant-module": "promotions",
626
+ "x-voyant-surface": "admin"
614
627
  },
615
628
  "post": {
616
629
  "requestBody": {
@@ -1268,7 +1281,14 @@
1268
1281
  }
1269
1282
  }
1270
1283
  }
1271
- }
1284
+ },
1285
+ "operationId": "postAdminPromotions",
1286
+ "summary": "POST /v1/admin/promotions",
1287
+ "tags": [
1288
+ "promotions"
1289
+ ],
1290
+ "x-voyant-module": "promotions",
1291
+ "x-voyant-surface": "admin"
1272
1292
  }
1273
1293
  },
1274
1294
  "/v1/admin/promotions/{id}": {
@@ -1617,7 +1637,14 @@
1617
1637
  }
1618
1638
  }
1619
1639
  }
1620
- }
1640
+ },
1641
+ "operationId": "getAdminPromotionsById",
1642
+ "summary": "GET /v1/admin/promotions/{id}",
1643
+ "tags": [
1644
+ "promotions"
1645
+ ],
1646
+ "x-voyant-module": "promotions",
1647
+ "x-voyant-surface": "admin"
1621
1648
  },
1622
1649
  "patch": {
1623
1650
  "parameters": [
@@ -2297,7 +2324,14 @@
2297
2324
  }
2298
2325
  }
2299
2326
  }
2300
- }
2327
+ },
2328
+ "operationId": "patchAdminPromotionsById",
2329
+ "summary": "PATCH /v1/admin/promotions/{id}",
2330
+ "tags": [
2331
+ "promotions"
2332
+ ],
2333
+ "x-voyant-module": "promotions",
2334
+ "x-voyant-surface": "admin"
2301
2335
  },
2302
2336
  "delete": {
2303
2337
  "parameters": [
@@ -2373,7 +2407,14 @@
2373
2407
  }
2374
2408
  }
2375
2409
  }
2376
- }
2410
+ },
2411
+ "operationId": "deleteAdminPromotionsById",
2412
+ "summary": "DELETE /v1/admin/promotions/{id}",
2413
+ "tags": [
2414
+ "promotions"
2415
+ ],
2416
+ "x-voyant-module": "promotions",
2417
+ "x-voyant-surface": "admin"
2377
2418
  }
2378
2419
  },
2379
2420
  "/v1/admin/promotions/{id}/archive": {
@@ -2722,7 +2763,14 @@
2722
2763
  }
2723
2764
  }
2724
2765
  }
2725
- }
2766
+ },
2767
+ "operationId": "postAdminPromotionsByIdArchive",
2768
+ "summary": "POST /v1/admin/promotions/{id}/archive",
2769
+ "tags": [
2770
+ "promotions"
2771
+ ],
2772
+ "x-voyant-module": "promotions",
2773
+ "x-voyant-surface": "admin"
2726
2774
  }
2727
2775
  }
2728
2776
  },