@samsarahq/samsara 5.5.1 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/alerts/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/alerts/client/Client.js +0 -1
- package/dist/cjs/api/resources/attributes/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/attributes/client/Client.js +5 -5
- package/dist/cjs/api/resources/attributes/client/requests/{DeleteAttributeRequest.d.ts → DeleteAttributesRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/attributes/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/attributes/types/DeleteAttributesRequestEntityType.d.ts +5 -0
- package/dist/cjs/api/resources/attributes/types/{DeleteAttributeRequestEntityType.js → DeleteAttributesRequestEntityType.js} +2 -2
- package/dist/cjs/api/resources/attributes/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/attributes/types/index.js +1 -1
- package/dist/cjs/api/resources/betaApIs/client/Client.js +7 -7
- package/dist/cjs/api/resources/carrierProposedAssignments/client/Client.d.ts +0 -17
- package/dist/cjs/api/resources/carrierProposedAssignments/client/Client.js +0 -48
- package/dist/cjs/api/resources/carrierProposedAssignments/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/coaching/client/Client.js +1 -1
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/contacts/client/Client.js +5 -5
- package/dist/{esm/api/resources/contacts/client/requests/DeleteContactRequest.d.mts → cjs/api/resources/contacts/client/requests/DeleteContactsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/contacts/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/fleet/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/fleet/client/Client.js +5 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/Client.js +106 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/index.js +17 -0
- package/dist/cjs/api/resources/{carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentRequest.d.ts → fleet/resources/carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/index.d.ts +1 -0
- package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/index.js +17 -0
- package/dist/cjs/api/resources/fleet/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/fleet/resources/index.js +3 -1
- package/dist/cjs/api/resources/hubs/client/Client.js +8 -8
- package/dist/cjs/api/resources/industrial/client/Client.d.ts +3 -17
- package/dist/cjs/api/resources/industrial/client/Client.js +5 -48
- package/dist/cjs/api/resources/industrial/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/industrial/index.d.ts +1 -0
- package/dist/cjs/api/resources/industrial/index.js +1 -0
- package/dist/cjs/api/resources/industrial/resources/assets/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/industrial/resources/assets/client/Client.js +106 -0
- package/dist/cjs/api/resources/industrial/resources/assets/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/industrial/resources/assets/client/index.js +17 -0
- package/dist/{esm/api/resources/industrial/client/requests/DeleteIndustrialAssetRequest.d.mts → cjs/api/resources/industrial/resources/assets/client/requests/DeleteAssetsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/industrial/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/industrial/resources/assets/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/industrial/resources/assets/index.d.ts +1 -0
- package/dist/cjs/api/resources/industrial/resources/assets/index.js +17 -0
- package/dist/cjs/api/resources/industrial/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/industrial/resources/index.js +41 -0
- package/dist/cjs/api/resources/plans/client/Client.js +2 -2
- package/dist/cjs/api/resources/routes/client/Client.js +2 -2
- package/dist/cjs/api/resources/tags/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/tags/client/Client.js +5 -5
- package/dist/cjs/api/resources/tags/client/requests/{DeleteTagRequest.d.ts → DeleteTagsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/tags/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/users/client/Client.js +5 -5
- package/dist/{esm/api/resources/users/client/requests/DeleteUserRequest.d.mts → cjs/api/resources/users/client/requests/DeleteUsersRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/users/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/types/WorkflowTriggerObjectRequestBody.d.ts +3 -1
- package/dist/cjs/api/types/WorkflowTriggerObjectResponseBody.d.ts +3 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/alerts/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/alerts/client/Client.mjs +0 -1
- package/dist/esm/api/resources/attributes/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/attributes/client/Client.mjs +5 -5
- package/dist/esm/api/resources/attributes/client/requests/{DeleteAttributeRequest.d.mts → DeleteAttributesRequest.d.mts} +2 -2
- package/dist/esm/api/resources/attributes/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/attributes/types/DeleteAttributesRequestEntityType.d.mts +5 -0
- package/dist/esm/api/resources/attributes/types/{DeleteAttributeRequestEntityType.mjs → DeleteAttributesRequestEntityType.mjs} +1 -1
- package/dist/esm/api/resources/attributes/types/index.d.mts +1 -1
- package/dist/esm/api/resources/attributes/types/index.mjs +1 -1
- package/dist/esm/api/resources/betaApIs/client/Client.mjs +7 -7
- package/dist/esm/api/resources/carrierProposedAssignments/client/Client.d.mts +0 -17
- package/dist/esm/api/resources/carrierProposedAssignments/client/Client.mjs +0 -48
- package/dist/esm/api/resources/carrierProposedAssignments/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/coaching/client/Client.mjs +1 -1
- package/dist/esm/api/resources/contacts/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/contacts/client/Client.mjs +5 -5
- package/dist/{cjs/api/resources/contacts/client/requests/DeleteContactRequest.d.ts → esm/api/resources/contacts/client/requests/DeleteContactsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/contacts/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/fleet/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/fleet/client/Client.mjs +5 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/Client.mjs +69 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/index.mjs +1 -0
- package/dist/esm/api/resources/{carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentRequest.d.mts → fleet/resources/carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/index.d.mts +1 -0
- package/dist/esm/api/resources/fleet/resources/carrierProposedAssignments/index.mjs +1 -0
- package/dist/esm/api/resources/fleet/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/fleet/resources/index.mjs +2 -0
- package/dist/esm/api/resources/hubs/client/Client.mjs +8 -8
- package/dist/esm/api/resources/industrial/client/Client.d.mts +3 -17
- package/dist/esm/api/resources/industrial/client/Client.mjs +5 -48
- package/dist/esm/api/resources/industrial/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/industrial/index.d.mts +1 -0
- package/dist/esm/api/resources/industrial/index.mjs +1 -0
- package/dist/esm/api/resources/industrial/resources/assets/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/industrial/resources/assets/client/Client.mjs +69 -0
- package/dist/esm/api/resources/industrial/resources/assets/client/index.d.mts +1 -0
- package/dist/esm/api/resources/industrial/resources/assets/client/index.mjs +1 -0
- package/dist/{cjs/api/resources/industrial/client/requests/DeleteIndustrialAssetRequest.d.ts → esm/api/resources/industrial/resources/assets/client/requests/DeleteAssetsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/industrial/resources/assets/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/industrial/resources/assets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/industrial/resources/assets/index.d.mts +1 -0
- package/dist/esm/api/resources/industrial/resources/assets/index.mjs +1 -0
- package/dist/esm/api/resources/industrial/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/industrial/resources/index.mjs +2 -0
- package/dist/esm/api/resources/plans/client/Client.mjs +2 -2
- package/dist/esm/api/resources/routes/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tags/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/tags/client/Client.mjs +5 -5
- package/dist/esm/api/resources/tags/client/requests/{DeleteTagRequest.d.mts → DeleteTagsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/tags/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/users/client/Client.mjs +5 -5
- package/dist/{cjs/api/resources/users/client/requests/DeleteUserRequest.d.ts → esm/api/resources/users/client/requests/DeleteUsersRequest.d.mts} +1 -1
- package/dist/esm/api/resources/users/client/requests/index.d.mts +1 -1
- package/dist/esm/api/types/WorkflowTriggerObjectRequestBody.d.mts +3 -1
- package/dist/esm/api/types/WorkflowTriggerObjectResponseBody.d.mts +3 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +152 -151
- package/dist/cjs/api/resources/attributes/types/DeleteAttributeRequestEntityType.d.ts +0 -5
- package/dist/esm/api/resources/attributes/types/DeleteAttributeRequestEntityType.d.mts +0 -5
- /package/dist/cjs/api/resources/attributes/client/requests/{DeleteAttributeRequest.js → DeleteAttributesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentRequest.js → contacts/client/requests/DeleteContactsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{contacts/client/requests/DeleteContactRequest.js → fleet/resources/carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentsRequest.js} +0 -0
- /package/dist/cjs/api/resources/industrial/{client/requests/DeleteIndustrialAssetRequest.js → resources/assets/client/requests/DeleteAssetsRequest.js} +0 -0
- /package/dist/cjs/api/resources/tags/client/requests/{DeleteTagRequest.js → DeleteTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/users/client/requests/{DeleteUserRequest.js → DeleteUsersRequest.js} +0 -0
- /package/dist/esm/api/resources/attributes/client/requests/{DeleteAttributeRequest.mjs → DeleteAttributesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentRequest.mjs → contacts/client/requests/DeleteContactsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{contacts/client/requests/DeleteContactRequest.mjs → fleet/resources/carrierProposedAssignments/client/requests/DeleteCarrierProposedAssignmentsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/industrial/{client/requests/DeleteIndustrialAssetRequest.mjs → resources/assets/client/requests/DeleteAssetsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/tags/client/requests/{DeleteTagRequest.mjs → DeleteTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/users/client/requests/{DeleteUserRequest.mjs → DeleteUsersRequest.mjs} +0 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "@samsarahq/samsara",
|
|
47
|
-
"X-Fern-SDK-Version": "5.5.
|
|
48
|
-
"User-Agent": "@samsarahq/samsara/5.5.
|
|
47
|
+
"X-Fern-SDK-Version": "5.5.2",
|
|
48
|
+
"User-Agent": "@samsarahq/samsara/5.5.2",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
51
|
"X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
|
|
@@ -71,17 +71,17 @@ export declare class AttributesClient {
|
|
|
71
71
|
*
|
|
72
72
|
* To use this endpoint, select **Write Attributes** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
73
73
|
*
|
|
74
|
-
* @param {Samsara.
|
|
74
|
+
* @param {Samsara.DeleteAttributesRequest} request
|
|
75
75
|
* @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
|
-
* await client.attributes.
|
|
78
|
+
* await client.attributes.delete({
|
|
79
79
|
* id: "id",
|
|
80
80
|
* entityType: "driver"
|
|
81
81
|
* })
|
|
82
82
|
*/
|
|
83
|
-
|
|
84
|
-
private
|
|
83
|
+
delete(request: Samsara.DeleteAttributesRequest, requestOptions?: AttributesClient.RequestOptions): core.HttpResponsePromise<Samsara.StandardDeleteResponse>;
|
|
84
|
+
private __delete;
|
|
85
85
|
/**
|
|
86
86
|
* Updates an attribute in the organization.
|
|
87
87
|
*
|
|
@@ -232,19 +232,19 @@ class AttributesClient {
|
|
|
232
232
|
*
|
|
233
233
|
* To use this endpoint, select **Write Attributes** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
234
234
|
*
|
|
235
|
-
* @param {Samsara.
|
|
235
|
+
* @param {Samsara.DeleteAttributesRequest} request
|
|
236
236
|
* @param {AttributesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
|
-
* await client.attributes.
|
|
239
|
+
* await client.attributes.delete({
|
|
240
240
|
* id: "id",
|
|
241
241
|
* entityType: "driver"
|
|
242
242
|
* })
|
|
243
243
|
*/
|
|
244
|
-
|
|
245
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
244
|
+
delete(request, requestOptions) {
|
|
245
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
__delete(request, requestOptions) {
|
|
248
248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
249
249
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
250
250
|
const { id, entityType } = request;
|
|
@@ -6,9 +6,9 @@ import type * as Samsara from "../../../../index.js";
|
|
|
6
6
|
* entityType: "driver"
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface DeleteAttributesRequest {
|
|
10
10
|
/** Samsara-provided UUID of the attribute. */
|
|
11
11
|
id: string;
|
|
12
12
|
/** Denotes the type of entity, driver or asset. */
|
|
13
|
-
entityType: Samsara.
|
|
13
|
+
entityType: Samsara.DeleteAttributesRequestEntityType;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { CreateAttributeRequest } from "./CreateAttributeRequest.js";
|
|
2
|
-
export type {
|
|
2
|
+
export type { DeleteAttributesRequest } from "./DeleteAttributesRequest.js";
|
|
3
3
|
export type { GetAttributeRequest } from "./GetAttributeRequest.js";
|
|
4
4
|
export type { GetAttributesByEntityTypeRequest } from "./GetAttributesByEntityTypeRequest.js";
|
|
5
5
|
export { UpdateAttributeRequest } from "./UpdateAttributeRequest.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
4
|
+
exports.DeleteAttributesRequestEntityType = void 0;
|
|
5
|
+
exports.DeleteAttributesRequestEntityType = {
|
|
6
6
|
Driver: "driver",
|
|
7
7
|
Asset: "asset",
|
|
8
8
|
};
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./DeleteAttributesRequestEntityType.js"), exports);
|
|
18
18
|
__exportStar(require("./GetAttributeRequestEntityType.js"), exports);
|
|
19
19
|
__exportStar(require("./GetAttributesByEntityTypeRequestEntityType.js"), exports);
|
|
@@ -100,8 +100,8 @@ class BetaApIsClient {
|
|
|
100
100
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
101
101
|
const { startTime, endTime, assetIds, after } = request;
|
|
102
102
|
const _queryParams = {
|
|
103
|
-
startTime,
|
|
104
|
-
endTime,
|
|
103
|
+
startTime: startTime != null ? startTime : undefined,
|
|
104
|
+
endTime: endTime != null ? endTime : undefined,
|
|
105
105
|
assetIds,
|
|
106
106
|
after,
|
|
107
107
|
};
|
|
@@ -366,8 +366,8 @@ class BetaApIsClient {
|
|
|
366
366
|
after,
|
|
367
367
|
driverTagIds,
|
|
368
368
|
driverParentTagIds,
|
|
369
|
-
startTime,
|
|
370
|
-
endTime,
|
|
369
|
+
startTime: startTime != null ? startTime : undefined,
|
|
370
|
+
endTime: endTime != null ? endTime : undefined,
|
|
371
371
|
};
|
|
372
372
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
373
373
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Samsara-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -1816,8 +1816,8 @@ class BetaApIsClient {
|
|
|
1816
1816
|
hubId,
|
|
1817
1817
|
customPropertyIds,
|
|
1818
1818
|
customPropertyNames,
|
|
1819
|
-
startTime,
|
|
1820
|
-
endTime,
|
|
1819
|
+
startTime: startTime != null ? startTime : undefined,
|
|
1820
|
+
endTime: endTime != null ? endTime : undefined,
|
|
1821
1821
|
after,
|
|
1822
1822
|
limit,
|
|
1823
1823
|
};
|
|
@@ -2448,7 +2448,7 @@ class BetaApIsClient {
|
|
|
2448
2448
|
const _queryParams = {
|
|
2449
2449
|
entityType,
|
|
2450
2450
|
startTime,
|
|
2451
|
-
endTime,
|
|
2451
|
+
endTime: endTime != null ? endTime : undefined,
|
|
2452
2452
|
after,
|
|
2453
2453
|
qualificationTypeIds,
|
|
2454
2454
|
ownerIds,
|
|
@@ -43,21 +43,4 @@ export declare class CarrierProposedAssignmentsClient {
|
|
|
43
43
|
*/
|
|
44
44
|
createCarrierProposedAssignment(request: Samsara.CreateCarrierProposedAssignmentRequest, requestOptions?: CarrierProposedAssignmentsClient.RequestOptions): core.HttpResponsePromise<Samsara.CarrierProposedAssignmentResponse>;
|
|
45
45
|
private __createCarrierProposedAssignment;
|
|
46
|
-
/**
|
|
47
|
-
* Permanently delete an assignment. You can only delete assignments that are not yet active. To override a currently active assignment, create a new empty one, instead.
|
|
48
|
-
*
|
|
49
|
-
* **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
50
|
-
*
|
|
51
|
-
* To use this endpoint, select **Write Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
52
|
-
*
|
|
53
|
-
* @param {Samsara.DeleteCarrierProposedAssignmentRequest} request
|
|
54
|
-
* @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* await client.carrierProposedAssignments.deleteCarrierProposedAssignment({
|
|
58
|
-
* id: "id"
|
|
59
|
-
* })
|
|
60
|
-
*/
|
|
61
|
-
deleteCarrierProposedAssignment(request: Samsara.DeleteCarrierProposedAssignmentRequest, requestOptions?: CarrierProposedAssignmentsClient.RequestOptions): core.HttpResponsePromise<Samsara.StandardDeleteResponse>;
|
|
62
|
-
private __deleteCarrierProposedAssignment;
|
|
63
46
|
}
|
|
@@ -163,53 +163,5 @@ class CarrierProposedAssignmentsClient {
|
|
|
163
163
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/fleet/carrier-proposed-assignments");
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
/**
|
|
167
|
-
* Permanently delete an assignment. You can only delete assignments that are not yet active. To override a currently active assignment, create a new empty one, instead.
|
|
168
|
-
*
|
|
169
|
-
* **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
170
|
-
*
|
|
171
|
-
* To use this endpoint, select **Write Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
172
|
-
*
|
|
173
|
-
* @param {Samsara.DeleteCarrierProposedAssignmentRequest} request
|
|
174
|
-
* @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
175
|
-
*
|
|
176
|
-
* @example
|
|
177
|
-
* await client.carrierProposedAssignments.deleteCarrierProposedAssignment({
|
|
178
|
-
* id: "id"
|
|
179
|
-
* })
|
|
180
|
-
*/
|
|
181
|
-
deleteCarrierProposedAssignment(request, requestOptions) {
|
|
182
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteCarrierProposedAssignment(request, requestOptions));
|
|
183
|
-
}
|
|
184
|
-
__deleteCarrierProposedAssignment(request, requestOptions) {
|
|
185
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
187
|
-
const { id } = request;
|
|
188
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
189
|
-
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Samsara-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
190
|
-
const _response = yield core.fetcher({
|
|
191
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SamsaraEnvironment.ProductionApi, `fleet/carrier-proposed-assignments/${core.url.encodePathParam(id)}`),
|
|
192
|
-
method: "DELETE",
|
|
193
|
-
headers: _headers,
|
|
194
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
195
|
-
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
196
|
-
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
197
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
198
|
-
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
199
|
-
logging: this._options.logging,
|
|
200
|
-
});
|
|
201
|
-
if (_response.ok) {
|
|
202
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
203
|
-
}
|
|
204
|
-
if (_response.error.reason === "status-code") {
|
|
205
|
-
throw new errors.SamsaraError({
|
|
206
|
-
statusCode: _response.error.statusCode,
|
|
207
|
-
body: _response.error.body,
|
|
208
|
-
rawResponse: _response.rawResponse,
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/fleet/carrier-proposed-assignments/{id}");
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
166
|
}
|
|
215
167
|
exports.CarrierProposedAssignmentsClient = CarrierProposedAssignmentsClient;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type { CreateCarrierProposedAssignmentRequest } from "./CreateCarrierProposedAssignmentRequest.js";
|
|
2
|
-
export type { DeleteCarrierProposedAssignmentRequest } from "./DeleteCarrierProposedAssignmentRequest.js";
|
|
3
2
|
export type { ListCarrierProposedAssignmentsRequest } from "./ListCarrierProposedAssignmentsRequest.js";
|
|
@@ -64,16 +64,16 @@ export declare class ContactsClient {
|
|
|
64
64
|
*
|
|
65
65
|
* To use this endpoint, select **Write Alert Contacts** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
66
66
|
*
|
|
67
|
-
* @param {Samsara.
|
|
67
|
+
* @param {Samsara.DeleteContactsRequest} request
|
|
68
68
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
|
-
* await client.contacts.
|
|
71
|
+
* await client.contacts.delete({
|
|
72
72
|
* id: "id"
|
|
73
73
|
* })
|
|
74
74
|
*/
|
|
75
|
-
|
|
76
|
-
private
|
|
75
|
+
delete(request: Samsara.DeleteContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Samsara.StandardDeleteResponse>;
|
|
76
|
+
private __delete;
|
|
77
77
|
/**
|
|
78
78
|
* Update a specific contact's information.
|
|
79
79
|
*
|
|
@@ -218,18 +218,18 @@ class ContactsClient {
|
|
|
218
218
|
*
|
|
219
219
|
* To use this endpoint, select **Write Alert Contacts** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
220
220
|
*
|
|
221
|
-
* @param {Samsara.
|
|
221
|
+
* @param {Samsara.DeleteContactsRequest} request
|
|
222
222
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
223
223
|
*
|
|
224
224
|
* @example
|
|
225
|
-
* await client.contacts.
|
|
225
|
+
* await client.contacts.delete({
|
|
226
226
|
* id: "id"
|
|
227
227
|
* })
|
|
228
228
|
*/
|
|
229
|
-
|
|
230
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
229
|
+
delete(request, requestOptions) {
|
|
230
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
231
231
|
}
|
|
232
|
-
|
|
232
|
+
__delete(request, requestOptions) {
|
|
233
233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
234
234
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
235
235
|
const { id } = request;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { CreateContactRequest } from "./CreateContactRequest.js";
|
|
2
|
-
export type {
|
|
2
|
+
export type { DeleteContactsRequest } from "./DeleteContactsRequest.js";
|
|
3
3
|
export type { GetContactRequest } from "./GetContactRequest.js";
|
|
4
4
|
export type { ListContactsRequest } from "./ListContactsRequest.js";
|
|
5
5
|
export type { UpdateContactRequest } from "./UpdateContactRequest.js";
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../../../BaseClient.js";
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
3
|
import { AttributesClient } from "../resources/attributes/client/Client.js";
|
|
4
|
+
import { CarrierProposedAssignmentsClient } from "../resources/carrierProposedAssignments/client/Client.js";
|
|
4
5
|
export declare namespace FleetClient {
|
|
5
6
|
type Options = BaseClientOptions;
|
|
6
7
|
}
|
|
7
8
|
export declare class FleetClient {
|
|
8
9
|
protected readonly _options: NormalizedClientOptionsWithAuth<FleetClient.Options>;
|
|
10
|
+
protected _carrierProposedAssignments: CarrierProposedAssignmentsClient | undefined;
|
|
9
11
|
protected _attributes: AttributesClient | undefined;
|
|
10
12
|
constructor(options?: FleetClient.Options);
|
|
13
|
+
get carrierProposedAssignments(): CarrierProposedAssignmentsClient;
|
|
11
14
|
get attributes(): AttributesClient;
|
|
12
15
|
}
|
|
@@ -4,10 +4,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.FleetClient = void 0;
|
|
5
5
|
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
6
6
|
const Client_js_1 = require("../resources/attributes/client/Client.js");
|
|
7
|
+
const Client_js_2 = require("../resources/carrierProposedAssignments/client/Client.js");
|
|
7
8
|
class FleetClient {
|
|
8
9
|
constructor(options = {}) {
|
|
9
10
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
10
11
|
}
|
|
12
|
+
get carrierProposedAssignments() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._carrierProposedAssignments) !== null && _a !== void 0 ? _a : (this._carrierProposedAssignments = new Client_js_2.CarrierProposedAssignmentsClient(this._options)));
|
|
15
|
+
}
|
|
11
16
|
get attributes() {
|
|
12
17
|
var _a;
|
|
13
18
|
return ((_a = this._attributes) !== null && _a !== void 0 ? _a : (this._attributes = new Client_js_1.AttributesClient(this._options)));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import type * as Samsara from "../../../../../index.js";
|
|
5
|
+
export declare namespace CarrierProposedAssignmentsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CarrierProposedAssignmentsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CarrierProposedAssignmentsClient.Options>;
|
|
12
|
+
constructor(options?: CarrierProposedAssignmentsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Permanently delete an assignment. You can only delete assignments that are not yet active. To override a currently active assignment, create a new empty one, instead.
|
|
15
|
+
*
|
|
16
|
+
* **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
17
|
+
*
|
|
18
|
+
* To use this endpoint, select **Write Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
19
|
+
*
|
|
20
|
+
* @param {Samsara.fleet.DeleteCarrierProposedAssignmentsRequest} request
|
|
21
|
+
* @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* await client.fleet.carrierProposedAssignments.delete({
|
|
25
|
+
* id: "id"
|
|
26
|
+
* })
|
|
27
|
+
*/
|
|
28
|
+
delete(request: Samsara.fleet.DeleteCarrierProposedAssignmentsRequest, requestOptions?: CarrierProposedAssignmentsClient.RequestOptions): core.HttpResponsePromise<Samsara.StandardDeleteResponse>;
|
|
29
|
+
private __delete;
|
|
30
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.CarrierProposedAssignmentsClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
53
|
+
class CarrierProposedAssignmentsClient {
|
|
54
|
+
constructor(options = {}) {
|
|
55
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Permanently delete an assignment. You can only delete assignments that are not yet active. To override a currently active assignment, create a new empty one, instead.
|
|
59
|
+
*
|
|
60
|
+
* **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
61
|
+
*
|
|
62
|
+
* To use this endpoint, select **Write Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
63
|
+
*
|
|
64
|
+
* @param {Samsara.fleet.DeleteCarrierProposedAssignmentsRequest} request
|
|
65
|
+
* @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.fleet.carrierProposedAssignments.delete({
|
|
69
|
+
* id: "id"
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
delete(request, requestOptions) {
|
|
73
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
74
|
+
}
|
|
75
|
+
__delete(request, requestOptions) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
78
|
+
const { id } = request;
|
|
79
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
80
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Samsara-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
81
|
+
const _response = yield core.fetcher({
|
|
82
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SamsaraEnvironment.ProductionApi, `fleet/carrier-proposed-assignments/${core.url.encodePathParam(id)}`),
|
|
83
|
+
method: "DELETE",
|
|
84
|
+
headers: _headers,
|
|
85
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
86
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
87
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
88
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
89
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
90
|
+
logging: this._options.logging,
|
|
91
|
+
});
|
|
92
|
+
if (_response.ok) {
|
|
93
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
94
|
+
}
|
|
95
|
+
if (_response.error.reason === "status-code") {
|
|
96
|
+
throw new errors.SamsaraError({
|
|
97
|
+
statusCode: _response.error.statusCode,
|
|
98
|
+
body: _response.error.body,
|
|
99
|
+
rawResponse: _response.rawResponse,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/fleet/carrier-proposed-assignments/{id}");
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.CarrierProposedAssignmentsClient = CarrierProposedAssignmentsClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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);
|
package/dist/cjs/api/resources/fleet/resources/carrierProposedAssignments/client/requests/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { DeleteCarrierProposedAssignmentsRequest } from "./DeleteCarrierProposedAssignmentsRequest.js";
|
|
@@ -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);
|
|
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.attributes = void 0;
|
|
39
|
+
exports.carrierProposedAssignments = exports.attributes = void 0;
|
|
40
40
|
__exportStar(require("./attributes/client/requests/index.js"), exports);
|
|
41
41
|
exports.attributes = __importStar(require("./attributes/index.js"));
|
|
42
|
+
__exportStar(require("./carrierProposedAssignments/client/requests/index.js"), exports);
|
|
43
|
+
exports.carrierProposedAssignments = __importStar(require("./carrierProposedAssignments/index.js"));
|