@chrt-inc/typescript-sdk 0.0.196 → 0.0.197
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/Client.js +2 -2
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +2 -2
- 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/courierPayDriverPayouts/client/Client.d.mts +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2 -2
package/dist/cjs/Client.js
CHANGED
|
@@ -67,8 +67,8 @@ class ChrtClient {
|
|
|
67
67
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
70
|
-
"X-Fern-SDK-Version": "0.0.
|
|
71
|
-
"User-Agent": "@chrt-inc/typescript-sdk/0.0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.0.197",
|
|
71
|
+
"User-Agent": "@chrt-inc/typescript-sdk/0.0.197",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -39,7 +39,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
39
39
|
* @example
|
|
40
40
|
* await client.courierPayDriverPayouts.getById("id")
|
|
41
41
|
*/
|
|
42
|
-
getById(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<
|
|
42
|
+
getById(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverPayout1>;
|
|
43
43
|
private __getById;
|
|
44
44
|
/**
|
|
45
45
|
* Lists all payouts for a specific driver within the authenticated organization.
|
|
@@ -52,7 +52,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
52
52
|
* @example
|
|
53
53
|
* await client.courierPayDriverPayouts.listByDriverId("driver_id")
|
|
54
54
|
*/
|
|
55
|
-
listByDriverId(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<
|
|
55
|
+
listByDriverId(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverPayout1[]>;
|
|
56
56
|
private __listByDriverId;
|
|
57
57
|
/**
|
|
58
58
|
* Creates a new driver payout from selected line item groups.
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.197";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -31,8 +31,8 @@ export class ChrtClient {
|
|
|
31
31
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
32
32
|
"X-Fern-Language": "JavaScript",
|
|
33
33
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
34
|
-
"X-Fern-SDK-Version": "0.0.
|
|
35
|
-
"User-Agent": "@chrt-inc/typescript-sdk/0.0.
|
|
34
|
+
"X-Fern-SDK-Version": "0.0.197",
|
|
35
|
+
"User-Agent": "@chrt-inc/typescript-sdk/0.0.197",
|
|
36
36
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
37
37
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
38
38
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -39,7 +39,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
39
39
|
* @example
|
|
40
40
|
* await client.courierPayDriverPayouts.getById("id")
|
|
41
41
|
*/
|
|
42
|
-
getById(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<
|
|
42
|
+
getById(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverPayout1>;
|
|
43
43
|
private __getById;
|
|
44
44
|
/**
|
|
45
45
|
* Lists all payouts for a specific driver within the authenticated organization.
|
|
@@ -52,7 +52,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
52
52
|
* @example
|
|
53
53
|
* await client.courierPayDriverPayouts.listByDriverId("driver_id")
|
|
54
54
|
*/
|
|
55
|
-
listByDriverId(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<
|
|
55
|
+
listByDriverId(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverPayout1[]>;
|
|
56
56
|
private __listByDriverId;
|
|
57
57
|
/**
|
|
58
58
|
* Creates a new driver payout from selected line item groups.
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.197";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.197";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3494,7 +3494,7 @@ await client.shipperPayCourierPayments.preview({
|
|
|
3494
3494
|
|
|
3495
3495
|
## CourierPayDriverPayouts
|
|
3496
3496
|
|
|
3497
|
-
<details><summary><code>client.courierPayDriverPayouts.<a href="/src/api/resources/courierPayDriverPayouts/client/Client.ts">getById</a>(id) ->
|
|
3497
|
+
<details><summary><code>client.courierPayDriverPayouts.<a href="/src/api/resources/courierPayDriverPayouts/client/Client.ts">getById</a>(id) -> Chrt.CourierPayDriverPayout1</code></summary>
|
|
3498
3498
|
<dl>
|
|
3499
3499
|
<dd>
|
|
3500
3500
|
|
|
@@ -3557,7 +3557,7 @@ await client.courierPayDriverPayouts.getById("id");
|
|
|
3557
3557
|
</dl>
|
|
3558
3558
|
</details>
|
|
3559
3559
|
|
|
3560
|
-
<details><summary><code>client.courierPayDriverPayouts.<a href="/src/api/resources/courierPayDriverPayouts/client/Client.ts">listByDriverId</a>(driverId) ->
|
|
3560
|
+
<details><summary><code>client.courierPayDriverPayouts.<a href="/src/api/resources/courierPayDriverPayouts/client/Client.ts">listByDriverId</a>(driverId) -> Chrt.CourierPayDriverPayout1[]</code></summary>
|
|
3561
3561
|
<dl>
|
|
3562
3562
|
<dd>
|
|
3563
3563
|
|