@thera-hr/api-sdk 1.2.0-prerelease2398-dev-2 → 1.2.0-prerelease2407-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 +3 -63
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +48 -312
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +11 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
- 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.js +18 -18
- 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/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/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/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js → db/resources/payoutQueue/types/PayoutProvider.js} +6 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -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 +3 -63
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +48 -312
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRequest.d.ts +11 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
- 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.js +18 -18
- 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/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/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/{api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js → dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.js} +6 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -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/client/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
- 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/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/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/payoutQueue/types/PayoutStatus.js} +3 -3
- 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 +2 -330
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
- 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/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/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/payoutQueue/types/PayoutStatus.js} +3 -3
- 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
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
- /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js → db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js → dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* startDate: "2023-01-15",
|
|
8
|
-
* endDate: "2023-01-15"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface ExportWorkerWithdrawalsCsvRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
14
|
-
*/
|
|
15
|
-
startDate?: string;
|
|
16
|
-
/**
|
|
17
|
-
* End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
18
|
-
*/
|
|
19
|
-
endDate?: string;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* startDate: "2023-01-15",
|
|
8
|
-
* endDate: "2023-01-15"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface ExportWorkerWithdrawalsJsonRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
14
|
-
*/
|
|
15
|
-
startDate?: string;
|
|
16
|
-
/**
|
|
17
|
-
* End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
18
|
-
*/
|
|
19
|
-
endDate?: string;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
5
|
-
export interface ExportedInvoice {
|
|
6
|
-
invoiceId?: string;
|
|
7
|
-
displayId?: string;
|
|
8
|
-
contractId: string;
|
|
9
|
-
status?: string;
|
|
10
|
-
type?: string;
|
|
11
|
-
amount?: number;
|
|
12
|
-
currency?: string;
|
|
13
|
-
actualPaymentAmount?: number;
|
|
14
|
-
actualPaymentCurrency?: string;
|
|
15
|
-
creationDate?: string;
|
|
16
|
-
paymentDate?: string;
|
|
17
|
-
startDate?: string;
|
|
18
|
-
endDate?: string;
|
|
19
|
-
hoursOrWorkUnits?: number;
|
|
20
|
-
rate?: number;
|
|
21
|
-
deductions?: TheraApi.api.thera.bank.ExportedInvoiceDeduction[];
|
|
22
|
-
description?: string;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ExportedWithdrawal {
|
|
5
|
-
ledgerTransactionId: string;
|
|
6
|
-
withdrawalMethodTitle?: string;
|
|
7
|
-
withdrawalMethodId?: string;
|
|
8
|
-
amount: number;
|
|
9
|
-
currency: string;
|
|
10
|
-
convertedAmount?: number;
|
|
11
|
-
convertedCurrency?: string;
|
|
12
|
-
timestamp: string;
|
|
13
|
-
status?: string;
|
|
14
|
-
feeCurrency?: string;
|
|
15
|
-
flatFee?: number;
|
|
16
|
-
variableFee?: number;
|
|
17
|
-
exchangeRate?: number;
|
|
18
|
-
exchangeFrom: number;
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* contractIds: "string",
|
|
8
|
-
* startDate: "2023-01-15",
|
|
9
|
-
* endDate: "2023-01-15"
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface ExportWorkerInvoicesCsvRequest {
|
|
13
|
-
/**
|
|
14
|
-
* Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
|
|
15
|
-
*/
|
|
16
|
-
contractIds?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
|
|
19
|
-
*/
|
|
20
|
-
startDate?: string;
|
|
21
|
-
/**
|
|
22
|
-
* End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
|
|
23
|
-
*/
|
|
24
|
-
endDate?: string;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* contractIds: "string",
|
|
8
|
-
* startDate: "2023-01-15",
|
|
9
|
-
* endDate: "2023-01-15"
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface ExportWorkerInvoicesJsonRequest {
|
|
13
|
-
/**
|
|
14
|
-
* Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
|
|
15
|
-
*/
|
|
16
|
-
contractIds?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
|
|
19
|
-
*/
|
|
20
|
-
startDate?: string;
|
|
21
|
-
/**
|
|
22
|
-
* End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
|
|
23
|
-
*/
|
|
24
|
-
endDate?: string;
|
|
25
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* startDate: "2023-01-15",
|
|
8
|
-
* endDate: "2023-01-15"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface ExportWorkerWithdrawalsCsvRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
14
|
-
*/
|
|
15
|
-
startDate?: string;
|
|
16
|
-
/**
|
|
17
|
-
* End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
18
|
-
*/
|
|
19
|
-
endDate?: string;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* startDate: "2023-01-15",
|
|
8
|
-
* endDate: "2023-01-15"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface ExportWorkerWithdrawalsJsonRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
14
|
-
*/
|
|
15
|
-
startDate?: string;
|
|
16
|
-
/**
|
|
17
|
-
* End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
|
|
18
|
-
*/
|
|
19
|
-
endDate?: string;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../../../../../index";
|
|
5
|
-
export interface ExportedInvoice {
|
|
6
|
-
invoiceId?: string;
|
|
7
|
-
displayId?: string;
|
|
8
|
-
contractId: string;
|
|
9
|
-
status?: string;
|
|
10
|
-
type?: string;
|
|
11
|
-
amount?: number;
|
|
12
|
-
currency?: string;
|
|
13
|
-
actualPaymentAmount?: number;
|
|
14
|
-
actualPaymentCurrency?: string;
|
|
15
|
-
creationDate?: string;
|
|
16
|
-
paymentDate?: string;
|
|
17
|
-
startDate?: string;
|
|
18
|
-
endDate?: string;
|
|
19
|
-
hoursOrWorkUnits?: number;
|
|
20
|
-
rate?: number;
|
|
21
|
-
deductions?: TheraApi.api.thera.bank.ExportedInvoiceDeduction[];
|
|
22
|
-
description?: string;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ExportedWithdrawal {
|
|
5
|
-
ledgerTransactionId: string;
|
|
6
|
-
withdrawalMethodTitle?: string;
|
|
7
|
-
withdrawalMethodId?: string;
|
|
8
|
-
amount: number;
|
|
9
|
-
currency: string;
|
|
10
|
-
convertedAmount?: number;
|
|
11
|
-
convertedCurrency?: string;
|
|
12
|
-
timestamp: string;
|
|
13
|
-
status?: string;
|
|
14
|
-
feeCurrency?: string;
|
|
15
|
-
flatFee?: number;
|
|
16
|
-
variableFee?: number;
|
|
17
|
-
exchangeRate?: number;
|
|
18
|
-
exchangeFrom: number;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../../../../../index";
|
|
5
|
-
import * as core from "../../../../../../../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerInvoicesCsv.Response.Raw, string>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = string;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { ExportedInvoice } from "../types/ExportedInvoice";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerInvoicesJson.Response.Raw, TheraApi.api.thera.bank.ExportedInvoice[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = ExportedInvoice.Raw[];
|
|
11
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.Response = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const ExportedInvoice_1 = require("../types/ExportedInvoice");
|
|
42
|
-
exports.Response = core.serialization.list(ExportedInvoice_1.ExportedInvoice);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../../../../../index";
|
|
5
|
-
import * as core from "../../../../../../../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv.Response.Raw, string>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = string;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { ExportedWithdrawal } from "../types/ExportedWithdrawal";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerWithdrawalsJson.Response.Raw, TheraApi.api.thera.bank.ExportedWithdrawal[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = ExportedWithdrawal.Raw[];
|
|
11
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.Response = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const ExportedWithdrawal_1 = require("../types/ExportedWithdrawal");
|
|
42
|
-
exports.Response = core.serialization.list(ExportedWithdrawal_1.ExportedWithdrawal);
|
|
@@ -1,29 +0,0 @@
|
|
|
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 { ExportedInvoiceDeduction } from "./ExportedInvoiceDeduction";
|
|
8
|
-
export declare const ExportedInvoice: core.serialization.ObjectSchema<serializers.api.thera.bank.ExportedInvoice.Raw, TheraApi.api.thera.bank.ExportedInvoice>;
|
|
9
|
-
export declare namespace ExportedInvoice {
|
|
10
|
-
interface Raw {
|
|
11
|
-
invoiceId?: string | null;
|
|
12
|
-
displayId?: string | null;
|
|
13
|
-
contractId: string;
|
|
14
|
-
status?: string | null;
|
|
15
|
-
type?: string | null;
|
|
16
|
-
amount?: number | null;
|
|
17
|
-
currency?: string | null;
|
|
18
|
-
actualPaymentAmount?: number | null;
|
|
19
|
-
actualPaymentCurrency?: string | null;
|
|
20
|
-
creationDate?: string | null;
|
|
21
|
-
paymentDate?: string | null;
|
|
22
|
-
startDate?: string | null;
|
|
23
|
-
endDate?: string | null;
|
|
24
|
-
hoursOrWorkUnits?: number | null;
|
|
25
|
-
rate?: number | null;
|
|
26
|
-
deductions?: ExportedInvoiceDeduction.Raw[] | null;
|
|
27
|
-
description?: string | null;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
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.ExportedInvoice = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const ExportedInvoiceDeduction_1 = require("./ExportedInvoiceDeduction");
|
|
42
|
-
exports.ExportedInvoice = core.serialization.object({
|
|
43
|
-
invoiceId: core.serialization.string().optional(),
|
|
44
|
-
displayId: core.serialization.string().optional(),
|
|
45
|
-
contractId: core.serialization.string(),
|
|
46
|
-
status: core.serialization.string().optional(),
|
|
47
|
-
type: core.serialization.string().optional(),
|
|
48
|
-
amount: core.serialization.number().optional(),
|
|
49
|
-
currency: core.serialization.string().optional(),
|
|
50
|
-
actualPaymentAmount: core.serialization.number().optional(),
|
|
51
|
-
actualPaymentCurrency: core.serialization.string().optional(),
|
|
52
|
-
creationDate: core.serialization.string().optional(),
|
|
53
|
-
paymentDate: core.serialization.string().optional(),
|
|
54
|
-
startDate: core.serialization.string().optional(),
|
|
55
|
-
endDate: core.serialization.string().optional(),
|
|
56
|
-
hoursOrWorkUnits: core.serialization.number().optional(),
|
|
57
|
-
rate: core.serialization.number().optional(),
|
|
58
|
-
deductions: core.serialization.list(ExportedInvoiceDeduction_1.ExportedInvoiceDeduction).optional(),
|
|
59
|
-
description: core.serialization.string().optional(),
|
|
60
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
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 ExportedInvoiceDeduction: core.serialization.ObjectSchema<serializers.api.thera.bank.ExportedInvoiceDeduction.Raw, TheraApi.api.thera.bank.ExportedInvoiceDeduction>;
|
|
8
|
-
export declare namespace ExportedInvoiceDeduction {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
amount?: number | null;
|
|
12
|
-
currency?: string | null;
|
|
13
|
-
description?: string | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
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.ExportedInvoiceDeduction = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
exports.ExportedInvoiceDeduction = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
43
|
-
amount: core.serialization.number().optional(),
|
|
44
|
-
currency: core.serialization.string().optional(),
|
|
45
|
-
description: core.serialization.string().optional(),
|
|
46
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
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 ExportedWithdrawal: core.serialization.ObjectSchema<serializers.api.thera.bank.ExportedWithdrawal.Raw, TheraApi.api.thera.bank.ExportedWithdrawal>;
|
|
8
|
-
export declare namespace ExportedWithdrawal {
|
|
9
|
-
interface Raw {
|
|
10
|
-
ledgerTransactionId: string;
|
|
11
|
-
withdrawalMethodTitle?: string | null;
|
|
12
|
-
withdrawalMethodId?: string | null;
|
|
13
|
-
amount: number;
|
|
14
|
-
currency: string;
|
|
15
|
-
convertedAmount?: number | null;
|
|
16
|
-
convertedCurrency?: string | null;
|
|
17
|
-
timestamp: string;
|
|
18
|
-
status?: string | null;
|
|
19
|
-
feeCurrency?: string | null;
|
|
20
|
-
flatFee?: number | null;
|
|
21
|
-
variableFee?: number | null;
|
|
22
|
-
exchangeRate?: number | null;
|
|
23
|
-
exchangeFrom: number;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../../../../../index";
|
|
5
|
-
import * as core from "../../../../../../../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerInvoicesCsv.Response.Raw, string>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = string;
|
|
9
|
-
}
|