@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.
@@ -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.196",
71
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.196",
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<unknown>;
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<unknown>;
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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.196";
1
+ export declare const SDK_VERSION = "0.0.197";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.196";
4
+ exports.SDK_VERSION = "0.0.197";
@@ -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.196",
35
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.196",
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<unknown>;
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<unknown>;
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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.196";
1
+ export declare const SDK_VERSION = "0.0.197";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.196";
1
+ export const SDK_VERSION = "0.0.197";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "0.0.196",
3
+ "version": "0.0.197",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
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) -> unknown</code></summary>
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) -> unknown</code></summary>
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