@chrt-inc/typescript-sdk 1.639.0 → 1.641.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 (164) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +0 -1
  3. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +0 -1
  4. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +0 -1
  5. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +0 -1
  6. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +0 -1
  7. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +0 -1
  8. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +0 -1
  9. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +0 -1
  10. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +0 -1
  11. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +0 -2
  12. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +0 -2
  13. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +0 -1
  14. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +0 -1
  15. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +0 -2
  16. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +0 -2
  17. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +0 -1
  18. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +0 -1
  19. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +0 -6
  20. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +0 -6
  21. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +0 -2
  22. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +0 -2
  23. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +0 -2
  24. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +0 -2
  25. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +0 -2
  26. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +0 -2
  27. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -2
  28. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -2
  29. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +1 -2
  30. package/dist/cjs/api/resources/orgs/client/Client.d.ts +0 -1
  31. package/dist/cjs/api/resources/orgs/client/Client.js +0 -1
  32. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +0 -1
  33. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
  34. package/dist/cjs/api/resources/shipping/client/Client.js +9 -4
  35. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +0 -1
  36. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +0 -1
  37. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +0 -1
  38. package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -0
  39. package/dist/cjs/api/resources/shipping/resources/index.js +3 -1
  40. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +112 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +429 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.d.ts +2 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.js +17 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.d.ts +12 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.d.ts +12 -0
  46. package/dist/cjs/api/resources/{utils/resources/dev/client/requests/AgentReq.d.ts → shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.d.ts} +2 -2
  47. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.d.ts +3 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.js +2 -0
  49. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.js +17 -0
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +0 -2
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +0 -2
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +0 -1
  54. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +0 -1
  55. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +0 -2
  56. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +0 -2
  57. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +0 -1
  58. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +0 -1
  59. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +12 -12
  60. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +20 -20
  61. package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.ts +12 -0
  62. package/dist/cjs/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.ts → ScheduledPingReq.d.ts} +3 -5
  63. package/dist/cjs/api/resources/utils/resources/dev/client/requests/ScheduledPingReq.js +5 -0
  64. package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +2 -2
  65. package/dist/cjs/api/types/OrderScheduleRoundTripModelTestRes.d.ts +11 -0
  66. package/dist/cjs/api/types/OrderScheduleRoundTripModelTestRes.js +5 -0
  67. package/dist/cjs/api/types/OrderScheduleStub.d.ts +7 -0
  68. package/dist/cjs/api/types/OrderScheduleStub.js +5 -0
  69. package/dist/cjs/api/types/PingOpenAiRes.d.ts +6 -0
  70. package/dist/cjs/api/types/PingOpenAiRes.js +5 -0
  71. package/dist/cjs/api/types/{ScheduledHelloPocRes.d.ts → ScheduledPingRes.d.ts} +3 -3
  72. package/dist/cjs/api/types/ScheduledPingRes.js +5 -0
  73. package/dist/cjs/api/types/index.d.ts +4 -2
  74. package/dist/cjs/api/types/index.js +4 -2
  75. package/dist/cjs/version.d.ts +1 -1
  76. package/dist/cjs/version.js +1 -1
  77. package/dist/esm/Client.mjs +2 -2
  78. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +0 -1
  79. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +0 -1
  80. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +0 -1
  81. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +0 -1
  82. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +0 -1
  83. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +0 -1
  84. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +0 -1
  85. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +0 -1
  86. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +0 -1
  87. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +0 -2
  88. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +0 -2
  89. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +0 -1
  90. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +0 -1
  91. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +0 -2
  92. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +0 -2
  93. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +0 -1
  94. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +0 -1
  95. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +0 -6
  96. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +0 -6
  97. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +0 -2
  98. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +0 -2
  99. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +0 -2
  100. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +0 -2
  101. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +0 -2
  102. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +0 -2
  103. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -2
  104. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -2
  105. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +1 -2
  106. package/dist/esm/api/resources/orgs/client/Client.d.mts +0 -1
  107. package/dist/esm/api/resources/orgs/client/Client.mjs +0 -1
  108. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +0 -1
  109. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
  110. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
  111. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +0 -1
  112. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +0 -1
  113. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +0 -1
  114. package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -0
  115. package/dist/esm/api/resources/shipping/resources/index.mjs +2 -0
  116. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +112 -0
  117. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +392 -0
  118. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.d.mts +2 -0
  119. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.mjs +1 -0
  120. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.d.mts +12 -0
  121. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.d.mts +12 -0
  122. package/dist/esm/api/resources/{utils/resources/dev/client/requests/AgentReq.d.mts → shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.d.mts} +2 -2
  123. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.mjs +1 -0
  125. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.d.mts +1 -0
  126. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.mjs +1 -0
  127. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +0 -2
  128. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +0 -2
  129. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +0 -1
  130. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +0 -1
  131. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +0 -2
  132. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +0 -2
  133. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +0 -1
  134. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +0 -1
  135. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +12 -12
  136. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +20 -20
  137. package/dist/esm/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.mts +12 -0
  138. package/dist/esm/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.mts → ScheduledPingReq.d.mts} +3 -5
  139. package/dist/esm/api/resources/utils/resources/dev/client/requests/ScheduledPingReq.mjs +4 -0
  140. package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +2 -2
  141. package/dist/esm/api/types/OrderScheduleRoundTripModelTestRes.d.mts +11 -0
  142. package/dist/esm/api/types/OrderScheduleRoundTripModelTestRes.mjs +4 -0
  143. package/dist/esm/api/types/OrderScheduleStub.d.mts +7 -0
  144. package/dist/esm/api/types/OrderScheduleStub.mjs +4 -0
  145. package/dist/esm/api/types/PingOpenAiRes.d.mts +6 -0
  146. package/dist/esm/api/types/PingOpenAiRes.mjs +4 -0
  147. package/dist/esm/api/types/{ScheduledHelloPocRes.d.mts → ScheduledPingRes.d.mts} +3 -3
  148. package/dist/esm/api/types/ScheduledPingRes.mjs +4 -0
  149. package/dist/esm/api/types/index.d.mts +4 -2
  150. package/dist/esm/api/types/index.mjs +4 -2
  151. package/dist/esm/version.d.mts +1 -1
  152. package/dist/esm/version.mjs +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +392 -32
  155. package/dist/cjs/api/types/AgentRes.d.ts +0 -8
  156. package/dist/esm/api/types/AgentRes.d.mts +0 -8
  157. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/AgentReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.js} +0 -0
  158. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.js} +0 -0
  159. /package/dist/cjs/api/{types/AgentRes.js → resources/shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.js} +0 -0
  160. /package/dist/cjs/api/{types/ScheduledHelloPocRes.js → resources/utils/resources/dev/client/requests/PingOpenAiReq.js} +0 -0
  161. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/AgentReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.mjs} +0 -0
  162. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.mjs} +0 -0
  163. /package/dist/esm/api/{types/AgentRes.mjs → resources/shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.mjs} +0 -0
  164. /package/dist/esm/api/{types/ScheduledHelloPocRes.mjs → resources/utils/resources/dev/client/requests/PingOpenAiReq.mjs} +0 -0
@@ -20,27 +20,25 @@ export class Dev {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Creates or updates a Temporal Schedule that runs the scheduled hello workflow for a driver. | authz: min_org_role=administrator | (ScheduledHelloPocReq) -> (ScheduledHelloPocRes)
23
+ * Creates or updates a Temporal Schedule that runs the scheduled ping workflow for developer diagnostics. | authz: min_org_role=administrator | (ScheduledPingReq) -> (ScheduledPingRes)
24
24
  *
25
- * @param {Chrt.utils.ScheduledHelloPocReq} request
25
+ * @param {Chrt.utils.ScheduledPingReq} request
26
26
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @throws {@link Chrt.UnprocessableEntityError}
29
29
  *
30
30
  * @example
31
- * await client.utils.dev.postAgentScheduledHelloPocV1({
32
- * driver_name: "driver_name"
33
- * })
31
+ * await client.utils.dev.postAgentPingScheduleV1()
34
32
  */
35
- postAgentScheduledHelloPocV1(request, requestOptions) {
36
- return core.HttpResponsePromise.fromPromise(this.__postAgentScheduledHelloPocV1(request, requestOptions));
33
+ postAgentPingScheduleV1(request = {}, requestOptions) {
34
+ return core.HttpResponsePromise.fromPromise(this.__postAgentPingScheduleV1(request, requestOptions));
37
35
  }
38
- __postAgentScheduledHelloPocV1(request, requestOptions) {
39
- return __awaiter(this, void 0, void 0, function* () {
36
+ __postAgentPingScheduleV1() {
37
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
40
38
  var _a, _b, _c, _d;
41
39
  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);
42
40
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
43
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/scheduled-hello-poc/v1"),
41
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/ping-schedule/v1"),
44
42
  method: "POST",
45
43
  headers: _headers,
46
44
  contentType: "application/json",
@@ -74,7 +72,7 @@ export class Dev {
74
72
  rawResponse: _response.rawResponse,
75
73
  });
76
74
  case "timeout":
77
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/scheduled-hello-poc/v1.");
75
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/ping-schedule/v1.");
78
76
  case "unknown":
79
77
  throw new errors.ChrtError({
80
78
  message: _response.error.errorMessage,
@@ -84,25 +82,27 @@ export class Dev {
84
82
  });
85
83
  }
86
84
  /**
87
- * Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
85
+ * Runs a minimal Temporal workflow that sends a prompt to OpenAI and returns the response. | (PingOpenAIReq) -> (PingOpenAIRes)
88
86
  *
89
- * @param {Chrt.utils.AgentReq} request
87
+ * @param {Chrt.utils.PingOpenAiReq} request
90
88
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
91
89
  *
92
90
  * @throws {@link Chrt.UnprocessableEntityError}
93
91
  *
94
92
  * @example
95
- * await client.utils.dev.postAgentV1()
93
+ * await client.utils.dev.postAgentOpenaiPingV1({
94
+ * prompt: "prompt"
95
+ * })
96
96
  */
97
- postAgentV1(request = {}, requestOptions) {
98
- return core.HttpResponsePromise.fromPromise(this.__postAgentV1(request, requestOptions));
97
+ postAgentOpenaiPingV1(request, requestOptions) {
98
+ return core.HttpResponsePromise.fromPromise(this.__postAgentOpenaiPingV1(request, requestOptions));
99
99
  }
100
- __postAgentV1() {
101
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
100
+ __postAgentOpenaiPingV1(request, requestOptions) {
101
+ return __awaiter(this, void 0, void 0, function* () {
102
102
  var _a, _b, _c, _d;
103
103
  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);
104
104
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
105
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/v1"),
105
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/openai/ping/v1"),
106
106
  method: "POST",
107
107
  headers: _headers,
108
108
  contentType: "application/json",
@@ -136,7 +136,7 @@ export class Dev {
136
136
  rawResponse: _response.rawResponse,
137
137
  });
138
138
  case "timeout":
139
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/v1.");
139
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/openai/ping/v1.");
140
140
  case "unknown":
141
141
  throw new errors.ChrtError({
142
142
  message: _response.error.errorMessage,
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * prompt: "prompt"
8
+ * }
9
+ */
10
+ export interface PingOpenAiReq {
11
+ prompt: string;
12
+ }
@@ -4,12 +4,10 @@
4
4
  import * as Chrt from "../../../../../../index.mjs";
5
5
  /**
6
6
  * @example
7
- * {
8
- * driver_name: "driver_name"
9
- * }
7
+ * {}
10
8
  */
11
- export interface ScheduledHelloPocReq {
12
- driver_name: string;
9
+ export interface ScheduledPingReq {
10
+ message?: string;
13
11
  schedule_spec?: Chrt.ScheduleSpec;
14
12
  catchup_window_seconds?: number;
15
13
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,5 +1,5 @@
1
- export { type ScheduledHelloPocReq } from "./ScheduledHelloPocReq.mjs";
2
- export { type AgentReq } from "./AgentReq.mjs";
1
+ export { type ScheduledPingReq } from "./ScheduledPingReq.mjs";
2
+ export { type PingOpenAiReq } from "./PingOpenAiReq.mjs";
3
3
  export { type PingReq } from "./PingReq.mjs";
4
4
  export { type ReadOrderAgentReq } from "./ReadOrderAgentReq.mjs";
5
5
  export { type TemplateReq } from "./TemplateReq.mjs";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderScheduleRoundTripModelTestRes {
6
+ schedule_calendar_spec?: Chrt.ScheduleCalendarSpec | null;
7
+ schedule_interval_spec?: Chrt.ScheduleIntervalSpec | null;
8
+ executed_at_timestamp: string;
9
+ /** Must be a string starting with `user_` */
10
+ caller_user_id: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderScheduleStub {
5
+ id: string;
6
+ name: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PingOpenAiRes {
5
+ response: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface ScheduledHelloPocRes {
5
+ export interface ScheduledPingRes {
6
6
  schedule_id: string;
7
- order_id: string;
8
- driver_name: string;
7
+ ping_id: string;
8
+ message: string;
9
9
  workflow_name: string;
10
10
  workflow_id: string;
11
11
  task_queue: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,4 +1,3 @@
1
- export * from "./AgentRes.mjs";
2
1
  export * from "./AnalyticsTimeBucketResponse.mjs";
3
2
  export * from "./AttachBillingLedgerPeriodReq.mjs";
4
3
  export * from "./AttachLigToVectorClientReq.mjs";
@@ -188,6 +187,8 @@ export * from "./OrderDraftSortByEnum.mjs";
188
187
  export * from "./OrderDraftValidationIssue.mjs";
189
188
  export * from "./OrderDraftValidationResult.mjs";
190
189
  export * from "./OrderExpanded.mjs";
190
+ export * from "./OrderScheduleRoundTripModelTestRes.mjs";
191
+ export * from "./OrderScheduleStub.mjs";
191
192
  export * from "./OrderSortByEnum.mjs";
192
193
  export * from "./OrderStatusEnum1.mjs";
193
194
  export * from "./OrderTypeaheadFieldEnum.mjs";
@@ -210,6 +211,7 @@ export * from "./OrgPublicData1.mjs";
210
211
  export * from "./OrgRoleEnum.mjs";
211
212
  export * from "./OrgTypeEnum.mjs";
212
213
  export * from "./OutlierLabellerEnum.mjs";
214
+ export * from "./PingOpenAiRes.mjs";
213
215
  export * from "./PingRes.mjs";
214
216
  export * from "./PlatformEnum.mjs";
215
217
  export * from "./Point.mjs";
@@ -230,7 +232,7 @@ export * from "./ScheduleCalendarSpec.mjs";
230
232
  export * from "./ScheduleIntervalSpec.mjs";
231
233
  export * from "./ScheduleRange.mjs";
232
234
  export * from "./ScheduleSpec.mjs";
233
- export * from "./ScheduledHelloPocRes.mjs";
235
+ export * from "./ScheduledPingRes.mjs";
234
236
  export * from "./Session1.mjs";
235
237
  export * from "./SessionByDeviceDataPoint1.mjs";
236
238
  export * from "./SessionByDeviceDataPointMetadata1.mjs";
@@ -1,4 +1,3 @@
1
- export * from "./AgentRes.mjs";
2
1
  export * from "./AnalyticsTimeBucketResponse.mjs";
3
2
  export * from "./AttachBillingLedgerPeriodReq.mjs";
4
3
  export * from "./AttachLigToVectorClientReq.mjs";
@@ -188,6 +187,8 @@ export * from "./OrderDraftSortByEnum.mjs";
188
187
  export * from "./OrderDraftValidationIssue.mjs";
189
188
  export * from "./OrderDraftValidationResult.mjs";
190
189
  export * from "./OrderExpanded.mjs";
190
+ export * from "./OrderScheduleRoundTripModelTestRes.mjs";
191
+ export * from "./OrderScheduleStub.mjs";
191
192
  export * from "./OrderSortByEnum.mjs";
192
193
  export * from "./OrderStatusEnum1.mjs";
193
194
  export * from "./OrderTypeaheadFieldEnum.mjs";
@@ -210,6 +211,7 @@ export * from "./OrgPublicData1.mjs";
210
211
  export * from "./OrgRoleEnum.mjs";
211
212
  export * from "./OrgTypeEnum.mjs";
212
213
  export * from "./OutlierLabellerEnum.mjs";
214
+ export * from "./PingOpenAiRes.mjs";
213
215
  export * from "./PingRes.mjs";
214
216
  export * from "./PlatformEnum.mjs";
215
217
  export * from "./Point.mjs";
@@ -230,7 +232,7 @@ export * from "./ScheduleCalendarSpec.mjs";
230
232
  export * from "./ScheduleIntervalSpec.mjs";
231
233
  export * from "./ScheduleRange.mjs";
232
234
  export * from "./ScheduleSpec.mjs";
233
- export * from "./ScheduledHelloPocRes.mjs";
235
+ export * from "./ScheduledPingRes.mjs";
234
236
  export * from "./Session1.mjs";
235
237
  export * from "./SessionByDeviceDataPoint1.mjs";
236
238
  export * from "./SessionByDeviceDataPointMetadata1.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.639.0";
1
+ export declare const SDK_VERSION = "1.641.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.639.0";
1
+ export const SDK_VERSION = "1.641.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.639.0",
3
+ "version": "1.641.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",