@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,309 +0,0 @@
1
- # Document
2
- (*document*)
3
-
4
- ### Available Operations
5
-
6
- * [createAtsDocument](#createatsdocument) - Create a document
7
- * [getAtsDocument](#getatsdocument) - Retrieve a document
8
- * [listAtsDocuments](#listatsdocuments) - List all documents
9
- * [patchAtsDocument](#patchatsdocument) - Update a document
10
- * [removeAtsDocument](#removeatsdocument) - Remove a document
11
- * [updateAtsDocument](#updateatsdocument) - Update a document
12
-
13
- ## createAtsDocument
14
-
15
- Create a document
16
-
17
- ### Example Usage
18
-
19
- ```typescript
20
- import { UnifiedTo } from "@unified-api/typescript-sdk";
21
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
22
-
23
- async function run() {
24
- const sdk = new UnifiedTo({
25
- security: {
26
- jwt: "<YOUR_API_KEY_HERE>",
27
- },
28
- });
29
-
30
- const res = await sdk.document.createAtsDocument({
31
- atsDocument: {
32
- raw: {
33
- "key": "<value>",
34
- },
35
- },
36
- connectionId: "<value>",
37
- });
38
-
39
- if (res.statusCode == 200) {
40
- // handle response
41
- }
42
- }
43
-
44
- run();
45
- ```
46
-
47
- ### Parameters
48
-
49
- | Parameter | Type | Required | Description |
50
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
51
- | `request` | [operations.CreateAtsDocumentRequest](../../sdk/models/operations/createatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
52
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
53
-
54
-
55
- ### Response
56
-
57
- **Promise<[operations.CreateAtsDocumentResponse](../../sdk/models/operations/createatsdocumentresponse.md)>**
58
- ### Errors
59
-
60
- | Error Object | Status Code | Content Type |
61
- | --------------- | --------------- | --------------- |
62
- | errors.SDKError | 4xx-5xx | */* |
63
-
64
- ## getAtsDocument
65
-
66
- Retrieve a document
67
-
68
- ### Example Usage
69
-
70
- ```typescript
71
- import { UnifiedTo } from "@unified-api/typescript-sdk";
72
-
73
- async function run() {
74
- const sdk = new UnifiedTo({
75
- security: {
76
- jwt: "<YOUR_API_KEY_HERE>",
77
- },
78
- });
79
-
80
- const res = await sdk.document.getAtsDocument({
81
- connectionId: "<value>",
82
- fields: [
83
- "<value>",
84
- ],
85
- id: "<id>",
86
- });
87
-
88
- if (res.statusCode == 200) {
89
- // handle response
90
- }
91
- }
92
-
93
- run();
94
- ```
95
-
96
- ### Parameters
97
-
98
- | Parameter | Type | Required | Description |
99
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
100
- | `request` | [operations.GetAtsDocumentRequest](../../sdk/models/operations/getatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
101
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
102
-
103
-
104
- ### Response
105
-
106
- **Promise<[operations.GetAtsDocumentResponse](../../sdk/models/operations/getatsdocumentresponse.md)>**
107
- ### Errors
108
-
109
- | Error Object | Status Code | Content Type |
110
- | --------------- | --------------- | --------------- |
111
- | errors.SDKError | 4xx-5xx | */* |
112
-
113
- ## listAtsDocuments
114
-
115
- List all documents
116
-
117
- ### Example Usage
118
-
119
- ```typescript
120
- import { UnifiedTo } from "@unified-api/typescript-sdk";
121
-
122
- async function run() {
123
- const sdk = new UnifiedTo({
124
- security: {
125
- jwt: "<YOUR_API_KEY_HERE>",
126
- },
127
- });
128
-
129
- const res = await sdk.document.listAtsDocuments({
130
- connectionId: "<value>",
131
- fields: [
132
- "<value>",
133
- ],
134
- });
135
-
136
- if (res.statusCode == 200) {
137
- // handle response
138
- }
139
- }
140
-
141
- run();
142
- ```
143
-
144
- ### Parameters
145
-
146
- | Parameter | Type | Required | Description |
147
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
148
- | `request` | [operations.ListAtsDocumentsRequest](../../sdk/models/operations/listatsdocumentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
149
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
150
-
151
-
152
- ### Response
153
-
154
- **Promise<[operations.ListAtsDocumentsResponse](../../sdk/models/operations/listatsdocumentsresponse.md)>**
155
- ### Errors
156
-
157
- | Error Object | Status Code | Content Type |
158
- | --------------- | --------------- | --------------- |
159
- | errors.SDKError | 4xx-5xx | */* |
160
-
161
- ## patchAtsDocument
162
-
163
- Update a document
164
-
165
- ### Example Usage
166
-
167
- ```typescript
168
- import { UnifiedTo } from "@unified-api/typescript-sdk";
169
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
170
-
171
- async function run() {
172
- const sdk = new UnifiedTo({
173
- security: {
174
- jwt: "<YOUR_API_KEY_HERE>",
175
- },
176
- });
177
-
178
- const res = await sdk.document.patchAtsDocument({
179
- atsDocument: {
180
- raw: {
181
- "key": "<value>",
182
- },
183
- },
184
- connectionId: "<value>",
185
- id: "<id>",
186
- });
187
-
188
- if (res.statusCode == 200) {
189
- // handle response
190
- }
191
- }
192
-
193
- run();
194
- ```
195
-
196
- ### Parameters
197
-
198
- | Parameter | Type | Required | Description |
199
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
200
- | `request` | [operations.PatchAtsDocumentRequest](../../sdk/models/operations/patchatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
201
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
202
-
203
-
204
- ### Response
205
-
206
- **Promise<[operations.PatchAtsDocumentResponse](../../sdk/models/operations/patchatsdocumentresponse.md)>**
207
- ### Errors
208
-
209
- | Error Object | Status Code | Content Type |
210
- | --------------- | --------------- | --------------- |
211
- | errors.SDKError | 4xx-5xx | */* |
212
-
213
- ## removeAtsDocument
214
-
215
- Remove a document
216
-
217
- ### Example Usage
218
-
219
- ```typescript
220
- import { UnifiedTo } from "@unified-api/typescript-sdk";
221
-
222
- async function run() {
223
- const sdk = new UnifiedTo({
224
- security: {
225
- jwt: "<YOUR_API_KEY_HERE>",
226
- },
227
- });
228
-
229
- const res = await sdk.document.removeAtsDocument({
230
- connectionId: "<value>",
231
- id: "<id>",
232
- });
233
-
234
- if (res.statusCode == 200) {
235
- // handle response
236
- }
237
- }
238
-
239
- run();
240
- ```
241
-
242
- ### Parameters
243
-
244
- | Parameter | Type | Required | Description |
245
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
246
- | `request` | [operations.RemoveAtsDocumentRequest](../../sdk/models/operations/removeatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
247
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
248
-
249
-
250
- ### Response
251
-
252
- **Promise<[operations.RemoveAtsDocumentResponse](../../sdk/models/operations/removeatsdocumentresponse.md)>**
253
- ### Errors
254
-
255
- | Error Object | Status Code | Content Type |
256
- | --------------- | --------------- | --------------- |
257
- | errors.SDKError | 4xx-5xx | */* |
258
-
259
- ## updateAtsDocument
260
-
261
- Update a document
262
-
263
- ### Example Usage
264
-
265
- ```typescript
266
- import { UnifiedTo } from "@unified-api/typescript-sdk";
267
- import { AtsDocumentType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
268
-
269
- async function run() {
270
- const sdk = new UnifiedTo({
271
- security: {
272
- jwt: "<YOUR_API_KEY_HERE>",
273
- },
274
- });
275
-
276
- const res = await sdk.document.updateAtsDocument({
277
- atsDocument: {
278
- raw: {
279
- "key": "<value>",
280
- },
281
- },
282
- connectionId: "<value>",
283
- id: "<id>",
284
- });
285
-
286
- if (res.statusCode == 200) {
287
- // handle response
288
- }
289
- }
290
-
291
- run();
292
- ```
293
-
294
- ### Parameters
295
-
296
- | Parameter | Type | Required | Description |
297
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
298
- | `request` | [operations.UpdateAtsDocumentRequest](../../sdk/models/operations/updateatsdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
299
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
300
-
301
-
302
- ### Response
303
-
304
- **Promise<[operations.UpdateAtsDocumentResponse](../../sdk/models/operations/updateatsdocumentresponse.md)>**
305
- ### Errors
306
-
307
- | Error Object | Status Code | Content Type |
308
- | --------------- | --------------- | --------------- |
309
- | errors.SDKError | 4xx-5xx | */* |
@@ -1,363 +0,0 @@
1
- # Employee
2
- (*employee*)
3
-
4
- ### Available Operations
5
-
6
- * [createHrisEmployee](#createhrisemployee) - Create an employee
7
- * [getHrisEmployee](#gethrisemployee) - Retrieve an employee
8
- * [listHrisEmployees](#listhrisemployees) - List all employees
9
- * [patchHrisEmployee](#patchhrisemployee) - Update an employee
10
- * [removeHrisEmployee](#removehrisemployee) - Remove an employee
11
- * [updateHrisEmployee](#updatehrisemployee) - Update an employee
12
-
13
- ## createHrisEmployee
14
-
15
- Create an employee
16
-
17
- ### Example Usage
18
-
19
- ```typescript
20
- import { UnifiedTo } from "@unified-api/typescript-sdk";
21
- import {
22
- EmploymentStatus,
23
- HrisEmailType,
24
- HrisEmployeeEmploymentType,
25
- HrisEmployeeGender,
26
- HrisTelephoneType,
27
- MaritalStatus,
28
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
29
-
30
- async function run() {
31
- const sdk = new UnifiedTo({
32
- security: {
33
- jwt: "<YOUR_API_KEY_HERE>",
34
- },
35
- });
36
-
37
- const res = await sdk.employee.createHrisEmployee({
38
- hrisEmployee: {
39
- address: {},
40
- emails: [
41
- {
42
- email: "Adriel_Hansen@hotmail.com",
43
- },
44
- ],
45
- raw: {
46
- "key": "<value>",
47
- },
48
- telephones: [
49
- {
50
- telephone: "<value>",
51
- },
52
- ],
53
- },
54
- connectionId: "<value>",
55
- });
56
-
57
- if (res.statusCode == 200) {
58
- // handle response
59
- }
60
- }
61
-
62
- run();
63
- ```
64
-
65
- ### Parameters
66
-
67
- | Parameter | Type | Required | Description |
68
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
69
- | `request` | [operations.CreateHrisEmployeeRequest](../../sdk/models/operations/createhrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
70
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
71
-
72
-
73
- ### Response
74
-
75
- **Promise<[operations.CreateHrisEmployeeResponse](../../sdk/models/operations/createhrisemployeeresponse.md)>**
76
- ### Errors
77
-
78
- | Error Object | Status Code | Content Type |
79
- | --------------- | --------------- | --------------- |
80
- | errors.SDKError | 4xx-5xx | */* |
81
-
82
- ## getHrisEmployee
83
-
84
- Retrieve an employee
85
-
86
- ### Example Usage
87
-
88
- ```typescript
89
- import { UnifiedTo } from "@unified-api/typescript-sdk";
90
-
91
- async function run() {
92
- const sdk = new UnifiedTo({
93
- security: {
94
- jwt: "<YOUR_API_KEY_HERE>",
95
- },
96
- });
97
-
98
- const res = await sdk.employee.getHrisEmployee({
99
- connectionId: "<value>",
100
- fields: [
101
- "<value>",
102
- ],
103
- id: "<id>",
104
- });
105
-
106
- if (res.statusCode == 200) {
107
- // handle response
108
- }
109
- }
110
-
111
- run();
112
- ```
113
-
114
- ### Parameters
115
-
116
- | Parameter | Type | Required | Description |
117
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
118
- | `request` | [operations.GetHrisEmployeeRequest](../../sdk/models/operations/gethrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
119
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
120
-
121
-
122
- ### Response
123
-
124
- **Promise<[operations.GetHrisEmployeeResponse](../../sdk/models/operations/gethrisemployeeresponse.md)>**
125
- ### Errors
126
-
127
- | Error Object | Status Code | Content Type |
128
- | --------------- | --------------- | --------------- |
129
- | errors.SDKError | 4xx-5xx | */* |
130
-
131
- ## listHrisEmployees
132
-
133
- List all employees
134
-
135
- ### Example Usage
136
-
137
- ```typescript
138
- import { UnifiedTo } from "@unified-api/typescript-sdk";
139
-
140
- async function run() {
141
- const sdk = new UnifiedTo({
142
- security: {
143
- jwt: "<YOUR_API_KEY_HERE>",
144
- },
145
- });
146
-
147
- const res = await sdk.employee.listHrisEmployees({
148
- connectionId: "<value>",
149
- fields: [
150
- "<value>",
151
- ],
152
- });
153
-
154
- if (res.statusCode == 200) {
155
- // handle response
156
- }
157
- }
158
-
159
- run();
160
- ```
161
-
162
- ### Parameters
163
-
164
- | Parameter | Type | Required | Description |
165
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
166
- | `request` | [operations.ListHrisEmployeesRequest](../../sdk/models/operations/listhrisemployeesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
167
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
168
-
169
-
170
- ### Response
171
-
172
- **Promise<[operations.ListHrisEmployeesResponse](../../sdk/models/operations/listhrisemployeesresponse.md)>**
173
- ### Errors
174
-
175
- | Error Object | Status Code | Content Type |
176
- | --------------- | --------------- | --------------- |
177
- | errors.SDKError | 4xx-5xx | */* |
178
-
179
- ## patchHrisEmployee
180
-
181
- Update an employee
182
-
183
- ### Example Usage
184
-
185
- ```typescript
186
- import { UnifiedTo } from "@unified-api/typescript-sdk";
187
- import {
188
- EmploymentStatus,
189
- HrisEmailType,
190
- HrisEmployeeEmploymentType,
191
- HrisEmployeeGender,
192
- HrisTelephoneType,
193
- MaritalStatus,
194
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
195
-
196
- async function run() {
197
- const sdk = new UnifiedTo({
198
- security: {
199
- jwt: "<YOUR_API_KEY_HERE>",
200
- },
201
- });
202
-
203
- const res = await sdk.employee.patchHrisEmployee({
204
- hrisEmployee: {
205
- address: {},
206
- emails: [
207
- {
208
- email: "Zetta.Cassin@yahoo.com",
209
- },
210
- ],
211
- raw: {
212
- "key": "<value>",
213
- },
214
- telephones: [
215
- {
216
- telephone: "<value>",
217
- },
218
- ],
219
- },
220
- connectionId: "<value>",
221
- id: "<id>",
222
- });
223
-
224
- if (res.statusCode == 200) {
225
- // handle response
226
- }
227
- }
228
-
229
- run();
230
- ```
231
-
232
- ### Parameters
233
-
234
- | Parameter | Type | Required | Description |
235
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
236
- | `request` | [operations.PatchHrisEmployeeRequest](../../sdk/models/operations/patchhrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
237
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
238
-
239
-
240
- ### Response
241
-
242
- **Promise<[operations.PatchHrisEmployeeResponse](../../sdk/models/operations/patchhrisemployeeresponse.md)>**
243
- ### Errors
244
-
245
- | Error Object | Status Code | Content Type |
246
- | --------------- | --------------- | --------------- |
247
- | errors.SDKError | 4xx-5xx | */* |
248
-
249
- ## removeHrisEmployee
250
-
251
- Remove an employee
252
-
253
- ### Example Usage
254
-
255
- ```typescript
256
- import { UnifiedTo } from "@unified-api/typescript-sdk";
257
-
258
- async function run() {
259
- const sdk = new UnifiedTo({
260
- security: {
261
- jwt: "<YOUR_API_KEY_HERE>",
262
- },
263
- });
264
-
265
- const res = await sdk.employee.removeHrisEmployee({
266
- connectionId: "<value>",
267
- id: "<id>",
268
- });
269
-
270
- if (res.statusCode == 200) {
271
- // handle response
272
- }
273
- }
274
-
275
- run();
276
- ```
277
-
278
- ### Parameters
279
-
280
- | Parameter | Type | Required | Description |
281
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
282
- | `request` | [operations.RemoveHrisEmployeeRequest](../../sdk/models/operations/removehrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
283
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
284
-
285
-
286
- ### Response
287
-
288
- **Promise<[operations.RemoveHrisEmployeeResponse](../../sdk/models/operations/removehrisemployeeresponse.md)>**
289
- ### Errors
290
-
291
- | Error Object | Status Code | Content Type |
292
- | --------------- | --------------- | --------------- |
293
- | errors.SDKError | 4xx-5xx | */* |
294
-
295
- ## updateHrisEmployee
296
-
297
- Update an employee
298
-
299
- ### Example Usage
300
-
301
- ```typescript
302
- import { UnifiedTo } from "@unified-api/typescript-sdk";
303
- import {
304
- EmploymentStatus,
305
- HrisEmailType,
306
- HrisEmployeeEmploymentType,
307
- HrisEmployeeGender,
308
- HrisTelephoneType,
309
- MaritalStatus,
310
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
311
-
312
- async function run() {
313
- const sdk = new UnifiedTo({
314
- security: {
315
- jwt: "<YOUR_API_KEY_HERE>",
316
- },
317
- });
318
-
319
- const res = await sdk.employee.updateHrisEmployee({
320
- hrisEmployee: {
321
- address: {},
322
- emails: [
323
- {
324
- email: "Abbie_Aufderhar@gmail.com",
325
- },
326
- ],
327
- raw: {
328
- "key": "<value>",
329
- },
330
- telephones: [
331
- {
332
- telephone: "<value>",
333
- },
334
- ],
335
- },
336
- connectionId: "<value>",
337
- id: "<id>",
338
- });
339
-
340
- if (res.statusCode == 200) {
341
- // handle response
342
- }
343
- }
344
-
345
- run();
346
- ```
347
-
348
- ### Parameters
349
-
350
- | Parameter | Type | Required | Description |
351
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
352
- | `request` | [operations.UpdateHrisEmployeeRequest](../../sdk/models/operations/updatehrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
353
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
354
-
355
-
356
- ### Response
357
-
358
- **Promise<[operations.UpdateHrisEmployeeResponse](../../sdk/models/operations/updatehrisemployeeresponse.md)>**
359
- ### Errors
360
-
361
- | Error Object | Status Code | Content Type |
362
- | --------------- | --------------- | --------------- |
363
- | errors.SDKError | 4xx-5xx | */* |