@kombo-api/sdk 1.0.3 → 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 +3 -1
  7. package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
  8. package/esm/funcs/generalSendPassthroughRequest.js +3 -1
  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 +31 -31
  18. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  19. package/esm/models/assessmentorderreceivedwebhookpayload.js +28 -28
  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 +31 -31
  38. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  39. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +28 -28
  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 +3 -1
  93. package/esm/sdk/general.d.ts.map +1 -1
  94. package/esm/sdk/general.js +3 -1
  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 +3 -1
  100. package/src/lib/config.ts +3 -3
  101. package/src/lib/security.ts +14 -2
  102. package/src/models/assessmentorderreceivedwebhookpayload.ts +59 -62
  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 +59 -65
  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 +3 -1
  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 -178
  129. package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +0 -1
  130. package/esm/models/getassessmentordersopenpositiveresponse.js +0 -96
  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 -420
  137. package/src/models/operations/getassessmentordersopen.ts +0 -81
@@ -1 +1 @@
1
- {"version":3,"file":"assessment.js","sourceRoot":"","sources":["../../src/sdk/assessment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CACf,OAA6D,EAC7D,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,KAAK,CAAC,WAAW,CACf,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CAC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,CACvB,OAA2D,EAC3D,OAAwB;QAIxB,OAAO,oBAAoB,CAAC,6BAA6B,CACvD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAqE,EACrE,OAAwB;QAIxB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -71,6 +71,7 @@ export declare class General extends ClientSDK {
71
71
  * |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
72
72
  * |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.|
73
73
  * |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.|
74
+ * |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.|
74
75
  * |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.|
75
76
  * |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.|
76
77
  * |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.|
@@ -80,7 +81,7 @@ export declare class General extends ClientSDK {
80
81
  * |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.|
81
82
  * |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.|
82
83
  * |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.|
83
- * |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.|
84
+ * |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.|
84
85
  * |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.|
85
86
  * |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.|
86
87
  * |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.|
@@ -136,6 +137,7 @@ export declare class General extends ClientSDK {
136
137
  * |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`.|
137
138
  * |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.|
138
139
  * |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.|
140
+ * |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. |
139
141
  * |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
140
142
  * |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`.|
141
143
  * |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`).|
@@ -1 +1 @@
1
- {"version":3,"file":"general.d.ts","sourceRoot":"","s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,mDAAmD,CAAC;IAQtE;;;;;;;;;;;;;;;;;OAiBG;IACG,sBAAsB,CAC1B,OAAO,EAAE,UAAU,CAAC,0CAA0C,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,mDAAmD,CAAC;IAQtE;;;;;;OAMG;IACG,oBAAoB,CACxB,OAAO,EAAE,UAAU,CAAC,oDAAoD,EACxE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,YAAY,CACV,UAAU,CAAC,qDAAqD,EAChE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CACnB,CACF;IAQD;;;;;OAKG;IACG,sBAAsB,CAC1B,OAAO,EACL,UAAU,CAAC,wEAAwE,EACrF,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CAAC,iFAAiF,CACzF;IAQD;;;;;;OAMG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,+CAA+C,EACnE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,YAAY,CACV,UAAU,CAAC,gDAAgD,EAC3D;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CACnB,CACF;IAQD;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,EACL,UAAU,CAAC,4DAA4D,EACzE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CAAC,qEAAqE,CAC7E;IAQD;;;;;;OAMG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,gCAAgC,CAAC;CAOpD"}
@@ -89,6 +89,7 @@ export class General extends ClientSDK {
89
89
  * |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
90
90
  * |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.|
91
91
  * |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.|
92
+ * |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.|
92
93
  * |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.|
93
94
  * |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.|
94
95
  * |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.|
@@ -98,7 +99,7 @@ export class General extends ClientSDK {
98
99
  * |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.|
99
100
  * |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.|
100
101
  * |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.|
101
- * |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.|
102
+ * |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.|
102
103
  * |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.|
103
104
  * |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.|
104
105
  * |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.|
@@ -154,6 +155,7 @@ export class General extends ClientSDK {
154
155
  * |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`.|
155
156
  * |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.|
156
157
  * |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.|
158
+ * |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. |
157
159
  * |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
158
160
  * |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`.|
159
161
  * |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`).|
@@ -1 +1 @@
1
- {"version":3,"file":"general.js","sourceRoot":"","sources":["../../src/sdk/general.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCA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O,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OACqF,EACrF,OAAwB;QAIxB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,eAAe,CACnB,OAAmE,EACnE,OAAwB;QAOxB,OAAO,oBAAoB,CAAC,sBAAsB,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OACyE,EACzE,OAAwB;QAIxB,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA2C,EAC3C,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@kombo-api/sdk",
5
- "version": "1.0.3",
5
+ "version": "1.0.4",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kombo-api/sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "author": "Kombo Technologies GmbH <support@kombo.dev> (https://www.kombo.dev)",
5
5
  "description": "The official TypeScript/JavaScript SDK for the Kombo Unified API",
6
6
  "homepage": "https://github.com/kombohq/typescript-sdk#readme",
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { KomboCore } from "../core.js";
6
6
  import { dlv } from "../lib/dlv.js";
7
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
+ import { encodeFormQuery, encodeSimple, queryJoin } from "../lib/encodings.js";
8
8
  import * as M from "../lib/matchers.js";
9
9
  import { compactMap } from "../lib/primitives.js";
10
10
  import { safeParse } from "../lib/schemas.js";
@@ -33,19 +33,19 @@ import {
33
33
  } from "../types/operations.js";
34
34
 
35
35
  /**
36
- * Get open orders
36
+ * Get orders
37
37
  *
38
38
  * @remarks
39
- * Get all open assessment and background check orders of an integration.
39
+ * Get all assessment and background check orders of an integration.
40
40
  */
41
- export function assessmentGetOpenOrders(
41
+ export function assessmentGetAssessmentOrders(
42
42
  client: KomboCore,
43
- request?: operations.GetAssessmentOrdersOpenRequest | undefined,
43
+ request?: operations.GetAssessmentOrdersRequest | undefined,
44
44
  options?: RequestOptions,
45
45
  ): APIPromise<
46
46
  PageIterator<
47
47
  Result<
48
- operations.GetAssessmentOrdersOpenResponse,
48
+ operations.GetAssessmentOrdersResponse,
49
49
  | errors.KomboAtsError
50
50
  | KomboError
51
51
  | ResponseValidationError
@@ -68,13 +68,13 @@ export function assessmentGetOpenOrders(
68
68
 
69
69
  async function $do(
70
70
  client: KomboCore,
71
- request?: operations.GetAssessmentOrdersOpenRequest | undefined,
71
+ request?: operations.GetAssessmentOrdersRequest | undefined,
72
72
  options?: RequestOptions,
73
73
  ): Promise<
74
74
  [
75
75
  PageIterator<
76
76
  Result<
77
- operations.GetAssessmentOrdersOpenResponse,
77
+ operations.GetAssessmentOrdersResponse,
78
78
  | errors.KomboAtsError
79
79
  | KomboError
80
80
  | ResponseValidationError
@@ -93,7 +93,7 @@ async function $do(
93
93
  const parsed = safeParse(
94
94
  request,
95
95
  (value) =>
96
- operations.GetAssessmentOrdersOpenRequest$outboundSchema.optional().parse(
96
+ operations.GetAssessmentOrdersRequest$outboundSchema.optional().parse(
97
97
  value,
98
98
  ),
99
99
  "Input validation failed",
@@ -104,12 +104,19 @@ async function $do(
104
104
  const payload = parsed.value;
105
105
  const body = null;
106
106
 
107
- const path = pathToFunc("/assessment/orders/open")();
108
-
109
- const query = encodeFormQuery({
110
- "cursor": payload?.cursor,
111
- "page_size": payload?.page_size,
112
- });
107
+ const path = pathToFunc("/assessment/orders")();
108
+
109
+ const query = queryJoin(
110
+ encodeFormQuery({
111
+ "ids": payload?.ids,
112
+ "statuses": payload?.statuses,
113
+ }, { explode: false }),
114
+ encodeFormQuery({
115
+ "created_after": payload?.created_after,
116
+ "cursor": payload?.cursor,
117
+ "page_size": payload?.page_size,
118
+ }),
119
+ );
113
120
 
114
121
  const headers = new Headers(compactMap({
115
122
  Accept: "application/json",
@@ -127,7 +134,7 @@ async function $do(
127
134
  const context = {
128
135
  options: client._options,
129
136
  base_url: options?.server_url ?? client._baseURL ?? "",
130
- operation_id: "GetAssessmentOrdersOpen",
137
+ operation_id: "GetAssessmentOrders",
131
138
  o_auth2_scopes: null,
132
139
 
133
140
  resolved_security: requestSecurity,
@@ -171,7 +178,7 @@ async function $do(
171
178
  };
172
179
 
173
180
  const [result, raw] = await M.match<
174
- operations.GetAssessmentOrdersOpenResponse,
181
+ operations.GetAssessmentOrdersResponse,
175
182
  | errors.KomboAtsError
176
183
  | KomboError
177
184
  | ResponseValidationError
@@ -182,7 +189,7 @@ async function $do(
182
189
  | UnexpectedClientError
183
190
  | SDKValidationError
184
191
  >(
185
- M.json(200, operations.GetAssessmentOrdersOpenResponse$inboundSchema, {
192
+ M.json(200, operations.GetAssessmentOrdersResponse$inboundSchema, {
186
193
  key: "Result",
187
194
  }),
188
195
  M.jsonErr("default", errors.KomboAtsError$inboundSchema),
@@ -200,7 +207,7 @@ async function $do(
200
207
  ): {
201
208
  next: Paginator<
202
209
  Result<
203
- operations.GetAssessmentOrdersOpenResponse,
210
+ operations.GetAssessmentOrdersResponse,
204
211
  | errors.KomboAtsError
205
212
  | KomboError
206
213
  | ResponseValidationError
@@ -223,7 +230,7 @@ async function $do(
223
230
  }
224
231
 
225
232
  const nextVal = () =>
226
- assessmentGetOpenOrders(
233
+ assessmentGetAssessmentOrders(
227
234
  client,
228
235
  {
229
236
  ...request!,
@@ -78,6 +78,7 @@ import { Result } from "../types/fp.js";
78
78
  * |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
79
79
  * |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.|
80
80
  * |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.|
81
+ * |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.|
81
82
  * |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.|
82
83
  * |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.|
83
84
  * |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.|
@@ -87,7 +88,7 @@ import { Result } from "../types/fp.js";
87
88
  * |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.|
88
89
  * |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.|
89
90
  * |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.|
90
- * |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.|
91
+ * |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.|
91
92
  * |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.|
92
93
  * |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.|
93
94
  * |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.|
@@ -143,6 +144,7 @@ import { Result } from "../types/fp.js";
143
144
  * |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`.|
144
145
  * |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.|
145
146
  * |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.|
147
+ * |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. |
146
148
  * |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
147
149
  * |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`.|
148
150
  * |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`).|
package/src/lib/config.ts CHANGED
@@ -69,7 +69,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
69
69
  export const SDK_METADATA = {
70
70
  language: "typescript",
71
71
  openapiDocVersion: "1.0.0",
72
- sdkVersion: "1.0.3",
73
- genVersion: "2.869.25",
74
- userAgent: "speakeasy-sdk/typescript 1.0.3 2.869.25 1.0.0 @kombo-api/sdk",
72
+ sdkVersion: "1.0.4",
73
+ genVersion: "2.879.6",
74
+ userAgent: "speakeasy-sdk/typescript 1.0.4 2.879.6 1.0.0 @kombo-api/sdk",
75
75
  } as const;
@@ -239,8 +239,9 @@ function applyBearer(
239
239
 
240
240
  export function resolveGlobalSecurity(
241
241
  security: Partial<models.Security> | null | undefined,
242
+ allowedFields?: number[],
242
243
  ): SecurityState | null {
243
- return resolveSecurity(
244
+ let inputs: SecurityInput[][] = [
244
245
  [
245
246
  {
246
247
  fieldName: "Authorization",
@@ -248,7 +249,18 @@ export function resolveGlobalSecurity(
248
249
  value: security?.api_key,
249
250
  },
250
251
  ],
251
- );
252
+ ];
253
+
254
+ if (allowedFields) {
255
+ inputs = allowedFields.map((i) => {
256
+ if (i < 0 || i >= inputs.length) {
257
+ throw new RangeError(`invalid allowedFields index ${i}`);
258
+ }
259
+ return inputs[i]!;
260
+ });
261
+ }
262
+
263
+ return resolveSecurity(...inputs);
252
264
  }
253
265
 
254
266
  export async function extractSecurity<
@@ -44,7 +44,7 @@ export type AssessmentOrderReceivedWebhookPayloadCandidate = {
44
44
  /**
45
45
  * The candidate's identifier in the integrated system.
46
46
  */
47
- remote_id?: string | null | undefined;
47
+ remote_id: string | null;
48
48
  /**
49
49
  * The candidate's email address.
50
50
  */
@@ -52,15 +52,15 @@ export type AssessmentOrderReceivedWebhookPayloadCandidate = {
52
52
  /**
53
53
  * The candidate's first name.
54
54
  */
55
- first_name?: string | null | undefined;
55
+ first_name: string | null;
56
56
  /**
57
57
  * The candidate's last name.
58
58
  */
59
- last_name?: string | null | undefined;
59
+ last_name: string | null;
60
60
  /**
61
61
  * The candidate's phone number.
62
62
  */
63
- phone?: string | null | undefined;
63
+ phone: string | null;
64
64
  };
65
65
 
66
66
  /**
@@ -70,14 +70,21 @@ export type AssessmentOrderReceivedWebhookPayloadApplication = {
70
70
  /**
71
71
  * The application's identifier in the integrated system.
72
72
  */
73
- remote_id?: string | null | undefined;
73
+ remote_id: string | null;
74
74
  };
75
75
 
76
76
  /**
77
77
  * The job location information.
78
78
  */
79
79
  export type AssessmentOrderReceivedWebhookPayloadLocation = {
80
+ /**
81
+ * If we can parse the address data, this field contains the first part of the street information.
82
+ */
83
+ street_1?: string | null | undefined;
84
+ street_2?: string | null | undefined;
80
85
  city?: string | null | undefined;
86
+ state?: string | null | undefined;
87
+ zip_code?: string | null | undefined;
81
88
  /**
82
89
  * Contains the ISO2 country code if possible. If not, it contains the original value.
83
90
  */
@@ -86,13 +93,6 @@ export type AssessmentOrderReceivedWebhookPayloadLocation = {
86
93
  * If we have address data, this is filled with the raw address string.
87
94
  */
88
95
  raw?: string | null | undefined;
89
- state?: string | null | undefined;
90
- /**
91
- * If we can parse the address data, this field contains the first part of the street information.
92
- */
93
- street_1?: string | null | undefined;
94
- street_2?: string | null | undefined;
95
- zip_code?: string | null | undefined;
96
96
  };
97
97
 
98
98
  export const AssessmentOrderReceivedWebhookPayloadHiringTeamRole = {
@@ -139,23 +139,23 @@ export type AssessmentOrderReceivedWebhookPayloadJob = {
139
139
  /**
140
140
  * The job's identifier in the integrated system.
141
141
  */
142
- remote_id?: string | null | undefined;
142
+ remote_id: string | null;
143
143
  /**
144
144
  * The job title.
145
145
  */
146
- name?: string | null | undefined;
146
+ name: string | null;
147
147
  /**
148
148
  * The human readable job code. Some systems expose this as the Requisition Code/ID.
149
149
  */
150
- job_code?: string | null | undefined;
150
+ job_code: string | null;
151
151
  /**
152
152
  * Description of the job. This field is usually returned as HTML.
153
153
  */
154
- description?: string | null | undefined;
154
+ description: string | null;
155
155
  /**
156
156
  * The job location information.
157
157
  */
158
- location?: AssessmentOrderReceivedWebhookPayloadLocation | null | undefined;
158
+ location: AssessmentOrderReceivedWebhookPayloadLocation | null;
159
159
  /**
160
160
  * The hiring team allows you to provision users into your system who can access the job and its applications.
161
161
  */
@@ -230,19 +230,19 @@ export const AssessmentOrderReceivedWebhookPayloadCandidate$inboundSchema:
230
230
  z.ZodTypeDef,
231
231
  unknown
232
232
  > = z.object({
233
- remote_id: z.nullable(z.string()).optional(),
233
+ remote_id: z.nullable(z.string()),
234
234
  email: z.string(),
235
- first_name: z.nullable(z.string()).optional(),
236
- last_name: z.nullable(z.string()).optional(),
237
- phone: z.nullable(z.string()).optional(),
235
+ first_name: z.nullable(z.string()),
236
+ last_name: z.nullable(z.string()),
237
+ phone: z.nullable(z.string()),
238
238
  });
239
239
  /** @internal */
240
240
  export type AssessmentOrderReceivedWebhookPayloadCandidate$Outbound = {
241
- remote_id?: string | null | undefined;
241
+ remote_id: string | null;
242
242
  email: string;
243
- first_name?: string | null | undefined;
244
- last_name?: string | null | undefined;
245
- phone?: string | null | undefined;
243
+ first_name: string | null;
244
+ last_name: string | null;
245
+ phone: string | null;
246
246
  };
247
247
 
248
248
  /** @internal */
@@ -252,11 +252,11 @@ export const AssessmentOrderReceivedWebhookPayloadCandidate$outboundSchema:
252
252
  z.ZodTypeDef,
253
253
  AssessmentOrderReceivedWebhookPayloadCandidate
254
254
  > = z.object({
255
- remote_id: z.nullable(z.string()).optional(),
255
+ remote_id: z.nullable(z.string()),
256
256
  email: z.string(),
257
- first_name: z.nullable(z.string()).optional(),
258
- last_name: z.nullable(z.string()).optional(),
259
- phone: z.nullable(z.string()).optional(),
257
+ first_name: z.nullable(z.string()),
258
+ last_name: z.nullable(z.string()),
259
+ phone: z.nullable(z.string()),
260
260
  });
261
261
 
262
262
  export function assessmentOrderReceivedWebhookPayloadCandidateToJSON(
@@ -292,11 +292,11 @@ export const AssessmentOrderReceivedWebhookPayloadApplication$inboundSchema:
292
292
  z.ZodTypeDef,
293
293
  unknown
294
294
  > = z.object({
295
- remote_id: z.nullable(z.string()).optional(),
295
+ remote_id: z.nullable(z.string()),
296
296
  });
297
297
  /** @internal */
298
298
  export type AssessmentOrderReceivedWebhookPayloadApplication$Outbound = {
299
- remote_id?: string | null | undefined;
299
+ remote_id: string | null;
300
300
  };
301
301
 
302
302
  /** @internal */
@@ -306,7 +306,7 @@ export const AssessmentOrderReceivedWebhookPayloadApplication$outboundSchema:
306
306
  z.ZodTypeDef,
307
307
  AssessmentOrderReceivedWebhookPayloadApplication
308
308
  > = z.object({
309
- remote_id: z.nullable(z.string()).optional(),
309
+ remote_id: z.nullable(z.string()),
310
310
  });
311
311
 
312
312
  export function assessmentOrderReceivedWebhookPayloadApplicationToJSON(
@@ -342,23 +342,23 @@ export const AssessmentOrderReceivedWebhookPayloadLocation$inboundSchema:
342
342
  z.ZodTypeDef,
343
343
  unknown
344
344
  > = z.object({
345
- city: z.nullable(z.string()).optional(),
346
- country: z.nullable(z.string()).optional(),
347
- raw: z.nullable(z.string()).optional(),
348
- state: z.nullable(z.string()).optional(),
349
345
  street_1: z.nullable(z.string()).optional(),
350
346
  street_2: z.nullable(z.string()).optional(),
347
+ city: z.nullable(z.string()).optional(),
348
+ state: z.nullable(z.string()).optional(),
351
349
  zip_code: z.nullable(z.string()).optional(),
350
+ country: z.nullable(z.string()).optional(),
351
+ raw: z.nullable(z.string()).optional(),
352
352
  });
353
353
  /** @internal */
354
354
  export type AssessmentOrderReceivedWebhookPayloadLocation$Outbound = {
355
- city?: string | null | undefined;
356
- country?: string | null | undefined;
357
- raw?: string | null | undefined;
358
- state?: string | null | undefined;
359
355
  street_1?: string | null | undefined;
360
356
  street_2?: string | null | undefined;
357
+ city?: string | null | undefined;
358
+ state?: string | null | undefined;
361
359
  zip_code?: string | null | undefined;
360
+ country?: string | null | undefined;
361
+ raw?: string | null | undefined;
362
362
  };
363
363
 
364
364
  /** @internal */
@@ -368,13 +368,13 @@ export const AssessmentOrderReceivedWebhookPayloadLocation$outboundSchema:
368
368
  z.ZodTypeDef,
369
369
  AssessmentOrderReceivedWebhookPayloadLocation
370
370
  > = z.object({
371
- city: z.nullable(z.string()).optional(),
372
- country: z.nullable(z.string()).optional(),
373
- raw: z.nullable(z.string()).optional(),
374
- state: z.nullable(z.string()).optional(),
375
371
  street_1: z.nullable(z.string()).optional(),
376
372
  street_2: z.nullable(z.string()).optional(),
373
+ city: z.nullable(z.string()).optional(),
374
+ state: z.nullable(z.string()).optional(),
377
375
  zip_code: z.nullable(z.string()).optional(),
376
+ country: z.nullable(z.string()).optional(),
377
+ raw: z.nullable(z.string()).optional(),
378
378
  });
379
379
 
380
380
  export function assessmentOrderReceivedWebhookPayloadLocationToJSON(
@@ -484,27 +484,24 @@ export const AssessmentOrderReceivedWebhookPayloadJob$inboundSchema: z.ZodType<
484
484
  z.ZodTypeDef,
485
485
  unknown
486
486
  > = z.object({
487
- remote_id: z.nullable(z.string()).optional(),
488
- name: z.nullable(z.string()).optional(),
489
- job_code: z.nullable(z.string()).optional(),
490
- description: z.nullable(z.string()).optional(),
487
+ remote_id: z.nullable(z.string()),
488
+ name: z.nullable(z.string()),
489
+ job_code: z.nullable(z.string()),
490
+ description: z.nullable(z.string()),
491
491
  location: z.nullable(
492
492
  z.lazy(() => AssessmentOrderReceivedWebhookPayloadLocation$inboundSchema),
493
- ).optional(),
493
+ ),
494
494
  hiring_team: z.array(
495
495
  z.lazy(() => AssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema),
496
496
  ),
497
497
  });
498
498
  /** @internal */
499
499
  export type AssessmentOrderReceivedWebhookPayloadJob$Outbound = {
500
- remote_id?: string | null | undefined;
501
- name?: string | null | undefined;
502
- job_code?: string | null | undefined;
503
- description?: string | null | undefined;
504
- location?:
505
- | AssessmentOrderReceivedWebhookPayloadLocation$Outbound
506
- | null
507
- | undefined;
500
+ remote_id: string | null;
501
+ name: string | null;
502
+ job_code: string | null;
503
+ description: string | null;
504
+ location: AssessmentOrderReceivedWebhookPayloadLocation$Outbound | null;
508
505
  hiring_team: Array<AssessmentOrderReceivedWebhookPayloadHiringTeam$Outbound>;
509
506
  };
510
507
 
@@ -514,13 +511,13 @@ export const AssessmentOrderReceivedWebhookPayloadJob$outboundSchema: z.ZodType<
514
511
  z.ZodTypeDef,
515
512
  AssessmentOrderReceivedWebhookPayloadJob
516
513
  > = z.object({
517
- remote_id: z.nullable(z.string()).optional(),
518
- name: z.nullable(z.string()).optional(),
519
- job_code: z.nullable(z.string()).optional(),
520
- description: z.nullable(z.string()).optional(),
514
+ remote_id: z.nullable(z.string()),
515
+ name: z.nullable(z.string()),
516
+ job_code: z.nullable(z.string()),
517
+ description: z.nullable(z.string()),
521
518
  location: z.nullable(
522
519
  z.lazy(() => AssessmentOrderReceivedWebhookPayloadLocation$outboundSchema),
523
- ).optional(),
520
+ ),
524
521
  hiring_team: z.array(
525
522
  z.lazy(() =>
526
523
  AssessmentOrderReceivedWebhookPayloadHiringTeam$outboundSchema
@@ -91,6 +91,14 @@ export type DeleteHrisAbsencesAbsenceIdPositiveResponseData = {
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
  */
@@ -154,6 +162,12 @@ export const DeleteHrisAbsencesAbsenceIdPositiveResponseData$inboundSchema:
154
162
  ).optional(),
155
163
  employee_note: z.nullable(z.string()),
156
164
  type_id: z.nullable(z.string()),
165
+ remote_created_at: z.nullable(
166
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
167
+ ),
168
+ remote_updated_at: z.nullable(
169
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
170
+ ),
157
171
  changed_at: z.string().datetime({ offset: true }).transform(v =>
158
172
  new Date(v)
159
173
  ),