@thera-hr/api-sdk 0.0.1-prerelease2903-dev-3 → 0.0.1-prerelease2903-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/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +23 -26
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +33 -36
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +23 -26
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +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/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +23 -26
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +33 -36
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +23 -26
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +22 -25
- package/serialization/resources/db/resources/company/types/CompanyBankingDetails.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -81,7 +81,7 @@ class TimetrackingApi {
|
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
82
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/entries`),
|
|
83
83
|
method: "POST",
|
|
84
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
84
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.api.thera.timetracking.CreateTimeEntryRequest.jsonOrThrow(request, {
|
|
@@ -144,7 +144,7 @@ class TimetrackingApi {
|
|
|
144
144
|
const _response = yield core.fetcher({
|
|
145
145
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/start`),
|
|
146
146
|
method: "POST",
|
|
147
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
147
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
body: serializers.api.thera.timetracking.StartTimeTrackingRequest.jsonOrThrow(request, {
|
|
@@ -205,7 +205,7 @@ class TimetrackingApi {
|
|
|
205
205
|
const _response = yield core.fetcher({
|
|
206
206
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/stop`),
|
|
207
207
|
method: "POST",
|
|
208
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
208
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
requestType: "json",
|
|
211
211
|
body: serializers.api.thera.timetracking.StopTimeTrackingRequest.jsonOrThrow(request, {
|
|
@@ -269,7 +269,7 @@ class TimetrackingApi {
|
|
|
269
269
|
const _response = yield core.fetcher({
|
|
270
270
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/${encodeURIComponent(entryId)}`),
|
|
271
271
|
method: "PUT",
|
|
272
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
272
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
273
273
|
contentType: "application/json",
|
|
274
274
|
requestType: "json",
|
|
275
275
|
body: serializers.api.thera.timetracking.UpdateTimeTrackingRequest.jsonOrThrow(request, {
|
|
@@ -326,7 +326,7 @@ class TimetrackingApi {
|
|
|
326
326
|
const _response = yield core.fetcher({
|
|
327
327
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/${encodeURIComponent(entryId)}`),
|
|
328
328
|
method: "DELETE",
|
|
329
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
329
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
330
330
|
contentType: "application/json",
|
|
331
331
|
requestType: "json",
|
|
332
332
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -385,7 +385,7 @@ class TimetrackingApi {
|
|
|
385
385
|
const _response = yield core.fetcher({
|
|
386
386
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking`),
|
|
387
387
|
method: "GET",
|
|
388
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
388
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
389
389
|
contentType: "application/json",
|
|
390
390
|
queryParameters: _queryParams,
|
|
391
391
|
requestType: "json",
|
|
@@ -439,7 +439,7 @@ class TimetrackingApi {
|
|
|
439
439
|
const _response = yield core.fetcher({
|
|
440
440
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/invoices/${encodeURIComponent(invoiceId)}/time-tracking`),
|
|
441
441
|
method: "GET",
|
|
442
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
442
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
443
443
|
contentType: "application/json",
|
|
444
444
|
requestType: "json",
|
|
445
445
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -496,7 +496,7 @@ class TimetrackingApi {
|
|
|
496
496
|
const _response = yield core.fetcher({
|
|
497
497
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/bulk-update`),
|
|
498
498
|
method: "POST",
|
|
499
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
499
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
500
500
|
contentType: "application/json",
|
|
501
501
|
requestType: "json",
|
|
502
502
|
body: serializers.api.thera.timetracking.BulkTimeEntryUpdateRequest.jsonOrThrow(request, {
|
|
@@ -560,7 +560,7 @@ class TimetrackingApi {
|
|
|
560
560
|
const _response = yield core.fetcher({
|
|
561
561
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/users/${encodeURIComponent(userId)}/time-tracking/history`),
|
|
562
562
|
method: "GET",
|
|
563
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
563
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
564
564
|
contentType: "application/json",
|
|
565
565
|
queryParameters: _queryParams,
|
|
566
566
|
requestType: "json",
|
package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts
CHANGED
|
@@ -39,32 +39,29 @@ export declare class TpApi {
|
|
|
39
39
|
* legalStructure: "ccorp",
|
|
40
40
|
* naics: "string",
|
|
41
41
|
* callerUserBeneficiaryInformation: {
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* title: "string",
|
|
66
|
-
* isControlPerson: true
|
|
67
|
-
* }
|
|
42
|
+
* dateOfBirth: "2023-01-15",
|
|
43
|
+
* emailAddress: "string",
|
|
44
|
+
* firstName: "string",
|
|
45
|
+
* lastName: "string",
|
|
46
|
+
* middleName: {
|
|
47
|
+
* "key": "value"
|
|
48
|
+
* },
|
|
49
|
+
* phoneNumber: "string",
|
|
50
|
+
* mailingAddress: {
|
|
51
|
+
* "key": "value"
|
|
52
|
+
* },
|
|
53
|
+
* physicalAddress: {
|
|
54
|
+
* city: "string",
|
|
55
|
+
* country: "string",
|
|
56
|
+
* line1: "string",
|
|
57
|
+
* line2: "string",
|
|
58
|
+
* postalCode: "string",
|
|
59
|
+
* state: "string"
|
|
60
|
+
* },
|
|
61
|
+
* tin: "string",
|
|
62
|
+
* ownershipPercentage: 1,
|
|
63
|
+
* title: "string",
|
|
64
|
+
* isControlPerson: true
|
|
68
65
|
* },
|
|
69
66
|
* beneficiaries: [{
|
|
70
67
|
* "key": "value"
|
package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js
CHANGED
|
@@ -72,32 +72,29 @@ class TpApi {
|
|
|
72
72
|
* legalStructure: "ccorp",
|
|
73
73
|
* naics: "string",
|
|
74
74
|
* callerUserBeneficiaryInformation: {
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* title: "string",
|
|
99
|
-
* isControlPerson: true
|
|
100
|
-
* }
|
|
75
|
+
* dateOfBirth: "2023-01-15",
|
|
76
|
+
* emailAddress: "string",
|
|
77
|
+
* firstName: "string",
|
|
78
|
+
* lastName: "string",
|
|
79
|
+
* middleName: {
|
|
80
|
+
* "key": "value"
|
|
81
|
+
* },
|
|
82
|
+
* phoneNumber: "string",
|
|
83
|
+
* mailingAddress: {
|
|
84
|
+
* "key": "value"
|
|
85
|
+
* },
|
|
86
|
+
* physicalAddress: {
|
|
87
|
+
* city: "string",
|
|
88
|
+
* country: "string",
|
|
89
|
+
* line1: "string",
|
|
90
|
+
* line2: "string",
|
|
91
|
+
* postalCode: "string",
|
|
92
|
+
* state: "string"
|
|
93
|
+
* },
|
|
94
|
+
* tin: "string",
|
|
95
|
+
* ownershipPercentage: 1,
|
|
96
|
+
* title: "string",
|
|
97
|
+
* isControlPerson: true
|
|
101
98
|
* },
|
|
102
99
|
* beneficiaries: [{
|
|
103
100
|
* "key": "value"
|
|
@@ -113,7 +110,7 @@ class TpApi {
|
|
|
113
110
|
const _response = yield core.fetcher({
|
|
114
111
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/banking-details`),
|
|
115
112
|
method: "POST",
|
|
116
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
113
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
117
114
|
contentType: "application/json",
|
|
118
115
|
requestType: "json",
|
|
119
116
|
body: serializers.api.thera.tp.AddCompanyBankingDetailsRequest.jsonOrThrow(request, {
|
|
@@ -167,7 +164,7 @@ class TpApi {
|
|
|
167
164
|
const _response = yield core.fetcher({
|
|
168
165
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "naics-codes"),
|
|
169
166
|
method: "GET",
|
|
170
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
167
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
168
|
contentType: "application/json",
|
|
172
169
|
requestType: "json",
|
|
173
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -228,7 +225,7 @@ class TpApi {
|
|
|
228
225
|
const _response = yield core.fetcher({
|
|
229
226
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/process-funds`),
|
|
230
227
|
method: "POST",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
228
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
232
229
|
contentType: "application/json",
|
|
233
230
|
requestType: "json",
|
|
234
231
|
body: serializers.api.thera.tp.ProcessFundsTransfer.jsonOrThrow(request, {
|
|
@@ -280,7 +277,7 @@ class TpApi {
|
|
|
280
277
|
const _response = yield core.fetcher({
|
|
281
278
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/create-counterparty`),
|
|
282
279
|
method: "POST",
|
|
283
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
280
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
281
|
contentType: "application/json",
|
|
285
282
|
requestType: "json",
|
|
286
283
|
body: serializers.api.thera.tp.CreateCounterPartyForBankingRequest.jsonOrThrow(request, {
|
|
@@ -329,7 +326,7 @@ class TpApi {
|
|
|
329
326
|
const _response = yield core.fetcher({
|
|
330
327
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-accounts`),
|
|
331
328
|
method: "GET",
|
|
332
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
329
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
333
330
|
contentType: "application/json",
|
|
334
331
|
requestType: "json",
|
|
335
332
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -384,7 +381,7 @@ class TpApi {
|
|
|
384
381
|
const _response = yield core.fetcher({
|
|
385
382
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-accounts/${encodeURIComponent(accountId)}`),
|
|
386
383
|
method: "GET",
|
|
387
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
384
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
388
385
|
contentType: "application/json",
|
|
389
386
|
queryParameters: _queryParams,
|
|
390
387
|
requestType: "json",
|
|
@@ -435,7 +432,7 @@ class TpApi {
|
|
|
435
432
|
const _response = yield core.fetcher({
|
|
436
433
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/transfer-fbo-omnibus`),
|
|
437
434
|
method: "POST",
|
|
438
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
435
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
439
436
|
contentType: "application/json",
|
|
440
437
|
requestType: "json",
|
|
441
438
|
body: serializers.api.thera.tp.TransferFundsToOmnibusAccount.jsonOrThrow(request, {
|
|
@@ -485,7 +482,7 @@ class TpApi {
|
|
|
485
482
|
const _response = yield core.fetcher({
|
|
486
483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-transactions/${encodeURIComponent(accountId)}`),
|
|
487
484
|
method: "GET",
|
|
488
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
485
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
489
486
|
contentType: "application/json",
|
|
490
487
|
requestType: "json",
|
|
491
488
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -538,7 +535,7 @@ class TpApi {
|
|
|
538
535
|
const _response = yield core.fetcher({
|
|
539
536
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/tp-transaction/${encodeURIComponent(transactionId)}`),
|
|
540
537
|
method: "GET",
|
|
541
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
538
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
542
539
|
contentType: "application/json",
|
|
543
540
|
requestType: "json",
|
|
544
541
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -602,7 +599,7 @@ class TpApi {
|
|
|
602
599
|
const _response = yield core.fetcher({
|
|
603
600
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/tp/external-transfer-funds"),
|
|
604
601
|
method: "POST",
|
|
605
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
602
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
606
603
|
contentType: "application/json",
|
|
607
604
|
queryParameters: _queryParams,
|
|
608
605
|
requestType: "json",
|
|
@@ -11,32 +11,29 @@ import * as TheraApi from "../../../../../../../../../../index";
|
|
|
11
11
|
* legalStructure: "ccorp",
|
|
12
12
|
* naics: "string",
|
|
13
13
|
* callerUserBeneficiaryInformation: {
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* title: "string",
|
|
38
|
-
* isControlPerson: true
|
|
39
|
-
* }
|
|
14
|
+
* dateOfBirth: "2023-01-15",
|
|
15
|
+
* emailAddress: "string",
|
|
16
|
+
* firstName: "string",
|
|
17
|
+
* lastName: "string",
|
|
18
|
+
* middleName: {
|
|
19
|
+
* "key": "value"
|
|
20
|
+
* },
|
|
21
|
+
* phoneNumber: "string",
|
|
22
|
+
* mailingAddress: {
|
|
23
|
+
* "key": "value"
|
|
24
|
+
* },
|
|
25
|
+
* physicalAddress: {
|
|
26
|
+
* city: "string",
|
|
27
|
+
* country: "string",
|
|
28
|
+
* line1: "string",
|
|
29
|
+
* line2: "string",
|
|
30
|
+
* postalCode: "string",
|
|
31
|
+
* state: "string"
|
|
32
|
+
* },
|
|
33
|
+
* tin: "string",
|
|
34
|
+
* ownershipPercentage: 1,
|
|
35
|
+
* title: "string",
|
|
36
|
+
* isControlPerson: true
|
|
40
37
|
* },
|
|
41
38
|
* beneficiaries: [{
|
|
42
39
|
* "key": "value"
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class UserApi {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "POST",
|
|
81
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
|
|
@@ -139,7 +139,7 @@ class UserApi {
|
|
|
139
139
|
const _response = yield core.fetcher({
|
|
140
140
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user`),
|
|
141
141
|
method: "GET",
|
|
142
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
142
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
queryParameters: _queryParams,
|
|
145
145
|
requestType: "json",
|
|
@@ -197,7 +197,7 @@ class UserApi {
|
|
|
197
197
|
const _response = yield core.fetcher({
|
|
198
198
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "user"),
|
|
199
199
|
method: "GET",
|
|
200
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-
|
|
200
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease2903-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2903-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
queryParameters: _queryParams,
|
|
203
203
|
requestType: "json",
|
|
@@ -12,7 +12,7 @@ export interface CompanyBankingDetails {
|
|
|
12
12
|
* Whoever is filling out the onboarding form must fill out beneficiary information even if they don't
|
|
13
13
|
* own 25% or more of the company.
|
|
14
14
|
*/
|
|
15
|
-
callerUserBeneficiaryInformation: TheraApi.db.
|
|
15
|
+
callerUserBeneficiaryInformation: TheraApi.db.CompanyBeneficiary;
|
|
16
16
|
/**
|
|
17
17
|
* Must include anyone with 25% or greater ownership (excluding the caller user, since they will be covered
|
|
18
18
|
* by the field `callerUserBeneficiaryInformation`).
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as TheraApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { CompanyLegalStructure } from "./CompanyLegalStructure";
|
|
8
|
+
import { CompanyBeneficiary } from "./CompanyBeneficiary";
|
|
8
9
|
import { AddCompanyBeneficiary } from "./AddCompanyBeneficiary";
|
|
9
10
|
export declare const CompanyBankingDetails: core.serialization.ObjectSchema<serializers.db.CompanyBankingDetails.Raw, TheraApi.db.CompanyBankingDetails>;
|
|
10
11
|
export declare namespace CompanyBankingDetails {
|
|
@@ -13,7 +14,7 @@ export declare namespace CompanyBankingDetails {
|
|
|
13
14
|
incorporationState: string;
|
|
14
15
|
legalStructure: CompanyLegalStructure.Raw;
|
|
15
16
|
naics: string;
|
|
16
|
-
callerUserBeneficiaryInformation:
|
|
17
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary.Raw;
|
|
17
18
|
beneficiaries: AddCompanyBeneficiary.Raw[];
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -39,12 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CompanyBankingDetails = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const CompanyLegalStructure_1 = require("./CompanyLegalStructure");
|
|
42
|
+
const CompanyBeneficiary_1 = require("./CompanyBeneficiary");
|
|
42
43
|
const AddCompanyBeneficiary_1 = require("./AddCompanyBeneficiary");
|
|
43
44
|
exports.CompanyBankingDetails = core.serialization.object({
|
|
44
45
|
establishedOn: core.serialization.string(),
|
|
45
46
|
incorporationState: core.serialization.string(),
|
|
46
47
|
legalStructure: CompanyLegalStructure_1.CompanyLegalStructure,
|
|
47
48
|
naics: core.serialization.string(),
|
|
48
|
-
callerUserBeneficiaryInformation:
|
|
49
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary_1.CompanyBeneficiary,
|
|
49
50
|
beneficiaries: core.serialization.list(AddCompanyBeneficiary_1.AddCompanyBeneficiary),
|
|
50
51
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2903-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2903-production";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -10537,32 +10537,29 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
|
|
|
10537
10537
|
legalStructure: "ccorp",
|
|
10538
10538
|
naics: "string",
|
|
10539
10539
|
callerUserBeneficiaryInformation: {
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
postalCode: "string",
|
|
10559
|
-
state: "string",
|
|
10560
|
-
},
|
|
10561
|
-
tin: "string",
|
|
10562
|
-
ownershipPercentage: 1,
|
|
10563
|
-
title: "string",
|
|
10564
|
-
isControlPerson: true,
|
|
10540
|
+
dateOfBirth: "2023-01-15",
|
|
10541
|
+
emailAddress: "string",
|
|
10542
|
+
firstName: "string",
|
|
10543
|
+
lastName: "string",
|
|
10544
|
+
middleName: {
|
|
10545
|
+
key: "value",
|
|
10546
|
+
},
|
|
10547
|
+
phoneNumber: "string",
|
|
10548
|
+
mailingAddress: {
|
|
10549
|
+
key: "value",
|
|
10550
|
+
},
|
|
10551
|
+
physicalAddress: {
|
|
10552
|
+
city: "string",
|
|
10553
|
+
country: "string",
|
|
10554
|
+
line1: "string",
|
|
10555
|
+
line2: "string",
|
|
10556
|
+
postalCode: "string",
|
|
10557
|
+
state: "string",
|
|
10565
10558
|
},
|
|
10559
|
+
tin: "string",
|
|
10560
|
+
ownershipPercentage: 1,
|
|
10561
|
+
title: "string",
|
|
10562
|
+
isControlPerson: true,
|
|
10566
10563
|
},
|
|
10567
10564
|
beneficiaries: [
|
|
10568
10565
|
{
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as TheraApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { CompanyLegalStructure } from "./CompanyLegalStructure";
|
|
8
|
+
import { CompanyBeneficiary } from "./CompanyBeneficiary";
|
|
8
9
|
import { AddCompanyBeneficiary } from "./AddCompanyBeneficiary";
|
|
9
10
|
export declare const CompanyBankingDetails: core.serialization.ObjectSchema<serializers.db.CompanyBankingDetails.Raw, TheraApi.db.CompanyBankingDetails>;
|
|
10
11
|
export declare namespace CompanyBankingDetails {
|
|
@@ -13,7 +14,7 @@ export declare namespace CompanyBankingDetails {
|
|
|
13
14
|
incorporationState: string;
|
|
14
15
|
legalStructure: CompanyLegalStructure.Raw;
|
|
15
16
|
naics: string;
|
|
16
|
-
callerUserBeneficiaryInformation:
|
|
17
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary.Raw;
|
|
17
18
|
beneficiaries: AddCompanyBeneficiary.Raw[];
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -39,12 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CompanyBankingDetails = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const CompanyLegalStructure_1 = require("./CompanyLegalStructure");
|
|
42
|
+
const CompanyBeneficiary_1 = require("./CompanyBeneficiary");
|
|
42
43
|
const AddCompanyBeneficiary_1 = require("./AddCompanyBeneficiary");
|
|
43
44
|
exports.CompanyBankingDetails = core.serialization.object({
|
|
44
45
|
establishedOn: core.serialization.string(),
|
|
45
46
|
incorporationState: core.serialization.string(),
|
|
46
47
|
legalStructure: CompanyLegalStructure_1.CompanyLegalStructure,
|
|
47
48
|
naics: core.serialization.string(),
|
|
48
|
-
callerUserBeneficiaryInformation:
|
|
49
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary_1.CompanyBeneficiary,
|
|
49
50
|
beneficiaries: core.serialization.list(AddCompanyBeneficiary_1.AddCompanyBeneficiary),
|
|
50
51
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2903-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2903-production";
|
package/version.js
CHANGED