@thera-hr/api-sdk 1.1.1-prerelease2394-dev-2 → 1.1.1-prerelease2394-dev-3

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 (130) 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.d.ts +0 -62
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +38 -310
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -4
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  12. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  13. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  14. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  15. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  16. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  17. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  19. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  20. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  21. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  23. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  24. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  25. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  26. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  27. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  28. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  29. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  30. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  31. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  32. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  33. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  34. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  35. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  36. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +0 -62
  37. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +38 -310
  38. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -4
  39. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
  40. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
  41. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  42. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  43. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  44. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  45. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  46. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  47. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  48. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  49. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  50. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  51. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  52. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  53. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  54. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  55. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  56. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  57. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  58. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  59. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  60. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  61. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
  62. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
  63. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
  64. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +1 -1
  67. package/package.json +1 -1
  68. package/reference.md +0 -330
  69. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
  70. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
  71. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -3
  72. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -3
  73. package/version.d.ts +1 -1
  74. package/version.js +1 -1
  75. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
  76. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js +0 -5
  77. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
  78. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js +0 -5
  79. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
  80. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js +0 -5
  81. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
  82. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js +0 -5
  83. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  84. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
  85. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  86. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
  87. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  88. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
  89. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
  90. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js +0 -5
  91. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
  92. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js +0 -5
  93. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
  94. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js +0 -5
  95. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
  96. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js +0 -5
  97. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  98. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
  99. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  100. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
  101. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  102. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
  103. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
  104. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js +0 -41
  105. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
  106. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
  107. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
  108. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js +0 -41
  109. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
  110. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
  111. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  112. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  113. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  114. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
  115. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  116. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -56
  117. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
  118. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js +0 -41
  119. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
  120. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
  121. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
  122. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js +0 -41
  123. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
  124. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
  125. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  126. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  127. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  128. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
  129. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  130. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -56
@@ -1,7 +1,3 @@
1
1
  export * as getPlaidBankDetails from "./getPlaidBankDetails";
2
2
  export * as getSupportedWithdrawalMethods from "./getSupportedWithdrawalMethods";
3
- export * as exportWorkerInvoicesCsv from "./exportWorkerInvoicesCsv";
4
- export * as exportWorkerInvoicesJson from "./exportWorkerInvoicesJson";
5
- export * as exportWorkerWithdrawalsCsv from "./exportWorkerWithdrawalsCsv";
6
- export * as exportWorkerWithdrawalsJson from "./exportWorkerWithdrawalsJson";
7
3
  export * from "./requests";
@@ -36,11 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.exportWorkerWithdrawalsJson = exports.exportWorkerWithdrawalsCsv = exports.exportWorkerInvoicesJson = exports.exportWorkerInvoicesCsv = exports.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
39
+ exports.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
40
40
  exports.getPlaidBankDetails = __importStar(require("./getPlaidBankDetails"));
41
41
  exports.getSupportedWithdrawalMethods = __importStar(require("./getSupportedWithdrawalMethods"));
42
- exports.exportWorkerInvoicesCsv = __importStar(require("./exportWorkerInvoicesCsv"));
43
- exports.exportWorkerInvoicesJson = __importStar(require("./exportWorkerInvoicesJson"));
44
- exports.exportWorkerWithdrawalsCsv = __importStar(require("./exportWorkerWithdrawalsCsv"));
45
- exports.exportWorkerWithdrawalsJson = __importStar(require("./exportWorkerWithdrawalsJson"));
46
42
  __exportStar(require("./requests"), exports);
@@ -73,6 +73,3 @@ export * from "./SetAutoWithdrawalResponse";
73
73
  export * from "./WorkerTransactionStatus";
74
74
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
75
75
  export * from "./GetPayInCountResponse";
76
- export * from "./ExportedInvoice";
77
- export * from "./ExportedInvoiceDeduction";
78
- export * from "./ExportedWithdrawal";
@@ -89,6 +89,3 @@ __exportStar(require("./SetAutoWithdrawalResponse"), exports);
89
89
  __exportStar(require("./WorkerTransactionStatus"), exports);
90
90
  __exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
91
91
  __exportStar(require("./GetPayInCountResponse"), exports);
92
- __exportStar(require("./ExportedInvoice"), exports);
93
- __exportStar(require("./ExportedInvoiceDeduction"), exports);
94
- __exportStar(require("./ExportedWithdrawal"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.1-prerelease2394-dev-2";
1
+ export declare const SDK_VERSION = "1.1.1-prerelease2394-dev-3";
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 = "1.1.1-prerelease2394-dev-2";
4
+ exports.SDK_VERSION = "1.1.1-prerelease2394-dev-3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "1.1.1-prerelease2394-dev-2",
3
+ "version": "1.1.1-prerelease2394-dev-3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -2664,336 +2664,6 @@ await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string",
2664
2664
  </dl>
2665
2665
  </details>
2666
2666
 
2667
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerInvoicesCsv</a>(userId, companyId, { ...params }) -> string</code></summary>
2668
- <dl>
2669
- <dd>
2670
-
2671
- #### 📝 Description
2672
-
2673
- <dl>
2674
- <dd>
2675
-
2676
- <dl>
2677
- <dd>
2678
-
2679
- Export worker invoices as CSV with optional filtering by contracts and date range
2680
-
2681
- </dd>
2682
- </dl>
2683
- </dd>
2684
- </dl>
2685
-
2686
- #### 🔌 Usage
2687
-
2688
- <dl>
2689
- <dd>
2690
-
2691
- <dl>
2692
- <dd>
2693
-
2694
- ```typescript
2695
- await client.api.thera.bank.bankApi.exportWorkerInvoicesCsv("string", "string", {
2696
- contractIds: "string",
2697
- startDate: "2023-01-15",
2698
- endDate: "2023-01-15",
2699
- });
2700
- ```
2701
-
2702
- </dd>
2703
- </dl>
2704
- </dd>
2705
- </dl>
2706
-
2707
- #### ⚙️ Parameters
2708
-
2709
- <dl>
2710
- <dd>
2711
-
2712
- <dl>
2713
- <dd>
2714
-
2715
- **userId:** `string`
2716
-
2717
- </dd>
2718
- </dl>
2719
-
2720
- <dl>
2721
- <dd>
2722
-
2723
- **companyId:** `string`
2724
-
2725
- </dd>
2726
- </dl>
2727
-
2728
- <dl>
2729
- <dd>
2730
-
2731
- **request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesCsvRequest`
2732
-
2733
- </dd>
2734
- </dl>
2735
-
2736
- <dl>
2737
- <dd>
2738
-
2739
- **requestOptions:** `BankApi.RequestOptions`
2740
-
2741
- </dd>
2742
- </dl>
2743
- </dd>
2744
- </dl>
2745
-
2746
- </dd>
2747
- </dl>
2748
- </details>
2749
-
2750
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerInvoicesJson</a>(userId, companyId, { ...params }) -> TheraApi.ExportedInvoice[]</code></summary>
2751
- <dl>
2752
- <dd>
2753
-
2754
- #### 📝 Description
2755
-
2756
- <dl>
2757
- <dd>
2758
-
2759
- <dl>
2760
- <dd>
2761
-
2762
- Export worker invoices as JSON array with optional filtering by contracts and date range
2763
-
2764
- </dd>
2765
- </dl>
2766
- </dd>
2767
- </dl>
2768
-
2769
- #### 🔌 Usage
2770
-
2771
- <dl>
2772
- <dd>
2773
-
2774
- <dl>
2775
- <dd>
2776
-
2777
- ```typescript
2778
- await client.api.thera.bank.bankApi.exportWorkerInvoicesJson("string", "string", {
2779
- contractIds: "string",
2780
- startDate: "2023-01-15",
2781
- endDate: "2023-01-15",
2782
- });
2783
- ```
2784
-
2785
- </dd>
2786
- </dl>
2787
- </dd>
2788
- </dl>
2789
-
2790
- #### ⚙️ Parameters
2791
-
2792
- <dl>
2793
- <dd>
2794
-
2795
- <dl>
2796
- <dd>
2797
-
2798
- **userId:** `string`
2799
-
2800
- </dd>
2801
- </dl>
2802
-
2803
- <dl>
2804
- <dd>
2805
-
2806
- **companyId:** `string`
2807
-
2808
- </dd>
2809
- </dl>
2810
-
2811
- <dl>
2812
- <dd>
2813
-
2814
- **request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesJsonRequest`
2815
-
2816
- </dd>
2817
- </dl>
2818
-
2819
- <dl>
2820
- <dd>
2821
-
2822
- **requestOptions:** `BankApi.RequestOptions`
2823
-
2824
- </dd>
2825
- </dl>
2826
- </dd>
2827
- </dl>
2828
-
2829
- </dd>
2830
- </dl>
2831
- </details>
2832
-
2833
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerWithdrawalsCsv</a>(userId, companyId, { ...params }) -> string</code></summary>
2834
- <dl>
2835
- <dd>
2836
-
2837
- #### 📝 Description
2838
-
2839
- <dl>
2840
- <dd>
2841
-
2842
- <dl>
2843
- <dd>
2844
-
2845
- Export worker withdrawals as CSV with optional filtering by date range
2846
-
2847
- </dd>
2848
- </dl>
2849
- </dd>
2850
- </dl>
2851
-
2852
- #### 🔌 Usage
2853
-
2854
- <dl>
2855
- <dd>
2856
-
2857
- <dl>
2858
- <dd>
2859
-
2860
- ```typescript
2861
- await client.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv("string", "string", {
2862
- startDate: "2023-01-15",
2863
- endDate: "2023-01-15",
2864
- });
2865
- ```
2866
-
2867
- </dd>
2868
- </dl>
2869
- </dd>
2870
- </dl>
2871
-
2872
- #### ⚙️ Parameters
2873
-
2874
- <dl>
2875
- <dd>
2876
-
2877
- <dl>
2878
- <dd>
2879
-
2880
- **userId:** `string`
2881
-
2882
- </dd>
2883
- </dl>
2884
-
2885
- <dl>
2886
- <dd>
2887
-
2888
- **companyId:** `string`
2889
-
2890
- </dd>
2891
- </dl>
2892
-
2893
- <dl>
2894
- <dd>
2895
-
2896
- **request:** `TheraApi.api.thera.bank.ExportWorkerWithdrawalsCsvRequest`
2897
-
2898
- </dd>
2899
- </dl>
2900
-
2901
- <dl>
2902
- <dd>
2903
-
2904
- **requestOptions:** `BankApi.RequestOptions`
2905
-
2906
- </dd>
2907
- </dl>
2908
- </dd>
2909
- </dl>
2910
-
2911
- </dd>
2912
- </dl>
2913
- </details>
2914
-
2915
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerWithdrawalsJson</a>(userId, companyId, { ...params }) -> TheraApi.ExportedWithdrawal[]</code></summary>
2916
- <dl>
2917
- <dd>
2918
-
2919
- #### 📝 Description
2920
-
2921
- <dl>
2922
- <dd>
2923
-
2924
- <dl>
2925
- <dd>
2926
-
2927
- Export worker withdrawals as JSON array with optional filtering by date range
2928
-
2929
- </dd>
2930
- </dl>
2931
- </dd>
2932
- </dl>
2933
-
2934
- #### 🔌 Usage
2935
-
2936
- <dl>
2937
- <dd>
2938
-
2939
- <dl>
2940
- <dd>
2941
-
2942
- ```typescript
2943
- await client.api.thera.bank.bankApi.exportWorkerWithdrawalsJson("string", "string", {
2944
- startDate: "2023-01-15",
2945
- endDate: "2023-01-15",
2946
- });
2947
- ```
2948
-
2949
- </dd>
2950
- </dl>
2951
- </dd>
2952
- </dl>
2953
-
2954
- #### ⚙️ Parameters
2955
-
2956
- <dl>
2957
- <dd>
2958
-
2959
- <dl>
2960
- <dd>
2961
-
2962
- **userId:** `string`
2963
-
2964
- </dd>
2965
- </dl>
2966
-
2967
- <dl>
2968
- <dd>
2969
-
2970
- **companyId:** `string`
2971
-
2972
- </dd>
2973
- </dl>
2974
-
2975
- <dl>
2976
- <dd>
2977
-
2978
- **request:** `TheraApi.api.thera.bank.ExportWorkerWithdrawalsJsonRequest`
2979
-
2980
- </dd>
2981
- </dl>
2982
-
2983
- <dl>
2984
- <dd>
2985
-
2986
- **requestOptions:** `BankApi.RequestOptions`
2987
-
2988
- </dd>
2989
- </dl>
2990
- </dd>
2991
- </dl>
2992
-
2993
- </dd>
2994
- </dl>
2995
- </details>
2996
-
2997
2667
  <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerWithdrawalDeliveryEstimate</a>(withdrawalId) -> TheraApi.GetWorkerWithdrawalDeliveryEstimate</code></summary>
2998
2668
  <dl>
2999
2669
  <dd>
@@ -1,7 +1,3 @@
1
1
  export * as getPlaidBankDetails from "./getPlaidBankDetails";
2
2
  export * as getSupportedWithdrawalMethods from "./getSupportedWithdrawalMethods";
3
- export * as exportWorkerInvoicesCsv from "./exportWorkerInvoicesCsv";
4
- export * as exportWorkerInvoicesJson from "./exportWorkerInvoicesJson";
5
- export * as exportWorkerWithdrawalsCsv from "./exportWorkerWithdrawalsCsv";
6
- export * as exportWorkerWithdrawalsJson from "./exportWorkerWithdrawalsJson";
7
3
  export * from "./requests";
@@ -36,11 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.exportWorkerWithdrawalsJson = exports.exportWorkerWithdrawalsCsv = exports.exportWorkerInvoicesJson = exports.exportWorkerInvoicesCsv = exports.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
39
+ exports.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
40
40
  exports.getPlaidBankDetails = __importStar(require("./getPlaidBankDetails"));
41
41
  exports.getSupportedWithdrawalMethods = __importStar(require("./getSupportedWithdrawalMethods"));
42
- exports.exportWorkerInvoicesCsv = __importStar(require("./exportWorkerInvoicesCsv"));
43
- exports.exportWorkerInvoicesJson = __importStar(require("./exportWorkerInvoicesJson"));
44
- exports.exportWorkerWithdrawalsCsv = __importStar(require("./exportWorkerWithdrawalsCsv"));
45
- exports.exportWorkerWithdrawalsJson = __importStar(require("./exportWorkerWithdrawalsJson"));
46
42
  __exportStar(require("./requests"), exports);
@@ -73,6 +73,3 @@ export * from "./SetAutoWithdrawalResponse";
73
73
  export * from "./WorkerTransactionStatus";
74
74
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
75
75
  export * from "./GetPayInCountResponse";
76
- export * from "./ExportedInvoice";
77
- export * from "./ExportedInvoiceDeduction";
78
- export * from "./ExportedWithdrawal";
@@ -89,6 +89,3 @@ __exportStar(require("./SetAutoWithdrawalResponse"), exports);
89
89
  __exportStar(require("./WorkerTransactionStatus"), exports);
90
90
  __exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
91
91
  __exportStar(require("./GetPayInCountResponse"), exports);
92
- __exportStar(require("./ExportedInvoice"), exports);
93
- __exportStar(require("./ExportedInvoiceDeduction"), exports);
94
- __exportStar(require("./ExportedWithdrawal"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.1-prerelease2394-dev-2";
1
+ export declare const SDK_VERSION = "1.1.1-prerelease2394-dev-3";
package/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 = "1.1.1-prerelease2394-dev-2";
4
+ exports.SDK_VERSION = "1.1.1-prerelease2394-dev-3";
@@ -1,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * contractIds: "string",
8
- * startDate: "2023-01-15",
9
- * endDate: "2023-01-15"
10
- * }
11
- */
12
- export interface ExportWorkerInvoicesCsvRequest {
13
- /**
14
- * Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
15
- */
16
- contractIds?: string;
17
- /**
18
- * Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
19
- */
20
- startDate?: string;
21
- /**
22
- * End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
23
- */
24
- endDate?: string;
25
- }
@@ -1,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,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * contractIds: "string",
8
- * startDate: "2023-01-15",
9
- * endDate: "2023-01-15"
10
- * }
11
- */
12
- export interface ExportWorkerInvoicesJsonRequest {
13
- /**
14
- * Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
15
- */
16
- contractIds?: string;
17
- /**
18
- * Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
19
- */
20
- startDate?: string;
21
- /**
22
- * End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
23
- */
24
- endDate?: string;
25
- }
@@ -1,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
- /**
5
- * @example
6
- * {
7
- * startDate: "2023-01-15",
8
- * endDate: "2023-01-15"
9
- * }
10
- */
11
- export interface ExportWorkerWithdrawalsCsvRequest {
12
- /**
13
- * Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
14
- */
15
- startDate?: string;
16
- /**
17
- * End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
18
- */
19
- endDate?: string;
20
- }
@@ -1,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
- /**
5
- * @example
6
- * {
7
- * startDate: "2023-01-15",
8
- * endDate: "2023-01-15"
9
- * }
10
- */
11
- export interface ExportWorkerWithdrawalsJsonRequest {
12
- /**
13
- * Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
14
- */
15
- startDate?: string;
16
- /**
17
- * End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
18
- */
19
- endDate?: string;
20
- }
@@ -1,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,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface ExportedInvoice {
6
- invoiceId?: string;
7
- displayId?: string;
8
- contractId: string;
9
- status?: string;
10
- type?: string;
11
- amount?: number;
12
- currency?: string;
13
- actualPaymentAmount?: number;
14
- actualPaymentCurrency?: string;
15
- creationDate?: string;
16
- paymentDate?: string;
17
- startDate?: string;
18
- endDate?: string;
19
- hoursOrWorkUnits?: number;
20
- rate?: number;
21
- deductions?: TheraApi.api.thera.bank.ExportedInvoiceDeduction[];
22
- description?: string;
23
- }
@@ -1,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,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ExportedInvoiceDeduction {
5
- id: string;
6
- amount?: number;
7
- currency?: string;
8
- description?: string;
9
- }
@@ -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,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ExportedWithdrawal {
5
- ledgerTransactionId: string;
6
- withdrawalMethodTitle?: string;
7
- withdrawalMethodId?: string;
8
- amount: number;
9
- currency: string;
10
- convertedAmount?: number;
11
- convertedCurrency?: string;
12
- timestamp: string;
13
- status?: string;
14
- feeCurrency?: string;
15
- flatFee?: number;
16
- variableFee?: number;
17
- exchangeRate?: number;
18
- exchangeFrom: number;
19
- }
@@ -1,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,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * contractIds: "string",
8
- * startDate: "2023-01-15",
9
- * endDate: "2023-01-15"
10
- * }
11
- */
12
- export interface ExportWorkerInvoicesCsvRequest {
13
- /**
14
- * Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
15
- */
16
- contractIds?: string;
17
- /**
18
- * Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
19
- */
20
- startDate?: string;
21
- /**
22
- * End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
23
- */
24
- endDate?: string;
25
- }
@@ -1,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 });