@chrt-inc/typescript-sdk 1.309.0 → 1.311.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 (138) hide show
  1. package/dist/cjs/Client.d.ts +3 -3
  2. package/dist/cjs/Client.js +5 -5
  3. package/dist/cjs/api/index.d.ts +1 -1
  4. package/dist/cjs/api/index.js +1 -1
  5. package/dist/cjs/api/resources/connections/client/Client.d.ts +13 -0
  6. package/dist/cjs/api/resources/connections/client/Client.js +63 -0
  7. package/dist/cjs/api/resources/connections/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/connections/index.js +1 -0
  9. package/dist/cjs/api/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +5 -0
  10. package/dist/cjs/api/resources/connections/types/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/connections/types/index.js +17 -0
  12. package/dist/cjs/api/resources/index.d.ts +3 -2
  13. package/dist/cjs/api/resources/index.js +4 -3
  14. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/Client.d.ts +7 -4
  15. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/Client.js +8 -3
  16. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/Client.d.ts +17 -7
  17. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/Client.js +62 -11
  18. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +63 -0
  19. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.js +195 -0
  20. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +24 -0
  21. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +20 -0
  22. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.js +5 -0
  23. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.ts +2 -0
  24. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/index.js +3 -1
  26. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/Client.d.ts +7 -7
  27. package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/Client.js +11 -11
  28. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/index.js +17 -0
  30. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js +5 -0
  31. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js +5 -0
  32. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/requests/index.js +2 -0
  33. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/index.js +17 -0
  35. package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +13 -0
  36. package/dist/cjs/api/types/ForwarderCourierConnection1.js +5 -0
  37. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +13 -0
  38. package/dist/cjs/api/types/ShipperCourierConnection1.js +5 -0
  39. package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +13 -0
  40. package/dist/cjs/api/types/ShipperForwarderConnection1.js +5 -0
  41. package/dist/cjs/api/types/index.d.ts +3 -0
  42. package/dist/cjs/api/types/index.js +3 -0
  43. package/dist/cjs/version.d.ts +1 -1
  44. package/dist/cjs/version.js +1 -1
  45. package/dist/esm/Client.d.mts +3 -3
  46. package/dist/esm/Client.mjs +5 -5
  47. package/dist/esm/api/index.d.mts +1 -1
  48. package/dist/esm/api/index.mjs +1 -1
  49. package/dist/esm/api/resources/connections/client/Client.d.mts +13 -0
  50. package/dist/esm/api/resources/connections/client/Client.mjs +63 -0
  51. package/dist/esm/api/resources/connections/index.d.mts +1 -0
  52. package/dist/esm/api/resources/connections/index.mjs +1 -0
  53. package/dist/esm/api/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +5 -0
  54. package/dist/esm/api/resources/connections/types/index.d.mts +1 -0
  55. package/dist/esm/api/resources/connections/types/index.mjs +1 -0
  56. package/dist/esm/api/resources/index.d.mts +3 -2
  57. package/dist/esm/api/resources/index.mjs +3 -2
  58. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/Client.d.mts +7 -4
  59. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/Client.mjs +6 -1
  60. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/Client.d.mts +17 -7
  61. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/Client.mjs +62 -11
  62. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +63 -0
  63. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +158 -0
  64. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +24 -0
  65. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +20 -0
  66. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.mjs +4 -0
  67. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.mts +2 -0
  68. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/index.d.mts +2 -0
  69. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/index.mjs +2 -0
  70. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/Client.d.mts +7 -7
  71. package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/Client.mjs +11 -11
  72. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/index.d.mts +2 -0
  73. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/index.mjs +1 -0
  74. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs +4 -0
  75. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs +4 -0
  76. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/requests/index.mjs +1 -0
  77. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/index.d.mts +1 -0
  78. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/index.mjs +1 -0
  79. package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +13 -0
  80. package/dist/esm/api/types/ForwarderCourierConnection1.mjs +4 -0
  81. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +13 -0
  82. package/dist/esm/api/types/ShipperCourierConnection1.mjs +4 -0
  83. package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +13 -0
  84. package/dist/esm/api/types/ShipperForwarderConnection1.mjs +4 -0
  85. package/dist/esm/api/types/index.d.mts +3 -0
  86. package/dist/esm/api/types/index.mjs +3 -0
  87. package/dist/esm/version.d.mts +1 -1
  88. package/dist/esm/version.mjs +1 -1
  89. package/package.json +1 -1
  90. package/reference.md +267 -18
  91. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js → connections/types/ConnectionsGetByHandleV1Response.js} +0 -0
  92. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/index.d.ts +0 -0
  93. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/index.js +0 -0
  94. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/index.d.ts +0 -0
  95. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/index.js +0 -0
  96. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/index.d.ts +0 -0
  97. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/index.js +0 -0
  98. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +0 -0
  99. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js → orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js} +0 -0
  100. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +0 -0
  101. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js → orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js} +0 -0
  102. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/index.d.ts +0 -0
  103. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/index.js +0 -0
  104. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/index.d.ts +0 -0
  105. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/index.js +0 -0
  106. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/index.d.ts +0 -0
  107. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/index.js +0 -0
  108. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js → orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.js} +0 -0
  109. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/requests/index.js +0 -0
  110. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/index.d.ts +0 -0
  111. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/index.js +0 -0
  112. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +0 -0
  113. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +0 -0
  114. /package/dist/cjs/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/index.d.ts +0 -0
  115. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs → connections/types/ConnectionsGetByHandleV1Response.mjs} +0 -0
  116. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/index.d.mts +0 -0
  117. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/client/index.mjs +0 -0
  118. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/index.d.mts +0 -0
  119. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/index.mjs +0 -0
  120. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/index.d.mts +0 -0
  121. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/index.mjs +0 -0
  122. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +0 -0
  123. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs → orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  124. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +0 -0
  125. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs → orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
  126. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/index.d.mts +0 -0
  127. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/client/requests/index.mjs +0 -0
  128. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/index.d.mts +0 -0
  129. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/courier/index.mjs +0 -0
  130. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/index.d.mts +0 -0
  131. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/index.mjs +0 -0
  132. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs → orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  133. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/client/requests/index.mjs +0 -0
  134. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/index.d.mts +0 -0
  135. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper → orgInfoForConnections/resources/forwarder}/index.mjs +0 -0
  136. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +0 -0
  137. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +0 -0
  138. /package/dist/esm/api/resources/{orgConnectionInfos → orgInfoForConnections}/resources/shipper/client/requests/index.d.mts +0 -0
@@ -0,0 +1,195 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Forwarder = void 0;
49
+ const environments = __importStar(require("../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../errors/index.js"));
54
+ class Forwarder {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Creates forwarder organization connection information. Fails if already exists. | (ForwarderOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
60
+ *
61
+ * @param {Chrt.orgInfoForConnections.ForwarderOrgInfoForConnectionsClientCreate1} request
62
+ * @param {Forwarder.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Chrt.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.orgInfoForConnections.forwarder.createV1({
68
+ * schema_version: 1,
69
+ * email_address_primary: "email_address_primary"
70
+ * })
71
+ */
72
+ createV1(request, requestOptions) {
73
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
74
+ }
75
+ __createV1(request, requestOptions) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ var _a, _b, _c, _d;
78
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
80
+ 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, "connections/org_info_for_connections/forwarder/create/v1"),
81
+ method: "POST",
82
+ headers: _headers,
83
+ contentType: "application/json",
84
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
+ requestType: "json",
86
+ body: request,
87
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
88
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
89
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
90
+ });
91
+ if (_response.ok) {
92
+ return { data: _response.body, rawResponse: _response.rawResponse };
93
+ }
94
+ if (_response.error.reason === "status-code") {
95
+ switch (_response.error.statusCode) {
96
+ case 422:
97
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
98
+ default:
99
+ throw new errors.ChrtError({
100
+ statusCode: _response.error.statusCode,
101
+ body: _response.error.body,
102
+ rawResponse: _response.rawResponse,
103
+ });
104
+ }
105
+ }
106
+ switch (_response.error.reason) {
107
+ case "non-json":
108
+ throw new errors.ChrtError({
109
+ statusCode: _response.error.statusCode,
110
+ body: _response.error.rawBody,
111
+ rawResponse: _response.rawResponse,
112
+ });
113
+ case "timeout":
114
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /connections/org_info_for_connections/forwarder/create/v1.");
115
+ case "unknown":
116
+ throw new errors.ChrtError({
117
+ message: _response.error.errorMessage,
118
+ rawResponse: _response.rawResponse,
119
+ });
120
+ }
121
+ });
122
+ }
123
+ /**
124
+ * Updates existing forwarder organization connection information. | (ForwarderOrgInfoForConnectionsClientUpdate1) -> (bool)
125
+ *
126
+ * @param {Chrt.orgInfoForConnections.ForwarderOrgInfoForConnectionsClientUpdate1} request
127
+ * @param {Forwarder.RequestOptions} requestOptions - Request-specific configuration.
128
+ *
129
+ * @throws {@link Chrt.UnprocessableEntityError}
130
+ *
131
+ * @example
132
+ * await client.orgInfoForConnections.forwarder.updateV1()
133
+ */
134
+ updateV1(request = {}, requestOptions) {
135
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
136
+ }
137
+ __updateV1() {
138
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
139
+ var _a, _b, _c, _d;
140
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
141
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
142
+ 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, "connections/org_info_for_connections/forwarder/update/v1"),
143
+ method: "PATCH",
144
+ headers: _headers,
145
+ contentType: "application/json",
146
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
147
+ requestType: "json",
148
+ body: request,
149
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
150
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
151
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
152
+ });
153
+ if (_response.ok) {
154
+ return { data: _response.body, rawResponse: _response.rawResponse };
155
+ }
156
+ if (_response.error.reason === "status-code") {
157
+ switch (_response.error.statusCode) {
158
+ case 422:
159
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
160
+ default:
161
+ throw new errors.ChrtError({
162
+ statusCode: _response.error.statusCode,
163
+ body: _response.error.body,
164
+ rawResponse: _response.rawResponse,
165
+ });
166
+ }
167
+ }
168
+ switch (_response.error.reason) {
169
+ case "non-json":
170
+ throw new errors.ChrtError({
171
+ statusCode: _response.error.statusCode,
172
+ body: _response.error.rawBody,
173
+ rawResponse: _response.rawResponse,
174
+ });
175
+ case "timeout":
176
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /connections/org_info_for_connections/forwarder/update/v1.");
177
+ case "unknown":
178
+ throw new errors.ChrtError({
179
+ message: _response.error.errorMessage,
180
+ rawResponse: _response.rawResponse,
181
+ });
182
+ }
183
+ });
184
+ }
185
+ _getAuthorizationHeader() {
186
+ return __awaiter(this, void 0, void 0, function* () {
187
+ const bearer = yield core.Supplier.get(this._options.token);
188
+ if (bearer != null) {
189
+ return `Bearer ${bearer}`;
190
+ }
191
+ return undefined;
192
+ });
193
+ }
194
+ }
195
+ exports.Forwarder = Forwarder;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * schema_version: 1,
9
+ * email_address_primary: "email_address_primary"
10
+ * }
11
+ */
12
+ export interface ForwarderOrgInfoForConnectionsClientCreate1 {
13
+ schema_version: number;
14
+ industry?: string | null;
15
+ street_address?: Chrt.LocationFeature | null;
16
+ contact_first_name?: string | null;
17
+ contact_last_name?: string | null;
18
+ phone_number_primary?: string | null;
19
+ phone_number_secondary?: string | null;
20
+ email_address_primary: string;
21
+ email_address_secondary?: string | null;
22
+ job_title?: string | null;
23
+ notes?: string | null;
24
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface ForwarderOrgInfoForConnectionsClientUpdate1 {
10
+ industry?: string | null;
11
+ street_address?: Chrt.LocationFeature | null;
12
+ contact_first_name?: string | null;
13
+ contact_last_name?: string | null;
14
+ phone_number_primary?: string | null;
15
+ phone_number_secondary?: string | null;
16
+ email_address_primary?: string | null;
17
+ email_address_secondary?: string | null;
18
+ job_title?: string | null;
19
+ notes?: string | null;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { type ForwarderOrgInfoForConnectionsClientCreate1 } from "./ForwarderOrgInfoForConnectionsClientCreate1.js";
2
+ export { type ForwarderOrgInfoForConnectionsClientUpdate1 } from "./ForwarderOrgInfoForConnectionsClientUpdate1.js";
@@ -1,4 +1,6 @@
1
1
  export * as shipper from "./shipper/index.js";
2
2
  export * as courier from "./courier/index.js";
3
+ export * as forwarder from "./forwarder/index.js";
3
4
  export * from "./shipper/client/requests/index.js";
4
5
  export * from "./courier/client/requests/index.js";
6
+ export * from "./forwarder/client/requests/index.js";
@@ -36,8 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.courier = exports.shipper = void 0;
39
+ exports.forwarder = exports.courier = exports.shipper = void 0;
40
40
  exports.shipper = __importStar(require("./shipper/index.js"));
41
41
  exports.courier = __importStar(require("./courier/index.js"));
42
+ exports.forwarder = __importStar(require("./forwarder/index.js"));
42
43
  __exportStar(require("./shipper/client/requests/index.js"), exports);
43
44
  __exportStar(require("./courier/client/requests/index.js"), exports);
45
+ __exportStar(require("./forwarder/client/requests/index.js"), exports);
@@ -36,38 +36,38 @@ export declare class Shipper {
36
36
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.orgConnectionInfos.shipper.getV1()
39
+ * await client.orgInfoForConnections.shipper.getV1()
40
40
  */
41
41
  getV1(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgInfoForConnections1>;
42
42
  private __getV1;
43
43
  /**
44
44
  * Creates shipper organization connection information. Fails if already exists. | (ShipperOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
45
45
  *
46
- * @param {Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientCreate1} request
46
+ * @param {Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientCreate1} request
47
47
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
48
48
  *
49
49
  * @throws {@link Chrt.UnprocessableEntityError}
50
50
  *
51
51
  * @example
52
- * await client.orgConnectionInfos.shipper.createV1({
52
+ * await client.orgInfoForConnections.shipper.createV1({
53
53
  * schema_version: 1,
54
54
  * email_address_primary: "email_address_primary"
55
55
  * })
56
56
  */
57
- createV1(request: Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
57
+ createV1(request: Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
58
58
  private __createV1;
59
59
  /**
60
60
  * Updates existing shipper organization connection information. | (ShipperOrgInfoForConnectionsClientUpdate1) -> (bool)
61
61
  *
62
- * @param {Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientUpdate1} request
62
+ * @param {Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientUpdate1} request
63
63
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.orgConnectionInfos.shipper.updateV1()
68
+ * await client.orgInfoForConnections.shipper.updateV1()
69
69
  */
70
- updateV1(request?: Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientUpdate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<boolean>;
70
+ updateV1(request?: Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientUpdate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<boolean>;
71
71
  private __updateV1;
72
72
  protected _getAuthorizationHeader(): Promise<string | undefined>;
73
73
  }
@@ -61,7 +61,7 @@ class Shipper {
61
61
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.orgConnectionInfos.shipper.getV1()
64
+ * await client.orgInfoForConnections.shipper.getV1()
65
65
  */
66
66
  getV1(requestOptions) {
67
67
  return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
@@ -71,7 +71,7 @@ class Shipper {
71
71
  var _a, _b, _c, _d;
72
72
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
73
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
- 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, "connections/org_connection_infos/shipper/v1"),
74
+ 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, "connections/org_info_for_connections/shipper/v1"),
75
75
  method: "GET",
76
76
  headers: _headers,
77
77
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -97,7 +97,7 @@ class Shipper {
97
97
  rawResponse: _response.rawResponse,
98
98
  });
99
99
  case "timeout":
100
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /connections/org_connection_infos/shipper/v1.");
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /connections/org_info_for_connections/shipper/v1.");
101
101
  case "unknown":
102
102
  throw new errors.ChrtError({
103
103
  message: _response.error.errorMessage,
@@ -109,13 +109,13 @@ class Shipper {
109
109
  /**
110
110
  * Creates shipper organization connection information. Fails if already exists. | (ShipperOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
111
111
  *
112
- * @param {Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientCreate1} request
112
+ * @param {Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientCreate1} request
113
113
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
114
114
  *
115
115
  * @throws {@link Chrt.UnprocessableEntityError}
116
116
  *
117
117
  * @example
118
- * await client.orgConnectionInfos.shipper.createV1({
118
+ * await client.orgInfoForConnections.shipper.createV1({
119
119
  * schema_version: 1,
120
120
  * email_address_primary: "email_address_primary"
121
121
  * })
@@ -128,7 +128,7 @@ class Shipper {
128
128
  var _a, _b, _c, _d;
129
129
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
130
130
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
131
- 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, "connections/org_connection_infos/shipper/create/v1"),
131
+ 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, "connections/org_info_for_connections/shipper/create/v1"),
132
132
  method: "POST",
133
133
  headers: _headers,
134
134
  contentType: "application/json",
@@ -162,7 +162,7 @@ class Shipper {
162
162
  rawResponse: _response.rawResponse,
163
163
  });
164
164
  case "timeout":
165
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /connections/org_connection_infos/shipper/create/v1.");
165
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /connections/org_info_for_connections/shipper/create/v1.");
166
166
  case "unknown":
167
167
  throw new errors.ChrtError({
168
168
  message: _response.error.errorMessage,
@@ -174,13 +174,13 @@ class Shipper {
174
174
  /**
175
175
  * Updates existing shipper organization connection information. | (ShipperOrgInfoForConnectionsClientUpdate1) -> (bool)
176
176
  *
177
- * @param {Chrt.orgConnectionInfos.ShipperOrgInfoForConnectionsClientUpdate1} request
177
+ * @param {Chrt.orgInfoForConnections.ShipperOrgInfoForConnectionsClientUpdate1} request
178
178
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
179
179
  *
180
180
  * @throws {@link Chrt.UnprocessableEntityError}
181
181
  *
182
182
  * @example
183
- * await client.orgConnectionInfos.shipper.updateV1()
183
+ * await client.orgInfoForConnections.shipper.updateV1()
184
184
  */
185
185
  updateV1(request = {}, requestOptions) {
186
186
  return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
@@ -190,7 +190,7 @@ class Shipper {
190
190
  var _a, _b, _c, _d;
191
191
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
192
192
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
193
- 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, "connections/org_connection_infos/shipper/update/v1"),
193
+ 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, "connections/org_info_for_connections/shipper/update/v1"),
194
194
  method: "PATCH",
195
195
  headers: _headers,
196
196
  contentType: "application/json",
@@ -224,7 +224,7 @@ class Shipper {
224
224
  rawResponse: _response.rawResponse,
225
225
  });
226
226
  case "timeout":
227
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /connections/org_connection_infos/shipper/update/v1.");
227
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /connections/org_info_for_connections/shipper/update/v1.");
228
228
  case "unknown":
229
229
  throw new errors.ChrtError({
230
230
  message: _response.error.errorMessage,
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ForwarderCourierConnection1 {
5
+ schema_version: number;
6
+ /** Must be a string starting with `org_` */
7
+ forwarder_org_id: string;
8
+ /** Must be a string starting with `org_` */
9
+ courier_org_id: string;
10
+ connected?: boolean;
11
+ forwarder_customer_id_for_courier_stripe_connect_account?: string | null;
12
+ _id: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ShipperCourierConnection1 {
5
+ schema_version: number;
6
+ /** Must be a string starting with `org_` */
7
+ shipper_org_id: string;
8
+ /** Must be a string starting with `org_` */
9
+ courier_org_id: string;
10
+ connected?: boolean;
11
+ shipper_customer_id_for_courier_stripe_connect_account?: string | null;
12
+ _id: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ShipperForwarderConnection1 {
5
+ schema_version: number;
6
+ /** Must be a string starting with `org_` */
7
+ shipper_org_id: string;
8
+ /** Must be a string starting with `org_` */
9
+ forwarder_org_id: string;
10
+ connected?: boolean;
11
+ shipper_customer_id_for_forwarder_stripe_connect_account?: string | null;
12
+ _id: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -31,6 +31,7 @@ export * from "./DriverStatusEnum.js";
31
31
  export * from "./DriverUpdateRes.js";
32
32
  export * from "./FlightTaskActionEnum1.js";
33
33
  export * from "./ForwarderConnectionRes.js";
34
+ export * from "./ForwarderCourierConnection1.js";
34
35
  export * from "./ForwarderOrgInfoForConnections1.js";
35
36
  export * from "./ForwarderOrgProfile1.js";
36
37
  export * from "./GenerateInvoiceRes.js";
@@ -86,6 +87,8 @@ export * from "./SessionByDeviceMarkOutliersResponse1.js";
86
87
  export * from "./ShipperConnectionRes.js";
87
88
  export * from "./ShipperContact1.js";
88
89
  export * from "./ShipperContactClientCreate1.js";
90
+ export * from "./ShipperCourierConnection1.js";
91
+ export * from "./ShipperForwarderConnection1.js";
89
92
  export * from "./ShipperNotificationEventEnum.js";
90
93
  export * from "./ShipperNotificationPreferences1.js";
91
94
  export * from "./ShipperOrgInfoForConnections1.js";
@@ -47,6 +47,7 @@ __exportStar(require("./DriverStatusEnum.js"), exports);
47
47
  __exportStar(require("./DriverUpdateRes.js"), exports);
48
48
  __exportStar(require("./FlightTaskActionEnum1.js"), exports);
49
49
  __exportStar(require("./ForwarderConnectionRes.js"), exports);
50
+ __exportStar(require("./ForwarderCourierConnection1.js"), exports);
50
51
  __exportStar(require("./ForwarderOrgInfoForConnections1.js"), exports);
51
52
  __exportStar(require("./ForwarderOrgProfile1.js"), exports);
52
53
  __exportStar(require("./GenerateInvoiceRes.js"), exports);
@@ -102,6 +103,8 @@ __exportStar(require("./SessionByDeviceMarkOutliersResponse1.js"), exports);
102
103
  __exportStar(require("./ShipperConnectionRes.js"), exports);
103
104
  __exportStar(require("./ShipperContact1.js"), exports);
104
105
  __exportStar(require("./ShipperContactClientCreate1.js"), exports);
106
+ __exportStar(require("./ShipperCourierConnection1.js"), exports);
107
+ __exportStar(require("./ShipperForwarderConnection1.js"), exports);
105
108
  __exportStar(require("./ShipperNotificationEventEnum.js"), exports);
106
109
  __exportStar(require("./ShipperNotificationPreferences1.js"), exports);
107
110
  __exportStar(require("./ShipperOrgInfoForConnections1.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.309.0";
1
+ export declare const SDK_VERSION = "1.311.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.309.0";
4
+ exports.SDK_VERSION = "1.311.0";
@@ -28,7 +28,7 @@ import { Root } from "./api/resources/root/client/Client.mjs";
28
28
  import { Users } from "./api/resources/users/client/Client.mjs";
29
29
  import { Utils } from "./api/resources/utils/client/Client.mjs";
30
30
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
31
- import { OrgConnectionInfos } from "./api/resources/orgConnectionInfos/client/Client.mjs";
31
+ import { OrgInfoForConnections } from "./api/resources/orgInfoForConnections/client/Client.mjs";
32
32
  import { Tracking } from "./api/resources/tracking/client/Client.mjs";
33
33
  export declare namespace ChrtClient {
34
34
  interface Options {
@@ -80,7 +80,7 @@ export declare class ChrtClient {
80
80
  protected _users: Users | undefined;
81
81
  protected _utils: Utils | undefined;
82
82
  protected _notifications: Notifications | undefined;
83
- protected _orgConnectionInfos: OrgConnectionInfos | undefined;
83
+ protected _orgInfoForConnections: OrgInfoForConnections | undefined;
84
84
  protected _tracking: Tracking | undefined;
85
85
  constructor(_options?: ChrtClient.Options);
86
86
  get payments(): Payments;
@@ -108,6 +108,6 @@ export declare class ChrtClient {
108
108
  get users(): Users;
109
109
  get utils(): Utils;
110
110
  get notifications(): Notifications;
111
- get orgConnectionInfos(): OrgConnectionInfos;
111
+ get orgInfoForConnections(): OrgInfoForConnections;
112
112
  get tracking(): Tracking;
113
113
  }