@thera-hr/api-sdk 0.0.1-prerelease3033-dev-2 → 0.0.1-prerelease3034-dev-3
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/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/client/Client.js +17 -12
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
- package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +54 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +141 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/index.js +2 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +18 -0
- package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/api/resources/db/resources/company/types/index.js +2 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +54 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +141 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +18 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +57 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +55 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → db/resources/company/types/IncorporationDocument.js} +5 -4
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +81 -146
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
- package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +57 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
- package/serialization/resources/db/resources/company/types/IncorporationDetails.js +55 -0
- package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
- package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → db/resources/company/types/IncorporationDocument.js} +5 -4
- package/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -12
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/db/resources/company/types/IncorporationDetails.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/db/resources/company/types/IncorporationDocument.js} +0 -0
package/reference.md
CHANGED
|
@@ -2499,8 +2499,6 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalDeliveryEstimate("string"
|
|
|
2499
2499
|
await client.api.thera.bank.bankApi.getPayInHistory("string", {
|
|
2500
2500
|
status: "PENDING",
|
|
2501
2501
|
offPlatformOnly: true,
|
|
2502
|
-
pageSize: 1000000,
|
|
2503
|
-
afterCursor: "string",
|
|
2504
2502
|
});
|
|
2505
2503
|
```
|
|
2506
2504
|
|
|
@@ -2967,150 +2965,6 @@ await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
|
|
|
2967
2965
|
</dl>
|
|
2968
2966
|
</details>
|
|
2969
2967
|
|
|
2970
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPaymentByTypeAndId</a>(companyId, paymentId, { ...params }) -> TheraApi.HistoricPayment</code></summary>
|
|
2971
|
-
<dl>
|
|
2972
|
-
<dd>
|
|
2973
|
-
|
|
2974
|
-
#### 📝 Description
|
|
2975
|
-
|
|
2976
|
-
<dl>
|
|
2977
|
-
<dd>
|
|
2978
|
-
|
|
2979
|
-
<dl>
|
|
2980
|
-
<dd>
|
|
2981
|
-
|
|
2982
|
-
Get a specific W2 subscription or EOR payment by its ID. This endpoint is optimized for direct retrieval without pagination concerns.
|
|
2983
|
-
|
|
2984
|
-
</dd>
|
|
2985
|
-
</dl>
|
|
2986
|
-
</dd>
|
|
2987
|
-
</dl>
|
|
2988
|
-
|
|
2989
|
-
#### 🔌 Usage
|
|
2990
|
-
|
|
2991
|
-
<dl>
|
|
2992
|
-
<dd>
|
|
2993
|
-
|
|
2994
|
-
<dl>
|
|
2995
|
-
<dd>
|
|
2996
|
-
|
|
2997
|
-
```typescript
|
|
2998
|
-
await client.api.thera.bank.bankApi.getPaymentByTypeAndId("string", "string", {
|
|
2999
|
-
paymentType: "string",
|
|
3000
|
-
});
|
|
3001
|
-
```
|
|
3002
|
-
|
|
3003
|
-
</dd>
|
|
3004
|
-
</dl>
|
|
3005
|
-
</dd>
|
|
3006
|
-
</dl>
|
|
3007
|
-
|
|
3008
|
-
#### ⚙️ Parameters
|
|
3009
|
-
|
|
3010
|
-
<dl>
|
|
3011
|
-
<dd>
|
|
3012
|
-
|
|
3013
|
-
<dl>
|
|
3014
|
-
<dd>
|
|
3015
|
-
|
|
3016
|
-
**companyId:** `string`
|
|
3017
|
-
|
|
3018
|
-
</dd>
|
|
3019
|
-
</dl>
|
|
3020
|
-
|
|
3021
|
-
<dl>
|
|
3022
|
-
<dd>
|
|
3023
|
-
|
|
3024
|
-
**paymentId:** `string`
|
|
3025
|
-
|
|
3026
|
-
</dd>
|
|
3027
|
-
</dl>
|
|
3028
|
-
|
|
3029
|
-
<dl>
|
|
3030
|
-
<dd>
|
|
3031
|
-
|
|
3032
|
-
**request:** `TheraApi.api.thera.bank.GetPaymentByTypeRequest`
|
|
3033
|
-
|
|
3034
|
-
</dd>
|
|
3035
|
-
</dl>
|
|
3036
|
-
|
|
3037
|
-
<dl>
|
|
3038
|
-
<dd>
|
|
3039
|
-
|
|
3040
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
3041
|
-
|
|
3042
|
-
</dd>
|
|
3043
|
-
</dl>
|
|
3044
|
-
</dd>
|
|
3045
|
-
</dl>
|
|
3046
|
-
|
|
3047
|
-
</dd>
|
|
3048
|
-
</dl>
|
|
3049
|
-
</details>
|
|
3050
|
-
|
|
3051
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPayInCount</a>(companyId) -> TheraApi.GetPayInCountResponse</code></summary>
|
|
3052
|
-
<dl>
|
|
3053
|
-
<dd>
|
|
3054
|
-
|
|
3055
|
-
#### 📝 Description
|
|
3056
|
-
|
|
3057
|
-
<dl>
|
|
3058
|
-
<dd>
|
|
3059
|
-
|
|
3060
|
-
<dl>
|
|
3061
|
-
<dd>
|
|
3062
|
-
|
|
3063
|
-
Get the total count of pay-ins for a company. This endpoint is optimized for counting large datasets efficiently.
|
|
3064
|
-
|
|
3065
|
-
</dd>
|
|
3066
|
-
</dl>
|
|
3067
|
-
</dd>
|
|
3068
|
-
</dl>
|
|
3069
|
-
|
|
3070
|
-
#### 🔌 Usage
|
|
3071
|
-
|
|
3072
|
-
<dl>
|
|
3073
|
-
<dd>
|
|
3074
|
-
|
|
3075
|
-
<dl>
|
|
3076
|
-
<dd>
|
|
3077
|
-
|
|
3078
|
-
```typescript
|
|
3079
|
-
await client.api.thera.bank.bankApi.getPayInCount("string");
|
|
3080
|
-
```
|
|
3081
|
-
|
|
3082
|
-
</dd>
|
|
3083
|
-
</dl>
|
|
3084
|
-
</dd>
|
|
3085
|
-
</dl>
|
|
3086
|
-
|
|
3087
|
-
#### ⚙️ Parameters
|
|
3088
|
-
|
|
3089
|
-
<dl>
|
|
3090
|
-
<dd>
|
|
3091
|
-
|
|
3092
|
-
<dl>
|
|
3093
|
-
<dd>
|
|
3094
|
-
|
|
3095
|
-
**companyId:** `string`
|
|
3096
|
-
|
|
3097
|
-
</dd>
|
|
3098
|
-
</dl>
|
|
3099
|
-
|
|
3100
|
-
<dl>
|
|
3101
|
-
<dd>
|
|
3102
|
-
|
|
3103
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
3104
|
-
|
|
3105
|
-
</dd>
|
|
3106
|
-
</dl>
|
|
3107
|
-
</dd>
|
|
3108
|
-
</dl>
|
|
3109
|
-
|
|
3110
|
-
</dd>
|
|
3111
|
-
</dl>
|
|
3112
|
-
</details>
|
|
3113
|
-
|
|
3114
2968
|
## Bridge APIs
|
|
3115
2969
|
|
|
3116
2970
|
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">requestTosLink</a>() -> TheraApi.TosLinkResponse</code></summary>
|
|
@@ -8035,6 +7889,87 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
|
|
|
8035
7889
|
</dl>
|
|
8036
7890
|
</details>
|
|
8037
7891
|
|
|
7892
|
+
## Incorporation Integration
|
|
7893
|
+
|
|
7894
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">incorporationSignup</a>({ ...params }) -> TheraApi.IncorporationSignupResponse</code></summary>
|
|
7895
|
+
<dl>
|
|
7896
|
+
<dd>
|
|
7897
|
+
|
|
7898
|
+
#### 📝 Description
|
|
7899
|
+
|
|
7900
|
+
<dl>
|
|
7901
|
+
<dd>
|
|
7902
|
+
|
|
7903
|
+
<dl>
|
|
7904
|
+
<dd>
|
|
7905
|
+
|
|
7906
|
+
Create a new user account and company for someone who has incorporated
|
|
7907
|
+
|
|
7908
|
+
</dd>
|
|
7909
|
+
</dl>
|
|
7910
|
+
</dd>
|
|
7911
|
+
</dl>
|
|
7912
|
+
|
|
7913
|
+
#### 🔌 Usage
|
|
7914
|
+
|
|
7915
|
+
<dl>
|
|
7916
|
+
<dd>
|
|
7917
|
+
|
|
7918
|
+
<dl>
|
|
7919
|
+
<dd>
|
|
7920
|
+
|
|
7921
|
+
```typescript
|
|
7922
|
+
await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
7923
|
+
businessName: "string",
|
|
7924
|
+
state: "string",
|
|
7925
|
+
firstName: "string",
|
|
7926
|
+
lastName: "string",
|
|
7927
|
+
email: "string",
|
|
7928
|
+
phone: "string",
|
|
7929
|
+
experience: "string",
|
|
7930
|
+
progress: "string",
|
|
7931
|
+
industry: "string",
|
|
7932
|
+
agent: "string",
|
|
7933
|
+
packageType: "string",
|
|
7934
|
+
appointedAgent: true,
|
|
7935
|
+
registrationDate: "string",
|
|
7936
|
+
status: "string",
|
|
7937
|
+
password: "string",
|
|
7938
|
+
});
|
|
7939
|
+
```
|
|
7940
|
+
|
|
7941
|
+
</dd>
|
|
7942
|
+
</dl>
|
|
7943
|
+
</dd>
|
|
7944
|
+
</dl>
|
|
7945
|
+
|
|
7946
|
+
#### ⚙️ Parameters
|
|
7947
|
+
|
|
7948
|
+
<dl>
|
|
7949
|
+
<dd>
|
|
7950
|
+
|
|
7951
|
+
<dl>
|
|
7952
|
+
<dd>
|
|
7953
|
+
|
|
7954
|
+
**request:** `TheraApi.IncorporationSignupRequest`
|
|
7955
|
+
|
|
7956
|
+
</dd>
|
|
7957
|
+
</dl>
|
|
7958
|
+
|
|
7959
|
+
<dl>
|
|
7960
|
+
<dd>
|
|
7961
|
+
|
|
7962
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
7963
|
+
|
|
7964
|
+
</dd>
|
|
7965
|
+
</dl>
|
|
7966
|
+
</dd>
|
|
7967
|
+
</dl>
|
|
7968
|
+
|
|
7969
|
+
</dd>
|
|
7970
|
+
</dl>
|
|
7971
|
+
</details>
|
|
7972
|
+
|
|
8038
7973
|
## Miscellaneous API
|
|
8039
7974
|
|
|
8040
7975
|
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
|
|
@@ -43,5 +43,4 @@ const HistoricPayment_1 = require("./HistoricPayment");
|
|
|
43
43
|
exports.GetPayInHistoryResponse = core.serialization.object({
|
|
44
44
|
history: core.serialization.list(HistoricalPayIn_1.HistoricalPayIn),
|
|
45
45
|
payments: core.serialization.list(HistoricPayment_1.HistoricPayment),
|
|
46
|
-
nextCursor: core.serialization.string().optional(),
|
|
47
46
|
});
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -83,4 +83,3 @@ __exportStar(require("./GetBankAccountDetailsResponse"), exports);
|
|
|
83
83
|
__exportStar(require("./SetAutoWithdrawalResponse"), exports);
|
|
84
84
|
__exportStar(require("./WorkerTransactionStatus"), exports);
|
|
85
85
|
__exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
|
|
86
|
-
__exportStar(require("./GetPayInCountResponse"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const IncorporationSignupRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupRequest.Raw, TheraApi.api.thera.incorporation.IncorporationSignupRequest>;
|
|
8
|
+
export declare namespace IncorporationSignupRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
businessName?: string | null;
|
|
11
|
+
state?: string | null;
|
|
12
|
+
firstName?: string | null;
|
|
13
|
+
lastName?: string | null;
|
|
14
|
+
email: string;
|
|
15
|
+
phone?: string | null;
|
|
16
|
+
experience?: string | null;
|
|
17
|
+
progress?: string | null;
|
|
18
|
+
industry?: string | null;
|
|
19
|
+
agent?: string | null;
|
|
20
|
+
packageType?: string | null;
|
|
21
|
+
appointedAgent?: boolean | null;
|
|
22
|
+
registrationDate?: string | null;
|
|
23
|
+
status?: string | null;
|
|
24
|
+
password: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IncorporationSignupRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.IncorporationSignupRequest = core.serialization.object({
|
|
42
|
+
businessName: core.serialization.string().optional(),
|
|
43
|
+
state: core.serialization.string().optional(),
|
|
44
|
+
firstName: core.serialization.string().optional(),
|
|
45
|
+
lastName: core.serialization.string().optional(),
|
|
46
|
+
email: core.serialization.string(),
|
|
47
|
+
phone: core.serialization.string().optional(),
|
|
48
|
+
experience: core.serialization.string().optional(),
|
|
49
|
+
progress: core.serialization.string().optional(),
|
|
50
|
+
industry: core.serialization.string().optional(),
|
|
51
|
+
agent: core.serialization.string().optional(),
|
|
52
|
+
packageType: core.serialization.string().optional(),
|
|
53
|
+
appointedAgent: core.serialization.boolean().optional(),
|
|
54
|
+
registrationDate: core.serialization.string().optional(),
|
|
55
|
+
status: core.serialization.string().optional(),
|
|
56
|
+
password: core.serialization.string(),
|
|
57
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const IncorporationSignupResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupResponse.Raw, TheraApi.api.thera.incorporation.IncorporationSignupResponse>;
|
|
8
|
+
export declare namespace IncorporationSignupResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success: boolean;
|
|
11
|
+
userId?: string | null;
|
|
12
|
+
companyId?: string | null;
|
|
13
|
+
error?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IncorporationSignupResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.IncorporationSignupResponse = core.serialization.object({
|
|
42
|
+
success: core.serialization.boolean(),
|
|
43
|
+
userId: core.serialization.string().optional(),
|
|
44
|
+
companyId: core.serialization.string().optional(),
|
|
45
|
+
error: core.serialization.string().optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IncorporationSignupRequest"), exports);
|
|
18
|
+
__exportStar(require("./IncorporationSignupResponse"), exports);
|
package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.incorporationApi = void 0;
|
|
40
|
+
exports.incorporationApi = __importStar(require("./incorporationApi"));
|
|
41
|
+
__exportStar(require("./incorporationApi/types"), exports);
|
|
@@ -9,6 +9,7 @@ export * as document from "./document";
|
|
|
9
9
|
export * as email from "./email";
|
|
10
10
|
export * as employment from "./employment";
|
|
11
11
|
export * as eor from "./eor";
|
|
12
|
+
export * as incorporation from "./incorporation";
|
|
12
13
|
export * as misc from "./misc";
|
|
13
14
|
export * as payroll from "./payroll";
|
|
14
15
|
export * as timeoff from "./timeoff";
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
|
|
36
|
+
exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.incorporation = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
|
|
37
37
|
exports.accounting = __importStar(require("./accounting"));
|
|
38
38
|
exports.bank = __importStar(require("./bank"));
|
|
39
39
|
exports.bridge = __importStar(require("./bridge"));
|
|
@@ -45,6 +45,7 @@ exports.document = __importStar(require("./document"));
|
|
|
45
45
|
exports.email = __importStar(require("./email"));
|
|
46
46
|
exports.employment = __importStar(require("./employment"));
|
|
47
47
|
exports.eor = __importStar(require("./eor"));
|
|
48
|
+
exports.incorporation = __importStar(require("./incorporation"));
|
|
48
49
|
exports.misc = __importStar(require("./misc"));
|
|
49
50
|
exports.payroll = __importStar(require("./payroll"));
|
|
50
51
|
exports.timeoff = __importStar(require("./timeoff"));
|
|
@@ -16,6 +16,7 @@ import { TpCompanyInformation } from "./TpCompanyInformation";
|
|
|
16
16
|
import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
17
17
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
18
18
|
import { CompanyBankingDetails } from "./CompanyBankingDetails";
|
|
19
|
+
import { IncorporationDetails } from "./IncorporationDetails";
|
|
19
20
|
export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
|
|
20
21
|
export declare namespace Company {
|
|
21
22
|
interface Raw {
|
|
@@ -50,5 +51,6 @@ export declare namespace Company {
|
|
|
50
51
|
mercoaCompanyDetails?: MercoaCompanyDetails.Raw | null;
|
|
51
52
|
companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
|
|
52
53
|
companyBankingDetails?: CompanyBankingDetails.Raw | null;
|
|
54
|
+
incorporationDetails?: IncorporationDetails.Raw | null;
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -50,6 +50,7 @@ const TpCompanyInformation_1 = require("./TpCompanyInformation");
|
|
|
50
50
|
const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
51
51
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
52
52
|
const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
|
|
53
|
+
const IncorporationDetails_1 = require("./IncorporationDetails");
|
|
53
54
|
exports.Company = core.serialization.object({
|
|
54
55
|
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
55
56
|
companyName: core.serialization.string(),
|
|
@@ -82,4 +83,5 @@ exports.Company = core.serialization.object({
|
|
|
82
83
|
mercoaCompanyDetails: MercoaCompanyDetails_1.MercoaCompanyDetails.optional(),
|
|
83
84
|
companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
|
|
84
85
|
companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
|
|
86
|
+
incorporationDetails: IncorporationDetails_1.IncorporationDetails.optional(),
|
|
85
87
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { IncorporationDocument } from "./IncorporationDocument";
|
|
8
|
+
export declare const IncorporationDetails: core.serialization.ObjectSchema<serializers.db.IncorporationDetails.Raw, TheraApi.db.IncorporationDetails>;
|
|
9
|
+
export declare namespace IncorporationDetails {
|
|
10
|
+
interface Raw {
|
|
11
|
+
incorporationId: string;
|
|
12
|
+
state?: string | null;
|
|
13
|
+
registrationDate: string;
|
|
14
|
+
appointedAgent: boolean;
|
|
15
|
+
experience?: string | null;
|
|
16
|
+
progress?: string | null;
|
|
17
|
+
industry?: string | null;
|
|
18
|
+
agent?: string | null;
|
|
19
|
+
packageType?: string | null;
|
|
20
|
+
status?: string | null;
|
|
21
|
+
phone?: string | null;
|
|
22
|
+
documents?: IncorporationDocument.Raw[] | null;
|
|
23
|
+
}
|
|
24
|
+
}
|