@thera-hr/api-sdk 0.0.1-prerelease2686-dev-anthony → 0.0.1-prerelease2686-production
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/services/resources/file/client/Client.js +5 -5
- 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 +18 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
- 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/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
- 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/misc/resources/misc/client/Client.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- 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 -1
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
- package/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/api/resources/db/resources/company/types/index.js +1 -1
- package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -3
- package/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/api/resources/db/resources/user/types/index.js +1 -1
- 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/services/resources/file/client/Client.js +5 -5
- 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 +18 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
- 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/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- 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/companyApi/types/Manager.d.ts +1 -1
- 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/misc/resources/misc/client/Client.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- 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 -1
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/{api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/company/types/MercoaCompanyDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/index.js +1 -1
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -3
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
- package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -1
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -1
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +1 -2
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.js +2 -2
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
- package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/index.js +1 -1
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -1
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +1 -2
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/serialization/resources/db/resources/user/types/User.js +2 -2
- package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
- /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.js +0 -0
- /package/api/resources/{db/resources/company/types/MoniteCompanyDetails.js → api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js} +0 -0
- /package/api/resources/{db/resources/user/types/MoniteUserDetails.js → api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.js → api/resources/db/resources/company/types/MercoaCompanyDetails.js} +0 -0
- /package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.js → api/resources/db/resources/user/types/MercoaUserDetails.js} +0 -0
- /package/dist/api/resources/{db/resources/user/types/MoniteUserDetails.js → api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.js} +0 -0
package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js
CHANGED
|
@@ -73,7 +73,7 @@ class TimeoffApi {
|
|
|
73
73
|
Authorization: yield this._getAuthorizationHeader(),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
76
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
76
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -135,7 +135,7 @@ class TimeoffApi {
|
|
|
135
135
|
Authorization: yield this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
138
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
138
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
139
139
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
140
140
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
141
141
|
},
|
|
@@ -202,7 +202,7 @@ class TimeoffApi {
|
|
|
202
202
|
Authorization: yield this._getAuthorizationHeader(),
|
|
203
203
|
"X-Fern-Language": "JavaScript",
|
|
204
204
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
205
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
205
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
206
206
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
207
207
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
208
208
|
},
|
|
@@ -274,7 +274,7 @@ class TimeoffApi {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
277
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
277
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -329,7 +329,7 @@ class TimeoffApi {
|
|
|
329
329
|
Authorization: yield this._getAuthorizationHeader(),
|
|
330
330
|
"X-Fern-Language": "JavaScript",
|
|
331
331
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
332
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
332
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
333
333
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
334
334
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
335
335
|
},
|
|
@@ -405,7 +405,7 @@ class TimeoffApi {
|
|
|
405
405
|
Authorization: yield this._getAuthorizationHeader(),
|
|
406
406
|
"X-Fern-Language": "JavaScript",
|
|
407
407
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
408
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
408
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
409
409
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
410
410
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
411
411
|
},
|
|
@@ -460,7 +460,7 @@ class TimeoffApi {
|
|
|
460
460
|
Authorization: yield this._getAuthorizationHeader(),
|
|
461
461
|
"X-Fern-Language": "JavaScript",
|
|
462
462
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
463
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
463
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
464
464
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
465
465
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
466
466
|
},
|
|
@@ -523,7 +523,7 @@ class TimeoffApi {
|
|
|
523
523
|
Authorization: yield this._getAuthorizationHeader(),
|
|
524
524
|
"X-Fern-Language": "JavaScript",
|
|
525
525
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
526
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
526
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
527
527
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
528
528
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
529
529
|
},
|
|
@@ -582,7 +582,7 @@ class TimeoffApi {
|
|
|
582
582
|
Authorization: yield this._getAuthorizationHeader(),
|
|
583
583
|
"X-Fern-Language": "JavaScript",
|
|
584
584
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
585
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
585
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
586
586
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
587
587
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
588
588
|
},
|
|
@@ -648,7 +648,7 @@ class TimeoffApi {
|
|
|
648
648
|
Authorization: yield this._getAuthorizationHeader(),
|
|
649
649
|
"X-Fern-Language": "JavaScript",
|
|
650
650
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
651
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
651
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
652
652
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
653
653
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
654
654
|
},
|
|
@@ -715,7 +715,7 @@ class TimeoffApi {
|
|
|
715
715
|
Authorization: yield this._getAuthorizationHeader(),
|
|
716
716
|
"X-Fern-Language": "JavaScript",
|
|
717
717
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
718
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
718
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
719
719
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
720
720
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
721
721
|
},
|
|
@@ -779,7 +779,7 @@ class TimeoffApi {
|
|
|
779
779
|
Authorization: yield this._getAuthorizationHeader(),
|
|
780
780
|
"X-Fern-Language": "JavaScript",
|
|
781
781
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
782
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
782
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
783
783
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
784
784
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
785
785
|
},
|
|
@@ -844,7 +844,7 @@ class TimeoffApi {
|
|
|
844
844
|
Authorization: yield this._getAuthorizationHeader(),
|
|
845
845
|
"X-Fern-Language": "JavaScript",
|
|
846
846
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
847
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
847
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
848
848
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
849
849
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
850
850
|
},
|
|
@@ -908,7 +908,7 @@ class TimeoffApi {
|
|
|
908
908
|
Authorization: yield this._getAuthorizationHeader(),
|
|
909
909
|
"X-Fern-Language": "JavaScript",
|
|
910
910
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
911
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
911
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
912
912
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
913
913
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
914
914
|
},
|
|
@@ -74,7 +74,7 @@ class TimetrackingApi {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
77
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -142,7 +142,7 @@ class TimetrackingApi {
|
|
|
142
142
|
Authorization: yield this._getAuthorizationHeader(),
|
|
143
143
|
"X-Fern-Language": "JavaScript",
|
|
144
144
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
145
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
145
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
146
146
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
147
147
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
148
148
|
},
|
|
@@ -208,7 +208,7 @@ class TimetrackingApi {
|
|
|
208
208
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
209
|
"X-Fern-Language": "JavaScript",
|
|
210
210
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
211
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
211
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
212
212
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
213
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
214
|
},
|
|
@@ -277,7 +277,7 @@ class TimetrackingApi {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
280
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
280
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -339,7 +339,7 @@ class TimetrackingApi {
|
|
|
339
339
|
Authorization: yield this._getAuthorizationHeader(),
|
|
340
340
|
"X-Fern-Language": "JavaScript",
|
|
341
341
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
342
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
342
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
343
343
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
344
344
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
345
345
|
},
|
|
@@ -399,7 +399,7 @@ class TimetrackingApi {
|
|
|
399
399
|
Authorization: yield this._getAuthorizationHeader(),
|
|
400
400
|
"X-Fern-Language": "JavaScript",
|
|
401
401
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
402
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
402
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
403
403
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
404
404
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
405
405
|
},
|
|
@@ -458,7 +458,7 @@ class TimetrackingApi {
|
|
|
458
458
|
Authorization: yield this._getAuthorizationHeader(),
|
|
459
459
|
"X-Fern-Language": "JavaScript",
|
|
460
460
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
461
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
461
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
462
462
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
463
463
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
464
464
|
},
|
|
@@ -520,7 +520,7 @@ class TimetrackingApi {
|
|
|
520
520
|
Authorization: yield this._getAuthorizationHeader(),
|
|
521
521
|
"X-Fern-Language": "JavaScript",
|
|
522
522
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
523
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
523
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
524
524
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
525
525
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
526
526
|
},
|
|
@@ -589,7 +589,7 @@ class TimetrackingApi {
|
|
|
589
589
|
Authorization: yield this._getAuthorizationHeader(),
|
|
590
590
|
"X-Fern-Language": "JavaScript",
|
|
591
591
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
592
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
592
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
593
593
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
594
594
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
595
595
|
},
|
|
@@ -103,7 +103,7 @@ class TpApi {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
106
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
106
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -162,7 +162,7 @@ class TpApi {
|
|
|
162
162
|
Authorization: yield this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
165
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
165
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
166
166
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
167
167
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
168
168
|
},
|
|
@@ -227,7 +227,7 @@ class TpApi {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
230
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
230
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -284,7 +284,7 @@ class TpApi {
|
|
|
284
284
|
Authorization: yield this._getAuthorizationHeader(),
|
|
285
285
|
"X-Fern-Language": "JavaScript",
|
|
286
286
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
287
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
287
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
288
288
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
289
289
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
290
290
|
},
|
|
@@ -338,7 +338,7 @@ class TpApi {
|
|
|
338
338
|
Authorization: yield this._getAuthorizationHeader(),
|
|
339
339
|
"X-Fern-Language": "JavaScript",
|
|
340
340
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
341
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
341
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
342
342
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
343
343
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
344
344
|
},
|
|
@@ -396,7 +396,7 @@ class TpApi {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
399
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
399
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -452,7 +452,7 @@ class TpApi {
|
|
|
452
452
|
Authorization: yield this._getAuthorizationHeader(),
|
|
453
453
|
"X-Fern-Language": "JavaScript",
|
|
454
454
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
455
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
455
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
456
456
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
457
457
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
458
458
|
},
|
|
@@ -507,7 +507,7 @@ class TpApi {
|
|
|
507
507
|
Authorization: yield this._getAuthorizationHeader(),
|
|
508
508
|
"X-Fern-Language": "JavaScript",
|
|
509
509
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
510
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
510
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
511
511
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
512
512
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
513
513
|
},
|
|
@@ -565,7 +565,7 @@ class TpApi {
|
|
|
565
565
|
Authorization: yield this._getAuthorizationHeader(),
|
|
566
566
|
"X-Fern-Language": "JavaScript",
|
|
567
567
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
568
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
568
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
569
569
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
570
570
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
571
571
|
},
|
|
@@ -634,7 +634,7 @@ class TpApi {
|
|
|
634
634
|
Authorization: yield this._getAuthorizationHeader(),
|
|
635
635
|
"X-Fern-Language": "JavaScript",
|
|
636
636
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
637
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
637
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
638
638
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
639
639
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
640
640
|
},
|
|
@@ -71,7 +71,7 @@ class UserApi {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -137,7 +137,7 @@ class UserApi {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
141
141
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
142
142
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
143
143
|
},
|
|
@@ -200,7 +200,7 @@ class UserApi {
|
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
203
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -47,7 +47,7 @@ export interface Company {
|
|
|
47
47
|
*/
|
|
48
48
|
onboarderUserId?: string;
|
|
49
49
|
creationTimestamp?: Date;
|
|
50
|
-
|
|
50
|
+
mercoaCompanyDetails?: TheraApi.db.MercoaCompanyDetails;
|
|
51
51
|
companyAccountingInformation?: TheraApi.db.CompanyAccountingInformation;
|
|
52
52
|
companyBankingDetails?: TheraApi.db.CompanyBankingDetails;
|
|
53
53
|
}
|
|
@@ -37,7 +37,7 @@ export * from "./W2ImplementationStatus";
|
|
|
37
37
|
export * from "./CompanyPayFrequency";
|
|
38
38
|
export * from "./PayrollRun";
|
|
39
39
|
export * from "./PaymentMethodStatus";
|
|
40
|
-
export * from "./
|
|
40
|
+
export * from "./MercoaCompanyDetails";
|
|
41
41
|
export * from "./AddCompanyBeneficiary";
|
|
42
42
|
export * from "./CompanyBeneficiary";
|
|
43
43
|
export * from "./CompanyBankingDetails";
|
|
@@ -53,7 +53,7 @@ __exportStar(require("./W2ImplementationStatus"), exports);
|
|
|
53
53
|
__exportStar(require("./CompanyPayFrequency"), exports);
|
|
54
54
|
__exportStar(require("./PayrollRun"), exports);
|
|
55
55
|
__exportStar(require("./PaymentMethodStatus"), exports);
|
|
56
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./MercoaCompanyDetails"), exports);
|
|
57
57
|
__exportStar(require("./AddCompanyBeneficiary"), exports);
|
|
58
58
|
__exportStar(require("./CompanyBeneficiary"), exports);
|
|
59
59
|
__exportStar(require("./CompanyBankingDetails"), exports);
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
import * as TheraApi from "../../../../../index";
|
|
5
5
|
export interface LedgerMigrationMetadata {
|
|
6
6
|
ledgerMigrationType: TheraApi.db.LedgerMigrationType;
|
|
7
|
-
sourceLedgerTrxId:
|
|
8
|
-
/** If present, this represents the successfully created ledger transaction ID from the migration. */
|
|
9
|
-
destinationLedgerTrxId?: string;
|
|
7
|
+
sourceLedgerTrxId: string[];
|
|
10
8
|
additionalData: Record<string, string>;
|
|
11
9
|
errorMetadata?: TheraApi.db.LedgerMigrationErrorMetadata;
|
|
12
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type ComplianceDocumentType = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE" | "GST_REGISTRATION_NUMBER_OR_TAN" | "TIN" | "ENTITY_PROOF_OF_REGISTRATION";
|
|
4
|
+
export declare type ComplianceDocumentType = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE" | "GST_REGISTRATION_NUMBER_OR_TAN" | "TIN" | "ENTITY_PROOF_OF_REGISTRATION" | "ANNUAL_RETURNS_PAYMENT" | "REGISTRATION_UNDER_INCOME_TAX_LAWS" | "PIN_CERTIFICATE" | "NHIF_MEMBERSHIP" | "SECTOR_SPECIFIC_LICENSES_OR_PERMITS" | "TAX_ID" | "BANK_ACCOUNT" | "CURRENT_TAX_COMPLIANCE_CERTIFICATE" | "SOCIAL_SECURITY_CONTRIBUTIONS" | "CPF" | "PIS_NISS" | "RNC" | "AUTHORIZED_NCF_NUMBER" | "HST_REGISTRATION" | "ARTICLES_OF_INCORPORATION" | "CERTIFICATE_OF_GOOD_STANDING" | "FEDERAL_TAXPAYER_REGISTRY" | "EMPLOYER_REGISTRATION" | "CTC";
|
|
5
5
|
export declare const ComplianceDocumentType: {
|
|
6
6
|
readonly Passport: "PASSPORT";
|
|
7
7
|
readonly Id: "ID";
|
|
@@ -12,4 +12,23 @@ export declare const ComplianceDocumentType: {
|
|
|
12
12
|
readonly GstRegistrationNumberOrTan: "GST_REGISTRATION_NUMBER_OR_TAN";
|
|
13
13
|
readonly Tin: "TIN";
|
|
14
14
|
readonly EntityProofOfRegistration: "ENTITY_PROOF_OF_REGISTRATION";
|
|
15
|
+
readonly AnnualReturnsPayment: "ANNUAL_RETURNS_PAYMENT";
|
|
16
|
+
readonly RegistrationUnderIncomeTaxLaws: "REGISTRATION_UNDER_INCOME_TAX_LAWS";
|
|
17
|
+
readonly PinCertificate: "PIN_CERTIFICATE";
|
|
18
|
+
readonly NhifMembership: "NHIF_MEMBERSHIP";
|
|
19
|
+
readonly SectorSpecificLicensesOrPermits: "SECTOR_SPECIFIC_LICENSES_OR_PERMITS";
|
|
20
|
+
readonly TaxId: "TAX_ID";
|
|
21
|
+
readonly BankAccount: "BANK_ACCOUNT";
|
|
22
|
+
readonly CurrentTaxComplianceCertificate: "CURRENT_TAX_COMPLIANCE_CERTIFICATE";
|
|
23
|
+
readonly SocialSecurityContributions: "SOCIAL_SECURITY_CONTRIBUTIONS";
|
|
24
|
+
readonly Cpf: "CPF";
|
|
25
|
+
readonly PisNiss: "PIS_NISS";
|
|
26
|
+
readonly Rnc: "RNC";
|
|
27
|
+
readonly AuthorizedNcfNumber: "AUTHORIZED_NCF_NUMBER";
|
|
28
|
+
readonly HstRegistration: "HST_REGISTRATION";
|
|
29
|
+
readonly ArticlesOfIncorporation: "ARTICLES_OF_INCORPORATION";
|
|
30
|
+
readonly CertificateOfGoodStanding: "CERTIFICATE_OF_GOOD_STANDING";
|
|
31
|
+
readonly FederalTaxpayerRegistry: "FEDERAL_TAXPAYER_REGISTRY";
|
|
32
|
+
readonly EmployerRegistration: "EMPLOYER_REGISTRATION";
|
|
33
|
+
readonly Ctc: "CTC";
|
|
15
34
|
};
|
|
@@ -14,4 +14,23 @@ exports.ComplianceDocumentType = {
|
|
|
14
14
|
GstRegistrationNumberOrTan: "GST_REGISTRATION_NUMBER_OR_TAN",
|
|
15
15
|
Tin: "TIN",
|
|
16
16
|
EntityProofOfRegistration: "ENTITY_PROOF_OF_REGISTRATION",
|
|
17
|
+
AnnualReturnsPayment: "ANNUAL_RETURNS_PAYMENT",
|
|
18
|
+
RegistrationUnderIncomeTaxLaws: "REGISTRATION_UNDER_INCOME_TAX_LAWS",
|
|
19
|
+
PinCertificate: "PIN_CERTIFICATE",
|
|
20
|
+
NhifMembership: "NHIF_MEMBERSHIP",
|
|
21
|
+
SectorSpecificLicensesOrPermits: "SECTOR_SPECIFIC_LICENSES_OR_PERMITS",
|
|
22
|
+
TaxId: "TAX_ID",
|
|
23
|
+
BankAccount: "BANK_ACCOUNT",
|
|
24
|
+
CurrentTaxComplianceCertificate: "CURRENT_TAX_COMPLIANCE_CERTIFICATE",
|
|
25
|
+
SocialSecurityContributions: "SOCIAL_SECURITY_CONTRIBUTIONS",
|
|
26
|
+
Cpf: "CPF",
|
|
27
|
+
PisNiss: "PIS_NISS",
|
|
28
|
+
Rnc: "RNC",
|
|
29
|
+
AuthorizedNcfNumber: "AUTHORIZED_NCF_NUMBER",
|
|
30
|
+
HstRegistration: "HST_REGISTRATION",
|
|
31
|
+
ArticlesOfIncorporation: "ARTICLES_OF_INCORPORATION",
|
|
32
|
+
CertificateOfGoodStanding: "CERTIFICATE_OF_GOOD_STANDING",
|
|
33
|
+
FederalTaxpayerRegistry: "FEDERAL_TAXPAYER_REGISTRY",
|
|
34
|
+
EmployerRegistration: "EMPLOYER_REGISTRATION",
|
|
35
|
+
Ctc: "CTC",
|
|
17
36
|
};
|
|
@@ -11,7 +11,7 @@ export interface User {
|
|
|
11
11
|
employeeInformation: TheraApi.db.EmployeeInformation;
|
|
12
12
|
lastPosthogEventDate: string;
|
|
13
13
|
creationTimestamp?: Date;
|
|
14
|
-
|
|
14
|
+
mercoaUserDetails?: TheraApi.db.MercoaUserDetails;
|
|
15
15
|
mfaUserDetails?: TheraApi.db.MfaUserDetails;
|
|
16
16
|
/** Map of company IDs to their notification settings */
|
|
17
17
|
notificationsByCompanyId: Record<string, TheraApi.db.NotificationAlerts>;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as TheraApi from "../../../../../index";
|
|
5
5
|
export interface UserCompanySettings {
|
|
6
|
-
v2AccountIdsByCurrency: Record<string, string>;
|
|
7
6
|
accountIdsByCurrency: Record<string, string>;
|
|
8
7
|
autoWithdrawalsOn: boolean;
|
|
9
8
|
documents?: TheraApi.db.UserCompanyDocuments;
|
|
@@ -32,7 +32,7 @@ export * from "./UserCompanyDocuments";
|
|
|
32
32
|
export * from "./UsIrs1099NecDocumentIds";
|
|
33
33
|
export * from "./UserApiResponse";
|
|
34
34
|
export * from "./EmployeeInformationResponse";
|
|
35
|
-
export * from "./
|
|
35
|
+
export * from "./MercoaUserDetails";
|
|
36
36
|
export * from "./MfaType";
|
|
37
37
|
export * from "./MfaUserDetails";
|
|
38
38
|
export * from "./NotificationAlerts";
|
|
@@ -48,7 +48,7 @@ __exportStar(require("./UserCompanyDocuments"), exports);
|
|
|
48
48
|
__exportStar(require("./UsIrs1099NecDocumentIds"), exports);
|
|
49
49
|
__exportStar(require("./UserApiResponse"), exports);
|
|
50
50
|
__exportStar(require("./EmployeeInformationResponse"), exports);
|
|
51
|
-
__exportStar(require("./
|
|
51
|
+
__exportStar(require("./MercoaUserDetails"), exports);
|
|
52
52
|
__exportStar(require("./MfaType"), exports);
|
|
53
53
|
__exportStar(require("./MfaUserDetails"), exports);
|
|
54
54
|
__exportStar(require("./NotificationAlerts"), exports);
|
package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js
CHANGED
|
@@ -101,7 +101,7 @@ class AipriseWebhookApi {
|
|
|
101
101
|
Authorization: yield this._getAuthorizationHeader(),
|
|
102
102
|
"X-Fern-Language": "JavaScript",
|
|
103
103
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
104
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
104
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
105
105
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
106
106
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
107
107
|
},
|
|
@@ -80,7 +80,7 @@ class Dev {
|
|
|
80
80
|
Authorization: yield this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
83
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
83
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
},
|
|
@@ -67,7 +67,7 @@ class File_ {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
70
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
70
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -123,7 +123,7 @@ class File_ {
|
|
|
123
123
|
Authorization: yield this._getAuthorizationHeader(),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
126
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
126
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
127
127
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
128
128
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
129
129
|
},
|
|
@@ -176,7 +176,7 @@ class File_ {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
179
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
179
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -232,7 +232,7 @@ class File_ {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
235
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
235
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -288,7 +288,7 @@ class File_ {
|
|
|
288
288
|
Authorization: yield this._getAuthorizationHeader(),
|
|
289
289
|
"X-Fern-Language": "JavaScript",
|
|
290
290
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
291
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
291
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
292
292
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
293
293
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
294
294
|
},
|
|
@@ -70,7 +70,7 @@ class AccountingApi {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
73
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
73
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -122,7 +122,7 @@ class AccountingApi {
|
|
|
122
122
|
Authorization: yield this._getAuthorizationHeader(),
|
|
123
123
|
"X-Fern-Language": "JavaScript",
|
|
124
124
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
125
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
125
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
126
126
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
127
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
128
|
},
|
|
@@ -177,7 +177,7 @@ class AccountingApi {
|
|
|
177
177
|
Authorization: yield this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
180
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
180
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
181
181
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
182
182
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
183
183
|
},
|
|
@@ -235,7 +235,7 @@ class AccountingApi {
|
|
|
235
235
|
Authorization: yield this._getAuthorizationHeader(),
|
|
236
236
|
"X-Fern-Language": "JavaScript",
|
|
237
237
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
238
|
-
"X-Fern-SDK-Version": "0.0.1-prerelease2686-
|
|
238
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2686-production",
|
|
239
239
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
240
240
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
241
241
|
},
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -127,6 +127,24 @@ export declare class BankApi {
|
|
|
127
127
|
* })
|
|
128
128
|
*/
|
|
129
129
|
verifyBankSignup(request: TheraApi.api.thera.bank.VerifyAccountSignupRequest, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.GetBankAccountVerificationToken>;
|
|
130
|
+
/**
|
|
131
|
+
* Bulk Set Autopay For Teams in a Company
|
|
132
|
+
*
|
|
133
|
+
* @param {string} companyId
|
|
134
|
+
* @param {TheraApi.api.thera.bank.SetBulkAutoPayForTeamsRequest} request
|
|
135
|
+
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* await client.api.thera.bank.bankApi.setAutoPayForTeams("string", {
|
|
139
|
+
* autopayRequestByTeamId: {
|
|
140
|
+
* "string": {
|
|
141
|
+
* enabled: true,
|
|
142
|
+
* paymentMethodId: "string"
|
|
143
|
+
* }
|
|
144
|
+
* }
|
|
145
|
+
* })
|
|
146
|
+
*/
|
|
147
|
+
setAutoPayForTeams(companyId: string, request: TheraApi.api.thera.bank.SetBulkAutoPayForTeamsRequest, requestOptions?: BankApi.RequestOptions): Promise<void>;
|
|
130
148
|
/**
|
|
131
149
|
* Adjust autopay settings for a given team
|
|
132
150
|
*
|