@thera-hr/api-sdk 0.0.1-prerelease2996-dev-anthony → 0.0.1-prerelease2998-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 (166) 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/HistoricPaymentDetail.d.ts +4 -1
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -1
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +10 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
  16. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
  17. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
  18. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +5 -0
  19. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  20. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  21. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  22. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  24. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  25. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  26. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  27. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  28. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  29. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  30. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  31. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  32. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  33. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  34. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  35. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +5 -1
  36. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +15 -11
  37. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  39. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  40. package/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
  41. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  42. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  43. package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  44. package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  45. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  46. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  47. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  48. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  49. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  50. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
  52. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  53. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
  54. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js +5 -0
  55. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -1
  56. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -1
  57. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +10 -0
  58. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
  59. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
  60. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +5 -0
  61. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
  62. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +5 -0
  63. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
  64. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +5 -0
  65. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
  66. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +5 -0
  67. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  68. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  69. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  71. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  72. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  73. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  74. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  75. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  76. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  77. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  79. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  80. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  81. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  82. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  83. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +5 -1
  84. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +15 -11
  85. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +3 -0
  86. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  87. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  88. package/dist/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
  89. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  90. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  91. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  92. package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  93. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
  94. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
  95. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  96. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  97. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
  98. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{AuBecsDebitPaymentMethodResponse.js → W2SubscriptionPayIn.js} +5 -6
  99. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -1
  100. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -1
  101. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
  102. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +51 -0
  103. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
  104. package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +4 -6
  105. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
  106. package/dist/serialization/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +6 -8
  107. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
  108. package/{serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js} +5 -8
  109. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  110. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  111. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  112. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  113. package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
  114. package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -0
  115. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  116. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  117. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  118. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  119. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  120. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +1 -1
  124. package/reference.md +67 -0
  125. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
  126. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
  127. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  128. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  129. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
  130. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js +45 -0
  131. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -1
  132. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -1
  133. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
  134. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +51 -0
  135. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
  136. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +44 -0
  137. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
  138. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +45 -0
  139. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
  140. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +44 -0
  141. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  142. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  143. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  144. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  145. package/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
  146. package/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -0
  147. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  148. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  149. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  150. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  151. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  152. package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  153. package/version.d.ts +1 -1
  154. package/version.js +1 -1
  155. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  156. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  157. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  158. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  159. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  160. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  161. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  162. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  163. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/{AuBecsDebitPaymentMethodResponse.js → W2SubscriptionPayIn.js} +0 -0
  164. /package/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
  165. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
  166. /package/{dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
@@ -36,12 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
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,
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),
47
45
  });
@@ -0,0 +1,13 @@
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
+ }
@@ -36,12 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
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,
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()),
47
44
  });
@@ -35,3 +35,7 @@ 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,3 +51,7 @@ __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);
@@ -13,5 +13,6 @@ export declare namespace ProcessFundsTransfer {
13
13
  paymentMethodId: string;
14
14
  secCode?: string | null;
15
15
  service: string;
16
+ revenueAmount?: string | null;
16
17
  }
17
18
  }
@@ -45,4 +45,5 @@ exports.ProcessFundsTransfer = core.serialization.object({
45
45
  paymentMethodId: core.serialization.string(),
46
46
  secCode: core.serialization.string().optional(),
47
47
  service: core.serialization.string(),
48
+ revenueAmount: core.serialization.string().optional(),
48
49
  });
@@ -19,6 +19,7 @@ export declare namespace CompanyBeneficiary {
19
19
  tin: string;
20
20
  ownershipPercentage: number;
21
21
  title: string;
22
+ makeOrgAdmin?: boolean | null;
22
23
  isControlPerson: boolean;
23
24
  }
24
25
  }
@@ -51,5 +51,6 @@ exports.CompanyBeneficiary = core.serialization.object({
51
51
  tin: core.serialization.string(),
52
52
  ownershipPercentage: core.serialization.number(),
53
53
  title: core.serialization.string(),
54
+ makeOrgAdmin: core.serialization.boolean().optional(),
54
55
  isControlPerson: core.serialization.boolean(),
55
56
  });
@@ -15,5 +15,6 @@ 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;
18
19
  }
19
20
  }
@@ -47,4 +47,5 @@ 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(),
50
51
  });
@@ -8,10 +8,9 @@ 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";
12
11
  export declare const StripeFcPaymentMethod: core.serialization.Schema<serializers.db.StripeFcPaymentMethod.Raw, TheraApi.db.StripeFcPaymentMethod>;
13
12
  export declare namespace StripeFcPaymentMethod {
14
- type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit | StripeFcPaymentMethod.AuBecsDebit;
13
+ type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit;
15
14
  interface UsBankAccount extends StripeUsBankAccountPaymentMethodDetails.Raw {
16
15
  type: "usBankAccount";
17
16
  }
@@ -24,7 +23,4 @@ export declare namespace StripeFcPaymentMethod {
24
23
  interface AcssDebit extends StripeAcssDebitAccountPaymentMethodDetails.Raw {
25
24
  type: "acssDebit";
26
25
  }
27
- interface AuBecsDebit extends StripeAuBecsDebitPaymentMethodDetails.Raw {
28
- type: "auBecsDebit";
29
- }
30
26
  }
@@ -42,14 +42,12 @@ 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");
46
45
  exports.StripeFcPaymentMethod = core.serialization
47
46
  .union("type", {
48
47
  usBankAccount: StripeUsBankAccountPaymentMethodDetails_1.StripeUsBankAccountPaymentMethodDetails,
49
48
  card: StripeCardPaymentMethodDetails_1.StripeCardPaymentMethodDetails,
50
49
  sepa: StripeSepaPaymentMethodDetails_1.StripeSepaPaymentMethodDetails,
51
50
  acssDebit: StripeAcssDebitAccountPaymentMethodDetails_1.StripeAcssDebitAccountPaymentMethodDetails,
52
- auBecsDebit: StripeAuBecsDebitPaymentMethodDetails_1.StripeAuBecsDebitPaymentMethodDetails,
53
51
  })
54
52
  .transform({
55
53
  transform: (value) => value,
@@ -8,6 +8,5 @@ export * from "./StripeFcPaymentMethod";
8
8
  export * from "./StripeSepaPaymentMethodDetails";
9
9
  export * from "./StripeUsBankAccountPaymentMethodDetails";
10
10
  export * from "./StripeAcssDebitAccountPaymentMethodDetails";
11
- export * from "./StripeAuBecsDebitPaymentMethodDetails";
12
11
  export * from "./StripeBankAccountVerificationStatus";
13
12
  export * from "./StripeCardPaymentMethodDetails";
@@ -24,6 +24,5 @@ __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);
28
27
  __exportStar(require("./StripeBankAccountVerificationStatus"), exports);
29
28
  __exportStar(require("./StripeCardPaymentMethodDetails"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease2996-dev-anthony";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2998-dev-anthony";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease2996-dev-anthony";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2998-dev-anthony";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2996-dev-anthony",
3
+ "version": "0.0.1-prerelease2998-dev-anthony",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -3719,6 +3719,69 @@ await client.api.thera.bridge.bridgeApi.listWallets("string");
3719
3719
  </dl>
3720
3720
  </details>
3721
3721
 
3722
+ <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">walletsTransactionHistory</a>(walletId) -> TheraApi.WalletHistoryResponse</code></summary>
3723
+ <dl>
3724
+ <dd>
3725
+
3726
+ #### 📝 Description
3727
+
3728
+ <dl>
3729
+ <dd>
3730
+
3731
+ <dl>
3732
+ <dd>
3733
+
3734
+ Retrieves all wallets associated with a customer.
3735
+
3736
+ </dd>
3737
+ </dl>
3738
+ </dd>
3739
+ </dl>
3740
+
3741
+ #### 🔌 Usage
3742
+
3743
+ <dl>
3744
+ <dd>
3745
+
3746
+ <dl>
3747
+ <dd>
3748
+
3749
+ ```typescript
3750
+ await client.api.thera.bridge.bridgeApi.walletsTransactionHistory("string");
3751
+ ```
3752
+
3753
+ </dd>
3754
+ </dl>
3755
+ </dd>
3756
+ </dl>
3757
+
3758
+ #### ⚙️ Parameters
3759
+
3760
+ <dl>
3761
+ <dd>
3762
+
3763
+ <dl>
3764
+ <dd>
3765
+
3766
+ **walletId:** `string`
3767
+
3768
+ </dd>
3769
+ </dl>
3770
+
3771
+ <dl>
3772
+ <dd>
3773
+
3774
+ **requestOptions:** `BridgeApi.RequestOptions`
3775
+
3776
+ </dd>
3777
+ </dl>
3778
+ </dd>
3779
+ </dl>
3780
+
3781
+ </dd>
3782
+ </dl>
3783
+ </details>
3784
+
3722
3785
  <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">transferFunds</a>({ ...params }) -> TheraApi.TransferFundsResponse</code></summary>
3723
3786
  <dl>
3724
3787
  <dd>
@@ -10496,6 +10559,9 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
10496
10559
  tin: "string",
10497
10560
  ownershipPercentage: 1,
10498
10561
  title: "string",
10562
+ makeOrgAdmin: {
10563
+ key: "value",
10564
+ },
10499
10565
  isControlPerson: true,
10500
10566
  },
10501
10567
  beneficiaries: [
@@ -10639,6 +10705,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10639
10705
  paymentMethodId: "string",
10640
10706
  secCode: "string",
10641
10707
  service: "string",
10708
+ revenueAmount: "string",
10642
10709
  });
10643
10710
  ```
10644
10711
 
@@ -6,13 +6,17 @@ import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
7
  import { InvoicePayment } from "./InvoicePayment";
8
8
  import { EorPayIn } from "./EorPayIn";
9
+ import { W2SubscriptionPayIn } from "./W2SubscriptionPayIn";
9
10
  export declare const HistoricPaymentDetail: core.serialization.Schema<serializers.api.thera.bank.HistoricPaymentDetail.Raw, TheraApi.api.thera.bank.HistoricPaymentDetail>;
10
11
  export declare namespace HistoricPaymentDetail {
11
- type Raw = HistoricPaymentDetail.InvoicePayment | HistoricPaymentDetail.EorPayIn;
12
+ type Raw = HistoricPaymentDetail.InvoicePayment | HistoricPaymentDetail.EorPayIn | HistoricPaymentDetail.W2SubscriptionFee;
12
13
  interface InvoicePayment extends InvoicePayment.Raw {
13
14
  type: "invoicePayment";
14
15
  }
15
16
  interface EorPayIn extends EorPayIn.Raw {
16
17
  type: "eorPayIn";
17
18
  }
19
+ interface W2SubscriptionFee extends W2SubscriptionPayIn.Raw {
20
+ type: "w2SubscriptionFee";
21
+ }
18
22
  }
@@ -40,10 +40,12 @@ exports.HistoricPaymentDetail = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
41
  const InvoicePayment_1 = require("./InvoicePayment");
42
42
  const EorPayIn_1 = require("./EorPayIn");
43
+ const W2SubscriptionPayIn_1 = require("./W2SubscriptionPayIn");
43
44
  exports.HistoricPaymentDetail = core.serialization
44
45
  .union("type", {
45
46
  invoicePayment: InvoicePayment_1.InvoicePayment,
46
47
  eorPayIn: EorPayIn_1.EorPayIn,
48
+ w2SubscriptionFee: W2SubscriptionPayIn_1.W2SubscriptionPayIn,
47
49
  })
48
50
  .transform({
49
51
  transform: (value) => value,
@@ -8,10 +8,9 @@ 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";
12
11
  export declare const PaymentMethodDetailsResponse: core.serialization.Schema<serializers.api.thera.bank.PaymentMethodDetailsResponse.Raw, TheraApi.api.thera.bank.PaymentMethodDetailsResponse>;
13
12
  export declare namespace PaymentMethodDetailsResponse {
14
- type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit | PaymentMethodDetailsResponse.AuBecsDebit;
13
+ type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit;
15
14
  interface Card extends CardPaymentMethodResponse.Raw {
16
15
  type: "card";
17
16
  }
@@ -24,7 +23,4 @@ export declare namespace PaymentMethodDetailsResponse {
24
23
  interface AcssDebit extends AcssDebitPaymentMethodResponse.Raw {
25
24
  type: "acssDebit";
26
25
  }
27
- interface AuBecsDebit extends AuBecsDebitPaymentMethodResponse.Raw {
28
- type: "auBecsDebit";
29
- }
30
26
  }
@@ -42,14 +42,12 @@ 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");
46
45
  exports.PaymentMethodDetailsResponse = core.serialization
47
46
  .union("type", {
48
47
  card: CardPaymentMethodResponse_1.CardPaymentMethodResponse,
49
48
  usBankAccount: UsBankAccountPaymentMethodResponse_1.UsBankAccountPaymentMethodResponse,
50
49
  sepaBankAccount: SepaPaymentMethodResponse_1.SepaPaymentMethodResponse,
51
50
  acssDebit: AcssDebitPaymentMethodResponse_1.AcssDebitPaymentMethodResponse,
52
- auBecsDebit: AuBecsDebitPaymentMethodResponse_1.AuBecsDebitPaymentMethodResponse,
53
51
  })
54
52
  .transform({
55
53
  transform: (value) => value,
@@ -0,0 +1,14 @@
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 W2SubscriptionPayIn: core.serialization.ObjectSchema<serializers.api.thera.bank.W2SubscriptionPayIn.Raw, TheraApi.api.thera.bank.W2SubscriptionPayIn>;
8
+ export declare namespace W2SubscriptionPayIn {
9
+ interface Raw {
10
+ companySubscriptionMonthlyFeeAmount: number;
11
+ companySubscriptionPerEmployeeMonthlyFeeAmount: number;
12
+ numberOfEmployeeCharged: number;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.W2SubscriptionPayIn = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.W2SubscriptionPayIn = core.serialization.object({
42
+ companySubscriptionMonthlyFeeAmount: core.serialization.number(),
43
+ companySubscriptionPerEmployeeMonthlyFeeAmount: core.serialization.number(),
44
+ numberOfEmployeeCharged: core.serialization.number(),
45
+ });
@@ -8,7 +8,6 @@ export * from "./PaymentMethodProvider";
8
8
  export * from "./PaymentMethodDetailsResponse";
9
9
  export * from "./SepaPaymentMethodResponse";
10
10
  export * from "./AcssDebitPaymentMethodResponse";
11
- export * from "./AuBecsDebitPaymentMethodResponse";
12
11
  export * from "./CardPaymentMethodResponse";
13
12
  export * from "./UsBankAccountPaymentMethodResponse";
14
13
  export * from "./UsBankAccountProviderDetails";
@@ -44,6 +43,7 @@ export * from "./GetPayInHistoryResponse";
44
43
  export * from "./HistoricalPayIn";
45
44
  export * from "./HistoricPayment";
46
45
  export * from "./HistoricPaymentDetail";
46
+ export * from "./W2SubscriptionPayIn";
47
47
  export * from "./EorPayIn";
48
48
  export * from "./InvoicePayment";
49
49
  export * from "./GetPayInDetailsResponse";
@@ -24,7 +24,6 @@ __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);
28
27
  __exportStar(require("./CardPaymentMethodResponse"), exports);
29
28
  __exportStar(require("./UsBankAccountPaymentMethodResponse"), exports);
30
29
  __exportStar(require("./UsBankAccountProviderDetails"), exports);
@@ -60,6 +59,7 @@ __exportStar(require("./GetPayInHistoryResponse"), exports);
60
59
  __exportStar(require("./HistoricalPayIn"), exports);
61
60
  __exportStar(require("./HistoricPayment"), exports);
62
61
  __exportStar(require("./HistoricPaymentDetail"), exports);
62
+ __exportStar(require("./W2SubscriptionPayIn"), exports);
63
63
  __exportStar(require("./EorPayIn"), exports);
64
64
  __exportStar(require("./InvoicePayment"), exports);
65
65
  __exportStar(require("./GetPayInDetailsResponse"), exports);
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,51 @@
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
+ });
@@ -0,0 +1,13 @@
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
+ }
@@ -0,0 +1,44 @@
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.WalletHistoryDestination = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.WalletHistoryDestination = core.serialization.object({
42
+ currency: core.serialization.string().optional(),
43
+ paymentRail: core.serialization.property("payment_rail", core.serialization.string().optional()),
44
+ });
@@ -0,0 +1,14 @@
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
+ }