@kombo-api/sdk 0.2.4 → 0.3.2

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 (224) hide show
  1. package/README.md +5 -5
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/esm/funcs/assessmentGetOpenOrders.js +1 -1
  5. package/esm/funcs/assessmentGetOpenOrders.js.map +1 -1
  6. package/esm/funcs/atsGetApplicationStages.js +1 -1
  7. package/esm/funcs/atsGetApplicationStages.js.map +1 -1
  8. package/esm/funcs/atsGetApplications.js +1 -1
  9. package/esm/funcs/atsGetApplications.js.map +1 -1
  10. package/esm/funcs/atsGetCandidates.js +1 -1
  11. package/esm/funcs/atsGetCandidates.js.map +1 -1
  12. package/esm/funcs/atsGetInterviews.js +1 -1
  13. package/esm/funcs/atsGetInterviews.js.map +1 -1
  14. package/esm/funcs/atsGetJobs.js +1 -1
  15. package/esm/funcs/atsGetJobs.js.map +1 -1
  16. package/esm/funcs/atsGetOffers.js +1 -1
  17. package/esm/funcs/atsGetOffers.js.map +1 -1
  18. package/esm/funcs/atsGetRejectionReasons.js +1 -1
  19. package/esm/funcs/atsGetRejectionReasons.js.map +1 -1
  20. package/esm/funcs/atsGetTags.js +1 -1
  21. package/esm/funcs/atsGetTags.js.map +1 -1
  22. package/esm/funcs/atsGetUsers.js +1 -1
  23. package/esm/funcs/atsGetUsers.js.map +1 -1
  24. package/esm/funcs/generalGetCustomFields.js +1 -1
  25. package/esm/funcs/generalGetCustomFields.js.map +1 -1
  26. package/esm/funcs/generalGetIntegrationFields.js +1 -1
  27. package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
  28. package/esm/funcs/generalSendPassthroughRequest.d.ts +9 -1
  29. package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
  30. package/esm/funcs/generalSendPassthroughRequest.js +9 -1
  31. package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
  32. package/esm/funcs/hrisGetAbsenceTypes.js +1 -1
  33. package/esm/funcs/hrisGetAbsenceTypes.js.map +1 -1
  34. package/esm/funcs/hrisGetAbsences.js +1 -1
  35. package/esm/funcs/hrisGetAbsences.js.map +1 -1
  36. package/esm/funcs/hrisGetEmployeeDocumentCategories.js +1 -1
  37. package/esm/funcs/hrisGetEmployeeDocumentCategories.js.map +1 -1
  38. package/esm/funcs/hrisGetEmployees.js +1 -1
  39. package/esm/funcs/hrisGetEmployees.js.map +1 -1
  40. package/esm/funcs/hrisGetEmployments.js +1 -1
  41. package/esm/funcs/hrisGetEmployments.js.map +1 -1
  42. package/esm/funcs/hrisGetGroups.js +1 -1
  43. package/esm/funcs/hrisGetGroups.js.map +1 -1
  44. package/esm/funcs/hrisGetLegalEntities.js +1 -1
  45. package/esm/funcs/hrisGetLegalEntities.js.map +1 -1
  46. package/esm/funcs/hrisGetLocations.js +1 -1
  47. package/esm/funcs/hrisGetLocations.js.map +1 -1
  48. package/esm/funcs/hrisGetPerformanceReviewCycles.js +1 -1
  49. package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
  50. package/esm/funcs/hrisGetPerformanceReviews.js +1 -1
  51. package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
  52. package/esm/funcs/hrisGetTimeOffBalances.js +1 -1
  53. package/esm/funcs/hrisGetTimeOffBalances.js.map +1 -1
  54. package/esm/funcs/hrisGetTimesheets.js +1 -1
  55. package/esm/funcs/hrisGetTimesheets.js.map +1 -1
  56. package/esm/lib/config.d.ts +3 -3
  57. package/esm/lib/config.js +3 -3
  58. package/esm/lib/encodings.d.ts +1 -0
  59. package/esm/lib/encodings.d.ts.map +1 -1
  60. package/esm/lib/encodings.js +12 -1
  61. package/esm/lib/encodings.js.map +1 -1
  62. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -5
  63. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  64. package/esm/models/assessmentorderreceivedwebhookpayload.js +2 -2
  65. package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
  66. package/esm/models/connectionflowfailedwebhookpayload.d.ts +4 -3
  67. package/esm/models/connectionflowfailedwebhookpayload.d.ts.map +1 -1
  68. package/esm/models/connectionflowfailedwebhookpayload.js +2 -1
  69. package/esm/models/connectionflowfailedwebhookpayload.js.map +1 -1
  70. package/esm/models/datachangedwebhookpayload.d.ts +11 -3
  71. package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
  72. package/esm/models/datachangedwebhookpayload.js +9 -1
  73. package/esm/models/datachangedwebhookpayload.js.map +1 -1
  74. package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -4
  75. package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
  76. package/esm/models/getassessmentordersopenpositiveresponse.js +1 -1
  77. package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
  78. package/esm/models/getatsjobspositiveresponse.d.ts +3 -3
  79. package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
  80. package/esm/models/getatsjobspositiveresponse.js +4 -4
  81. package/esm/models/getatsjobspositiveresponse.js.map +1 -1
  82. package/esm/models/gethrisemployeesformpositiveresponse.d.ts +2 -2
  83. package/esm/models/gethrisemployeesformpositiveresponse.d.ts.map +1 -1
  84. package/esm/models/gethrisemployeesformpositiveresponse.js +8 -8
  85. package/esm/models/gethrisemployeesformpositiveresponse.js.map +1 -1
  86. package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts +158 -16
  87. package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts.map +1 -1
  88. package/esm/models/getintegrationsintegrationidpositiveresponse.js +87 -13
  89. package/esm/models/getintegrationsintegrationidpositiveresponse.js.map +1 -1
  90. package/esm/models/gettoolscategoryparametercategory.d.ts +1 -0
  91. package/esm/models/gettoolscategoryparametercategory.d.ts.map +1 -1
  92. package/esm/models/gettoolscategoryparametercategory.js +1 -0
  93. package/esm/models/gettoolscategoryparametercategory.js.map +1 -1
  94. package/esm/models/gettoolscategorypositiveresponse.d.ts +66 -16
  95. package/esm/models/gettoolscategorypositiveresponse.d.ts.map +1 -1
  96. package/esm/models/gettoolscategorypositiveresponse.js +41 -14
  97. package/esm/models/gettoolscategorypositiveresponse.js.map +1 -1
  98. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -5
  99. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  100. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +2 -2
  101. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
  102. package/esm/models/integrationcreatedwebhookpayload.d.ts +1 -0
  103. package/esm/models/integrationcreatedwebhookpayload.d.ts.map +1 -1
  104. package/esm/models/integrationcreatedwebhookpayload.js +1 -0
  105. package/esm/models/integrationcreatedwebhookpayload.js.map +1 -1
  106. package/esm/models/integrationdeletedwebhookpayload.d.ts +1 -0
  107. package/esm/models/integrationdeletedwebhookpayload.d.ts.map +1 -1
  108. package/esm/models/integrationdeletedwebhookpayload.js +1 -0
  109. package/esm/models/integrationdeletedwebhookpayload.js.map +1 -1
  110. package/esm/models/integrationstatechangedwebhookpayload.d.ts +4 -3
  111. package/esm/models/integrationstatechangedwebhookpayload.d.ts.map +1 -1
  112. package/esm/models/integrationstatechangedwebhookpayload.js +2 -1
  113. package/esm/models/integrationstatechangedwebhookpayload.js.map +1 -1
  114. package/esm/models/kombohriserror.d.ts +1 -0
  115. package/esm/models/kombohriserror.d.ts.map +1 -1
  116. package/esm/models/kombohriserror.js +1 -0
  117. package/esm/models/kombohriserror.js.map +1 -1
  118. package/esm/models/postatscandidatesrequestbody.d.ts +27 -0
  119. package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
  120. package/esm/models/postatscandidatesrequestbody.js +10 -0
  121. package/esm/models/postatscandidatesrequestbody.js.map +1 -1
  122. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +27 -0
  123. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
  124. package/esm/models/postatsjobsjobidapplicationsrequestbody.js +9 -0
  125. package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
  126. package/esm/models/postconnectcreatelinkrequestbody.d.ts +5 -0
  127. package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
  128. package/esm/models/postconnectcreatelinkrequestbody.js +5 -0
  129. package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
  130. package/esm/models/posthrisemployeesformpositiveresponse.d.ts +15 -3
  131. package/esm/models/posthrisemployeesformpositiveresponse.d.ts.map +1 -1
  132. package/esm/models/posthrisemployeesformpositiveresponse.js +8 -1
  133. package/esm/models/posthrisemployeesformpositiveresponse.js.map +1 -1
  134. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +4 -4
  135. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
  136. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +2 -2
  137. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
  138. package/esm/models/schema1union1.d.ts +1 -1
  139. package/esm/models/schema1union1.d.ts.map +1 -1
  140. package/esm/models/schema1union1.js +4 -4
  141. package/esm/models/schema1union1.js.map +1 -1
  142. package/esm/models/schema1union2.d.ts +1 -1
  143. package/esm/models/schema1union2.d.ts.map +1 -1
  144. package/esm/models/schema1union2.js +4 -4
  145. package/esm/models/schema1union2.js.map +1 -1
  146. package/esm/models/schema2union1.d.ts +2 -2
  147. package/esm/models/schema2union1.d.ts.map +1 -1
  148. package/esm/models/schema2union1.js +8 -8
  149. package/esm/models/schema2union1.js.map +1 -1
  150. package/esm/models/schema2union2.d.ts +2 -2
  151. package/esm/models/schema2union2.d.ts.map +1 -1
  152. package/esm/models/schema2union2.js +8 -8
  153. package/esm/models/schema2union2.js.map +1 -1
  154. package/esm/models/syncfinishedwebhookpayload.d.ts +4 -3
  155. package/esm/models/syncfinishedwebhookpayload.d.ts.map +1 -1
  156. package/esm/models/syncfinishedwebhookpayload.js +2 -1
  157. package/esm/models/syncfinishedwebhookpayload.js.map +1 -1
  158. package/esm/sdk/general.d.ts +9 -1
  159. package/esm/sdk/general.d.ts.map +1 -1
  160. package/esm/sdk/general.js +9 -1
  161. package/esm/sdk/general.js.map +1 -1
  162. package/esm/types/unrecognized.d.ts +7 -1
  163. package/esm/types/unrecognized.d.ts.map +1 -1
  164. package/esm/types/unrecognized.js +9 -1
  165. package/esm/types/unrecognized.js.map +1 -1
  166. package/examples/package-lock.json +1 -1
  167. package/jsr.json +1 -1
  168. package/package.json +1 -1
  169. package/src/funcs/assessmentGetOpenOrders.ts +1 -1
  170. package/src/funcs/atsGetApplicationStages.ts +1 -1
  171. package/src/funcs/atsGetApplications.ts +1 -1
  172. package/src/funcs/atsGetCandidates.ts +1 -1
  173. package/src/funcs/atsGetInterviews.ts +1 -1
  174. package/src/funcs/atsGetJobs.ts +1 -1
  175. package/src/funcs/atsGetOffers.ts +1 -1
  176. package/src/funcs/atsGetRejectionReasons.ts +1 -1
  177. package/src/funcs/atsGetTags.ts +1 -1
  178. package/src/funcs/atsGetUsers.ts +1 -1
  179. package/src/funcs/generalGetCustomFields.ts +1 -1
  180. package/src/funcs/generalGetIntegrationFields.ts +1 -1
  181. package/src/funcs/generalSendPassthroughRequest.ts +9 -1
  182. package/src/funcs/hrisGetAbsenceTypes.ts +1 -1
  183. package/src/funcs/hrisGetAbsences.ts +1 -1
  184. package/src/funcs/hrisGetEmployeeDocumentCategories.ts +1 -1
  185. package/src/funcs/hrisGetEmployees.ts +1 -1
  186. package/src/funcs/hrisGetEmployments.ts +1 -1
  187. package/src/funcs/hrisGetGroups.ts +1 -1
  188. package/src/funcs/hrisGetLegalEntities.ts +1 -1
  189. package/src/funcs/hrisGetLocations.ts +1 -1
  190. package/src/funcs/hrisGetPerformanceReviewCycles.ts +1 -1
  191. package/src/funcs/hrisGetPerformanceReviews.ts +1 -1
  192. package/src/funcs/hrisGetTimeOffBalances.ts +1 -1
  193. package/src/funcs/hrisGetTimesheets.ts +1 -1
  194. package/src/lib/config.ts +3 -3
  195. package/src/lib/encodings.ts +17 -3
  196. package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -7
  197. package/src/models/connectionflowfailedwebhookpayload.ts +4 -3
  198. package/src/models/datachangedwebhookpayload.ts +11 -3
  199. package/src/models/getassessmentordersopenpositiveresponse.ts +5 -5
  200. package/src/models/getatsjobspositiveresponse.ts +9 -9
  201. package/src/models/gethrisemployeesformpositiveresponse.ts +18 -18
  202. package/src/models/getintegrationsintegrationidpositiveresponse.ts +292 -44
  203. package/src/models/gettoolscategoryparametercategory.ts +1 -0
  204. package/src/models/gettoolscategorypositiveresponse.ts +160 -48
  205. package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -7
  206. package/src/models/integrationcreatedwebhookpayload.ts +1 -0
  207. package/src/models/integrationdeletedwebhookpayload.ts +1 -0
  208. package/src/models/integrationstatechangedwebhookpayload.ts +4 -3
  209. package/src/models/kombohriserror.ts +1 -0
  210. package/src/models/postatscandidatesrequestbody.ts +44 -0
  211. package/src/models/postatsjobsjobidapplicationsrequestbody.ts +49 -0
  212. package/src/models/postconnectcreatelinkrequestbody.ts +5 -0
  213. package/src/models/posthrisemployeesformpositiveresponse.ts +30 -4
  214. package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +7 -7
  215. package/src/models/schema1union1.ts +9 -9
  216. package/src/models/schema1union2.ts +9 -9
  217. package/src/models/schema2union1.ts +18 -18
  218. package/src/models/schema2union2.ts +18 -18
  219. package/src/models/syncfinishedwebhookpayload.ts +4 -3
  220. package/src/sdk/general.ts +9 -1
  221. package/src/types/unrecognized.ts +9 -1
  222. package/tests/basic-behavior.spec.ts +355 -2
  223. package/tests/helpers/test-context.ts +5 -2
  224. package/tsconfig.json +1 -2
@@ -32,6 +32,7 @@ export const GetIntegrationsIntegrationIdPositiveResponseCategory = {
32
32
  Hris: "HRIS",
33
33
  Ats: "ATS",
34
34
  Assessment: "ASSESSMENT",
35
+ Lms: "LMS",
35
36
  } as const;
36
37
  export type GetIntegrationsIntegrationIdPositiveResponseCategory = ClosedEnum<
37
38
  typeof GetIntegrationsIntegrationIdPositiveResponseCategory
@@ -114,12 +115,13 @@ export type ScopeConfig = {
114
115
  * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
115
116
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
116
117
  */
117
- export const GetIntegrationsIntegrationIdPositiveResponseCoverageStatus = {
118
- Supported: "SUPPORTED",
119
- Unsupported: "UNSUPPORTED",
120
- NotImplemented: "NOT_IMPLEMENTED",
121
- Unknown: "UNKNOWN",
122
- } as const;
118
+ export const GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus =
119
+ {
120
+ Supported: "SUPPORTED",
121
+ Unsupported: "UNSUPPORTED",
122
+ NotImplemented: "NOT_IMPLEMENTED",
123
+ Unknown: "UNKNOWN",
124
+ } as const;
123
125
  /**
124
126
  * The status of a datapoint of an integrated tool:
125
127
  *
@@ -130,13 +132,15 @@ export const GetIntegrationsIntegrationIdPositiveResponseCoverageStatus = {
130
132
  * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
131
133
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
132
134
  */
133
- export type GetIntegrationsIntegrationIdPositiveResponseCoverageStatus =
134
- ClosedEnum<typeof GetIntegrationsIntegrationIdPositiveResponseCoverageStatus>;
135
+ export type GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus =
136
+ ClosedEnum<
137
+ typeof GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus
138
+ >;
135
139
 
136
140
  /**
137
141
  * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
138
142
  */
139
- export const ScopeConfigSetting = {
143
+ export const ReadModelScopeConfigSetting = {
140
144
  Enabled: "ENABLED",
141
145
  Disabled: "DISABLED",
142
146
  Optional: "OPTIONAL",
@@ -144,7 +148,9 @@ export const ScopeConfigSetting = {
144
148
  /**
145
149
  * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
146
150
  */
147
- export type ScopeConfigSetting = ClosedEnum<typeof ScopeConfigSetting>;
151
+ export type ReadModelScopeConfigSetting = ClosedEnum<
152
+ typeof ReadModelScopeConfigSetting
153
+ >;
148
154
 
149
155
  /**
150
156
  * The status of a datapoint of an integrated tool:
@@ -156,12 +162,13 @@ export type ScopeConfigSetting = ClosedEnum<typeof ScopeConfigSetting>;
156
162
  * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
157
163
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
158
164
  */
159
- export const GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus = {
160
- Supported: "SUPPORTED",
161
- Unsupported: "UNSUPPORTED",
162
- NotImplemented: "NOT_IMPLEMENTED",
163
- Unknown: "UNKNOWN",
164
- } as const;
165
+ export const GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus =
166
+ {
167
+ Supported: "SUPPORTED",
168
+ Unsupported: "UNSUPPORTED",
169
+ NotImplemented: "NOT_IMPLEMENTED",
170
+ Unknown: "UNKNOWN",
171
+ } as const;
165
172
  /**
166
173
  * The status of a datapoint of an integrated tool:
167
174
  *
@@ -172,9 +179,9 @@ export const GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus = {
172
179
  * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
173
180
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
174
181
  */
175
- export type GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus =
182
+ export type GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus =
176
183
  ClosedEnum<
177
- typeof GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus
184
+ typeof GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus
178
185
  >;
179
186
 
180
187
  /**
@@ -192,7 +199,7 @@ export type FieldScopeConfigSetting = ClosedEnum<
192
199
  typeof FieldScopeConfigSetting
193
200
  >;
194
201
 
195
- export type GetIntegrationsIntegrationIdPositiveResponseField = {
202
+ export type GetIntegrationsIntegrationIdPositiveResponseReadModelField = {
196
203
  /**
197
204
  * Key of the field in the API (e.g. first_name).
198
205
  */
@@ -212,7 +219,7 @@ export type GetIntegrationsIntegrationIdPositiveResponseField = {
212
219
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
213
220
  */
214
221
  coverage_status:
215
- GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus;
222
+ GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus;
216
223
  /**
217
224
  * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
218
225
  */
@@ -246,16 +253,158 @@ export type GetIntegrationsIntegrationIdPositiveResponseReadModel = {
246
253
  * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
247
254
  * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
248
255
  */
249
- coverage_status: GetIntegrationsIntegrationIdPositiveResponseCoverageStatus;
256
+ coverage_status:
257
+ GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus;
258
+ /**
259
+ * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
260
+ */
261
+ scope_config_setting: ReadModelScopeConfigSetting;
262
+ /**
263
+ * Whether the datapoint is opted out by your customer in the connection flow.
264
+ */
265
+ opted_out_by_customer: boolean;
266
+ fields: Array<GetIntegrationsIntegrationIdPositiveResponseReadModelField>;
267
+ };
268
+
269
+ /**
270
+ * The status of a datapoint of an integrated tool:
271
+ *
272
+ * @remarks
273
+ *
274
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
275
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
276
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
277
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
278
+ */
279
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus =
280
+ {
281
+ Supported: "SUPPORTED",
282
+ Unsupported: "UNSUPPORTED",
283
+ NotImplemented: "NOT_IMPLEMENTED",
284
+ Unknown: "UNKNOWN",
285
+ } as const;
286
+ /**
287
+ * The status of a datapoint of an integrated tool:
288
+ *
289
+ * @remarks
290
+ *
291
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
292
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
293
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
294
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
295
+ */
296
+ export type GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus =
297
+ ClosedEnum<
298
+ typeof GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus
299
+ >;
300
+
301
+ /**
302
+ * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
303
+ */
304
+ export const WriteActionScopeConfigSetting = {
305
+ Enabled: "ENABLED",
306
+ Disabled: "DISABLED",
307
+ Optional: "OPTIONAL",
308
+ } as const;
309
+ /**
310
+ * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
311
+ */
312
+ export type WriteActionScopeConfigSetting = ClosedEnum<
313
+ typeof WriteActionScopeConfigSetting
314
+ >;
315
+
316
+ /**
317
+ * The status of a datapoint of an integrated tool:
318
+ *
319
+ * @remarks
320
+ *
321
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
322
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
323
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
324
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
325
+ */
326
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus =
327
+ {
328
+ Supported: "SUPPORTED",
329
+ Unsupported: "UNSUPPORTED",
330
+ NotImplemented: "NOT_IMPLEMENTED",
331
+ Unknown: "UNKNOWN",
332
+ } as const;
333
+ /**
334
+ * The status of a datapoint of an integrated tool:
335
+ *
336
+ * @remarks
337
+ *
338
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
339
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
340
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
341
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
342
+ */
343
+ export type GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus =
344
+ ClosedEnum<
345
+ typeof GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus
346
+ >;
347
+
348
+ export type GetIntegrationsIntegrationIdPositiveResponseWriteActionField = {
349
+ /**
350
+ * Key of the input field (e.g. candidate.first_name).
351
+ */
352
+ id: string;
353
+ /**
354
+ * Whether the datapoint is available and enabled and not opted out of.
355
+ */
356
+ is_available: boolean;
357
+ /**
358
+ * The status of a datapoint of an integrated tool:
359
+ *
360
+ * @remarks
361
+ *
362
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
363
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
364
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
365
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
366
+ */
367
+ coverage_status:
368
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus;
369
+ };
370
+
371
+ export type GetIntegrationsIntegrationIdPositiveResponseWriteAction = {
372
+ /**
373
+ * ID of the action (e.g. ats_create_candidate).
374
+ */
375
+ id: string;
376
+ /**
377
+ * Label of the action (e.g. Create candidate).
378
+ */
379
+ label: string;
380
+ /**
381
+ * Whether the datapoint is available and enabled and not opted out of.
382
+ */
383
+ is_available: boolean;
384
+ /**
385
+ * The status of a datapoint of an integrated tool:
386
+ *
387
+ * @remarks
388
+ *
389
+ * - `SUPPORTED`: the tool supports the datapoint and it can be used through Kombo.
390
+ * - `UNSUPPORTED`: the tool does not support the datapoint.
391
+ * - `NOT_IMPLEMENTED`: tool supports the datapoint but it was not integrated by Kombo for a given reason (see coverage grid).
392
+ * - `UNKNOWN`: the datapoint is not integrated yet and Kombo has no information about it's availability in the tool.
393
+ */
394
+ coverage_status:
395
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus;
250
396
  /**
251
397
  * The setting of the datapoint in the scope config that you configured in the Kombo dashboard.
252
398
  */
253
- scope_config_setting: ScopeConfigSetting;
399
+ scope_config_setting: WriteActionScopeConfigSetting;
254
400
  /**
255
401
  * Whether the datapoint is opted out by your customer in the connection flow.
256
402
  */
257
403
  opted_out_by_customer: boolean;
258
- fields: Array<GetIntegrationsIntegrationIdPositiveResponseField>;
404
+ /**
405
+ * Field support status for the action. Please note that action fields can't be configured in the scope config or opted out by your customer.
406
+ */
407
+ fields: Array<GetIntegrationsIntegrationIdPositiveResponseWriteActionField>;
259
408
  };
260
409
 
261
410
  export type GetIntegrationsIntegrationIdPositiveResponseData = {
@@ -284,12 +433,17 @@ export type GetIntegrationsIntegrationIdPositiveResponseData = {
284
433
  setup_status: GetIntegrationsIntegrationIdPositiveResponseSetupStatus;
285
434
  end_user: GetIntegrationsIntegrationIdPositiveResponseEndUser;
286
435
  scope_config: ScopeConfig;
436
+ /**
437
+ * The date when the integration configuration (e.g. filters, scope config) was changed, invalidating the synced data. It is cleared after a successful sync. If this field is `null` the data you fetch is valid to the state of the last sync or webhook event received. Otherwise it will be set to `null` with the next successful sync.
438
+ */
439
+ data_expired_at: Date | null;
287
440
  /**
288
441
  * YYYY-MM-DDTHH:mm:ss.sssZ
289
442
  */
290
443
  created_at: Date;
291
444
  beta: boolean;
292
445
  read_models: Array<GetIntegrationsIntegrationIdPositiveResponseReadModel>;
446
+ write_actions: Array<GetIntegrationsIntegrationIdPositiveResponseWriteAction>;
293
447
  };
294
448
 
295
449
  export type GetIntegrationsIntegrationIdPositiveResponse = {
@@ -392,22 +546,24 @@ export function scopeConfigFromJSON(
392
546
  }
393
547
 
394
548
  /** @internal */
395
- export const GetIntegrationsIntegrationIdPositiveResponseCoverageStatus$inboundSchema:
549
+ export const GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus$inboundSchema:
396
550
  z.ZodNativeEnum<
397
- typeof GetIntegrationsIntegrationIdPositiveResponseCoverageStatus
398
- > = z.nativeEnum(GetIntegrationsIntegrationIdPositiveResponseCoverageStatus);
551
+ typeof GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus
552
+ > = z.nativeEnum(
553
+ GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus,
554
+ );
399
555
 
400
556
  /** @internal */
401
- export const ScopeConfigSetting$inboundSchema: z.ZodNativeEnum<
402
- typeof ScopeConfigSetting
403
- > = z.nativeEnum(ScopeConfigSetting);
557
+ export const ReadModelScopeConfigSetting$inboundSchema: z.ZodNativeEnum<
558
+ typeof ReadModelScopeConfigSetting
559
+ > = z.nativeEnum(ReadModelScopeConfigSetting);
404
560
 
405
561
  /** @internal */
406
- export const GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus$inboundSchema:
562
+ export const GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus$inboundSchema:
407
563
  z.ZodNativeEnum<
408
- typeof GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus
564
+ typeof GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus
409
565
  > = z.nativeEnum(
410
- GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus,
566
+ GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus,
411
567
  );
412
568
 
413
569
  /** @internal */
@@ -416,33 +572,32 @@ export const FieldScopeConfigSetting$inboundSchema: z.ZodNativeEnum<
416
572
  > = z.nativeEnum(FieldScopeConfigSetting);
417
573
 
418
574
  /** @internal */
419
- export const GetIntegrationsIntegrationIdPositiveResponseField$inboundSchema:
575
+ export const GetIntegrationsIntegrationIdPositiveResponseReadModelField$inboundSchema:
420
576
  z.ZodType<
421
- GetIntegrationsIntegrationIdPositiveResponseField,
577
+ GetIntegrationsIntegrationIdPositiveResponseReadModelField,
422
578
  z.ZodTypeDef,
423
579
  unknown
424
580
  > = z.object({
425
581
  id: z.string(),
426
582
  is_available: z.boolean(),
427
583
  coverage_status:
428
- GetIntegrationsIntegrationIdPositiveResponseFieldCoverageStatus$inboundSchema,
584
+ GetIntegrationsIntegrationIdPositiveResponseReadModelFieldCoverageStatus$inboundSchema,
429
585
  scope_config_setting: FieldScopeConfigSetting$inboundSchema,
430
586
  opted_out_by_customer: z.boolean(),
431
587
  });
432
588
 
433
- export function getIntegrationsIntegrationIdPositiveResponseFieldFromJSON(
589
+ export function getIntegrationsIntegrationIdPositiveResponseReadModelFieldFromJSON(
434
590
  jsonString: string,
435
591
  ): SafeParseResult<
436
- GetIntegrationsIntegrationIdPositiveResponseField,
592
+ GetIntegrationsIntegrationIdPositiveResponseReadModelField,
437
593
  SDKValidationError
438
594
  > {
439
595
  return safeParse(
440
596
  jsonString,
441
597
  (x) =>
442
- GetIntegrationsIntegrationIdPositiveResponseField$inboundSchema.parse(
443
- JSON.parse(x),
444
- ),
445
- `Failed to parse 'GetIntegrationsIntegrationIdPositiveResponseField' from JSON`,
598
+ GetIntegrationsIntegrationIdPositiveResponseReadModelField$inboundSchema
599
+ .parse(JSON.parse(x)),
600
+ `Failed to parse 'GetIntegrationsIntegrationIdPositiveResponseReadModelField' from JSON`,
446
601
  );
447
602
  }
448
603
 
@@ -457,12 +612,12 @@ export const GetIntegrationsIntegrationIdPositiveResponseReadModel$inboundSchema
457
612
  label: z.string(),
458
613
  is_available: z.boolean(),
459
614
  coverage_status:
460
- GetIntegrationsIntegrationIdPositiveResponseCoverageStatus$inboundSchema,
461
- scope_config_setting: ScopeConfigSetting$inboundSchema,
615
+ GetIntegrationsIntegrationIdPositiveResponseReadModelCoverageStatus$inboundSchema,
616
+ scope_config_setting: ReadModelScopeConfigSetting$inboundSchema,
462
617
  opted_out_by_customer: z.boolean(),
463
618
  fields: z.array(
464
619
  z.lazy(() =>
465
- GetIntegrationsIntegrationIdPositiveResponseField$inboundSchema
620
+ GetIntegrationsIntegrationIdPositiveResponseReadModelField$inboundSchema
466
621
  ),
467
622
  ),
468
623
  });
@@ -483,6 +638,91 @@ export function getIntegrationsIntegrationIdPositiveResponseReadModelFromJSON(
483
638
  );
484
639
  }
485
640
 
641
+ /** @internal */
642
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus$inboundSchema:
643
+ z.ZodNativeEnum<
644
+ typeof GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus
645
+ > = z.nativeEnum(
646
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus,
647
+ );
648
+
649
+ /** @internal */
650
+ export const WriteActionScopeConfigSetting$inboundSchema: z.ZodNativeEnum<
651
+ typeof WriteActionScopeConfigSetting
652
+ > = z.nativeEnum(WriteActionScopeConfigSetting);
653
+
654
+ /** @internal */
655
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus$inboundSchema:
656
+ z.ZodNativeEnum<
657
+ typeof GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus
658
+ > = z.nativeEnum(
659
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus,
660
+ );
661
+
662
+ /** @internal */
663
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteActionField$inboundSchema:
664
+ z.ZodType<
665
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionField,
666
+ z.ZodTypeDef,
667
+ unknown
668
+ > = z.object({
669
+ id: z.string(),
670
+ is_available: z.boolean(),
671
+ coverage_status:
672
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionFieldCoverageStatus$inboundSchema,
673
+ });
674
+
675
+ export function getIntegrationsIntegrationIdPositiveResponseWriteActionFieldFromJSON(
676
+ jsonString: string,
677
+ ): SafeParseResult<
678
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionField,
679
+ SDKValidationError
680
+ > {
681
+ return safeParse(
682
+ jsonString,
683
+ (x) =>
684
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionField$inboundSchema
685
+ .parse(JSON.parse(x)),
686
+ `Failed to parse 'GetIntegrationsIntegrationIdPositiveResponseWriteActionField' from JSON`,
687
+ );
688
+ }
689
+
690
+ /** @internal */
691
+ export const GetIntegrationsIntegrationIdPositiveResponseWriteAction$inboundSchema:
692
+ z.ZodType<
693
+ GetIntegrationsIntegrationIdPositiveResponseWriteAction,
694
+ z.ZodTypeDef,
695
+ unknown
696
+ > = z.object({
697
+ id: z.string(),
698
+ label: z.string(),
699
+ is_available: z.boolean(),
700
+ coverage_status:
701
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionCoverageStatus$inboundSchema,
702
+ scope_config_setting: WriteActionScopeConfigSetting$inboundSchema,
703
+ opted_out_by_customer: z.boolean(),
704
+ fields: z.array(
705
+ z.lazy(() =>
706
+ GetIntegrationsIntegrationIdPositiveResponseWriteActionField$inboundSchema
707
+ ),
708
+ ),
709
+ });
710
+
711
+ export function getIntegrationsIntegrationIdPositiveResponseWriteActionFromJSON(
712
+ jsonString: string,
713
+ ): SafeParseResult<
714
+ GetIntegrationsIntegrationIdPositiveResponseWriteAction,
715
+ SDKValidationError
716
+ > {
717
+ return safeParse(
718
+ jsonString,
719
+ (x) =>
720
+ GetIntegrationsIntegrationIdPositiveResponseWriteAction$inboundSchema
721
+ .parse(JSON.parse(x)),
722
+ `Failed to parse 'GetIntegrationsIntegrationIdPositiveResponseWriteAction' from JSON`,
723
+ );
724
+ }
725
+
486
726
  /** @internal */
487
727
  export const GetIntegrationsIntegrationIdPositiveResponseData$inboundSchema:
488
728
  z.ZodType<
@@ -503,6 +743,9 @@ export const GetIntegrationsIntegrationIdPositiveResponseData$inboundSchema:
503
743
  GetIntegrationsIntegrationIdPositiveResponseEndUser$inboundSchema
504
744
  ),
505
745
  scope_config: z.lazy(() => ScopeConfig$inboundSchema),
746
+ data_expired_at: z.nullable(
747
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
748
+ ),
506
749
  created_at: z.string().datetime({ offset: true }).transform(v =>
507
750
  new Date(v)
508
751
  ),
@@ -512,6 +755,11 @@ export const GetIntegrationsIntegrationIdPositiveResponseData$inboundSchema:
512
755
  GetIntegrationsIntegrationIdPositiveResponseReadModel$inboundSchema
513
756
  ),
514
757
  ),
758
+ write_actions: z.array(
759
+ z.lazy(() =>
760
+ GetIntegrationsIntegrationIdPositiveResponseWriteAction$inboundSchema
761
+ ),
762
+ ),
515
763
  });
516
764
 
517
765
  export function getIntegrationsIntegrationIdPositiveResponseDataFromJSON(
@@ -9,6 +9,7 @@ export const GetToolsCategoryParameterCategory = {
9
9
  Hris: "hris",
10
10
  Ats: "ats",
11
11
  Assessment: "assessment",
12
+ Lms: "lms",
12
13
  } as const;
13
14
  export type GetToolsCategoryParameterCategory = ClosedEnum<
14
15
  typeof GetToolsCategoryParameterCategory