@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
@@ -44,7 +44,7 @@ export type InlineAssessmentOrderReceivedWebhookPayloadCandidate = {
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 InlineAssessmentOrderReceivedWebhookPayloadCandidate = {
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 InlineAssessmentOrderReceivedWebhookPayloadApplication = {
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 InlineAssessmentOrderReceivedWebhookPayloadLocation = {
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 InlineAssessmentOrderReceivedWebhookPayloadLocation = {
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 InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole = {
@@ -140,26 +140,23 @@ export type InlineAssessmentOrderReceivedWebhookPayloadJob = {
140
140
  /**
141
141
  * The job's identifier in the integrated system.
142
142
  */
143
- remote_id?: string | null | undefined;
143
+ remote_id: string | null;
144
144
  /**
145
145
  * The job title.
146
146
  */
147
- name?: string | null | undefined;
147
+ name: string | null;
148
148
  /**
149
149
  * The human readable job code. Some systems expose this as the Requisition Code/ID.
150
150
  */
151
- job_code?: string | null | undefined;
151
+ job_code: string | null;
152
152
  /**
153
153
  * Description of the job. This field is usually returned as HTML.
154
154
  */
155
- description?: string | null | undefined;
155
+ description: string | null;
156
156
  /**
157
157
  * The job location information.
158
158
  */
159
- location?:
160
- | InlineAssessmentOrderReceivedWebhookPayloadLocation
161
- | null
162
- | undefined;
159
+ location: InlineAssessmentOrderReceivedWebhookPayloadLocation | null;
163
160
  /**
164
161
  * The hiring team allows you to provision users into your system who can access the job and its applications.
165
162
  */
@@ -234,19 +231,19 @@ export const InlineAssessmentOrderReceivedWebhookPayloadCandidate$inboundSchema:
234
231
  z.ZodTypeDef,
235
232
  unknown
236
233
  > = z.object({
237
- remote_id: z.nullable(z.string()).optional(),
234
+ remote_id: z.nullable(z.string()),
238
235
  email: z.string(),
239
- first_name: z.nullable(z.string()).optional(),
240
- last_name: z.nullable(z.string()).optional(),
241
- phone: z.nullable(z.string()).optional(),
236
+ first_name: z.nullable(z.string()),
237
+ last_name: z.nullable(z.string()),
238
+ phone: z.nullable(z.string()),
242
239
  });
243
240
  /** @internal */
244
241
  export type InlineAssessmentOrderReceivedWebhookPayloadCandidate$Outbound = {
245
- remote_id?: string | null | undefined;
242
+ remote_id: string | null;
246
243
  email: string;
247
- first_name?: string | null | undefined;
248
- last_name?: string | null | undefined;
249
- phone?: string | null | undefined;
244
+ first_name: string | null;
245
+ last_name: string | null;
246
+ phone: string | null;
250
247
  };
251
248
 
252
249
  /** @internal */
@@ -256,11 +253,11 @@ export const InlineAssessmentOrderReceivedWebhookPayloadCandidate$outboundSchema
256
253
  z.ZodTypeDef,
257
254
  InlineAssessmentOrderReceivedWebhookPayloadCandidate
258
255
  > = z.object({
259
- remote_id: z.nullable(z.string()).optional(),
256
+ remote_id: z.nullable(z.string()),
260
257
  email: z.string(),
261
- first_name: z.nullable(z.string()).optional(),
262
- last_name: z.nullable(z.string()).optional(),
263
- phone: z.nullable(z.string()).optional(),
258
+ first_name: z.nullable(z.string()),
259
+ last_name: z.nullable(z.string()),
260
+ phone: z.nullable(z.string()),
264
261
  });
265
262
 
266
263
  export function inlineAssessmentOrderReceivedWebhookPayloadCandidateToJSON(
@@ -296,11 +293,11 @@ export const InlineAssessmentOrderReceivedWebhookPayloadApplication$inboundSchem
296
293
  z.ZodTypeDef,
297
294
  unknown
298
295
  > = z.object({
299
- remote_id: z.nullable(z.string()).optional(),
296
+ remote_id: z.nullable(z.string()),
300
297
  });
301
298
  /** @internal */
302
299
  export type InlineAssessmentOrderReceivedWebhookPayloadApplication$Outbound = {
303
- remote_id?: string | null | undefined;
300
+ remote_id: string | null;
304
301
  };
305
302
 
306
303
  /** @internal */
@@ -310,7 +307,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadApplication$outboundSche
310
307
  z.ZodTypeDef,
311
308
  InlineAssessmentOrderReceivedWebhookPayloadApplication
312
309
  > = z.object({
313
- remote_id: z.nullable(z.string()).optional(),
310
+ remote_id: z.nullable(z.string()),
314
311
  });
315
312
 
316
313
  export function inlineAssessmentOrderReceivedWebhookPayloadApplicationToJSON(
@@ -345,23 +342,23 @@ export const InlineAssessmentOrderReceivedWebhookPayloadLocation$inboundSchema:
345
342
  z.ZodTypeDef,
346
343
  unknown
347
344
  > = z.object({
348
- city: z.nullable(z.string()).optional(),
349
- country: z.nullable(z.string()).optional(),
350
- raw: z.nullable(z.string()).optional(),
351
- state: z.nullable(z.string()).optional(),
352
345
  street_1: z.nullable(z.string()).optional(),
353
346
  street_2: z.nullable(z.string()).optional(),
347
+ city: z.nullable(z.string()).optional(),
348
+ state: z.nullable(z.string()).optional(),
354
349
  zip_code: z.nullable(z.string()).optional(),
350
+ country: z.nullable(z.string()).optional(),
351
+ raw: z.nullable(z.string()).optional(),
355
352
  });
356
353
  /** @internal */
357
354
  export type InlineAssessmentOrderReceivedWebhookPayloadLocation$Outbound = {
358
- city?: string | null | undefined;
359
- country?: string | null | undefined;
360
- raw?: string | null | undefined;
361
- state?: string | null | undefined;
362
355
  street_1?: string | null | undefined;
363
356
  street_2?: string | null | undefined;
357
+ city?: string | null | undefined;
358
+ state?: string | null | undefined;
364
359
  zip_code?: string | null | undefined;
360
+ country?: string | null | undefined;
361
+ raw?: string | null | undefined;
365
362
  };
366
363
 
367
364
  /** @internal */
@@ -371,13 +368,13 @@ export const InlineAssessmentOrderReceivedWebhookPayloadLocation$outboundSchema:
371
368
  z.ZodTypeDef,
372
369
  InlineAssessmentOrderReceivedWebhookPayloadLocation
373
370
  > = z.object({
374
- city: z.nullable(z.string()).optional(),
375
- country: z.nullable(z.string()).optional(),
376
- raw: z.nullable(z.string()).optional(),
377
- state: z.nullable(z.string()).optional(),
378
371
  street_1: z.nullable(z.string()).optional(),
379
372
  street_2: z.nullable(z.string()).optional(),
373
+ city: z.nullable(z.string()).optional(),
374
+ state: z.nullable(z.string()).optional(),
380
375
  zip_code: z.nullable(z.string()).optional(),
376
+ country: z.nullable(z.string()).optional(),
377
+ raw: z.nullable(z.string()).optional(),
381
378
  });
382
379
 
383
380
  export function inlineAssessmentOrderReceivedWebhookPayloadLocationToJSON(
@@ -490,15 +487,15 @@ export const InlineAssessmentOrderReceivedWebhookPayloadJob$inboundSchema:
490
487
  z.ZodTypeDef,
491
488
  unknown
492
489
  > = z.object({
493
- remote_id: z.nullable(z.string()).optional(),
494
- name: z.nullable(z.string()).optional(),
495
- job_code: z.nullable(z.string()).optional(),
496
- description: z.nullable(z.string()).optional(),
490
+ remote_id: z.nullable(z.string()),
491
+ name: z.nullable(z.string()),
492
+ job_code: z.nullable(z.string()),
493
+ description: z.nullable(z.string()),
497
494
  location: z.nullable(
498
495
  z.lazy(() =>
499
496
  InlineAssessmentOrderReceivedWebhookPayloadLocation$inboundSchema
500
497
  ),
501
- ).optional(),
498
+ ),
502
499
  hiring_team: z.array(
503
500
  z.lazy(() =>
504
501
  InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema
@@ -507,14 +504,11 @@ export const InlineAssessmentOrderReceivedWebhookPayloadJob$inboundSchema:
507
504
  });
508
505
  /** @internal */
509
506
  export type InlineAssessmentOrderReceivedWebhookPayloadJob$Outbound = {
510
- remote_id?: string | null | undefined;
511
- name?: string | null | undefined;
512
- job_code?: string | null | undefined;
513
- description?: string | null | undefined;
514
- location?:
515
- | InlineAssessmentOrderReceivedWebhookPayloadLocation$Outbound
516
- | null
517
- | undefined;
507
+ remote_id: string | null;
508
+ name: string | null;
509
+ job_code: string | null;
510
+ description: string | null;
511
+ location: InlineAssessmentOrderReceivedWebhookPayloadLocation$Outbound | null;
518
512
  hiring_team: Array<
519
513
  InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$Outbound
520
514
  >;
@@ -527,15 +521,15 @@ export const InlineAssessmentOrderReceivedWebhookPayloadJob$outboundSchema:
527
521
  z.ZodTypeDef,
528
522
  InlineAssessmentOrderReceivedWebhookPayloadJob
529
523
  > = z.object({
530
- remote_id: z.nullable(z.string()).optional(),
531
- name: z.nullable(z.string()).optional(),
532
- job_code: z.nullable(z.string()).optional(),
533
- description: z.nullable(z.string()).optional(),
524
+ remote_id: z.nullable(z.string()),
525
+ name: z.nullable(z.string()),
526
+ job_code: z.nullable(z.string()),
527
+ description: z.nullable(z.string()),
534
528
  location: z.nullable(
535
529
  z.lazy(() =>
536
530
  InlineAssessmentOrderReceivedWebhookPayloadLocation$outboundSchema
537
531
  ),
538
- ).optional(),
532
+ ),
539
533
  hiring_team: z.array(
540
534
  z.lazy(() =>
541
535
  InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$outboundSchema
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as models from "../index.js";
11
+
12
+ export type GetAssessmentOrdersGlobals = {
13
+ /**
14
+ * ID of the integration you want to interact with.
15
+ */
16
+ integration_id?: string | undefined;
17
+ };
18
+
19
+ export type GetAssessmentOrdersRequest = {
20
+ /**
21
+ * An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
22
+ */
23
+ cursor?: string | undefined;
24
+ /**
25
+ * The number of results to return per page. Maximum is 250.
26
+ */
27
+ page_size?: number | undefined;
28
+ /**
29
+ * Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
30
+ */
31
+ ids?: Array<string> | undefined;
32
+ /**
33
+ * Filter by a comma-separated list of statuses such as `OPEN,COMPLETED`.
34
+ */
35
+ statuses?: Array<string> | undefined;
36
+ /**
37
+ * Filter orders by their creation date. Only orders created on or after this date will be returned.
38
+ */
39
+ created_after?: Date | undefined;
40
+ };
41
+
42
+ export type GetAssessmentOrdersResponse = {
43
+ result: models.GetAssessmentOrdersPositiveResponse;
44
+ };
45
+
46
+ /** @internal */
47
+ export type GetAssessmentOrdersRequest$Outbound = {
48
+ cursor?: string | undefined;
49
+ page_size: number;
50
+ ids?: Array<string> | undefined;
51
+ statuses?: Array<string> | undefined;
52
+ created_after?: string | undefined;
53
+ };
54
+
55
+ /** @internal */
56
+ export const GetAssessmentOrdersRequest$outboundSchema: z.ZodType<
57
+ GetAssessmentOrdersRequest$Outbound,
58
+ z.ZodTypeDef,
59
+ GetAssessmentOrdersRequest
60
+ > = z.object({
61
+ cursor: z.string().optional(),
62
+ page_size: z.number().int().default(100),
63
+ ids: z.array(z.string()).optional(),
64
+ statuses: z.array(z.string()).optional(),
65
+ created_after: z.date().transform(v => v.toISOString()).optional(),
66
+ });
67
+
68
+ export function getAssessmentOrdersRequestToJSON(
69
+ getAssessmentOrdersRequest: GetAssessmentOrdersRequest,
70
+ ): string {
71
+ return JSON.stringify(
72
+ GetAssessmentOrdersRequest$outboundSchema.parse(getAssessmentOrdersRequest),
73
+ );
74
+ }
75
+
76
+ /** @internal */
77
+ export const GetAssessmentOrdersResponse$inboundSchema: z.ZodType<
78
+ GetAssessmentOrdersResponse,
79
+ z.ZodTypeDef,
80
+ unknown
81
+ > = z.object({
82
+ Result: models.GetAssessmentOrdersPositiveResponse$inboundSchema,
83
+ }).transform((v) => {
84
+ return remap$(v, {
85
+ "Result": "result",
86
+ });
87
+ });
88
+
89
+ export function getAssessmentOrdersResponseFromJSON(
90
+ jsonString: string,
91
+ ): SafeParseResult<GetAssessmentOrdersResponse, SDKValidationError> {
92
+ return safeParse(
93
+ jsonString,
94
+ (x) => GetAssessmentOrdersResponse$inboundSchema.parse(JSON.parse(x)),
95
+ `Failed to parse 'GetAssessmentOrdersResponse' from JSON`,
96
+ );
97
+ }
@@ -34,14 +34,18 @@ export type GetAtsApplicationsRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `candidate`
40
- * - `tags`
41
- * -`current_stage`
42
- * - `job`
43
- * -`interviews`
44
- * - `offers`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `candidate` | n/a | Yes |
42
+ * | `candidate` `tags` | ✗ No | ✗ No |
43
+ * | `current_stage` | n/a | Yes |
44
+ * | `job` | ✗ No | ✗ No |
45
+ * | `interviews` | ✓ Yes | ✓ Yes |
46
+ * | `offers` | ✓ Yes | ✓ Yes |
47
+ *
48
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
45
49
  */
46
50
  updated_after?: Date | undefined;
47
51
  /**
@@ -34,13 +34,16 @@ export type GetAtsCandidatesRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `applications`
40
- * - `current_stage`
41
- * - `job`
42
- * - `tags`
43
- * - `tag`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `applications` | ✓ Yes | ✓ Yes |
42
+ * | `applications` `current_stage` | ✗ No | ✗ No |
43
+ * | `applications` → `job` | ✗ No | ✗ No |
44
+ * | `tags` | ✓ Yes | ✗ No |
45
+ *
46
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
44
47
  */
45
48
  updated_after?: Date | undefined;
46
49
  /**
@@ -34,13 +34,16 @@ export type GetAtsInterviewsRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `interviewers`
40
- * - `user`
41
- * -`application`
42
- * - `candidate`
43
- * - `job`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `interviewers` | Yes | ✗ No |
42
+ * | `application` | n/a | ✓ Yes |
43
+ * | `application` → `candidate` | ✗ No | ✗ No |
44
+ * | `application` → `job` | ✗ No | ✗ No |
45
+ *
46
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
44
47
  */
45
48
  updated_after?: Date | undefined;
46
49
  /**
@@ -34,16 +34,16 @@ export type GetAtsJobsRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `application_stages`
40
- * - `stage`
41
- * -`screening_questions`
42
- * - `question`
43
- * - `job_postings`
44
- * - `hiring_team`
45
- * - ✗ `user`
46
- * - `role_assignments`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `stages` | Yes | ✗ No |
42
+ * | `screening_questions` | ✓ Yes | ✗ No |
43
+ * | `job_postings` | ✓ Yes | ✓ Yes |
44
+ * | `hiring_team` | ✓ Yes | ✗ No |
45
+ *
46
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
47
47
  */
48
48
  updated_after?: Date | undefined;
49
49
  /**
@@ -34,11 +34,15 @@ export type GetAtsOffersRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `application`
40
- * - `candidate`
41
- * - `job`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `application` | n/a | ✓ Yes |
42
+ * | `application` → `candidate` | ✗ No | ✗ No |
43
+ * | `application` → `job` | ✗ No | ✗ No |
44
+ *
45
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
42
46
  */
43
47
  updated_after?: Date | undefined;
44
48
  /**
@@ -34,10 +34,13 @@ export type GetAtsUsersRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `system_role_assignment`
40
- * - `role`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `system_role_assignment` | ✓ Yes | ✓ Yes |
42
+ *
43
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
41
44
  */
42
45
  updated_after?: Date | undefined;
43
46
  /**
@@ -34,9 +34,13 @@ export type GetHrisAbsencesRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `type`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `type` | n/a | ✓ Yes |
42
+ *
43
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
40
44
  */
41
45
  updated_after?: Date | undefined;
42
46
  /**
@@ -34,15 +34,18 @@ export type GetHrisEmployeesRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `employments`
40
- * - `time_off_balances`
41
- * -`manager`
42
- * -`group_memberships`
43
- * - `group`
44
- * -`legal_entity`
45
- * -`work_location`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `employments` | Yes | ✓ Yes |
42
+ * | `time_off_balances` | Yes | ✓ Yes |
43
+ * | `manager` | n/a | ✓ Yes |
44
+ * | `group_memberships` | Yes | ✗ No |
45
+ * | `legal_entity` | n/a | Yes |
46
+ * | `work_location` | n/a | ✓ Yes |
47
+ *
48
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
46
49
  */
47
50
  updated_after?: Date | undefined;
48
51
  /**
@@ -34,11 +34,15 @@ export type GetHrisPerformanceReviewsRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `review_cycle`
40
- * - `reviewee`
41
- * -`reviewer`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `review_cycle` | n/a | Yes |
42
+ * | `reviewee` | n/a | ✓ Yes |
43
+ * | `reviewer` | n/a | ✓ Yes |
44
+ *
45
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
42
46
  */
43
47
  updated_after?: Date | undefined;
44
48
  /**
@@ -34,14 +34,15 @@ export type GetHrisStaffingEntitiesRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `locations`
40
- * - `location`
41
- * -`legal_entities`
42
- * - `legal_entity`
43
- * - `groups`
44
- * - ✓ `group`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `locations` | Yes | ✓ Yes |
42
+ * | `legal_entities` | ✓ Yes | ✓ Yes |
43
+ * | `groups` | ✓ Yes | ✓ Yes |
44
+ *
45
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
45
46
  */
46
47
  updated_after?: Date | undefined;
47
48
  /**
@@ -34,9 +34,13 @@ export type GetHrisTimeOffBalancesRequest = {
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
36
  *
37
- * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
37
+ * For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
38
38
  *
39
- * - `type`
39
+ * | Path | Relationship | Target Record |
40
+ * | --- | --- | --- |
41
+ * | `type` | n/a | ✓ Yes |
42
+ *
43
+ * _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
40
44
  */
41
45
  updated_after?: Date | undefined;
42
46
  /**
@@ -5,7 +5,7 @@
5
5
  export * from "./deleteatscandidatescandidateidtags.js";
6
6
  export * from "./deletehrisabsencesabsenceid.js";
7
7
  export * from "./deleteintegrationsintegrationid.js";
8
- export * from "./getassessmentordersopen.js";
8
+ export * from "./getassessmentorders.js";
9
9
  export * from "./getassessmentpackages.js";
10
10
  export * from "./getatsapplications.js";
11
11
  export * from "./getatsapplicationsapplicationidattachments.js";
@@ -196,6 +196,7 @@ export const IntegrationTool = {
196
196
  Absenceio: "absenceio",
197
197
  A3innuvanomina: "a3innuvanomina",
198
198
  Scim: "scim",
199
+ Datevlauds: "datevlauds",
199
200
  Datevhr: "datevhr",
200
201
  Datev: "datev",
201
202
  Datevlug: "datevlug",
@@ -209,6 +210,7 @@ export const IntegrationTool = {
209
210
  Talentlms: "talentlms",
210
211
  Udemy: "udemy",
211
212
  Linkedinlearning: "linkedinlearning",
213
+ Moodle: "moodle",
212
214
  } as const;
213
215
  /**
214
216
  * Pre-define a tool this integration link can be used for.