@chrt-inc/typescript-sdk 1.654.0 → 1.658.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +4 -4
  3. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +3 -3
  4. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +14 -12
  5. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +17 -15
  6. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +13 -0
  7. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +13 -0
  8. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.js +5 -0
  9. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +13 -0
  10. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.js +5 -0
  11. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +3 -0
  12. package/dist/cjs/api/types/ListingForBidder1.d.ts +8 -0
  13. package/dist/cjs/api/types/ListingForBidder1.js +5 -0
  14. package/dist/cjs/api/types/ListingForBidderListRes.d.ts +1 -1
  15. package/dist/cjs/api/types/ListingTaskForBidder1.d.ts +12 -0
  16. package/dist/cjs/api/types/ListingTaskForBidder1.js +5 -0
  17. package/dist/cjs/api/types/ListingTaskGroupForBidder1.d.ts +8 -0
  18. package/dist/cjs/api/types/ListingTaskGroupForBidder1.js +5 -0
  19. package/dist/cjs/api/types/index.d.ts +3 -1
  20. package/dist/cjs/api/types/index.js +3 -1
  21. package/dist/cjs/version.d.ts +1 -1
  22. package/dist/cjs/version.js +1 -1
  23. package/dist/esm/Client.mjs +2 -2
  24. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +4 -4
  25. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +3 -3
  26. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +14 -12
  27. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +17 -15
  28. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +13 -0
  29. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +13 -0
  30. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.mjs +4 -0
  31. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +13 -0
  32. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.mjs +4 -0
  33. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +3 -0
  34. package/dist/esm/api/types/ListingForBidder1.d.mts +8 -0
  35. package/dist/esm/api/types/ListingForBidder1.mjs +4 -0
  36. package/dist/esm/api/types/ListingForBidderListRes.d.mts +1 -1
  37. package/dist/esm/api/types/ListingTaskForBidder1.d.mts +12 -0
  38. package/dist/esm/api/types/ListingTaskForBidder1.mjs +4 -0
  39. package/dist/esm/api/types/ListingTaskGroupForBidder1.d.mts +8 -0
  40. package/dist/esm/api/types/ListingTaskGroupForBidder1.mjs +4 -0
  41. package/dist/esm/api/types/index.d.mts +3 -1
  42. package/dist/esm/api/types/index.mjs +3 -1
  43. package/dist/esm/version.d.mts +1 -1
  44. package/dist/esm/version.mjs +1 -1
  45. package/package.json +1 -1
  46. package/reference.md +15 -13
  47. package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +0 -6
  48. package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +0 -6
  49. /package/dist/cjs/api/{types/TaskGroupQuoteClientReq.js → resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.js} +0 -0
  50. /package/dist/esm/api/{types/TaskGroupQuoteClientReq.mjs → resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.mjs} +0 -0
@@ -56,8 +56,8 @@ class ChrtClient {
56
56
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
59
- "X-Fern-SDK-Version": "1.654.0",
60
- "User-Agent": "@chrt-inc/typescript-sdk/1.654.0",
59
+ "X-Fern-SDK-Version": "1.658.0",
60
+ "User-Agent": "@chrt-inc/typescript-sdk/1.658.0",
61
61
  "X-Fern-Runtime": core.RUNTIME.type,
62
62
  "X-Fern-Runtime-Version": core.RUNTIME.version,
63
63
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -31,7 +31,7 @@ export declare class Listings {
31
31
  protected readonly _options: Listings.Options;
32
32
  constructor(_options?: Listings.Options);
33
33
  /**
34
- * Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
34
+ * Fetches a listing by id in the bidder-facing shape with tasks and mileage. Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidder1)
35
35
  *
36
36
  * @param {string} listingId
37
37
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -41,7 +41,7 @@ export declare class Listings {
41
41
  * @example
42
42
  * await client.listing.listings.byIdV1("listing_id")
43
43
  */
44
- byIdV1(listingId: string, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingLimitedForBidder1>;
44
+ byIdV1(listingId: string, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingForBidder1>;
45
45
  private __byIdV1;
46
46
  /**
47
47
  * Fetches the full listing record (including `internal_notes`). Restricted to the lister org — bidders use `by_id/v1`. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Listing1)
@@ -97,7 +97,7 @@ export declare class Listings {
97
97
  listByOrgV1(request?: Chrt.listing.ListingsListByOrgV1Request, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingListRes>;
98
98
  private __listByOrgV1;
99
99
  /**
100
- * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
100
+ * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
101
101
  *
102
102
  * @param {Chrt.listing.ListingsListForProviderBidderV1Request} request
103
103
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -123,7 +123,7 @@ export declare class Listings {
123
123
  listForProviderBidderV1(request?: Chrt.listing.ListingsListForProviderBidderV1Request, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingForBidderListRes>;
124
124
  private __listForProviderBidderV1;
125
125
  /**
126
- * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
126
+ * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
127
127
  *
128
128
  * @param {Chrt.listing.ListingsListForDriverBidderV1Request} request
129
129
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class Listings {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
59
+ * Fetches a listing by id in the bidder-facing shape with tasks and mileage. Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidder1)
60
60
  *
61
61
  * @param {string} listingId
62
62
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -363,7 +363,7 @@ class Listings {
363
363
  });
364
364
  }
365
365
  /**
366
- * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
366
+ * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
367
367
  *
368
368
  * @param {Chrt.listing.ListingsListForProviderBidderV1Request} request
369
369
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -489,7 +489,7 @@ class Listings {
489
489
  });
490
490
  }
491
491
  /**
492
- * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
492
+ * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
493
493
  *
494
494
  * @param {Chrt.listing.ListingsListForDriverBidderV1Request} request
495
495
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -329,46 +329,48 @@ export declare class TaskGroups {
329
329
  detachLigFromProviderPayDriverV1(taskGroupId: string, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
330
330
  private __detachLigFromProviderPayDriverV1;
331
331
  /**
332
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
332
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
333
333
  *
334
334
  * @param {string} taskGroupId
335
- * @param {Chrt.TaskGroupQuoteClientReq} request
335
+ * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
336
336
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
337
337
  *
338
338
  * @throws {@link Chrt.UnprocessableEntityError}
339
339
  *
340
340
  * @example
341
- * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {})
341
+ * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id")
342
342
  */
343
- quoteForShipperPayProviderV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
343
+ quoteForShipperPayProviderV1(taskGroupId: string, request?: Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
344
344
  private __quoteForShipperPayProviderV1;
345
345
  /**
346
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
346
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
347
347
  *
348
348
  * @param {string} taskGroupId
349
- * @param {Chrt.TaskGroupQuoteClientReq} request
349
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq} request
350
350
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
351
351
  *
352
352
  * @throws {@link Chrt.UnprocessableEntityError}
353
353
  *
354
354
  * @example
355
- * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {})
355
+ * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id")
356
356
  */
357
- quoteForProviderPayProviderV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
357
+ quoteForProviderPayProviderV1(taskGroupId: string, request?: Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
358
358
  private __quoteForProviderPayProviderV1;
359
359
  /**
360
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
360
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
361
361
  *
362
362
  * @param {string} taskGroupId
363
- * @param {Chrt.TaskGroupQuoteClientReq} request
363
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq} request
364
364
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
365
365
  *
366
366
  * @throws {@link Chrt.UnprocessableEntityError}
367
367
  *
368
368
  * @example
369
- * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {})
369
+ * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
370
+ * driver_id: "driver_id"
371
+ * })
370
372
  */
371
- quoteForProviderPayDriverV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
373
+ quoteForProviderPayDriverV1(taskGroupId: string, request: Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
372
374
  private __quoteForProviderPayDriverV1;
373
375
  protected _getAuthorizationHeader(): Promise<string | undefined>;
374
376
  }
@@ -1313,22 +1313,22 @@ class TaskGroups {
1313
1313
  });
1314
1314
  }
1315
1315
  /**
1316
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1316
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
1317
1317
  *
1318
1318
  * @param {string} taskGroupId
1319
- * @param {Chrt.TaskGroupQuoteClientReq} request
1319
+ * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
1320
1320
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1321
1321
  *
1322
1322
  * @throws {@link Chrt.UnprocessableEntityError}
1323
1323
  *
1324
1324
  * @example
1325
- * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {})
1325
+ * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id")
1326
1326
  */
1327
- quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
1327
+ quoteForShipperPayProviderV1(taskGroupId, request = {}, requestOptions) {
1328
1328
  return core.HttpResponsePromise.fromPromise(this.__quoteForShipperPayProviderV1(taskGroupId, request, requestOptions));
1329
1329
  }
1330
- __quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
1331
- return __awaiter(this, void 0, void 0, function* () {
1330
+ __quoteForShipperPayProviderV1(taskGroupId_1) {
1331
+ return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1332
1332
  var _a, _b, _c, _d;
1333
1333
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1334
1334
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
@@ -1376,22 +1376,22 @@ class TaskGroups {
1376
1376
  });
1377
1377
  }
1378
1378
  /**
1379
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1379
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
1380
1380
  *
1381
1381
  * @param {string} taskGroupId
1382
- * @param {Chrt.TaskGroupQuoteClientReq} request
1382
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq} request
1383
1383
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1384
1384
  *
1385
1385
  * @throws {@link Chrt.UnprocessableEntityError}
1386
1386
  *
1387
1387
  * @example
1388
- * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {})
1388
+ * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id")
1389
1389
  */
1390
- quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
1390
+ quoteForProviderPayProviderV1(taskGroupId, request = {}, requestOptions) {
1391
1391
  return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayProviderV1(taskGroupId, request, requestOptions));
1392
1392
  }
1393
- __quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
1394
- return __awaiter(this, void 0, void 0, function* () {
1393
+ __quoteForProviderPayProviderV1(taskGroupId_1) {
1394
+ return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1395
1395
  var _a, _b, _c, _d;
1396
1396
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1397
1397
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
@@ -1439,16 +1439,18 @@ class TaskGroups {
1439
1439
  });
1440
1440
  }
1441
1441
  /**
1442
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1442
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
1443
1443
  *
1444
1444
  * @param {string} taskGroupId
1445
- * @param {Chrt.TaskGroupQuoteClientReq} request
1445
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq} request
1446
1446
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1447
1447
  *
1448
1448
  * @throws {@link Chrt.UnprocessableEntityError}
1449
1449
  *
1450
1450
  * @example
1451
- * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {})
1451
+ * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
1452
+ * driver_id: "driver_id"
1453
+ * })
1452
1454
  */
1453
1455
  quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
1454
1456
  return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayDriverV1(taskGroupId, request, requestOptions));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * driver_id: "driver_id"
8
+ * }
9
+ */
10
+ export interface TaskGroupQuoteForProviderPayDriverClientReq {
11
+ rate_sheet_id?: string | null;
12
+ driver_id: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface TaskGroupQuoteForProviderPayProviderClientReq {
9
+ rate_sheet_id?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ executor_org_id?: string | null;
12
+ off_chrt_executor_org_id?: string | null;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface TaskGroupQuoteForShipperPayProviderClientReq {
9
+ rate_sheet_id?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ shipper_org_id?: string | null;
12
+ off_chrt_shipper_org_id?: string | null;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,3 +2,6 @@ export { type SetTaskOrderingReq } from "./SetTaskOrderingReq.js";
2
2
  export { type UpdateDriverReq } from "./UpdateDriverReq.js";
3
3
  export { type AddExecutorReq } from "./AddExecutorReq.js";
4
4
  export { type AddMessageReq } from "./AddMessageReq.js";
5
+ export { type TaskGroupQuoteForShipperPayProviderClientReq } from "./TaskGroupQuoteForShipperPayProviderClientReq.js";
6
+ export { type TaskGroupQuoteForProviderPayProviderClientReq } from "./TaskGroupQuoteForProviderPayProviderClientReq.js";
7
+ export { type TaskGroupQuoteForProviderPayDriverClientReq } from "./TaskGroupQuoteForProviderPayDriverClientReq.js";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ListingForBidder1 {
6
+ listing: Chrt.ListingLimitedForBidder1;
7
+ task_group: Chrt.ListingTaskGroupForBidder1;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ListingForBidderListRes {
6
- items: Chrt.ListingLimitedForBidder1[];
6
+ items: Chrt.ListingForBidder1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ListingTaskForBidder1 {
6
+ task_id: string;
7
+ action?: ListingTaskForBidder1.Action | null;
8
+ location?: Chrt.LocationFeature | null;
9
+ }
10
+ export declare namespace ListingTaskForBidder1 {
11
+ type Action = Chrt.ChrtGroundProviderTaskActionEnum1 | Chrt.CargoOnFlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ListingTaskGroupForBidder1 {
6
+ mileage_estimated?: number | null;
7
+ tasks?: Chrt.ListingTaskForBidder1[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -147,11 +147,14 @@ export * from "./LineItemStatusEnum.js";
147
147
  export * from "./LineString.js";
148
148
  export * from "./Listing1.js";
149
149
  export * from "./ListingAudienceEnum.js";
150
+ export * from "./ListingForBidder1.js";
150
151
  export * from "./ListingForBidderListRes.js";
151
152
  export * from "./ListingLimitedForBidder1.js";
152
153
  export * from "./ListingListRes.js";
153
154
  export * from "./ListingSortByEnum.js";
154
155
  export * from "./ListingStatusEnum.js";
156
+ export * from "./ListingTaskForBidder1.js";
157
+ export * from "./ListingTaskGroupForBidder1.js";
155
158
  export * from "./ListingTypeEnum.js";
156
159
  export * from "./Geometry.js";
157
160
  export * from "./LocationFeature.js";
@@ -298,7 +301,6 @@ export * from "./TaskGroupExpanded.js";
298
301
  export * from "./TaskGroupExpandedListRes.js";
299
302
  export * from "./TaskGroupManifest1.js";
300
303
  export * from "./TaskGroupMessage1.js";
301
- export * from "./TaskGroupQuoteClientReq.js";
302
304
  export * from "./TaskGroupQuoteResp.js";
303
305
  export * from "./TaskGroupS3ObjectMetadata1.js";
304
306
  export * from "./TaskGroupSortByEnum.js";
@@ -163,11 +163,14 @@ __exportStar(require("./LineItemStatusEnum.js"), exports);
163
163
  __exportStar(require("./LineString.js"), exports);
164
164
  __exportStar(require("./Listing1.js"), exports);
165
165
  __exportStar(require("./ListingAudienceEnum.js"), exports);
166
+ __exportStar(require("./ListingForBidder1.js"), exports);
166
167
  __exportStar(require("./ListingForBidderListRes.js"), exports);
167
168
  __exportStar(require("./ListingLimitedForBidder1.js"), exports);
168
169
  __exportStar(require("./ListingListRes.js"), exports);
169
170
  __exportStar(require("./ListingSortByEnum.js"), exports);
170
171
  __exportStar(require("./ListingStatusEnum.js"), exports);
172
+ __exportStar(require("./ListingTaskForBidder1.js"), exports);
173
+ __exportStar(require("./ListingTaskGroupForBidder1.js"), exports);
171
174
  __exportStar(require("./ListingTypeEnum.js"), exports);
172
175
  __exportStar(require("./Geometry.js"), exports);
173
176
  __exportStar(require("./LocationFeature.js"), exports);
@@ -314,7 +317,6 @@ __exportStar(require("./TaskGroupExpanded.js"), exports);
314
317
  __exportStar(require("./TaskGroupExpandedListRes.js"), exports);
315
318
  __exportStar(require("./TaskGroupManifest1.js"), exports);
316
319
  __exportStar(require("./TaskGroupMessage1.js"), exports);
317
- __exportStar(require("./TaskGroupQuoteClientReq.js"), exports);
318
320
  __exportStar(require("./TaskGroupQuoteResp.js"), exports);
319
321
  __exportStar(require("./TaskGroupS3ObjectMetadata1.js"), exports);
320
322
  __exportStar(require("./TaskGroupSortByEnum.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.654.0";
1
+ export declare const SDK_VERSION = "1.658.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.654.0";
4
+ exports.SDK_VERSION = "1.658.0";
@@ -20,8 +20,8 @@ export class ChrtClient {
20
20
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
23
- "X-Fern-SDK-Version": "1.654.0",
24
- "User-Agent": "@chrt-inc/typescript-sdk/1.654.0",
23
+ "X-Fern-SDK-Version": "1.658.0",
24
+ "User-Agent": "@chrt-inc/typescript-sdk/1.658.0",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -31,7 +31,7 @@ export declare class Listings {
31
31
  protected readonly _options: Listings.Options;
32
32
  constructor(_options?: Listings.Options);
33
33
  /**
34
- * Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
34
+ * Fetches a listing by id in the bidder-facing shape with tasks and mileage. Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidder1)
35
35
  *
36
36
  * @param {string} listingId
37
37
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -41,7 +41,7 @@ export declare class Listings {
41
41
  * @example
42
42
  * await client.listing.listings.byIdV1("listing_id")
43
43
  */
44
- byIdV1(listingId: string, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingLimitedForBidder1>;
44
+ byIdV1(listingId: string, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingForBidder1>;
45
45
  private __byIdV1;
46
46
  /**
47
47
  * Fetches the full listing record (including `internal_notes`). Restricted to the lister org — bidders use `by_id/v1`. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Listing1)
@@ -97,7 +97,7 @@ export declare class Listings {
97
97
  listByOrgV1(request?: Chrt.listing.ListingsListByOrgV1Request, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingListRes>;
98
98
  private __listByOrgV1;
99
99
  /**
100
- * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
100
+ * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
101
101
  *
102
102
  * @param {Chrt.listing.ListingsListForProviderBidderV1Request} request
103
103
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -123,7 +123,7 @@ export declare class Listings {
123
123
  listForProviderBidderV1(request?: Chrt.listing.ListingsListForProviderBidderV1Request, requestOptions?: Listings.RequestOptions): core.HttpResponsePromise<Chrt.ListingForBidderListRes>;
124
124
  private __listForProviderBidderV1;
125
125
  /**
126
- * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
126
+ * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
127
127
  *
128
128
  * @param {Chrt.listing.ListingsListForDriverBidderV1Request} request
129
129
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Listings {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
23
+ * Fetches a listing by id in the bidder-facing shape with tasks and mileage. Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidder1)
24
24
  *
25
25
  * @param {string} listingId
26
26
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -327,7 +327,7 @@ export class Listings {
327
327
  });
328
328
  }
329
329
  /**
330
- * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
330
+ * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
331
331
  *
332
332
  * @param {Chrt.listing.ListingsListForProviderBidderV1Request} request
333
333
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -453,7 +453,7 @@ export class Listings {
453
453
  });
454
454
  }
455
455
  /**
456
- * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
456
+ * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
457
457
  *
458
458
  * @param {Chrt.listing.ListingsListForDriverBidderV1Request} request
459
459
  * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
@@ -329,46 +329,48 @@ export declare class TaskGroups {
329
329
  detachLigFromProviderPayDriverV1(taskGroupId: string, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
330
330
  private __detachLigFromProviderPayDriverV1;
331
331
  /**
332
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
332
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
333
333
  *
334
334
  * @param {string} taskGroupId
335
- * @param {Chrt.TaskGroupQuoteClientReq} request
335
+ * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
336
336
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
337
337
  *
338
338
  * @throws {@link Chrt.UnprocessableEntityError}
339
339
  *
340
340
  * @example
341
- * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {})
341
+ * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id")
342
342
  */
343
- quoteForShipperPayProviderV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
343
+ quoteForShipperPayProviderV1(taskGroupId: string, request?: Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
344
344
  private __quoteForShipperPayProviderV1;
345
345
  /**
346
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
346
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
347
347
  *
348
348
  * @param {string} taskGroupId
349
- * @param {Chrt.TaskGroupQuoteClientReq} request
349
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq} request
350
350
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
351
351
  *
352
352
  * @throws {@link Chrt.UnprocessableEntityError}
353
353
  *
354
354
  * @example
355
- * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {})
355
+ * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id")
356
356
  */
357
- quoteForProviderPayProviderV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
357
+ quoteForProviderPayProviderV1(taskGroupId: string, request?: Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
358
358
  private __quoteForProviderPayProviderV1;
359
359
  /**
360
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
360
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
361
361
  *
362
362
  * @param {string} taskGroupId
363
- * @param {Chrt.TaskGroupQuoteClientReq} request
363
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq} request
364
364
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
365
365
  *
366
366
  * @throws {@link Chrt.UnprocessableEntityError}
367
367
  *
368
368
  * @example
369
- * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {})
369
+ * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
370
+ * driver_id: "driver_id"
371
+ * })
370
372
  */
371
- quoteForProviderPayDriverV1(taskGroupId: string, request: Chrt.TaskGroupQuoteClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
373
+ quoteForProviderPayDriverV1(taskGroupId: string, request: Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupQuoteResp>;
372
374
  private __quoteForProviderPayDriverV1;
373
375
  protected _getAuthorizationHeader(): Promise<string | undefined>;
374
376
  }
@@ -1277,22 +1277,22 @@ export class TaskGroups {
1277
1277
  });
1278
1278
  }
1279
1279
  /**
1280
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1280
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
1281
1281
  *
1282
1282
  * @param {string} taskGroupId
1283
- * @param {Chrt.TaskGroupQuoteClientReq} request
1283
+ * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
1284
1284
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1285
1285
  *
1286
1286
  * @throws {@link Chrt.UnprocessableEntityError}
1287
1287
  *
1288
1288
  * @example
1289
- * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {})
1289
+ * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id")
1290
1290
  */
1291
- quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
1291
+ quoteForShipperPayProviderV1(taskGroupId, request = {}, requestOptions) {
1292
1292
  return core.HttpResponsePromise.fromPromise(this.__quoteForShipperPayProviderV1(taskGroupId, request, requestOptions));
1293
1293
  }
1294
- __quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
1295
- return __awaiter(this, void 0, void 0, function* () {
1294
+ __quoteForShipperPayProviderV1(taskGroupId_1) {
1295
+ return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1296
1296
  var _a, _b, _c, _d;
1297
1297
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1298
1298
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
@@ -1340,22 +1340,22 @@ export class TaskGroups {
1340
1340
  });
1341
1341
  }
1342
1342
  /**
1343
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1343
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
1344
1344
  *
1345
1345
  * @param {string} taskGroupId
1346
- * @param {Chrt.TaskGroupQuoteClientReq} request
1346
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq} request
1347
1347
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1348
1348
  *
1349
1349
  * @throws {@link Chrt.UnprocessableEntityError}
1350
1350
  *
1351
1351
  * @example
1352
- * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {})
1352
+ * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id")
1353
1353
  */
1354
- quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
1354
+ quoteForProviderPayProviderV1(taskGroupId, request = {}, requestOptions) {
1355
1355
  return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayProviderV1(taskGroupId, request, requestOptions));
1356
1356
  }
1357
- __quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
1358
- return __awaiter(this, void 0, void 0, function* () {
1357
+ __quoteForProviderPayProviderV1(taskGroupId_1) {
1358
+ return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1359
1359
  var _a, _b, _c, _d;
1360
1360
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1361
1361
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
@@ -1403,16 +1403,18 @@ export class TaskGroups {
1403
1403
  });
1404
1404
  }
1405
1405
  /**
1406
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
1406
+ * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
1407
1407
  *
1408
1408
  * @param {string} taskGroupId
1409
- * @param {Chrt.TaskGroupQuoteClientReq} request
1409
+ * @param {Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq} request
1410
1410
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1411
1411
  *
1412
1412
  * @throws {@link Chrt.UnprocessableEntityError}
1413
1413
  *
1414
1414
  * @example
1415
- * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {})
1415
+ * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
1416
+ * driver_id: "driver_id"
1417
+ * })
1416
1418
  */
1417
1419
  quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
1418
1420
  return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayDriverV1(taskGroupId, request, requestOptions));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * driver_id: "driver_id"
8
+ * }
9
+ */
10
+ export interface TaskGroupQuoteForProviderPayDriverClientReq {
11
+ rate_sheet_id?: string | null;
12
+ driver_id: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface TaskGroupQuoteForProviderPayProviderClientReq {
9
+ rate_sheet_id?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ executor_org_id?: string | null;
12
+ off_chrt_executor_org_id?: string | null;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface TaskGroupQuoteForShipperPayProviderClientReq {
9
+ rate_sheet_id?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ shipper_org_id?: string | null;
12
+ off_chrt_shipper_org_id?: string | null;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -2,3 +2,6 @@ export { type SetTaskOrderingReq } from "./SetTaskOrderingReq.mjs";
2
2
  export { type UpdateDriverReq } from "./UpdateDriverReq.mjs";
3
3
  export { type AddExecutorReq } from "./AddExecutorReq.mjs";
4
4
  export { type AddMessageReq } from "./AddMessageReq.mjs";
5
+ export { type TaskGroupQuoteForShipperPayProviderClientReq } from "./TaskGroupQuoteForShipperPayProviderClientReq.mjs";
6
+ export { type TaskGroupQuoteForProviderPayProviderClientReq } from "./TaskGroupQuoteForProviderPayProviderClientReq.mjs";
7
+ export { type TaskGroupQuoteForProviderPayDriverClientReq } from "./TaskGroupQuoteForProviderPayDriverClientReq.mjs";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface ListingForBidder1 {
6
+ listing: Chrt.ListingLimitedForBidder1;
7
+ task_group: Chrt.ListingTaskGroupForBidder1;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface ListingForBidderListRes {
6
- items: Chrt.ListingLimitedForBidder1[];
6
+ items: Chrt.ListingForBidder1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface ListingTaskForBidder1 {
6
+ task_id: string;
7
+ action?: ListingTaskForBidder1.Action | null;
8
+ location?: Chrt.LocationFeature | null;
9
+ }
10
+ export declare namespace ListingTaskForBidder1 {
11
+ type Action = Chrt.ChrtGroundProviderTaskActionEnum1 | Chrt.CargoOnFlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface ListingTaskGroupForBidder1 {
6
+ mileage_estimated?: number | null;
7
+ tasks?: Chrt.ListingTaskForBidder1[];
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -147,11 +147,14 @@ export * from "./LineItemStatusEnum.mjs";
147
147
  export * from "./LineString.mjs";
148
148
  export * from "./Listing1.mjs";
149
149
  export * from "./ListingAudienceEnum.mjs";
150
+ export * from "./ListingForBidder1.mjs";
150
151
  export * from "./ListingForBidderListRes.mjs";
151
152
  export * from "./ListingLimitedForBidder1.mjs";
152
153
  export * from "./ListingListRes.mjs";
153
154
  export * from "./ListingSortByEnum.mjs";
154
155
  export * from "./ListingStatusEnum.mjs";
156
+ export * from "./ListingTaskForBidder1.mjs";
157
+ export * from "./ListingTaskGroupForBidder1.mjs";
155
158
  export * from "./ListingTypeEnum.mjs";
156
159
  export * from "./Geometry.mjs";
157
160
  export * from "./LocationFeature.mjs";
@@ -298,7 +301,6 @@ export * from "./TaskGroupExpanded.mjs";
298
301
  export * from "./TaskGroupExpandedListRes.mjs";
299
302
  export * from "./TaskGroupManifest1.mjs";
300
303
  export * from "./TaskGroupMessage1.mjs";
301
- export * from "./TaskGroupQuoteClientReq.mjs";
302
304
  export * from "./TaskGroupQuoteResp.mjs";
303
305
  export * from "./TaskGroupS3ObjectMetadata1.mjs";
304
306
  export * from "./TaskGroupSortByEnum.mjs";
@@ -147,11 +147,14 @@ export * from "./LineItemStatusEnum.mjs";
147
147
  export * from "./LineString.mjs";
148
148
  export * from "./Listing1.mjs";
149
149
  export * from "./ListingAudienceEnum.mjs";
150
+ export * from "./ListingForBidder1.mjs";
150
151
  export * from "./ListingForBidderListRes.mjs";
151
152
  export * from "./ListingLimitedForBidder1.mjs";
152
153
  export * from "./ListingListRes.mjs";
153
154
  export * from "./ListingSortByEnum.mjs";
154
155
  export * from "./ListingStatusEnum.mjs";
156
+ export * from "./ListingTaskForBidder1.mjs";
157
+ export * from "./ListingTaskGroupForBidder1.mjs";
155
158
  export * from "./ListingTypeEnum.mjs";
156
159
  export * from "./Geometry.mjs";
157
160
  export * from "./LocationFeature.mjs";
@@ -298,7 +301,6 @@ export * from "./TaskGroupExpanded.mjs";
298
301
  export * from "./TaskGroupExpandedListRes.mjs";
299
302
  export * from "./TaskGroupManifest1.mjs";
300
303
  export * from "./TaskGroupMessage1.mjs";
301
- export * from "./TaskGroupQuoteClientReq.mjs";
302
304
  export * from "./TaskGroupQuoteResp.mjs";
303
305
  export * from "./TaskGroupS3ObjectMetadata1.mjs";
304
306
  export * from "./TaskGroupSortByEnum.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.654.0";
1
+ export declare const SDK_VERSION = "1.658.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.654.0";
1
+ export const SDK_VERSION = "1.658.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.654.0",
3
+ "version": "1.658.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -6429,7 +6429,7 @@ await client.integrations.webcargoEmbed.getEmbedV1("task_group_id", {
6429
6429
 
6430
6430
  ## Listing Listings
6431
6431
 
6432
- <details><summary><code>client.listing.listings.<a href="/src/api/resources/listing/resources/listings/client/Client.ts">byIdV1</a>(listingId) -> Chrt.ListingLimitedForBidder1</code></summary>
6432
+ <details><summary><code>client.listing.listings.<a href="/src/api/resources/listing/resources/listings/client/Client.ts">byIdV1</a>(listingId) -> Chrt.ListingForBidder1</code></summary>
6433
6433
  <dl>
6434
6434
  <dd>
6435
6435
 
@@ -6441,7 +6441,7 @@ await client.integrations.webcargoEmbed.getEmbedV1("task_group_id", {
6441
6441
  <dl>
6442
6442
  <dd>
6443
6443
 
6444
- Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
6444
+ Fetches a listing by id in the bidder-facing shape with tasks and mileage. Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidder1)
6445
6445
 
6446
6446
  </dd>
6447
6447
  </dl>
@@ -6707,7 +6707,7 @@ await client.listing.listings.listByOrgV1({
6707
6707
  <dl>
6708
6708
  <dd>
6709
6709
 
6710
- Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
6710
+ Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
6711
6711
 
6712
6712
  </dd>
6713
6713
  </dl>
@@ -6783,7 +6783,7 @@ await client.listing.listings.listForProviderBidderV1({
6783
6783
  <dl>
6784
6784
  <dd>
6785
6785
 
6786
- Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
6786
+ Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape with tasks and mileage (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
6787
6787
 
6788
6788
  </dd>
6789
6789
  </dl>
@@ -17207,7 +17207,7 @@ await client.shipping.taskGroups.detachLigFromProviderPayDriverV1("task_group_id
17207
17207
  <dl>
17208
17208
  <dd>
17209
17209
 
17210
- Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
17210
+ Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
17211
17211
 
17212
17212
  </dd>
17213
17213
  </dl>
@@ -17223,7 +17223,7 @@ Preview the LineItem materialization that would result from applying a rate shee
17223
17223
  <dd>
17224
17224
 
17225
17225
  ```typescript
17226
- await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {});
17226
+ await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id");
17227
17227
  ```
17228
17228
 
17229
17229
  </dd>
@@ -17247,7 +17247,7 @@ await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {
17247
17247
  <dl>
17248
17248
  <dd>
17249
17249
 
17250
- **request:** `Chrt.TaskGroupQuoteClientReq`
17250
+ **request:** `Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq`
17251
17251
 
17252
17252
  </dd>
17253
17253
  </dl>
@@ -17278,7 +17278,7 @@ await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {
17278
17278
  <dl>
17279
17279
  <dd>
17280
17280
 
17281
- Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
17281
+ Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
17282
17282
 
17283
17283
  </dd>
17284
17284
  </dl>
@@ -17294,7 +17294,7 @@ Preview the LineItem materialization that would result from applying a rate shee
17294
17294
  <dd>
17295
17295
 
17296
17296
  ```typescript
17297
- await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {});
17297
+ await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id");
17298
17298
  ```
17299
17299
 
17300
17300
  </dd>
@@ -17318,7 +17318,7 @@ await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id",
17318
17318
  <dl>
17319
17319
  <dd>
17320
17320
 
17321
- **request:** `Chrt.TaskGroupQuoteClientReq`
17321
+ **request:** `Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq`
17322
17322
 
17323
17323
  </dd>
17324
17324
  </dl>
@@ -17349,7 +17349,7 @@ await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id",
17349
17349
  <dl>
17350
17350
  <dd>
17351
17351
 
17352
- Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
17352
+ Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
17353
17353
 
17354
17354
  </dd>
17355
17355
  </dl>
@@ -17365,7 +17365,9 @@ Preview the LineItem materialization that would result from applying a rate shee
17365
17365
  <dd>
17366
17366
 
17367
17367
  ```typescript
17368
- await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {});
17368
+ await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
17369
+ driver_id: "driver_id",
17370
+ });
17369
17371
  ```
17370
17372
 
17371
17373
  </dd>
@@ -17389,7 +17391,7 @@ await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {}
17389
17391
  <dl>
17390
17392
  <dd>
17391
17393
 
17392
- **request:** `Chrt.TaskGroupQuoteClientReq`
17394
+ **request:** `Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq`
17393
17395
 
17394
17396
  </dd>
17395
17397
  </dl>
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TaskGroupQuoteClientReq {
5
- rate_sheet_id?: string | null;
6
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TaskGroupQuoteClientReq {
5
- rate_sheet_id?: string | null;
6
- }