@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
@@ -102,8 +102,9 @@ export function encodeLabel(
102
102
  });
103
103
  encValue = mapped?.join("").slice(1);
104
104
  } else {
105
- const k =
106
- options?.explode && isPlainObject(value) ? `${encodeString(pk)}=` : "";
105
+ const k = options?.explode && isPlainObject(value)
106
+ ? `${encodeString(pk)}=`
107
+ : "";
107
108
  encValue = `${k}${encodeValue(pv)}`;
108
109
  }
109
110
 
@@ -426,6 +427,7 @@ export function queryJoin(...args: (string | undefined)[]): string {
426
427
  type QueryEncoderOptions = {
427
428
  explode?: boolean;
428
429
  charEncoding?: "percent" | "none";
430
+ allowEmptyValue?: string[];
429
431
  };
430
432
 
431
433
  type QueryEncoder = (
@@ -440,7 +442,7 @@ type BulkQueryEncoder = (
440
442
  ) => string;
441
443
 
442
444
  export function queryEncoder(f: QueryEncoder): BulkQueryEncoder {
443
- const bulkEncode = function (
445
+ const bulkEncode = function(
444
446
  values: Record<string, unknown>,
445
447
  options?: QueryEncoderOptions,
446
448
  ): string {
@@ -450,7 +452,19 @@ export function queryEncoder(f: QueryEncoder): BulkQueryEncoder {
450
452
  charEncoding: options?.charEncoding ?? "percent",
451
453
  };
452
454
 
455
+ const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
456
+
453
457
  const encoded = Object.entries(values).map(([key, value]) => {
458
+ if (allowEmptySet.has(key)) {
459
+ if (
460
+ value === undefined
461
+ || value === null
462
+ || value === ""
463
+ || (Array.isArray(value) && value.length === 0)
464
+ ) {
465
+ return `${encodeURIComponent(key)}=`;
466
+ }
467
+ }
454
468
  return f(key, value, opts);
455
469
  });
456
470
  return queryJoin(...encoded);
@@ -41,6 +41,10 @@ export type AssessmentOrderReceivedWebhookPayloadStatus = ClosedEnum<
41
41
  * Information about the candidate taking the assessment.
42
42
  */
43
43
  export type AssessmentOrderReceivedWebhookPayloadCandidate = {
44
+ /**
45
+ * The candidate's identifier in the integrated system.
46
+ */
47
+ remote_id?: string | null | undefined;
44
48
  /**
45
49
  * The candidate's email address.
46
50
  */
@@ -57,10 +61,6 @@ export type AssessmentOrderReceivedWebhookPayloadCandidate = {
57
61
  * The candidate's phone number.
58
62
  */
59
63
  phone?: string | null | undefined;
60
- /**
61
- * The candidate's identifier in the integrated system.
62
- */
63
- remote_id?: string | null | undefined;
64
64
  };
65
65
 
66
66
  /**
@@ -219,19 +219,19 @@ export const AssessmentOrderReceivedWebhookPayloadCandidate$inboundSchema:
219
219
  z.ZodTypeDef,
220
220
  unknown
221
221
  > = z.object({
222
+ remote_id: z.nullable(z.string()).optional(),
222
223
  email: z.string(),
223
224
  first_name: z.nullable(z.string()).optional(),
224
225
  last_name: z.nullable(z.string()).optional(),
225
226
  phone: z.nullable(z.string()).optional(),
226
- remote_id: z.nullable(z.string()).optional(),
227
227
  });
228
228
  /** @internal */
229
229
  export type AssessmentOrderReceivedWebhookPayloadCandidate$Outbound = {
230
+ remote_id?: string | null | undefined;
230
231
  email: string;
231
232
  first_name?: string | null | undefined;
232
233
  last_name?: string | null | undefined;
233
234
  phone?: string | null | undefined;
234
- remote_id?: string | null | undefined;
235
235
  };
236
236
 
237
237
  /** @internal */
@@ -241,11 +241,11 @@ export const AssessmentOrderReceivedWebhookPayloadCandidate$outboundSchema:
241
241
  z.ZodTypeDef,
242
242
  AssessmentOrderReceivedWebhookPayloadCandidate
243
243
  > = z.object({
244
+ remote_id: z.nullable(z.string()).optional(),
244
245
  email: z.string(),
245
246
  first_name: z.nullable(z.string()).optional(),
246
247
  last_name: z.nullable(z.string()).optional(),
247
248
  phone: z.nullable(z.string()).optional(),
248
- remote_id: z.nullable(z.string()).optional(),
249
249
  });
250
250
 
251
251
  export function assessmentOrderReceivedWebhookPayloadCandidateToJSON(
@@ -22,15 +22,16 @@ export type ConnectionFlowFailedWebhookPayloadType = ClosedEnum<
22
22
  >;
23
23
 
24
24
  /**
25
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
25
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
26
26
  */
27
27
  export const ConnectionFlowFailedWebhookPayloadIntegrationCategory = {
28
28
  Hris: "HRIS",
29
29
  Ats: "ATS",
30
30
  Assessment: "ASSESSMENT",
31
+ Lms: "LMS",
31
32
  } as const;
32
33
  /**
33
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
34
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
34
35
  */
35
36
  export type ConnectionFlowFailedWebhookPayloadIntegrationCategory = ClosedEnum<
36
37
  typeof ConnectionFlowFailedWebhookPayloadIntegrationCategory
@@ -60,7 +61,7 @@ export type ConnectionFlowFailedWebhookPayloadData = {
60
61
  */
61
62
  integration_tool: string;
62
63
  /**
63
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
64
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
64
65
  */
65
66
  integration_category: ConnectionFlowFailedWebhookPayloadIntegrationCategory;
66
67
  /**
@@ -22,15 +22,16 @@ export type DataChangedWebhookPayloadType = ClosedEnum<
22
22
  >;
23
23
 
24
24
  /**
25
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
25
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
26
26
  */
27
27
  export const DataChangedWebhookPayloadIntegrationCategory = {
28
28
  Hris: "HRIS",
29
29
  Ats: "ATS",
30
30
  Assessment: "ASSESSMENT",
31
+ Lms: "LMS",
31
32
  } as const;
32
33
  /**
33
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
34
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
34
35
  */
35
36
  export type DataChangedWebhookPayloadIntegrationCategory = ClosedEnum<
36
37
  typeof DataChangedWebhookPayloadIntegrationCategory
@@ -63,12 +64,19 @@ export const Name = {
63
64
  AtsInterviews: "ats_interviews",
64
65
  AtsOffers: "ats_offers",
65
66
  AtsRejectionReasons: "ats_rejection_reasons",
67
+ LmsUsers: "lms_users",
68
+ LmsCourseProviders: "lms_course_providers",
69
+ LmsCourses: "lms_courses",
70
+ LmsCourseProgressions: "lms_course_progressions",
71
+ LmsCourseRevisions: "lms_course_revisions",
72
+ LmsSkills: "lms_skills",
66
73
  HrisJoinEmployeesTeams: "hris_join_employees_teams",
67
74
  AtsJoinCandidatesTags: "ats_join_candidates_tags",
68
75
  AtsJoinJobsApplicationStages: "ats_join_jobs_application_stages",
69
76
  AtsJoinJobsScreeningQuestions: "ats_join_jobs_screening_questions",
70
77
  AtsJoinJobsUsers: "ats_join_jobs_users",
71
78
  AtsJoinInterviewsUsers: "ats_join_interviews_users",
79
+ LmsJoinRevisionsSkills: "lms_join_revisions_skills",
72
80
  } as const;
73
81
  /**
74
82
  * The name of the Kombo model or connection that changed.
@@ -95,7 +103,7 @@ export type DataChangedWebhookPayloadData = {
95
103
  */
96
104
  integration_tool: string;
97
105
  /**
98
- * The category of the integration (HRIS, ATS, or ASSESSMENT).
106
+ * The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
99
107
  */
100
108
  integration_category: DataChangedWebhookPayloadIntegrationCategory;
101
109
  /**
@@ -12,6 +12,10 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
12
12
  * Information about the candidate taking the assessment.
13
13
  */
14
14
  export type GetAssessmentOrdersOpenPositiveResponseCandidate = {
15
+ /**
16
+ * The candidate's identifier in the integrated system.
17
+ */
18
+ remote_id?: string | null | undefined;
15
19
  /**
16
20
  * The candidate's email address.
17
21
  */
@@ -28,10 +32,6 @@ export type GetAssessmentOrdersOpenPositiveResponseCandidate = {
28
32
  * The candidate's phone number.
29
33
  */
30
34
  phone?: string | null | undefined;
31
- /**
32
- * The candidate's identifier in the integrated system.
33
- */
34
- remote_id?: string | null | undefined;
35
35
  };
36
36
 
37
37
  /**
@@ -164,11 +164,11 @@ export const GetAssessmentOrdersOpenPositiveResponseCandidate$inboundSchema:
164
164
  z.ZodTypeDef,
165
165
  unknown
166
166
  > = z.object({
167
+ remote_id: z.nullable(z.string()).optional(),
167
168
  email: z.string(),
168
169
  first_name: z.nullable(z.string()).optional(),
169
170
  last_name: z.nullable(z.string()).optional(),
170
171
  phone: z.nullable(z.string()).optional(),
171
- remote_id: z.nullable(z.string()).optional(),
172
172
  });
173
173
 
174
174
  export function getAssessmentOrdersOpenPositiveResponseCandidateFromJSON(
@@ -183,7 +183,7 @@ export const DisplayType2 = {
183
183
  export type DisplayType2 = ClosedEnum<typeof DisplayType2>;
184
184
 
185
185
  export type FormatNumber = {
186
- display_type?: DisplayType2 | null | undefined;
186
+ display_type: DisplayType2 | null;
187
187
  max?: number | null | undefined;
188
188
  min?: number | null | undefined;
189
189
  type: "NUMBER";
@@ -213,13 +213,13 @@ export type FormatText = {
213
213
  };
214
214
 
215
215
  export type Format =
216
- | FormatSingleSelect
217
- | FormatMultiSelect
218
216
  | FormatText
219
217
  | FormatNumber
220
218
  | FormatFile
219
+ | FormatSingleSelect
221
220
  | FormatBoolean
222
221
  | FormatDate
222
+ | FormatMultiSelect
223
223
  | FormatInformation
224
224
  | FormatUnknown;
225
225
 
@@ -257,13 +257,13 @@ export type ScreeningQuestion = {
257
257
  */
258
258
  description: string | null;
259
259
  format?:
260
- | FormatSingleSelect
261
- | FormatMultiSelect
262
260
  | FormatText
263
261
  | FormatNumber
264
262
  | FormatFile
263
+ | FormatSingleSelect
265
264
  | FormatBoolean
266
265
  | FormatDate
266
+ | FormatMultiSelect
267
267
  | FormatInformation
268
268
  | FormatUnknown
269
269
  | null
@@ -851,13 +851,13 @@ export function formatTextFromJSON(
851
851
  /** @internal */
852
852
  export const Format$inboundSchema: z.ZodType<Format, z.ZodTypeDef, unknown> = z
853
853
  .union([
854
- z.lazy(() => FormatSingleSelect$inboundSchema),
855
- z.lazy(() => FormatMultiSelect$inboundSchema),
856
854
  z.lazy(() => FormatText$inboundSchema),
857
855
  z.lazy(() => FormatNumber$inboundSchema),
858
856
  z.lazy(() => FormatFile$inboundSchema),
857
+ z.lazy(() => FormatSingleSelect$inboundSchema),
859
858
  z.lazy(() => FormatBoolean$inboundSchema),
860
859
  z.lazy(() => FormatDate$inboundSchema),
860
+ z.lazy(() => FormatMultiSelect$inboundSchema),
861
861
  z.lazy(() => FormatInformation$inboundSchema),
862
862
  z.lazy(() => FormatUnknown$inboundSchema),
863
863
  ]);
@@ -906,13 +906,13 @@ export const ScreeningQuestion$inboundSchema: z.ZodType<
906
906
  description: z.nullable(z.string()),
907
907
  format: z.nullable(
908
908
  z.union([
909
- z.lazy(() => FormatSingleSelect$inboundSchema),
910
- z.lazy(() => FormatMultiSelect$inboundSchema),
911
909
  z.lazy(() => FormatText$inboundSchema),
912
910
  z.lazy(() => FormatNumber$inboundSchema),
913
911
  z.lazy(() => FormatFile$inboundSchema),
912
+ z.lazy(() => FormatSingleSelect$inboundSchema),
914
913
  z.lazy(() => FormatBoolean$inboundSchema),
915
914
  z.lazy(() => FormatDate$inboundSchema),
915
+ z.lazy(() => FormatMultiSelect$inboundSchema),
916
916
  z.lazy(() => FormatInformation$inboundSchema),
917
917
  z.lazy(() => FormatUnknown$inboundSchema),
918
918
  ]),
@@ -384,28 +384,28 @@ export type PropertiesText = {
384
384
  };
385
385
 
386
386
  export type Properties =
387
+ | PropertiesText
388
+ | PropertiesNumber
389
+ | PropertiesDate
387
390
  | PropertiesSingleSelect
388
391
  | PropertiesMultiSelect
392
+ | PropertiesCheckbox
389
393
  | PropertiesObject
390
394
  | PropertiesArray
391
- | PropertiesFile
392
- | PropertiesText
393
- | PropertiesNumber
394
- | PropertiesDate
395
- | PropertiesCheckbox;
395
+ | PropertiesFile;
396
396
 
397
397
  export type GetHrisEmployeesFormPositiveResponseData = {
398
398
  properties: {
399
399
  [k: string]:
400
+ | PropertiesText
401
+ | PropertiesNumber
402
+ | PropertiesDate
400
403
  | PropertiesSingleSelect
401
404
  | PropertiesMultiSelect
405
+ | PropertiesCheckbox
402
406
  | PropertiesObject
403
407
  | PropertiesArray
404
- | PropertiesFile
405
- | PropertiesText
406
- | PropertiesNumber
407
- | PropertiesDate
408
- | PropertiesCheckbox;
408
+ | PropertiesFile;
409
409
  };
410
410
  };
411
411
 
@@ -1020,15 +1020,15 @@ export const Properties$inboundSchema: z.ZodType<
1020
1020
  z.ZodTypeDef,
1021
1021
  unknown
1022
1022
  > = z.union([
1023
+ z.lazy(() => PropertiesText$inboundSchema),
1024
+ z.lazy(() => PropertiesNumber$inboundSchema),
1025
+ z.lazy(() => PropertiesDate$inboundSchema),
1023
1026
  z.lazy(() => PropertiesSingleSelect$inboundSchema),
1024
1027
  z.lazy(() => PropertiesMultiSelect$inboundSchema),
1028
+ z.lazy(() => PropertiesCheckbox$inboundSchema),
1025
1029
  z.lazy(() => PropertiesObject$inboundSchema),
1026
1030
  z.lazy(() => PropertiesArray$inboundSchema),
1027
1031
  z.lazy(() => PropertiesFile$inboundSchema),
1028
- z.lazy(() => PropertiesText$inboundSchema),
1029
- z.lazy(() => PropertiesNumber$inboundSchema),
1030
- z.lazy(() => PropertiesDate$inboundSchema),
1031
- z.lazy(() => PropertiesCheckbox$inboundSchema),
1032
1032
  ]);
1033
1033
 
1034
1034
  export function propertiesFromJSON(
@@ -1049,15 +1049,15 @@ export const GetHrisEmployeesFormPositiveResponseData$inboundSchema: z.ZodType<
1049
1049
  > = z.object({
1050
1050
  properties: z.record(
1051
1051
  z.union([
1052
+ z.lazy(() => PropertiesText$inboundSchema),
1053
+ z.lazy(() => PropertiesNumber$inboundSchema),
1054
+ z.lazy(() => PropertiesDate$inboundSchema),
1052
1055
  z.lazy(() => PropertiesSingleSelect$inboundSchema),
1053
1056
  z.lazy(() => PropertiesMultiSelect$inboundSchema),
1057
+ z.lazy(() => PropertiesCheckbox$inboundSchema),
1054
1058
  z.lazy(() => PropertiesObject$inboundSchema),
1055
1059
  z.lazy(() => PropertiesArray$inboundSchema),
1056
1060
  z.lazy(() => PropertiesFile$inboundSchema),
1057
- z.lazy(() => PropertiesText$inboundSchema),
1058
- z.lazy(() => PropertiesNumber$inboundSchema),
1059
- z.lazy(() => PropertiesDate$inboundSchema),
1060
- z.lazy(() => PropertiesCheckbox$inboundSchema),
1061
1061
  ]),
1062
1062
  ),
1063
1063
  });