@thera-hr/api-sdk 1.1.1-prerelease2447-dev-3 → 1.1.1-prerelease2448-dev-2
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 +33 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +171 -40
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +24 -20
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CheckCanCreateAccountRequest.d.ts +6 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- 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 +9 -9
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- 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 +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- 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 +14 -14
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +2 -0
- package/api/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/api/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +9 -0
- package/api/resources/db/resources/company/types/LastContractorBillingInfo.js +5 -0
- package/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/api/resources/db/resources/company/types/index.js +1 -0
- package/api/resources/db/resources/contract/types/Contract.d.ts +2 -0
- package/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +5 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/api/resources/db/resources/payoutQueue/types/index.js +19 -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/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 +33 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +171 -40
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +24 -20
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CheckCanCreateAccountRequest.d.ts +6 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- 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 +9 -9
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- 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 +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- 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 +14 -14
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/dist/api/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +9 -0
- package/dist/api/resources/db/resources/company/types/LastContractorBillingInfo.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/index.js +1 -0
- package/dist/api/resources/db/resources/contract/types/Contract.d.ts +2 -0
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/dist/api/resources/db/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/index.js +3 -1
- package/dist/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/dist/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +5 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +3 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +3 -0
- package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/Flags.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +14 -0
- package/dist/serialization/resources/db/resources/company/types/LastContractorBillingInfo.js +45 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/contract/types/Contract.d.ts +1 -0
- package/dist/serialization/resources/db/resources/contract/types/Contract.js +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- package/dist/serialization/resources/db/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +2 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.js +41 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +66 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +175 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ContractorSubscriptionPayIn.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsResponse.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/serialization/resources/db/resources/company/types/Company.d.ts +3 -0
- package/serialization/resources/db/resources/company/types/Company.js +3 -0
- package/serialization/resources/db/resources/company/types/Flags.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/Flags.js +2 -1
- package/serialization/resources/db/resources/company/types/LastContractorBillingInfo.d.ts +14 -0
- package/serialization/resources/db/resources/company/types/LastContractorBillingInfo.js +45 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/index.js +1 -0
- package/serialization/resources/db/resources/contract/types/Contract.d.ts +1 -0
- package/serialization/resources/db/resources/contract/types/Contract.js +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +2 -0
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +2 -0
- package/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.js +41 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js +66 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -9,6 +9,7 @@ export declare const GenericType: core.serialization.ObjectSchema<serializers.db
|
|
|
9
9
|
export declare namespace GenericType {
|
|
10
10
|
interface Raw {
|
|
11
11
|
key: GenericTypeKey.Raw;
|
|
12
|
+
processPayouts: boolean;
|
|
12
13
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
13
14
|
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
14
15
|
theraApAccountIdByCurrency: Record<string, string>;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const GenericTypeKey_1 = require("./GenericTypeKey");
|
|
42
42
|
exports.GenericType = core.serialization.object({
|
|
43
43
|
key: GenericTypeKey_1.GenericTypeKey,
|
|
44
|
+
processPayouts: core.serialization.boolean(),
|
|
44
45
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
45
46
|
stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
46
47
|
theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
@@ -16,5 +16,7 @@ export * as migrations from "./migrations";
|
|
|
16
16
|
export * from "./migrations/types";
|
|
17
17
|
export * as paymentMethod from "./paymentMethod";
|
|
18
18
|
export * from "./paymentMethod/types";
|
|
19
|
+
export * as payoutQueue from "./payoutQueue";
|
|
20
|
+
export * from "./payoutQueue/types";
|
|
19
21
|
export * as user from "./user";
|
|
20
22
|
export * from "./user/types";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
39
|
+
exports.user = exports.payoutQueue = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
40
40
|
exports.company = __importStar(require("./company"));
|
|
41
41
|
__exportStar(require("./company/types"), exports);
|
|
42
42
|
exports.contract = __importStar(require("./contract"));
|
|
@@ -55,5 +55,7 @@ exports.migrations = __importStar(require("./migrations"));
|
|
|
55
55
|
__exportStar(require("./migrations/types"), exports);
|
|
56
56
|
exports.paymentMethod = __importStar(require("./paymentMethod"));
|
|
57
57
|
__exportStar(require("./paymentMethod/types"), exports);
|
|
58
|
+
exports.payoutQueue = __importStar(require("./payoutQueue"));
|
|
59
|
+
__exportStar(require("./payoutQueue/types"), exports);
|
|
58
60
|
exports.user = __importStar(require("./user"));
|
|
59
61
|
__exportStar(require("./user/types"), exports);
|
|
@@ -9,6 +9,8 @@ export declare const PlaidPostVerificationPaymentMethodDetails: core.serializati
|
|
|
9
9
|
export declare namespace PlaidPostVerificationPaymentMethodDetails {
|
|
10
10
|
interface Raw {
|
|
11
11
|
stripePaymentMethodId: string;
|
|
12
|
+
revenueStripePaymentMethodId?: string | null;
|
|
13
|
+
eorStripePaymentMethodId?: string | null;
|
|
12
14
|
stripeBankAccountToken: string;
|
|
13
15
|
tpPlaidProcessorToken?: string | null;
|
|
14
16
|
tpCounterPartyId?: string | null;
|
|
@@ -41,6 +41,8 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const StripeAccountType_1 = require("./StripeAccountType");
|
|
42
42
|
exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
|
|
43
43
|
stripePaymentMethodId: core.serialization.string(),
|
|
44
|
+
revenueStripePaymentMethodId: core.serialization.string().optional(),
|
|
45
|
+
eorStripePaymentMethodId: core.serialization.string().optional(),
|
|
44
46
|
stripeBankAccountToken: core.serialization.string(),
|
|
45
47
|
tpPlaidProcessorToken: core.serialization.string().optional(),
|
|
46
48
|
tpCounterPartyId: core.serialization.string().optional(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,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 PayoutProvider: core.serialization.Schema<serializers.db.PayoutProvider.Raw, TheraApi.db.PayoutProvider>;
|
|
8
|
+
export declare namespace PayoutProvider {
|
|
9
|
+
type Raw = "WISE" | "DLOCAL" | "OFFPLATFORM";
|
|
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.PayoutProvider = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.PayoutProvider = core.serialization.enum_(["WISE", "DLOCAL", "OFFPLATFORM"]);
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { PayoutProvider } from "./PayoutProvider";
|
|
8
|
+
import { PayoutStatus } from "./PayoutStatus";
|
|
9
|
+
export declare const PayoutQueueItem: core.serialization.ObjectSchema<serializers.db.PayoutQueueItem.Raw, TheraApi.db.PayoutQueueItem>;
|
|
10
|
+
export declare namespace PayoutQueueItem {
|
|
11
|
+
interface Raw {
|
|
12
|
+
ledgerTransactionId: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
companyId: string;
|
|
15
|
+
withdrawalMethodId: string;
|
|
16
|
+
amount: number;
|
|
17
|
+
currency: string;
|
|
18
|
+
quotedDestinationAmount: number;
|
|
19
|
+
quotedDestinationCurrency: string;
|
|
20
|
+
provider: PayoutProvider.Raw;
|
|
21
|
+
status: PayoutStatus.Raw;
|
|
22
|
+
autoWithdrawal: boolean;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
processingStartedAt?: string | null;
|
|
26
|
+
completedAt?: string | null;
|
|
27
|
+
retryCount: number;
|
|
28
|
+
lastError?: string | null;
|
|
29
|
+
lastErrorStackTrace?: string | null;
|
|
30
|
+
lastErrorTimestamp?: string | null;
|
|
31
|
+
payoutId?: string | null;
|
|
32
|
+
wiseTransferId?: string | null;
|
|
33
|
+
processingInstanceId?: string | null;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.PayoutQueueItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const PayoutProvider_1 = require("./PayoutProvider");
|
|
42
|
+
const PayoutStatus_1 = require("./PayoutStatus");
|
|
43
|
+
exports.PayoutQueueItem = core.serialization.object({
|
|
44
|
+
ledgerTransactionId: core.serialization.string(),
|
|
45
|
+
userId: core.serialization.string(),
|
|
46
|
+
companyId: core.serialization.string(),
|
|
47
|
+
withdrawalMethodId: core.serialization.string(),
|
|
48
|
+
amount: core.serialization.number(),
|
|
49
|
+
currency: core.serialization.string(),
|
|
50
|
+
quotedDestinationAmount: core.serialization.number(),
|
|
51
|
+
quotedDestinationCurrency: core.serialization.string(),
|
|
52
|
+
provider: PayoutProvider_1.PayoutProvider,
|
|
53
|
+
status: PayoutStatus_1.PayoutStatus,
|
|
54
|
+
autoWithdrawal: core.serialization.boolean(),
|
|
55
|
+
createdAt: core.serialization.string(),
|
|
56
|
+
updatedAt: core.serialization.string(),
|
|
57
|
+
processingStartedAt: core.serialization.string().optional(),
|
|
58
|
+
completedAt: core.serialization.string().optional(),
|
|
59
|
+
retryCount: core.serialization.number(),
|
|
60
|
+
lastError: core.serialization.string().optional(),
|
|
61
|
+
lastErrorStackTrace: core.serialization.string().optional(),
|
|
62
|
+
lastErrorTimestamp: core.serialization.string().optional(),
|
|
63
|
+
payoutId: core.serialization.string().optional(),
|
|
64
|
+
wiseTransferId: core.serialization.string().optional(),
|
|
65
|
+
processingInstanceId: core.serialization.string().optional(),
|
|
66
|
+
});
|
|
@@ -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 PayoutStatus: core.serialization.Schema<serializers.db.PayoutStatus.Raw, TheraApi.db.PayoutStatus>;
|
|
8
|
+
export declare namespace PayoutStatus {
|
|
9
|
+
type Raw = "QUEUED" | "PROCESSING" | "COMPLETED" | "FAILED";
|
|
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.PayoutStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.PayoutStatus = core.serialization.enum_(["QUEUED", "PROCESSING", "COMPLETED", "FAILED"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./PayoutProvider"), exports);
|
|
18
|
+
__exportStar(require("./PayoutStatus"), exports);
|
|
19
|
+
__exportStar(require("./PayoutQueueItem"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.1-
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1-prerelease2448-dev-2";
|
package/version.js
CHANGED