@thera-hr/api-sdk 0.0.4273 → 0.0.4274

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 (31) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  3. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +19 -19
  4. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +13 -13
  5. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  6. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +3 -3
  7. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  8. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +1 -1
  9. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  11. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  12. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  13. package/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -1
  14. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  15. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  16. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +19 -19
  17. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +13 -13
  18. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  19. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +3 -3
  20. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  21. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +1 -1
  22. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  23. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  24. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  25. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  26. package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -1
  27. package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -1
  28. package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +1 -1
  29. package/package.json +1 -1
  30. package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -1
  31. package/serialization/resources/db/resources/user/types/BankTransfer.js +1 -1
@@ -59,7 +59,7 @@ class AipriseWebhookApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -56,7 +56,7 @@ class File_ {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.4273",
59
+ "X-Fern-SDK-Version": "0.0.4274",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class File_ {
97
97
  Authorization: yield this._getAuthorizationHeader(),
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
100
- "X-Fern-SDK-Version": "0.0.4273",
100
+ "X-Fern-SDK-Version": "0.0.4274",
101
101
  },
102
102
  contentType: "application/json",
103
103
  body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class File_ {
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.4273",
141
+ "X-Fern-SDK-Version": "0.0.4274",
142
142
  },
143
143
  contentType: "application/json",
144
144
  timeoutMs: 60000,
@@ -182,7 +182,7 @@ class File_ {
182
182
  Authorization: yield this._getAuthorizationHeader(),
183
183
  "X-Fern-Language": "JavaScript",
184
184
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
185
- "X-Fern-SDK-Version": "0.0.4273",
185
+ "X-Fern-SDK-Version": "0.0.4274",
186
186
  },
187
187
  contentType: "application/json",
188
188
  timeoutMs: 60000,
@@ -71,7 +71,7 @@ class BankApi {
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.4273",
74
+ "X-Fern-SDK-Version": "0.0.4274",
75
75
  },
76
76
  contentType: "application/json",
77
77
  timeoutMs: 60000,
@@ -120,7 +120,7 @@ class BankApi {
120
120
  Authorization: yield this._getAuthorizationHeader(),
121
121
  "X-Fern-Language": "JavaScript",
122
122
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
123
- "X-Fern-SDK-Version": "0.0.4273",
123
+ "X-Fern-SDK-Version": "0.0.4274",
124
124
  },
125
125
  contentType: "application/json",
126
126
  queryParameters: _queryParams,
@@ -176,7 +176,7 @@ class BankApi {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
179
- "X-Fern-SDK-Version": "0.0.4273",
179
+ "X-Fern-SDK-Version": "0.0.4274",
180
180
  },
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
@@ -224,7 +224,7 @@ class BankApi {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
227
- "X-Fern-SDK-Version": "0.0.4273",
227
+ "X-Fern-SDK-Version": "0.0.4274",
228
228
  },
229
229
  contentType: "application/json",
230
230
  body: yield serializers.api.thera.bank.CompleteAccountSignupRequest.jsonOrThrow(request, {
@@ -273,7 +273,7 @@ class BankApi {
273
273
  Authorization: yield this._getAuthorizationHeader(),
274
274
  "X-Fern-Language": "JavaScript",
275
275
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
276
- "X-Fern-SDK-Version": "0.0.4273",
276
+ "X-Fern-SDK-Version": "0.0.4274",
277
277
  },
278
278
  contentType: "application/json",
279
279
  queryParameters: _queryParams,
@@ -324,7 +324,7 @@ class BankApi {
324
324
  Authorization: yield this._getAuthorizationHeader(),
325
325
  "X-Fern-Language": "JavaScript",
326
326
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
327
- "X-Fern-SDK-Version": "0.0.4273",
327
+ "X-Fern-SDK-Version": "0.0.4274",
328
328
  },
329
329
  contentType: "application/json",
330
330
  body: yield serializers.api.thera.bank.SendMicroDepositRequest.jsonOrThrow(request, {
@@ -368,7 +368,7 @@ class BankApi {
368
368
  Authorization: yield this._getAuthorizationHeader(),
369
369
  "X-Fern-Language": "JavaScript",
370
370
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
371
- "X-Fern-SDK-Version": "0.0.4273",
371
+ "X-Fern-SDK-Version": "0.0.4274",
372
372
  },
373
373
  contentType: "application/json",
374
374
  body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
@@ -415,7 +415,7 @@ class BankApi {
415
415
  Authorization: yield this._getAuthorizationHeader(),
416
416
  "X-Fern-Language": "JavaScript",
417
417
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
418
- "X-Fern-SDK-Version": "0.0.4273",
418
+ "X-Fern-SDK-Version": "0.0.4274",
419
419
  },
420
420
  contentType: "application/json",
421
421
  queryParameters: _queryParams,
@@ -466,7 +466,7 @@ class BankApi {
466
466
  Authorization: yield this._getAuthorizationHeader(),
467
467
  "X-Fern-Language": "JavaScript",
468
468
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
469
- "X-Fern-SDK-Version": "0.0.4273",
469
+ "X-Fern-SDK-Version": "0.0.4274",
470
470
  },
471
471
  contentType: "application/json",
472
472
  queryParameters: _queryParams,
@@ -514,7 +514,7 @@ class BankApi {
514
514
  Authorization: yield this._getAuthorizationHeader(),
515
515
  "X-Fern-Language": "JavaScript",
516
516
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
517
- "X-Fern-SDK-Version": "0.0.4273",
517
+ "X-Fern-SDK-Version": "0.0.4274",
518
518
  },
519
519
  contentType: "application/json",
520
520
  body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
@@ -564,7 +564,7 @@ class BankApi {
564
564
  Authorization: yield this._getAuthorizationHeader(),
565
565
  "X-Fern-Language": "JavaScript",
566
566
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
567
- "X-Fern-SDK-Version": "0.0.4273",
567
+ "X-Fern-SDK-Version": "0.0.4274",
568
568
  },
569
569
  contentType: "application/json",
570
570
  body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
@@ -611,7 +611,7 @@ class BankApi {
611
611
  Authorization: yield this._getAuthorizationHeader(),
612
612
  "X-Fern-Language": "JavaScript",
613
613
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
614
- "X-Fern-SDK-Version": "0.0.4273",
614
+ "X-Fern-SDK-Version": "0.0.4274",
615
615
  },
616
616
  contentType: "application/json",
617
617
  timeoutMs: 60000,
@@ -655,7 +655,7 @@ class BankApi {
655
655
  Authorization: yield this._getAuthorizationHeader(),
656
656
  "X-Fern-Language": "JavaScript",
657
657
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
658
- "X-Fern-SDK-Version": "0.0.4273",
658
+ "X-Fern-SDK-Version": "0.0.4274",
659
659
  },
660
660
  contentType: "application/json",
661
661
  body: yield serializers.api.thera.bank.EditWithdrawalMethodRequest.jsonOrThrow(request, {
@@ -702,7 +702,7 @@ class BankApi {
702
702
  Authorization: yield this._getAuthorizationHeader(),
703
703
  "X-Fern-Language": "JavaScript",
704
704
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
705
- "X-Fern-SDK-Version": "0.0.4273",
705
+ "X-Fern-SDK-Version": "0.0.4274",
706
706
  },
707
707
  contentType: "application/json",
708
708
  body: yield serializers.api.thera.bank.InitiateWorkerWithdrawalRequest.jsonOrThrow(request, {
@@ -749,7 +749,7 @@ class BankApi {
749
749
  Authorization: yield this._getAuthorizationHeader(),
750
750
  "X-Fern-Language": "JavaScript",
751
751
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
752
- "X-Fern-SDK-Version": "0.0.4273",
752
+ "X-Fern-SDK-Version": "0.0.4274",
753
753
  },
754
754
  contentType: "application/json",
755
755
  timeoutMs: 60000,
@@ -793,7 +793,7 @@ class BankApi {
793
793
  Authorization: yield this._getAuthorizationHeader(),
794
794
  "X-Fern-Language": "JavaScript",
795
795
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
796
- "X-Fern-SDK-Version": "0.0.4273",
796
+ "X-Fern-SDK-Version": "0.0.4274",
797
797
  },
798
798
  contentType: "application/json",
799
799
  timeoutMs: 60000,
@@ -842,7 +842,7 @@ class BankApi {
842
842
  Authorization: yield this._getAuthorizationHeader(),
843
843
  "X-Fern-Language": "JavaScript",
844
844
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
845
- "X-Fern-SDK-Version": "0.0.4273",
845
+ "X-Fern-SDK-Version": "0.0.4274",
846
846
  },
847
847
  contentType: "application/json",
848
848
  queryParameters: _queryParams,
@@ -887,7 +887,7 @@ class BankApi {
887
887
  Authorization: yield this._getAuthorizationHeader(),
888
888
  "X-Fern-Language": "JavaScript",
889
889
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
890
- "X-Fern-SDK-Version": "0.0.4273",
890
+ "X-Fern-SDK-Version": "0.0.4274",
891
891
  },
892
892
  contentType: "application/json",
893
893
  body: yield serializers.api.thera.bank.SetAutoWithdrawalRequest.jsonOrThrow(request, {
@@ -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.4273",
937
+ "X-Fern-SDK-Version": "0.0.4274",
938
938
  },
939
939
  contentType: "application/json",
940
940
  body: yield serializers.api.thera.bank.CreateStripePaymentMethodFromPlaidRequest.jsonOrThrow(request, {
@@ -65,7 +65,7 @@ class CompanyApi {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
68
- "X-Fern-SDK-Version": "0.0.4273",
68
+ "X-Fern-SDK-Version": "0.0.4274",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -116,7 +116,7 @@ class CompanyApi {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
119
- "X-Fern-SDK-Version": "0.0.4273",
119
+ "X-Fern-SDK-Version": "0.0.4274",
120
120
  },
121
121
  contentType: "application/json",
122
122
  body: yield serializers.api.thera.company.InviteManagerRequest.jsonOrThrow(request, {
@@ -166,7 +166,7 @@ class CompanyApi {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
169
- "X-Fern-SDK-Version": "0.0.4273",
169
+ "X-Fern-SDK-Version": "0.0.4274",
170
170
  },
171
171
  contentType: "application/json",
172
172
  body: yield serializers.api.thera.company.EditManagerRolesRequest.jsonOrThrow(request, {
@@ -216,7 +216,7 @@ class CompanyApi {
216
216
  Authorization: yield this._getAuthorizationHeader(),
217
217
  "X-Fern-Language": "JavaScript",
218
218
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
219
- "X-Fern-SDK-Version": "0.0.4273",
219
+ "X-Fern-SDK-Version": "0.0.4274",
220
220
  },
221
221
  contentType: "application/json",
222
222
  body: yield serializers.api.thera.company.EditOrgAdminsRequest.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class CompanyApi {
266
266
  Authorization: yield this._getAuthorizationHeader(),
267
267
  "X-Fern-Language": "JavaScript",
268
268
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
269
- "X-Fern-SDK-Version": "0.0.4273",
269
+ "X-Fern-SDK-Version": "0.0.4274",
270
270
  },
271
271
  contentType: "application/json",
272
272
  timeoutMs: 60000,
@@ -313,7 +313,7 @@ class CompanyApi {
313
313
  Authorization: yield this._getAuthorizationHeader(),
314
314
  "X-Fern-Language": "JavaScript",
315
315
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
316
- "X-Fern-SDK-Version": "0.0.4273",
316
+ "X-Fern-SDK-Version": "0.0.4274",
317
317
  },
318
318
  contentType: "application/json",
319
319
  body: yield serializers.api.thera.company.ChangeContractTeamRequest.jsonOrThrow(request, {
@@ -363,7 +363,7 @@ class CompanyApi {
363
363
  Authorization: yield this._getAuthorizationHeader(),
364
364
  "X-Fern-Language": "JavaScript",
365
365
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
366
- "X-Fern-SDK-Version": "0.0.4273",
366
+ "X-Fern-SDK-Version": "0.0.4274",
367
367
  },
368
368
  contentType: "application/json",
369
369
  timeoutMs: 60000,
@@ -410,7 +410,7 @@ class CompanyApi {
410
410
  Authorization: yield this._getAuthorizationHeader(),
411
411
  "X-Fern-Language": "JavaScript",
412
412
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
413
- "X-Fern-SDK-Version": "0.0.4273",
413
+ "X-Fern-SDK-Version": "0.0.4274",
414
414
  },
415
415
  contentType: "application/json",
416
416
  timeoutMs: 60000,
@@ -457,7 +457,7 @@ class CompanyApi {
457
457
  Authorization: yield this._getAuthorizationHeader(),
458
458
  "X-Fern-Language": "JavaScript",
459
459
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
460
- "X-Fern-SDK-Version": "0.0.4273",
460
+ "X-Fern-SDK-Version": "0.0.4274",
461
461
  },
462
462
  contentType: "application/json",
463
463
  body: yield serializers.api.thera.company.CreateTeamRequest.jsonOrThrow(request, {
@@ -507,7 +507,7 @@ class CompanyApi {
507
507
  Authorization: yield this._getAuthorizationHeader(),
508
508
  "X-Fern-Language": "JavaScript",
509
509
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
510
- "X-Fern-SDK-Version": "0.0.4273",
510
+ "X-Fern-SDK-Version": "0.0.4274",
511
511
  },
512
512
  contentType: "application/json",
513
513
  timeoutMs: 60000,
@@ -554,7 +554,7 @@ class CompanyApi {
554
554
  Authorization: yield this._getAuthorizationHeader(),
555
555
  "X-Fern-Language": "JavaScript",
556
556
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
557
- "X-Fern-SDK-Version": "0.0.4273",
557
+ "X-Fern-SDK-Version": "0.0.4274",
558
558
  },
559
559
  contentType: "application/json",
560
560
  body: yield serializers.api.thera.company.EditTeamRequest.jsonOrThrow(request, {
@@ -605,7 +605,7 @@ class CompanyApi {
605
605
  Authorization: yield this._getAuthorizationHeader(),
606
606
  "X-Fern-Language": "JavaScript",
607
607
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
608
- "X-Fern-SDK-Version": "0.0.4273",
608
+ "X-Fern-SDK-Version": "0.0.4274",
609
609
  },
610
610
  contentType: "application/json",
611
611
  timeoutMs: 60000,
@@ -656,7 +656,7 @@ class CompanyApi {
656
656
  Authorization: yield this._getAuthorizationHeader(),
657
657
  "X-Fern-Language": "JavaScript",
658
658
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
659
- "X-Fern-SDK-Version": "0.0.4273",
659
+ "X-Fern-SDK-Version": "0.0.4274",
660
660
  },
661
661
  contentType: "application/json",
662
662
  queryParameters: _queryParams,
@@ -59,7 +59,7 @@ class CompanyW2PayrollApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class DisbursementApi {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
76
- "X-Fern-SDK-Version": "0.0.4273",
76
+ "X-Fern-SDK-Version": "0.0.4274",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -118,7 +118,7 @@ class DisbursementApi {
118
118
  Authorization: yield this._getAuthorizationHeader(),
119
119
  "X-Fern-Language": "JavaScript",
120
120
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
121
- "X-Fern-SDK-Version": "0.0.4273",
121
+ "X-Fern-SDK-Version": "0.0.4274",
122
122
  },
123
123
  contentType: "application/json",
124
124
  body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
@@ -162,7 +162,7 @@ class DisbursementApi {
162
162
  Authorization: yield this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
165
- "X-Fern-SDK-Version": "0.0.4273",
165
+ "X-Fern-SDK-Version": "0.0.4274",
166
166
  },
167
167
  contentType: "application/json",
168
168
  timeoutMs: 60000,
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
63
- "X-Fern-SDK-Version": "0.0.4273",
63
+ "X-Fern-SDK-Version": "0.0.4274",
64
64
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
65
65
  },
66
66
  contentType: "application/json",
@@ -56,7 +56,7 @@ class EmailApi {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.4273",
59
+ "X-Fern-SDK-Version": "0.0.4274",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.thera.email.SendLoginEmailRequest.jsonOrThrow(request, {
@@ -59,7 +59,7 @@ class EmploymentApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -109,7 +109,7 @@ class EmploymentApi {
109
109
  Authorization: yield this._getAuthorizationHeader(),
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
112
- "X-Fern-SDK-Version": "0.0.4273",
112
+ "X-Fern-SDK-Version": "0.0.4274",
113
113
  },
114
114
  contentType: "application/json",
115
115
  timeoutMs: 60000,
@@ -156,7 +156,7 @@ class EmploymentApi {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
159
- "X-Fern-SDK-Version": "0.0.4273",
159
+ "X-Fern-SDK-Version": "0.0.4274",
160
160
  },
161
161
  contentType: "application/json",
162
162
  timeoutMs: 60000,
@@ -61,7 +61,7 @@ class Misc {
61
61
  Authorization: yield this._getAuthorizationHeader(),
62
62
  "X-Fern-Language": "JavaScript",
63
63
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
64
- "X-Fern-SDK-Version": "0.0.4273",
64
+ "X-Fern-SDK-Version": "0.0.4274",
65
65
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
66
66
  },
67
67
  contentType: "application/json",
@@ -59,7 +59,7 @@ class OncycleApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  timeoutMs: 60000,
@@ -63,7 +63,7 @@ class UserApi {
63
63
  Authorization: yield this._getAuthorizationHeader(),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
66
- "X-Fern-SDK-Version": "0.0.4273",
66
+ "X-Fern-SDK-Version": "0.0.4274",
67
67
  },
68
68
  contentType: "application/json",
69
69
  queryParameters: _queryParams,
@@ -9,6 +9,6 @@ export interface BankTransfer {
9
9
  methodType: string;
10
10
  accountHolderName: string;
11
11
  details: Record<string, string>;
12
- wiseRecipientAccountId?: number;
12
+ wiseRecipientAccountId: number;
13
13
  accountType: TheraApi.db.WithdrawalMethodAccountType;
14
14
  }
@@ -59,7 +59,7 @@ class AipriseWebhookApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -56,7 +56,7 @@ class File_ {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.4273",
59
+ "X-Fern-SDK-Version": "0.0.4274",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class File_ {
97
97
  Authorization: yield this._getAuthorizationHeader(),
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
100
- "X-Fern-SDK-Version": "0.0.4273",
100
+ "X-Fern-SDK-Version": "0.0.4274",
101
101
  },
102
102
  contentType: "application/json",
103
103
  body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class File_ {
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.4273",
141
+ "X-Fern-SDK-Version": "0.0.4274",
142
142
  },
143
143
  contentType: "application/json",
144
144
  timeoutMs: 60000,
@@ -182,7 +182,7 @@ class File_ {
182
182
  Authorization: yield this._getAuthorizationHeader(),
183
183
  "X-Fern-Language": "JavaScript",
184
184
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
185
- "X-Fern-SDK-Version": "0.0.4273",
185
+ "X-Fern-SDK-Version": "0.0.4274",
186
186
  },
187
187
  contentType: "application/json",
188
188
  timeoutMs: 60000,
@@ -71,7 +71,7 @@ class BankApi {
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.4273",
74
+ "X-Fern-SDK-Version": "0.0.4274",
75
75
  },
76
76
  contentType: "application/json",
77
77
  timeoutMs: 60000,
@@ -120,7 +120,7 @@ class BankApi {
120
120
  Authorization: yield this._getAuthorizationHeader(),
121
121
  "X-Fern-Language": "JavaScript",
122
122
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
123
- "X-Fern-SDK-Version": "0.0.4273",
123
+ "X-Fern-SDK-Version": "0.0.4274",
124
124
  },
125
125
  contentType: "application/json",
126
126
  queryParameters: _queryParams,
@@ -176,7 +176,7 @@ class BankApi {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
179
- "X-Fern-SDK-Version": "0.0.4273",
179
+ "X-Fern-SDK-Version": "0.0.4274",
180
180
  },
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
@@ -224,7 +224,7 @@ class BankApi {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
227
- "X-Fern-SDK-Version": "0.0.4273",
227
+ "X-Fern-SDK-Version": "0.0.4274",
228
228
  },
229
229
  contentType: "application/json",
230
230
  body: yield serializers.api.thera.bank.CompleteAccountSignupRequest.jsonOrThrow(request, {
@@ -273,7 +273,7 @@ class BankApi {
273
273
  Authorization: yield this._getAuthorizationHeader(),
274
274
  "X-Fern-Language": "JavaScript",
275
275
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
276
- "X-Fern-SDK-Version": "0.0.4273",
276
+ "X-Fern-SDK-Version": "0.0.4274",
277
277
  },
278
278
  contentType: "application/json",
279
279
  queryParameters: _queryParams,
@@ -324,7 +324,7 @@ class BankApi {
324
324
  Authorization: yield this._getAuthorizationHeader(),
325
325
  "X-Fern-Language": "JavaScript",
326
326
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
327
- "X-Fern-SDK-Version": "0.0.4273",
327
+ "X-Fern-SDK-Version": "0.0.4274",
328
328
  },
329
329
  contentType: "application/json",
330
330
  body: yield serializers.api.thera.bank.SendMicroDepositRequest.jsonOrThrow(request, {
@@ -368,7 +368,7 @@ class BankApi {
368
368
  Authorization: yield this._getAuthorizationHeader(),
369
369
  "X-Fern-Language": "JavaScript",
370
370
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
371
- "X-Fern-SDK-Version": "0.0.4273",
371
+ "X-Fern-SDK-Version": "0.0.4274",
372
372
  },
373
373
  contentType: "application/json",
374
374
  body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
@@ -415,7 +415,7 @@ class BankApi {
415
415
  Authorization: yield this._getAuthorizationHeader(),
416
416
  "X-Fern-Language": "JavaScript",
417
417
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
418
- "X-Fern-SDK-Version": "0.0.4273",
418
+ "X-Fern-SDK-Version": "0.0.4274",
419
419
  },
420
420
  contentType: "application/json",
421
421
  queryParameters: _queryParams,
@@ -466,7 +466,7 @@ class BankApi {
466
466
  Authorization: yield this._getAuthorizationHeader(),
467
467
  "X-Fern-Language": "JavaScript",
468
468
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
469
- "X-Fern-SDK-Version": "0.0.4273",
469
+ "X-Fern-SDK-Version": "0.0.4274",
470
470
  },
471
471
  contentType: "application/json",
472
472
  queryParameters: _queryParams,
@@ -514,7 +514,7 @@ class BankApi {
514
514
  Authorization: yield this._getAuthorizationHeader(),
515
515
  "X-Fern-Language": "JavaScript",
516
516
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
517
- "X-Fern-SDK-Version": "0.0.4273",
517
+ "X-Fern-SDK-Version": "0.0.4274",
518
518
  },
519
519
  contentType: "application/json",
520
520
  body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
@@ -564,7 +564,7 @@ class BankApi {
564
564
  Authorization: yield this._getAuthorizationHeader(),
565
565
  "X-Fern-Language": "JavaScript",
566
566
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
567
- "X-Fern-SDK-Version": "0.0.4273",
567
+ "X-Fern-SDK-Version": "0.0.4274",
568
568
  },
569
569
  contentType: "application/json",
570
570
  body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
@@ -611,7 +611,7 @@ class BankApi {
611
611
  Authorization: yield this._getAuthorizationHeader(),
612
612
  "X-Fern-Language": "JavaScript",
613
613
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
614
- "X-Fern-SDK-Version": "0.0.4273",
614
+ "X-Fern-SDK-Version": "0.0.4274",
615
615
  },
616
616
  contentType: "application/json",
617
617
  timeoutMs: 60000,
@@ -655,7 +655,7 @@ class BankApi {
655
655
  Authorization: yield this._getAuthorizationHeader(),
656
656
  "X-Fern-Language": "JavaScript",
657
657
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
658
- "X-Fern-SDK-Version": "0.0.4273",
658
+ "X-Fern-SDK-Version": "0.0.4274",
659
659
  },
660
660
  contentType: "application/json",
661
661
  body: yield serializers.api.thera.bank.EditWithdrawalMethodRequest.jsonOrThrow(request, {
@@ -702,7 +702,7 @@ class BankApi {
702
702
  Authorization: yield this._getAuthorizationHeader(),
703
703
  "X-Fern-Language": "JavaScript",
704
704
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
705
- "X-Fern-SDK-Version": "0.0.4273",
705
+ "X-Fern-SDK-Version": "0.0.4274",
706
706
  },
707
707
  contentType: "application/json",
708
708
  body: yield serializers.api.thera.bank.InitiateWorkerWithdrawalRequest.jsonOrThrow(request, {
@@ -749,7 +749,7 @@ class BankApi {
749
749
  Authorization: yield this._getAuthorizationHeader(),
750
750
  "X-Fern-Language": "JavaScript",
751
751
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
752
- "X-Fern-SDK-Version": "0.0.4273",
752
+ "X-Fern-SDK-Version": "0.0.4274",
753
753
  },
754
754
  contentType: "application/json",
755
755
  timeoutMs: 60000,
@@ -793,7 +793,7 @@ class BankApi {
793
793
  Authorization: yield this._getAuthorizationHeader(),
794
794
  "X-Fern-Language": "JavaScript",
795
795
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
796
- "X-Fern-SDK-Version": "0.0.4273",
796
+ "X-Fern-SDK-Version": "0.0.4274",
797
797
  },
798
798
  contentType: "application/json",
799
799
  timeoutMs: 60000,
@@ -842,7 +842,7 @@ class BankApi {
842
842
  Authorization: yield this._getAuthorizationHeader(),
843
843
  "X-Fern-Language": "JavaScript",
844
844
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
845
- "X-Fern-SDK-Version": "0.0.4273",
845
+ "X-Fern-SDK-Version": "0.0.4274",
846
846
  },
847
847
  contentType: "application/json",
848
848
  queryParameters: _queryParams,
@@ -887,7 +887,7 @@ class BankApi {
887
887
  Authorization: yield this._getAuthorizationHeader(),
888
888
  "X-Fern-Language": "JavaScript",
889
889
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
890
- "X-Fern-SDK-Version": "0.0.4273",
890
+ "X-Fern-SDK-Version": "0.0.4274",
891
891
  },
892
892
  contentType: "application/json",
893
893
  body: yield serializers.api.thera.bank.SetAutoWithdrawalRequest.jsonOrThrow(request, {
@@ -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.4273",
937
+ "X-Fern-SDK-Version": "0.0.4274",
938
938
  },
939
939
  contentType: "application/json",
940
940
  body: yield serializers.api.thera.bank.CreateStripePaymentMethodFromPlaidRequest.jsonOrThrow(request, {
@@ -65,7 +65,7 @@ class CompanyApi {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
68
- "X-Fern-SDK-Version": "0.0.4273",
68
+ "X-Fern-SDK-Version": "0.0.4274",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -116,7 +116,7 @@ class CompanyApi {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
119
- "X-Fern-SDK-Version": "0.0.4273",
119
+ "X-Fern-SDK-Version": "0.0.4274",
120
120
  },
121
121
  contentType: "application/json",
122
122
  body: yield serializers.api.thera.company.InviteManagerRequest.jsonOrThrow(request, {
@@ -166,7 +166,7 @@ class CompanyApi {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
169
- "X-Fern-SDK-Version": "0.0.4273",
169
+ "X-Fern-SDK-Version": "0.0.4274",
170
170
  },
171
171
  contentType: "application/json",
172
172
  body: yield serializers.api.thera.company.EditManagerRolesRequest.jsonOrThrow(request, {
@@ -216,7 +216,7 @@ class CompanyApi {
216
216
  Authorization: yield this._getAuthorizationHeader(),
217
217
  "X-Fern-Language": "JavaScript",
218
218
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
219
- "X-Fern-SDK-Version": "0.0.4273",
219
+ "X-Fern-SDK-Version": "0.0.4274",
220
220
  },
221
221
  contentType: "application/json",
222
222
  body: yield serializers.api.thera.company.EditOrgAdminsRequest.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class CompanyApi {
266
266
  Authorization: yield this._getAuthorizationHeader(),
267
267
  "X-Fern-Language": "JavaScript",
268
268
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
269
- "X-Fern-SDK-Version": "0.0.4273",
269
+ "X-Fern-SDK-Version": "0.0.4274",
270
270
  },
271
271
  contentType: "application/json",
272
272
  timeoutMs: 60000,
@@ -313,7 +313,7 @@ class CompanyApi {
313
313
  Authorization: yield this._getAuthorizationHeader(),
314
314
  "X-Fern-Language": "JavaScript",
315
315
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
316
- "X-Fern-SDK-Version": "0.0.4273",
316
+ "X-Fern-SDK-Version": "0.0.4274",
317
317
  },
318
318
  contentType: "application/json",
319
319
  body: yield serializers.api.thera.company.ChangeContractTeamRequest.jsonOrThrow(request, {
@@ -363,7 +363,7 @@ class CompanyApi {
363
363
  Authorization: yield this._getAuthorizationHeader(),
364
364
  "X-Fern-Language": "JavaScript",
365
365
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
366
- "X-Fern-SDK-Version": "0.0.4273",
366
+ "X-Fern-SDK-Version": "0.0.4274",
367
367
  },
368
368
  contentType: "application/json",
369
369
  timeoutMs: 60000,
@@ -410,7 +410,7 @@ class CompanyApi {
410
410
  Authorization: yield this._getAuthorizationHeader(),
411
411
  "X-Fern-Language": "JavaScript",
412
412
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
413
- "X-Fern-SDK-Version": "0.0.4273",
413
+ "X-Fern-SDK-Version": "0.0.4274",
414
414
  },
415
415
  contentType: "application/json",
416
416
  timeoutMs: 60000,
@@ -457,7 +457,7 @@ class CompanyApi {
457
457
  Authorization: yield this._getAuthorizationHeader(),
458
458
  "X-Fern-Language": "JavaScript",
459
459
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
460
- "X-Fern-SDK-Version": "0.0.4273",
460
+ "X-Fern-SDK-Version": "0.0.4274",
461
461
  },
462
462
  contentType: "application/json",
463
463
  body: yield serializers.api.thera.company.CreateTeamRequest.jsonOrThrow(request, {
@@ -507,7 +507,7 @@ class CompanyApi {
507
507
  Authorization: yield this._getAuthorizationHeader(),
508
508
  "X-Fern-Language": "JavaScript",
509
509
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
510
- "X-Fern-SDK-Version": "0.0.4273",
510
+ "X-Fern-SDK-Version": "0.0.4274",
511
511
  },
512
512
  contentType: "application/json",
513
513
  timeoutMs: 60000,
@@ -554,7 +554,7 @@ class CompanyApi {
554
554
  Authorization: yield this._getAuthorizationHeader(),
555
555
  "X-Fern-Language": "JavaScript",
556
556
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
557
- "X-Fern-SDK-Version": "0.0.4273",
557
+ "X-Fern-SDK-Version": "0.0.4274",
558
558
  },
559
559
  contentType: "application/json",
560
560
  body: yield serializers.api.thera.company.EditTeamRequest.jsonOrThrow(request, {
@@ -605,7 +605,7 @@ class CompanyApi {
605
605
  Authorization: yield this._getAuthorizationHeader(),
606
606
  "X-Fern-Language": "JavaScript",
607
607
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
608
- "X-Fern-SDK-Version": "0.0.4273",
608
+ "X-Fern-SDK-Version": "0.0.4274",
609
609
  },
610
610
  contentType: "application/json",
611
611
  timeoutMs: 60000,
@@ -656,7 +656,7 @@ class CompanyApi {
656
656
  Authorization: yield this._getAuthorizationHeader(),
657
657
  "X-Fern-Language": "JavaScript",
658
658
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
659
- "X-Fern-SDK-Version": "0.0.4273",
659
+ "X-Fern-SDK-Version": "0.0.4274",
660
660
  },
661
661
  contentType: "application/json",
662
662
  queryParameters: _queryParams,
@@ -59,7 +59,7 @@ class CompanyW2PayrollApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class DisbursementApi {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
76
- "X-Fern-SDK-Version": "0.0.4273",
76
+ "X-Fern-SDK-Version": "0.0.4274",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -118,7 +118,7 @@ class DisbursementApi {
118
118
  Authorization: yield this._getAuthorizationHeader(),
119
119
  "X-Fern-Language": "JavaScript",
120
120
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
121
- "X-Fern-SDK-Version": "0.0.4273",
121
+ "X-Fern-SDK-Version": "0.0.4274",
122
122
  },
123
123
  contentType: "application/json",
124
124
  body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
@@ -162,7 +162,7 @@ class DisbursementApi {
162
162
  Authorization: yield this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
165
- "X-Fern-SDK-Version": "0.0.4273",
165
+ "X-Fern-SDK-Version": "0.0.4274",
166
166
  },
167
167
  contentType: "application/json",
168
168
  timeoutMs: 60000,
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
63
- "X-Fern-SDK-Version": "0.0.4273",
63
+ "X-Fern-SDK-Version": "0.0.4274",
64
64
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
65
65
  },
66
66
  contentType: "application/json",
@@ -56,7 +56,7 @@ class EmailApi {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.4273",
59
+ "X-Fern-SDK-Version": "0.0.4274",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.thera.email.SendLoginEmailRequest.jsonOrThrow(request, {
@@ -59,7 +59,7 @@ class EmploymentApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -109,7 +109,7 @@ class EmploymentApi {
109
109
  Authorization: yield this._getAuthorizationHeader(),
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
112
- "X-Fern-SDK-Version": "0.0.4273",
112
+ "X-Fern-SDK-Version": "0.0.4274",
113
113
  },
114
114
  contentType: "application/json",
115
115
  timeoutMs: 60000,
@@ -156,7 +156,7 @@ class EmploymentApi {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
159
- "X-Fern-SDK-Version": "0.0.4273",
159
+ "X-Fern-SDK-Version": "0.0.4274",
160
160
  },
161
161
  contentType: "application/json",
162
162
  timeoutMs: 60000,
@@ -61,7 +61,7 @@ class Misc {
61
61
  Authorization: yield this._getAuthorizationHeader(),
62
62
  "X-Fern-Language": "JavaScript",
63
63
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
64
- "X-Fern-SDK-Version": "0.0.4273",
64
+ "X-Fern-SDK-Version": "0.0.4274",
65
65
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
66
66
  },
67
67
  contentType: "application/json",
@@ -59,7 +59,7 @@ class OncycleApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.4274",
63
63
  },
64
64
  contentType: "application/json",
65
65
  timeoutMs: 60000,
@@ -63,7 +63,7 @@ class UserApi {
63
63
  Authorization: yield this._getAuthorizationHeader(),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
66
- "X-Fern-SDK-Version": "0.0.4273",
66
+ "X-Fern-SDK-Version": "0.0.4274",
67
67
  },
68
68
  contentType: "application/json",
69
69
  queryParameters: _queryParams,
@@ -9,6 +9,6 @@ export interface BankTransfer {
9
9
  methodType: string;
10
10
  accountHolderName: string;
11
11
  details: Record<string, string>;
12
- wiseRecipientAccountId?: number;
12
+ wiseRecipientAccountId: number;
13
13
  accountType: TheraApi.db.WithdrawalMethodAccountType;
14
14
  }
@@ -13,7 +13,7 @@ export declare namespace BankTransfer {
13
13
  methodType: string;
14
14
  accountHolderName: string;
15
15
  details: Record<string, string>;
16
- wiseRecipientAccountId?: number | null;
16
+ wiseRecipientAccountId: number;
17
17
  accountType: serializers.db.WithdrawalMethodAccountType.Raw;
18
18
  }
19
19
  }
@@ -44,6 +44,6 @@ exports.BankTransfer = core.serialization.object({
44
44
  methodType: core.serialization.string(),
45
45
  accountHolderName: core.serialization.string(),
46
46
  details: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
- wiseRecipientAccountId: core.serialization.number().optional(),
47
+ wiseRecipientAccountId: core.serialization.number(),
48
48
  accountType: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.WithdrawalMethodAccountType; })),
49
49
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.4273",
3
+ "version": "0.0.4274",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -13,7 +13,7 @@ export declare namespace BankTransfer {
13
13
  methodType: string;
14
14
  accountHolderName: string;
15
15
  details: Record<string, string>;
16
- wiseRecipientAccountId?: number | null;
16
+ wiseRecipientAccountId: number;
17
17
  accountType: serializers.db.WithdrawalMethodAccountType.Raw;
18
18
  }
19
19
  }
@@ -44,6 +44,6 @@ exports.BankTransfer = core.serialization.object({
44
44
  methodType: core.serialization.string(),
45
45
  accountHolderName: core.serialization.string(),
46
46
  details: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
- wiseRecipientAccountId: core.serialization.number().optional(),
47
+ wiseRecipientAccountId: core.serialization.number(),
48
48
  accountType: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.WithdrawalMethodAccountType; })),
49
49
  });