@thera-hr/api-sdk 0.0.2184 → 0.0.2197
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/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +61 -12
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +24 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +10 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/api/resources/db/resources/company/index.d.ts +1 -0
- package/api/resources/db/resources/company/index.js +17 -0
- package/api/resources/db/resources/company/types/FernCompany.d.ts +8 -0
- package/api/resources/db/resources/company/types/FernCompany.js +5 -0
- package/api/resources/db/resources/company/types/PayrollRun.d.ts +10 -0
- package/api/resources/db/resources/company/types/PayrollRun.js +5 -0
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +15 -0
- package/api/resources/db/resources/company/types/W2Payroll.js +5 -0
- package/api/resources/db/resources/company/types/index.d.ts +4 -0
- package/api/resources/db/resources/company/types/index.js +20 -0
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +61 -12
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetCurrencyConversionRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +24 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/company/index.d.ts +1 -0
- package/dist/api/resources/db/resources/company/index.js +17 -0
- package/dist/api/resources/db/resources/company/types/FernCompany.d.ts +8 -0
- package/dist/api/resources/db/resources/company/types/FernCompany.js +5 -0
- package/dist/api/resources/db/resources/company/types/PayrollRun.d.ts +10 -0
- package/dist/api/resources/db/resources/company/types/PayrollRun.js +5 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +15 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +4 -0
- package/dist/api/resources/db/resources/company/types/index.js +20 -0
- package/dist/api/resources/db/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +29 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +59 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -1
- package/dist/serialization/resources/db/resources/company/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/index.js +17 -0
- package/dist/serialization/resources/db/resources/company/types/CompanyPayFrequency.d.ts +10 -0
- package/dist/serialization/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.js +1 -1
- package/dist/serialization/resources/db/resources/company/types/FernCompany.d.ts +13 -0
- package/dist/serialization/resources/db/resources/company/types/FernCompany.js +43 -0
- package/dist/serialization/resources/db/resources/company/types/PayrollRun.d.ts +16 -0
- package/dist/serialization/resources/db/resources/company/types/PayrollRun.js +37 -0
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +20 -0
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +50 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +4 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +20 -0
- package/dist/serialization/resources/db/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/index.js +3 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetCurrencyConversionResponse.js +34 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +29 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +59 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanySettings.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +50 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Flags.js +34 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PaymentMethodStatus.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/SubscriptionPricing.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/W2Payroll.js +50 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -1
- package/serialization/resources/db/resources/company/index.d.ts +1 -0
- package/serialization/resources/db/resources/company/index.js +17 -0
- package/serialization/resources/db/resources/company/types/CompanyPayFrequency.d.ts +10 -0
- package/serialization/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.js +1 -1
- package/serialization/resources/db/resources/company/types/FernCompany.d.ts +13 -0
- package/serialization/resources/db/resources/company/types/FernCompany.js +43 -0
- package/serialization/resources/db/resources/company/types/PayrollRun.d.ts +16 -0
- package/serialization/resources/db/resources/company/types/PayrollRun.js +37 -0
- package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +20 -0
- package/serialization/resources/db/resources/company/types/W2Payroll.js +50 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +4 -0
- package/serialization/resources/db/resources/company/types/index.js +20 -0
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPayFrequency.d.ts +0 -10
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyPayFrequency.d.ts +0 -10
- /package/api/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.d.ts +0 -0
- /package/api/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.js +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.d.ts +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/company/resources/companyApi → db/resources/company}/types/CompanyPayFrequency.js +0 -0
|
@@ -59,7 +59,7 @@ class AipriseWebhookApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
|
|
@@ -56,7 +56,7 @@ class File_ {
|
|
|
56
56
|
Authorization: yield this._getAuthorizationHeader(),
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "0.0.
|
|
59
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
60
60
|
},
|
|
61
61
|
contentType: "application/json",
|
|
62
62
|
body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -97,7 +97,7 @@ class File_ {
|
|
|
97
97
|
Authorization: yield this._getAuthorizationHeader(),
|
|
98
98
|
"X-Fern-Language": "JavaScript",
|
|
99
99
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
100
|
-
"X-Fern-SDK-Version": "0.0.
|
|
100
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
101
101
|
},
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -138,7 +138,7 @@ class File_ {
|
|
|
138
138
|
Authorization: yield this._getAuthorizationHeader(),
|
|
139
139
|
"X-Fern-Language": "JavaScript",
|
|
140
140
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
141
|
-
"X-Fern-SDK-Version": "0.0.
|
|
141
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
142
142
|
},
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
timeoutMs: 60000,
|
|
@@ -181,7 +181,7 @@ class File_ {
|
|
|
181
181
|
Authorization: yield this._getAuthorizationHeader(),
|
|
182
182
|
"X-Fern-Language": "JavaScript",
|
|
183
183
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
184
|
-
"X-Fern-SDK-Version": "0.0.
|
|
184
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
185
185
|
},
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
timeoutMs: 60000,
|
|
@@ -56,7 +56,7 @@ class Invoices {
|
|
|
56
56
|
Authorization: yield this._getAuthorizationHeader(),
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "0.0.
|
|
59
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
60
60
|
},
|
|
61
61
|
contentType: "application/json",
|
|
62
62
|
body: yield serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
|
package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -45,5 +45,6 @@ export declare class BankApi {
|
|
|
45
45
|
initiateWorkerWithdrawal(userId: string, companyId: string, request: TheraApi.api.thera.bank.InitiateWorkerWithdrawalRequest): Promise<TheraApi.api.thera.bank.InitiateWorkerWithdrawalResponse>;
|
|
46
46
|
getWorkerBalance(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerBalancesResponse>;
|
|
47
47
|
getWorkerTransactions(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerTransactionsResponse>;
|
|
48
|
+
getCurrencyConversion(request: TheraApi.api.thera.bank.GetCurrencyConversionRequest): Promise<TheraApi.api.thera.bank.GetCurrencyConversionResponse>;
|
|
48
49
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
49
50
|
}
|
|
@@ -65,7 +65,7 @@ class BankApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
queryParameters: _queryParams,
|
|
@@ -112,7 +112,7 @@ class BankApi {
|
|
|
112
112
|
Authorization: yield this._getAuthorizationHeader(),
|
|
113
113
|
"X-Fern-Language": "JavaScript",
|
|
114
114
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
115
|
-
"X-Fern-SDK-Version": "0.0.
|
|
115
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
116
116
|
},
|
|
117
117
|
contentType: "application/json",
|
|
118
118
|
body: yield serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
|
|
@@ -156,7 +156,7 @@ class BankApi {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
159
|
-
"X-Fern-SDK-Version": "0.0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
160
160
|
},
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
timeoutMs: 60000,
|
|
@@ -197,7 +197,7 @@ class BankApi {
|
|
|
197
197
|
Authorization: yield this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
200
|
-
"X-Fern-SDK-Version": "0.0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
|
|
@@ -241,7 +241,7 @@ class BankApi {
|
|
|
241
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
242
242
|
"X-Fern-Language": "JavaScript",
|
|
243
243
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
244
|
-
"X-Fern-SDK-Version": "0.0.
|
|
244
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
245
245
|
},
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
timeoutMs: 60000,
|
|
@@ -287,7 +287,7 @@ class BankApi {
|
|
|
287
287
|
Authorization: yield this._getAuthorizationHeader(),
|
|
288
288
|
"X-Fern-Language": "JavaScript",
|
|
289
289
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
290
|
-
"X-Fern-SDK-Version": "0.0.
|
|
290
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
291
291
|
},
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
|
@@ -336,7 +336,7 @@ class BankApi {
|
|
|
336
336
|
Authorization: yield this._getAuthorizationHeader(),
|
|
337
337
|
"X-Fern-Language": "JavaScript",
|
|
338
338
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
339
|
-
"X-Fern-SDK-Version": "0.0.
|
|
339
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
340
340
|
},
|
|
341
341
|
contentType: "application/json",
|
|
342
342
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
|
@@ -382,7 +382,7 @@ class BankApi {
|
|
|
382
382
|
Authorization: yield this._getAuthorizationHeader(),
|
|
383
383
|
"X-Fern-Language": "JavaScript",
|
|
384
384
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
385
|
-
"X-Fern-SDK-Version": "0.0.
|
|
385
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
386
386
|
},
|
|
387
387
|
contentType: "application/json",
|
|
388
388
|
timeoutMs: 60000,
|
|
@@ -425,7 +425,7 @@ class BankApi {
|
|
|
425
425
|
Authorization: yield this._getAuthorizationHeader(),
|
|
426
426
|
"X-Fern-Language": "JavaScript",
|
|
427
427
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
428
|
-
"X-Fern-SDK-Version": "0.0.
|
|
428
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
429
429
|
},
|
|
430
430
|
contentType: "application/json",
|
|
431
431
|
body: yield serializers.api.thera.bank.EditWithdrawalMethodRequest.jsonOrThrow(request, {
|
|
@@ -471,7 +471,7 @@ class BankApi {
|
|
|
471
471
|
Authorization: yield this._getAuthorizationHeader(),
|
|
472
472
|
"X-Fern-Language": "JavaScript",
|
|
473
473
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
474
|
-
"X-Fern-SDK-Version": "0.0.
|
|
474
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
475
475
|
},
|
|
476
476
|
contentType: "application/json",
|
|
477
477
|
body: yield serializers.api.thera.bank.InitiateWorkerWithdrawalRequest.jsonOrThrow(request, {
|
|
@@ -517,7 +517,7 @@ class BankApi {
|
|
|
517
517
|
Authorization: yield this._getAuthorizationHeader(),
|
|
518
518
|
"X-Fern-Language": "JavaScript",
|
|
519
519
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
520
|
-
"X-Fern-SDK-Version": "0.0.
|
|
520
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
521
521
|
},
|
|
522
522
|
contentType: "application/json",
|
|
523
523
|
timeoutMs: 60000,
|
|
@@ -560,7 +560,7 @@ class BankApi {
|
|
|
560
560
|
Authorization: yield this._getAuthorizationHeader(),
|
|
561
561
|
"X-Fern-Language": "JavaScript",
|
|
562
562
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
563
|
-
"X-Fern-SDK-Version": "0.0.
|
|
563
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
564
564
|
},
|
|
565
565
|
contentType: "application/json",
|
|
566
566
|
timeoutMs: 60000,
|
|
@@ -594,6 +594,55 @@ class BankApi {
|
|
|
594
594
|
}
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
+
getCurrencyConversion(request) {
|
|
598
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
599
|
+
const { from: from_, to, amount } = request;
|
|
600
|
+
const _queryParams = new url_search_params_1.default();
|
|
601
|
+
_queryParams.append("from", from_);
|
|
602
|
+
_queryParams.append("to", to);
|
|
603
|
+
_queryParams.append("amount", amount.toString());
|
|
604
|
+
const _response = yield core.fetcher({
|
|
605
|
+
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "currency/convert"),
|
|
606
|
+
method: "GET",
|
|
607
|
+
headers: {
|
|
608
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
609
|
+
"X-Fern-Language": "JavaScript",
|
|
610
|
+
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
611
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
612
|
+
},
|
|
613
|
+
contentType: "application/json",
|
|
614
|
+
queryParameters: _queryParams,
|
|
615
|
+
timeoutMs: 60000,
|
|
616
|
+
});
|
|
617
|
+
if (_response.ok) {
|
|
618
|
+
return yield serializers.api.thera.bank.GetCurrencyConversionResponse.parseOrThrow(_response.body, {
|
|
619
|
+
unrecognizedObjectKeys: "passthrough",
|
|
620
|
+
allowUnrecognizedUnionMembers: true,
|
|
621
|
+
allowUnrecognizedEnumValues: true,
|
|
622
|
+
breadcrumbsPrefix: ["response"],
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
if (_response.error.reason === "status-code") {
|
|
626
|
+
throw new errors.TheraApiError({
|
|
627
|
+
statusCode: _response.error.statusCode,
|
|
628
|
+
body: _response.error.body,
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
switch (_response.error.reason) {
|
|
632
|
+
case "non-json":
|
|
633
|
+
throw new errors.TheraApiError({
|
|
634
|
+
statusCode: _response.error.statusCode,
|
|
635
|
+
body: _response.error.rawBody,
|
|
636
|
+
});
|
|
637
|
+
case "timeout":
|
|
638
|
+
throw new errors.TheraApiTimeoutError();
|
|
639
|
+
case "unknown":
|
|
640
|
+
throw new errors.TheraApiError({
|
|
641
|
+
message: _response.error.errorMessage,
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
});
|
|
645
|
+
}
|
|
597
646
|
_getAuthorizationHeader() {
|
|
598
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
599
648
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -16,6 +16,7 @@ export * from "./SaveWithdrawalMethodResponse";
|
|
|
16
16
|
export * from "./DeleteWithdrawalMethodResponse";
|
|
17
17
|
export * from "./InitiateWorkerWithdrawalRequest";
|
|
18
18
|
export * from "./InitiateWorkerWithdrawalResponse";
|
|
19
|
+
export * from "./GetCurrencyConversionResponse";
|
|
19
20
|
export * from "./GetWorkerBalancesResponse";
|
|
20
21
|
export * from "./WorkerBalance";
|
|
21
22
|
export * from "./GetWorkerTransactionsResponse";
|
|
@@ -32,6 +32,7 @@ __exportStar(require("./SaveWithdrawalMethodResponse"), exports);
|
|
|
32
32
|
__exportStar(require("./DeleteWithdrawalMethodResponse"), exports);
|
|
33
33
|
__exportStar(require("./InitiateWorkerWithdrawalRequest"), exports);
|
|
34
34
|
__exportStar(require("./InitiateWorkerWithdrawalResponse"), exports);
|
|
35
|
+
__exportStar(require("./GetCurrencyConversionResponse"), exports);
|
|
35
36
|
__exportStar(require("./GetWorkerBalancesResponse"), exports);
|
|
36
37
|
__exportStar(require("./WorkerBalance"), exports);
|
|
37
38
|
__exportStar(require("./GetWorkerTransactionsResponse"), exports);
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js
CHANGED
|
@@ -65,7 +65,7 @@ class CompanyApi {
|
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
queryParameters: _queryParams,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../../../../..";
|
|
5
|
+
export interface CompanyApiResponse {
|
|
6
|
+
companyId: string;
|
|
7
|
+
companyName: string;
|
|
8
|
+
email: string;
|
|
9
|
+
stripeCustomerId: string;
|
|
10
|
+
defaultCurrency: string;
|
|
11
|
+
defaultPaymentMethodId: string;
|
|
12
|
+
defaultPaymentMethodStatus: TheraApi.api.thera.company.PaymentMethodStatus;
|
|
13
|
+
address: TheraApi.api.thera.common.Address;
|
|
14
|
+
mailingAddress: TheraApi.api.thera.common.Address;
|
|
15
|
+
w2Payroll: TheraApi.db.W2Payroll;
|
|
16
|
+
ein: string;
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
subscriptionPricing: TheraApi.api.thera.company.SubscriptionPricing;
|
|
19
|
+
fastPayments: boolean;
|
|
20
|
+
flags: TheraApi.api.thera.company.Flags;
|
|
21
|
+
isBankAccountVerified: boolean;
|
|
22
|
+
isPlaidSignupCompleted: boolean;
|
|
23
|
+
settings: TheraApi.api.thera.company.CompanySettings;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../../../../..";
|
|
5
|
+
export interface CreateCompanyRequest {
|
|
6
|
+
companyName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
ein: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
adminUser: TheraApi.db.User;
|
|
11
|
+
address: TheraApi.api.thera.common.Address;
|
|
12
|
+
w2Payroll: TheraApi.db.W2Payroll;
|
|
13
|
+
mailingAddress: TheraApi.api.thera.common.Address;
|
|
14
|
+
defaultCurrency: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type PaymentMethodStatus = "MICRO_DEPOSIT_VERIFICATION" | "READY";
|
|
5
|
+
export declare const PaymentMethodStatus: {
|
|
6
|
+
readonly MicroDepositVerification: "MICRO_DEPOSIT_VERIFICATION";
|
|
7
|
+
readonly Ready: "READY";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PaymentMethodStatus = void 0;
|
|
7
|
+
exports.PaymentMethodStatus = {
|
|
8
|
+
MicroDepositVerification: "MICRO_DEPOSIT_VERIFICATION",
|
|
9
|
+
Ready: "READY",
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../../../../..";
|
|
5
|
+
export interface W2Payroll {
|
|
6
|
+
zealId: string;
|
|
7
|
+
skipMigration: boolean;
|
|
8
|
+
payFrequency: TheraApi.db.CompanyPayFrequency;
|
|
9
|
+
firstCheckDate?: string;
|
|
10
|
+
lastSubscriptionPayDate: string;
|
|
11
|
+
autopilotOn: boolean;
|
|
12
|
+
onCycleChecks: Record<string, string>;
|
|
13
|
+
onCyclePayrollRuns: TheraApi.db.PayrollRun[];
|
|
14
|
+
offCyclePayrollRuns: TheraApi.db.PayrollRun[];
|
|
15
|
+
}
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts
CHANGED
|
@@ -5,4 +5,10 @@ export * from "./CreateEmployment";
|
|
|
5
5
|
export * from "./CreateMilestoneDetails";
|
|
6
6
|
export * from "./CreateMilestone";
|
|
7
7
|
export * from "./InviteContractorResponse";
|
|
8
|
-
export * from "./
|
|
8
|
+
export * from "./CreateCompanyRequest";
|
|
9
|
+
export * from "./CompanyApiResponse";
|
|
10
|
+
export * from "./CompanySettings";
|
|
11
|
+
export * from "./SubscriptionPricing";
|
|
12
|
+
export * from "./Flags";
|
|
13
|
+
export * from "./W2Payroll";
|
|
14
|
+
export * from "./PaymentMethodStatus";
|
package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js
CHANGED
|
@@ -21,4 +21,10 @@ __exportStar(require("./CreateEmployment"), exports);
|
|
|
21
21
|
__exportStar(require("./CreateMilestoneDetails"), exports);
|
|
22
22
|
__exportStar(require("./CreateMilestone"), exports);
|
|
23
23
|
__exportStar(require("./InviteContractorResponse"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./CreateCompanyRequest"), exports);
|
|
25
|
+
__exportStar(require("./CompanyApiResponse"), exports);
|
|
26
|
+
__exportStar(require("./CompanySettings"), exports);
|
|
27
|
+
__exportStar(require("./SubscriptionPricing"), exports);
|
|
28
|
+
__exportStar(require("./Flags"), exports);
|
|
29
|
+
__exportStar(require("./W2Payroll"), exports);
|
|
30
|
+
__exportStar(require("./PaymentMethodStatus"), exports);
|
|
@@ -59,7 +59,7 @@ class CompanyW2PayrollApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
|
|
@@ -59,7 +59,7 @@ class DisbursementApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
|
|
@@ -103,7 +103,7 @@ class DisbursementApi {
|
|
|
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.
|
|
106
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
timeoutMs: 60000,
|
|
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
|
|
|
60
60
|
Authorization: yield this._getAuthorizationHeader(),
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
63
|
-
"X-Fern-SDK-Version": "0.0.
|
|
63
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
64
64
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
|
65
65
|
},
|
|
66
66
|
contentType: "application/json",
|
|
@@ -59,7 +59,7 @@ class EmploymentApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
|
|
@@ -108,7 +108,7 @@ class EmploymentApi {
|
|
|
108
108
|
Authorization: yield this._getAuthorizationHeader(),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
111
|
-
"X-Fern-SDK-Version": "0.0.
|
|
111
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
timeoutMs: 60000,
|
|
@@ -154,7 +154,7 @@ class EmploymentApi {
|
|
|
154
154
|
Authorization: yield this._getAuthorizationHeader(),
|
|
155
155
|
"X-Fern-Language": "JavaScript",
|
|
156
156
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
157
|
-
"X-Fern-SDK-Version": "0.0.
|
|
157
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
158
158
|
},
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
timeoutMs: 60000,
|
package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js
CHANGED
|
@@ -59,7 +59,7 @@ class OncycleApi {
|
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Fern-Language": "JavaScript",
|
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
|
62
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
63
63
|
},
|
|
64
64
|
contentType: "application/json",
|
|
65
65
|
timeoutMs: 60000,
|
|
@@ -63,7 +63,7 @@ class UserApi {
|
|
|
63
63
|
Authorization: yield this._getAuthorizationHeader(),
|
|
64
64
|
"X-Fern-Language": "JavaScript",
|
|
65
65
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
66
|
-
"X-Fern-SDK-Version": "0.0.
|
|
66
|
+
"X-Fern-SDK-Version": "0.0.2197",
|
|
67
67
|
},
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
queryParameters: _queryParams,
|
|
@@ -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,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
5
|
+
export interface W2Payroll {
|
|
6
|
+
zealId: string;
|
|
7
|
+
skipMigration: boolean;
|
|
8
|
+
payFrequency: TheraApi.db.CompanyPayFrequency;
|
|
9
|
+
firstCheckDate?: string;
|
|
10
|
+
lastSubscriptionPayDate: string;
|
|
11
|
+
autopilotOn: boolean;
|
|
12
|
+
onCycleChecks: Record<string, string>;
|
|
13
|
+
onCyclePayrollRuns: TheraApi.db.PayrollRun[];
|
|
14
|
+
offCyclePayrollRuns: TheraApi.db.PayrollRun[];
|
|
15
|
+
}
|