@kombo-api/sdk 1.0.2 → 1.0.4

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 (137) hide show
  1. package/README.md +2 -2
  2. package/esm/funcs/{assessmentGetOpenOrders.d.ts → assessmentGetAssessmentOrders.d.ts} +4 -4
  3. package/esm/funcs/assessmentGetAssessmentOrders.d.ts.map +1 -0
  4. package/esm/funcs/{assessmentGetOpenOrders.js → assessmentGetAssessmentOrders.js} +16 -12
  5. package/esm/funcs/assessmentGetAssessmentOrders.js.map +1 -0
  6. package/esm/funcs/generalSendPassthroughRequest.d.ts +4 -2
  7. package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
  8. package/esm/funcs/generalSendPassthroughRequest.js +4 -2
  9. package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
  10. package/esm/lib/config.d.ts +3 -3
  11. package/esm/lib/config.js +3 -3
  12. package/esm/lib/config.js.map +1 -1
  13. package/esm/lib/security.d.ts +1 -1
  14. package/esm/lib/security.d.ts.map +1 -1
  15. package/esm/lib/security.js +19 -8
  16. package/esm/lib/security.js.map +1 -1
  17. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +37 -27
  18. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  19. package/esm/models/assessmentorderreceivedwebhookpayload.js +28 -24
  20. package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
  21. package/esm/models/deletehrisabsencesabsenceidpositiveresponse.d.ts +8 -0
  22. package/esm/models/deletehrisabsencesabsenceidpositiveresponse.d.ts.map +1 -1
  23. package/esm/models/deletehrisabsencesabsenceidpositiveresponse.js +2 -0
  24. package/esm/models/deletehrisabsencesabsenceidpositiveresponse.js.map +1 -1
  25. package/esm/models/getassessmentorderspositiveresponse.d.ts +197 -0
  26. package/esm/models/getassessmentorderspositiveresponse.d.ts.map +1 -0
  27. package/esm/models/getassessmentorderspositiveresponse.js +110 -0
  28. package/esm/models/getassessmentorderspositiveresponse.js.map +1 -0
  29. package/esm/models/gethrisabsencespositiveresponse.d.ts +8 -0
  30. package/esm/models/gethrisabsencespositiveresponse.d.ts.map +1 -1
  31. package/esm/models/gethrisabsencespositiveresponse.js +2 -0
  32. package/esm/models/gethrisabsencespositiveresponse.js.map +1 -1
  33. package/esm/models/index.d.ts +1 -1
  34. package/esm/models/index.d.ts.map +1 -1
  35. package/esm/models/index.js +1 -1
  36. package/esm/models/index.js.map +1 -1
  37. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +37 -27
  38. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  39. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +28 -24
  40. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
  41. package/esm/models/operations/getassessmentorders.d.ts +50 -0
  42. package/esm/models/operations/getassessmentorders.d.ts.map +1 -0
  43. package/esm/models/operations/getassessmentorders.js +30 -0
  44. package/esm/models/operations/getassessmentorders.js.map +1 -0
  45. package/esm/models/operations/getatsapplications.d.ts +11 -7
  46. package/esm/models/operations/getatsapplications.d.ts.map +1 -1
  47. package/esm/models/operations/getatsapplications.js.map +1 -1
  48. package/esm/models/operations/getatscandidates.d.ts +9 -6
  49. package/esm/models/operations/getatscandidates.d.ts.map +1 -1
  50. package/esm/models/operations/getatscandidates.js.map +1 -1
  51. package/esm/models/operations/getatsinterviews.d.ts +9 -6
  52. package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
  53. package/esm/models/operations/getatsinterviews.js.map +1 -1
  54. package/esm/models/operations/getatsjobs.d.ts +9 -9
  55. package/esm/models/operations/getatsoffers.d.ts +8 -4
  56. package/esm/models/operations/getatsoffers.d.ts.map +1 -1
  57. package/esm/models/operations/getatsoffers.js.map +1 -1
  58. package/esm/models/operations/getatsusers.d.ts +6 -3
  59. package/esm/models/operations/getatsusers.d.ts.map +1 -1
  60. package/esm/models/operations/getatsusers.js.map +1 -1
  61. package/esm/models/operations/gethrisabsences.d.ts +6 -2
  62. package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
  63. package/esm/models/operations/gethrisabsences.js.map +1 -1
  64. package/esm/models/operations/gethrisemployees.d.ts +11 -8
  65. package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
  66. package/esm/models/operations/gethrisemployees.js.map +1 -1
  67. package/esm/models/operations/gethrisperformancereviews.d.ts +8 -4
  68. package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
  69. package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
  70. package/esm/models/operations/gethrisstaffingentities.d.ts +8 -7
  71. package/esm/models/operations/gethrisstaffingentities.d.ts.map +1 -1
  72. package/esm/models/operations/gethrisstaffingentities.js.map +1 -1
  73. package/esm/models/operations/gethristimeoffbalances.d.ts +6 -2
  74. package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
  75. package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
  76. package/esm/models/operations/index.d.ts +1 -1
  77. package/esm/models/operations/index.d.ts.map +1 -1
  78. package/esm/models/operations/index.js +1 -1
  79. package/esm/models/operations/index.js.map +1 -1
  80. package/esm/models/postconnectcreatelinkrequestbody.d.ts +2 -0
  81. package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
  82. package/esm/models/postconnectcreatelinkrequestbody.js +2 -0
  83. package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
  84. package/esm/models/posthrisabsencespositiveresponse.d.ts +8 -0
  85. package/esm/models/posthrisabsencespositiveresponse.d.ts.map +1 -1
  86. package/esm/models/posthrisabsencespositiveresponse.js +2 -0
  87. package/esm/models/posthrisabsencespositiveresponse.js.map +1 -1
  88. package/esm/sdk/assessment.d.ts +3 -3
  89. package/esm/sdk/assessment.d.ts.map +1 -1
  90. package/esm/sdk/assessment.js +5 -5
  91. package/esm/sdk/assessment.js.map +1 -1
  92. package/esm/sdk/general.d.ts +4 -2
  93. package/esm/sdk/general.d.ts.map +1 -1
  94. package/esm/sdk/general.js +4 -2
  95. package/esm/sdk/general.js.map +1 -1
  96. package/jsr.json +1 -1
  97. package/package.json +1 -1
  98. package/src/funcs/{assessmentGetOpenOrders.ts → assessmentGetAssessmentOrders.ts} +27 -20
  99. package/src/funcs/generalSendPassthroughRequest.ts +4 -2
  100. package/src/lib/config.ts +3 -3
  101. package/src/lib/security.ts +14 -2
  102. package/src/models/assessmentorderreceivedwebhookpayload.ts +65 -54
  103. package/src/models/deletehrisabsencesabsenceidpositiveresponse.ts +14 -0
  104. package/src/models/getassessmentorderspositiveresponse.ts +429 -0
  105. package/src/models/gethrisabsencespositiveresponse.ts +14 -0
  106. package/src/models/index.ts +1 -1
  107. package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +65 -57
  108. package/src/models/operations/getassessmentorders.ts +97 -0
  109. package/src/models/operations/getatsapplications.ts +11 -7
  110. package/src/models/operations/getatscandidates.ts +9 -6
  111. package/src/models/operations/getatsinterviews.ts +9 -6
  112. package/src/models/operations/getatsjobs.ts +9 -9
  113. package/src/models/operations/getatsoffers.ts +8 -4
  114. package/src/models/operations/getatsusers.ts +6 -3
  115. package/src/models/operations/gethrisabsences.ts +6 -2
  116. package/src/models/operations/gethrisemployees.ts +11 -8
  117. package/src/models/operations/gethrisperformancereviews.ts +8 -4
  118. package/src/models/operations/gethrisstaffingentities.ts +8 -7
  119. package/src/models/operations/gethristimeoffbalances.ts +6 -2
  120. package/src/models/operations/index.ts +1 -1
  121. package/src/models/postconnectcreatelinkrequestbody.ts +2 -0
  122. package/src/models/posthrisabsencespositiveresponse.ts +14 -0
  123. package/src/sdk/assessment.ts +7 -7
  124. package/src/sdk/general.ts +4 -2
  125. package/tests/error-handling.spec.ts +2 -2
  126. package/esm/funcs/assessmentGetOpenOrders.d.ts.map +0 -1
  127. package/esm/funcs/assessmentGetOpenOrders.js.map +0 -1
  128. package/esm/models/getassessmentordersopenpositiveresponse.d.ts +0 -170
  129. package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +0 -1
  130. package/esm/models/getassessmentordersopenpositiveresponse.js +0 -94
  131. package/esm/models/getassessmentordersopenpositiveresponse.js.map +0 -1
  132. package/esm/models/operations/getassessmentordersopen.d.ts +0 -35
  133. package/esm/models/operations/getassessmentordersopen.d.ts.map +0 -1
  134. package/esm/models/operations/getassessmentordersopen.js +0 -27
  135. package/esm/models/operations/getassessmentordersopen.js.map +0 -1
  136. package/src/models/getassessmentordersopenpositiveresponse.ts +0 -410
  137. package/src/models/operations/getassessmentordersopen.ts +0 -81
@@ -5,7 +5,7 @@
5
5
  export * from "./deleteatscandidatescandidateidtags.js";
6
6
  export * from "./deletehrisabsencesabsenceid.js";
7
7
  export * from "./deleteintegrationsintegrationid.js";
8
- export * from "./getassessmentordersopen.js";
8
+ export * from "./getassessmentorders.js";
9
9
  export * from "./getassessmentpackages.js";
10
10
  export * from "./getatsapplications.js";
11
11
  export * from "./getatsapplicationsapplicationidattachments.js";
@@ -196,6 +196,7 @@ export const IntegrationTool = {
196
196
  Absenceio: "absenceio",
197
197
  A3innuvanomina: "a3innuvanomina",
198
198
  Scim: "scim",
199
+ Datevlauds: "datevlauds",
199
200
  Datevhr: "datevhr",
200
201
  Datev: "datev",
201
202
  Datevlug: "datevlug",
@@ -209,6 +210,7 @@ export const IntegrationTool = {
209
210
  Talentlms: "talentlms",
210
211
  Udemy: "udemy",
211
212
  Linkedinlearning: "linkedinlearning",
213
+ Moodle: "moodle",
212
214
  } as const;
213
215
  /**
214
216
  * Pre-define a tool this integration link can be used for.
@@ -91,6 +91,14 @@ export type PostHrisAbsencesPositiveResponseData = {
91
91
  * The Kombo absence type ID of this absence.
92
92
  */
93
93
  type_id: string | null;
94
+ /**
95
+ * The date and time the object was created in the remote system.
96
+ */
97
+ remote_created_at: Date | null;
98
+ /**
99
+ * A timestamp retrieved from the remote system, describing when the resource was last updated.
100
+ */
101
+ remote_updated_at: Date | null;
94
102
  /**
95
103
  * The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
96
104
  */
@@ -148,6 +156,12 @@ export const PostHrisAbsencesPositiveResponseData$inboundSchema: z.ZodType<
148
156
  .optional(),
149
157
  employee_note: z.nullable(z.string()),
150
158
  type_id: z.nullable(z.string()),
159
+ remote_created_at: z.nullable(
160
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
161
+ ),
162
+ remote_updated_at: z.nullable(
163
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
164
+ ),
151
165
  changed_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
152
166
  remote_deleted_at: z.nullable(
153
167
  z.string().datetime({ offset: true }).transform(v => new Date(v)),
@@ -2,7 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { assessmentGetOpenOrders } from "../funcs/assessmentGetOpenOrders.js";
5
+ import { assessmentGetAssessmentOrders } from "../funcs/assessmentGetAssessmentOrders.js";
6
6
  import { assessmentGetPackages } from "../funcs/assessmentGetPackages.js";
7
7
  import { assessmentSetPackages } from "../funcs/assessmentSetPackages.js";
8
8
  import { assessmentUpdateOrderResult } from "../funcs/assessmentUpdateOrderResult.js";
@@ -75,18 +75,18 @@ export class Assessment extends ClientSDK {
75
75
  }
76
76
 
77
77
  /**
78
- * Get open orders
78
+ * Get orders
79
79
  *
80
80
  * @remarks
81
- * Get all open assessment and background check orders of an integration.
81
+ * Get all assessment and background check orders of an integration.
82
82
  */
83
- async getOpenOrders(
84
- request?: operations.GetAssessmentOrdersOpenRequest | undefined,
83
+ async getAssessmentOrders(
84
+ request?: operations.GetAssessmentOrdersRequest | undefined,
85
85
  options?: RequestOptions,
86
86
  ): Promise<
87
- PageIterator<operations.GetAssessmentOrdersOpenResponse, { cursor: string }>
87
+ PageIterator<operations.GetAssessmentOrdersResponse, { cursor: string }>
88
88
  > {
89
- return unwrapResultIterator(assessmentGetOpenOrders(
89
+ return unwrapResultIterator(assessmentGetAssessmentOrders(
90
90
  this,
91
91
  request,
92
92
  options,
@@ -107,6 +107,7 @@ export class General extends ClientSDK {
107
107
  * |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
108
108
  * |d.vinci|`dvinci/apply-api`|The [DVinci Apply API](https://static.dvinci-easy.com/files/d.vinci%20application-apply-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/p/\{portal_path\}/` as the base URL.|
109
109
  * |d.vinci|`dvinci/rest-api`|The [DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/restApi/` as the base URL.|
110
+ * |DATEV LAUDS|`datevlauds/lauds`|DATEV's [hr-exchange](https://developer.datev.de/de/product-detail/hr-exchange/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exchange.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
110
111
  * |DATEV LODAS|`datev/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
111
112
  * |DATEV|`datevhr/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
112
113
  * |DATEV|`datevhr/hr-exports`|DATEV's [hr-exports](https://developer.datev.de/en/product-detail/hr-exports/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
@@ -116,7 +117,7 @@ export class General extends ClientSDK {
116
117
  * |Digital Recruiters|`digitalrecruiters/api`|Cegid Digital Recruiters [Talent Acquisition API](https://cegid-hr-developers.talentsoft.net/docs/tutorial-basics/Talent%20Acquisition/Getting%20Started). We automatically authenticate all requests by replacing `:token` in the request URL with your configured access token and use your configured Digital Recruiters domain as the base URL.|
117
118
  * |Eightfold|`eightfold/api`|Eightfold's [API](https://apidocs.eightfold.ai/). We automatically authenticate all requests and use `https://apiv2.\{region\}/api/v2/core/` as the base URL.|
118
119
  * |Employment Hero|`employmenthero/default`|EmploymentHero [API](https://developer.employmenthero.com/api-references/#icon-book-open-introduction). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.employmenthero.com/api` as the base URL.|
119
- * |Eploy|`eploy/api`|Eploy's [API](https://www.eploy.com/resources/developers/api-documentation/). We automatically authenticate all requests and use `https://\{subdomain\}.eploy.net/api` as the base URL.|
120
+ * |Eploy|`eploy/api`|Eploy's [API](https://www.eploy.com/resources/developers/api-documentation/). We automatically authenticate all requests. The base URL is `https://\{hostname\}/api`, where `\{hostname\}` is either `\{subdomain\}.eploy.net` or your full custom hostname when applicable.|
120
121
  * |eRecruiter|`erecruiter/api`|[eRecruiter's API](https://api.erecruiter.net/swagger/ui/index). We automatically authenticate all requests and use `https://\{domain\}/Api` as the base URL.|
121
122
  * |Eurécia|`eurecia/api`|Eurécia [REST API](https://api.eurecia.com/eurecia/fw/swagger/index.html#/) We automatically authenticate all requests and use `https://\{domain\}/eurecia/rest` as the base URL.|
122
123
  * |Factorial|`factorial/api`|Factorial's [API](https://apidoc.factorialhr.com/). We automatically authenticate all requests and use `https://api.factorialhr.com/api` or `https://api.demo.factorial.dev/api` as the base URL, depending on the connected instance.|
@@ -172,6 +173,7 @@ export class General extends ClientSDK {
172
173
  * |MHR People First|`peoplefirst/v1`|MHR People First [v1 API](https://docs.people-first.com/api/api-docs/api-docs.html). We automatically authenticate all requests using the access token and tenant/environment codes. For default environments, we use `https://\{tenant_code\}.people-first.com/api/v1` as the base URL. For non-default environments, we use `https://\{tenant_code\}-\{environment_code\}.people-first.com/api/v1`.|
173
174
  * |Microsoft Azure AD|`azuread/v1`|[AzureAD's API](https://learn.microsoft.com/en-us/graph/api/resources/identity-network-access-overview?view=graph-rest-1.0). We automatically authenticate all requests.|
174
175
  * |Microsoft Entra ID|`entraid/v1`|[AzureAD's API](https://learn.microsoft.com/en-us/graph/api/resources/identity-network-access-overview?view=graph-rest-1.0). We automatically authenticate all requests.|
176
+ * |Moodle|`moodle/rest`|Moodle REST Web Services API. All calls go to `/webservice/rest/server.php` with `wsfunction` and `wstoken` parameters. We automatically handle authentication and use `\{site_url\}/webservice/rest/server.php` as the base URL. |
175
177
  * |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
176
178
  * |Nmbrs|`nmbrs/soap`|[Nmbrs SOAP API](https://api.nmbrs.nl/soap/v3/). We automatically authenticate all requests and use `https://api.nmbrs.nl/soap/v3/` as the base URL. Set `data` to your raw XML string (the content that will be placed inside the `\<soap:Body\>` tag). Use `/` as your `path`, as we will always send requests to `https://api.nmbrs.nl/soap/v3/\{service_name\}.asmx`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Available services include `EmployeeService` and `CompanyService`.|
177
179
  * |Odoo|`odoo/json2`|Odoo's [JSON-2 API](https://www.odoo.com/documentation/19.0/developer/reference/external_api.html). We automatically authenticate all requests and use `https://\{domain\}.odoo.com/json/2` as the base URL. Odoo JSON-2 requests are always `POST` requests and use paths like `/\{model\}/\{method\}` (e.g. `/res.partner/search_read`).|
@@ -180,6 +182,7 @@ export class General extends ClientSDK {
180
182
  * |Oracle HCM|`oraclehcm/api`|Oracle HCM Cloud [REST API](https://docs.oracle.com/en/cloud/saas/human-resources/24d/farws/index.html). We automatically authenticate all requests and use `https://\{domain\}/` as the base URL, where domain is your Oracle Cloud domain.|
181
183
  * |Oracle Recruiting Cloud|`oraclerecruiting/rest`|[Oracle's REST API](https://docs.oracle.com/en/cloud/saas/human-resources/24d/farws/rest-endpoints.html). We automatically authenticate all requests and use 'https://\{company_url\}' as the base url.|
182
184
  * |Oracle Recruiting Cloud|`oraclerecruiting/rest`|[Oracles's REST API](https://docs.oracle.com/en/cloud/saas/human-resources/24d/farws/rest-endpoints.html). We automatically authenticate all requests and use 'https://\{company_url\}' as the base url.|
185
+ * |Oracle Taleo|`taleo/soap`|[Taleo's API](https://docs.oracle.com/en/cloud/saas/taleo-enterprise/23b/otwsu/c-taleoapi.html). We automatically authenticate all requests and use 'https://\{your-subdomain\}.taleo.net/enterprise/soap' as base URL.|
183
186
  * |OTYS|`otys/json-rpc`|[OTYS JSON-RPC API](https://ows.otys.nl/info/). We authenticate with your stored API key and inject the session token as the first element of the JSON-RPC `params` array on each request (except `loginByUid`, which uses `params` as sent). Requests use `https://ows.otys.nl` as the base URL (for example `POST /jservice.php` with the RPC method in the URL fragment, matching OTYS conventions).|
184
187
  * |Paradox|`paradox/v1`|We use `\{api_url\}/api/v1` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
185
188
  * |Paradox|`paradox/v1public`|We use `\{api_url\}/api/v1/public` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
@@ -224,7 +227,6 @@ export class General extends ClientSDK {
224
227
  * |Taleez|`taleez/0`|[Taleez's API](https://api.taleez.com/swagger-ui/index.html). We automatically authenticate all requests and use `https://api.taleez.com/0` as the base URL.|
225
228
  * |Talention|`talention/v1`|Talention's API. We automatically authenticate all requests and use `https://\{api_domain\}/tms/\{account_id\}/external/api/1.0` as the base URL. Documentation is provided privately by Talention. Contact Kombo support for assistance with specific endpoints.|
226
229
  * |TalentLMS|`talentlms/v2`|We use `https://\{subdomain\}.talentlms.com/api/v2` as the base URL.|
227
- * |Taleo|`taleo/soap`|[Taleo's API](https://docs.oracle.com/en/cloud/saas/taleo-enterprise/23b/otwsu/c-taleoapi.html). We automatically authenticate all requests and use 'https://\{your-subdomain\}.taleo.net/enterprise/soap' as base URL.|
228
230
  * |Teamtailor Job Boards|`teamtailorjobboards/direct-apply`|Teamtailor's [Job Board Direct Apply API](https://partner.teamtailor.com/job_boards/direct_apply/#direct-apply). We automatically authenticate all requests and use `https://5qbn6o9x4h.execute-api.eu-west-1.amazonaws.com/production` as the base URL. All requests are automatically signed with HMAC-SHA256 signature.|
229
231
  * |Teamtailor|`teamtailor/v1`|We use `https://api.teamtailor.com/v1` as the base URL. Find the official docs [here](https://docs.teamtailor.com/).|
230
232
  * |TRAFFIT|`traffit/v2`|Traffit's [v2 API](https://api.traffit.com). We authenticate all requests with the Traffit API key and use the base URL `https://yourdomain.traffit.com/api/integration/v2`.|
@@ -206,7 +206,7 @@ describeSdkSuite("Error Handling", () => {
206
206
 
207
207
  ctx.mockEndpoint({
208
208
  method: "GET",
209
- path: "/v1/assessment/orders/open",
209
+ path: "/v1/assessment/orders",
210
210
  response: {
211
211
  statusCode: 400,
212
212
  body: {
@@ -222,7 +222,7 @@ describeSdkSuite("Error Handling", () => {
222
222
  });
223
223
 
224
224
  try {
225
- for await (const _page of await ctx.kombo.assessment.getOpenOrders(
225
+ for await (const _page of await ctx.kombo.assessment.getAssessmentOrders(
226
226
  {}
227
227
  )) {
228
228
  break;
@@ -1 +0,0 @@
1
- {"version":3,"file":"assessmentGetOpenOrders.d.ts","sourceRoot":"","sources":["../../src/funcs/assessmentGetOpenOrders.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAMvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAA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Q,EAAE,CAAC;YACnC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC;QAC9B,CAAC;QACD,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAC7B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC;QAC9B,CAAC;QAED,MAAM,OAAO,GAAG,GAAG,EAAE,CACnB,uBAAuB,CACrB,MAAM,EACN;YACE,GAAG,OAAQ;YACX,MAAM,EAAE,UAAU;SACnB,EACD,OAAO,CACR,CAAC;QAEJ,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5D,CAAC,CAAC;IAEF,MAAM,IAAI,GAAG,EAAE,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;IAC7C,OAAO,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,kBAAkB,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YAC9D,MAAM,EAAE,UAAU;YAClB,OAAO,EAAE,GAAG;YACZ,QAAQ;SACT,CAAC,CAAC;AACL,CAAC"}
@@ -1,170 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../types/enums.js";
3
- import { Result as SafeParseResult } from "../types/fp.js";
4
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
- /**
6
- * Information about the candidate taking the assessment.
7
- */
8
- export type GetAssessmentOrdersOpenPositiveResponseCandidate = {
9
- /**
10
- * The candidate's identifier in the integrated system.
11
- */
12
- remote_id?: string | null | undefined;
13
- /**
14
- * The candidate's email address.
15
- */
16
- email: string;
17
- /**
18
- * The candidate's first name.
19
- */
20
- first_name?: string | null | undefined;
21
- /**
22
- * The candidate's last name.
23
- */
24
- last_name?: string | null | undefined;
25
- /**
26
- * The candidate's phone number.
27
- */
28
- phone?: string | null | undefined;
29
- };
30
- /**
31
- * Information about the job application.
32
- */
33
- export type GetAssessmentOrdersOpenPositiveResponseApplication = {
34
- /**
35
- * The application's identifier in the integrated system.
36
- */
37
- remote_id?: string | null | undefined;
38
- };
39
- /**
40
- * The job location information.
41
- */
42
- export type GetAssessmentOrdersOpenPositiveResponseLocation = {
43
- city?: string | null | undefined;
44
- /**
45
- * Contains the ISO2 country code if possible. If not, it contains the original value.
46
- */
47
- country?: string | null | undefined;
48
- /**
49
- * If we have address data, this is filled with the raw address string.
50
- */
51
- raw?: string | null | undefined;
52
- state?: string | null | undefined;
53
- /**
54
- * If we can parse the address data, this field contains the first part of the street information.
55
- */
56
- street_1?: string | null | undefined;
57
- street_2?: string | null | undefined;
58
- zip_code?: string | null | undefined;
59
- };
60
- export declare const GetAssessmentOrdersOpenPositiveResponseHiringTeamRole: {
61
- readonly Recruiter: "RECRUITER";
62
- readonly HiringManager: "HIRING_MANAGER";
63
- readonly Coordinator: "COORDINATOR";
64
- readonly Sourcer: "SOURCER";
65
- readonly Interviewer: "INTERVIEWER";
66
- };
67
- export type GetAssessmentOrdersOpenPositiveResponseHiringTeamRole = ClosedEnum<typeof GetAssessmentOrdersOpenPositiveResponseHiringTeamRole>;
68
- /**
69
- * A member of the hiring team.
70
- */
71
- export type GetAssessmentOrdersOpenPositiveResponseHiringTeam = {
72
- /**
73
- * The team member's identifier in the integrated system.
74
- */
75
- remote_id: string | null;
76
- /**
77
- * The team member's email address.
78
- */
79
- email: string | null;
80
- /**
81
- * The team member's first name.
82
- */
83
- first_name: string | null;
84
- /**
85
- * The team member's last name.
86
- */
87
- last_name: string | null;
88
- /**
89
- * Array of the roles of the user for this specific job. Currently only `RECRUITER` and `HIRING_MANAGER` are mapped into our unified schema.
90
- */
91
- hiring_team_roles: Array<GetAssessmentOrdersOpenPositiveResponseHiringTeamRole>;
92
- };
93
- /**
94
- * Information about the job posting.
95
- */
96
- export type GetAssessmentOrdersOpenPositiveResponseJob = {
97
- /**
98
- * The job's identifier in the integrated system.
99
- */
100
- remote_id?: string | null | undefined;
101
- /**
102
- * The job title.
103
- */
104
- name?: string | null | undefined;
105
- /**
106
- * The job location information.
107
- */
108
- location?: GetAssessmentOrdersOpenPositiveResponseLocation | null | undefined;
109
- /**
110
- * The hiring team allows you to provision users into your system who can access the job and its applications.
111
- */
112
- hiring_team: Array<GetAssessmentOrdersOpenPositiveResponseHiringTeam>;
113
- };
114
- export type GetAssessmentOrdersOpenPositiveResponseResult = {
115
- /**
116
- * The unique identifier of the assessment order.
117
- */
118
- id: string;
119
- /**
120
- * The identifier of the assessment package.
121
- */
122
- package_id: string;
123
- /**
124
- * Information about the candidate taking the assessment.
125
- */
126
- candidate: GetAssessmentOrdersOpenPositiveResponseCandidate;
127
- /**
128
- * Information about the job application.
129
- */
130
- application: GetAssessmentOrdersOpenPositiveResponseApplication;
131
- /**
132
- * Information about the job posting.
133
- */
134
- job: GetAssessmentOrdersOpenPositiveResponseJob;
135
- };
136
- export type GetAssessmentOrdersOpenPositiveResponseData = {
137
- next: string | null;
138
- results: Array<GetAssessmentOrdersOpenPositiveResponseResult>;
139
- };
140
- export type GetAssessmentOrdersOpenPositiveResponse = {
141
- status: "success";
142
- data: GetAssessmentOrdersOpenPositiveResponseData;
143
- };
144
- /** @internal */
145
- export declare const GetAssessmentOrdersOpenPositiveResponseCandidate$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseCandidate, z.ZodTypeDef, unknown>;
146
- export declare function getAssessmentOrdersOpenPositiveResponseCandidateFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseCandidate, SDKValidationError>;
147
- /** @internal */
148
- export declare const GetAssessmentOrdersOpenPositiveResponseApplication$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseApplication, z.ZodTypeDef, unknown>;
149
- export declare function getAssessmentOrdersOpenPositiveResponseApplicationFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseApplication, SDKValidationError>;
150
- /** @internal */
151
- export declare const GetAssessmentOrdersOpenPositiveResponseLocation$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseLocation, z.ZodTypeDef, unknown>;
152
- export declare function getAssessmentOrdersOpenPositiveResponseLocationFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseLocation, SDKValidationError>;
153
- /** @internal */
154
- export declare const GetAssessmentOrdersOpenPositiveResponseHiringTeamRole$inboundSchema: z.ZodNativeEnum<typeof GetAssessmentOrdersOpenPositiveResponseHiringTeamRole>;
155
- /** @internal */
156
- export declare const GetAssessmentOrdersOpenPositiveResponseHiringTeam$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseHiringTeam, z.ZodTypeDef, unknown>;
157
- export declare function getAssessmentOrdersOpenPositiveResponseHiringTeamFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseHiringTeam, SDKValidationError>;
158
- /** @internal */
159
- export declare const GetAssessmentOrdersOpenPositiveResponseJob$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseJob, z.ZodTypeDef, unknown>;
160
- export declare function getAssessmentOrdersOpenPositiveResponseJobFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseJob, SDKValidationError>;
161
- /** @internal */
162
- export declare const GetAssessmentOrdersOpenPositiveResponseResult$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseResult, z.ZodTypeDef, unknown>;
163
- export declare function getAssessmentOrdersOpenPositiveResponseResultFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseResult, SDKValidationError>;
164
- /** @internal */
165
- export declare const GetAssessmentOrdersOpenPositiveResponseData$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponseData, z.ZodTypeDef, unknown>;
166
- export declare function getAssessmentOrdersOpenPositiveResponseDataFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponseData, SDKValidationError>;
167
- /** @internal */
168
- export declare const GetAssessmentOrdersOpenPositiveResponse$inboundSchema: z.ZodType<GetAssessmentOrdersOpenPositiveResponse, z.ZodTypeDef, unknown>;
169
- export declare function getAssessmentOrdersOpenPositiveResponseFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenPositiveResponse, SDKValidationError>;
170
- //# sourceMappingURL=getassessmentordersopenpositiveresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getassessmentordersopenpositiveresponse.d.ts","sourceRoot":"","sources":["../../src/models/getassessmentordersopenpositiveresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SA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OT EDIT.
3
- */
4
- import * as z from "zod/v3";
5
- import { safeParse } from "../lib/schemas.js";
6
- export const GetAssessmentOrdersOpenPositiveResponseHiringTeamRole = {
7
- Recruiter: "RECRUITER",
8
- HiringManager: "HIRING_MANAGER",
9
- Coordinator: "COORDINATOR",
10
- Sourcer: "SOURCER",
11
- Interviewer: "INTERVIEWER",
12
- };
13
- /** @internal */
14
- export const GetAssessmentOrdersOpenPositiveResponseCandidate$inboundSchema = z.object({
15
- remote_id: z.nullable(z.string()).optional(),
16
- email: z.string(),
17
- first_name: z.nullable(z.string()).optional(),
18
- last_name: z.nullable(z.string()).optional(),
19
- phone: z.nullable(z.string()).optional(),
20
- });
21
- export function getAssessmentOrdersOpenPositiveResponseCandidateFromJSON(jsonString) {
22
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseCandidate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseCandidate' from JSON`);
23
- }
24
- /** @internal */
25
- export const GetAssessmentOrdersOpenPositiveResponseApplication$inboundSchema = z.object({
26
- remote_id: z.nullable(z.string()).optional(),
27
- });
28
- export function getAssessmentOrdersOpenPositiveResponseApplicationFromJSON(jsonString) {
29
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseApplication$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseApplication' from JSON`);
30
- }
31
- /** @internal */
32
- export const GetAssessmentOrdersOpenPositiveResponseLocation$inboundSchema = z.object({
33
- city: z.nullable(z.string()).optional(),
34
- country: z.nullable(z.string()).optional(),
35
- raw: z.nullable(z.string()).optional(),
36
- state: z.nullable(z.string()).optional(),
37
- street_1: z.nullable(z.string()).optional(),
38
- street_2: z.nullable(z.string()).optional(),
39
- zip_code: z.nullable(z.string()).optional(),
40
- });
41
- export function getAssessmentOrdersOpenPositiveResponseLocationFromJSON(jsonString) {
42
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseLocation' from JSON`);
43
- }
44
- /** @internal */
45
- export const GetAssessmentOrdersOpenPositiveResponseHiringTeamRole$inboundSchema = z.nativeEnum(GetAssessmentOrdersOpenPositiveResponseHiringTeamRole);
46
- /** @internal */
47
- export const GetAssessmentOrdersOpenPositiveResponseHiringTeam$inboundSchema = z.object({
48
- remote_id: z.nullable(z.string()),
49
- email: z.nullable(z.string()),
50
- first_name: z.nullable(z.string()),
51
- last_name: z.nullable(z.string()),
52
- hiring_team_roles: z.array(GetAssessmentOrdersOpenPositiveResponseHiringTeamRole$inboundSchema),
53
- });
54
- export function getAssessmentOrdersOpenPositiveResponseHiringTeamFromJSON(jsonString) {
55
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseHiringTeam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseHiringTeam' from JSON`);
56
- }
57
- /** @internal */
58
- export const GetAssessmentOrdersOpenPositiveResponseJob$inboundSchema = z.object({
59
- remote_id: z.nullable(z.string()).optional(),
60
- name: z.nullable(z.string()).optional(),
61
- location: z.nullable(z.lazy(() => GetAssessmentOrdersOpenPositiveResponseLocation$inboundSchema)).optional(),
62
- hiring_team: z.array(z.lazy(() => GetAssessmentOrdersOpenPositiveResponseHiringTeam$inboundSchema)),
63
- });
64
- export function getAssessmentOrdersOpenPositiveResponseJobFromJSON(jsonString) {
65
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseJob' from JSON`);
66
- }
67
- /** @internal */
68
- export const GetAssessmentOrdersOpenPositiveResponseResult$inboundSchema = z.object({
69
- id: z.string(),
70
- package_id: z.string(),
71
- candidate: z.lazy(() => GetAssessmentOrdersOpenPositiveResponseCandidate$inboundSchema),
72
- application: z.lazy(() => GetAssessmentOrdersOpenPositiveResponseApplication$inboundSchema),
73
- job: z.lazy(() => GetAssessmentOrdersOpenPositiveResponseJob$inboundSchema),
74
- });
75
- export function getAssessmentOrdersOpenPositiveResponseResultFromJSON(jsonString) {
76
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseResult' from JSON`);
77
- }
78
- /** @internal */
79
- export const GetAssessmentOrdersOpenPositiveResponseData$inboundSchema = z.object({
80
- next: z.nullable(z.string()),
81
- results: z.array(z.lazy(() => GetAssessmentOrdersOpenPositiveResponseResult$inboundSchema)),
82
- });
83
- export function getAssessmentOrdersOpenPositiveResponseDataFromJSON(jsonString) {
84
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponseData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponseData' from JSON`);
85
- }
86
- /** @internal */
87
- export const GetAssessmentOrdersOpenPositiveResponse$inboundSchema = z.object({
88
- status: z.literal("success"),
89
- data: z.lazy(() => GetAssessmentOrdersOpenPositiveResponseData$inboundSchema),
90
- });
91
- export function getAssessmentOrdersOpenPositiveResponseFromJSON(jsonString) {
92
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenPositiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenPositiveResponse' from JSON`);
93
- }
94
- //# sourceMappingURL=getassessmentordersopenpositiveresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getassessmentordersopenpositiveresponse.js","sourceRoot":"","sources":["../../src/models/getassessmentordersopenpositiveresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AA+D9C,MAAM,CAAC,MAAM,qDAAqD,GAAG;IACnE,SAAS,EAAE,WAAW;IACtB,aAA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AAG,EAAE,CAAC,yDAAyD,CAAC;CAC9E,CAAC,CAAC;AAEH,MAAM,UAAU,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qDAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
@@ -1,35 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import * as models from "../index.js";
5
- export type GetAssessmentOrdersOpenGlobals = {
6
- /**
7
- * ID of the integration you want to interact with.
8
- */
9
- integration_id?: string | undefined;
10
- };
11
- export type GetAssessmentOrdersOpenRequest = {
12
- /**
13
- * An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
14
- */
15
- cursor?: string | undefined;
16
- /**
17
- * The number of results to return per page. Maximum is 250.
18
- */
19
- page_size?: number | undefined;
20
- };
21
- export type GetAssessmentOrdersOpenResponse = {
22
- result: models.GetAssessmentOrdersOpenPositiveResponse;
23
- };
24
- /** @internal */
25
- export type GetAssessmentOrdersOpenRequest$Outbound = {
26
- cursor?: string | undefined;
27
- page_size: number;
28
- };
29
- /** @internal */
30
- export declare const GetAssessmentOrdersOpenRequest$outboundSchema: z.ZodType<GetAssessmentOrdersOpenRequest$Outbound, z.ZodTypeDef, GetAssessmentOrdersOpenRequest>;
31
- export declare function getAssessmentOrdersOpenRequestToJSON(getAssessmentOrdersOpenRequest: GetAssessmentOrdersOpenRequest): string;
32
- /** @internal */
33
- export declare const GetAssessmentOrdersOpenResponse$inboundSchema: z.ZodType<GetAssessmentOrdersOpenResponse, z.ZodTypeDef, unknown>;
34
- export declare function getAssessmentOrdersOpenResponseFromJSON(jsonString: string): SafeParseResult<GetAssessmentOrdersOpenResponse, SDKValidationError>;
35
- //# sourceMappingURL=getassessmentordersopen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getassessmentordersopen.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getassessmentordersopen.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC,uCAAuC,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAI9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -1,27 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v3";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import * as models from "../index.js";
8
- /** @internal */
9
- export const GetAssessmentOrdersOpenRequest$outboundSchema = z.object({
10
- cursor: z.string().optional(),
11
- page_size: z.number().int().default(100),
12
- });
13
- export function getAssessmentOrdersOpenRequestToJSON(getAssessmentOrdersOpenRequest) {
14
- return JSON.stringify(GetAssessmentOrdersOpenRequest$outboundSchema.parse(getAssessmentOrdersOpenRequest));
15
- }
16
- /** @internal */
17
- export const GetAssessmentOrdersOpenResponse$inboundSchema = z.object({
18
- Result: models.GetAssessmentOrdersOpenPositiveResponse$inboundSchema,
19
- }).transform((v) => {
20
- return remap$(v, {
21
- "Result": "result",
22
- });
23
- });
24
- export function getAssessmentOrdersOpenResponseFromJSON(jsonString) {
25
- return safeParse(jsonString, (x) => GetAssessmentOrdersOpenResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentOrdersOpenResponse' from JSON`);
26
- }
27
- //# sourceMappingURL=getassessmentordersopen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getassessmentordersopen.js","sourceRoot":"","sources":["../../../src/models/operations/getassessmentordersopen.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AA8BtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;CACzC,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,qDAAqD;CACrE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}