@thera-hr/api-sdk 1.1.1-prerelease2392-dev-2 → 1.1.1-prerelease2392-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 (118) 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 -33
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +38 -182
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -2
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -5
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -5
  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 -33
  37. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +38 -182
  38. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -2
  39. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -5
  40. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -5
  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/types/index.d.ts +0 -5
  62. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -5
  63. package/dist/version.d.ts +1 -1
  64. package/dist/version.js +1 -1
  65. package/package.json +1 -1
  66. package/reference.md +0 -167
  67. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -5
  68. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -5
  69. package/version.d.ts +1 -1
  70. package/version.js +1 -1
  71. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesRequest.d.ts +0 -30
  72. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesRequest.js +0 -5
  73. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsRequest.d.ts +0 -25
  74. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsRequest.js +0 -5
  75. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -15
  76. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.js +0 -5
  77. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -15
  78. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.js +0 -5
  79. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  80. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
  81. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  82. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
  83. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  84. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesRequest.d.ts +0 -30
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesRequest.js +0 -5
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsRequest.d.ts +0 -25
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsRequest.js +0 -5
  89. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -15
  90. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.js +0 -5
  91. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -15
  92. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.js +0 -5
  93. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  94. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
  95. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  96. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
  97. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  98. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
  99. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -19
  100. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.js +0 -54
  101. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -19
  102. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.js +0 -54
  103. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  104. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  105. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  106. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
  107. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  108. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -56
  109. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -19
  110. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.js +0 -54
  111. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -19
  112. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.js +0 -54
  113. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  114. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  115. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  116. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -46
  117. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  118. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -56
@@ -89,8 +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("./ExportWorkerInvoicesResponse"), exports);
93
- __exportStar(require("./ExportedInvoice"), exports);
94
- __exportStar(require("./ExportedInvoiceDeduction"), exports);
95
- __exportStar(require("./ExportWorkerWithdrawalsResponse"), exports);
96
- __exportStar(require("./ExportedWithdrawal"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.1-prerelease2392-dev-2";
1
+ export declare const SDK_VERSION = "1.1.1-prerelease2392-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-prerelease2392-dev-2";
4
+ exports.SDK_VERSION = "1.1.1-prerelease2392-dev-3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "1.1.1-prerelease2392-dev-2",
3
+ "version": "1.1.1-prerelease2392-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,173 +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">exportWorkerInvoices</a>(userId, companyId, { ...params }) -> TheraApi.ExportWorkerInvoicesResponse</code></summary>
2668
- <dl>
2669
- <dd>
2670
-
2671
- #### 📝 Description
2672
-
2673
- <dl>
2674
- <dd>
2675
-
2676
- <dl>
2677
- <dd>
2678
-
2679
- Export worker invoices in CSV or JSON format 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.exportWorkerInvoices("string", "string", {
2696
- contractIds: "string",
2697
- startDate: "2023-01-15",
2698
- endDate: "2023-01-15",
2699
- format: "string",
2700
- });
2701
- ```
2702
-
2703
- </dd>
2704
- </dl>
2705
- </dd>
2706
- </dl>
2707
-
2708
- #### ⚙️ Parameters
2709
-
2710
- <dl>
2711
- <dd>
2712
-
2713
- <dl>
2714
- <dd>
2715
-
2716
- **userId:** `string`
2717
-
2718
- </dd>
2719
- </dl>
2720
-
2721
- <dl>
2722
- <dd>
2723
-
2724
- **companyId:** `string`
2725
-
2726
- </dd>
2727
- </dl>
2728
-
2729
- <dl>
2730
- <dd>
2731
-
2732
- **request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesRequest`
2733
-
2734
- </dd>
2735
- </dl>
2736
-
2737
- <dl>
2738
- <dd>
2739
-
2740
- **requestOptions:** `BankApi.RequestOptions`
2741
-
2742
- </dd>
2743
- </dl>
2744
- </dd>
2745
- </dl>
2746
-
2747
- </dd>
2748
- </dl>
2749
- </details>
2750
-
2751
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerWithdrawals</a>(userId, companyId, { ...params }) -> TheraApi.ExportWorkerWithdrawalsResponse</code></summary>
2752
- <dl>
2753
- <dd>
2754
-
2755
- #### 📝 Description
2756
-
2757
- <dl>
2758
- <dd>
2759
-
2760
- <dl>
2761
- <dd>
2762
-
2763
- Export worker withdrawals in CSV or JSON format with optional filtering by date range
2764
-
2765
- </dd>
2766
- </dl>
2767
- </dd>
2768
- </dl>
2769
-
2770
- #### 🔌 Usage
2771
-
2772
- <dl>
2773
- <dd>
2774
-
2775
- <dl>
2776
- <dd>
2777
-
2778
- ```typescript
2779
- await client.api.thera.bank.bankApi.exportWorkerWithdrawals("string", "string", {
2780
- startDate: "2023-01-15",
2781
- endDate: "2023-01-15",
2782
- format: "string",
2783
- });
2784
- ```
2785
-
2786
- </dd>
2787
- </dl>
2788
- </dd>
2789
- </dl>
2790
-
2791
- #### ⚙️ Parameters
2792
-
2793
- <dl>
2794
- <dd>
2795
-
2796
- <dl>
2797
- <dd>
2798
-
2799
- **userId:** `string`
2800
-
2801
- </dd>
2802
- </dl>
2803
-
2804
- <dl>
2805
- <dd>
2806
-
2807
- **companyId:** `string`
2808
-
2809
- </dd>
2810
- </dl>
2811
-
2812
- <dl>
2813
- <dd>
2814
-
2815
- **request:** `TheraApi.api.thera.bank.ExportWorkerWithdrawalsRequest`
2816
-
2817
- </dd>
2818
- </dl>
2819
-
2820
- <dl>
2821
- <dd>
2822
-
2823
- **requestOptions:** `BankApi.RequestOptions`
2824
-
2825
- </dd>
2826
- </dl>
2827
- </dd>
2828
- </dl>
2829
-
2830
- </dd>
2831
- </dl>
2832
- </details>
2833
-
2834
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>
2835
2668
  <dl>
2836
2669
  <dd>
@@ -73,8 +73,3 @@ export * from "./SetAutoWithdrawalResponse";
73
73
  export * from "./WorkerTransactionStatus";
74
74
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
75
75
  export * from "./GetPayInCountResponse";
76
- export * from "./ExportWorkerInvoicesResponse";
77
- export * from "./ExportedInvoice";
78
- export * from "./ExportedInvoiceDeduction";
79
- export * from "./ExportWorkerWithdrawalsResponse";
80
- export * from "./ExportedWithdrawal";
@@ -89,8 +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("./ExportWorkerInvoicesResponse"), exports);
93
- __exportStar(require("./ExportedInvoice"), exports);
94
- __exportStar(require("./ExportedInvoiceDeduction"), exports);
95
- __exportStar(require("./ExportWorkerWithdrawalsResponse"), exports);
96
- __exportStar(require("./ExportedWithdrawal"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.1-prerelease2392-dev-2";
1
+ export declare const SDK_VERSION = "1.1.1-prerelease2392-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-prerelease2392-dev-2";
4
+ exports.SDK_VERSION = "1.1.1-prerelease2392-dev-3";
@@ -1,30 +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
- * format: "string"
11
- * }
12
- */
13
- export interface ExportWorkerInvoicesRequest {
14
- /**
15
- * Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
16
- */
17
- contractIds?: string;
18
- /**
19
- * Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
20
- */
21
- startDate?: string;
22
- /**
23
- * End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
24
- */
25
- endDate?: string;
26
- /**
27
- * Export format: 'csv' or 'json'. Defaults to 'json'.
28
- */
29
- format?: string;
30
- }
@@ -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
- * startDate: "2023-01-15",
8
- * endDate: "2023-01-15",
9
- * format: "string"
10
- * }
11
- */
12
- export interface ExportWorkerWithdrawalsRequest {
13
- /**
14
- * Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
15
- */
16
- startDate?: string;
17
- /**
18
- * End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
19
- */
20
- endDate?: string;
21
- /**
22
- * Export format: 'csv' or 'json'. Defaults to 'json'.
23
- */
24
- format?: 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,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export type ExportWorkerInvoicesResponse = TheraApi.api.thera.bank.ExportWorkerInvoicesResponse.Csv | TheraApi.api.thera.bank.ExportWorkerInvoicesResponse.Json;
6
- export declare namespace ExportWorkerInvoicesResponse {
7
- interface Csv {
8
- type: "csv";
9
- value: string;
10
- }
11
- interface Json {
12
- type: "json";
13
- value: TheraApi.api.thera.bank.ExportedInvoice[];
14
- }
15
- }
@@ -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,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export type ExportWorkerWithdrawalsResponse = TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse.Csv | TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse.Json;
6
- export declare namespace ExportWorkerWithdrawalsResponse {
7
- interface Csv {
8
- type: "csv";
9
- value: string;
10
- }
11
- interface Json {
12
- type: "json";
13
- value: TheraApi.api.thera.bank.ExportedWithdrawal[];
14
- }
15
- }
@@ -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,30 +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
- * format: "string"
11
- * }
12
- */
13
- export interface ExportWorkerInvoicesRequest {
14
- /**
15
- * Comma-separated list of contract IDs to filter by. If not provided, all contracts for the worker will be included.
16
- */
17
- contractIds?: string;
18
- /**
19
- * Start date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
20
- */
21
- startDate?: string;
22
- /**
23
- * End date for filtering invoices (ISO 8601 date format: YYYY-MM-DD). Filters by invoice creation timestamp.
24
- */
25
- endDate?: string;
26
- /**
27
- * Export format: 'csv' or 'json'. Defaults to 'json'.
28
- */
29
- format?: string;
30
- }
@@ -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
- * startDate: "2023-01-15",
8
- * endDate: "2023-01-15",
9
- * format: "string"
10
- * }
11
- */
12
- export interface ExportWorkerWithdrawalsRequest {
13
- /**
14
- * Start date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
15
- */
16
- startDate?: string;
17
- /**
18
- * End date for filtering withdrawals (ISO 8601 date format: YYYY-MM-DD). Filters by withdrawal effective date.
19
- */
20
- endDate?: string;
21
- /**
22
- * Export format: 'csv' or 'json'. Defaults to 'json'.
23
- */
24
- format?: 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,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export type ExportWorkerInvoicesResponse = TheraApi.api.thera.bank.ExportWorkerInvoicesResponse.Csv | TheraApi.api.thera.bank.ExportWorkerInvoicesResponse.Json;
6
- export declare namespace ExportWorkerInvoicesResponse {
7
- interface Csv {
8
- type: "csv";
9
- value: string;
10
- }
11
- interface Json {
12
- type: "json";
13
- value: TheraApi.api.thera.bank.ExportedInvoice[];
14
- }
15
- }
@@ -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,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export type ExportWorkerWithdrawalsResponse = TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse.Csv | TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse.Json;
6
- export declare namespace ExportWorkerWithdrawalsResponse {
7
- interface Csv {
8
- type: "csv";
9
- value: string;
10
- }
11
- interface Json {
12
- type: "json";
13
- value: TheraApi.api.thera.bank.ExportedWithdrawal[];
14
- }
15
- }
@@ -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,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../../../index";
5
- import * as TheraApi from "../../../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../../../core";
7
- import { ExportedInvoice } from "./ExportedInvoice";
8
- export declare const ExportWorkerInvoicesResponse: core.serialization.Schema<serializers.api.thera.bank.ExportWorkerInvoicesResponse.Raw, TheraApi.api.thera.bank.ExportWorkerInvoicesResponse>;
9
- export declare namespace ExportWorkerInvoicesResponse {
10
- type Raw = ExportWorkerInvoicesResponse.Csv | ExportWorkerInvoicesResponse.Json;
11
- interface Csv {
12
- type: "csv";
13
- value: string;
14
- }
15
- interface Json {
16
- type: "json";
17
- value: ExportedInvoice.Raw[];
18
- }
19
- }