@thera-hr/api-sdk 0.0.1-prerelease2895-production → 0.0.1-prerelease2895-dev-anthony
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
- package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
- package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
- package/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/api/resources/db/resources/paymentMethod/types/index.js +1 -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.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
- package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
- package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
- package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
- package/{serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js → db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +8 -6
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -63
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
- package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js → serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +8 -5
- package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
- package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
- package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +0 -45
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +0 -44
- /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistory.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js → dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +0 -0
|
@@ -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 { StripeUsBankAccountStatusResponse } from "./StripeUsBankAccountStatusResponse";
|
|
8
|
+
export declare const AuBecsDebitPaymentMethodResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.AuBecsDebitPaymentMethodResponse.Raw, TheraApi.api.thera.bank.AuBecsDebitPaymentMethodResponse>;
|
|
9
|
+
export declare namespace AuBecsDebitPaymentMethodResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
last4: string;
|
|
12
|
+
bsbNumber: string;
|
|
13
|
+
status: StripeUsBankAccountStatusResponse.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -36,9 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AuBecsDebitPaymentMethodResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
const StripeUsBankAccountStatusResponse_1 = require("./StripeUsBankAccountStatusResponse");
|
|
42
|
+
exports.AuBecsDebitPaymentMethodResponse = core.serialization.object({
|
|
43
|
+
last4: core.serialization.string(),
|
|
44
|
+
bsbNumber: core.serialization.string(),
|
|
45
|
+
status: StripeUsBankAccountStatusResponse_1.StripeUsBankAccountStatusResponse,
|
|
44
46
|
});
|
|
@@ -8,9 +8,10 @@ import { CardPaymentMethodResponse } from "./CardPaymentMethodResponse";
|
|
|
8
8
|
import { UsBankAccountPaymentMethodResponse } from "./UsBankAccountPaymentMethodResponse";
|
|
9
9
|
import { SepaPaymentMethodResponse } from "./SepaPaymentMethodResponse";
|
|
10
10
|
import { AcssDebitPaymentMethodResponse } from "./AcssDebitPaymentMethodResponse";
|
|
11
|
+
import { AuBecsDebitPaymentMethodResponse } from "./AuBecsDebitPaymentMethodResponse";
|
|
11
12
|
export declare const PaymentMethodDetailsResponse: core.serialization.Schema<serializers.api.thera.bank.PaymentMethodDetailsResponse.Raw, TheraApi.api.thera.bank.PaymentMethodDetailsResponse>;
|
|
12
13
|
export declare namespace PaymentMethodDetailsResponse {
|
|
13
|
-
type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit;
|
|
14
|
+
type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit | PaymentMethodDetailsResponse.AuBecsDebit;
|
|
14
15
|
interface Card extends CardPaymentMethodResponse.Raw {
|
|
15
16
|
type: "card";
|
|
16
17
|
}
|
|
@@ -23,4 +24,7 @@ export declare namespace PaymentMethodDetailsResponse {
|
|
|
23
24
|
interface AcssDebit extends AcssDebitPaymentMethodResponse.Raw {
|
|
24
25
|
type: "acssDebit";
|
|
25
26
|
}
|
|
27
|
+
interface AuBecsDebit extends AuBecsDebitPaymentMethodResponse.Raw {
|
|
28
|
+
type: "auBecsDebit";
|
|
29
|
+
}
|
|
26
30
|
}
|
|
@@ -42,12 +42,14 @@ const CardPaymentMethodResponse_1 = require("./CardPaymentMethodResponse");
|
|
|
42
42
|
const UsBankAccountPaymentMethodResponse_1 = require("./UsBankAccountPaymentMethodResponse");
|
|
43
43
|
const SepaPaymentMethodResponse_1 = require("./SepaPaymentMethodResponse");
|
|
44
44
|
const AcssDebitPaymentMethodResponse_1 = require("./AcssDebitPaymentMethodResponse");
|
|
45
|
+
const AuBecsDebitPaymentMethodResponse_1 = require("./AuBecsDebitPaymentMethodResponse");
|
|
45
46
|
exports.PaymentMethodDetailsResponse = core.serialization
|
|
46
47
|
.union("type", {
|
|
47
48
|
card: CardPaymentMethodResponse_1.CardPaymentMethodResponse,
|
|
48
49
|
usBankAccount: UsBankAccountPaymentMethodResponse_1.UsBankAccountPaymentMethodResponse,
|
|
49
50
|
sepaBankAccount: SepaPaymentMethodResponse_1.SepaPaymentMethodResponse,
|
|
50
51
|
acssDebit: AcssDebitPaymentMethodResponse_1.AcssDebitPaymentMethodResponse,
|
|
52
|
+
auBecsDebit: AuBecsDebitPaymentMethodResponse_1.AuBecsDebitPaymentMethodResponse,
|
|
51
53
|
})
|
|
52
54
|
.transform({
|
|
53
55
|
transform: (value) => value,
|
|
@@ -8,6 +8,7 @@ export * from "./PaymentMethodProvider";
|
|
|
8
8
|
export * from "./PaymentMethodDetailsResponse";
|
|
9
9
|
export * from "./SepaPaymentMethodResponse";
|
|
10
10
|
export * from "./AcssDebitPaymentMethodResponse";
|
|
11
|
+
export * from "./AuBecsDebitPaymentMethodResponse";
|
|
11
12
|
export * from "./CardPaymentMethodResponse";
|
|
12
13
|
export * from "./UsBankAccountPaymentMethodResponse";
|
|
13
14
|
export * from "./UsBankAccountProviderDetails";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./PaymentMethodProvider"), exports);
|
|
|
24
24
|
__exportStar(require("./PaymentMethodDetailsResponse"), exports);
|
|
25
25
|
__exportStar(require("./SepaPaymentMethodResponse"), exports);
|
|
26
26
|
__exportStar(require("./AcssDebitPaymentMethodResponse"), exports);
|
|
27
|
+
__exportStar(require("./AuBecsDebitPaymentMethodResponse"), exports);
|
|
27
28
|
__exportStar(require("./CardPaymentMethodResponse"), exports);
|
|
28
29
|
__exportStar(require("./UsBankAccountPaymentMethodResponse"), exports);
|
|
29
30
|
__exportStar(require("./UsBankAccountProviderDetails"), exports);
|
|
@@ -35,7 +35,3 @@ export * from "./CreateVirtualAccountDestination";
|
|
|
35
35
|
export * from "./VirtualAccountHistoryResponse";
|
|
36
36
|
export * from "./VirtualAccountHistory";
|
|
37
37
|
export * from "./VirtualAccountHistorySource";
|
|
38
|
-
export * from "./WalletHistory";
|
|
39
|
-
export * from "./WalletHistorySource";
|
|
40
|
-
export * from "./WalletHistoryDestination";
|
|
41
|
-
export * from "./WalletHistoryResponse";
|
|
@@ -51,7 +51,3 @@ __exportStar(require("./CreateVirtualAccountDestination"), exports);
|
|
|
51
51
|
__exportStar(require("./VirtualAccountHistoryResponse"), exports);
|
|
52
52
|
__exportStar(require("./VirtualAccountHistory"), exports);
|
|
53
53
|
__exportStar(require("./VirtualAccountHistorySource"), exports);
|
|
54
|
-
__exportStar(require("./WalletHistory"), exports);
|
|
55
|
-
__exportStar(require("./WalletHistorySource"), exports);
|
|
56
|
-
__exportStar(require("./WalletHistoryDestination"), exports);
|
|
57
|
-
__exportStar(require("./WalletHistoryResponse"), exports);
|
|
@@ -15,6 +15,5 @@ export declare namespace TpCompanyInformation {
|
|
|
15
15
|
depositAccount?: TpDepositAccount.Raw | null;
|
|
16
16
|
disbursementAccount?: TpDisbursementAccount.Raw | null;
|
|
17
17
|
payrollFboOnboardingStage: TpCompanyOnboardingStage.Raw;
|
|
18
|
-
lastInterestPaidMonth?: string | null;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -47,5 +47,4 @@ exports.TpCompanyInformation = core.serialization.object({
|
|
|
47
47
|
depositAccount: TpDepositAccount_1.TpDepositAccount.optional(),
|
|
48
48
|
disbursementAccount: TpDisbursementAccount_1.TpDisbursementAccount.optional(),
|
|
49
49
|
payrollFboOnboardingStage: TpCompanyOnboardingStage_1.TpCompanyOnboardingStage,
|
|
50
|
-
lastInterestPaidMonth: core.serialization.string().optional(),
|
|
51
50
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { StripeBankAccountVerificationStatus } from "./StripeBankAccountVerificationStatus";
|
|
8
|
+
export declare const StripeAuBecsDebitPaymentMethodDetails: core.serialization.ObjectSchema<serializers.db.StripeAuBecsDebitPaymentMethodDetails.Raw, TheraApi.db.StripeAuBecsDebitPaymentMethodDetails>;
|
|
9
|
+
export declare namespace StripeAuBecsDebitPaymentMethodDetails {
|
|
10
|
+
interface Raw {
|
|
11
|
+
bsbNumber: string;
|
|
12
|
+
fingerprint: string;
|
|
13
|
+
last4: string;
|
|
14
|
+
verificationStatus: StripeBankAccountVerificationStatus.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -36,9 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
exports.StripeAuBecsDebitPaymentMethodDetails = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StripeBankAccountVerificationStatus_1 = require("./StripeBankAccountVerificationStatus");
|
|
42
|
+
exports.StripeAuBecsDebitPaymentMethodDetails = core.serialization.object({
|
|
43
|
+
bsbNumber: core.serialization.string(),
|
|
44
|
+
fingerprint: core.serialization.string(),
|
|
45
|
+
last4: core.serialization.string(),
|
|
46
|
+
verificationStatus: StripeBankAccountVerificationStatus_1.StripeBankAccountVerificationStatus,
|
|
44
47
|
});
|
|
@@ -8,9 +8,10 @@ import { StripeUsBankAccountPaymentMethodDetails } from "./StripeUsBankAccountPa
|
|
|
8
8
|
import { StripeCardPaymentMethodDetails } from "./StripeCardPaymentMethodDetails";
|
|
9
9
|
import { StripeSepaPaymentMethodDetails } from "./StripeSepaPaymentMethodDetails";
|
|
10
10
|
import { StripeAcssDebitAccountPaymentMethodDetails } from "./StripeAcssDebitAccountPaymentMethodDetails";
|
|
11
|
+
import { StripeAuBecsDebitPaymentMethodDetails } from "./StripeAuBecsDebitPaymentMethodDetails";
|
|
11
12
|
export declare const StripeFcPaymentMethod: core.serialization.Schema<serializers.db.StripeFcPaymentMethod.Raw, TheraApi.db.StripeFcPaymentMethod>;
|
|
12
13
|
export declare namespace StripeFcPaymentMethod {
|
|
13
|
-
type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit;
|
|
14
|
+
type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit | StripeFcPaymentMethod.AuBecsDebit;
|
|
14
15
|
interface UsBankAccount extends StripeUsBankAccountPaymentMethodDetails.Raw {
|
|
15
16
|
type: "usBankAccount";
|
|
16
17
|
}
|
|
@@ -23,4 +24,7 @@ export declare namespace StripeFcPaymentMethod {
|
|
|
23
24
|
interface AcssDebit extends StripeAcssDebitAccountPaymentMethodDetails.Raw {
|
|
24
25
|
type: "acssDebit";
|
|
25
26
|
}
|
|
27
|
+
interface AuBecsDebit extends StripeAuBecsDebitPaymentMethodDetails.Raw {
|
|
28
|
+
type: "auBecsDebit";
|
|
29
|
+
}
|
|
26
30
|
}
|
|
@@ -42,12 +42,14 @@ const StripeUsBankAccountPaymentMethodDetails_1 = require("./StripeUsBankAccount
|
|
|
42
42
|
const StripeCardPaymentMethodDetails_1 = require("./StripeCardPaymentMethodDetails");
|
|
43
43
|
const StripeSepaPaymentMethodDetails_1 = require("./StripeSepaPaymentMethodDetails");
|
|
44
44
|
const StripeAcssDebitAccountPaymentMethodDetails_1 = require("./StripeAcssDebitAccountPaymentMethodDetails");
|
|
45
|
+
const StripeAuBecsDebitPaymentMethodDetails_1 = require("./StripeAuBecsDebitPaymentMethodDetails");
|
|
45
46
|
exports.StripeFcPaymentMethod = core.serialization
|
|
46
47
|
.union("type", {
|
|
47
48
|
usBankAccount: StripeUsBankAccountPaymentMethodDetails_1.StripeUsBankAccountPaymentMethodDetails,
|
|
48
49
|
card: StripeCardPaymentMethodDetails_1.StripeCardPaymentMethodDetails,
|
|
49
50
|
sepa: StripeSepaPaymentMethodDetails_1.StripeSepaPaymentMethodDetails,
|
|
50
51
|
acssDebit: StripeAcssDebitAccountPaymentMethodDetails_1.StripeAcssDebitAccountPaymentMethodDetails,
|
|
52
|
+
auBecsDebit: StripeAuBecsDebitPaymentMethodDetails_1.StripeAuBecsDebitPaymentMethodDetails,
|
|
51
53
|
})
|
|
52
54
|
.transform({
|
|
53
55
|
transform: (value) => value,
|
|
@@ -8,5 +8,6 @@ export * from "./StripeFcPaymentMethod";
|
|
|
8
8
|
export * from "./StripeSepaPaymentMethodDetails";
|
|
9
9
|
export * from "./StripeUsBankAccountPaymentMethodDetails";
|
|
10
10
|
export * from "./StripeAcssDebitAccountPaymentMethodDetails";
|
|
11
|
+
export * from "./StripeAuBecsDebitPaymentMethodDetails";
|
|
11
12
|
export * from "./StripeBankAccountVerificationStatus";
|
|
12
13
|
export * from "./StripeCardPaymentMethodDetails";
|
|
@@ -24,5 +24,6 @@ __exportStar(require("./StripeFcPaymentMethod"), exports);
|
|
|
24
24
|
__exportStar(require("./StripeSepaPaymentMethodDetails"), exports);
|
|
25
25
|
__exportStar(require("./StripeUsBankAccountPaymentMethodDetails"), exports);
|
|
26
26
|
__exportStar(require("./StripeAcssDebitAccountPaymentMethodDetails"), exports);
|
|
27
|
+
__exportStar(require("./StripeAuBecsDebitPaymentMethodDetails"), exports);
|
|
27
28
|
__exportStar(require("./StripeBankAccountVerificationStatus"), exports);
|
|
28
29
|
__exportStar(require("./StripeCardPaymentMethodDetails"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2895-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2895-dev-anthony";
|
package/version.js
CHANGED
|
@@ -1,13 +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 WalletHistory {
|
|
6
|
-
amount?: string;
|
|
7
|
-
developerFee?: string;
|
|
8
|
-
createdAt?: string;
|
|
9
|
-
updatedAt?: string;
|
|
10
|
-
customerId?: string;
|
|
11
|
-
source: TheraApi.api.thera.bridge.WalletHistorySource;
|
|
12
|
-
destination: TheraApi.api.thera.bridge.WalletHistoryDestination;
|
|
13
|
-
}
|
|
@@ -1,13 +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 WalletHistory {
|
|
6
|
-
amount?: string;
|
|
7
|
-
developerFee?: string;
|
|
8
|
-
createdAt?: string;
|
|
9
|
-
updatedAt?: string;
|
|
10
|
-
customerId?: string;
|
|
11
|
-
source: TheraApi.api.thera.bridge.WalletHistorySource;
|
|
12
|
-
destination: TheraApi.api.thera.bridge.WalletHistoryDestination;
|
|
13
|
-
}
|
|
@@ -1,20 +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 { WalletHistorySource } from "./WalletHistorySource";
|
|
8
|
-
import { WalletHistoryDestination } from "./WalletHistoryDestination";
|
|
9
|
-
export declare const WalletHistory: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistory.Raw, TheraApi.api.thera.bridge.WalletHistory>;
|
|
10
|
-
export declare namespace WalletHistory {
|
|
11
|
-
interface Raw {
|
|
12
|
-
amount?: string | null;
|
|
13
|
-
developer_fee?: string | null;
|
|
14
|
-
created_at?: string | null;
|
|
15
|
-
updated_at?: string | null;
|
|
16
|
-
customer_id?: string | null;
|
|
17
|
-
source: WalletHistorySource.Raw;
|
|
18
|
-
destination: WalletHistoryDestination.Raw;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,51 +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.WalletHistory = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const WalletHistorySource_1 = require("./WalletHistorySource");
|
|
42
|
-
const WalletHistoryDestination_1 = require("./WalletHistoryDestination");
|
|
43
|
-
exports.WalletHistory = core.serialization.object({
|
|
44
|
-
amount: core.serialization.string().optional(),
|
|
45
|
-
developerFee: core.serialization.property("developer_fee", core.serialization.string().optional()),
|
|
46
|
-
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
47
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
|
|
48
|
-
customerId: core.serialization.property("customer_id", core.serialization.string().optional()),
|
|
49
|
-
source: WalletHistorySource_1.WalletHistorySource,
|
|
50
|
-
destination: WalletHistoryDestination_1.WalletHistoryDestination,
|
|
51
|
-
});
|
|
@@ -1,13 +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 WalletHistoryDestination: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryDestination.Raw, TheraApi.api.thera.bridge.WalletHistoryDestination>;
|
|
8
|
-
export declare namespace WalletHistoryDestination {
|
|
9
|
-
interface Raw {
|
|
10
|
-
currency?: string | null;
|
|
11
|
-
payment_rail?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +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 { WalletHistory } from "./WalletHistory";
|
|
8
|
-
export declare const WalletHistoryResponse: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryResponse.Raw, TheraApi.api.thera.bridge.WalletHistoryResponse>;
|
|
9
|
-
export declare namespace WalletHistoryResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
count: number;
|
|
12
|
-
data: WalletHistory.Raw[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,13 +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 WalletHistorySource: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistorySource.Raw, TheraApi.api.thera.bridge.WalletHistorySource>;
|
|
8
|
-
export declare namespace WalletHistorySource {
|
|
9
|
-
interface Raw {
|
|
10
|
-
currency?: string | null;
|
|
11
|
-
payment_rail?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,20 +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 { WalletHistorySource } from "./WalletHistorySource";
|
|
8
|
-
import { WalletHistoryDestination } from "./WalletHistoryDestination";
|
|
9
|
-
export declare const WalletHistory: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistory.Raw, TheraApi.api.thera.bridge.WalletHistory>;
|
|
10
|
-
export declare namespace WalletHistory {
|
|
11
|
-
interface Raw {
|
|
12
|
-
amount?: string | null;
|
|
13
|
-
developer_fee?: string | null;
|
|
14
|
-
created_at?: string | null;
|
|
15
|
-
updated_at?: string | null;
|
|
16
|
-
customer_id?: string | null;
|
|
17
|
-
source: WalletHistorySource.Raw;
|
|
18
|
-
destination: WalletHistoryDestination.Raw;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,51 +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.WalletHistory = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const WalletHistorySource_1 = require("./WalletHistorySource");
|
|
42
|
-
const WalletHistoryDestination_1 = require("./WalletHistoryDestination");
|
|
43
|
-
exports.WalletHistory = core.serialization.object({
|
|
44
|
-
amount: core.serialization.string().optional(),
|
|
45
|
-
developerFee: core.serialization.property("developer_fee", core.serialization.string().optional()),
|
|
46
|
-
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
47
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
|
|
48
|
-
customerId: core.serialization.property("customer_id", core.serialization.string().optional()),
|
|
49
|
-
source: WalletHistorySource_1.WalletHistorySource,
|
|
50
|
-
destination: WalletHistoryDestination_1.WalletHistoryDestination,
|
|
51
|
-
});
|
|
@@ -1,13 +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 WalletHistoryDestination: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryDestination.Raw, TheraApi.api.thera.bridge.WalletHistoryDestination>;
|
|
8
|
-
export declare namespace WalletHistoryDestination {
|
|
9
|
-
interface Raw {
|
|
10
|
-
currency?: string | null;
|
|
11
|
-
payment_rail?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +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 { WalletHistory } from "./WalletHistory";
|
|
8
|
-
export declare const WalletHistoryResponse: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryResponse.Raw, TheraApi.api.thera.bridge.WalletHistoryResponse>;
|
|
9
|
-
export declare namespace WalletHistoryResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
count: number;
|
|
12
|
-
data: WalletHistory.Raw[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,45 +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.WalletHistoryResponse = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
const WalletHistory_1 = require("./WalletHistory");
|
|
42
|
-
exports.WalletHistoryResponse = core.serialization.object({
|
|
43
|
-
count: core.serialization.number(),
|
|
44
|
-
data: core.serialization.list(WalletHistory_1.WalletHistory),
|
|
45
|
-
});
|
|
@@ -1,13 +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 WalletHistorySource: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistorySource.Raw, TheraApi.api.thera.bridge.WalletHistorySource>;
|
|
8
|
-
export declare namespace WalletHistorySource {
|
|
9
|
-
interface Raw {
|
|
10
|
-
currency?: string | null;
|
|
11
|
-
payment_rail?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|