@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.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +4 -43
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +22 -61
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -17
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +23 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +4 -43
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +22 -61
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -17
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +23 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.d.ts +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -20
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +2 -20
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +32 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +53 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +36 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.d.ts +3 -3
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listExternalAccounts.js +2 -2
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +2 -20
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +2 -20
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.d.ts +32 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccountObj.js +53 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletBalance.js +36 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +2 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js
CHANGED
|
@@ -76,7 +76,7 @@ class BankApi {
|
|
|
76
76
|
Authorization: yield this._getAuthorizationHeader(),
|
|
77
77
|
"X-Fern-Language": "JavaScript",
|
|
78
78
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
79
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
79
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
80
80
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
81
81
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
82
82
|
},
|
|
@@ -140,7 +140,7 @@ class BankApi {
|
|
|
140
140
|
Authorization: yield this._getAuthorizationHeader(),
|
|
141
141
|
"X-Fern-Language": "JavaScript",
|
|
142
142
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
143
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
143
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
144
144
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
145
145
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
146
146
|
},
|
|
@@ -212,7 +212,7 @@ class BankApi {
|
|
|
212
212
|
Authorization: yield this._getAuthorizationHeader(),
|
|
213
213
|
"X-Fern-Language": "JavaScript",
|
|
214
214
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
215
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
215
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
216
216
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
217
217
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
218
218
|
},
|
|
@@ -276,7 +276,7 @@ class BankApi {
|
|
|
276
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
277
277
|
"X-Fern-Language": "JavaScript",
|
|
278
278
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
279
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
279
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
280
280
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
281
281
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
282
282
|
},
|
|
@@ -333,7 +333,7 @@ class BankApi {
|
|
|
333
333
|
Authorization: yield this._getAuthorizationHeader(),
|
|
334
334
|
"X-Fern-Language": "JavaScript",
|
|
335
335
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
336
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
336
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
339
339
|
},
|
|
@@ -387,7 +387,7 @@ class BankApi {
|
|
|
387
387
|
Authorization: yield this._getAuthorizationHeader(),
|
|
388
388
|
"X-Fern-Language": "JavaScript",
|
|
389
389
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
390
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
390
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
393
393
|
},
|
|
@@ -445,7 +445,7 @@ class BankApi {
|
|
|
445
445
|
Authorization: yield this._getAuthorizationHeader(),
|
|
446
446
|
"X-Fern-Language": "JavaScript",
|
|
447
447
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
448
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
448
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
449
449
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
450
450
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
451
451
|
},
|
|
@@ -497,7 +497,7 @@ class BankApi {
|
|
|
497
497
|
Authorization: yield this._getAuthorizationHeader(),
|
|
498
498
|
"X-Fern-Language": "JavaScript",
|
|
499
499
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
500
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
500
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
501
501
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
502
502
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
503
503
|
},
|
|
@@ -557,7 +557,7 @@ class BankApi {
|
|
|
557
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
558
|
"X-Fern-Language": "JavaScript",
|
|
559
559
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
560
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
560
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
561
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
563
|
},
|
|
@@ -626,7 +626,7 @@ class BankApi {
|
|
|
626
626
|
Authorization: yield this._getAuthorizationHeader(),
|
|
627
627
|
"X-Fern-Language": "JavaScript",
|
|
628
628
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
629
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
629
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
630
630
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
631
631
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
632
632
|
},
|
|
@@ -685,7 +685,7 @@ class BankApi {
|
|
|
685
685
|
Authorization: yield this._getAuthorizationHeader(),
|
|
686
686
|
"X-Fern-Language": "JavaScript",
|
|
687
687
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
688
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
688
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
689
689
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
690
690
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
691
691
|
},
|
|
@@ -746,7 +746,7 @@ class BankApi {
|
|
|
746
746
|
Authorization: yield this._getAuthorizationHeader(),
|
|
747
747
|
"X-Fern-Language": "JavaScript",
|
|
748
748
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
749
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
749
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
750
750
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
751
751
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
752
752
|
},
|
|
@@ -803,7 +803,7 @@ class BankApi {
|
|
|
803
803
|
Authorization: yield this._getAuthorizationHeader(),
|
|
804
804
|
"X-Fern-Language": "JavaScript",
|
|
805
805
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
806
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
806
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
807
807
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
808
808
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
809
809
|
},
|
|
@@ -870,7 +870,7 @@ class BankApi {
|
|
|
870
870
|
Authorization: yield this._getAuthorizationHeader(),
|
|
871
871
|
"X-Fern-Language": "JavaScript",
|
|
872
872
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
873
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
873
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
874
874
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
875
875
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
876
876
|
},
|
|
@@ -934,7 +934,7 @@ class BankApi {
|
|
|
934
934
|
Authorization: yield this._getAuthorizationHeader(),
|
|
935
935
|
"X-Fern-Language": "JavaScript",
|
|
936
936
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
937
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
937
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
938
938
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
939
939
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
940
940
|
},
|
|
@@ -1002,7 +1002,7 @@ class BankApi {
|
|
|
1002
1002
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1003
1003
|
"X-Fern-Language": "JavaScript",
|
|
1004
1004
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1005
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1005
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1006
1006
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1007
1007
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1008
1008
|
},
|
|
@@ -1080,7 +1080,7 @@ class BankApi {
|
|
|
1080
1080
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1081
1081
|
"X-Fern-Language": "JavaScript",
|
|
1082
1082
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1083
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1083
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1084
1084
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1085
1085
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1086
1086
|
},
|
|
@@ -1161,7 +1161,7 @@ class BankApi {
|
|
|
1161
1161
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1162
1162
|
"X-Fern-Language": "JavaScript",
|
|
1163
1163
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1164
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1164
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1165
1165
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1166
1166
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1167
1167
|
},
|
|
@@ -1220,7 +1220,7 @@ class BankApi {
|
|
|
1220
1220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1221
1221
|
"X-Fern-Language": "JavaScript",
|
|
1222
1222
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1223
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1223
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1224
1224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1225
1225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1226
1226
|
},
|
|
@@ -1279,7 +1279,7 @@ class BankApi {
|
|
|
1279
1279
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1280
1280
|
"X-Fern-Language": "JavaScript",
|
|
1281
1281
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1282
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1282
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1283
1283
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1284
1284
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1285
1285
|
},
|
|
@@ -1346,7 +1346,7 @@ class BankApi {
|
|
|
1346
1346
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1347
1347
|
"X-Fern-Language": "JavaScript",
|
|
1348
1348
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1349
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1349
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1350
1350
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1351
1351
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1352
1352
|
},
|
|
@@ -1413,7 +1413,7 @@ class BankApi {
|
|
|
1413
1413
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1414
1414
|
"X-Fern-Language": "JavaScript",
|
|
1415
1415
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1416
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1416
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1417
1417
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1418
1418
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1419
1419
|
},
|
|
@@ -1472,7 +1472,7 @@ class BankApi {
|
|
|
1472
1472
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1473
1473
|
"X-Fern-Language": "JavaScript",
|
|
1474
1474
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1475
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1475
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1476
1476
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1477
1477
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1478
1478
|
},
|
|
@@ -1528,7 +1528,7 @@ class BankApi {
|
|
|
1528
1528
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1529
1529
|
"X-Fern-Language": "JavaScript",
|
|
1530
1530
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1531
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1531
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1532
1532
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1533
1533
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1534
1534
|
},
|
|
@@ -1583,7 +1583,7 @@ class BankApi {
|
|
|
1583
1583
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1584
1584
|
"X-Fern-Language": "JavaScript",
|
|
1585
1585
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1586
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1586
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1587
1587
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1588
1588
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1589
1589
|
},
|
|
@@ -1650,7 +1650,7 @@ class BankApi {
|
|
|
1650
1650
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1651
1651
|
"X-Fern-Language": "JavaScript",
|
|
1652
1652
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1653
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1653
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1654
1654
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1655
1655
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1656
1656
|
},
|
|
@@ -1707,7 +1707,7 @@ class BankApi {
|
|
|
1707
1707
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1708
1708
|
"X-Fern-Language": "JavaScript",
|
|
1709
1709
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1710
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1710
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1711
1711
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1712
1712
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1713
1713
|
},
|
|
@@ -1767,7 +1767,7 @@ class BankApi {
|
|
|
1767
1767
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1768
1768
|
"X-Fern-Language": "JavaScript",
|
|
1769
1769
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1770
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1770
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1771
1771
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1772
1772
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1773
1773
|
},
|
|
@@ -1831,7 +1831,7 @@ class BankApi {
|
|
|
1831
1831
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1832
1832
|
"X-Fern-Language": "JavaScript",
|
|
1833
1833
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1834
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1834
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1835
1835
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1836
1836
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1837
1837
|
},
|
|
@@ -1891,7 +1891,7 @@ class BankApi {
|
|
|
1891
1891
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1892
1892
|
"X-Fern-Language": "JavaScript",
|
|
1893
1893
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1894
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1894
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1895
1895
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1896
1896
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1897
1897
|
},
|
|
@@ -1951,7 +1951,7 @@ class BankApi {
|
|
|
1951
1951
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1952
1952
|
"X-Fern-Language": "JavaScript",
|
|
1953
1953
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
1954
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
1954
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
1955
1955
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1956
1956
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1957
1957
|
},
|
|
@@ -2006,7 +2006,7 @@ class BankApi {
|
|
|
2006
2006
|
Authorization: yield this._getAuthorizationHeader(),
|
|
2007
2007
|
"X-Fern-Language": "JavaScript",
|
|
2008
2008
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
2009
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
2009
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
2010
2010
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
2011
2011
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
2012
2012
|
},
|
|
@@ -2065,7 +2065,7 @@ class BankApi {
|
|
|
2065
2065
|
Authorization: yield this._getAuthorizationHeader(),
|
|
2066
2066
|
"X-Fern-Language": "JavaScript",
|
|
2067
2067
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
2068
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
2068
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2770-staging",
|
|
2069
2069
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
2070
2070
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
2071
2071
|
},
|
|
@@ -62,48 +62,9 @@ export declare class BridgeApi {
|
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* await client.api.thera.bridge.bridgeApi.createExternalAccount("string", {
|
|
65
|
+
* walletAddress: "string",
|
|
65
66
|
* currency: "string",
|
|
66
|
-
*
|
|
67
|
-
* accountOwnerName: "string",
|
|
68
|
-
* accountNumber: "string",
|
|
69
|
-
* routingNumber: "string",
|
|
70
|
-
* accountType: "string",
|
|
71
|
-
* iban: {
|
|
72
|
-
* ibanNumber: "string"
|
|
73
|
-
* },
|
|
74
|
-
* swift: {
|
|
75
|
-
* account: "string",
|
|
76
|
-
* address: {
|
|
77
|
-
* streetLine1: "string",
|
|
78
|
-
* streetLine2: "string",
|
|
79
|
-
* city: "string",
|
|
80
|
-
* state: "string",
|
|
81
|
-
* postalCode: "string",
|
|
82
|
-
* country: "string"
|
|
83
|
-
* }
|
|
84
|
-
* },
|
|
85
|
-
* account: {
|
|
86
|
-
* accountNumber: "string",
|
|
87
|
-
* routingNumber: "string",
|
|
88
|
-
* checkingOrSavings: {
|
|
89
|
-
* "key": "value"
|
|
90
|
-
* }
|
|
91
|
-
* },
|
|
92
|
-
* address: {
|
|
93
|
-
* streetLine1: "string",
|
|
94
|
-
* streetLine2: "string",
|
|
95
|
-
* city: "string",
|
|
96
|
-
* state: "string",
|
|
97
|
-
* postalCode: "string",
|
|
98
|
-
* country: "string"
|
|
99
|
-
* },
|
|
100
|
-
* category: "string",
|
|
101
|
-
* purposeOfFunds: ["string"],
|
|
102
|
-
* shortBusinessDescription: "string",
|
|
103
|
-
* accountOwnerType: "string",
|
|
104
|
-
* firstName: "string",
|
|
105
|
-
* lastName: "string",
|
|
106
|
-
* businessName: "string"
|
|
67
|
+
* paymentRail: "string"
|
|
107
68
|
* })
|
|
108
69
|
*/
|
|
109
70
|
createExternalAccount(customerId: string, request: TheraApi.api.thera.bridge.ExternalAccount, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.LinkExternalAccountResponse>;
|
|
@@ -210,7 +171,7 @@ export declare class BridgeApi {
|
|
|
210
171
|
* @example
|
|
211
172
|
* await client.api.thera.bridge.bridgeApi.getExternalAccount("string")
|
|
212
173
|
*/
|
|
213
|
-
getExternalAccount(accountId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.
|
|
174
|
+
getExternalAccount(accountId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.ExternalAccount>;
|
|
214
175
|
/**
|
|
215
176
|
* Retrieve a list of all external accounts linked to customers.
|
|
216
177
|
*
|
|
@@ -220,7 +181,7 @@ export declare class BridgeApi {
|
|
|
220
181
|
* @example
|
|
221
182
|
* await client.api.thera.bridge.bridgeApi.listExternalAccounts("string")
|
|
222
183
|
*/
|
|
223
|
-
listExternalAccounts(customerId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.
|
|
184
|
+
listExternalAccounts(customerId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.ExternalAccount[]>;
|
|
224
185
|
/**
|
|
225
186
|
* Update details of a linked external account.
|
|
226
187
|
*
|
package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
*
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
+
}
|