@thera-hr/api-sdk 0.0.1-prerelease2908-production → 0.0.1-prerelease2908-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.
Files changed (156) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  16. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  17. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  18. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  21. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  22. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  24. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  25. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  26. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  27. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  28. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  29. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  30. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  31. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +1 -2
  32. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -12
  33. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +0 -1
  34. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  35. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  36. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
  37. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
  38. package/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  39. package/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  40. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  41. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  42. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  43. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  44. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  45. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  46. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
  47. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
  48. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
  49. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
  50. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  52. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
  53. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
  54. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  55. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  56. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  57. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  58. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  59. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  60. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  61. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  62. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  63. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  64. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  65. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  66. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  67. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  68. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  69. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  70. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +1 -2
  71. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -12
  72. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +0 -1
  73. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  74. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  75. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
  76. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
  77. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  78. package/dist/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  79. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
  80. package/dist/serialization/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryResponse.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -5
  81. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
  82. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
  83. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
  84. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
  85. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
  86. package/{serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js} +5 -4
  87. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  88. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  89. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  90. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  91. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +0 -1
  92. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +0 -1
  93. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  94. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
  95. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
  96. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +47 -0
  97. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
  98. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
  99. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  100. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  101. package/dist/version.d.ts +1 -1
  102. package/dist/version.js +1 -1
  103. package/package.json +1 -1
  104. package/reference.md +0 -64
  105. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
  106. package/{dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -4
  107. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
  108. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
  109. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
  110. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
  111. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
  112. package/{dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js} +5 -4
  113. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  114. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  115. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  116. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  117. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +0 -1
  118. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +0 -1
  119. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  120. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
  121. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
  122. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +47 -0
  123. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
  124. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
  125. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  126. package/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
  129. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
  130. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
  131. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
  132. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
  133. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
  134. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
  135. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
  136. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +0 -5
  137. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
  138. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +0 -5
  139. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
  140. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
  141. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
  142. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
  143. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
  144. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
  145. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
  146. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
  147. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
  148. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +0 -45
  149. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
  150. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +0 -44
  151. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistory.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
  152. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryDestination.js → bank/resources/bankApi/types/W2SubscriptionPayIn.js} +0 -0
  153. /package/api/resources/{api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js → db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +0 -0
  154. /package/{api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
  155. /package/dist/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistory.js → bank/resources/bankApi/types/W2SubscriptionPayIn.js} +0 -0
  156. /package/dist/api/resources/{api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +0 -0
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface WalletHistorySource {
5
- currency?: string;
6
- paymentRail?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- }
@@ -1,44 +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.WalletHistorySource = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.WalletHistorySource = core.serialization.object({
42
- currency: core.serialization.string().optional(),
43
- paymentRail: core.serialization.property("payment_rail", core.serialization.string().optional()),
44
- });