@unified-api/typescript-sdk 1.0.35 → 1.0.37
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/dist/sdk/company.d.ts +24 -0
- package/dist/sdk/company.js +402 -0
- package/dist/sdk/hris.d.ts +24 -0
- package/dist/sdk/hris.js +402 -0
- package/dist/sdk/models/operations/createhriscompany.d.ts +28 -0
- package/dist/sdk/models/operations/createhriscompany.js +95 -0
- package/dist/sdk/models/operations/gethriscompany.d.ts +35 -0
- package/dist/sdk/models/operations/gethriscompany.js +99 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +2 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +2 -0
- package/dist/sdk/models/operations/index.d.ts +6 -0
- package/dist/sdk/models/operations/index.js +6 -0
- package/dist/sdk/models/operations/listhriscompanies.d.ts +43 -0
- package/dist/sdk/models/operations/listhriscompanies.js +119 -0
- package/dist/sdk/models/operations/listhrisemployees.d.ts +1 -0
- package/dist/sdk/models/operations/listhrisemployees.js +4 -0
- package/dist/sdk/models/operations/listhrisgroups.d.ts +1 -0
- package/dist/sdk/models/operations/listhrisgroups.js +4 -0
- package/dist/sdk/models/operations/patchhriscompany.d.ts +32 -0
- package/dist/sdk/models/operations/patchhriscompany.js +99 -0
- package/dist/sdk/models/operations/removehriscompany.d.ts +30 -0
- package/dist/sdk/models/operations/removehriscompany.js +71 -0
- package/dist/sdk/models/operations/updatehriscompany.d.ts +32 -0
- package/dist/sdk/models/operations/updatehriscompany.js +99 -0
- package/dist/sdk/models/shared/hriscompany.d.ts +11 -0
- package/dist/sdk/models/shared/hriscompany.js +85 -0
- package/dist/sdk/models/shared/hrisemployee.d.ts +1 -0
- package/dist/sdk/models/shared/hrisemployee.js +5 -0
- package/dist/sdk/models/shared/hrisgroup.d.ts +1 -0
- package/dist/sdk/models/shared/hrisgroup.js +5 -0
- package/dist/sdk/models/shared/index.d.ts +2 -0
- package/dist/sdk/models/shared/index.js +2 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/sdk/models/shared/propertycrmeventtask.d.ts +6 -0
- package/dist/sdk/models/shared/propertycrmeventtask.js +12 -1
- package/dist/sdk/models/shared/propertyhriscompanyaddress.d.ts +11 -0
- package/dist/sdk/models/shared/propertyhriscompanyaddress.js +80 -0
- package/dist/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/sdk/models/shared/webhook.js +1 -0
- package/dist/sdk/sdk.js +3 -3
- package/docs/sdk/models/operations/createhriscompanyrequest.md +9 -0
- package/docs/sdk/models/operations/createhriscompanyresponse.md +11 -0
- package/docs/sdk/models/operations/gethriscompanyrequest.md +10 -0
- package/docs/sdk/models/operations/gethriscompanyresponse.md +11 -0
- package/docs/sdk/models/operations/listhriscompaniesrequest.md +15 -0
- package/docs/sdk/models/operations/listhriscompaniesresponse.md +11 -0
- package/docs/sdk/models/operations/listhrisemployeesrequest.md +1 -0
- package/docs/sdk/models/operations/listhrisgroupsrequest.md +1 -0
- package/docs/sdk/models/operations/patchhriscompanyrequest.md +10 -0
- package/docs/sdk/models/operations/patchhriscompanyresponse.md +11 -0
- package/docs/sdk/models/operations/removehriscompanyrequest.md +9 -0
- package/docs/sdk/models/operations/removehriscompanyresponse.md +11 -0
- package/docs/sdk/models/operations/scopes.md +2 -0
- package/docs/sdk/models/operations/updatehriscompanyrequest.md +10 -0
- package/docs/sdk/models/operations/updatehriscompanyresponse.md +11 -0
- package/docs/sdk/models/shared/hriscompany.md +14 -0
- package/docs/sdk/models/shared/hrisemployee.md +1 -0
- package/docs/sdk/models/shared/hrisgroup.md +1 -0
- package/docs/sdk/models/shared/objecttype.md +1 -0
- package/docs/sdk/models/shared/priority.md +10 -0
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
- package/docs/sdk/models/shared/propertycrmeventtask.md +1 -0
- package/docs/sdk/models/shared/propertyhriscompanyaddress.md +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# PatchHrisCompanyResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `hrisCompany` | [shared.HrisCompany](../../../sdk/models/shared/hriscompany.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# RemoveHrisCompanyRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| -------------------- | -------------------- | -------------------- | -------------------- |
|
|
8
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
9
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Company |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# RemoveHrisCompanyResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
10
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
11
|
+
| `string` | *string* | :heavy_minus_sign: | Successful |
|
|
@@ -77,6 +77,8 @@
|
|
|
77
77
|
| `HrisPayslipWrite` | hris_payslip_write |
|
|
78
78
|
| `HrisTimeoffRead` | hris_timeoff_read |
|
|
79
79
|
| `HrisTimeoffWrite` | hris_timeoff_write |
|
|
80
|
+
| `HrisCompanyRead` | hris_company_read |
|
|
81
|
+
| `HrisCompanyWrite` | hris_company_write |
|
|
80
82
|
| `UcCallRead` | uc_call_read |
|
|
81
83
|
| `StorageFileRead` | storage_file_read |
|
|
82
84
|
| `StorageFileWrite` | storage_file_write |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# UpdateHrisCompanyRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `hrisCompany` | [shared.HrisCompany](../../../sdk/models/shared/hriscompany.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
10
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Company |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# UpdateHrisCompanyResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `hrisCompany` | [shared.HrisCompany](../../../sdk/models/shared/hriscompany.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# HrisCompany
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `address` | [shared.PropertyHrisCompanyAddress](../../../sdk/models/shared/propertyhriscompanyaddress.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `legalName` | *string* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| Field | Type | Required | Description |
|
|
7
7
|
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
8
8
|
| `address` | [shared.PropertyHrisEmployeeAddress](../../../sdk/models/shared/propertyhrisemployeeaddress.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `companyId` | *string* | :heavy_minus_sign: | N/A |
|
|
9
10
|
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
10
11
|
| `currency` | *string* | :heavy_minus_sign: | N/A |
|
|
11
12
|
| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
| Field | Type | Required | Description |
|
|
7
7
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `companyId` | *string* | :heavy_minus_sign: | N/A |
|
|
8
9
|
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
9
10
|
| `description` | *string* | :heavy_minus_sign: | N/A |
|
|
10
11
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
@@ -77,6 +77,8 @@
|
|
|
77
77
|
| `HrisPayslipWrite` | hris_payslip_write |
|
|
78
78
|
| `HrisTimeoffRead` | hris_timeoff_read |
|
|
79
79
|
| `HrisTimeoffWrite` | hris_timeoff_write |
|
|
80
|
+
| `HrisCompanyRead` | hris_company_read |
|
|
81
|
+
| `HrisCompanyWrite` | hris_company_write |
|
|
80
82
|
| `UcCallRead` | uc_call_read |
|
|
81
83
|
| `StorageFileRead` | storage_file_read |
|
|
82
84
|
| `StorageFileWrite` | storage_file_write |
|
|
@@ -10,4 +10,5 @@ The task object, when type = task
|
|
|
10
10
|
| `description` | *string* | :heavy_minus_sign: | N/A |
|
|
11
11
|
| `dueAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
12
12
|
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `priority` | [shared.Priority](../../../sdk/models/shared/priority.md) | :heavy_minus_sign: | N/A |
|
|
13
14
|
| `status` | [shared.PropertyCrmEventTaskStatus](../../../sdk/models/shared/propertycrmeventtaskstatus.md) | :heavy_minus_sign: | N/A |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# PropertyHrisCompanyAddress
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------ | ------------------ | ------------------ | ------------------ |
|
|
8
|
+
| `address1` | *string* | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `address2` | *string* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `city` | *string* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `country` | *string* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `countryCode` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `postalCode` | *string* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `region` | *string* | :heavy_minus_sign: | N/A |
|
|
15
|
+
| `regionCode` | *string* | :heavy_minus_sign: | N/A |
|