@thera-hr/api-sdk 0.0.1-prerelease2763-dev → 0.0.1-prerelease2770-staging

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 (93) 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/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  6. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +4 -43
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +22 -61
  8. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -17
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +23 -0
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +5 -0
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +9 -0
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +5 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  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 +3 -3
  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 +2 -2
  25. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  26. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  27. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  28. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  29. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  30. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  31. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  32. package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
  33. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  34. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  35. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  36. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  37. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  38. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +4 -43
  39. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +22 -61
  40. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -17
  41. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +23 -0
  42. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +5 -0
  43. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +9 -0
  44. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +5 -0
  45. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
  46. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  47. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  48. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  49. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  50. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  51. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  52. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  53. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  55. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  56. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  57. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  58. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  59. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  60. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  61. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  62. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  63. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  64. package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
  65. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.d.ts +3 -3
  66. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +2 -2
  67. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -20
  68. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +2 -20
  69. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +32 -0
  70. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +53 -0
  71. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +15 -0
  72. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +36 -0
  73. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
  74. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +2 -0
  75. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  76. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  77. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
  78. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
  79. package/package.json +1 -1
  80. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.d.ts +3 -3
  81. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +2 -2
  82. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -20
  83. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +2 -20
  84. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +32 -0
  85. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +53 -0
  86. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +15 -0
  87. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +36 -0
  88. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
  89. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +2 -0
  90. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  91. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  92. package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
  93. package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
@@ -64,7 +64,7 @@ class BridgeApi {
64
64
  Authorization: yield this._getAuthorizationHeader(),
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
67
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
67
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
68
68
  "X-Fern-Runtime": core.RUNTIME.type,
69
69
  "X-Fern-Runtime-Version": core.RUNTIME.version,
70
70
  },
@@ -138,7 +138,7 @@ class BridgeApi {
138
138
  Authorization: yield this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
141
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
141
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -189,48 +189,9 @@ class BridgeApi {
189
189
  *
190
190
  * @example
191
191
  * await client.api.thera.bridge.bridgeApi.createExternalAccount("string", {
192
+ * walletAddress: "string",
192
193
  * currency: "string",
193
- * bankName: "string",
194
- * accountOwnerName: "string",
195
- * accountNumber: "string",
196
- * routingNumber: "string",
197
- * accountType: "string",
198
- * iban: {
199
- * ibanNumber: "string"
200
- * },
201
- * swift: {
202
- * account: "string",
203
- * address: {
204
- * streetLine1: "string",
205
- * streetLine2: "string",
206
- * city: "string",
207
- * state: "string",
208
- * postalCode: "string",
209
- * country: "string"
210
- * }
211
- * },
212
- * account: {
213
- * accountNumber: "string",
214
- * routingNumber: "string",
215
- * checkingOrSavings: {
216
- * "key": "value"
217
- * }
218
- * },
219
- * address: {
220
- * streetLine1: "string",
221
- * streetLine2: "string",
222
- * city: "string",
223
- * state: "string",
224
- * postalCode: "string",
225
- * country: "string"
226
- * },
227
- * category: "string",
228
- * purposeOfFunds: ["string"],
229
- * shortBusinessDescription: "string",
230
- * accountOwnerType: "string",
231
- * firstName: "string",
232
- * lastName: "string",
233
- * businessName: "string"
194
+ * paymentRail: "string"
234
195
  * })
235
196
  */
236
197
  createExternalAccount(customerId, request, requestOptions) {
@@ -242,7 +203,7 @@ class BridgeApi {
242
203
  Authorization: yield this._getAuthorizationHeader(),
243
204
  "X-Fern-Language": "JavaScript",
244
205
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
245
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
206
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
246
207
  "X-Fern-Runtime": core.RUNTIME.type,
247
208
  "X-Fern-Runtime-Version": core.RUNTIME.version,
248
209
  },
@@ -302,7 +263,7 @@ class BridgeApi {
302
263
  Authorization: yield this._getAuthorizationHeader(),
303
264
  "X-Fern-Language": "JavaScript",
304
265
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
305
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
266
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
306
267
  "X-Fern-Runtime": core.RUNTIME.type,
307
268
  "X-Fern-Runtime-Version": core.RUNTIME.version,
308
269
  },
@@ -358,7 +319,7 @@ class BridgeApi {
358
319
  Authorization: yield this._getAuthorizationHeader(),
359
320
  "X-Fern-Language": "JavaScript",
360
321
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
361
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
322
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
362
323
  "X-Fern-Runtime": core.RUNTIME.type,
363
324
  "X-Fern-Runtime-Version": core.RUNTIME.version,
364
325
  },
@@ -421,7 +382,7 @@ class BridgeApi {
421
382
  Authorization: yield this._getAuthorizationHeader(),
422
383
  "X-Fern-Language": "JavaScript",
423
384
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
424
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
385
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
425
386
  "X-Fern-Runtime": core.RUNTIME.type,
426
387
  "X-Fern-Runtime-Version": core.RUNTIME.version,
427
388
  },
@@ -481,7 +442,7 @@ class BridgeApi {
481
442
  Authorization: yield this._getAuthorizationHeader(),
482
443
  "X-Fern-Language": "JavaScript",
483
444
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
484
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
445
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
485
446
  "X-Fern-Runtime": core.RUNTIME.type,
486
447
  "X-Fern-Runtime-Version": core.RUNTIME.version,
487
448
  },
@@ -541,7 +502,7 @@ class BridgeApi {
541
502
  Authorization: yield this._getAuthorizationHeader(),
542
503
  "X-Fern-Language": "JavaScript",
543
504
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
544
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
505
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
545
506
  "X-Fern-Runtime": core.RUNTIME.type,
546
507
  "X-Fern-Runtime-Version": core.RUNTIME.version,
547
508
  },
@@ -601,7 +562,7 @@ class BridgeApi {
601
562
  Authorization: yield this._getAuthorizationHeader(),
602
563
  "X-Fern-Language": "JavaScript",
603
564
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
604
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
565
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
605
566
  "X-Fern-Runtime": core.RUNTIME.type,
606
567
  "X-Fern-Runtime-Version": core.RUNTIME.version,
607
568
  },
@@ -658,7 +619,7 @@ class BridgeApi {
658
619
  Authorization: yield this._getAuthorizationHeader(),
659
620
  "X-Fern-Language": "JavaScript",
660
621
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
661
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
622
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
662
623
  "X-Fern-Runtime": core.RUNTIME.type,
663
624
  "X-Fern-Runtime-Version": core.RUNTIME.version,
664
625
  },
@@ -721,7 +682,7 @@ class BridgeApi {
721
682
  Authorization: yield this._getAuthorizationHeader(),
722
683
  "X-Fern-Language": "JavaScript",
723
684
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
724
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
685
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
725
686
  "X-Fern-Runtime": core.RUNTIME.type,
726
687
  "X-Fern-Runtime-Version": core.RUNTIME.version,
727
688
  },
@@ -781,7 +742,7 @@ class BridgeApi {
781
742
  Authorization: yield this._getAuthorizationHeader(),
782
743
  "X-Fern-Language": "JavaScript",
783
744
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
784
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
745
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
785
746
  "X-Fern-Runtime": core.RUNTIME.type,
786
747
  "X-Fern-Runtime-Version": core.RUNTIME.version,
787
748
  },
@@ -791,7 +752,7 @@ class BridgeApi {
791
752
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
792
753
  });
793
754
  if (_response.ok) {
794
- return yield serializers.api.thera.bridge.ExternalAccountDetails.parseOrThrow(_response.body, {
755
+ return yield serializers.api.thera.bridge.ExternalAccount.parseOrThrow(_response.body, {
795
756
  unrecognizedObjectKeys: "passthrough",
796
757
  allowUnrecognizedUnionMembers: true,
797
758
  allowUnrecognizedEnumValues: true,
@@ -838,7 +799,7 @@ class BridgeApi {
838
799
  Authorization: yield this._getAuthorizationHeader(),
839
800
  "X-Fern-Language": "JavaScript",
840
801
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
841
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
802
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
842
803
  "X-Fern-Runtime": core.RUNTIME.type,
843
804
  "X-Fern-Runtime-Version": core.RUNTIME.version,
844
805
  },
@@ -899,7 +860,7 @@ class BridgeApi {
899
860
  Authorization: yield this._getAuthorizationHeader(),
900
861
  "X-Fern-Language": "JavaScript",
901
862
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
902
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
863
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
903
864
  "X-Fern-Runtime": core.RUNTIME.type,
904
865
  "X-Fern-Runtime-Version": core.RUNTIME.version,
905
866
  },
@@ -959,7 +920,7 @@ class BridgeApi {
959
920
  Authorization: yield this._getAuthorizationHeader(),
960
921
  "X-Fern-Language": "JavaScript",
961
922
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
962
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
923
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
963
924
  "X-Fern-Runtime": core.RUNTIME.type,
964
925
  "X-Fern-Runtime-Version": core.RUNTIME.version,
965
926
  },
@@ -1010,7 +971,7 @@ class BridgeApi {
1010
971
  Authorization: yield this._getAuthorizationHeader(),
1011
972
  "X-Fern-Language": "JavaScript",
1012
973
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1013
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
974
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1014
975
  "X-Fern-Runtime": core.RUNTIME.type,
1015
976
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1016
977
  },
@@ -1085,7 +1046,7 @@ class BridgeApi {
1085
1046
  Authorization: yield this._getAuthorizationHeader(),
1086
1047
  "X-Fern-Language": "JavaScript",
1087
1048
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1088
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1049
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1089
1050
  "X-Fern-Runtime": core.RUNTIME.type,
1090
1051
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1091
1052
  },
@@ -1143,7 +1104,7 @@ class BridgeApi {
1143
1104
  Authorization: yield this._getAuthorizationHeader(),
1144
1105
  "X-Fern-Language": "JavaScript",
1145
1106
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1146
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1107
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1147
1108
  "X-Fern-Runtime": core.RUNTIME.type,
1148
1109
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1149
1110
  },
@@ -1200,7 +1161,7 @@ class BridgeApi {
1200
1161
  Authorization: yield this._getAuthorizationHeader(),
1201
1162
  "X-Fern-Language": "JavaScript",
1202
1163
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1203
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1164
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1204
1165
  "X-Fern-Runtime": core.RUNTIME.type,
1205
1166
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1206
1167
  },
@@ -1,23 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as TheraApi from "../../../../../../../../../index";
5
4
  export interface ExternalAccount {
5
+ walletAddress: string;
6
6
  currency: string;
7
- bankName: string;
8
- accountOwnerName: string;
9
- accountNumber: string;
10
- routingNumber: string;
11
- accountType: string;
12
- iban?: TheraApi.api.thera.bridge.BridgeIbanBankAccount;
13
- swift?: TheraApi.api.thera.bridge.BridgeSwiftBankAccount;
14
- account?: TheraApi.api.thera.bridge.BridgeAccountDetails;
15
- address: TheraApi.api.thera.bridge.Address;
16
- category: string;
17
- purposeOfFunds: string[];
18
- shortBusinessDescription: string;
19
- accountOwnerType: string;
20
- firstName?: string;
21
- lastName?: string;
22
- businessName?: string;
7
+ paymentRail: string;
23
8
  }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../../index";
5
+ export interface ExternalAccountObj {
6
+ currency: string;
7
+ bankName: string;
8
+ accountOwnerName: string;
9
+ accountNumber: string;
10
+ routingNumber: string;
11
+ accountType: string;
12
+ iban?: TheraApi.api.thera.bridge.BridgeIbanBankAccount;
13
+ swift?: TheraApi.api.thera.bridge.BridgeSwiftBankAccount;
14
+ account?: TheraApi.api.thera.bridge.BridgeAccountDetails;
15
+ address: TheraApi.api.thera.bridge.Address;
16
+ category: string;
17
+ purposeOfFunds: string[];
18
+ shortBusinessDescription: string;
19
+ accountOwnerType: string;
20
+ firstName?: string;
21
+ lastName?: string;
22
+ businessName?: string;
23
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WalletBalance {
5
+ balance: string;
6
+ currency: string;
7
+ chain: string;
8
+ contractAddress: string;
9
+ }
@@ -0,0 +1,5 @@
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,10 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as TheraApi from "../../../../../../../../../index";
4
5
  export interface WalletDetails {
5
6
  id: string;
6
7
  address: string;
7
8
  chain: string;
8
9
  updatedAt: Date;
9
10
  createdAt: Date;
11
+ balances: TheraApi.api.thera.bridge.WalletBalance[];
10
12
  }
@@ -8,7 +8,9 @@ export * from "./CryptoPayout";
8
8
  export * from "./PayoutResponse";
9
9
  export * from "./PayoutStatus";
10
10
  export * from "./WalletDetails";
11
+ export * from "./WalletBalance";
11
12
  export * from "./TransferFundsResponse";
13
+ export * from "./ExternalAccountObj";
12
14
  export * from "./ExternalAccount";
13
15
  export * from "./ExternalAccountDetails";
14
16
  export * from "./UpdateExternalAccountResponse";
@@ -24,7 +24,9 @@ __exportStar(require("./CryptoPayout"), exports);
24
24
  __exportStar(require("./PayoutResponse"), exports);
25
25
  __exportStar(require("./PayoutStatus"), exports);
26
26
  __exportStar(require("./WalletDetails"), exports);
27
+ __exportStar(require("./WalletBalance"), exports);
27
28
  __exportStar(require("./TransferFundsResponse"), exports);
29
+ __exportStar(require("./ExternalAccountObj"), exports);
28
30
  __exportStar(require("./ExternalAccount"), exports);
29
31
  __exportStar(require("./ExternalAccountDetails"), exports);
30
32
  __exportStar(require("./UpdateExternalAccountResponse"), exports);
@@ -68,7 +68,7 @@ class CompanyApi {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
71
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
71
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -132,7 +132,7 @@ class CompanyApi {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
135
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
135
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -258,7 +258,7 @@ class CompanyApi {
258
258
  Authorization: yield this._getAuthorizationHeader(),
259
259
  "X-Fern-Language": "JavaScript",
260
260
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
261
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
261
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
262
262
  "X-Fern-Runtime": core.RUNTIME.type,
263
263
  "X-Fern-Runtime-Version": core.RUNTIME.version,
264
264
  },
@@ -332,7 +332,7 @@ class CompanyApi {
332
332
  Authorization: yield this._getAuthorizationHeader(),
333
333
  "X-Fern-Language": "JavaScript",
334
334
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
335
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
335
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
336
336
  "X-Fern-Runtime": core.RUNTIME.type,
337
337
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
338
  },
@@ -404,7 +404,7 @@ class CompanyApi {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
407
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
407
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -479,7 +479,7 @@ class CompanyApi {
479
479
  Authorization: yield this._getAuthorizationHeader(),
480
480
  "X-Fern-Language": "JavaScript",
481
481
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
482
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
482
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
483
483
  "X-Fern-Runtime": core.RUNTIME.type,
484
484
  "X-Fern-Runtime-Version": core.RUNTIME.version,
485
485
  },
@@ -540,7 +540,7 @@ class CompanyApi {
540
540
  Authorization: yield this._getAuthorizationHeader(),
541
541
  "X-Fern-Language": "JavaScript",
542
542
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
543
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
543
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
544
544
  "X-Fern-Runtime": core.RUNTIME.type,
545
545
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
546
  },
@@ -602,7 +602,7 @@ class CompanyApi {
602
602
  Authorization: yield this._getAuthorizationHeader(),
603
603
  "X-Fern-Language": "JavaScript",
604
604
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
605
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
605
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
606
606
  "X-Fern-Runtime": core.RUNTIME.type,
607
607
  "X-Fern-Runtime-Version": core.RUNTIME.version,
608
608
  },
@@ -662,7 +662,7 @@ class CompanyApi {
662
662
  Authorization: yield this._getAuthorizationHeader(),
663
663
  "X-Fern-Language": "JavaScript",
664
664
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
665
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
665
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
666
666
  "X-Fern-Runtime": core.RUNTIME.type,
667
667
  "X-Fern-Runtime-Version": core.RUNTIME.version,
668
668
  },
@@ -719,7 +719,7 @@ class CompanyApi {
719
719
  Authorization: yield this._getAuthorizationHeader(),
720
720
  "X-Fern-Language": "JavaScript",
721
721
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
722
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
722
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
723
723
  "X-Fern-Runtime": core.RUNTIME.type,
724
724
  "X-Fern-Runtime-Version": core.RUNTIME.version,
725
725
  },
@@ -788,7 +788,7 @@ class CompanyApi {
788
788
  Authorization: yield this._getAuthorizationHeader(),
789
789
  "X-Fern-Language": "JavaScript",
790
790
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
791
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
791
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
792
792
  "X-Fern-Runtime": core.RUNTIME.type,
793
793
  "X-Fern-Runtime-Version": core.RUNTIME.version,
794
794
  },
@@ -849,7 +849,7 @@ class CompanyApi {
849
849
  Authorization: yield this._getAuthorizationHeader(),
850
850
  "X-Fern-Language": "JavaScript",
851
851
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
852
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
852
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
853
853
  "X-Fern-Runtime": core.RUNTIME.type,
854
854
  "X-Fern-Runtime-Version": core.RUNTIME.version,
855
855
  },
@@ -910,7 +910,7 @@ class CompanyApi {
910
910
  Authorization: yield this._getAuthorizationHeader(),
911
911
  "X-Fern-Language": "JavaScript",
912
912
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
913
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
913
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
914
914
  "X-Fern-Runtime": core.RUNTIME.type,
915
915
  "X-Fern-Runtime-Version": core.RUNTIME.version,
916
916
  },
@@ -970,7 +970,7 @@ class CompanyApi {
970
970
  Authorization: yield this._getAuthorizationHeader(),
971
971
  "X-Fern-Language": "JavaScript",
972
972
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
973
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
973
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
974
974
  "X-Fern-Runtime": core.RUNTIME.type,
975
975
  "X-Fern-Runtime-Version": core.RUNTIME.version,
976
976
  },
@@ -1032,7 +1032,7 @@ class CompanyApi {
1032
1032
  Authorization: yield this._getAuthorizationHeader(),
1033
1033
  "X-Fern-Language": "JavaScript",
1034
1034
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1035
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1035
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1036
1036
  "X-Fern-Runtime": core.RUNTIME.type,
1037
1037
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1038
1038
  },
@@ -1096,7 +1096,7 @@ class CompanyApi {
1096
1096
  Authorization: yield this._getAuthorizationHeader(),
1097
1097
  "X-Fern-Language": "JavaScript",
1098
1098
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1099
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1099
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1100
1100
  "X-Fern-Runtime": core.RUNTIME.type,
1101
1101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1102
1102
  },
@@ -1164,7 +1164,7 @@ class CompanyApi {
1164
1164
  Authorization: yield this._getAuthorizationHeader(),
1165
1165
  "X-Fern-Language": "JavaScript",
1166
1166
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1167
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1167
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1168
1168
  "X-Fern-Runtime": core.RUNTIME.type,
1169
1169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1170
1170
  },
@@ -1238,7 +1238,7 @@ class CompanyApi {
1238
1238
  Authorization: yield this._getAuthorizationHeader(),
1239
1239
  "X-Fern-Language": "JavaScript",
1240
1240
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1241
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
1241
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
1242
1242
  "X-Fern-Runtime": core.RUNTIME.type,
1243
1243
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1244
1244
  },
@@ -72,7 +72,7 @@ class CompanyW2PayrollApi {
72
72
  Authorization: yield this._getAuthorizationHeader(),
73
73
  "X-Fern-Language": "JavaScript",
74
74
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
75
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
75
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -136,7 +136,7 @@ class CompanyW2PayrollApi {
136
136
  Authorization: yield this._getAuthorizationHeader(),
137
137
  "X-Fern-Language": "JavaScript",
138
138
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
139
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
139
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
140
140
  "X-Fern-Runtime": core.RUNTIME.type,
141
141
  "X-Fern-Runtime-Version": core.RUNTIME.version,
142
142
  },
@@ -204,7 +204,7 @@ class CompanyW2PayrollApi {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
207
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
207
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -80,7 +80,7 @@ class ContractorApi {
80
80
  Authorization: yield this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
83
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
83
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
@@ -141,7 +141,7 @@ class ContractorApi {
141
141
  Authorization: yield this._getAuthorizationHeader(),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
144
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
144
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -240,7 +240,7 @@ class ContractorApi {
240
240
  Authorization: yield this._getAuthorizationHeader(),
241
241
  "X-Fern-Language": "JavaScript",
242
242
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
243
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
243
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
244
244
  "X-Fern-Runtime": core.RUNTIME.type,
245
245
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
246
  },
@@ -103,7 +103,7 @@ class DisbursementApi {
103
103
  Authorization: yield this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
106
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
106
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
107
107
  "X-Fern-Runtime": core.RUNTIME.type,
108
108
  "X-Fern-Runtime-Version": core.RUNTIME.version,
109
109
  },
@@ -175,7 +175,7 @@ class DisbursementApi {
175
175
  Authorization: yield this._getAuthorizationHeader(),
176
176
  "X-Fern-Language": "JavaScript",
177
177
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
178
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
178
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
179
179
  "X-Fern-Runtime": core.RUNTIME.type,
180
180
  "X-Fern-Runtime-Version": core.RUNTIME.version,
181
181
  },
@@ -229,7 +229,7 @@ class DisbursementApi {
229
229
  Authorization: yield this._getAuthorizationHeader(),
230
230
  "X-Fern-Language": "JavaScript",
231
231
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
232
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
232
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
233
233
  "X-Fern-Runtime": core.RUNTIME.type,
234
234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
235
235
  },
@@ -285,7 +285,7 @@ class DisbursementApi {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
288
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
288
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -346,7 +346,7 @@ class DisbursementApi {
346
346
  Authorization: yield this._getAuthorizationHeader(),
347
347
  "X-Fern-Language": "JavaScript",
348
348
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
349
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
349
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
350
350
  "X-Fern-Runtime": core.RUNTIME.type,
351
351
  "X-Fern-Runtime-Version": core.RUNTIME.version,
352
352
  },
@@ -401,7 +401,7 @@ class DisbursementApi {
401
401
  Authorization: yield this._getAuthorizationHeader(),
402
402
  "X-Fern-Language": "JavaScript",
403
403
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
404
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
404
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -468,7 +468,7 @@ class DisbursementApi {
468
468
  Authorization: yield this._getAuthorizationHeader(),
469
469
  "X-Fern-Language": "JavaScript",
470
470
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
471
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
471
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
472
472
  "X-Fern-Runtime": core.RUNTIME.type,
473
473
  "X-Fern-Runtime-Version": core.RUNTIME.version,
474
474
  },
@@ -71,7 +71,7 @@ class DisbursementWebhookApi {
71
71
  Authorization: yield this._getAuthorizationHeader(),
72
72
  "X-Fern-Language": "JavaScript",
73
73
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
74
- "X-Fern-SDK-Version": "0.0.1-prerelease2763-dev",
74
+ "X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
75
75
  "X-Fern-Runtime": core.RUNTIME.type,
76
76
  "X-Fern-Runtime-Version": core.RUNTIME.version,
77
77
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,