@chrt-inc/typescript-sdk 1.1035.0 → 1.1037.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 (132) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.js +7 -2
  4. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/Client.d.ts +88 -0
  5. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/Client.js +269 -0
  6. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/index.d.ts +2 -0
  7. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/index.js +17 -0
  8. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaBookReq.d.ts +18 -0
  9. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaCancelReq.d.ts +12 -0
  10. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaCancelReq.js +5 -0
  11. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/index.js +2 -0
  13. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/airCanada/index.js +17 -0
  15. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.ts +2 -2
  16. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.js +1 -1
  17. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.ts +0 -1
  18. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.js +3 -1
  20. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  21. package/dist/cjs/api/resources/orgs/client/Client.js +19 -14
  22. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/Client.d.ts +137 -0
  23. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/Client.js +528 -0
  24. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/index.js +17 -0
  26. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersAddReq.d.ts +12 -0
  27. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersAddReq.js +5 -0
  28. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersListV1Request.d.ts +27 -0
  29. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersListV1Request.js +5 -0
  30. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkAvailableReq.d.ts +12 -0
  31. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkAvailableReq.js +5 -0
  32. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkUsedReq.d.ts +13 -0
  33. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkUsedReq.js +5 -0
  34. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersVoidReq.d.ts +13 -0
  35. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersVoidReq.js +5 -0
  36. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/index.d.ts +5 -0
  37. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/index.js +2 -0
  38. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/orgs/resources/airWaybillStockNumbers/index.js +17 -0
  40. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  41. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  42. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.ts +1 -1
  43. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.js +1 -1
  44. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.ts +1 -1
  45. package/dist/cjs/api/types/AirWaybillStockNumber1.d.ts +21 -0
  46. package/dist/cjs/api/types/AirWaybillStockNumber1.js +5 -0
  47. package/dist/cjs/api/types/AirWaybillStockNumberListRes.d.ts +8 -0
  48. package/dist/cjs/api/types/AirWaybillStockNumberListRes.js +5 -0
  49. package/dist/cjs/api/types/AirWaybillStockNumberSortByEnum.d.ts +9 -0
  50. package/dist/cjs/api/types/AirWaybillStockNumberSortByEnum.js +11 -0
  51. package/dist/cjs/api/types/AirWaybillStockNumberStatusEnum1.d.ts +10 -0
  52. package/dist/cjs/api/types/AirWaybillStockNumberStatusEnum1.js +12 -0
  53. package/dist/cjs/api/types/AirWaybillStockNumbersAddRes.d.ts +8 -0
  54. package/dist/cjs/api/types/AirWaybillStockNumbersAddRes.js +5 -0
  55. package/dist/cjs/api/types/AirWaybillStockNumbersSummaryRes.d.ts +10 -0
  56. package/dist/cjs/api/types/AirWaybillStockNumbersSummaryRes.js +5 -0
  57. package/dist/cjs/api/{resources/cargoOnFlightIntegrations/resources/cargoai/client/requests → types}/CargoOnFlightBookingSearchClientCreate1.d.ts +0 -10
  58. package/dist/cjs/api/types/CargoOnFlightBookingSearchClientCreate1.js +5 -0
  59. package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.d.ts +2 -1
  60. package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.js +1 -0
  61. package/dist/cjs/api/types/index.d.ts +7 -0
  62. package/dist/cjs/api/types/index.js +7 -0
  63. package/dist/cjs/version.d.ts +1 -1
  64. package/dist/cjs/version.js +1 -1
  65. package/dist/esm/Client.mjs +2 -2
  66. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.d.mts +3 -0
  67. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.mjs +5 -0
  68. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/Client.d.mts +88 -0
  69. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/Client.mjs +232 -0
  70. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/index.d.mts +2 -0
  71. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/index.mjs +1 -0
  72. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaBookReq.d.mts +18 -0
  73. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaCancelReq.d.mts +12 -0
  74. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaCancelReq.mjs +4 -0
  75. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/index.d.mts +2 -0
  76. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/client/requests/index.mjs +1 -0
  77. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/index.d.mts +1 -0
  78. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/airCanada/index.mjs +1 -0
  79. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts +2 -2
  80. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.mjs +1 -1
  81. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.mts +0 -1
  82. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.d.mts +2 -0
  83. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.mjs +2 -0
  84. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  85. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  86. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/Client.d.mts +137 -0
  87. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/Client.mjs +491 -0
  88. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/index.d.mts +2 -0
  89. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/index.mjs +1 -0
  90. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersAddReq.d.mts +12 -0
  91. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersAddReq.mjs +4 -0
  92. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersListV1Request.d.mts +27 -0
  93. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersListV1Request.mjs +4 -0
  94. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkAvailableReq.d.mts +12 -0
  95. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkAvailableReq.mjs +4 -0
  96. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkUsedReq.d.mts +13 -0
  97. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersMarkUsedReq.mjs +4 -0
  98. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersVoidReq.d.mts +13 -0
  99. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/AirWaybillStockNumbersVoidReq.mjs +4 -0
  100. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/index.d.mts +5 -0
  101. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/client/requests/index.mjs +1 -0
  102. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/index.d.mts +1 -0
  103. package/dist/esm/api/resources/orgs/resources/airWaybillStockNumbers/index.mjs +1 -0
  104. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  105. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  106. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.mts +1 -1
  107. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.mjs +1 -1
  108. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.mts +1 -1
  109. package/dist/esm/api/types/AirWaybillStockNumber1.d.mts +21 -0
  110. package/dist/esm/api/types/AirWaybillStockNumber1.mjs +4 -0
  111. package/dist/esm/api/types/AirWaybillStockNumberListRes.d.mts +8 -0
  112. package/dist/esm/api/types/AirWaybillStockNumberListRes.mjs +4 -0
  113. package/dist/esm/api/types/AirWaybillStockNumberSortByEnum.d.mts +9 -0
  114. package/dist/esm/api/types/AirWaybillStockNumberSortByEnum.mjs +8 -0
  115. package/dist/esm/api/types/AirWaybillStockNumberStatusEnum1.d.mts +10 -0
  116. package/dist/esm/api/types/AirWaybillStockNumberStatusEnum1.mjs +9 -0
  117. package/dist/esm/api/types/AirWaybillStockNumbersAddRes.d.mts +8 -0
  118. package/dist/esm/api/types/AirWaybillStockNumbersAddRes.mjs +4 -0
  119. package/dist/esm/api/types/AirWaybillStockNumbersSummaryRes.d.mts +10 -0
  120. package/dist/esm/api/types/AirWaybillStockNumbersSummaryRes.mjs +4 -0
  121. package/dist/esm/api/{resources/cargoOnFlightIntegrations/resources/cargoai/client/requests → types}/CargoOnFlightBookingSearchClientCreate1.d.mts +0 -10
  122. package/dist/esm/api/types/CargoOnFlightBookingSearchClientCreate1.mjs +4 -0
  123. package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.d.mts +2 -1
  124. package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.mjs +1 -0
  125. package/dist/esm/api/types/index.d.mts +7 -0
  126. package/dist/esm/api/types/index.mjs +7 -0
  127. package/dist/esm/version.d.mts +1 -1
  128. package/dist/esm/version.mjs +1 -1
  129. package/package.json +1 -1
  130. package/reference.md +679 -2
  131. /package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/{cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.js → airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaBookReq.js} +0 -0
  132. /package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/{cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.mjs → airCanada/client/requests/CargoOnFlightIntegrationsAirCanadaBookReq.mjs} +0 -0
@@ -0,0 +1,491 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../errors/index.mjs";
18
+ export class AirWaybillStockNumbers {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * Adds AWB numbers an airline gave the caller's organization to its AWB stock, skipping numbers already in it. | authz: min_org_role=operator | (AirWaybillStockNumbersAddReq) -> (AirWaybillStockNumbersAddRes)
24
+ *
25
+ * @param {Chrt.orgs.AirWaybillStockNumbersAddReq} request
26
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link Chrt.UnprocessableEntityError}
29
+ *
30
+ * @example
31
+ * await client.orgs.airWaybillStockNumbers.addV1({
32
+ * awb_numbers: ["awb_numbers"]
33
+ * })
34
+ */
35
+ addV1(request, requestOptions) {
36
+ return core.HttpResponsePromise.fromPromise(this.__addV1(request, requestOptions));
37
+ }
38
+ __addV1(request, requestOptions) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ var _a, _b, _c, _d;
41
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
42
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
43
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/add/v1"),
44
+ method: "POST",
45
+ headers: _headers,
46
+ contentType: "application/json",
47
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
48
+ requestType: "json",
49
+ body: request,
50
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
51
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
52
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
53
+ });
54
+ if (_response.ok) {
55
+ return { data: _response.body, rawResponse: _response.rawResponse };
56
+ }
57
+ if (_response.error.reason === "status-code") {
58
+ switch (_response.error.statusCode) {
59
+ case 422:
60
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
61
+ default:
62
+ throw new errors.ChrtError({
63
+ statusCode: _response.error.statusCode,
64
+ body: _response.error.body,
65
+ rawResponse: _response.rawResponse,
66
+ });
67
+ }
68
+ }
69
+ switch (_response.error.reason) {
70
+ case "non-json":
71
+ throw new errors.ChrtError({
72
+ statusCode: _response.error.statusCode,
73
+ body: _response.error.rawBody,
74
+ rawResponse: _response.rawResponse,
75
+ });
76
+ case "timeout":
77
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/air_waybill_stock_numbers/add/v1.");
78
+ case "unknown":
79
+ throw new errors.ChrtError({
80
+ message: _response.error.errorMessage,
81
+ rawResponse: _response.rawResponse,
82
+ });
83
+ }
84
+ });
85
+ }
86
+ /**
87
+ * Deletes an available AWB number from the caller's organization's AWB stock, e.g. one added by mistake. | authz: min_org_role=operator | () -> (bool)
88
+ *
89
+ * @param {string} airWaybillStockNumberId
90
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
91
+ *
92
+ * @throws {@link Chrt.UnprocessableEntityError}
93
+ *
94
+ * @example
95
+ * await client.orgs.airWaybillStockNumbers.deleteV1("air_waybill_stock_number_id")
96
+ */
97
+ deleteV1(airWaybillStockNumberId, requestOptions) {
98
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(airWaybillStockNumberId, requestOptions));
99
+ }
100
+ __deleteV1(airWaybillStockNumberId, requestOptions) {
101
+ return __awaiter(this, void 0, void 0, function* () {
102
+ var _a, _b, _c, _d;
103
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
104
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
105
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/air_waybill_stock_numbers/delete/v1/${encodeURIComponent(airWaybillStockNumberId)}`),
106
+ method: "DELETE",
107
+ headers: _headers,
108
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
109
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
110
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
111
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
112
+ });
113
+ if (_response.ok) {
114
+ return { data: _response.body, rawResponse: _response.rawResponse };
115
+ }
116
+ if (_response.error.reason === "status-code") {
117
+ switch (_response.error.statusCode) {
118
+ case 422:
119
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
120
+ default:
121
+ throw new errors.ChrtError({
122
+ statusCode: _response.error.statusCode,
123
+ body: _response.error.body,
124
+ rawResponse: _response.rawResponse,
125
+ });
126
+ }
127
+ }
128
+ switch (_response.error.reason) {
129
+ case "non-json":
130
+ throw new errors.ChrtError({
131
+ statusCode: _response.error.statusCode,
132
+ body: _response.error.rawBody,
133
+ rawResponse: _response.rawResponse,
134
+ });
135
+ case "timeout":
136
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/air_waybill_stock_numbers/delete/v1/{air_waybill_stock_number_id}.");
137
+ case "unknown":
138
+ throw new errors.ChrtError({
139
+ message: _response.error.errorMessage,
140
+ rawResponse: _response.rawResponse,
141
+ });
142
+ }
143
+ });
144
+ }
145
+ /**
146
+ * Lists the AWB numbers in the caller's organization's AWB stock, by airline prefix and status. | () -> (AirWaybillStockNumberListRes)
147
+ *
148
+ * @param {Chrt.orgs.AirWaybillStockNumbersListV1Request} request
149
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
150
+ *
151
+ * @throws {@link Chrt.UnprocessableEntityError}
152
+ *
153
+ * @example
154
+ * await client.orgs.airWaybillStockNumbers.listV1({
155
+ * filter_awb_prefix: "filter_awb_prefix",
156
+ * filter_status: ["available"],
157
+ * sort_by: "awb_number",
158
+ * sort_order: "asc",
159
+ * page: 1,
160
+ * page_size: 1
161
+ * })
162
+ */
163
+ listV1(request = {}, requestOptions) {
164
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
165
+ }
166
+ __listV1() {
167
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
168
+ var _a, _b, _c, _d, _e, _f;
169
+ const { filter_awb_prefix: filterAwbPrefix, filter_status: filterStatus, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
170
+ const _queryParams = {};
171
+ if (filterAwbPrefix !== undefined) {
172
+ _queryParams["filter_awb_prefix"] = filterAwbPrefix;
173
+ }
174
+ if (filterStatus !== undefined) {
175
+ if (Array.isArray(filterStatus)) {
176
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
177
+ }
178
+ else {
179
+ _queryParams["filter_status"] = filterStatus;
180
+ }
181
+ }
182
+ if (sortBy !== undefined) {
183
+ _queryParams["sort_by"] = sortBy;
184
+ }
185
+ if (sortOrder !== undefined) {
186
+ _queryParams["sort_order"] = sortOrder;
187
+ }
188
+ if (page !== undefined) {
189
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
190
+ }
191
+ if (pageSize !== undefined) {
192
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
193
+ }
194
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
195
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
196
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/list/v1"),
197
+ method: "GET",
198
+ headers: _headers,
199
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
200
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
201
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
202
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
203
+ });
204
+ if (_response.ok) {
205
+ return { data: _response.body, rawResponse: _response.rawResponse };
206
+ }
207
+ if (_response.error.reason === "status-code") {
208
+ switch (_response.error.statusCode) {
209
+ case 422:
210
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
211
+ default:
212
+ throw new errors.ChrtError({
213
+ statusCode: _response.error.statusCode,
214
+ body: _response.error.body,
215
+ rawResponse: _response.rawResponse,
216
+ });
217
+ }
218
+ }
219
+ switch (_response.error.reason) {
220
+ case "non-json":
221
+ throw new errors.ChrtError({
222
+ statusCode: _response.error.statusCode,
223
+ body: _response.error.rawBody,
224
+ rawResponse: _response.rawResponse,
225
+ });
226
+ case "timeout":
227
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/air_waybill_stock_numbers/list/v1.");
228
+ case "unknown":
229
+ throw new errors.ChrtError({
230
+ message: _response.error.errorMessage,
231
+ rawResponse: _response.rawResponse,
232
+ });
233
+ }
234
+ });
235
+ }
236
+ /**
237
+ * Marks AWB numbers of the caller's organization's AWB stock as available, whatever their status, taking them off their booking. | authz: min_org_role=operator | (AirWaybillStockNumbersMarkAvailableReq) -> (list[AirWaybillStockNumber1])
238
+ *
239
+ * @param {Chrt.orgs.AirWaybillStockNumbersMarkAvailableReq} request
240
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
241
+ *
242
+ * @throws {@link Chrt.UnprocessableEntityError}
243
+ *
244
+ * @example
245
+ * await client.orgs.airWaybillStockNumbers.markAvailableV1({
246
+ * awb_numbers: ["awb_numbers"]
247
+ * })
248
+ */
249
+ markAvailableV1(request, requestOptions) {
250
+ return core.HttpResponsePromise.fromPromise(this.__markAvailableV1(request, requestOptions));
251
+ }
252
+ __markAvailableV1(request, requestOptions) {
253
+ return __awaiter(this, void 0, void 0, function* () {
254
+ var _a, _b, _c, _d;
255
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
256
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
257
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/mark_available/v1"),
258
+ method: "POST",
259
+ headers: _headers,
260
+ contentType: "application/json",
261
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
262
+ requestType: "json",
263
+ body: request,
264
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
265
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
266
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
267
+ });
268
+ if (_response.ok) {
269
+ return { data: _response.body, rawResponse: _response.rawResponse };
270
+ }
271
+ if (_response.error.reason === "status-code") {
272
+ switch (_response.error.statusCode) {
273
+ case 422:
274
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
275
+ default:
276
+ throw new errors.ChrtError({
277
+ statusCode: _response.error.statusCode,
278
+ body: _response.error.body,
279
+ rawResponse: _response.rawResponse,
280
+ });
281
+ }
282
+ }
283
+ switch (_response.error.reason) {
284
+ case "non-json":
285
+ throw new errors.ChrtError({
286
+ statusCode: _response.error.statusCode,
287
+ body: _response.error.rawBody,
288
+ rawResponse: _response.rawResponse,
289
+ });
290
+ case "timeout":
291
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/air_waybill_stock_numbers/mark_available/v1.");
292
+ case "unknown":
293
+ throw new errors.ChrtError({
294
+ message: _response.error.errorMessage,
295
+ rawResponse: _response.rawResponse,
296
+ });
297
+ }
298
+ });
299
+ }
300
+ /**
301
+ * Marks AWB numbers of the caller's organization's AWB stock as used, whatever their status, e.g. booked outside CHRT. | authz: min_org_role=operator | (AirWaybillStockNumbersMarkUsedReq) -> (list[AirWaybillStockNumber1])
302
+ *
303
+ * @param {Chrt.orgs.AirWaybillStockNumbersMarkUsedReq} request
304
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
305
+ *
306
+ * @throws {@link Chrt.UnprocessableEntityError}
307
+ *
308
+ * @example
309
+ * await client.orgs.airWaybillStockNumbers.markUsedV1({
310
+ * awb_numbers: ["awb_numbers"]
311
+ * })
312
+ */
313
+ markUsedV1(request, requestOptions) {
314
+ return core.HttpResponsePromise.fromPromise(this.__markUsedV1(request, requestOptions));
315
+ }
316
+ __markUsedV1(request, requestOptions) {
317
+ return __awaiter(this, void 0, void 0, function* () {
318
+ var _a, _b, _c, _d;
319
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
320
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
321
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/mark_used/v1"),
322
+ method: "POST",
323
+ headers: _headers,
324
+ contentType: "application/json",
325
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
326
+ requestType: "json",
327
+ body: request,
328
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
329
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
330
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
331
+ });
332
+ if (_response.ok) {
333
+ return { data: _response.body, rawResponse: _response.rawResponse };
334
+ }
335
+ if (_response.error.reason === "status-code") {
336
+ switch (_response.error.statusCode) {
337
+ case 422:
338
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
339
+ default:
340
+ throw new errors.ChrtError({
341
+ statusCode: _response.error.statusCode,
342
+ body: _response.error.body,
343
+ rawResponse: _response.rawResponse,
344
+ });
345
+ }
346
+ }
347
+ switch (_response.error.reason) {
348
+ case "non-json":
349
+ throw new errors.ChrtError({
350
+ statusCode: _response.error.statusCode,
351
+ body: _response.error.rawBody,
352
+ rawResponse: _response.rawResponse,
353
+ });
354
+ case "timeout":
355
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/air_waybill_stock_numbers/mark_used/v1.");
356
+ case "unknown":
357
+ throw new errors.ChrtError({
358
+ message: _response.error.errorMessage,
359
+ rawResponse: _response.rawResponse,
360
+ });
361
+ }
362
+ });
363
+ }
364
+ /**
365
+ * Counts the caller's organization's AWB stock per airline prefix and status. | () -> (list[AirWaybillStockNumbersSummaryRes])
366
+ *
367
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
368
+ *
369
+ * @example
370
+ * await client.orgs.airWaybillStockNumbers.summaryV1()
371
+ */
372
+ summaryV1(requestOptions) {
373
+ return core.HttpResponsePromise.fromPromise(this.__summaryV1(requestOptions));
374
+ }
375
+ __summaryV1(requestOptions) {
376
+ return __awaiter(this, void 0, void 0, function* () {
377
+ var _a, _b, _c, _d;
378
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
379
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
380
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/summary/v1"),
381
+ method: "GET",
382
+ headers: _headers,
383
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
384
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
385
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
386
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
387
+ });
388
+ if (_response.ok) {
389
+ return {
390
+ data: _response.body,
391
+ rawResponse: _response.rawResponse,
392
+ };
393
+ }
394
+ if (_response.error.reason === "status-code") {
395
+ throw new errors.ChrtError({
396
+ statusCode: _response.error.statusCode,
397
+ body: _response.error.body,
398
+ rawResponse: _response.rawResponse,
399
+ });
400
+ }
401
+ switch (_response.error.reason) {
402
+ case "non-json":
403
+ throw new errors.ChrtError({
404
+ statusCode: _response.error.statusCode,
405
+ body: _response.error.rawBody,
406
+ rawResponse: _response.rawResponse,
407
+ });
408
+ case "timeout":
409
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/air_waybill_stock_numbers/summary/v1.");
410
+ case "unknown":
411
+ throw new errors.ChrtError({
412
+ message: _response.error.errorMessage,
413
+ rawResponse: _response.rawResponse,
414
+ });
415
+ }
416
+ });
417
+ }
418
+ /**
419
+ * Voids available AWB numbers of the caller's organization's AWB stock, e.g. spoiled or returned to the airline. | authz: min_org_role=operator | (AirWaybillStockNumbersVoidReq) -> (list[AirWaybillStockNumber1])
420
+ *
421
+ * @param {Chrt.orgs.AirWaybillStockNumbersVoidReq} request
422
+ * @param {AirWaybillStockNumbers.RequestOptions} requestOptions - Request-specific configuration.
423
+ *
424
+ * @throws {@link Chrt.UnprocessableEntityError}
425
+ *
426
+ * @example
427
+ * await client.orgs.airWaybillStockNumbers.voidV1({
428
+ * awb_numbers: ["awb_numbers"]
429
+ * })
430
+ */
431
+ voidV1(request, requestOptions) {
432
+ return core.HttpResponsePromise.fromPromise(this.__voidV1(request, requestOptions));
433
+ }
434
+ __voidV1(request, requestOptions) {
435
+ return __awaiter(this, void 0, void 0, function* () {
436
+ var _a, _b, _c, _d;
437
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
438
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
439
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/air_waybill_stock_numbers/void/v1"),
440
+ method: "POST",
441
+ headers: _headers,
442
+ contentType: "application/json",
443
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
444
+ requestType: "json",
445
+ body: request,
446
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
447
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
448
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
449
+ });
450
+ if (_response.ok) {
451
+ return { data: _response.body, rawResponse: _response.rawResponse };
452
+ }
453
+ if (_response.error.reason === "status-code") {
454
+ switch (_response.error.statusCode) {
455
+ case 422:
456
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
457
+ default:
458
+ throw new errors.ChrtError({
459
+ statusCode: _response.error.statusCode,
460
+ body: _response.error.body,
461
+ rawResponse: _response.rawResponse,
462
+ });
463
+ }
464
+ }
465
+ switch (_response.error.reason) {
466
+ case "non-json":
467
+ throw new errors.ChrtError({
468
+ statusCode: _response.error.statusCode,
469
+ body: _response.error.rawBody,
470
+ rawResponse: _response.rawResponse,
471
+ });
472
+ case "timeout":
473
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/air_waybill_stock_numbers/void/v1.");
474
+ case "unknown":
475
+ throw new errors.ChrtError({
476
+ message: _response.error.errorMessage,
477
+ rawResponse: _response.rawResponse,
478
+ });
479
+ }
480
+ });
481
+ }
482
+ _getAuthorizationHeader() {
483
+ return __awaiter(this, void 0, void 0, function* () {
484
+ const bearer = yield core.Supplier.get(this._options.token);
485
+ if (bearer != null) {
486
+ return `Bearer ${bearer}`;
487
+ }
488
+ return undefined;
489
+ });
490
+ }
491
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * awb_numbers: ["awb_numbers"]
8
+ * }
9
+ */
10
+ export interface AirWaybillStockNumbersAddReq {
11
+ awb_numbers: string[];
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * filter_awb_prefix: "filter_awb_prefix",
9
+ * filter_status: ["available"],
10
+ * sort_by: "awb_number",
11
+ * sort_order: "asc",
12
+ * page: 1,
13
+ * page_size: 1
14
+ * }
15
+ */
16
+ export interface AirWaybillStockNumbersListV1Request {
17
+ /** Filter by the airline's 3-digit AWB prefix, e.g. 014. */
18
+ filter_awb_prefix?: string | null;
19
+ /** Filter by status(es). */
20
+ filter_status?: (Chrt.AirWaybillStockNumberStatusEnum1 | null) | (Chrt.AirWaybillStockNumberStatusEnum1 | null)[];
21
+ /** Field to sort by. */
22
+ sort_by?: Chrt.AirWaybillStockNumberSortByEnum | null;
23
+ /** Sort order. */
24
+ sort_order?: Chrt.SortOrderEnum | null;
25
+ page?: number | null;
26
+ page_size?: number | null;
27
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * awb_numbers: ["awb_numbers"]
8
+ * }
9
+ */
10
+ export interface AirWaybillStockNumbersMarkAvailableReq {
11
+ awb_numbers: string[];
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * awb_numbers: ["awb_numbers"]
8
+ * }
9
+ */
10
+ export interface AirWaybillStockNumbersMarkUsedReq {
11
+ awb_numbers: string[];
12
+ status_note?: string | null;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * awb_numbers: ["awb_numbers"]
8
+ * }
9
+ */
10
+ export interface AirWaybillStockNumbersVoidReq {
11
+ awb_numbers: string[];
12
+ status_note?: string | null;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export { type AirWaybillStockNumbersAddReq } from "./AirWaybillStockNumbersAddReq.mjs";
2
+ export { type AirWaybillStockNumbersListV1Request } from "./AirWaybillStockNumbersListV1Request.mjs";
3
+ export { type AirWaybillStockNumbersMarkAvailableReq } from "./AirWaybillStockNumbersMarkAvailableReq.mjs";
4
+ export { type AirWaybillStockNumbersMarkUsedReq } from "./AirWaybillStockNumbersMarkUsedReq.mjs";
5
+ export { type AirWaybillStockNumbersVoidReq } from "./AirWaybillStockNumbersVoidReq.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -1,6 +1,7 @@
1
1
  export * as connections from "./connections/index.mjs";
2
2
  export * from "./connections/types/index.mjs";
3
3
  export * as accounts from "./accounts/index.mjs";
4
+ export * as airWaybillStockNumbers from "./airWaybillStockNumbers/index.mjs";
4
5
  export * as complianceDocuments from "./complianceDocuments/index.mjs";
5
6
  export * as contacts from "./contacts/index.mjs";
6
7
  export * as iataCassOffices from "./iataCassOffices/index.mjs";
@@ -8,6 +9,7 @@ export * as offChrtOrgData from "./offChrtOrgData/index.mjs";
8
9
  export * as privateData from "./privateData/index.mjs";
9
10
  export * as publicData from "./publicData/index.mjs";
10
11
  export * from "./accounts/client/requests/index.mjs";
12
+ export * from "./airWaybillStockNumbers/client/requests/index.mjs";
11
13
  export * from "./complianceDocuments/client/requests/index.mjs";
12
14
  export * from "./connections/client/requests/index.mjs";
13
15
  export * from "./contacts/client/requests/index.mjs";