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

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 (114) 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 +41 -12
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +192 -64
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerInvoicesRequest.d.ts → ExportWorkerInvoicesCsvRequest.d.ts} +2 -7
  9. package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesRequest.d.ts → api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts} +2 -7
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerWithdrawalsRequest.d.ts → ExportWorkerWithdrawalsCsvRequest.d.ts} +2 -7
  11. package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsRequest.d.ts → api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts} +2 -7
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +4 -2
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -2
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -2
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  16. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  17. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  18. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  20. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  21. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  23. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  25. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  26. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  27. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  28. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  30. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  31. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  32. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  33. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  34. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  35. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  36. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  37. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  38. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  39. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  40. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +41 -12
  41. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +192 -64
  42. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +25 -0
  43. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +25 -0
  44. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +20 -0
  45. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +20 -0
  46. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +4 -2
  47. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -2
  48. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -2
  49. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  50. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  51. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  52. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  53. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  54. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  55. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  56. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  57. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  58. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  59. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  60. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  61. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  62. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  63. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  64. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  65. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  66. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  67. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  68. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  69. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +9 -0
  70. package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js} +2 -15
  71. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +11 -0
  72. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerInvoicesResponse.js → client/exportWorkerInvoicesJson.js} +3 -15
  73. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +9 -0
  74. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerWithdrawalsResponse.js → client/exportWorkerWithdrawalsCsv.js} +2 -15
  75. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +11 -0
  76. package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js} +3 -15
  77. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +4 -0
  78. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +5 -1
  79. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -2
  80. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -2
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/package.json +1 -1
  84. package/reference.md +173 -10
  85. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +9 -0
  86. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js +41 -0
  87. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +11 -0
  88. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +42 -0
  89. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +9 -0
  90. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js +41 -0
  91. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +11 -0
  92. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +42 -0
  93. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +4 -0
  94. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +5 -1
  95. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -2
  96. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -2
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
  99. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -15
  100. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -15
  101. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -15
  102. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -15
  103. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -19
  104. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -19
  105. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerInvoicesResponse.d.ts +0 -19
  106. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportWorkerWithdrawalsResponse.d.ts +0 -19
  107. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerInvoicesRequest.js → ExportWorkerInvoicesCsvRequest.js} +0 -0
  108. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerWithdrawalsRequest.js → ExportWorkerInvoicesJsonRequest.js} +0 -0
  109. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerInvoicesResponse.js → client/requests/ExportWorkerWithdrawalsCsvRequest.js} +0 -0
  110. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerWithdrawalsResponse.js → client/requests/ExportWorkerWithdrawalsJsonRequest.js} +0 -0
  111. /package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerInvoicesRequest.js → ExportWorkerInvoicesCsvRequest.js} +0 -0
  112. /package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerWithdrawalsRequest.js → ExportWorkerInvoicesJsonRequest.js} +0 -0
  113. /package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerInvoicesResponse.js → client/requests/ExportWorkerWithdrawalsCsvRequest.js} +0 -0
  114. /package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{types/ExportWorkerWithdrawalsResponse.js → client/requests/ExportWorkerWithdrawalsJsonRequest.js} +0 -0
package/reference.md CHANGED
@@ -2664,7 +2664,7 @@ 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>
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
2668
  <dl>
2669
2669
  <dd>
2670
2670
 
@@ -2676,7 +2676,7 @@ await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string",
2676
2676
  <dl>
2677
2677
  <dd>
2678
2678
 
2679
- Export worker invoices in CSV or JSON format with optional filtering by contracts and date range
2679
+ Export worker invoices as CSV with optional filtering by contracts and date range
2680
2680
 
2681
2681
  </dd>
2682
2682
  </dl>
@@ -2692,11 +2692,10 @@ Export worker invoices in CSV or JSON format with optional filtering by contract
2692
2692
  <dd>
2693
2693
 
2694
2694
  ```typescript
2695
- await client.api.thera.bank.bankApi.exportWorkerInvoices("string", "string", {
2695
+ await client.api.thera.bank.bankApi.exportWorkerInvoicesCsv("string", "string", {
2696
2696
  contractIds: "string",
2697
2697
  startDate: "2023-01-15",
2698
2698
  endDate: "2023-01-15",
2699
- format: "string",
2700
2699
  });
2701
2700
  ```
2702
2701
 
@@ -2729,7 +2728,7 @@ await client.api.thera.bank.bankApi.exportWorkerInvoices("string", "string", {
2729
2728
  <dl>
2730
2729
  <dd>
2731
2730
 
2732
- **request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesRequest`
2731
+ **request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesCsvRequest`
2733
2732
 
2734
2733
  </dd>
2735
2734
  </dl>
@@ -2748,7 +2747,7 @@ await client.api.thera.bank.bankApi.exportWorkerInvoices("string", "string", {
2748
2747
  </dl>
2749
2748
  </details>
2750
2749
 
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>
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>
2752
2751
  <dl>
2753
2752
  <dd>
2754
2753
 
@@ -2760,7 +2759,7 @@ await client.api.thera.bank.bankApi.exportWorkerInvoices("string", "string", {
2760
2759
  <dl>
2761
2760
  <dd>
2762
2761
 
2763
- Export worker withdrawals in CSV or JSON format with optional filtering by date range
2762
+ Export worker invoices as JSON array with optional filtering by contracts and date range
2764
2763
 
2765
2764
  </dd>
2766
2765
  </dl>
@@ -2776,10 +2775,174 @@ Export worker withdrawals in CSV or JSON format with optional filtering by date
2776
2775
  <dd>
2777
2776
 
2778
2777
  ```typescript
2779
- await client.api.thera.bank.bankApi.exportWorkerWithdrawals("string", "string", {
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", {
2780
2944
  startDate: "2023-01-15",
2781
2945
  endDate: "2023-01-15",
2782
- format: "string",
2783
2946
  });
2784
2947
  ```
2785
2948
 
@@ -2812,7 +2975,7 @@ await client.api.thera.bank.bankApi.exportWorkerWithdrawals("string", "string",
2812
2975
  <dl>
2813
2976
  <dd>
2814
2977
 
2815
- **request:** `TheraApi.api.thera.bank.ExportWorkerWithdrawalsRequest`
2978
+ **request:** `TheraApi.api.thera.bank.ExportWorkerWithdrawalsJsonRequest`
2816
2979
 
2817
2980
  </dd>
2818
2981
  </dl>
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as core from "../../../../../../../../../../core";
6
+ export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerInvoicesCsv.Response.Raw, string>;
7
+ export declare namespace Response {
8
+ type Raw = string;
9
+ }
@@ -0,0 +1,41 @@
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.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.Response = core.serialization.string();
@@ -0,0 +1,11 @@
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 "../types/ExportedInvoice";
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerInvoicesJson.Response.Raw, TheraApi.api.thera.bank.ExportedInvoice[]>;
9
+ export declare namespace Response {
10
+ type Raw = ExportedInvoice.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const ExportedInvoice_1 = require("../types/ExportedInvoice");
42
+ exports.Response = core.serialization.list(ExportedInvoice_1.ExportedInvoice);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as core from "../../../../../../../../../../core";
6
+ export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv.Response.Raw, string>;
7
+ export declare namespace Response {
8
+ type Raw = string;
9
+ }
@@ -0,0 +1,41 @@
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.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.Response = core.serialization.string();
@@ -0,0 +1,11 @@
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 { ExportedWithdrawal } from "../types/ExportedWithdrawal";
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.exportWorkerWithdrawalsJson.Response.Raw, TheraApi.api.thera.bank.ExportedWithdrawal[]>;
9
+ export declare namespace Response {
10
+ type Raw = ExportedWithdrawal.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const ExportedWithdrawal_1 = require("../types/ExportedWithdrawal");
42
+ exports.Response = core.serialization.list(ExportedWithdrawal_1.ExportedWithdrawal);
@@ -1,3 +1,7 @@
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";
3
7
  export * from "./requests";
@@ -36,7 +36,11 @@ 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.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
39
+ exports.exportWorkerWithdrawalsJson = exports.exportWorkerWithdrawalsCsv = exports.exportWorkerInvoicesJson = exports.exportWorkerInvoicesCsv = 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"));
42
46
  __exportStar(require("./requests"), exports);
@@ -73,8 +73,6 @@ export * from "./SetAutoWithdrawalResponse";
73
73
  export * from "./WorkerTransactionStatus";
74
74
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
75
75
  export * from "./GetPayInCountResponse";
76
- export * from "./ExportWorkerInvoicesResponse";
77
76
  export * from "./ExportedInvoice";
78
77
  export * from "./ExportedInvoiceDeduction";
79
- export * from "./ExportWorkerWithdrawalsResponse";
80
78
  export * from "./ExportedWithdrawal";
@@ -89,8 +89,6 @@ __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
92
  __exportStar(require("./ExportedInvoice"), exports);
94
93
  __exportStar(require("./ExportedInvoiceDeduction"), exports);
95
- __exportStar(require("./ExportWorkerWithdrawalsResponse"), exports);
96
94
  __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-prerelease2394-dev-2";
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-prerelease2394-dev-2";
@@ -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,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,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,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,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
- }
@@ -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 { ExportedWithdrawal } from "./ExportedWithdrawal";
8
- export declare const ExportWorkerWithdrawalsResponse: core.serialization.Schema<serializers.api.thera.bank.ExportWorkerWithdrawalsResponse.Raw, TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse>;
9
- export declare namespace ExportWorkerWithdrawalsResponse {
10
- type Raw = ExportWorkerWithdrawalsResponse.Csv | ExportWorkerWithdrawalsResponse.Json;
11
- interface Csv {
12
- type: "csv";
13
- value: string;
14
- }
15
- interface Json {
16
- type: "json";
17
- value: ExportedWithdrawal.Raw[];
18
- }
19
- }
@@ -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
- }
@@ -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 { ExportedWithdrawal } from "./ExportedWithdrawal";
8
- export declare const ExportWorkerWithdrawalsResponse: core.serialization.Schema<serializers.api.thera.bank.ExportWorkerWithdrawalsResponse.Raw, TheraApi.api.thera.bank.ExportWorkerWithdrawalsResponse>;
9
- export declare namespace ExportWorkerWithdrawalsResponse {
10
- type Raw = ExportWorkerWithdrawalsResponse.Csv | ExportWorkerWithdrawalsResponse.Json;
11
- interface Csv {
12
- type: "csv";
13
- value: string;
14
- }
15
- interface Json {
16
- type: "json";
17
- value: ExportedWithdrawal.Raw[];
18
- }
19
- }