@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,685 +0,0 @@
1
- # Hris
2
- (*hris*)
3
-
4
- ### Available Operations
5
-
6
- * [createHrisEmployee](#createhrisemployee) - Create an employee
7
- * [createHrisGroup](#createhrisgroup) - Create a group
8
- * [getHrisEmployee](#gethrisemployee) - Retrieve an employee
9
- * [getHrisGroup](#gethrisgroup) - Retrieve a group
10
- * [listHrisEmployees](#listhrisemployees) - List all employees
11
- * [listHrisGroups](#listhrisgroups) - List all groups
12
- * [patchHrisEmployee](#patchhrisemployee) - Update an employee
13
- * [patchHrisGroup](#patchhrisgroup) - Update a group
14
- * [removeHrisEmployee](#removehrisemployee) - Remove an employee
15
- * [removeHrisGroup](#removehrisgroup) - Remove a group
16
- * [updateHrisEmployee](#updatehrisemployee) - Update an employee
17
- * [updateHrisGroup](#updatehrisgroup) - Update a group
18
-
19
- ## createHrisEmployee
20
-
21
- Create an employee
22
-
23
- ### Example Usage
24
-
25
- ```typescript
26
- import { UnifiedTo } from "@unified-api/typescript-sdk";
27
- import {
28
- EmploymentStatus,
29
- HrisEmailType,
30
- HrisEmployeeEmploymentType,
31
- HrisEmployeeGender,
32
- HrisTelephoneType,
33
- MaritalStatus,
34
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
35
-
36
- async function run() {
37
- const sdk = new UnifiedTo({
38
- security: {
39
- jwt: "<YOUR_API_KEY_HERE>",
40
- },
41
- });
42
-
43
- const res = await sdk.hris.createHrisEmployee({
44
- hrisEmployee: {
45
- address: {},
46
- emails: [
47
- {
48
- email: "Adriel_Hansen@hotmail.com",
49
- },
50
- ],
51
- raw: {
52
- "key": "<value>",
53
- },
54
- telephones: [
55
- {
56
- telephone: "<value>",
57
- },
58
- ],
59
- },
60
- connectionId: "<value>",
61
- });
62
-
63
- if (res.statusCode == 200) {
64
- // handle response
65
- }
66
- }
67
-
68
- run();
69
- ```
70
-
71
- ### Parameters
72
-
73
- | Parameter | Type | Required | Description |
74
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
75
- | `request` | [operations.CreateHrisEmployeeRequest](../../sdk/models/operations/createhrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
76
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
77
-
78
-
79
- ### Response
80
-
81
- **Promise<[operations.CreateHrisEmployeeResponse](../../sdk/models/operations/createhrisemployeeresponse.md)>**
82
- ### Errors
83
-
84
- | Error Object | Status Code | Content Type |
85
- | --------------- | --------------- | --------------- |
86
- | errors.SDKError | 4xx-5xx | */* |
87
-
88
- ## createHrisGroup
89
-
90
- Create a group
91
-
92
- ### Example Usage
93
-
94
- ```typescript
95
- import { UnifiedTo } from "@unified-api/typescript-sdk";
96
- import { HrisGroupType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
97
-
98
- async function run() {
99
- const sdk = new UnifiedTo({
100
- security: {
101
- jwt: "<YOUR_API_KEY_HERE>",
102
- },
103
- });
104
-
105
- const res = await sdk.hris.createHrisGroup({
106
- hrisGroup: {
107
- managerIds: [
108
- "<value>",
109
- ],
110
- raw: {
111
- "key": "<value>",
112
- },
113
- userIds: [
114
- "<value>",
115
- ],
116
- },
117
- connectionId: "<value>",
118
- });
119
-
120
- if (res.statusCode == 200) {
121
- // handle response
122
- }
123
- }
124
-
125
- run();
126
- ```
127
-
128
- ### Parameters
129
-
130
- | Parameter | Type | Required | Description |
131
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
132
- | `request` | [operations.CreateHrisGroupRequest](../../sdk/models/operations/createhrisgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. |
133
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
134
-
135
-
136
- ### Response
137
-
138
- **Promise<[operations.CreateHrisGroupResponse](../../sdk/models/operations/createhrisgroupresponse.md)>**
139
- ### Errors
140
-
141
- | Error Object | Status Code | Content Type |
142
- | --------------- | --------------- | --------------- |
143
- | errors.SDKError | 4xx-5xx | */* |
144
-
145
- ## getHrisEmployee
146
-
147
- Retrieve an employee
148
-
149
- ### Example Usage
150
-
151
- ```typescript
152
- import { UnifiedTo } from "@unified-api/typescript-sdk";
153
-
154
- async function run() {
155
- const sdk = new UnifiedTo({
156
- security: {
157
- jwt: "<YOUR_API_KEY_HERE>",
158
- },
159
- });
160
-
161
- const res = await sdk.hris.getHrisEmployee({
162
- connectionId: "<value>",
163
- fields: [
164
- "<value>",
165
- ],
166
- id: "<id>",
167
- });
168
-
169
- if (res.statusCode == 200) {
170
- // handle response
171
- }
172
- }
173
-
174
- run();
175
- ```
176
-
177
- ### Parameters
178
-
179
- | Parameter | Type | Required | Description |
180
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
181
- | `request` | [operations.GetHrisEmployeeRequest](../../sdk/models/operations/gethrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
182
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
183
-
184
-
185
- ### Response
186
-
187
- **Promise<[operations.GetHrisEmployeeResponse](../../sdk/models/operations/gethrisemployeeresponse.md)>**
188
- ### Errors
189
-
190
- | Error Object | Status Code | Content Type |
191
- | --------------- | --------------- | --------------- |
192
- | errors.SDKError | 4xx-5xx | */* |
193
-
194
- ## getHrisGroup
195
-
196
- Retrieve a group
197
-
198
- ### Example Usage
199
-
200
- ```typescript
201
- import { UnifiedTo } from "@unified-api/typescript-sdk";
202
-
203
- async function run() {
204
- const sdk = new UnifiedTo({
205
- security: {
206
- jwt: "<YOUR_API_KEY_HERE>",
207
- },
208
- });
209
-
210
- const res = await sdk.hris.getHrisGroup({
211
- connectionId: "<value>",
212
- fields: [
213
- "<value>",
214
- ],
215
- id: "<id>",
216
- });
217
-
218
- if (res.statusCode == 200) {
219
- // handle response
220
- }
221
- }
222
-
223
- run();
224
- ```
225
-
226
- ### Parameters
227
-
228
- | Parameter | Type | Required | Description |
229
- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
230
- | `request` | [operations.GetHrisGroupRequest](../../sdk/models/operations/gethrisgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. |
231
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
232
-
233
-
234
- ### Response
235
-
236
- **Promise<[operations.GetHrisGroupResponse](../../sdk/models/operations/gethrisgroupresponse.md)>**
237
- ### Errors
238
-
239
- | Error Object | Status Code | Content Type |
240
- | --------------- | --------------- | --------------- |
241
- | errors.SDKError | 4xx-5xx | */* |
242
-
243
- ## listHrisEmployees
244
-
245
- List all employees
246
-
247
- ### Example Usage
248
-
249
- ```typescript
250
- import { UnifiedTo } from "@unified-api/typescript-sdk";
251
-
252
- async function run() {
253
- const sdk = new UnifiedTo({
254
- security: {
255
- jwt: "<YOUR_API_KEY_HERE>",
256
- },
257
- });
258
-
259
- const res = await sdk.hris.listHrisEmployees({
260
- connectionId: "<value>",
261
- fields: [
262
- "<value>",
263
- ],
264
- });
265
-
266
- if (res.statusCode == 200) {
267
- // handle response
268
- }
269
- }
270
-
271
- run();
272
- ```
273
-
274
- ### Parameters
275
-
276
- | Parameter | Type | Required | Description |
277
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
278
- | `request` | [operations.ListHrisEmployeesRequest](../../sdk/models/operations/listhrisemployeesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
279
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
280
-
281
-
282
- ### Response
283
-
284
- **Promise<[operations.ListHrisEmployeesResponse](../../sdk/models/operations/listhrisemployeesresponse.md)>**
285
- ### Errors
286
-
287
- | Error Object | Status Code | Content Type |
288
- | --------------- | --------------- | --------------- |
289
- | errors.SDKError | 4xx-5xx | */* |
290
-
291
- ## listHrisGroups
292
-
293
- List all groups
294
-
295
- ### Example Usage
296
-
297
- ```typescript
298
- import { UnifiedTo } from "@unified-api/typescript-sdk";
299
-
300
- async function run() {
301
- const sdk = new UnifiedTo({
302
- security: {
303
- jwt: "<YOUR_API_KEY_HERE>",
304
- },
305
- });
306
-
307
- const res = await sdk.hris.listHrisGroups({
308
- connectionId: "<value>",
309
- fields: [
310
- "<value>",
311
- ],
312
- });
313
-
314
- if (res.statusCode == 200) {
315
- // handle response
316
- }
317
- }
318
-
319
- run();
320
- ```
321
-
322
- ### Parameters
323
-
324
- | Parameter | Type | Required | Description |
325
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
326
- | `request` | [operations.ListHrisGroupsRequest](../../sdk/models/operations/listhrisgroupsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
327
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
328
-
329
-
330
- ### Response
331
-
332
- **Promise<[operations.ListHrisGroupsResponse](../../sdk/models/operations/listhrisgroupsresponse.md)>**
333
- ### Errors
334
-
335
- | Error Object | Status Code | Content Type |
336
- | --------------- | --------------- | --------------- |
337
- | errors.SDKError | 4xx-5xx | */* |
338
-
339
- ## patchHrisEmployee
340
-
341
- Update an employee
342
-
343
- ### Example Usage
344
-
345
- ```typescript
346
- import { UnifiedTo } from "@unified-api/typescript-sdk";
347
- import {
348
- EmploymentStatus,
349
- HrisEmailType,
350
- HrisEmployeeEmploymentType,
351
- HrisEmployeeGender,
352
- HrisTelephoneType,
353
- MaritalStatus,
354
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
355
-
356
- async function run() {
357
- const sdk = new UnifiedTo({
358
- security: {
359
- jwt: "<YOUR_API_KEY_HERE>",
360
- },
361
- });
362
-
363
- const res = await sdk.hris.patchHrisEmployee({
364
- hrisEmployee: {
365
- address: {},
366
- emails: [
367
- {
368
- email: "Zetta.Cassin@yahoo.com",
369
- },
370
- ],
371
- raw: {
372
- "key": "<value>",
373
- },
374
- telephones: [
375
- {
376
- telephone: "<value>",
377
- },
378
- ],
379
- },
380
- connectionId: "<value>",
381
- id: "<id>",
382
- });
383
-
384
- if (res.statusCode == 200) {
385
- // handle response
386
- }
387
- }
388
-
389
- run();
390
- ```
391
-
392
- ### Parameters
393
-
394
- | Parameter | Type | Required | Description |
395
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
396
- | `request` | [operations.PatchHrisEmployeeRequest](../../sdk/models/operations/patchhrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
397
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
398
-
399
-
400
- ### Response
401
-
402
- **Promise<[operations.PatchHrisEmployeeResponse](../../sdk/models/operations/patchhrisemployeeresponse.md)>**
403
- ### Errors
404
-
405
- | Error Object | Status Code | Content Type |
406
- | --------------- | --------------- | --------------- |
407
- | errors.SDKError | 4xx-5xx | */* |
408
-
409
- ## patchHrisGroup
410
-
411
- Update a group
412
-
413
- ### Example Usage
414
-
415
- ```typescript
416
- import { UnifiedTo } from "@unified-api/typescript-sdk";
417
- import { HrisGroupType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
418
-
419
- async function run() {
420
- const sdk = new UnifiedTo({
421
- security: {
422
- jwt: "<YOUR_API_KEY_HERE>",
423
- },
424
- });
425
-
426
- const res = await sdk.hris.patchHrisGroup({
427
- hrisGroup: {
428
- managerIds: [
429
- "<value>",
430
- ],
431
- raw: {
432
- "key": "<value>",
433
- },
434
- userIds: [
435
- "<value>",
436
- ],
437
- },
438
- connectionId: "<value>",
439
- id: "<id>",
440
- });
441
-
442
- if (res.statusCode == 200) {
443
- // handle response
444
- }
445
- }
446
-
447
- run();
448
- ```
449
-
450
- ### Parameters
451
-
452
- | Parameter | Type | Required | Description |
453
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
454
- | `request` | [operations.PatchHrisGroupRequest](../../sdk/models/operations/patchhrisgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. |
455
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
456
-
457
-
458
- ### Response
459
-
460
- **Promise<[operations.PatchHrisGroupResponse](../../sdk/models/operations/patchhrisgroupresponse.md)>**
461
- ### Errors
462
-
463
- | Error Object | Status Code | Content Type |
464
- | --------------- | --------------- | --------------- |
465
- | errors.SDKError | 4xx-5xx | */* |
466
-
467
- ## removeHrisEmployee
468
-
469
- Remove an employee
470
-
471
- ### Example Usage
472
-
473
- ```typescript
474
- import { UnifiedTo } from "@unified-api/typescript-sdk";
475
-
476
- async function run() {
477
- const sdk = new UnifiedTo({
478
- security: {
479
- jwt: "<YOUR_API_KEY_HERE>",
480
- },
481
- });
482
-
483
- const res = await sdk.hris.removeHrisEmployee({
484
- connectionId: "<value>",
485
- id: "<id>",
486
- });
487
-
488
- if (res.statusCode == 200) {
489
- // handle response
490
- }
491
- }
492
-
493
- run();
494
- ```
495
-
496
- ### Parameters
497
-
498
- | Parameter | Type | Required | Description |
499
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
500
- | `request` | [operations.RemoveHrisEmployeeRequest](../../sdk/models/operations/removehrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
501
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
502
-
503
-
504
- ### Response
505
-
506
- **Promise<[operations.RemoveHrisEmployeeResponse](../../sdk/models/operations/removehrisemployeeresponse.md)>**
507
- ### Errors
508
-
509
- | Error Object | Status Code | Content Type |
510
- | --------------- | --------------- | --------------- |
511
- | errors.SDKError | 4xx-5xx | */* |
512
-
513
- ## removeHrisGroup
514
-
515
- Remove a group
516
-
517
- ### Example Usage
518
-
519
- ```typescript
520
- import { UnifiedTo } from "@unified-api/typescript-sdk";
521
-
522
- async function run() {
523
- const sdk = new UnifiedTo({
524
- security: {
525
- jwt: "<YOUR_API_KEY_HERE>",
526
- },
527
- });
528
-
529
- const res = await sdk.hris.removeHrisGroup({
530
- connectionId: "<value>",
531
- id: "<id>",
532
- });
533
-
534
- if (res.statusCode == 200) {
535
- // handle response
536
- }
537
- }
538
-
539
- run();
540
- ```
541
-
542
- ### Parameters
543
-
544
- | Parameter | Type | Required | Description |
545
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
546
- | `request` | [operations.RemoveHrisGroupRequest](../../sdk/models/operations/removehrisgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. |
547
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
548
-
549
-
550
- ### Response
551
-
552
- **Promise<[operations.RemoveHrisGroupResponse](../../sdk/models/operations/removehrisgroupresponse.md)>**
553
- ### Errors
554
-
555
- | Error Object | Status Code | Content Type |
556
- | --------------- | --------------- | --------------- |
557
- | errors.SDKError | 4xx-5xx | */* |
558
-
559
- ## updateHrisEmployee
560
-
561
- Update an employee
562
-
563
- ### Example Usage
564
-
565
- ```typescript
566
- import { UnifiedTo } from "@unified-api/typescript-sdk";
567
- import {
568
- EmploymentStatus,
569
- HrisEmailType,
570
- HrisEmployeeEmploymentType,
571
- HrisEmployeeGender,
572
- HrisTelephoneType,
573
- MaritalStatus,
574
- } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
575
-
576
- async function run() {
577
- const sdk = new UnifiedTo({
578
- security: {
579
- jwt: "<YOUR_API_KEY_HERE>",
580
- },
581
- });
582
-
583
- const res = await sdk.hris.updateHrisEmployee({
584
- hrisEmployee: {
585
- address: {},
586
- emails: [
587
- {
588
- email: "Abbie_Aufderhar@gmail.com",
589
- },
590
- ],
591
- raw: {
592
- "key": "<value>",
593
- },
594
- telephones: [
595
- {
596
- telephone: "<value>",
597
- },
598
- ],
599
- },
600
- connectionId: "<value>",
601
- id: "<id>",
602
- });
603
-
604
- if (res.statusCode == 200) {
605
- // handle response
606
- }
607
- }
608
-
609
- run();
610
- ```
611
-
612
- ### Parameters
613
-
614
- | Parameter | Type | Required | Description |
615
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
616
- | `request` | [operations.UpdateHrisEmployeeRequest](../../sdk/models/operations/updatehrisemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
617
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
618
-
619
-
620
- ### Response
621
-
622
- **Promise<[operations.UpdateHrisEmployeeResponse](../../sdk/models/operations/updatehrisemployeeresponse.md)>**
623
- ### Errors
624
-
625
- | Error Object | Status Code | Content Type |
626
- | --------------- | --------------- | --------------- |
627
- | errors.SDKError | 4xx-5xx | */* |
628
-
629
- ## updateHrisGroup
630
-
631
- Update a group
632
-
633
- ### Example Usage
634
-
635
- ```typescript
636
- import { UnifiedTo } from "@unified-api/typescript-sdk";
637
- import { HrisGroupType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
638
-
639
- async function run() {
640
- const sdk = new UnifiedTo({
641
- security: {
642
- jwt: "<YOUR_API_KEY_HERE>",
643
- },
644
- });
645
-
646
- const res = await sdk.hris.updateHrisGroup({
647
- hrisGroup: {
648
- managerIds: [
649
- "<value>",
650
- ],
651
- raw: {
652
- "key": "<value>",
653
- },
654
- userIds: [
655
- "<value>",
656
- ],
657
- },
658
- connectionId: "<value>",
659
- id: "<id>",
660
- });
661
-
662
- if (res.statusCode == 200) {
663
- // handle response
664
- }
665
- }
666
-
667
- run();
668
- ```
669
-
670
- ### Parameters
671
-
672
- | Parameter | Type | Required | Description |
673
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
674
- | `request` | [operations.UpdateHrisGroupRequest](../../sdk/models/operations/updatehrisgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. |
675
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
676
-
677
-
678
- ### Response
679
-
680
- **Promise<[operations.UpdateHrisGroupResponse](../../sdk/models/operations/updatehrisgroupresponse.md)>**
681
- ### Errors
682
-
683
- | Error Object | Status Code | Content Type |
684
- | --------------- | --------------- | --------------- |
685
- | errors.SDKError | 4xx-5xx | */* |