@unified-api/typescript-sdk 1.0.0 → 1.0.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 (196) hide show
  1. package/README.md +54 -700
  2. package/dist/sdk/accounting.d.ts +0 -40
  3. package/dist/sdk/accounting.js +44 -696
  4. package/dist/sdk/link.d.ts +31 -0
  5. package/dist/sdk/link.js +503 -0
  6. package/dist/sdk/models/operations/{createaccountingpayment.d.ts → createpaymentlink.d.ts} +7 -7
  7. package/dist/sdk/models/operations/createpaymentlink.js +95 -0
  8. package/dist/sdk/models/operations/createpaymentpayment.d.ts +28 -0
  9. package/dist/sdk/models/operations/{createaccountingpayment.js → createpaymentpayment.js} +20 -20
  10. package/dist/sdk/models/operations/getpaymentlink.d.ts +35 -0
  11. package/dist/sdk/models/operations/getpaymentlink.js +99 -0
  12. package/dist/sdk/models/operations/{getaccountingpayment.d.ts → getpaymentpayment.d.ts} +6 -6
  13. package/dist/sdk/models/operations/{getaccountingpayment.js → getpaymentpayment.js} +20 -20
  14. package/dist/sdk/models/operations/{getaccountingpayout.d.ts → getpaymentpayout.d.ts} +6 -6
  15. package/dist/sdk/models/operations/{getaccountingpayout.js → getpaymentpayout.js} +20 -20
  16. package/dist/sdk/models/operations/{getaccountingrefund.d.ts → getpaymentrefund.d.ts} +6 -6
  17. package/dist/sdk/models/operations/{getaccountingrefund.js → getpaymentrefund.js} +20 -20
  18. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +6 -4
  19. package/dist/sdk/models/operations/getunifiedintegrationauth.js +6 -4
  20. package/dist/sdk/models/operations/index.d.ts +16 -10
  21. package/dist/sdk/models/operations/index.js +16 -10
  22. package/dist/sdk/models/operations/listpaymentlinks.d.ts +51 -0
  23. package/dist/sdk/models/operations/listpaymentlinks.js +127 -0
  24. package/dist/sdk/models/operations/{listaccountingpayments.d.ts → listpaymentpayments.d.ts} +6 -6
  25. package/dist/sdk/models/operations/{listaccountingpayments.js → listpaymentpayments.js} +28 -28
  26. package/dist/sdk/models/operations/{listaccountingpayouts.d.ts → listpaymentpayouts.d.ts} +6 -6
  27. package/dist/sdk/models/operations/{listaccountingpayouts.js → listpaymentpayouts.js} +26 -26
  28. package/dist/sdk/models/operations/{listaccountingrefunds.d.ts → listpaymentrefunds.d.ts} +6 -6
  29. package/dist/sdk/models/operations/{listaccountingrefunds.js → listpaymentrefunds.js} +27 -27
  30. package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
  31. package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
  32. package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
  33. package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
  34. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
  35. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
  36. package/dist/sdk/models/operations/patchpaymentlink.d.ts +32 -0
  37. package/dist/sdk/models/operations/patchpaymentlink.js +99 -0
  38. package/dist/sdk/models/operations/{patchaccountingpayment.d.ts → patchpaymentpayment.d.ts} +7 -7
  39. package/dist/sdk/models/operations/{patchaccountingpayment.js → patchpaymentpayment.js} +21 -21
  40. package/dist/sdk/models/operations/removepaymentlink.d.ts +30 -0
  41. package/dist/sdk/models/operations/{removeaccountingpayment.js → removepaymentlink.js} +17 -17
  42. package/dist/sdk/models/operations/{removeaccountingpayment.d.ts → removepaymentpayment.d.ts} +2 -2
  43. package/dist/sdk/models/operations/removepaymentpayment.js +71 -0
  44. package/dist/sdk/models/operations/updatepaymentlink.d.ts +32 -0
  45. package/dist/sdk/models/operations/updatepaymentlink.js +99 -0
  46. package/dist/sdk/models/operations/{updateaccountingpayment.d.ts → updatepaymentpayment.d.ts} +7 -7
  47. package/dist/sdk/models/operations/{updateaccountingpayment.js → updatepaymentpayment.js} +21 -21
  48. package/dist/sdk/models/shared/accountinginvoice.d.ts +1 -0
  49. package/dist/sdk/models/shared/accountinginvoice.js +5 -0
  50. package/dist/sdk/models/shared/index.d.ts +5 -3
  51. package/dist/sdk/models/shared/index.js +5 -3
  52. package/dist/sdk/models/shared/paymenntlinklineitem.d.ts +20 -0
  53. package/dist/sdk/models/shared/paymenntlinklineitem.js +137 -0
  54. package/dist/sdk/models/shared/paymentlink.d.ts +15 -0
  55. package/dist/sdk/models/shared/paymentlink.js +105 -0
  56. package/dist/sdk/models/shared/{accountingpayment.d.ts → paymentpayment.d.ts} +1 -1
  57. package/dist/sdk/models/shared/{accountingpayment.js → paymentpayment.js} +18 -18
  58. package/dist/sdk/models/shared/{accountingpayout.d.ts → paymentpayout.d.ts} +3 -3
  59. package/dist/sdk/models/shared/{accountingpayout.js → paymentpayout.js} +21 -21
  60. package/dist/sdk/models/shared/{accountingrefund.d.ts → paymentrefund.d.ts} +3 -3
  61. package/dist/sdk/models/shared/{accountingrefund.js → paymentrefund.js} +23 -23
  62. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
  63. package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
  64. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -4
  65. package/dist/sdk/models/shared/propertyconnectionpermissions.js +6 -4
  66. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
  67. package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
  68. package/dist/sdk/models/shared/webhook.d.ts +4 -3
  69. package/dist/sdk/models/shared/webhook.js +4 -3
  70. package/dist/sdk/payment.d.ts +46 -6
  71. package/dist/sdk/payment.js +705 -53
  72. package/dist/sdk/payout.d.ts +2 -2
  73. package/dist/sdk/payout.js +11 -11
  74. package/dist/sdk/refund.d.ts +2 -2
  75. package/dist/sdk/refund.js +11 -11
  76. package/dist/sdk/sdk.d.ts +5 -3
  77. package/dist/sdk/sdk.js +7 -5
  78. package/docs/sdk/models/operations/categories.md +2 -1
  79. package/docs/sdk/models/operations/createpaymentlinkrequest.md +9 -0
  80. package/docs/sdk/models/operations/createpaymentlinkresponse.md +11 -0
  81. package/docs/sdk/models/operations/createpaymentpaymentrequest.md +9 -0
  82. package/docs/sdk/models/operations/createpaymentpaymentresponse.md +11 -0
  83. package/docs/sdk/models/operations/getpaymentlinkrequest.md +10 -0
  84. package/docs/sdk/models/operations/getpaymentlinkresponse.md +11 -0
  85. package/docs/sdk/models/operations/{getaccountingpaymentrequest.md → getpaymentpaymentrequest.md} +1 -1
  86. package/docs/sdk/models/operations/getpaymentpaymentresponse.md +11 -0
  87. package/docs/sdk/models/operations/{getaccountingpayoutrequest.md → getpaymentpayoutrequest.md} +1 -1
  88. package/docs/sdk/models/operations/getpaymentpayoutresponse.md +11 -0
  89. package/docs/sdk/models/operations/{getaccountingrefundrequest.md → getpaymentrefundrequest.md} +1 -1
  90. package/docs/sdk/models/operations/getpaymentrefundresponse.md +11 -0
  91. package/docs/sdk/models/operations/listpaymentlinksrequest.md +17 -0
  92. package/docs/sdk/models/operations/listpaymentlinksresponse.md +11 -0
  93. package/docs/sdk/models/operations/{listaccountingpaymentsrequest.md → listpaymentpaymentsrequest.md} +1 -1
  94. package/docs/sdk/models/operations/listpaymentpaymentsresponse.md +11 -0
  95. package/docs/sdk/models/operations/{listaccountingpayoutsrequest.md → listpaymentpayoutsrequest.md} +1 -1
  96. package/docs/sdk/models/operations/listpaymentpayoutsresponse.md +11 -0
  97. package/docs/sdk/models/operations/{listaccountingrefundsrequest.md → listpaymentrefundsrequest.md} +1 -1
  98. package/docs/sdk/models/operations/listpaymentrefundsresponse.md +11 -0
  99. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
  100. package/docs/sdk/models/operations/patchpaymentlinkrequest.md +10 -0
  101. package/docs/sdk/models/operations/patchpaymentlinkresponse.md +11 -0
  102. package/docs/sdk/models/operations/patchpaymentpaymentrequest.md +10 -0
  103. package/docs/sdk/models/operations/patchpaymentpaymentresponse.md +11 -0
  104. package/docs/sdk/models/operations/queryparamcategories.md +2 -1
  105. package/docs/sdk/models/operations/{removeaccountingpaymentrequest.md → removepaymentlinkrequest.md} +2 -2
  106. package/docs/sdk/models/operations/{removeaccountingpaymentresponse.md → removepaymentlinkresponse.md} +1 -1
  107. package/docs/sdk/models/operations/removepaymentpaymentrequest.md +9 -0
  108. package/docs/sdk/models/operations/removepaymentpaymentresponse.md +11 -0
  109. package/docs/sdk/models/operations/scopes.md +6 -4
  110. package/docs/sdk/models/operations/updatepaymentlinkrequest.md +10 -0
  111. package/docs/sdk/models/operations/updatepaymentlinkresponse.md +11 -0
  112. package/docs/sdk/models/operations/updatepaymentpaymentrequest.md +10 -0
  113. package/docs/sdk/models/operations/updatepaymentpaymentresponse.md +11 -0
  114. package/docs/sdk/models/shared/accountinginvoice.md +2 -1
  115. package/docs/sdk/models/shared/objecttype.md +4 -3
  116. package/docs/sdk/models/shared/paymenntlinklineitem.md +24 -0
  117. package/docs/sdk/models/shared/paymentlink.md +18 -0
  118. package/docs/sdk/models/shared/{accountingpayment.md → paymentpayment.md} +1 -1
  119. package/docs/sdk/models/shared/paymentpayout.md +15 -0
  120. package/docs/sdk/models/shared/{accountingpayoutstatus.md → paymentpayoutstatus.md} +1 -1
  121. package/docs/sdk/models/shared/paymentrefund.md +17 -0
  122. package/docs/sdk/models/shared/{accountingrefundstatus.md → paymentrefundstatus.md} +1 -1
  123. package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
  124. package/docs/sdk/models/shared/propertyconnectionpermissions.md +6 -4
  125. package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
  126. package/package.json +1 -1
  127. package/docs/sdk/models/operations/createaccountingpaymentrequest.md +0 -9
  128. package/docs/sdk/models/operations/createaccountingpaymentresponse.md +0 -11
  129. package/docs/sdk/models/operations/getaccountingpaymentresponse.md +0 -11
  130. package/docs/sdk/models/operations/getaccountingpayoutresponse.md +0 -11
  131. package/docs/sdk/models/operations/getaccountingrefundresponse.md +0 -11
  132. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +0 -11
  133. package/docs/sdk/models/operations/listaccountingpayoutsresponse.md +0 -11
  134. package/docs/sdk/models/operations/listaccountingrefundsresponse.md +0 -11
  135. package/docs/sdk/models/operations/patchaccountingpaymentrequest.md +0 -10
  136. package/docs/sdk/models/operations/patchaccountingpaymentresponse.md +0 -11
  137. package/docs/sdk/models/operations/updateaccountingpaymentrequest.md +0 -10
  138. package/docs/sdk/models/operations/updateaccountingpaymentresponse.md +0 -11
  139. package/docs/sdk/models/shared/accountingpayout.md +0 -15
  140. package/docs/sdk/models/shared/accountingrefund.md +0 -17
  141. package/docs/sdks/account/README.md +0 -312
  142. package/docs/sdks/accounting/README.md +0 -2198
  143. package/docs/sdks/activity/README.md +0 -321
  144. package/docs/sdks/apicall/README.md +0 -95
  145. package/docs/sdks/application/README.md +0 -333
  146. package/docs/sdks/applicationstatus/README.md +0 -54
  147. package/docs/sdks/ats/README.md +0 -2488
  148. package/docs/sdks/auth/README.md +0 -103
  149. package/docs/sdks/call/README.md +0 -54
  150. package/docs/sdks/candidate/README.md +0 -369
  151. package/docs/sdks/collection/README.md +0 -348
  152. package/docs/sdks/commerce/README.md +0 -1371
  153. package/docs/sdks/company/README.md +0 -517
  154. package/docs/sdks/connection/README.md +0 -359
  155. package/docs/sdks/contact/README.md +0 -1028
  156. package/docs/sdks/crm/README.md +0 -2048
  157. package/docs/sdks/customer/README.md +0 -348
  158. package/docs/sdks/deal/README.md +0 -315
  159. package/docs/sdks/document/README.md +0 -309
  160. package/docs/sdks/employee/README.md +0 -363
  161. package/docs/sdks/enrich/README.md +0 -97
  162. package/docs/sdks/event/README.md +0 -390
  163. package/docs/sdks/file/README.md +0 -330
  164. package/docs/sdks/group/README.md +0 -327
  165. package/docs/sdks/hris/README.md +0 -685
  166. package/docs/sdks/integration/README.md +0 -155
  167. package/docs/sdks/interview/README.md +0 -318
  168. package/docs/sdks/inventory/README.md +0 -309
  169. package/docs/sdks/invoice/README.md +0 -324
  170. package/docs/sdks/issue/README.md +0 -49
  171. package/docs/sdks/item/README.md +0 -417
  172. package/docs/sdks/job/README.md +0 -396
  173. package/docs/sdks/lead/README.md +0 -336
  174. package/docs/sdks/list/README.md +0 -306
  175. package/docs/sdks/location/README.md +0 -312
  176. package/docs/sdks/login/README.md +0 -52
  177. package/docs/sdks/martech/README.md +0 -643
  178. package/docs/sdks/member/README.md +0 -342
  179. package/docs/sdks/note/README.md +0 -306
  180. package/docs/sdks/organization/README.md +0 -104
  181. package/docs/sdks/passthrough/README.md +0 -249
  182. package/docs/sdks/payment/README.md +0 -306
  183. package/docs/sdks/payout/README.md +0 -104
  184. package/docs/sdks/person/README.md +0 -51
  185. package/docs/sdks/pipeline/README.md +0 -306
  186. package/docs/sdks/refund/README.md +0 -104
  187. package/docs/sdks/scorecard/README.md +0 -324
  188. package/docs/sdks/storage/README.md +0 -330
  189. package/docs/sdks/taxrate/README.md +0 -312
  190. package/docs/sdks/ticket/README.md +0 -318
  191. package/docs/sdks/ticketing/README.md +0 -962
  192. package/docs/sdks/transaction/README.md +0 -327
  193. package/docs/sdks/uc/README.md +0 -388
  194. package/docs/sdks/unified/README.md +0 -929
  195. package/docs/sdks/unifiedto/README.md +0 -9
  196. package/docs/sdks/webhook/README.md +0 -291
@@ -1,2488 +0,0 @@
1
- # Ats
2
- (*ats*)
3
-
4
- ### Available Operations
5
-
6
- * [createAtsActivity](#createatsactivity) - Create an activity
7
- * [createAtsApplication](#createatsapplication) - Create an application
8
- * [createAtsCandidate](#createatscandidate) - Create a candidate
9
- * [createAtsDocument](#createatsdocument) - Create a document
10
- * [createAtsInterview](#createatsinterview) - Create a interview
11
- * [createAtsJob](#createatsjob) - Create a job
12
- * [createAtsScorecard](#createatsscorecard) - Create a scorecard
13
- * [getAtsActivity](#getatsactivity) - Retrieve an activity
14
- * [getAtsApplication](#getatsapplication) - Retrieve an application
15
- * [getAtsCandidate](#getatscandidate) - Retrieve a candidate
16
- * [getAtsCompany](#getatscompany) - Retrieve a company
17
- * [getAtsDocument](#getatsdocument) - Retrieve a document
18
- * [getAtsInterview](#getatsinterview) - Retrieve a interview
19
- * [getAtsJob](#getatsjob) - Retrieve a job
20
- * [getAtsScorecard](#getatsscorecard) - Retrieve a scorecard
21
- * [listAtsActivities](#listatsactivities) - List all activities
22
- * [listAtsApplications](#listatsapplications) - List all applications
23
- * [listAtsApplicationstatuses](#listatsapplicationstatuses) - List all application statuses
24
- * [listAtsCandidates](#listatscandidates) - List all candidates
25
- * [listAtsCompanies](#listatscompanies) - List all companies
26
- * [listAtsDocuments](#listatsdocuments) - List all documents
27
- * [listAtsInterviews](#listatsinterviews) - List all interviews
28
- * [listAtsJobs](#listatsjobs) - List all jobs
29
- * [listAtsScorecards](#listatsscorecards) - List all scorecards
30
- * [patchAtsActivity](#patchatsactivity) - Update an activity
31
- * [patchAtsApplication](#patchatsapplication) - Update an application
32
- * [patchAtsCandidate](#patchatscandidate) - Update a candidate
33
- * [patchAtsDocument](#patchatsdocument) - Update a document
34
- * [patchAtsInterview](#patchatsinterview) - Update a interview
35
- * [patchAtsJob](#patchatsjob) - Update a job
36
- * [patchAtsScorecard](#patchatsscorecard) - Update a scorecard
37
- * [removeAtsActivity](#removeatsactivity) - Remove an activity
38
- * [removeAtsApplication](#removeatsapplication) - Remove an application
39
- * [removeAtsCandidate](#removeatscandidate) - Remove a candidate
40
- * [removeAtsDocument](#removeatsdocument) - Remove a document
41
- * [removeAtsInterview](#removeatsinterview) - Remove a interview
42
- * [removeAtsJob](#removeatsjob) - Remove a job
43
- * [removeAtsScorecard](#removeatsscorecard) - Remove a scorecard
44
- * [updateAtsActivity](#updateatsactivity) - Update an activity
45
- * [updateAtsApplication](#updateatsapplication) - Update an application
46
- * [updateAtsCandidate](#updateatscandidate) - Update a candidate
47
- * [updateAtsDocument](#updateatsdocument) - Update a document
48
- * [updateAtsInterview](#updateatsinterview) - Update a interview
49
- * [updateAtsJob](#updateatsjob) - Update a job
50
- * [updateAtsScorecard](#updateatsscorecard) - Update a scorecard
51
-
52
- ## createAtsActivity
53
-
54
- Create an activity
55
-
56
- ### Example Usage
57
-
58
- ```typescript
59
- import { UnifiedTo } from "@unified-api/typescript-sdk";
60
- import { AtsActivityType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
61
-
62
- async function run() {
63
- const sdk = new UnifiedTo({
64
- security: {
65
- jwt: "<YOUR_API_KEY_HERE>",
66
- },
67
- });
68
-
69
- const res = await sdk.ats.createAtsActivity({
70
- atsActivity: {
71
- raw: {
72
- "key": "<value>",
73
- },
74
- title: "<value>",
75
- userIds: [
76
- "<value>",
77
- ],
78
- },
79
- connectionId: "<value>",
80
- });
81
-
82
- if (res.statusCode == 200) {
83
- // handle response
84
- }
85
- }
86
-
87
- run();
88
- ```
89
-
90
- ### Parameters
91
-
92
- | Parameter | Type | Required | Description |
93
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
94
- | `request` | [operations.CreateAtsActivityRequest](../../sdk/models/operations/createatsactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
95
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
96
-
97
-
98
- ### Response
99
-
100
- **Promise<[operations.CreateAtsActivityResponse](../../sdk/models/operations/createatsactivityresponse.md)>**
101
- ### Errors
102
-
103
- | Error Object | Status Code | Content Type |
104
- | --------------- | --------------- | --------------- |
105
- | errors.SDKError | 4xx-5xx | */* |
106
-
107
- ## createAtsApplication
108
-
109
- Create an application
110
-
111
- ### Example Usage
112
-
113
- ```typescript
114
- import { UnifiedTo } from "@unified-api/typescript-sdk";
115
- import { AtsApplicationStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
116
-
117
- async function run() {
118
- const sdk = new UnifiedTo({
119
- security: {
120
- jwt: "<YOUR_API_KEY_HERE>",
121
- },
122
- });
123
-
124
- const res = await sdk.ats.createAtsApplication({
125
- atsApplication: {
126
- answers: [
127
- {
128
- answers: [
129
- "<value>",
130
- ],
131
- questionId: "<value>",
132
- },
133
- ],
134
- raw: {
135
- "key": "<value>",
136
- },
137
- },
138
- connectionId: "<value>",
139
- });
140
-
141
- if (res.statusCode == 200) {
142
- // handle response
143
- }
144
- }
145
-
146
- run();
147
- ```
148
-
149
- ### Parameters
150
-
151
- | Parameter | Type | Required | Description |
152
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
153
- | `request` | [operations.CreateAtsApplicationRequest](../../sdk/models/operations/createatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
154
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
155
-
156
-
157
- ### Response
158
-
159
- **Promise<[operations.CreateAtsApplicationResponse](../../sdk/models/operations/createatsapplicationresponse.md)>**
160
- ### Errors
161
-
162
- | Error Object | Status Code | Content Type |
163
- | --------------- | --------------- | --------------- |
164
- | errors.SDKError | 4xx-5xx | */* |
165
-
166
- ## createAtsCandidate
167
-
168
- Create a candidate
169
-
170
- ### Example Usage
171
-
172
- ```typescript
173
- import { UnifiedTo } from "@unified-api/typescript-sdk";
174
- import { AtsEmailType, AtsTelephoneType, Origin } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
175
-
176
- async function run() {
177
- const sdk = new UnifiedTo({
178
- security: {
179
- jwt: "<YOUR_API_KEY_HERE>",
180
- },
181
- });
182
-
183
- const res = await sdk.ats.createAtsCandidate({
184
- atsCandidate: {
185
- address: {},
186
- emails: [
187
- {
188
- email: "Robin_Feeney@hotmail.com",
189
- },
190
- ],
191
- linkUrls: [
192
- "<value>",
193
- ],
194
- raw: {
195
- "key": "<value>",
196
- },
197
- sources: [
198
- "<value>",
199
- ],
200
- tags: [
201
- "<value>",
202
- ],
203
- telephones: [
204
- {
205
- telephone: "<value>",
206
- },
207
- ],
208
- },
209
- connectionId: "<value>",
210
- });
211
-
212
- if (res.statusCode == 200) {
213
- // handle response
214
- }
215
- }
216
-
217
- run();
218
- ```
219
-
220
- ### Parameters
221
-
222
- | Parameter | Type | Required | Description |
223
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
224
- | `request` | [operations.CreateAtsCandidateRequest](../../sdk/models/operations/createatscandidaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
225
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
226
-
227
-
228
- ### Response
229
-
230
- **Promise<[operations.CreateAtsCandidateResponse](../../sdk/models/operations/createatscandidateresponse.md)>**
231
- ### Errors
232
-
233
- | Error Object | Status Code | Content Type |
234
- | --------------- | --------------- | --------------- |
235
- | errors.SDKError | 4xx-5xx | */* |
236
-
237
- ## createAtsDocument
238
-
239
- Create a document
240
-
241
- ### Example Usage
242
-
243
- ```typescript
244
- import { UnifiedTo } from "@unified-api/typescript-sdk";
245
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
246
-
247
- async function run() {
248
- const sdk = new UnifiedTo({
249
- security: {
250
- jwt: "<YOUR_API_KEY_HERE>",
251
- },
252
- });
253
-
254
- const res = await sdk.ats.createAtsDocument({
255
- atsDocument: {
256
- raw: {
257
- "key": "<value>",
258
- },
259
- },
260
- connectionId: "<value>",
261
- });
262
-
263
- if (res.statusCode == 200) {
264
- // handle response
265
- }
266
- }
267
-
268
- run();
269
- ```
270
-
271
- ### Parameters
272
-
273
- | Parameter | Type | Required | Description |
274
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
275
- | `request` | [operations.CreateAtsDocumentRequest](../../sdk/models/operations/createatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
276
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
277
-
278
-
279
- ### Response
280
-
281
- **Promise<[operations.CreateAtsDocumentResponse](../../sdk/models/operations/createatsdocumentresponse.md)>**
282
- ### Errors
283
-
284
- | Error Object | Status Code | Content Type |
285
- | --------------- | --------------- | --------------- |
286
- | errors.SDKError | 4xx-5xx | */* |
287
-
288
- ## createAtsInterview
289
-
290
- Create a interview
291
-
292
- ### Example Usage
293
-
294
- ```typescript
295
- import { UnifiedTo } from "@unified-api/typescript-sdk";
296
- import { AtsInterviewStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
297
-
298
- async function run() {
299
- const sdk = new UnifiedTo({
300
- security: {
301
- jwt: "<YOUR_API_KEY_HERE>",
302
- },
303
- });
304
-
305
- const res = await sdk.ats.createAtsInterview({
306
- atsInterview: {
307
- raw: {
308
- "key": "<value>",
309
- },
310
- userIds: [
311
- "<value>",
312
- ],
313
- },
314
- connectionId: "<value>",
315
- });
316
-
317
- if (res.statusCode == 200) {
318
- // handle response
319
- }
320
- }
321
-
322
- run();
323
- ```
324
-
325
- ### Parameters
326
-
327
- | Parameter | Type | Required | Description |
328
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
329
- | `request` | [operations.CreateAtsInterviewRequest](../../sdk/models/operations/createatsinterviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
330
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
331
-
332
-
333
- ### Response
334
-
335
- **Promise<[operations.CreateAtsInterviewResponse](../../sdk/models/operations/createatsinterviewresponse.md)>**
336
- ### Errors
337
-
338
- | Error Object | Status Code | Content Type |
339
- | --------------- | --------------- | --------------- |
340
- | errors.SDKError | 4xx-5xx | */* |
341
-
342
- ## createAtsJob
343
-
344
- Create a job
345
-
346
- ### Example Usage
347
-
348
- ```typescript
349
- import { UnifiedTo } from "@unified-api/typescript-sdk";
350
- import { AtsCompensationType, AtsJobQuestionType, AtsJobStatus, EmploymentType, Frequency } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
351
-
352
- async function run() {
353
- const sdk = new UnifiedTo({
354
- security: {
355
- jwt: "<YOUR_API_KEY_HERE>",
356
- },
357
- });
358
-
359
- const res = await sdk.ats.createAtsJob({
360
- atsJob: {
361
- addresses: [
362
- {},
363
- ],
364
- compensation: [
365
- {
366
- type: AtsCompensationType.Salary,
367
- },
368
- ],
369
- departments: [
370
- "<value>",
371
- ],
372
- hiringManagerIds: [
373
- "<value>",
374
- ],
375
- publicJobUrls: [
376
- "<value>",
377
- ],
378
- questions: [
379
- {
380
- options: [
381
- "<value>",
382
- ],
383
- question: "<value>",
384
- type: AtsJobQuestionType.File,
385
- },
386
- ],
387
- raw: {
388
- "key": "<value>",
389
- },
390
- recruiterIds: [
391
- "<value>",
392
- ],
393
- },
394
- connectionId: "<value>",
395
- });
396
-
397
- if (res.statusCode == 200) {
398
- // handle response
399
- }
400
- }
401
-
402
- run();
403
- ```
404
-
405
- ### Parameters
406
-
407
- | Parameter | Type | Required | Description |
408
- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
409
- | `request` | [operations.CreateAtsJobRequest](../../sdk/models/operations/createatsjobrequest.md) | :heavy_check_mark: | The request object to use for the request. |
410
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
411
-
412
-
413
- ### Response
414
-
415
- **Promise<[operations.CreateAtsJobResponse](../../sdk/models/operations/createatsjobresponse.md)>**
416
- ### Errors
417
-
418
- | Error Object | Status Code | Content Type |
419
- | --------------- | --------------- | --------------- |
420
- | errors.SDKError | 4xx-5xx | */* |
421
-
422
- ## createAtsScorecard
423
-
424
- Create a scorecard
425
-
426
- ### Example Usage
427
-
428
- ```typescript
429
- import { UnifiedTo } from "@unified-api/typescript-sdk";
430
- import { Recommendation } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
431
-
432
- async function run() {
433
- const sdk = new UnifiedTo({
434
- security: {
435
- jwt: "<YOUR_API_KEY_HERE>",
436
- },
437
- });
438
-
439
- const res = await sdk.ats.createAtsScorecard({
440
- atsScorecard: {
441
- questions: [
442
- {
443
- text: "<value>",
444
- },
445
- ],
446
- raw: {
447
- "key": "<value>",
448
- },
449
- },
450
- connectionId: "<value>",
451
- });
452
-
453
- if (res.statusCode == 200) {
454
- // handle response
455
- }
456
- }
457
-
458
- run();
459
- ```
460
-
461
- ### Parameters
462
-
463
- | Parameter | Type | Required | Description |
464
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
465
- | `request` | [operations.CreateAtsScorecardRequest](../../sdk/models/operations/createatsscorecardrequest.md) | :heavy_check_mark: | The request object to use for the request. |
466
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
467
-
468
-
469
- ### Response
470
-
471
- **Promise<[operations.CreateAtsScorecardResponse](../../sdk/models/operations/createatsscorecardresponse.md)>**
472
- ### Errors
473
-
474
- | Error Object | Status Code | Content Type |
475
- | --------------- | --------------- | --------------- |
476
- | errors.SDKError | 4xx-5xx | */* |
477
-
478
- ## getAtsActivity
479
-
480
- Retrieve an activity
481
-
482
- ### Example Usage
483
-
484
- ```typescript
485
- import { UnifiedTo } from "@unified-api/typescript-sdk";
486
-
487
- async function run() {
488
- const sdk = new UnifiedTo({
489
- security: {
490
- jwt: "<YOUR_API_KEY_HERE>",
491
- },
492
- });
493
-
494
- const res = await sdk.ats.getAtsActivity({
495
- connectionId: "<value>",
496
- fields: [
497
- "<value>",
498
- ],
499
- id: "<id>",
500
- });
501
-
502
- if (res.statusCode == 200) {
503
- // handle response
504
- }
505
- }
506
-
507
- run();
508
- ```
509
-
510
- ### Parameters
511
-
512
- | Parameter | Type | Required | Description |
513
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
514
- | `request` | [operations.GetAtsActivityRequest](../../sdk/models/operations/getatsactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
515
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
516
-
517
-
518
- ### Response
519
-
520
- **Promise<[operations.GetAtsActivityResponse](../../sdk/models/operations/getatsactivityresponse.md)>**
521
- ### Errors
522
-
523
- | Error Object | Status Code | Content Type |
524
- | --------------- | --------------- | --------------- |
525
- | errors.SDKError | 4xx-5xx | */* |
526
-
527
- ## getAtsApplication
528
-
529
- Retrieve an application
530
-
531
- ### Example Usage
532
-
533
- ```typescript
534
- import { UnifiedTo } from "@unified-api/typescript-sdk";
535
-
536
- async function run() {
537
- const sdk = new UnifiedTo({
538
- security: {
539
- jwt: "<YOUR_API_KEY_HERE>",
540
- },
541
- });
542
-
543
- const res = await sdk.ats.getAtsApplication({
544
- connectionId: "<value>",
545
- fields: [
546
- "<value>",
547
- ],
548
- id: "<id>",
549
- });
550
-
551
- if (res.statusCode == 200) {
552
- // handle response
553
- }
554
- }
555
-
556
- run();
557
- ```
558
-
559
- ### Parameters
560
-
561
- | Parameter | Type | Required | Description |
562
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
563
- | `request` | [operations.GetAtsApplicationRequest](../../sdk/models/operations/getatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
564
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
565
-
566
-
567
- ### Response
568
-
569
- **Promise<[operations.GetAtsApplicationResponse](../../sdk/models/operations/getatsapplicationresponse.md)>**
570
- ### Errors
571
-
572
- | Error Object | Status Code | Content Type |
573
- | --------------- | --------------- | --------------- |
574
- | errors.SDKError | 4xx-5xx | */* |
575
-
576
- ## getAtsCandidate
577
-
578
- Retrieve a candidate
579
-
580
- ### Example Usage
581
-
582
- ```typescript
583
- import { UnifiedTo } from "@unified-api/typescript-sdk";
584
-
585
- async function run() {
586
- const sdk = new UnifiedTo({
587
- security: {
588
- jwt: "<YOUR_API_KEY_HERE>",
589
- },
590
- });
591
-
592
- const res = await sdk.ats.getAtsCandidate({
593
- connectionId: "<value>",
594
- fields: [
595
- "<value>",
596
- ],
597
- id: "<id>",
598
- });
599
-
600
- if (res.statusCode == 200) {
601
- // handle response
602
- }
603
- }
604
-
605
- run();
606
- ```
607
-
608
- ### Parameters
609
-
610
- | Parameter | Type | Required | Description |
611
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
612
- | `request` | [operations.GetAtsCandidateRequest](../../sdk/models/operations/getatscandidaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
613
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
614
-
615
-
616
- ### Response
617
-
618
- **Promise<[operations.GetAtsCandidateResponse](../../sdk/models/operations/getatscandidateresponse.md)>**
619
- ### Errors
620
-
621
- | Error Object | Status Code | Content Type |
622
- | --------------- | --------------- | --------------- |
623
- | errors.SDKError | 4xx-5xx | */* |
624
-
625
- ## getAtsCompany
626
-
627
- Retrieve a company
628
-
629
- ### Example Usage
630
-
631
- ```typescript
632
- import { UnifiedTo } from "@unified-api/typescript-sdk";
633
-
634
- async function run() {
635
- const sdk = new UnifiedTo({
636
- security: {
637
- jwt: "<YOUR_API_KEY_HERE>",
638
- },
639
- });
640
-
641
- const res = await sdk.ats.getAtsCompany({
642
- connectionId: "<value>",
643
- fields: [
644
- "<value>",
645
- ],
646
- id: "<id>",
647
- });
648
-
649
- if (res.statusCode == 200) {
650
- // handle response
651
- }
652
- }
653
-
654
- run();
655
- ```
656
-
657
- ### Parameters
658
-
659
- | Parameter | Type | Required | Description |
660
- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
661
- | `request` | [operations.GetAtsCompanyRequest](../../sdk/models/operations/getatscompanyrequest.md) | :heavy_check_mark: | The request object to use for the request. |
662
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
663
-
664
-
665
- ### Response
666
-
667
- **Promise<[operations.GetAtsCompanyResponse](../../sdk/models/operations/getatscompanyresponse.md)>**
668
- ### Errors
669
-
670
- | Error Object | Status Code | Content Type |
671
- | --------------- | --------------- | --------------- |
672
- | errors.SDKError | 4xx-5xx | */* |
673
-
674
- ## getAtsDocument
675
-
676
- Retrieve a document
677
-
678
- ### Example Usage
679
-
680
- ```typescript
681
- import { UnifiedTo } from "@unified-api/typescript-sdk";
682
-
683
- async function run() {
684
- const sdk = new UnifiedTo({
685
- security: {
686
- jwt: "<YOUR_API_KEY_HERE>",
687
- },
688
- });
689
-
690
- const res = await sdk.ats.getAtsDocument({
691
- connectionId: "<value>",
692
- fields: [
693
- "<value>",
694
- ],
695
- id: "<id>",
696
- });
697
-
698
- if (res.statusCode == 200) {
699
- // handle response
700
- }
701
- }
702
-
703
- run();
704
- ```
705
-
706
- ### Parameters
707
-
708
- | Parameter | Type | Required | Description |
709
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
710
- | `request` | [operations.GetAtsDocumentRequest](../../sdk/models/operations/getatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
711
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
712
-
713
-
714
- ### Response
715
-
716
- **Promise<[operations.GetAtsDocumentResponse](../../sdk/models/operations/getatsdocumentresponse.md)>**
717
- ### Errors
718
-
719
- | Error Object | Status Code | Content Type |
720
- | --------------- | --------------- | --------------- |
721
- | errors.SDKError | 4xx-5xx | */* |
722
-
723
- ## getAtsInterview
724
-
725
- Retrieve a interview
726
-
727
- ### Example Usage
728
-
729
- ```typescript
730
- import { UnifiedTo } from "@unified-api/typescript-sdk";
731
-
732
- async function run() {
733
- const sdk = new UnifiedTo({
734
- security: {
735
- jwt: "<YOUR_API_KEY_HERE>",
736
- },
737
- });
738
-
739
- const res = await sdk.ats.getAtsInterview({
740
- connectionId: "<value>",
741
- fields: [
742
- "<value>",
743
- ],
744
- id: "<id>",
745
- });
746
-
747
- if (res.statusCode == 200) {
748
- // handle response
749
- }
750
- }
751
-
752
- run();
753
- ```
754
-
755
- ### Parameters
756
-
757
- | Parameter | Type | Required | Description |
758
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
759
- | `request` | [operations.GetAtsInterviewRequest](../../sdk/models/operations/getatsinterviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
760
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
761
-
762
-
763
- ### Response
764
-
765
- **Promise<[operations.GetAtsInterviewResponse](../../sdk/models/operations/getatsinterviewresponse.md)>**
766
- ### Errors
767
-
768
- | Error Object | Status Code | Content Type |
769
- | --------------- | --------------- | --------------- |
770
- | errors.SDKError | 4xx-5xx | */* |
771
-
772
- ## getAtsJob
773
-
774
- Retrieve a job
775
-
776
- ### Example Usage
777
-
778
- ```typescript
779
- import { UnifiedTo } from "@unified-api/typescript-sdk";
780
-
781
- async function run() {
782
- const sdk = new UnifiedTo({
783
- security: {
784
- jwt: "<YOUR_API_KEY_HERE>",
785
- },
786
- });
787
-
788
- const res = await sdk.ats.getAtsJob({
789
- connectionId: "<value>",
790
- fields: [
791
- "<value>",
792
- ],
793
- id: "<id>",
794
- });
795
-
796
- if (res.statusCode == 200) {
797
- // handle response
798
- }
799
- }
800
-
801
- run();
802
- ```
803
-
804
- ### Parameters
805
-
806
- | Parameter | Type | Required | Description |
807
- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
808
- | `request` | [operations.GetAtsJobRequest](../../sdk/models/operations/getatsjobrequest.md) | :heavy_check_mark: | The request object to use for the request. |
809
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
810
-
811
-
812
- ### Response
813
-
814
- **Promise<[operations.GetAtsJobResponse](../../sdk/models/operations/getatsjobresponse.md)>**
815
- ### Errors
816
-
817
- | Error Object | Status Code | Content Type |
818
- | --------------- | --------------- | --------------- |
819
- | errors.SDKError | 4xx-5xx | */* |
820
-
821
- ## getAtsScorecard
822
-
823
- Retrieve a scorecard
824
-
825
- ### Example Usage
826
-
827
- ```typescript
828
- import { UnifiedTo } from "@unified-api/typescript-sdk";
829
-
830
- async function run() {
831
- const sdk = new UnifiedTo({
832
- security: {
833
- jwt: "<YOUR_API_KEY_HERE>",
834
- },
835
- });
836
-
837
- const res = await sdk.ats.getAtsScorecard({
838
- connectionId: "<value>",
839
- fields: [
840
- "<value>",
841
- ],
842
- id: "<id>",
843
- });
844
-
845
- if (res.statusCode == 200) {
846
- // handle response
847
- }
848
- }
849
-
850
- run();
851
- ```
852
-
853
- ### Parameters
854
-
855
- | Parameter | Type | Required | Description |
856
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
857
- | `request` | [operations.GetAtsScorecardRequest](../../sdk/models/operations/getatsscorecardrequest.md) | :heavy_check_mark: | The request object to use for the request. |
858
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
859
-
860
-
861
- ### Response
862
-
863
- **Promise<[operations.GetAtsScorecardResponse](../../sdk/models/operations/getatsscorecardresponse.md)>**
864
- ### Errors
865
-
866
- | Error Object | Status Code | Content Type |
867
- | --------------- | --------------- | --------------- |
868
- | errors.SDKError | 4xx-5xx | */* |
869
-
870
- ## listAtsActivities
871
-
872
- List all activities
873
-
874
- ### Example Usage
875
-
876
- ```typescript
877
- import { UnifiedTo } from "@unified-api/typescript-sdk";
878
-
879
- async function run() {
880
- const sdk = new UnifiedTo({
881
- security: {
882
- jwt: "<YOUR_API_KEY_HERE>",
883
- },
884
- });
885
-
886
- const res = await sdk.ats.listAtsActivities({
887
- connectionId: "<value>",
888
- fields: [
889
- "<value>",
890
- ],
891
- });
892
-
893
- if (res.statusCode == 200) {
894
- // handle response
895
- }
896
- }
897
-
898
- run();
899
- ```
900
-
901
- ### Parameters
902
-
903
- | Parameter | Type | Required | Description |
904
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
905
- | `request` | [operations.ListAtsActivitiesRequest](../../sdk/models/operations/listatsactivitiesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
906
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
907
-
908
-
909
- ### Response
910
-
911
- **Promise<[operations.ListAtsActivitiesResponse](../../sdk/models/operations/listatsactivitiesresponse.md)>**
912
- ### Errors
913
-
914
- | Error Object | Status Code | Content Type |
915
- | --------------- | --------------- | --------------- |
916
- | errors.SDKError | 4xx-5xx | */* |
917
-
918
- ## listAtsApplications
919
-
920
- List all applications
921
-
922
- ### Example Usage
923
-
924
- ```typescript
925
- import { UnifiedTo } from "@unified-api/typescript-sdk";
926
-
927
- async function run() {
928
- const sdk = new UnifiedTo({
929
- security: {
930
- jwt: "<YOUR_API_KEY_HERE>",
931
- },
932
- });
933
-
934
- const res = await sdk.ats.listAtsApplications({
935
- connectionId: "<value>",
936
- fields: [
937
- "<value>",
938
- ],
939
- });
940
-
941
- if (res.statusCode == 200) {
942
- // handle response
943
- }
944
- }
945
-
946
- run();
947
- ```
948
-
949
- ### Parameters
950
-
951
- | Parameter | Type | Required | Description |
952
- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
953
- | `request` | [operations.ListAtsApplicationsRequest](../../sdk/models/operations/listatsapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
954
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
955
-
956
-
957
- ### Response
958
-
959
- **Promise<[operations.ListAtsApplicationsResponse](../../sdk/models/operations/listatsapplicationsresponse.md)>**
960
- ### Errors
961
-
962
- | Error Object | Status Code | Content Type |
963
- | --------------- | --------------- | --------------- |
964
- | errors.SDKError | 4xx-5xx | */* |
965
-
966
- ## listAtsApplicationstatuses
967
-
968
- List all application statuses
969
-
970
- ### Example Usage
971
-
972
- ```typescript
973
- import { UnifiedTo } from "@unified-api/typescript-sdk";
974
-
975
- async function run() {
976
- const sdk = new UnifiedTo({
977
- security: {
978
- jwt: "<YOUR_API_KEY_HERE>",
979
- },
980
- });
981
-
982
- const res = await sdk.ats.listAtsApplicationstatuses({
983
- connectionId: "<value>",
984
- fields: [
985
- "<value>",
986
- ],
987
- });
988
-
989
- if (res.statusCode == 200) {
990
- // handle response
991
- }
992
- }
993
-
994
- run();
995
- ```
996
-
997
- ### Parameters
998
-
999
- | Parameter | Type | Required | Description |
1000
- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
1001
- | `request` | [operations.ListAtsApplicationstatusesRequest](../../sdk/models/operations/listatsapplicationstatusesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1002
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1003
-
1004
-
1005
- ### Response
1006
-
1007
- **Promise<[operations.ListAtsApplicationstatusesResponse](../../sdk/models/operations/listatsapplicationstatusesresponse.md)>**
1008
- ### Errors
1009
-
1010
- | Error Object | Status Code | Content Type |
1011
- | --------------- | --------------- | --------------- |
1012
- | errors.SDKError | 4xx-5xx | */* |
1013
-
1014
- ## listAtsCandidates
1015
-
1016
- List all candidates
1017
-
1018
- ### Example Usage
1019
-
1020
- ```typescript
1021
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1022
-
1023
- async function run() {
1024
- const sdk = new UnifiedTo({
1025
- security: {
1026
- jwt: "<YOUR_API_KEY_HERE>",
1027
- },
1028
- });
1029
-
1030
- const res = await sdk.ats.listAtsCandidates({
1031
- connectionId: "<value>",
1032
- fields: [
1033
- "<value>",
1034
- ],
1035
- });
1036
-
1037
- if (res.statusCode == 200) {
1038
- // handle response
1039
- }
1040
- }
1041
-
1042
- run();
1043
- ```
1044
-
1045
- ### Parameters
1046
-
1047
- | Parameter | Type | Required | Description |
1048
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1049
- | `request` | [operations.ListAtsCandidatesRequest](../../sdk/models/operations/listatscandidatesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1050
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1051
-
1052
-
1053
- ### Response
1054
-
1055
- **Promise<[operations.ListAtsCandidatesResponse](../../sdk/models/operations/listatscandidatesresponse.md)>**
1056
- ### Errors
1057
-
1058
- | Error Object | Status Code | Content Type |
1059
- | --------------- | --------------- | --------------- |
1060
- | errors.SDKError | 4xx-5xx | */* |
1061
-
1062
- ## listAtsCompanies
1063
-
1064
- List all companies
1065
-
1066
- ### Example Usage
1067
-
1068
- ```typescript
1069
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1070
-
1071
- async function run() {
1072
- const sdk = new UnifiedTo({
1073
- security: {
1074
- jwt: "<YOUR_API_KEY_HERE>",
1075
- },
1076
- });
1077
-
1078
- const res = await sdk.ats.listAtsCompanies({
1079
- connectionId: "<value>",
1080
- fields: [
1081
- "<value>",
1082
- ],
1083
- });
1084
-
1085
- if (res.statusCode == 200) {
1086
- // handle response
1087
- }
1088
- }
1089
-
1090
- run();
1091
- ```
1092
-
1093
- ### Parameters
1094
-
1095
- | Parameter | Type | Required | Description |
1096
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
1097
- | `request` | [operations.ListAtsCompaniesRequest](../../sdk/models/operations/listatscompaniesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1098
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1099
-
1100
-
1101
- ### Response
1102
-
1103
- **Promise<[operations.ListAtsCompaniesResponse](../../sdk/models/operations/listatscompaniesresponse.md)>**
1104
- ### Errors
1105
-
1106
- | Error Object | Status Code | Content Type |
1107
- | --------------- | --------------- | --------------- |
1108
- | errors.SDKError | 4xx-5xx | */* |
1109
-
1110
- ## listAtsDocuments
1111
-
1112
- List all documents
1113
-
1114
- ### Example Usage
1115
-
1116
- ```typescript
1117
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1118
-
1119
- async function run() {
1120
- const sdk = new UnifiedTo({
1121
- security: {
1122
- jwt: "<YOUR_API_KEY_HERE>",
1123
- },
1124
- });
1125
-
1126
- const res = await sdk.ats.listAtsDocuments({
1127
- connectionId: "<value>",
1128
- fields: [
1129
- "<value>",
1130
- ],
1131
- });
1132
-
1133
- if (res.statusCode == 200) {
1134
- // handle response
1135
- }
1136
- }
1137
-
1138
- run();
1139
- ```
1140
-
1141
- ### Parameters
1142
-
1143
- | Parameter | Type | Required | Description |
1144
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
1145
- | `request` | [operations.ListAtsDocumentsRequest](../../sdk/models/operations/listatsdocumentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1146
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1147
-
1148
-
1149
- ### Response
1150
-
1151
- **Promise<[operations.ListAtsDocumentsResponse](../../sdk/models/operations/listatsdocumentsresponse.md)>**
1152
- ### Errors
1153
-
1154
- | Error Object | Status Code | Content Type |
1155
- | --------------- | --------------- | --------------- |
1156
- | errors.SDKError | 4xx-5xx | */* |
1157
-
1158
- ## listAtsInterviews
1159
-
1160
- List all interviews
1161
-
1162
- ### Example Usage
1163
-
1164
- ```typescript
1165
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1166
-
1167
- async function run() {
1168
- const sdk = new UnifiedTo({
1169
- security: {
1170
- jwt: "<YOUR_API_KEY_HERE>",
1171
- },
1172
- });
1173
-
1174
- const res = await sdk.ats.listAtsInterviews({
1175
- connectionId: "<value>",
1176
- fields: [
1177
- "<value>",
1178
- ],
1179
- });
1180
-
1181
- if (res.statusCode == 200) {
1182
- // handle response
1183
- }
1184
- }
1185
-
1186
- run();
1187
- ```
1188
-
1189
- ### Parameters
1190
-
1191
- | Parameter | Type | Required | Description |
1192
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1193
- | `request` | [operations.ListAtsInterviewsRequest](../../sdk/models/operations/listatsinterviewsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1194
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1195
-
1196
-
1197
- ### Response
1198
-
1199
- **Promise<[operations.ListAtsInterviewsResponse](../../sdk/models/operations/listatsinterviewsresponse.md)>**
1200
- ### Errors
1201
-
1202
- | Error Object | Status Code | Content Type |
1203
- | --------------- | --------------- | --------------- |
1204
- | errors.SDKError | 4xx-5xx | */* |
1205
-
1206
- ## listAtsJobs
1207
-
1208
- List all jobs
1209
-
1210
- ### Example Usage
1211
-
1212
- ```typescript
1213
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1214
-
1215
- async function run() {
1216
- const sdk = new UnifiedTo({
1217
- security: {
1218
- jwt: "<YOUR_API_KEY_HERE>",
1219
- },
1220
- });
1221
-
1222
- const res = await sdk.ats.listAtsJobs({
1223
- connectionId: "<value>",
1224
- fields: [
1225
- "<value>",
1226
- ],
1227
- });
1228
-
1229
- if (res.statusCode == 200) {
1230
- // handle response
1231
- }
1232
- }
1233
-
1234
- run();
1235
- ```
1236
-
1237
- ### Parameters
1238
-
1239
- | Parameter | Type | Required | Description |
1240
- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
1241
- | `request` | [operations.ListAtsJobsRequest](../../sdk/models/operations/listatsjobsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1242
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1243
-
1244
-
1245
- ### Response
1246
-
1247
- **Promise<[operations.ListAtsJobsResponse](../../sdk/models/operations/listatsjobsresponse.md)>**
1248
- ### Errors
1249
-
1250
- | Error Object | Status Code | Content Type |
1251
- | --------------- | --------------- | --------------- |
1252
- | errors.SDKError | 4xx-5xx | */* |
1253
-
1254
- ## listAtsScorecards
1255
-
1256
- List all scorecards
1257
-
1258
- ### Example Usage
1259
-
1260
- ```typescript
1261
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1262
-
1263
- async function run() {
1264
- const sdk = new UnifiedTo({
1265
- security: {
1266
- jwt: "<YOUR_API_KEY_HERE>",
1267
- },
1268
- });
1269
-
1270
- const res = await sdk.ats.listAtsScorecards({
1271
- connectionId: "<value>",
1272
- fields: [
1273
- "<value>",
1274
- ],
1275
- });
1276
-
1277
- if (res.statusCode == 200) {
1278
- // handle response
1279
- }
1280
- }
1281
-
1282
- run();
1283
- ```
1284
-
1285
- ### Parameters
1286
-
1287
- | Parameter | Type | Required | Description |
1288
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1289
- | `request` | [operations.ListAtsScorecardsRequest](../../sdk/models/operations/listatsscorecardsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1290
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1291
-
1292
-
1293
- ### Response
1294
-
1295
- **Promise<[operations.ListAtsScorecardsResponse](../../sdk/models/operations/listatsscorecardsresponse.md)>**
1296
- ### Errors
1297
-
1298
- | Error Object | Status Code | Content Type |
1299
- | --------------- | --------------- | --------------- |
1300
- | errors.SDKError | 4xx-5xx | */* |
1301
-
1302
- ## patchAtsActivity
1303
-
1304
- Update an activity
1305
-
1306
- ### Example Usage
1307
-
1308
- ```typescript
1309
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1310
- import { AtsActivityType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1311
-
1312
- async function run() {
1313
- const sdk = new UnifiedTo({
1314
- security: {
1315
- jwt: "<YOUR_API_KEY_HERE>",
1316
- },
1317
- });
1318
-
1319
- const res = await sdk.ats.patchAtsActivity({
1320
- atsActivity: {
1321
- raw: {
1322
- "key": "<value>",
1323
- },
1324
- title: "<value>",
1325
- userIds: [
1326
- "<value>",
1327
- ],
1328
- },
1329
- connectionId: "<value>",
1330
- id: "<id>",
1331
- });
1332
-
1333
- if (res.statusCode == 200) {
1334
- // handle response
1335
- }
1336
- }
1337
-
1338
- run();
1339
- ```
1340
-
1341
- ### Parameters
1342
-
1343
- | Parameter | Type | Required | Description |
1344
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
1345
- | `request` | [operations.PatchAtsActivityRequest](../../sdk/models/operations/patchatsactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1346
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1347
-
1348
-
1349
- ### Response
1350
-
1351
- **Promise<[operations.PatchAtsActivityResponse](../../sdk/models/operations/patchatsactivityresponse.md)>**
1352
- ### Errors
1353
-
1354
- | Error Object | Status Code | Content Type |
1355
- | --------------- | --------------- | --------------- |
1356
- | errors.SDKError | 4xx-5xx | */* |
1357
-
1358
- ## patchAtsApplication
1359
-
1360
- Update an application
1361
-
1362
- ### Example Usage
1363
-
1364
- ```typescript
1365
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1366
- import { AtsApplicationStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1367
-
1368
- async function run() {
1369
- const sdk = new UnifiedTo({
1370
- security: {
1371
- jwt: "<YOUR_API_KEY_HERE>",
1372
- },
1373
- });
1374
-
1375
- const res = await sdk.ats.patchAtsApplication({
1376
- atsApplication: {
1377
- answers: [
1378
- {
1379
- answers: [
1380
- "<value>",
1381
- ],
1382
- questionId: "<value>",
1383
- },
1384
- ],
1385
- raw: {
1386
- "key": "<value>",
1387
- },
1388
- },
1389
- connectionId: "<value>",
1390
- id: "<id>",
1391
- });
1392
-
1393
- if (res.statusCode == 200) {
1394
- // handle response
1395
- }
1396
- }
1397
-
1398
- run();
1399
- ```
1400
-
1401
- ### Parameters
1402
-
1403
- | Parameter | Type | Required | Description |
1404
- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
1405
- | `request` | [operations.PatchAtsApplicationRequest](../../sdk/models/operations/patchatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1406
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1407
-
1408
-
1409
- ### Response
1410
-
1411
- **Promise<[operations.PatchAtsApplicationResponse](../../sdk/models/operations/patchatsapplicationresponse.md)>**
1412
- ### Errors
1413
-
1414
- | Error Object | Status Code | Content Type |
1415
- | --------------- | --------------- | --------------- |
1416
- | errors.SDKError | 4xx-5xx | */* |
1417
-
1418
- ## patchAtsCandidate
1419
-
1420
- Update a candidate
1421
-
1422
- ### Example Usage
1423
-
1424
- ```typescript
1425
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1426
- import { AtsEmailType, AtsTelephoneType, Origin } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1427
-
1428
- async function run() {
1429
- const sdk = new UnifiedTo({
1430
- security: {
1431
- jwt: "<YOUR_API_KEY_HERE>",
1432
- },
1433
- });
1434
-
1435
- const res = await sdk.ats.patchAtsCandidate({
1436
- atsCandidate: {
1437
- address: {},
1438
- emails: [
1439
- {
1440
- email: "Tracy.Collins13@gmail.com",
1441
- },
1442
- ],
1443
- linkUrls: [
1444
- "<value>",
1445
- ],
1446
- raw: {
1447
- "key": "<value>",
1448
- },
1449
- sources: [
1450
- "<value>",
1451
- ],
1452
- tags: [
1453
- "<value>",
1454
- ],
1455
- telephones: [
1456
- {
1457
- telephone: "<value>",
1458
- },
1459
- ],
1460
- },
1461
- connectionId: "<value>",
1462
- id: "<id>",
1463
- });
1464
-
1465
- if (res.statusCode == 200) {
1466
- // handle response
1467
- }
1468
- }
1469
-
1470
- run();
1471
- ```
1472
-
1473
- ### Parameters
1474
-
1475
- | Parameter | Type | Required | Description |
1476
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1477
- | `request` | [operations.PatchAtsCandidateRequest](../../sdk/models/operations/patchatscandidaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
1478
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1479
-
1480
-
1481
- ### Response
1482
-
1483
- **Promise<[operations.PatchAtsCandidateResponse](../../sdk/models/operations/patchatscandidateresponse.md)>**
1484
- ### Errors
1485
-
1486
- | Error Object | Status Code | Content Type |
1487
- | --------------- | --------------- | --------------- |
1488
- | errors.SDKError | 4xx-5xx | */* |
1489
-
1490
- ## patchAtsDocument
1491
-
1492
- Update a document
1493
-
1494
- ### Example Usage
1495
-
1496
- ```typescript
1497
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1498
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1499
-
1500
- async function run() {
1501
- const sdk = new UnifiedTo({
1502
- security: {
1503
- jwt: "<YOUR_API_KEY_HERE>",
1504
- },
1505
- });
1506
-
1507
- const res = await sdk.ats.patchAtsDocument({
1508
- atsDocument: {
1509
- raw: {
1510
- "key": "<value>",
1511
- },
1512
- },
1513
- connectionId: "<value>",
1514
- id: "<id>",
1515
- });
1516
-
1517
- if (res.statusCode == 200) {
1518
- // handle response
1519
- }
1520
- }
1521
-
1522
- run();
1523
- ```
1524
-
1525
- ### Parameters
1526
-
1527
- | Parameter | Type | Required | Description |
1528
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
1529
- | `request` | [operations.PatchAtsDocumentRequest](../../sdk/models/operations/patchatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1530
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1531
-
1532
-
1533
- ### Response
1534
-
1535
- **Promise<[operations.PatchAtsDocumentResponse](../../sdk/models/operations/patchatsdocumentresponse.md)>**
1536
- ### Errors
1537
-
1538
- | Error Object | Status Code | Content Type |
1539
- | --------------- | --------------- | --------------- |
1540
- | errors.SDKError | 4xx-5xx | */* |
1541
-
1542
- ## patchAtsInterview
1543
-
1544
- Update a interview
1545
-
1546
- ### Example Usage
1547
-
1548
- ```typescript
1549
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1550
- import { AtsInterviewStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1551
-
1552
- async function run() {
1553
- const sdk = new UnifiedTo({
1554
- security: {
1555
- jwt: "<YOUR_API_KEY_HERE>",
1556
- },
1557
- });
1558
-
1559
- const res = await sdk.ats.patchAtsInterview({
1560
- atsInterview: {
1561
- raw: {
1562
- "key": "<value>",
1563
- },
1564
- userIds: [
1565
- "<value>",
1566
- ],
1567
- },
1568
- connectionId: "<value>",
1569
- id: "<id>",
1570
- });
1571
-
1572
- if (res.statusCode == 200) {
1573
- // handle response
1574
- }
1575
- }
1576
-
1577
- run();
1578
- ```
1579
-
1580
- ### Parameters
1581
-
1582
- | Parameter | Type | Required | Description |
1583
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1584
- | `request` | [operations.PatchAtsInterviewRequest](../../sdk/models/operations/patchatsinterviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1585
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1586
-
1587
-
1588
- ### Response
1589
-
1590
- **Promise<[operations.PatchAtsInterviewResponse](../../sdk/models/operations/patchatsinterviewresponse.md)>**
1591
- ### Errors
1592
-
1593
- | Error Object | Status Code | Content Type |
1594
- | --------------- | --------------- | --------------- |
1595
- | errors.SDKError | 4xx-5xx | */* |
1596
-
1597
- ## patchAtsJob
1598
-
1599
- Update a job
1600
-
1601
- ### Example Usage
1602
-
1603
- ```typescript
1604
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1605
- import { AtsCompensationType, AtsJobQuestionType, AtsJobStatus, EmploymentType, Frequency } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1606
-
1607
- async function run() {
1608
- const sdk = new UnifiedTo({
1609
- security: {
1610
- jwt: "<YOUR_API_KEY_HERE>",
1611
- },
1612
- });
1613
-
1614
- const res = await sdk.ats.patchAtsJob({
1615
- atsJob: {
1616
- addresses: [
1617
- {},
1618
- ],
1619
- compensation: [
1620
- {
1621
- type: AtsCompensationType.Bonus,
1622
- },
1623
- ],
1624
- departments: [
1625
- "<value>",
1626
- ],
1627
- hiringManagerIds: [
1628
- "<value>",
1629
- ],
1630
- publicJobUrls: [
1631
- "<value>",
1632
- ],
1633
- questions: [
1634
- {
1635
- options: [
1636
- "<value>",
1637
- ],
1638
- question: "<value>",
1639
- type: AtsJobQuestionType.Date,
1640
- },
1641
- ],
1642
- raw: {
1643
- "key": "<value>",
1644
- },
1645
- recruiterIds: [
1646
- "<value>",
1647
- ],
1648
- },
1649
- connectionId: "<value>",
1650
- id: "<id>",
1651
- });
1652
-
1653
- if (res.statusCode == 200) {
1654
- // handle response
1655
- }
1656
- }
1657
-
1658
- run();
1659
- ```
1660
-
1661
- ### Parameters
1662
-
1663
- | Parameter | Type | Required | Description |
1664
- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
1665
- | `request` | [operations.PatchAtsJobRequest](../../sdk/models/operations/patchatsjobrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1666
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1667
-
1668
-
1669
- ### Response
1670
-
1671
- **Promise<[operations.PatchAtsJobResponse](../../sdk/models/operations/patchatsjobresponse.md)>**
1672
- ### Errors
1673
-
1674
- | Error Object | Status Code | Content Type |
1675
- | --------------- | --------------- | --------------- |
1676
- | errors.SDKError | 4xx-5xx | */* |
1677
-
1678
- ## patchAtsScorecard
1679
-
1680
- Update a scorecard
1681
-
1682
- ### Example Usage
1683
-
1684
- ```typescript
1685
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1686
- import { Recommendation } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
1687
-
1688
- async function run() {
1689
- const sdk = new UnifiedTo({
1690
- security: {
1691
- jwt: "<YOUR_API_KEY_HERE>",
1692
- },
1693
- });
1694
-
1695
- const res = await sdk.ats.patchAtsScorecard({
1696
- atsScorecard: {
1697
- questions: [
1698
- {
1699
- text: "<value>",
1700
- },
1701
- ],
1702
- raw: {
1703
- "key": "<value>",
1704
- },
1705
- },
1706
- connectionId: "<value>",
1707
- id: "<id>",
1708
- });
1709
-
1710
- if (res.statusCode == 200) {
1711
- // handle response
1712
- }
1713
- }
1714
-
1715
- run();
1716
- ```
1717
-
1718
- ### Parameters
1719
-
1720
- | Parameter | Type | Required | Description |
1721
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1722
- | `request` | [operations.PatchAtsScorecardRequest](../../sdk/models/operations/patchatsscorecardrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1723
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1724
-
1725
-
1726
- ### Response
1727
-
1728
- **Promise<[operations.PatchAtsScorecardResponse](../../sdk/models/operations/patchatsscorecardresponse.md)>**
1729
- ### Errors
1730
-
1731
- | Error Object | Status Code | Content Type |
1732
- | --------------- | --------------- | --------------- |
1733
- | errors.SDKError | 4xx-5xx | */* |
1734
-
1735
- ## removeAtsActivity
1736
-
1737
- Remove an activity
1738
-
1739
- ### Example Usage
1740
-
1741
- ```typescript
1742
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1743
-
1744
- async function run() {
1745
- const sdk = new UnifiedTo({
1746
- security: {
1747
- jwt: "<YOUR_API_KEY_HERE>",
1748
- },
1749
- });
1750
-
1751
- const res = await sdk.ats.removeAtsActivity({
1752
- connectionId: "<value>",
1753
- id: "<id>",
1754
- });
1755
-
1756
- if (res.statusCode == 200) {
1757
- // handle response
1758
- }
1759
- }
1760
-
1761
- run();
1762
- ```
1763
-
1764
- ### Parameters
1765
-
1766
- | Parameter | Type | Required | Description |
1767
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1768
- | `request` | [operations.RemoveAtsActivityRequest](../../sdk/models/operations/removeatsactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1769
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1770
-
1771
-
1772
- ### Response
1773
-
1774
- **Promise<[operations.RemoveAtsActivityResponse](../../sdk/models/operations/removeatsactivityresponse.md)>**
1775
- ### Errors
1776
-
1777
- | Error Object | Status Code | Content Type |
1778
- | --------------- | --------------- | --------------- |
1779
- | errors.SDKError | 4xx-5xx | */* |
1780
-
1781
- ## removeAtsApplication
1782
-
1783
- Remove an application
1784
-
1785
- ### Example Usage
1786
-
1787
- ```typescript
1788
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1789
-
1790
- async function run() {
1791
- const sdk = new UnifiedTo({
1792
- security: {
1793
- jwt: "<YOUR_API_KEY_HERE>",
1794
- },
1795
- });
1796
-
1797
- const res = await sdk.ats.removeAtsApplication({
1798
- connectionId: "<value>",
1799
- id: "<id>",
1800
- });
1801
-
1802
- if (res.statusCode == 200) {
1803
- // handle response
1804
- }
1805
- }
1806
-
1807
- run();
1808
- ```
1809
-
1810
- ### Parameters
1811
-
1812
- | Parameter | Type | Required | Description |
1813
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
1814
- | `request` | [operations.RemoveAtsApplicationRequest](../../sdk/models/operations/removeatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1815
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1816
-
1817
-
1818
- ### Response
1819
-
1820
- **Promise<[operations.RemoveAtsApplicationResponse](../../sdk/models/operations/removeatsapplicationresponse.md)>**
1821
- ### Errors
1822
-
1823
- | Error Object | Status Code | Content Type |
1824
- | --------------- | --------------- | --------------- |
1825
- | errors.SDKError | 4xx-5xx | */* |
1826
-
1827
- ## removeAtsCandidate
1828
-
1829
- Remove a candidate
1830
-
1831
- ### Example Usage
1832
-
1833
- ```typescript
1834
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1835
-
1836
- async function run() {
1837
- const sdk = new UnifiedTo({
1838
- security: {
1839
- jwt: "<YOUR_API_KEY_HERE>",
1840
- },
1841
- });
1842
-
1843
- const res = await sdk.ats.removeAtsCandidate({
1844
- connectionId: "<value>",
1845
- id: "<id>",
1846
- });
1847
-
1848
- if (res.statusCode == 200) {
1849
- // handle response
1850
- }
1851
- }
1852
-
1853
- run();
1854
- ```
1855
-
1856
- ### Parameters
1857
-
1858
- | Parameter | Type | Required | Description |
1859
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
1860
- | `request` | [operations.RemoveAtsCandidateRequest](../../sdk/models/operations/removeatscandidaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
1861
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1862
-
1863
-
1864
- ### Response
1865
-
1866
- **Promise<[operations.RemoveAtsCandidateResponse](../../sdk/models/operations/removeatscandidateresponse.md)>**
1867
- ### Errors
1868
-
1869
- | Error Object | Status Code | Content Type |
1870
- | --------------- | --------------- | --------------- |
1871
- | errors.SDKError | 4xx-5xx | */* |
1872
-
1873
- ## removeAtsDocument
1874
-
1875
- Remove a document
1876
-
1877
- ### Example Usage
1878
-
1879
- ```typescript
1880
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1881
-
1882
- async function run() {
1883
- const sdk = new UnifiedTo({
1884
- security: {
1885
- jwt: "<YOUR_API_KEY_HERE>",
1886
- },
1887
- });
1888
-
1889
- const res = await sdk.ats.removeAtsDocument({
1890
- connectionId: "<value>",
1891
- id: "<id>",
1892
- });
1893
-
1894
- if (res.statusCode == 200) {
1895
- // handle response
1896
- }
1897
- }
1898
-
1899
- run();
1900
- ```
1901
-
1902
- ### Parameters
1903
-
1904
- | Parameter | Type | Required | Description |
1905
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1906
- | `request` | [operations.RemoveAtsDocumentRequest](../../sdk/models/operations/removeatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1907
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1908
-
1909
-
1910
- ### Response
1911
-
1912
- **Promise<[operations.RemoveAtsDocumentResponse](../../sdk/models/operations/removeatsdocumentresponse.md)>**
1913
- ### Errors
1914
-
1915
- | Error Object | Status Code | Content Type |
1916
- | --------------- | --------------- | --------------- |
1917
- | errors.SDKError | 4xx-5xx | */* |
1918
-
1919
- ## removeAtsInterview
1920
-
1921
- Remove a interview
1922
-
1923
- ### Example Usage
1924
-
1925
- ```typescript
1926
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1927
-
1928
- async function run() {
1929
- const sdk = new UnifiedTo({
1930
- security: {
1931
- jwt: "<YOUR_API_KEY_HERE>",
1932
- },
1933
- });
1934
-
1935
- const res = await sdk.ats.removeAtsInterview({
1936
- connectionId: "<value>",
1937
- id: "<id>",
1938
- });
1939
-
1940
- if (res.statusCode == 200) {
1941
- // handle response
1942
- }
1943
- }
1944
-
1945
- run();
1946
- ```
1947
-
1948
- ### Parameters
1949
-
1950
- | Parameter | Type | Required | Description |
1951
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
1952
- | `request` | [operations.RemoveAtsInterviewRequest](../../sdk/models/operations/removeatsinterviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1953
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
1954
-
1955
-
1956
- ### Response
1957
-
1958
- **Promise<[operations.RemoveAtsInterviewResponse](../../sdk/models/operations/removeatsinterviewresponse.md)>**
1959
- ### Errors
1960
-
1961
- | Error Object | Status Code | Content Type |
1962
- | --------------- | --------------- | --------------- |
1963
- | errors.SDKError | 4xx-5xx | */* |
1964
-
1965
- ## removeAtsJob
1966
-
1967
- Remove a job
1968
-
1969
- ### Example Usage
1970
-
1971
- ```typescript
1972
- import { UnifiedTo } from "@unified-api/typescript-sdk";
1973
-
1974
- async function run() {
1975
- const sdk = new UnifiedTo({
1976
- security: {
1977
- jwt: "<YOUR_API_KEY_HERE>",
1978
- },
1979
- });
1980
-
1981
- const res = await sdk.ats.removeAtsJob({
1982
- connectionId: "<value>",
1983
- id: "<id>",
1984
- });
1985
-
1986
- if (res.statusCode == 200) {
1987
- // handle response
1988
- }
1989
- }
1990
-
1991
- run();
1992
- ```
1993
-
1994
- ### Parameters
1995
-
1996
- | Parameter | Type | Required | Description |
1997
- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
1998
- | `request` | [operations.RemoveAtsJobRequest](../../sdk/models/operations/removeatsjobrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1999
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2000
-
2001
-
2002
- ### Response
2003
-
2004
- **Promise<[operations.RemoveAtsJobResponse](../../sdk/models/operations/removeatsjobresponse.md)>**
2005
- ### Errors
2006
-
2007
- | Error Object | Status Code | Content Type |
2008
- | --------------- | --------------- | --------------- |
2009
- | errors.SDKError | 4xx-5xx | */* |
2010
-
2011
- ## removeAtsScorecard
2012
-
2013
- Remove a scorecard
2014
-
2015
- ### Example Usage
2016
-
2017
- ```typescript
2018
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2019
-
2020
- async function run() {
2021
- const sdk = new UnifiedTo({
2022
- security: {
2023
- jwt: "<YOUR_API_KEY_HERE>",
2024
- },
2025
- });
2026
-
2027
- const res = await sdk.ats.removeAtsScorecard({
2028
- connectionId: "<value>",
2029
- id: "<id>",
2030
- });
2031
-
2032
- if (res.statusCode == 200) {
2033
- // handle response
2034
- }
2035
- }
2036
-
2037
- run();
2038
- ```
2039
-
2040
- ### Parameters
2041
-
2042
- | Parameter | Type | Required | Description |
2043
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
2044
- | `request` | [operations.RemoveAtsScorecardRequest](../../sdk/models/operations/removeatsscorecardrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2045
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2046
-
2047
-
2048
- ### Response
2049
-
2050
- **Promise<[operations.RemoveAtsScorecardResponse](../../sdk/models/operations/removeatsscorecardresponse.md)>**
2051
- ### Errors
2052
-
2053
- | Error Object | Status Code | Content Type |
2054
- | --------------- | --------------- | --------------- |
2055
- | errors.SDKError | 4xx-5xx | */* |
2056
-
2057
- ## updateAtsActivity
2058
-
2059
- Update an activity
2060
-
2061
- ### Example Usage
2062
-
2063
- ```typescript
2064
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2065
- import { AtsActivityType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2066
-
2067
- async function run() {
2068
- const sdk = new UnifiedTo({
2069
- security: {
2070
- jwt: "<YOUR_API_KEY_HERE>",
2071
- },
2072
- });
2073
-
2074
- const res = await sdk.ats.updateAtsActivity({
2075
- atsActivity: {
2076
- raw: {
2077
- "key": "<value>",
2078
- },
2079
- title: "<value>",
2080
- userIds: [
2081
- "<value>",
2082
- ],
2083
- },
2084
- connectionId: "<value>",
2085
- id: "<id>",
2086
- });
2087
-
2088
- if (res.statusCode == 200) {
2089
- // handle response
2090
- }
2091
- }
2092
-
2093
- run();
2094
- ```
2095
-
2096
- ### Parameters
2097
-
2098
- | Parameter | Type | Required | Description |
2099
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
2100
- | `request` | [operations.UpdateAtsActivityRequest](../../sdk/models/operations/updateatsactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2101
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2102
-
2103
-
2104
- ### Response
2105
-
2106
- **Promise<[operations.UpdateAtsActivityResponse](../../sdk/models/operations/updateatsactivityresponse.md)>**
2107
- ### Errors
2108
-
2109
- | Error Object | Status Code | Content Type |
2110
- | --------------- | --------------- | --------------- |
2111
- | errors.SDKError | 4xx-5xx | */* |
2112
-
2113
- ## updateAtsApplication
2114
-
2115
- Update an application
2116
-
2117
- ### Example Usage
2118
-
2119
- ```typescript
2120
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2121
- import { AtsApplicationStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2122
-
2123
- async function run() {
2124
- const sdk = new UnifiedTo({
2125
- security: {
2126
- jwt: "<YOUR_API_KEY_HERE>",
2127
- },
2128
- });
2129
-
2130
- const res = await sdk.ats.updateAtsApplication({
2131
- atsApplication: {
2132
- answers: [
2133
- {
2134
- answers: [
2135
- "<value>",
2136
- ],
2137
- questionId: "<value>",
2138
- },
2139
- ],
2140
- raw: {
2141
- "key": "<value>",
2142
- },
2143
- },
2144
- connectionId: "<value>",
2145
- id: "<id>",
2146
- });
2147
-
2148
- if (res.statusCode == 200) {
2149
- // handle response
2150
- }
2151
- }
2152
-
2153
- run();
2154
- ```
2155
-
2156
- ### Parameters
2157
-
2158
- | Parameter | Type | Required | Description |
2159
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
2160
- | `request` | [operations.UpdateAtsApplicationRequest](../../sdk/models/operations/updateatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2161
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2162
-
2163
-
2164
- ### Response
2165
-
2166
- **Promise<[operations.UpdateAtsApplicationResponse](../../sdk/models/operations/updateatsapplicationresponse.md)>**
2167
- ### Errors
2168
-
2169
- | Error Object | Status Code | Content Type |
2170
- | --------------- | --------------- | --------------- |
2171
- | errors.SDKError | 4xx-5xx | */* |
2172
-
2173
- ## updateAtsCandidate
2174
-
2175
- Update a candidate
2176
-
2177
- ### Example Usage
2178
-
2179
- ```typescript
2180
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2181
- import { AtsEmailType, AtsTelephoneType, Origin } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2182
-
2183
- async function run() {
2184
- const sdk = new UnifiedTo({
2185
- security: {
2186
- jwt: "<YOUR_API_KEY_HERE>",
2187
- },
2188
- });
2189
-
2190
- const res = await sdk.ats.updateAtsCandidate({
2191
- atsCandidate: {
2192
- address: {},
2193
- emails: [
2194
- {
2195
- email: "Gaetano86@hotmail.com",
2196
- },
2197
- ],
2198
- linkUrls: [
2199
- "<value>",
2200
- ],
2201
- raw: {
2202
- "key": "<value>",
2203
- },
2204
- sources: [
2205
- "<value>",
2206
- ],
2207
- tags: [
2208
- "<value>",
2209
- ],
2210
- telephones: [
2211
- {
2212
- telephone: "<value>",
2213
- },
2214
- ],
2215
- },
2216
- connectionId: "<value>",
2217
- id: "<id>",
2218
- });
2219
-
2220
- if (res.statusCode == 200) {
2221
- // handle response
2222
- }
2223
- }
2224
-
2225
- run();
2226
- ```
2227
-
2228
- ### Parameters
2229
-
2230
- | Parameter | Type | Required | Description |
2231
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
2232
- | `request` | [operations.UpdateAtsCandidateRequest](../../sdk/models/operations/updateatscandidaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
2233
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2234
-
2235
-
2236
- ### Response
2237
-
2238
- **Promise<[operations.UpdateAtsCandidateResponse](../../sdk/models/operations/updateatscandidateresponse.md)>**
2239
- ### Errors
2240
-
2241
- | Error Object | Status Code | Content Type |
2242
- | --------------- | --------------- | --------------- |
2243
- | errors.SDKError | 4xx-5xx | */* |
2244
-
2245
- ## updateAtsDocument
2246
-
2247
- Update a document
2248
-
2249
- ### Example Usage
2250
-
2251
- ```typescript
2252
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2253
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2254
-
2255
- async function run() {
2256
- const sdk = new UnifiedTo({
2257
- security: {
2258
- jwt: "<YOUR_API_KEY_HERE>",
2259
- },
2260
- });
2261
-
2262
- const res = await sdk.ats.updateAtsDocument({
2263
- atsDocument: {
2264
- raw: {
2265
- "key": "<value>",
2266
- },
2267
- },
2268
- connectionId: "<value>",
2269
- id: "<id>",
2270
- });
2271
-
2272
- if (res.statusCode == 200) {
2273
- // handle response
2274
- }
2275
- }
2276
-
2277
- run();
2278
- ```
2279
-
2280
- ### Parameters
2281
-
2282
- | Parameter | Type | Required | Description |
2283
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
2284
- | `request` | [operations.UpdateAtsDocumentRequest](../../sdk/models/operations/updateatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2285
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2286
-
2287
-
2288
- ### Response
2289
-
2290
- **Promise<[operations.UpdateAtsDocumentResponse](../../sdk/models/operations/updateatsdocumentresponse.md)>**
2291
- ### Errors
2292
-
2293
- | Error Object | Status Code | Content Type |
2294
- | --------------- | --------------- | --------------- |
2295
- | errors.SDKError | 4xx-5xx | */* |
2296
-
2297
- ## updateAtsInterview
2298
-
2299
- Update a interview
2300
-
2301
- ### Example Usage
2302
-
2303
- ```typescript
2304
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2305
- import { AtsInterviewStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2306
-
2307
- async function run() {
2308
- const sdk = new UnifiedTo({
2309
- security: {
2310
- jwt: "<YOUR_API_KEY_HERE>",
2311
- },
2312
- });
2313
-
2314
- const res = await sdk.ats.updateAtsInterview({
2315
- atsInterview: {
2316
- raw: {
2317
- "key": "<value>",
2318
- },
2319
- userIds: [
2320
- "<value>",
2321
- ],
2322
- },
2323
- connectionId: "<value>",
2324
- id: "<id>",
2325
- });
2326
-
2327
- if (res.statusCode == 200) {
2328
- // handle response
2329
- }
2330
- }
2331
-
2332
- run();
2333
- ```
2334
-
2335
- ### Parameters
2336
-
2337
- | Parameter | Type | Required | Description |
2338
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
2339
- | `request` | [operations.UpdateAtsInterviewRequest](../../sdk/models/operations/updateatsinterviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2340
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2341
-
2342
-
2343
- ### Response
2344
-
2345
- **Promise<[operations.UpdateAtsInterviewResponse](../../sdk/models/operations/updateatsinterviewresponse.md)>**
2346
- ### Errors
2347
-
2348
- | Error Object | Status Code | Content Type |
2349
- | --------------- | --------------- | --------------- |
2350
- | errors.SDKError | 4xx-5xx | */* |
2351
-
2352
- ## updateAtsJob
2353
-
2354
- Update a job
2355
-
2356
- ### Example Usage
2357
-
2358
- ```typescript
2359
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2360
- import { AtsCompensationType, AtsJobQuestionType, AtsJobStatus, EmploymentType, Frequency } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2361
-
2362
- async function run() {
2363
- const sdk = new UnifiedTo({
2364
- security: {
2365
- jwt: "<YOUR_API_KEY_HERE>",
2366
- },
2367
- });
2368
-
2369
- const res = await sdk.ats.updateAtsJob({
2370
- atsJob: {
2371
- addresses: [
2372
- {},
2373
- ],
2374
- compensation: [
2375
- {
2376
- type: AtsCompensationType.Equity,
2377
- },
2378
- ],
2379
- departments: [
2380
- "<value>",
2381
- ],
2382
- hiringManagerIds: [
2383
- "<value>",
2384
- ],
2385
- publicJobUrls: [
2386
- "<value>",
2387
- ],
2388
- questions: [
2389
- {
2390
- options: [
2391
- "<value>",
2392
- ],
2393
- question: "<value>",
2394
- type: AtsJobQuestionType.Date,
2395
- },
2396
- ],
2397
- raw: {
2398
- "key": "<value>",
2399
- },
2400
- recruiterIds: [
2401
- "<value>",
2402
- ],
2403
- },
2404
- connectionId: "<value>",
2405
- id: "<id>",
2406
- });
2407
-
2408
- if (res.statusCode == 200) {
2409
- // handle response
2410
- }
2411
- }
2412
-
2413
- run();
2414
- ```
2415
-
2416
- ### Parameters
2417
-
2418
- | Parameter | Type | Required | Description |
2419
- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
2420
- | `request` | [operations.UpdateAtsJobRequest](../../sdk/models/operations/updateatsjobrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2421
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2422
-
2423
-
2424
- ### Response
2425
-
2426
- **Promise<[operations.UpdateAtsJobResponse](../../sdk/models/operations/updateatsjobresponse.md)>**
2427
- ### Errors
2428
-
2429
- | Error Object | Status Code | Content Type |
2430
- | --------------- | --------------- | --------------- |
2431
- | errors.SDKError | 4xx-5xx | */* |
2432
-
2433
- ## updateAtsScorecard
2434
-
2435
- Update a scorecard
2436
-
2437
- ### Example Usage
2438
-
2439
- ```typescript
2440
- import { UnifiedTo } from "@unified-api/typescript-sdk";
2441
- import { Recommendation } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
2442
-
2443
- async function run() {
2444
- const sdk = new UnifiedTo({
2445
- security: {
2446
- jwt: "<YOUR_API_KEY_HERE>",
2447
- },
2448
- });
2449
-
2450
- const res = await sdk.ats.updateAtsScorecard({
2451
- atsScorecard: {
2452
- questions: [
2453
- {
2454
- text: "<value>",
2455
- },
2456
- ],
2457
- raw: {
2458
- "key": "<value>",
2459
- },
2460
- },
2461
- connectionId: "<value>",
2462
- id: "<id>",
2463
- });
2464
-
2465
- if (res.statusCode == 200) {
2466
- // handle response
2467
- }
2468
- }
2469
-
2470
- run();
2471
- ```
2472
-
2473
- ### Parameters
2474
-
2475
- | Parameter | Type | Required | Description |
2476
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
2477
- | `request` | [operations.UpdateAtsScorecardRequest](../../sdk/models/operations/updateatsscorecardrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2478
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
2479
-
2480
-
2481
- ### Response
2482
-
2483
- **Promise<[operations.UpdateAtsScorecardResponse](../../sdk/models/operations/updateatsscorecardresponse.md)>**
2484
- ### Errors
2485
-
2486
- | Error Object | Status Code | Content Type |
2487
- | --------------- | --------------- | --------------- |
2488
- | errors.SDKError | 4xx-5xx | */* |