@thera-hr/api-sdk 0.0.1-prerelease2702-dev-2 → 0.0.1-prerelease2702-dev
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/client/Client.d.ts +0 -3
- package/api/resources/api/resources/thera/client/Client.js +12 -17
- 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 +15 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -32
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +6 -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 +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/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/index.js +1 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- 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/CompanySettings.d.ts +0 -1
- package/api/resources/db/resources/company/types/Team.d.ts +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/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
- 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 +15 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -32
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +6 -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 +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/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- 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/CompanySettings.d.ts +0 -1
- package/dist/api/resources/db/resources/company/types/Team.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +12 -0
- package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js} +3 -3
- 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/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/Team.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/Team.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js → bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js} +3 -3
- 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/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/CompanySettings.js +0 -1
- package/serialization/resources/db/resources/company/types/Team.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/Team.js +1 -0
- package/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +0 -22
- package/api/resources/api/resources/thera/resources/eor/client/Client.js +0 -17
- package/api/resources/api/resources/thera/resources/eor/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/eor/client/index.js +0 -2
- package/api/resources/api/resources/thera/resources/eor/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/eor/index.js +0 -18
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +0 -41
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +0 -174
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +0 -2
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -18
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
- package/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
- package/dist/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +0 -22
- package/dist/api/resources/api/resources/thera/resources/eor/client/Client.js +0 -17
- package/dist/api/resources/api/resources/thera/resources/eor/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/eor/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +0 -41
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +0 -174
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
- package/dist/serialization/resources/api/resources/thera/resources/eor/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/eor/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -33
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
- package/serialization/resources/api/resources/thera/resources/eor/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/eor/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
- package/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
- /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js} +0 -0
|
@@ -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-prerelease2702-dev
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
145
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
211
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
280
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
342
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
402
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
461
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
523
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
592
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
106
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
165
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
230
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
287
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
341
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
399
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
455
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
510
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
568
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
637
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -8,4 +8,6 @@ export interface Team {
|
|
|
8
8
|
defaultPayCycles: Record<TheraApi.db.PayCycleType, TheraApi.db.DefaultPayCycle | undefined>;
|
|
9
9
|
/** We will eventually make this non-optional once all types have them */
|
|
10
10
|
autoPay?: TheraApi.db.TeamAutoPay;
|
|
11
|
+
/** If enabled, all invoices will be automatically approved for payment. */
|
|
12
|
+
autoApproveInvoice?: boolean;
|
|
11
13
|
}
|
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-prerelease2702-dev
|
|
104
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
83
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
70
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
126
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
179
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
235
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
291
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
292
292
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
293
293
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
294
294
|
},
|
|
@@ -10,7 +10,6 @@ import { Disbursement } from "../resources/disbursement/client/Client";
|
|
|
10
10
|
import { Document } from "../resources/document/client/Client";
|
|
11
11
|
import { Email } from "../resources/email/client/Client";
|
|
12
12
|
import { Employment } from "../resources/employment/client/Client";
|
|
13
|
-
import { Eor } from "../resources/eor/client/Client";
|
|
14
13
|
import { Misc } from "../resources/misc/client/Client";
|
|
15
14
|
import { Payroll } from "../resources/payroll/client/Client";
|
|
16
15
|
import { Timeoff } from "../resources/timeoff/client/Client";
|
|
@@ -47,8 +46,6 @@ export declare class Thera {
|
|
|
47
46
|
get email(): Email;
|
|
48
47
|
protected _employment: Employment | undefined;
|
|
49
48
|
get employment(): Employment;
|
|
50
|
-
protected _eor: Eor | undefined;
|
|
51
|
-
get eor(): Eor;
|
|
52
49
|
protected _misc: Misc | undefined;
|
|
53
50
|
get misc(): Misc;
|
|
54
51
|
protected _payroll: Payroll | undefined;
|
|
@@ -12,13 +12,12 @@ const Client_5 = require("../resources/disbursement/client/Client");
|
|
|
12
12
|
const Client_6 = require("../resources/document/client/Client");
|
|
13
13
|
const Client_7 = require("../resources/email/client/Client");
|
|
14
14
|
const Client_8 = require("../resources/employment/client/Client");
|
|
15
|
-
const Client_9 = require("../resources/
|
|
16
|
-
const Client_10 = require("../resources/
|
|
17
|
-
const Client_11 = require("../resources/
|
|
18
|
-
const Client_12 = require("../resources/
|
|
19
|
-
const Client_13 = require("../resources/
|
|
20
|
-
const Client_14 = require("../resources/
|
|
21
|
-
const Client_15 = require("../resources/user/client/Client");
|
|
15
|
+
const Client_9 = require("../resources/misc/client/Client");
|
|
16
|
+
const Client_10 = require("../resources/payroll/client/Client");
|
|
17
|
+
const Client_11 = require("../resources/timeoff/client/Client");
|
|
18
|
+
const Client_12 = require("../resources/timetracking/client/Client");
|
|
19
|
+
const Client_13 = require("../resources/tp/client/Client");
|
|
20
|
+
const Client_14 = require("../resources/user/client/Client");
|
|
22
21
|
class Thera {
|
|
23
22
|
constructor(_options) {
|
|
24
23
|
this._options = _options;
|
|
@@ -55,33 +54,29 @@ class Thera {
|
|
|
55
54
|
var _a;
|
|
56
55
|
return ((_a = this._employment) !== null && _a !== void 0 ? _a : (this._employment = new Client_8.Employment(this._options)));
|
|
57
56
|
}
|
|
58
|
-
get eor() {
|
|
59
|
-
var _a;
|
|
60
|
-
return ((_a = this._eor) !== null && _a !== void 0 ? _a : (this._eor = new Client_9.Eor(this._options)));
|
|
61
|
-
}
|
|
62
57
|
get misc() {
|
|
63
58
|
var _a;
|
|
64
|
-
return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new
|
|
59
|
+
return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new Client_9.Misc(this._options)));
|
|
65
60
|
}
|
|
66
61
|
get payroll() {
|
|
67
62
|
var _a;
|
|
68
|
-
return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new
|
|
63
|
+
return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_10.Payroll(this._options)));
|
|
69
64
|
}
|
|
70
65
|
get timeoff() {
|
|
71
66
|
var _a;
|
|
72
|
-
return ((_a = this._timeoff) !== null && _a !== void 0 ? _a : (this._timeoff = new
|
|
67
|
+
return ((_a = this._timeoff) !== null && _a !== void 0 ? _a : (this._timeoff = new Client_11.Timeoff(this._options)));
|
|
73
68
|
}
|
|
74
69
|
get timetracking() {
|
|
75
70
|
var _a;
|
|
76
|
-
return ((_a = this._timetracking) !== null && _a !== void 0 ? _a : (this._timetracking = new
|
|
71
|
+
return ((_a = this._timetracking) !== null && _a !== void 0 ? _a : (this._timetracking = new Client_12.Timetracking(this._options)));
|
|
77
72
|
}
|
|
78
73
|
get tp() {
|
|
79
74
|
var _a;
|
|
80
|
-
return ((_a = this._tp) !== null && _a !== void 0 ? _a : (this._tp = new
|
|
75
|
+
return ((_a = this._tp) !== null && _a !== void 0 ? _a : (this._tp = new Client_13.Tp(this._options)));
|
|
81
76
|
}
|
|
82
77
|
get user() {
|
|
83
78
|
var _a;
|
|
84
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
79
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_14.User(this._options)));
|
|
85
80
|
}
|
|
86
81
|
}
|
|
87
82
|
exports.Thera = Thera;
|
|
@@ -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-prerelease2702-dev
|
|
73
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
125
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
180
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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-prerelease2702-dev
|
|
238
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2702-dev",
|
|
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
|
@@ -448,5 +448,20 @@ export declare class BankApi {
|
|
|
448
448
|
* })
|
|
449
449
|
*/
|
|
450
450
|
createStripePaymentMethodFromPlaid(request: TheraApi.api.thera.bank.CreateStripePaymentMethodFromPlaidRequest, requestOptions?: BankApi.RequestOptions): Promise<void>;
|
|
451
|
+
/**
|
|
452
|
+
* Bulk Set Auto approve invoice for teams in a Company
|
|
453
|
+
*
|
|
454
|
+
* @param {string} companyId
|
|
455
|
+
* @param {TheraApi.api.thera.bank.SetBulkAutoApproveInvoiceForTeamsRequest} request
|
|
456
|
+
* @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
|
|
460
|
+
* autoApproveInvoiceRequestByTeamId: {
|
|
461
|
+
* "string": true
|
|
462
|
+
* }
|
|
463
|
+
* })
|
|
464
|
+
*/
|
|
465
|
+
setAutoApproveInvoiceForTeams(companyId: string, request: TheraApi.api.thera.bank.SetBulkAutoApproveInvoiceForTeamsRequest, requestOptions?: BankApi.RequestOptions): Promise<void>;
|
|
451
466
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
452
467
|
}
|