@unified-api/typescript-sdk 2.9.4 → 2.9.6
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.
- package/FUNCTIONS.md +108 -0
- package/README.md +36 -15
- package/RUNTIMES.md +22 -0
- package/docs/sdks/account/README.md +501 -0
- package/docs/sdks/accounting/README.md +3629 -0
- package/docs/sdks/activity/README.md +501 -0
- package/docs/sdks/apicall/README.md +165 -0
- package/docs/sdks/application/README.md +501 -0
- package/docs/sdks/applicationstatus/README.md +88 -0
- package/docs/sdks/ats/README.md +3710 -0
- package/docs/sdks/auth/README.md +173 -0
- package/docs/sdks/branch/README.md +501 -0
- package/docs/sdks/call/README.md +88 -0
- package/docs/sdks/candidate/README.md +501 -0
- package/docs/sdks/channel/README.md +171 -0
- package/docs/sdks/class/README.md +501 -0
- package/docs/sdks/collection/README.md +501 -0
- package/docs/sdks/commerce/README.md +2477 -0
- package/docs/sdks/commit/README.md +501 -0
- package/docs/sdks/company/README.md +1240 -0
- package/docs/sdks/connection/README.md +485 -0
- package/docs/sdks/contact/README.md +1489 -0
- package/docs/sdks/course/README.md +501 -0
- package/docs/sdks/crm/README.md +2971 -0
- package/docs/sdks/customer/README.md +501 -0
- package/docs/sdks/deal/README.md +501 -0
- package/docs/sdks/document/README.md +501 -0
- package/docs/sdks/employee/README.md +501 -0
- package/docs/sdks/enrich/README.md +169 -0
- package/docs/sdks/event/README.md +501 -0
- package/docs/sdks/file/README.md +501 -0
- package/docs/sdks/genai/README.md +169 -0
- package/docs/sdks/group/README.md +995 -0
- package/docs/sdks/hris/README.md +2311 -0
- package/docs/sdks/instructor/README.md +501 -0
- package/docs/sdks/integration/README.md +248 -0
- package/docs/sdks/interview/README.md +501 -0
- package/docs/sdks/inventory/README.md +501 -0
- package/docs/sdks/invoice/README.md +501 -0
- package/docs/sdks/issue/README.md +84 -0
- package/docs/sdks/item/README.md +501 -0
- package/docs/sdks/job/README.md +501 -0
- package/docs/sdks/journal/README.md +501 -0
- package/docs/sdks/kms/README.md +995 -0
- package/docs/sdks/lead/README.md +501 -0
- package/docs/sdks/link/README.md +501 -0
- package/docs/sdks/list/README.md +501 -0
- package/docs/sdks/lms/README.md +1983 -0
- package/docs/sdks/location/README.md +995 -0
- package/docs/sdks/login/README.md +90 -0
- package/docs/sdks/martech/README.md +995 -0
- package/docs/sdks/member/README.md +501 -0
- package/docs/sdks/message/README.md +501 -0
- package/docs/sdks/messaging/README.md +665 -0
- package/docs/sdks/metadata/README.md +501 -0
- package/docs/sdks/model/README.md +88 -0
- package/docs/sdks/note/README.md +501 -0
- package/docs/sdks/order/README.md +501 -0
- package/docs/sdks/organization/README.md +665 -0
- package/docs/sdks/page/README.md +501 -0
- package/docs/sdks/passthrough/README.md +671 -0
- package/docs/sdks/payment/README.md +1323 -0
- package/docs/sdks/payout/README.md +171 -0
- package/docs/sdks/payslip/README.md +171 -0
- package/docs/sdks/person/README.md +88 -0
- package/docs/sdks/pipeline/README.md +501 -0
- package/docs/sdks/project/README.md +501 -0
- package/docs/sdks/prompt/README.md +88 -0
- package/docs/sdks/pullrequest/README.md +501 -0
- package/docs/sdks/refund/README.md +171 -0
- package/docs/sdks/repo/README.md +2477 -0
- package/docs/sdks/repository/README.md +501 -0
- package/docs/sdks/scim/README.md +995 -0
- package/docs/sdks/scorecard/README.md +501 -0
- package/docs/sdks/space/README.md +501 -0
- package/docs/sdks/storage/README.md +501 -0
- package/docs/sdks/student/README.md +501 -0
- package/docs/sdks/task/README.md +995 -0
- package/docs/sdks/taxrate/README.md +501 -0
- package/docs/sdks/ticket/README.md +501 -0
- package/docs/sdks/ticketing/README.md +1489 -0
- package/docs/sdks/timeoff/README.md +171 -0
- package/docs/sdks/transaction/README.md +501 -0
- package/docs/sdks/uc/README.md +582 -0
- package/docs/sdks/unified/README.md +1601 -0
- package/docs/sdks/unifiedto/README.md +7 -0
- package/docs/sdks/user/README.md +501 -0
- package/docs/sdks/webhook/README.md +647 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/primitives.d.ts +2 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +53 -0
- package/lib/primitives.js.map +1 -1
- package/package.json +3 -1
- package/sdk/models/shared/crmcontact.d.ts +2 -0
- package/sdk/models/shared/crmcontact.d.ts.map +1 -1
- package/sdk/models/shared/crmcontact.js +4 -0
- package/sdk/models/shared/crmcontact.js.map +1 -1
- package/sdk/models/shared/crmlead.d.ts +2 -0
- package/sdk/models/shared/crmlead.d.ts.map +1 -1
- package/sdk/models/shared/crmlead.js +4 -0
- package/sdk/models/shared/crmlead.js.map +1 -1
- package/sdk/models/shared/index.d.ts +1 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +1 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/kmspage.d.ts +5 -0
- package/sdk/models/shared/kmspage.d.ts.map +1 -1
- package/sdk/models/shared/kmspage.js +7 -0
- package/sdk/models/shared/kmspage.js.map +1 -1
- package/sdk/models/shared/kmspagemetadata.d.ts +37 -0
- package/sdk/models/shared/kmspagemetadata.d.ts.map +1 -0
- package/sdk/models/shared/kmspagemetadata.js +63 -0
- package/sdk/models/shared/kmspagemetadata.js.map +1 -0
- package/sdk/models/shared/kmsspace.d.ts +2 -0
- package/sdk/models/shared/kmsspace.d.ts.map +1 -1
- package/sdk/models/shared/kmsspace.js +4 -0
- package/sdk/models/shared/kmsspace.js.map +1 -1
- package/sdk/models/shared/security.d.ts +2 -2
- package/sdk/models/shared/security.d.ts.map +1 -1
- package/sdk/models/shared/security.js +2 -2
- package/sdk/models/shared/security.js.map +1 -1
- package/sdk/types/operations.d.ts +5 -3
- package/sdk/types/operations.d.ts.map +1 -1
- package/sdk/types/operations.js +3 -0
- package/sdk/types/operations.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/primitives.ts +62 -0
- package/src/sdk/models/shared/crmcontact.ts +6 -0
- package/src/sdk/models/shared/crmlead.ts +6 -0
- package/src/sdk/models/shared/index.ts +1 -0
- package/src/sdk/models/shared/kmspage.ts +16 -0
- package/src/sdk/models/shared/kmspagemetadata.ts +72 -0
- package/src/sdk/models/shared/kmsspace.ts +6 -0
- package/src/sdk/models/shared/security.ts +4 -4
- package/src/sdk/types/operations.ts +11 -5
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
# Application
|
|
2
|
+
(*application*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [createAtsApplication](#createatsapplication) - Create an application
|
|
9
|
+
* [getAtsApplication](#getatsapplication) - Retrieve an application
|
|
10
|
+
* [listAtsApplications](#listatsapplications) - List all applications
|
|
11
|
+
* [patchAtsApplication](#patchatsapplication) - Update an application
|
|
12
|
+
* [removeAtsApplication](#removeatsapplication) - Remove an application
|
|
13
|
+
* [updateAtsApplication](#updateatsapplication) - Update an application
|
|
14
|
+
|
|
15
|
+
## createAtsApplication
|
|
16
|
+
|
|
17
|
+
Create an application
|
|
18
|
+
|
|
19
|
+
### Example Usage
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
23
|
+
|
|
24
|
+
const unifiedTo = new UnifiedTo({
|
|
25
|
+
security: {
|
|
26
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
async function run() {
|
|
31
|
+
const result = await unifiedTo.application.createAtsApplication({
|
|
32
|
+
connectionId: "<value>",
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
// Handle the result
|
|
36
|
+
console.log(result);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
run();
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Standalone function
|
|
43
|
+
|
|
44
|
+
The standalone function version of this method:
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
48
|
+
import { applicationCreateAtsApplication } from "@unified-api/typescript-sdk/funcs/applicationCreateAtsApplication.js";
|
|
49
|
+
|
|
50
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
51
|
+
// You can create one instance of it to use across an application.
|
|
52
|
+
const unifiedTo = new UnifiedToCore({
|
|
53
|
+
security: {
|
|
54
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
async function run() {
|
|
59
|
+
const res = await applicationCreateAtsApplication(unifiedTo, {
|
|
60
|
+
connectionId: "<value>",
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
if (!res.ok) {
|
|
64
|
+
throw res.error;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const { value: result } = res;
|
|
68
|
+
|
|
69
|
+
// Handle the result
|
|
70
|
+
console.log(result);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
run();
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Parameters
|
|
77
|
+
|
|
78
|
+
| Parameter | Type | Required | Description |
|
|
79
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
80
|
+
| `request` | [operations.CreateAtsApplicationRequest](../../sdk/models/operations/createatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
81
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
82
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
83
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
84
|
+
|
|
85
|
+
### Response
|
|
86
|
+
|
|
87
|
+
**Promise\<[shared.AtsApplication](../../sdk/models/shared/atsapplication.md)\>**
|
|
88
|
+
|
|
89
|
+
### Errors
|
|
90
|
+
|
|
91
|
+
| Error Type | Status Code | Content Type |
|
|
92
|
+
| --------------- | --------------- | --------------- |
|
|
93
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
94
|
+
|
|
95
|
+
## getAtsApplication
|
|
96
|
+
|
|
97
|
+
Retrieve an application
|
|
98
|
+
|
|
99
|
+
### Example Usage
|
|
100
|
+
|
|
101
|
+
```typescript
|
|
102
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
103
|
+
|
|
104
|
+
const unifiedTo = new UnifiedTo({
|
|
105
|
+
security: {
|
|
106
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
async function run() {
|
|
111
|
+
const result = await unifiedTo.application.getAtsApplication({
|
|
112
|
+
connectionId: "<value>",
|
|
113
|
+
id: "<id>",
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
// Handle the result
|
|
117
|
+
console.log(result);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
run();
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Standalone function
|
|
124
|
+
|
|
125
|
+
The standalone function version of this method:
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
129
|
+
import { applicationGetAtsApplication } from "@unified-api/typescript-sdk/funcs/applicationGetAtsApplication.js";
|
|
130
|
+
|
|
131
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
132
|
+
// You can create one instance of it to use across an application.
|
|
133
|
+
const unifiedTo = new UnifiedToCore({
|
|
134
|
+
security: {
|
|
135
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
136
|
+
},
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
async function run() {
|
|
140
|
+
const res = await applicationGetAtsApplication(unifiedTo, {
|
|
141
|
+
connectionId: "<value>",
|
|
142
|
+
id: "<id>",
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
if (!res.ok) {
|
|
146
|
+
throw res.error;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const { value: result } = res;
|
|
150
|
+
|
|
151
|
+
// Handle the result
|
|
152
|
+
console.log(result);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
run();
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Parameters
|
|
159
|
+
|
|
160
|
+
| Parameter | Type | Required | Description |
|
|
161
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
162
|
+
| `request` | [operations.GetAtsApplicationRequest](../../sdk/models/operations/getatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
163
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
164
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
165
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
166
|
+
|
|
167
|
+
### Response
|
|
168
|
+
|
|
169
|
+
**Promise\<[shared.AtsApplication](../../sdk/models/shared/atsapplication.md)\>**
|
|
170
|
+
|
|
171
|
+
### Errors
|
|
172
|
+
|
|
173
|
+
| Error Type | Status Code | Content Type |
|
|
174
|
+
| --------------- | --------------- | --------------- |
|
|
175
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
176
|
+
|
|
177
|
+
## listAtsApplications
|
|
178
|
+
|
|
179
|
+
List all applications
|
|
180
|
+
|
|
181
|
+
### Example Usage
|
|
182
|
+
|
|
183
|
+
```typescript
|
|
184
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
185
|
+
|
|
186
|
+
const unifiedTo = new UnifiedTo({
|
|
187
|
+
security: {
|
|
188
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
189
|
+
},
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
async function run() {
|
|
193
|
+
const result = await unifiedTo.application.listAtsApplications({
|
|
194
|
+
connectionId: "<value>",
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
// Handle the result
|
|
198
|
+
console.log(result);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
run();
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Standalone function
|
|
205
|
+
|
|
206
|
+
The standalone function version of this method:
|
|
207
|
+
|
|
208
|
+
```typescript
|
|
209
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
210
|
+
import { applicationListAtsApplications } from "@unified-api/typescript-sdk/funcs/applicationListAtsApplications.js";
|
|
211
|
+
|
|
212
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
213
|
+
// You can create one instance of it to use across an application.
|
|
214
|
+
const unifiedTo = new UnifiedToCore({
|
|
215
|
+
security: {
|
|
216
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
217
|
+
},
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
async function run() {
|
|
221
|
+
const res = await applicationListAtsApplications(unifiedTo, {
|
|
222
|
+
connectionId: "<value>",
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
if (!res.ok) {
|
|
226
|
+
throw res.error;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const { value: result } = res;
|
|
230
|
+
|
|
231
|
+
// Handle the result
|
|
232
|
+
console.log(result);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
run();
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
| Parameter | Type | Required | Description |
|
|
241
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
242
|
+
| `request` | [operations.ListAtsApplicationsRequest](../../sdk/models/operations/listatsapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
243
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
244
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
245
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
246
|
+
|
|
247
|
+
### Response
|
|
248
|
+
|
|
249
|
+
**Promise\<[shared.AtsApplication[]](../../models/.md)\>**
|
|
250
|
+
|
|
251
|
+
### Errors
|
|
252
|
+
|
|
253
|
+
| Error Type | Status Code | Content Type |
|
|
254
|
+
| --------------- | --------------- | --------------- |
|
|
255
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
256
|
+
|
|
257
|
+
## patchAtsApplication
|
|
258
|
+
|
|
259
|
+
Update an application
|
|
260
|
+
|
|
261
|
+
### Example Usage
|
|
262
|
+
|
|
263
|
+
```typescript
|
|
264
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
265
|
+
|
|
266
|
+
const unifiedTo = new UnifiedTo({
|
|
267
|
+
security: {
|
|
268
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
269
|
+
},
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
async function run() {
|
|
273
|
+
const result = await unifiedTo.application.patchAtsApplication({
|
|
274
|
+
connectionId: "<value>",
|
|
275
|
+
id: "<id>",
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
// Handle the result
|
|
279
|
+
console.log(result);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
run();
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Standalone function
|
|
286
|
+
|
|
287
|
+
The standalone function version of this method:
|
|
288
|
+
|
|
289
|
+
```typescript
|
|
290
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
291
|
+
import { applicationPatchAtsApplication } from "@unified-api/typescript-sdk/funcs/applicationPatchAtsApplication.js";
|
|
292
|
+
|
|
293
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
294
|
+
// You can create one instance of it to use across an application.
|
|
295
|
+
const unifiedTo = new UnifiedToCore({
|
|
296
|
+
security: {
|
|
297
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
298
|
+
},
|
|
299
|
+
});
|
|
300
|
+
|
|
301
|
+
async function run() {
|
|
302
|
+
const res = await applicationPatchAtsApplication(unifiedTo, {
|
|
303
|
+
connectionId: "<value>",
|
|
304
|
+
id: "<id>",
|
|
305
|
+
});
|
|
306
|
+
|
|
307
|
+
if (!res.ok) {
|
|
308
|
+
throw res.error;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const { value: result } = res;
|
|
312
|
+
|
|
313
|
+
// Handle the result
|
|
314
|
+
console.log(result);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
run();
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### Parameters
|
|
321
|
+
|
|
322
|
+
| Parameter | Type | Required | Description |
|
|
323
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
324
|
+
| `request` | [operations.PatchAtsApplicationRequest](../../sdk/models/operations/patchatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
325
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
326
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
327
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
328
|
+
|
|
329
|
+
### Response
|
|
330
|
+
|
|
331
|
+
**Promise\<[shared.AtsApplication](../../sdk/models/shared/atsapplication.md)\>**
|
|
332
|
+
|
|
333
|
+
### Errors
|
|
334
|
+
|
|
335
|
+
| Error Type | Status Code | Content Type |
|
|
336
|
+
| --------------- | --------------- | --------------- |
|
|
337
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
338
|
+
|
|
339
|
+
## removeAtsApplication
|
|
340
|
+
|
|
341
|
+
Remove an application
|
|
342
|
+
|
|
343
|
+
### Example Usage
|
|
344
|
+
|
|
345
|
+
```typescript
|
|
346
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
347
|
+
|
|
348
|
+
const unifiedTo = new UnifiedTo({
|
|
349
|
+
security: {
|
|
350
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
351
|
+
},
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
async function run() {
|
|
355
|
+
const result = await unifiedTo.application.removeAtsApplication({
|
|
356
|
+
connectionId: "<value>",
|
|
357
|
+
id: "<id>",
|
|
358
|
+
});
|
|
359
|
+
|
|
360
|
+
// Handle the result
|
|
361
|
+
console.log(result);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
run();
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Standalone function
|
|
368
|
+
|
|
369
|
+
The standalone function version of this method:
|
|
370
|
+
|
|
371
|
+
```typescript
|
|
372
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
373
|
+
import { applicationRemoveAtsApplication } from "@unified-api/typescript-sdk/funcs/applicationRemoveAtsApplication.js";
|
|
374
|
+
|
|
375
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
376
|
+
// You can create one instance of it to use across an application.
|
|
377
|
+
const unifiedTo = new UnifiedToCore({
|
|
378
|
+
security: {
|
|
379
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
380
|
+
},
|
|
381
|
+
});
|
|
382
|
+
|
|
383
|
+
async function run() {
|
|
384
|
+
const res = await applicationRemoveAtsApplication(unifiedTo, {
|
|
385
|
+
connectionId: "<value>",
|
|
386
|
+
id: "<id>",
|
|
387
|
+
});
|
|
388
|
+
|
|
389
|
+
if (!res.ok) {
|
|
390
|
+
throw res.error;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
const { value: result } = res;
|
|
394
|
+
|
|
395
|
+
// Handle the result
|
|
396
|
+
console.log(result);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
run();
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
### Parameters
|
|
403
|
+
|
|
404
|
+
| Parameter | Type | Required | Description |
|
|
405
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
406
|
+
| `request` | [operations.RemoveAtsApplicationRequest](../../sdk/models/operations/removeatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
407
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
408
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
409
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
410
|
+
|
|
411
|
+
### Response
|
|
412
|
+
|
|
413
|
+
**Promise\<[operations.RemoveAtsApplicationResponse](../../sdk/models/operations/removeatsapplicationresponse.md)\>**
|
|
414
|
+
|
|
415
|
+
### Errors
|
|
416
|
+
|
|
417
|
+
| Error Type | Status Code | Content Type |
|
|
418
|
+
| --------------- | --------------- | --------------- |
|
|
419
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
420
|
+
|
|
421
|
+
## updateAtsApplication
|
|
422
|
+
|
|
423
|
+
Update an application
|
|
424
|
+
|
|
425
|
+
### Example Usage
|
|
426
|
+
|
|
427
|
+
```typescript
|
|
428
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
429
|
+
|
|
430
|
+
const unifiedTo = new UnifiedTo({
|
|
431
|
+
security: {
|
|
432
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
433
|
+
},
|
|
434
|
+
});
|
|
435
|
+
|
|
436
|
+
async function run() {
|
|
437
|
+
const result = await unifiedTo.application.updateAtsApplication({
|
|
438
|
+
connectionId: "<value>",
|
|
439
|
+
id: "<id>",
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
// Handle the result
|
|
443
|
+
console.log(result);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
run();
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
### Standalone function
|
|
450
|
+
|
|
451
|
+
The standalone function version of this method:
|
|
452
|
+
|
|
453
|
+
```typescript
|
|
454
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
455
|
+
import { applicationUpdateAtsApplication } from "@unified-api/typescript-sdk/funcs/applicationUpdateAtsApplication.js";
|
|
456
|
+
|
|
457
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
458
|
+
// You can create one instance of it to use across an application.
|
|
459
|
+
const unifiedTo = new UnifiedToCore({
|
|
460
|
+
security: {
|
|
461
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
462
|
+
},
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
async function run() {
|
|
466
|
+
const res = await applicationUpdateAtsApplication(unifiedTo, {
|
|
467
|
+
connectionId: "<value>",
|
|
468
|
+
id: "<id>",
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
if (!res.ok) {
|
|
472
|
+
throw res.error;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
const { value: result } = res;
|
|
476
|
+
|
|
477
|
+
// Handle the result
|
|
478
|
+
console.log(result);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
run();
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
### Parameters
|
|
485
|
+
|
|
486
|
+
| Parameter | Type | Required | Description |
|
|
487
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
488
|
+
| `request` | [operations.UpdateAtsApplicationRequest](../../sdk/models/operations/updateatsapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
489
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
490
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
491
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
492
|
+
|
|
493
|
+
### Response
|
|
494
|
+
|
|
495
|
+
**Promise\<[shared.AtsApplication](../../sdk/models/shared/atsapplication.md)\>**
|
|
496
|
+
|
|
497
|
+
### Errors
|
|
498
|
+
|
|
499
|
+
| Error Type | Status Code | Content Type |
|
|
500
|
+
| --------------- | --------------- | --------------- |
|
|
501
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Applicationstatus
|
|
2
|
+
(*applicationstatus*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [listAtsApplicationstatuses](#listatsapplicationstatuses) - List all applicationstatuses
|
|
9
|
+
|
|
10
|
+
## listAtsApplicationstatuses
|
|
11
|
+
|
|
12
|
+
List all applicationstatuses
|
|
13
|
+
|
|
14
|
+
### Example Usage
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
18
|
+
|
|
19
|
+
const unifiedTo = new UnifiedTo({
|
|
20
|
+
security: {
|
|
21
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
async function run() {
|
|
26
|
+
const result = await unifiedTo.applicationstatus.listAtsApplicationstatuses({
|
|
27
|
+
connectionId: "<value>",
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// Handle the result
|
|
31
|
+
console.log(result);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
run();
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Standalone function
|
|
38
|
+
|
|
39
|
+
The standalone function version of this method:
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
43
|
+
import { applicationstatusListAtsApplicationstatuses } from "@unified-api/typescript-sdk/funcs/applicationstatusListAtsApplicationstatuses.js";
|
|
44
|
+
|
|
45
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
46
|
+
// You can create one instance of it to use across an application.
|
|
47
|
+
const unifiedTo = new UnifiedToCore({
|
|
48
|
+
security: {
|
|
49
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
async function run() {
|
|
54
|
+
const res = await applicationstatusListAtsApplicationstatuses(unifiedTo, {
|
|
55
|
+
connectionId: "<value>",
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
if (!res.ok) {
|
|
59
|
+
throw res.error;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const { value: result } = res;
|
|
63
|
+
|
|
64
|
+
// Handle the result
|
|
65
|
+
console.log(result);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
run();
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Parameters
|
|
72
|
+
|
|
73
|
+
| Parameter | Type | Required | Description |
|
|
74
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
75
|
+
| `request` | [operations.ListAtsApplicationstatusesRequest](../../sdk/models/operations/listatsapplicationstatusesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
76
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
77
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
78
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
79
|
+
|
|
80
|
+
### Response
|
|
81
|
+
|
|
82
|
+
**Promise\<[shared.AtsStatus[]](../../models/.md)\>**
|
|
83
|
+
|
|
84
|
+
### Errors
|
|
85
|
+
|
|
86
|
+
| Error Type | Status Code | Content Type |
|
|
87
|
+
| --------------- | --------------- | --------------- |
|
|
88
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|