@chrt-inc/typescript-sdk 1.303.0 → 1.304.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.
- package/README.md +0 -604
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/connections/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/connections/client/Client.js +3 -3
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +1 -1
- package/dist/cjs/api/resources/dev/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/dev/client/Client.js +9 -9
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
- package/dist/cjs/api/resources/orderDrafts/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/orderDrafts/client/Client.js +125 -0
- package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/orders/client/Client.js +0 -5
- package/dist/cjs/api/resources/orders/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/index.js +1 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +3 -3
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +7 -7
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/orgs/client/Client.js +7 -7
- package/dist/cjs/api/resources/root/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/root/client/Client.js +5 -5
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +7 -7
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +14 -14
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.js +1 -1
- package/dist/cjs/api/resources/utils/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/utils/client/Client.js +1 -1
- package/dist/cjs/api/types/Cargo1.d.ts +1 -1
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +1 -1
- package/dist/{esm/api/types/DriverUpdateResp.d.mts → cjs/api/types/DriverUpdateRes.d.ts} +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/connections/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/connections/client/Client.mjs +3 -3
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +1 -1
- package/dist/esm/api/resources/dev/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/dev/client/Client.mjs +9 -9
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orderDrafts/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/orderDrafts/client/Client.mjs +125 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/orders/client/Client.mjs +0 -5
- package/dist/esm/api/resources/orders/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/index.mjs +0 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +3 -3
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +7 -7
- package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/orgs/client/Client.mjs +7 -7
- package/dist/esm/api/resources/root/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/root/client/Client.mjs +5 -5
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +7 -7
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +14 -14
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.mjs +1 -1
- package/dist/esm/api/resources/utils/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/utils/client/Client.mjs +1 -1
- package/dist/esm/api/types/Cargo1.d.mts +1 -1
- package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +1 -1
- package/dist/{cjs/api/types/DriverUpdateResp.d.ts → esm/api/types/DriverUpdateRes.d.mts} +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +212 -214
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +0 -23
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/draft/client/index.js +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/index.js +0 -18
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +0 -61
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +0 -193
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +0 -41
- package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +0 -23
- package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +0 -13
- package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/index.mjs +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +0 -61
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +0 -156
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +0 -2
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.js +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.js +0 -0
- /package/dist/cjs/api/types/{DriverUpdateResp.js → DriverUpdateRes.js} +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.mts +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.mjs +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.mts +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.mjs +0 -0
- /package/dist/esm/api/types/{DriverUpdateResp.mjs → DriverUpdateRes.mjs} +0 -0
|
@@ -31,7 +31,7 @@ export declare class SessionByDevice {
|
|
|
31
31
|
protected readonly _options: SessionByDevice.Options;
|
|
32
32
|
constructor(_options?: SessionByDevice.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns all tracking sessions for the authenticated user's organization.
|
|
34
|
+
* Returns all tracking sessions for the authenticated user's organization. | () -> (list[Session1])
|
|
35
35
|
*
|
|
36
36
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class SessionByDevice {
|
|
|
41
41
|
listV1(requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.Session1[]>;
|
|
42
42
|
private __listV1;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves a single session by its ID. Access restricted to the session's organization.
|
|
44
|
+
* Retrieves a single session by its ID. Access restricted to the session's organization. | () -> (Session1)
|
|
45
45
|
*
|
|
46
46
|
* @param {Chrt.tracking.SessionByDeviceGetV1Request} request
|
|
47
47
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ export declare class SessionByDevice {
|
|
|
56
56
|
getV1(request: Chrt.tracking.SessionByDeviceGetV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.Session1>;
|
|
57
57
|
private __getV1;
|
|
58
58
|
/**
|
|
59
|
-
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization.
|
|
59
|
+
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
|
|
62
62
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -71,7 +71,7 @@ export declare class SessionByDevice {
|
|
|
71
71
|
lastSeenV1(request: Chrt.tracking.SessionByDeviceLastSeenV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<(Chrt.TrackingSessionByDeviceDataPoint1 | null) | undefined>;
|
|
72
72
|
private __lastSeenV1;
|
|
73
73
|
/**
|
|
74
|
-
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers.
|
|
74
|
+
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
75
75
|
*
|
|
76
76
|
* @param {Chrt.tracking.SessionByDeviceDataPointsV1Request} request
|
|
77
77
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -87,7 +87,7 @@ export declare class SessionByDevice {
|
|
|
87
87
|
dataPointsV1(request: Chrt.tracking.SessionByDeviceDataPointsV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.TrackingSessionByDeviceDataPoint1[]>;
|
|
88
88
|
private __dataPointsV1;
|
|
89
89
|
/**
|
|
90
|
-
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization.
|
|
90
|
+
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization. | (SessionByDeviceCreateSessionRequest1) -> (PydanticObjectId)
|
|
91
91
|
*
|
|
92
92
|
* @param {Chrt.tracking.SessionByDeviceCreateSessionRequest1} request
|
|
93
93
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -102,7 +102,7 @@ export declare class SessionByDevice {
|
|
|
102
102
|
createSessionV1(request: Chrt.tracking.SessionByDeviceCreateSessionRequest1, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<string>;
|
|
103
103
|
private __createSessionV1;
|
|
104
104
|
/**
|
|
105
|
-
* Updates a session's comments and/or public visibility status. Can update one or both fields.
|
|
105
|
+
* Updates a session's comments and/or public visibility status. Can update one or both fields. | (SessionByDeviceUpdateRequest1) -> (bool)
|
|
106
106
|
*
|
|
107
107
|
* @param {Chrt.tracking.SessionByDeviceUpdateRequest1} request
|
|
108
108
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -117,7 +117,7 @@ export declare class SessionByDevice {
|
|
|
117
117
|
updateV1(request: Chrt.tracking.SessionByDeviceUpdateRequest1, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
118
118
|
private __updateV1;
|
|
119
119
|
/**
|
|
120
|
-
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start.
|
|
120
|
+
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start. | () -> (bool)
|
|
121
121
|
*
|
|
122
122
|
* @param {Chrt.tracking.SessionByDeviceStartV1Request} request
|
|
123
123
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -132,7 +132,7 @@ export declare class SessionByDevice {
|
|
|
132
132
|
startV1(request: Chrt.tracking.SessionByDeviceStartV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
133
133
|
private __startV1;
|
|
134
134
|
/**
|
|
135
|
-
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session.
|
|
135
|
+
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session. | () -> (bool)
|
|
136
136
|
*
|
|
137
137
|
* @param {Chrt.tracking.SessionByDevicePauseRecordingV1Request} request
|
|
138
138
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -147,7 +147,7 @@ export declare class SessionByDevice {
|
|
|
147
147
|
pauseRecordingV1(request: Chrt.tracking.SessionByDevicePauseRecordingV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
148
148
|
private __pauseRecordingV1;
|
|
149
149
|
/**
|
|
150
|
-
* Resumes location recording for a session by setting recording status to true.
|
|
150
|
+
* Resumes location recording for a session by setting recording status to true. | () -> (bool)
|
|
151
151
|
*
|
|
152
152
|
* @param {Chrt.tracking.SessionByDeviceResumeRecordingV1Request} request
|
|
153
153
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -162,7 +162,7 @@ export declare class SessionByDevice {
|
|
|
162
162
|
resumeRecordingV1(request: Chrt.tracking.SessionByDeviceResumeRecordingV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
163
163
|
private __resumeRecordingV1;
|
|
164
164
|
/**
|
|
165
|
-
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session.
|
|
165
|
+
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session. | () -> (bool)
|
|
166
166
|
*
|
|
167
167
|
* @param {Chrt.tracking.SessionByDeviceTerminateV1Request} request
|
|
168
168
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -177,7 +177,7 @@ export declare class SessionByDevice {
|
|
|
177
177
|
terminateV1(request: Chrt.tracking.SessionByDeviceTerminateV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
178
178
|
private __terminateV1;
|
|
179
179
|
/**
|
|
180
|
-
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates.
|
|
180
|
+
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates. | (SessionByDeviceMarkOutliersRequest1) -> (SessionByDeviceMarkOutliersResponse1)
|
|
181
181
|
*
|
|
182
182
|
* @param {Chrt.tracking.SessionByDeviceMarkOutliersRequest1} request
|
|
183
183
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -193,7 +193,7 @@ export declare class SessionByDevice {
|
|
|
193
193
|
outlierV1(request: Chrt.tracking.SessionByDeviceMarkOutliersRequest1, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.SessionByDeviceMarkOutliersResponse1>;
|
|
194
194
|
private __outlierV1;
|
|
195
195
|
/**
|
|
196
|
-
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted.
|
|
196
|
+
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted. | () -> (SessionByDeviceDeleteResponse1)
|
|
197
197
|
*
|
|
198
198
|
* @param {Chrt.tracking.SessionByDeviceDeleteV1Request} request
|
|
199
199
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -208,7 +208,7 @@ export declare class SessionByDevice {
|
|
|
208
208
|
deleteV1(request: Chrt.tracking.SessionByDeviceDeleteV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.SessionByDeviceDeleteResponse1>;
|
|
209
209
|
private __deleteV1;
|
|
210
210
|
/**
|
|
211
|
-
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled.
|
|
211
|
+
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
212
212
|
*
|
|
213
213
|
* @param {Chrt.tracking.SessionByDeviceLastSeenPublicV1Request} request
|
|
214
214
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -223,7 +223,7 @@ export declare class SessionByDevice {
|
|
|
223
223
|
lastSeenPublicV1(request: Chrt.tracking.SessionByDeviceLastSeenPublicV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<(Chrt.TrackingSessionByDeviceDataPoint1 | null) | undefined>;
|
|
224
224
|
private __lastSeenPublicV1;
|
|
225
225
|
/**
|
|
226
|
-
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled.
|
|
226
|
+
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
227
227
|
*
|
|
228
228
|
* @param {Chrt.tracking.SessionByDeviceDataPointsPublicV1Request} request
|
|
229
229
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class SessionByDevice {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Returns all tracking sessions for the authenticated user's organization.
|
|
59
|
+
* Returns all tracking sessions for the authenticated user's organization. | () -> (list[Session1])
|
|
60
60
|
*
|
|
61
61
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
62
|
*
|
|
@@ -107,7 +107,7 @@ class SessionByDevice {
|
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Retrieves a single session by its ID. Access restricted to the session's organization.
|
|
110
|
+
* Retrieves a single session by its ID. Access restricted to the session's organization. | () -> (Session1)
|
|
111
111
|
*
|
|
112
112
|
* @param {Chrt.tracking.SessionByDeviceGetV1Request} request
|
|
113
113
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -171,7 +171,7 @@ class SessionByDevice {
|
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
|
-
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization.
|
|
174
|
+
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
175
175
|
*
|
|
176
176
|
* @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
|
|
177
177
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -238,7 +238,7 @@ class SessionByDevice {
|
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers.
|
|
241
|
+
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
242
242
|
*
|
|
243
243
|
* @param {Chrt.tracking.SessionByDeviceDataPointsV1Request} request
|
|
244
244
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -309,7 +309,7 @@ class SessionByDevice {
|
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
|
-
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization.
|
|
312
|
+
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization. | (SessionByDeviceCreateSessionRequest1) -> (PydanticObjectId)
|
|
313
313
|
*
|
|
314
314
|
* @param {Chrt.tracking.SessionByDeviceCreateSessionRequest1} request
|
|
315
315
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -373,7 +373,7 @@ class SessionByDevice {
|
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
375
|
/**
|
|
376
|
-
* Updates a session's comments and/or public visibility status. Can update one or both fields.
|
|
376
|
+
* Updates a session's comments and/or public visibility status. Can update one or both fields. | (SessionByDeviceUpdateRequest1) -> (bool)
|
|
377
377
|
*
|
|
378
378
|
* @param {Chrt.tracking.SessionByDeviceUpdateRequest1} request
|
|
379
379
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -437,7 +437,7 @@ class SessionByDevice {
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
|
-
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start.
|
|
440
|
+
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start. | () -> (bool)
|
|
441
441
|
*
|
|
442
442
|
* @param {Chrt.tracking.SessionByDeviceStartV1Request} request
|
|
443
443
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -501,7 +501,7 @@ class SessionByDevice {
|
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
|
-
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session.
|
|
504
|
+
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session. | () -> (bool)
|
|
505
505
|
*
|
|
506
506
|
* @param {Chrt.tracking.SessionByDevicePauseRecordingV1Request} request
|
|
507
507
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -565,7 +565,7 @@ class SessionByDevice {
|
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
|
-
* Resumes location recording for a session by setting recording status to true.
|
|
568
|
+
* Resumes location recording for a session by setting recording status to true. | () -> (bool)
|
|
569
569
|
*
|
|
570
570
|
* @param {Chrt.tracking.SessionByDeviceResumeRecordingV1Request} request
|
|
571
571
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -629,7 +629,7 @@ class SessionByDevice {
|
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
|
-
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session.
|
|
632
|
+
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session. | () -> (bool)
|
|
633
633
|
*
|
|
634
634
|
* @param {Chrt.tracking.SessionByDeviceTerminateV1Request} request
|
|
635
635
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -693,7 +693,7 @@ class SessionByDevice {
|
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
/**
|
|
696
|
-
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates.
|
|
696
|
+
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates. | (SessionByDeviceMarkOutliersRequest1) -> (SessionByDeviceMarkOutliersResponse1)
|
|
697
697
|
*
|
|
698
698
|
* @param {Chrt.tracking.SessionByDeviceMarkOutliersRequest1} request
|
|
699
699
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -761,7 +761,7 @@ class SessionByDevice {
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
/**
|
|
764
|
-
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted.
|
|
764
|
+
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted. | () -> (SessionByDeviceDeleteResponse1)
|
|
765
765
|
*
|
|
766
766
|
* @param {Chrt.tracking.SessionByDeviceDeleteV1Request} request
|
|
767
767
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -825,7 +825,7 @@ class SessionByDevice {
|
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
827
|
/**
|
|
828
|
-
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled.
|
|
828
|
+
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
829
829
|
*
|
|
830
830
|
* @param {Chrt.tracking.SessionByDeviceLastSeenPublicV1Request} request
|
|
831
831
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -892,7 +892,7 @@ class SessionByDevice {
|
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
/**
|
|
895
|
-
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled.
|
|
895
|
+
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
896
896
|
*
|
|
897
897
|
* @param {Chrt.tracking.SessionByDeviceDataPointsPublicV1Request} request
|
|
898
898
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class TaskGroupByDriver {
|
|
|
31
31
|
protected readonly _options: TaskGroupByDriver.Options;
|
|
32
32
|
constructor(_options?: TaskGroupByDriver.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint.
|
|
34
|
+
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (TrackingTaskGroupByDriverDataPoint1 | None)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.tracking.TaskGroupByDriverLastSeenV1Request} request
|
|
37
37
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class TaskGroupByDriver {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint.
|
|
59
|
+
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (TrackingTaskGroupByDriverDataPoint1 | None)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.tracking.TaskGroupByDriverLastSeenV1Request} request
|
|
62
62
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Users {
|
|
|
31
31
|
protected readonly _options: Users.Options;
|
|
32
32
|
constructor(_options?: Users.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information.
|
|
34
|
+
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information. | () -> (UserPublicData1)
|
|
35
35
|
*
|
|
36
36
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -55,7 +55,7 @@ class Users {
|
|
|
55
55
|
this._options = _options;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information.
|
|
58
|
+
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information. | () -> (UserPublicData1)
|
|
59
59
|
*
|
|
60
60
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
61
|
*
|
|
@@ -31,7 +31,7 @@ export declare class Utils {
|
|
|
31
31
|
protected readonly _options: Utils.Options;
|
|
32
32
|
constructor(_options?: Utils.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge.
|
|
34
|
+
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.UtilsGetTimezoneV1Request} request
|
|
37
37
|
* @param {Utils.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Utils {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge.
|
|
59
|
+
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.UtilsGetTimezoneV1Request} request
|
|
62
62
|
* @param {Utils.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -12,7 +12,7 @@ export interface Cargo1 {
|
|
|
12
12
|
height_inches?: number | null;
|
|
13
13
|
turnable?: boolean | null;
|
|
14
14
|
stackable?: boolean | null;
|
|
15
|
-
|
|
15
|
+
description?: string | null;
|
|
16
16
|
_id: string;
|
|
17
17
|
order_id: string;
|
|
18
18
|
order_short_id: string;
|
|
@@ -6,7 +6,6 @@ export interface TaskClientUpdate1 {
|
|
|
6
6
|
location?: Chrt.LocationFeature | null;
|
|
7
7
|
action?: TaskClientUpdate1.Action | null;
|
|
8
8
|
time_windows?: Chrt.TimeWindow1[] | null;
|
|
9
|
-
order_placer_comments?: string | null;
|
|
10
9
|
shipper_contact_info_ids?: string[] | null;
|
|
11
10
|
flight_number?: string | null;
|
|
12
11
|
}
|
|
@@ -27,7 +27,7 @@ export * from "./DecodedJwtWithOrgAndUserId.js";
|
|
|
27
27
|
export * from "./Device1.js";
|
|
28
28
|
export * from "./Driver1.js";
|
|
29
29
|
export * from "./DriverStatusEnum.js";
|
|
30
|
-
export * from "./
|
|
30
|
+
export * from "./DriverUpdateRes.js";
|
|
31
31
|
export * from "./FlightTaskActionEnum1.js";
|
|
32
32
|
export * from "./ForwarderConnectionRes.js";
|
|
33
33
|
export * from "./ForwarderOrgInfoForConnections1.js";
|
|
@@ -43,7 +43,7 @@ __exportStar(require("./DecodedJwtWithOrgAndUserId.js"), exports);
|
|
|
43
43
|
__exportStar(require("./Device1.js"), exports);
|
|
44
44
|
__exportStar(require("./Driver1.js"), exports);
|
|
45
45
|
__exportStar(require("./DriverStatusEnum.js"), exports);
|
|
46
|
-
__exportStar(require("./
|
|
46
|
+
__exportStar(require("./DriverUpdateRes.js"), exports);
|
|
47
47
|
__exportStar(require("./FlightTaskActionEnum1.js"), exports);
|
|
48
48
|
__exportStar(require("./ForwarderConnectionRes.js"), exports);
|
|
49
49
|
__exportStar(require("./ForwarderOrgInfoForConnections1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.304.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -35,8 +35,8 @@ export class ChrtClient {
|
|
|
35
35
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
36
36
|
"X-Fern-Language": "JavaScript",
|
|
37
37
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
38
|
-
"X-Fern-SDK-Version": "1.
|
|
39
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
38
|
+
"X-Fern-SDK-Version": "1.304.0",
|
|
39
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.304.0",
|
|
40
40
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
41
41
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
42
42
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -40,7 +40,7 @@ export declare class Connections {
|
|
|
40
40
|
get connectionToShipper(): ConnectionToShipper;
|
|
41
41
|
get connectionToForwarder(): ConnectionToForwarder;
|
|
42
42
|
/**
|
|
43
|
-
* Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
|
|
43
|
+
* Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
|
|
44
44
|
*
|
|
45
45
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
46
|
*
|
|
@@ -50,7 +50,7 @@ export declare class Connections {
|
|
|
50
50
|
listShippersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperConnectionRes[]>;
|
|
51
51
|
private __listShippersV1;
|
|
52
52
|
/**
|
|
53
|
-
* Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
|
|
53
|
+
* Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
|
|
54
54
|
*
|
|
55
55
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
@@ -60,7 +60,7 @@ export declare class Connections {
|
|
|
60
60
|
listCouriersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierConnectionRes[]>;
|
|
61
61
|
private __listCouriersV1;
|
|
62
62
|
/**
|
|
63
|
-
* Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
|
|
63
|
+
* Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
|
|
64
64
|
*
|
|
65
65
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
@@ -34,7 +34,7 @@ export class Connections {
|
|
|
34
34
|
return ((_a = this._connectionToForwarder) !== null && _a !== void 0 ? _a : (this._connectionToForwarder = new ConnectionToForwarder(this._options)));
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
|
|
37
|
+
* Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
|
|
38
38
|
*
|
|
39
39
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
40
|
*
|
|
@@ -85,7 +85,7 @@ export class Connections {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
|
|
88
|
+
* Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
|
|
89
89
|
*
|
|
90
90
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
91
|
*
|
|
@@ -136,7 +136,7 @@ export class Connections {
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
|
|
139
|
+
* Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
|
|
140
140
|
*
|
|
141
141
|
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
142
|
*
|
package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class ConnectionToCourier {
|
|
|
31
31
|
protected readonly _options: ConnectionToCourier.Options;
|
|
32
32
|
constructor(_options?: ConnectionToCourier.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
|
|
34
|
+
* Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.CreateConnectionReq} request
|
|
37
37
|
* @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class ConnectionToCourier {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
|
|
23
|
+
* Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.CreateConnectionReq} request
|
|
26
26
|
* @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class ConnectionToForwarder {
|
|
|
31
31
|
protected readonly _options: ConnectionToForwarder.Options;
|
|
32
32
|
constructor(_options?: ConnectionToForwarder.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders.
|
|
34
|
+
* Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.CreateConnectionReq} request
|
|
37
37
|
* @param {ConnectionToForwarder.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs
CHANGED
|
@@ -20,7 +20,7 @@ export class ConnectionToForwarder {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders.
|
|
23
|
+
* Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.CreateConnectionReq} request
|
|
26
26
|
* @param {ConnectionToForwarder.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class ConnectionToShipper {
|
|
|
31
31
|
protected readonly _options: ConnectionToShipper.Options;
|
|
32
32
|
constructor(_options?: ConnectionToShipper.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers.
|
|
34
|
+
* Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.CreateConnectionReq} request
|
|
37
37
|
* @param {ConnectionToShipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class ConnectionToShipper {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers.
|
|
23
|
+
* Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.CreateConnectionReq} request
|
|
26
26
|
* @param {ConnectionToShipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Dev {
|
|
|
31
31
|
protected readonly _options: Dev.Options;
|
|
32
32
|
constructor(_options?: Dev.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes.
|
|
34
|
+
* Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes. | () -> (str)
|
|
35
35
|
*
|
|
36
36
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class Dev {
|
|
|
41
41
|
getAgentV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
|
|
42
42
|
private __getAgentV1;
|
|
43
43
|
/**
|
|
44
|
-
* (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token.
|
|
44
|
+
* (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
|
|
45
45
|
*
|
|
46
46
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
47
|
*
|
|
@@ -51,7 +51,7 @@ export declare class Dev {
|
|
|
51
51
|
getUserIdV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
|
|
52
52
|
private __getUserIdV1;
|
|
53
53
|
/**
|
|
54
|
-
* Extracts and returns the user ID from the authenticated request's JWT token.
|
|
54
|
+
* Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
|
|
55
55
|
*
|
|
56
56
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
57
|
*
|
|
@@ -61,7 +61,7 @@ export declare class Dev {
|
|
|
61
61
|
getUserIdV2(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
|
|
62
62
|
private __getUserIdV2;
|
|
63
63
|
/**
|
|
64
|
-
* Returns the complete decoded JWT token information for development purposes.
|
|
64
|
+
* Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
|
|
65
65
|
*
|
|
66
66
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
67
|
*
|
|
@@ -71,7 +71,7 @@ export declare class Dev {
|
|
|
71
71
|
getDecodedJwtV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.DecodedJwtWithOrgAndUserId>;
|
|
72
72
|
private __getDecodedJwtV1;
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves the primary email address for the authenticated user from the authentication service.
|
|
74
|
+
* Retrieves the primary email address for the authenticated user from the authentication service. | () -> (str)
|
|
75
75
|
*
|
|
76
76
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
77
|
*
|
|
@@ -81,7 +81,7 @@ export declare class Dev {
|
|
|
81
81
|
getEmailV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
|
|
82
82
|
private __getEmailV1;
|
|
83
83
|
/**
|
|
84
|
-
* Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes.
|
|
84
|
+
* Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes. | () -> (dict[str, Any])
|
|
85
85
|
*
|
|
86
86
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
87
|
*
|
|
@@ -91,7 +91,7 @@ export declare class Dev {
|
|
|
91
91
|
getDurableV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
92
92
|
private __getDurableV1;
|
|
93
93
|
/**
|
|
94
|
-
* Development template endpoint that returns the authenticated user's ID for testing.
|
|
94
|
+
* Development template endpoint that returns the authenticated user's ID for testing. | () -> (str)
|
|
95
95
|
*
|
|
96
96
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
97
|
*
|
|
@@ -101,7 +101,7 @@ export declare class Dev {
|
|
|
101
101
|
getTemplateV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
|
|
102
102
|
private __getTemplateV1;
|
|
103
103
|
/**
|
|
104
|
-
* Development template endpoint that demonstrates transaction handling and request mirroring.
|
|
104
|
+
* Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
|
|
105
105
|
*
|
|
106
106
|
* @param {Chrt.TemplateReq} request
|
|
107
107
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -118,7 +118,7 @@ export declare class Dev {
|
|
|
118
118
|
createTemplateV1(request: Chrt.TemplateReq, requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.TemplateRes>;
|
|
119
119
|
private __createTemplateV1;
|
|
120
120
|
/**
|
|
121
|
-
* Returns the current GitHub PR number and commit hash for the deployment.
|
|
121
|
+
* Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])
|
|
122
122
|
*
|
|
123
123
|
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
124
|
*
|