@thera-hr/api-sdk 0.0.1-prerelease3075-dev-3 → 0.0.1-prerelease3077-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.d.ts +31 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +157 -33
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerWithdrawalQuote.d.ts +16 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerWithdrawalQuote.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/EorPayIn.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.js +10 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.d.ts +23 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +25 -24
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +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/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/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 +2 -1
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- 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.d.ts +31 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +157 -33
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerWithdrawalQuote.d.ts +16 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerWithdrawalQuote.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/EorPayIn.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.d.ts +23 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +25 -24
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +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/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/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 +2 -1
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.d.ts +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +141 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/FeeType.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalFee.js +46 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.d.ts +19 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalQuote.js +50 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalRequest.js +48 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WorkerWithdrawalResponse.js +43 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +5 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +5 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkerWithdrawalResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.WorkerWithdrawalResponse = core.serialization.object({
|
|
42
|
+
withdrawalId: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -33,7 +33,12 @@ export * from "./ValidationAsyncParam";
|
|
|
33
33
|
export * from "./WithdrawalMethodValuesAllowed";
|
|
34
34
|
export * from "./SaveWithdrawalMethodResponse";
|
|
35
35
|
export * from "./DeleteWithdrawalMethodResponse";
|
|
36
|
+
export * from "./FeeType";
|
|
37
|
+
export * from "./WithdrawalFee";
|
|
38
|
+
export * from "./WorkerWithdrawalQuote";
|
|
36
39
|
export * from "./WorkerWithdrawalPreviewResponse";
|
|
40
|
+
export * from "./WorkerWithdrawalRequest";
|
|
41
|
+
export * from "./WorkerWithdrawalResponse";
|
|
37
42
|
export * from "./InitiateWorkerWithdrawalRequest";
|
|
38
43
|
export * from "./InitiateWorkerWithdrawalRequestDebugSettings";
|
|
39
44
|
export * from "./GetWithdrawalLimitsByMethodResponse";
|
|
@@ -49,7 +49,12 @@ __exportStar(require("./ValidationAsyncParam"), exports);
|
|
|
49
49
|
__exportStar(require("./WithdrawalMethodValuesAllowed"), exports);
|
|
50
50
|
__exportStar(require("./SaveWithdrawalMethodResponse"), exports);
|
|
51
51
|
__exportStar(require("./DeleteWithdrawalMethodResponse"), exports);
|
|
52
|
+
__exportStar(require("./FeeType"), exports);
|
|
53
|
+
__exportStar(require("./WithdrawalFee"), exports);
|
|
54
|
+
__exportStar(require("./WorkerWithdrawalQuote"), exports);
|
|
52
55
|
__exportStar(require("./WorkerWithdrawalPreviewResponse"), exports);
|
|
56
|
+
__exportStar(require("./WorkerWithdrawalRequest"), exports);
|
|
57
|
+
__exportStar(require("./WorkerWithdrawalResponse"), exports);
|
|
53
58
|
__exportStar(require("./InitiateWorkerWithdrawalRequest"), exports);
|
|
54
59
|
__exportStar(require("./InitiateWorkerWithdrawalRequestDebugSettings"), exports);
|
|
55
60
|
__exportStar(require("./GetWithdrawalLimitsByMethodResponse"), exports);
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const ExternalAccount: core.serialization.ObjectSchema<serializers.api.thera.bridge.ExternalAccount.Raw, TheraApi.api.thera.bridge.ExternalAccount>;
|
|
8
8
|
export declare namespace ExternalAccount {
|
|
9
9
|
interface Raw {
|
|
10
|
+
id: string;
|
|
10
11
|
wallet_address: string;
|
|
11
12
|
currency: string;
|
|
12
13
|
payment_rail: string;
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ExternalAccount = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
41
|
exports.ExternalAccount = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
42
43
|
walletAddress: core.serialization.property("wallet_address", core.serialization.string()),
|
|
43
44
|
currency: core.serialization.string(),
|
|
44
45
|
paymentRail: core.serialization.property("payment_rail", core.serialization.string()),
|
|
@@ -46,4 +46,5 @@ exports.ProcessFundsTransfer = core.serialization.object({
|
|
|
46
46
|
secCode: core.serialization.string().optional(),
|
|
47
47
|
service: core.serialization.string(),
|
|
48
48
|
revenueAmount: core.serialization.string().optional(),
|
|
49
|
+
cashDeposit: core.serialization.boolean().optional(),
|
|
49
50
|
});
|
|
@@ -3,12 +3,12 @@ export * from "./GetIndustryCodesResponse";
|
|
|
3
3
|
export * from "./IndustryCodes";
|
|
4
4
|
export * from "./SubmitCompanyBeneficiariesResponse";
|
|
5
5
|
export * from "./ProcessFundsTransfer";
|
|
6
|
+
export * from "./WithdrawalTheraCash";
|
|
7
|
+
export * from "./WithdrawalAch";
|
|
8
|
+
export * from "./WithdrawalWire";
|
|
9
|
+
export * from "./WithdrawalWireAddress";
|
|
6
10
|
export * from "./CreateCounterPartyForBankingRequest";
|
|
7
11
|
export * from "./TransferFundsToOmnibusAccount";
|
|
8
12
|
export * from "./TpTransactionHistory";
|
|
9
13
|
export * from "./ExternalTransferFund";
|
|
10
14
|
export * from "./FboType";
|
|
11
|
-
export * from "./WithdrawalTheraCash";
|
|
12
|
-
export * from "./WithdrawalAch";
|
|
13
|
-
export * from "./WithdrawalWire";
|
|
14
|
-
export * from "./WithdrawalWireAddress";
|
package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js
CHANGED
|
@@ -19,12 +19,12 @@ __exportStar(require("./GetIndustryCodesResponse"), exports);
|
|
|
19
19
|
__exportStar(require("./IndustryCodes"), exports);
|
|
20
20
|
__exportStar(require("./SubmitCompanyBeneficiariesResponse"), exports);
|
|
21
21
|
__exportStar(require("./ProcessFundsTransfer"), exports);
|
|
22
|
+
__exportStar(require("./WithdrawalTheraCash"), exports);
|
|
23
|
+
__exportStar(require("./WithdrawalAch"), exports);
|
|
24
|
+
__exportStar(require("./WithdrawalWire"), exports);
|
|
25
|
+
__exportStar(require("./WithdrawalWireAddress"), exports);
|
|
22
26
|
__exportStar(require("./CreateCounterPartyForBankingRequest"), exports);
|
|
23
27
|
__exportStar(require("./TransferFundsToOmnibusAccount"), exports);
|
|
24
28
|
__exportStar(require("./TpTransactionHistory"), exports);
|
|
25
29
|
__exportStar(require("./ExternalTransferFund"), exports);
|
|
26
30
|
__exportStar(require("./FboType"), exports);
|
|
27
|
-
__exportStar(require("./WithdrawalTheraCash"), exports);
|
|
28
|
-
__exportStar(require("./WithdrawalAch"), exports);
|
|
29
|
-
__exportStar(require("./WithdrawalWire"), exports);
|
|
30
|
-
__exportStar(require("./WithdrawalWireAddress"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3077-production";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2252,6 +2252,145 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalPreview("string", "string
|
|
|
2252
2252
|
</dl>
|
|
2253
2253
|
</details>
|
|
2254
2254
|
|
|
2255
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerWithdrawalQuote</a>(userId, companyId, { ...params }) -> TheraApi.WorkerWithdrawalQuote</code></summary>
|
|
2256
|
+
<dl>
|
|
2257
|
+
<dd>
|
|
2258
|
+
|
|
2259
|
+
#### 🔌 Usage
|
|
2260
|
+
|
|
2261
|
+
<dl>
|
|
2262
|
+
<dd>
|
|
2263
|
+
|
|
2264
|
+
<dl>
|
|
2265
|
+
<dd>
|
|
2266
|
+
|
|
2267
|
+
```typescript
|
|
2268
|
+
await client.api.thera.bank.bankApi.getWorkerWithdrawalQuote("string", "string", {
|
|
2269
|
+
amount: 1000000,
|
|
2270
|
+
amountCurrency: "string",
|
|
2271
|
+
withdrawalMethodId: "string",
|
|
2272
|
+
});
|
|
2273
|
+
```
|
|
2274
|
+
|
|
2275
|
+
</dd>
|
|
2276
|
+
</dl>
|
|
2277
|
+
</dd>
|
|
2278
|
+
</dl>
|
|
2279
|
+
|
|
2280
|
+
#### ⚙️ Parameters
|
|
2281
|
+
|
|
2282
|
+
<dl>
|
|
2283
|
+
<dd>
|
|
2284
|
+
|
|
2285
|
+
<dl>
|
|
2286
|
+
<dd>
|
|
2287
|
+
|
|
2288
|
+
**userId:** `string`
|
|
2289
|
+
|
|
2290
|
+
</dd>
|
|
2291
|
+
</dl>
|
|
2292
|
+
|
|
2293
|
+
<dl>
|
|
2294
|
+
<dd>
|
|
2295
|
+
|
|
2296
|
+
**companyId:** `string`
|
|
2297
|
+
|
|
2298
|
+
</dd>
|
|
2299
|
+
</dl>
|
|
2300
|
+
|
|
2301
|
+
<dl>
|
|
2302
|
+
<dd>
|
|
2303
|
+
|
|
2304
|
+
**request:** `TheraApi.api.thera.bank.GetWorkerWithdrawalQuote`
|
|
2305
|
+
|
|
2306
|
+
</dd>
|
|
2307
|
+
</dl>
|
|
2308
|
+
|
|
2309
|
+
<dl>
|
|
2310
|
+
<dd>
|
|
2311
|
+
|
|
2312
|
+
**requestOptions:** `BankApi.RequestOptions`
|
|
2313
|
+
|
|
2314
|
+
</dd>
|
|
2315
|
+
</dl>
|
|
2316
|
+
</dd>
|
|
2317
|
+
</dl>
|
|
2318
|
+
|
|
2319
|
+
</dd>
|
|
2320
|
+
</dl>
|
|
2321
|
+
</details>
|
|
2322
|
+
|
|
2323
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">workerWithdraw</a>(userId, companyId, { ...params }) -> TheraApi.WorkerWithdrawalResponse</code></summary>
|
|
2324
|
+
<dl>
|
|
2325
|
+
<dd>
|
|
2326
|
+
|
|
2327
|
+
#### 🔌 Usage
|
|
2328
|
+
|
|
2329
|
+
<dl>
|
|
2330
|
+
<dd>
|
|
2331
|
+
|
|
2332
|
+
<dl>
|
|
2333
|
+
<dd>
|
|
2334
|
+
|
|
2335
|
+
```typescript
|
|
2336
|
+
await client.api.thera.bank.bankApi.workerWithdraw("string", "string", {
|
|
2337
|
+
debitAmount: 1000000,
|
|
2338
|
+
debitCurrency: "string",
|
|
2339
|
+
creditAmount: 1000000,
|
|
2340
|
+
creditCurrency: "string",
|
|
2341
|
+
withdrawalMethodId: "string",
|
|
2342
|
+
providerId: "string",
|
|
2343
|
+
});
|
|
2344
|
+
```
|
|
2345
|
+
|
|
2346
|
+
</dd>
|
|
2347
|
+
</dl>
|
|
2348
|
+
</dd>
|
|
2349
|
+
</dl>
|
|
2350
|
+
|
|
2351
|
+
#### ⚙️ Parameters
|
|
2352
|
+
|
|
2353
|
+
<dl>
|
|
2354
|
+
<dd>
|
|
2355
|
+
|
|
2356
|
+
<dl>
|
|
2357
|
+
<dd>
|
|
2358
|
+
|
|
2359
|
+
**userId:** `string`
|
|
2360
|
+
|
|
2361
|
+
</dd>
|
|
2362
|
+
</dl>
|
|
2363
|
+
|
|
2364
|
+
<dl>
|
|
2365
|
+
<dd>
|
|
2366
|
+
|
|
2367
|
+
**companyId:** `string`
|
|
2368
|
+
|
|
2369
|
+
</dd>
|
|
2370
|
+
</dl>
|
|
2371
|
+
|
|
2372
|
+
<dl>
|
|
2373
|
+
<dd>
|
|
2374
|
+
|
|
2375
|
+
**request:** `TheraApi.WorkerWithdrawalRequest`
|
|
2376
|
+
|
|
2377
|
+
</dd>
|
|
2378
|
+
</dl>
|
|
2379
|
+
|
|
2380
|
+
<dl>
|
|
2381
|
+
<dd>
|
|
2382
|
+
|
|
2383
|
+
**requestOptions:** `BankApi.RequestOptions`
|
|
2384
|
+
|
|
2385
|
+
</dd>
|
|
2386
|
+
</dl>
|
|
2387
|
+
</dd>
|
|
2388
|
+
</dl>
|
|
2389
|
+
|
|
2390
|
+
</dd>
|
|
2391
|
+
</dl>
|
|
2392
|
+
</details>
|
|
2393
|
+
|
|
2255
2394
|
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">initiateWorkerWithdrawal</a>(userId, companyId, { ...params }) -> TheraApi.InitiateWorkerWithdrawalResponse</code></summary>
|
|
2256
2395
|
<dl>
|
|
2257
2396
|
<dd>
|
|
@@ -3231,6 +3370,7 @@ Links an external crypto wallet to a customer.
|
|
|
3231
3370
|
|
|
3232
3371
|
```typescript
|
|
3233
3372
|
await client.api.thera.bridge.bridgeApi.createExternalAccount("string", {
|
|
3373
|
+
id: "string",
|
|
3234
3374
|
walletAddress: "string",
|
|
3235
3375
|
currency: "string",
|
|
3236
3376
|
paymentRail: "string",
|
|
@@ -10934,6 +11074,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
|
|
|
10934
11074
|
secCode: "string",
|
|
10935
11075
|
service: "string",
|
|
10936
11076
|
revenueAmount: "string",
|
|
11077
|
+
cashDeposit: true,
|
|
10937
11078
|
});
|
|
10938
11079
|
```
|
|
10939
11080
|
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const EorPayIn: core.serialization.ObjectSchema<serializers.api.thera.bank.EorPayIn.Raw, TheraApi.api.thera.bank.EorPayIn>;
|
|
8
8
|
export declare namespace EorPayIn {
|
|
9
9
|
interface Raw {
|
|
10
|
-
receiptS3Key
|
|
10
|
+
receiptS3Key?: string | null;
|
|
11
|
+
userMap?: Record<string, string> | null;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -39,5 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.EorPayIn = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
41
|
exports.EorPayIn = core.serialization.object({
|
|
42
|
-
receiptS3Key: core.serialization.string(),
|
|
42
|
+
receiptS3Key: core.serialization.string().optional(),
|
|
43
|
+
userMap: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
43
44
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const FeeType: core.serialization.Schema<serializers.api.thera.bank.FeeType.Raw, TheraApi.api.thera.bank.FeeType>;
|
|
8
|
+
export declare namespace FeeType {
|
|
9
|
+
type Raw = "FIXED" | "VARIABLE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FeeType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FeeType = core.serialization.enum_(["FIXED", "VARIABLE"]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { FeeType } from "./FeeType";
|
|
8
|
+
export declare const WithdrawalFee: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalFee.Raw, TheraApi.api.thera.bank.WithdrawalFee>;
|
|
9
|
+
export declare namespace WithdrawalFee {
|
|
10
|
+
interface Raw {
|
|
11
|
+
amount: number;
|
|
12
|
+
feeType: FeeType.Raw;
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WithdrawalFee = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const FeeType_1 = require("./FeeType");
|
|
42
|
+
exports.WithdrawalFee = core.serialization.object({
|
|
43
|
+
amount: core.serialization.number(),
|
|
44
|
+
feeType: FeeType_1.FeeType,
|
|
45
|
+
label: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { WithdrawalFee } from "./WithdrawalFee";
|
|
8
|
+
export declare const WorkerWithdrawalQuote: core.serialization.ObjectSchema<serializers.api.thera.bank.WorkerWithdrawalQuote.Raw, TheraApi.api.thera.bank.WorkerWithdrawalQuote>;
|
|
9
|
+
export declare namespace WorkerWithdrawalQuote {
|
|
10
|
+
interface Raw {
|
|
11
|
+
fees: WithdrawalFee.Raw[];
|
|
12
|
+
exchangeRate: number;
|
|
13
|
+
targetCurrency: string;
|
|
14
|
+
targetAmount: number;
|
|
15
|
+
sourceCurrency: string;
|
|
16
|
+
sourceAmount: number;
|
|
17
|
+
provider: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkerWithdrawalQuote = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const WithdrawalFee_1 = require("./WithdrawalFee");
|
|
42
|
+
exports.WorkerWithdrawalQuote = core.serialization.object({
|
|
43
|
+
fees: core.serialization.list(WithdrawalFee_1.WithdrawalFee),
|
|
44
|
+
exchangeRate: core.serialization.number(),
|
|
45
|
+
targetCurrency: core.serialization.string(),
|
|
46
|
+
targetAmount: core.serialization.number(),
|
|
47
|
+
sourceCurrency: core.serialization.string(),
|
|
48
|
+
sourceAmount: core.serialization.number(),
|
|
49
|
+
provider: core.serialization.string(),
|
|
50
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const WorkerWithdrawalRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.WorkerWithdrawalRequest.Raw, TheraApi.api.thera.bank.WorkerWithdrawalRequest>;
|
|
8
|
+
export declare namespace WorkerWithdrawalRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
debitAmount: number;
|
|
11
|
+
debitCurrency: string;
|
|
12
|
+
creditAmount: number;
|
|
13
|
+
creditCurrency: string;
|
|
14
|
+
withdrawalMethodId: string;
|
|
15
|
+
providerId: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkerWithdrawalRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.WorkerWithdrawalRequest = core.serialization.object({
|
|
42
|
+
debitAmount: core.serialization.number(),
|
|
43
|
+
debitCurrency: core.serialization.string(),
|
|
44
|
+
creditAmount: core.serialization.number(),
|
|
45
|
+
creditCurrency: core.serialization.string(),
|
|
46
|
+
withdrawalMethodId: core.serialization.string(),
|
|
47
|
+
providerId: core.serialization.string(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const WorkerWithdrawalResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.WorkerWithdrawalResponse.Raw, TheraApi.api.thera.bank.WorkerWithdrawalResponse>;
|
|
8
|
+
export declare namespace WorkerWithdrawalResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
withdrawalId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkerWithdrawalResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.WorkerWithdrawalResponse = core.serialization.object({
|
|
42
|
+
withdrawalId: core.serialization.string(),
|
|
43
|
+
});
|