@thera-hr/api-sdk 0.0.1-prerelease2786-dev-2 → 0.0.1-prerelease2787-dev-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) 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.js +19 -19
  7. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +20 -19
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +1 -0
  11. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +4 -3
  12. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +1 -0
  13. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
  14. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  15. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  16. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  18. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  19. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  20. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  21. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  22. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  24. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  25. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  26. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +2 -1
  27. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +5 -4
  28. package/api/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
  29. package/api/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
  30. package/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
  31. package/api/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
  32. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  33. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  34. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  35. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  36. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  37. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +19 -19
  38. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
  39. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +20 -19
  40. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  41. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +1 -0
  42. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +4 -3
  43. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +1 -0
  44. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
  45. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  46. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  47. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  48. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  49. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  50. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  51. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  52. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  53. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  55. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  56. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  57. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +2 -1
  58. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +5 -4
  59. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
  60. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
  61. package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
  62. package/dist/api/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
  63. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
  64. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +1 -0
  65. package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
  66. package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +1 -0
  67. package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
  68. package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +1 -0
  69. package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
  70. package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +0 -2
  71. package/dist/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
  72. package/dist/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +1 -0
  73. package/package.json +1 -1
  74. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
  75. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +1 -0
  76. package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
  77. package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +1 -0
  78. package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
  79. package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +1 -0
  80. package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
  81. package/serialization/resources/db/resources/company/types/CompanySettings.js +0 -2
  82. package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
  83. package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +1 -0
@@ -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-prerelease2786-dev-2",
71
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
135
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -238,7 +238,8 @@ class CompanyApi {
238
238
  * externalId: "string",
239
239
  * verificationSetting: {
240
240
  * kycEnabled: true,
241
- * complianceEnabled: true
241
+ * complianceEnabled: true,
242
+ * kycMandateEnabled: true
242
243
  * },
243
244
  * isApiContract: true,
244
245
  * monthlyBonusRate: "string",
@@ -258,7 +259,7 @@ class CompanyApi {
258
259
  Authorization: yield this._getAuthorizationHeader(),
259
260
  "X-Fern-Language": "JavaScript",
260
261
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
261
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
262
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
262
263
  "X-Fern-Runtime": core.RUNTIME.type,
263
264
  "X-Fern-Runtime-Version": core.RUNTIME.version,
264
265
  },
@@ -332,7 +333,7 @@ class CompanyApi {
332
333
  Authorization: yield this._getAuthorizationHeader(),
333
334
  "X-Fern-Language": "JavaScript",
334
335
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
335
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
336
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
336
337
  "X-Fern-Runtime": core.RUNTIME.type,
337
338
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
339
  },
@@ -404,7 +405,7 @@ class CompanyApi {
404
405
  Authorization: yield this._getAuthorizationHeader(),
405
406
  "X-Fern-Language": "JavaScript",
406
407
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
407
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
408
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
408
409
  "X-Fern-Runtime": core.RUNTIME.type,
409
410
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
411
  },
@@ -479,7 +480,7 @@ class CompanyApi {
479
480
  Authorization: yield this._getAuthorizationHeader(),
480
481
  "X-Fern-Language": "JavaScript",
481
482
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
482
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
483
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
483
484
  "X-Fern-Runtime": core.RUNTIME.type,
484
485
  "X-Fern-Runtime-Version": core.RUNTIME.version,
485
486
  },
@@ -540,7 +541,7 @@ class CompanyApi {
540
541
  Authorization: yield this._getAuthorizationHeader(),
541
542
  "X-Fern-Language": "JavaScript",
542
543
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
543
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
544
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
544
545
  "X-Fern-Runtime": core.RUNTIME.type,
545
546
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
547
  },
@@ -602,7 +603,7 @@ class CompanyApi {
602
603
  Authorization: yield this._getAuthorizationHeader(),
603
604
  "X-Fern-Language": "JavaScript",
604
605
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
605
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
606
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
606
607
  "X-Fern-Runtime": core.RUNTIME.type,
607
608
  "X-Fern-Runtime-Version": core.RUNTIME.version,
608
609
  },
@@ -662,7 +663,7 @@ class CompanyApi {
662
663
  Authorization: yield this._getAuthorizationHeader(),
663
664
  "X-Fern-Language": "JavaScript",
664
665
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
665
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
666
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
666
667
  "X-Fern-Runtime": core.RUNTIME.type,
667
668
  "X-Fern-Runtime-Version": core.RUNTIME.version,
668
669
  },
@@ -719,7 +720,7 @@ class CompanyApi {
719
720
  Authorization: yield this._getAuthorizationHeader(),
720
721
  "X-Fern-Language": "JavaScript",
721
722
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
722
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
723
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
723
724
  "X-Fern-Runtime": core.RUNTIME.type,
724
725
  "X-Fern-Runtime-Version": core.RUNTIME.version,
725
726
  },
@@ -788,7 +789,7 @@ class CompanyApi {
788
789
  Authorization: yield this._getAuthorizationHeader(),
789
790
  "X-Fern-Language": "JavaScript",
790
791
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
791
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
792
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
792
793
  "X-Fern-Runtime": core.RUNTIME.type,
793
794
  "X-Fern-Runtime-Version": core.RUNTIME.version,
794
795
  },
@@ -849,7 +850,7 @@ class CompanyApi {
849
850
  Authorization: yield this._getAuthorizationHeader(),
850
851
  "X-Fern-Language": "JavaScript",
851
852
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
852
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
853
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
853
854
  "X-Fern-Runtime": core.RUNTIME.type,
854
855
  "X-Fern-Runtime-Version": core.RUNTIME.version,
855
856
  },
@@ -910,7 +911,7 @@ class CompanyApi {
910
911
  Authorization: yield this._getAuthorizationHeader(),
911
912
  "X-Fern-Language": "JavaScript",
912
913
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
913
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
914
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
914
915
  "X-Fern-Runtime": core.RUNTIME.type,
915
916
  "X-Fern-Runtime-Version": core.RUNTIME.version,
916
917
  },
@@ -970,7 +971,7 @@ class CompanyApi {
970
971
  Authorization: yield this._getAuthorizationHeader(),
971
972
  "X-Fern-Language": "JavaScript",
972
973
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
973
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
974
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
974
975
  "X-Fern-Runtime": core.RUNTIME.type,
975
976
  "X-Fern-Runtime-Version": core.RUNTIME.version,
976
977
  },
@@ -1032,7 +1033,7 @@ class CompanyApi {
1032
1033
  Authorization: yield this._getAuthorizationHeader(),
1033
1034
  "X-Fern-Language": "JavaScript",
1034
1035
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1035
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
1036
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
1036
1037
  "X-Fern-Runtime": core.RUNTIME.type,
1037
1038
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1038
1039
  },
@@ -1096,7 +1097,7 @@ class CompanyApi {
1096
1097
  Authorization: yield this._getAuthorizationHeader(),
1097
1098
  "X-Fern-Language": "JavaScript",
1098
1099
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1099
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
1100
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
1100
1101
  "X-Fern-Runtime": core.RUNTIME.type,
1101
1102
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1102
1103
  },
@@ -1164,7 +1165,7 @@ class CompanyApi {
1164
1165
  Authorization: yield this._getAuthorizationHeader(),
1165
1166
  "X-Fern-Language": "JavaScript",
1166
1167
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1167
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
1168
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
1168
1169
  "X-Fern-Runtime": core.RUNTIME.type,
1169
1170
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1170
1171
  },
@@ -1238,7 +1239,7 @@ class CompanyApi {
1238
1239
  Authorization: yield this._getAuthorizationHeader(),
1239
1240
  "X-Fern-Language": "JavaScript",
1240
1241
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1241
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
1242
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
1242
1243
  "X-Fern-Runtime": core.RUNTIME.type,
1243
1244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1244
1245
  },
@@ -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-prerelease2786-dev-2",
75
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
139
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
207
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -78,6 +78,7 @@ export declare class ContractorApi {
78
78
  * contractDocumentType: TheraApi.api.thera.contractor.ContractorsOnboardCsvUploadContractDocumentType.NoContract,
79
79
  * kycVerificationEnabled: true,
80
80
  * complianceDocsVerificationEnabled: true,
81
+ * kycMandateEnabled: true,
81
82
  * allowedWorkSubmitter: TheraApi.api.thera.contractor.WorkSubmitterType.Contractor,
82
83
  * monthlyBonusRate: "string",
83
84
  * customContractName: "string"
@@ -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-prerelease2786-dev-2",
83
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
144
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -220,6 +220,7 @@ class ContractorApi {
220
220
  * contractDocumentType: TheraApi.api.thera.contractor.ContractorsOnboardCsvUploadContractDocumentType.NoContract,
221
221
  * kycVerificationEnabled: true,
222
222
  * complianceDocsVerificationEnabled: true,
223
+ * kycMandateEnabled: true,
223
224
  * allowedWorkSubmitter: TheraApi.api.thera.contractor.WorkSubmitterType.Contractor,
224
225
  * monthlyBonusRate: "string",
225
226
  * customContractName: "string"
@@ -240,7 +241,7 @@ class ContractorApi {
240
241
  Authorization: yield this._getAuthorizationHeader(),
241
242
  "X-Fern-Language": "JavaScript",
242
243
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
243
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
244
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
244
245
  "X-Fern-Runtime": core.RUNTIME.type,
245
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
247
  },
@@ -35,6 +35,7 @@ import * as TheraApi from "../../../../../../../../../../index";
35
35
  * contractDocumentType: TheraApi.api.thera.contractor.ContractorsOnboardCsvUploadContractDocumentType.NoContract,
36
36
  * kycVerificationEnabled: true,
37
37
  * complianceDocsVerificationEnabled: true,
38
+ * kycMandateEnabled: true,
38
39
  * allowedWorkSubmitter: TheraApi.api.thera.contractor.WorkSubmitterType.Contractor,
39
40
  * monthlyBonusRate: "string",
40
41
  * customContractName: "string"
@@ -26,6 +26,7 @@ export interface CreateContractorsCsvRecord {
26
26
  contractDocumentType: TheraApi.api.thera.contractor.ContractorsOnboardCsvUploadContractDocumentType;
27
27
  kycVerificationEnabled?: boolean;
28
28
  complianceDocsVerificationEnabled?: boolean;
29
+ kycMandateEnabled?: boolean;
29
30
  /** If not provided, company and contractor is allowed to submit work */
30
31
  allowedWorkSubmitter?: TheraApi.api.thera.contractor.WorkSubmitterType;
31
32
  monthlyBonusRate?: string;
@@ -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-prerelease2786-dev-2",
106
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
178
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
232
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
288
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
349
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
404
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
471
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
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-prerelease2786-dev-2",
74
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
75
75
  "X-Fern-Runtime": core.RUNTIME.type,
76
76
  "X-Fern-Runtime-Version": core.RUNTIME.version,
77
77
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -68,7 +68,7 @@ class DocumentApi {
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-prerelease2786-dev-2",
71
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -132,7 +132,7 @@ class DocumentApi {
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-prerelease2786-dev-2",
135
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -193,7 +193,7 @@ class DocumentApi {
193
193
  Authorization: yield this._getAuthorizationHeader(),
194
194
  "X-Fern-Language": "JavaScript",
195
195
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
196
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
196
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
197
197
  "X-Fern-Runtime": core.RUNTIME.type,
198
198
  "X-Fern-Runtime-Version": core.RUNTIME.version,
199
199
  },
@@ -66,7 +66,7 @@ class EmailApi {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
69
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
69
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -123,7 +123,7 @@ class EmailApi {
123
123
  Authorization: yield this._getAuthorizationHeader(),
124
124
  "X-Fern-Language": "JavaScript",
125
125
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
126
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
126
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
127
127
  "X-Fern-Runtime": core.RUNTIME.type,
128
128
  "X-Fern-Runtime-Version": core.RUNTIME.version,
129
129
  },
@@ -67,7 +67,7 @@ class EmploymentApi {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
70
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
70
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -136,7 +136,7 @@ class EmploymentApi {
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-prerelease2786-dev-2",
139
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
140
140
  "X-Fern-Runtime": core.RUNTIME.type,
141
141
  "X-Fern-Runtime-Version": core.RUNTIME.version,
142
142
  },
@@ -196,7 +196,7 @@ class EmploymentApi {
196
196
  Authorization: yield this._getAuthorizationHeader(),
197
197
  "X-Fern-Language": "JavaScript",
198
198
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
199
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
199
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
200
200
  "X-Fern-Runtime": core.RUNTIME.type,
201
201
  "X-Fern-Runtime-Version": core.RUNTIME.version,
202
202
  },
@@ -250,7 +250,7 @@ class EmploymentApi {
250
250
  Authorization: yield this._getAuthorizationHeader(),
251
251
  "X-Fern-Language": "JavaScript",
252
252
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
253
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
253
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
254
254
  "X-Fern-Runtime": core.RUNTIME.type,
255
255
  "X-Fern-Runtime-Version": core.RUNTIME.version,
256
256
  },
@@ -305,7 +305,7 @@ class EmploymentApi {
305
305
  Authorization: yield this._getAuthorizationHeader(),
306
306
  "X-Fern-Language": "JavaScript",
307
307
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
308
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
308
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
309
309
  "X-Fern-Runtime": core.RUNTIME.type,
310
310
  "X-Fern-Runtime-Version": core.RUNTIME.version,
311
311
  },
@@ -65,7 +65,7 @@ class EorTrackerApi {
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.1-prerelease2786-dev-2",
68
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
69
69
  "X-Fern-Runtime": core.RUNTIME.type,
70
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
71
71
  },
@@ -122,7 +122,7 @@ class EorTrackerApi {
122
122
  Authorization: yield this._getAuthorizationHeader(),
123
123
  "X-Fern-Language": "JavaScript",
124
124
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
125
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
125
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
126
126
  "X-Fern-Runtime": core.RUNTIME.type,
127
127
  "X-Fern-Runtime-Version": core.RUNTIME.version,
128
128
  },
@@ -68,7 +68,7 @@ class Misc {
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-prerelease2786-dev-2",
71
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -129,7 +129,7 @@ class Misc {
129
129
  Authorization: yield this._getAuthorizationHeader(),
130
130
  "X-Fern-Language": "JavaScript",
131
131
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
132
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
132
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
133
133
  "X-Fern-Runtime": core.RUNTIME.type,
134
134
  "X-Fern-Runtime-Version": core.RUNTIME.version,
135
135
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -190,7 +190,7 @@ class Misc {
190
190
  Authorization: yield this._getAuthorizationHeader(),
191
191
  "X-Fern-Language": "JavaScript",
192
192
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
193
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
193
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
194
194
  "X-Fern-Runtime": core.RUNTIME.type,
195
195
  "X-Fern-Runtime-Version": core.RUNTIME.version,
196
196
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -245,7 +245,7 @@ class Misc {
245
245
  Authorization: yield this._getAuthorizationHeader(),
246
246
  "X-Fern-Language": "JavaScript",
247
247
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
248
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
248
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
249
249
  "X-Fern-Runtime": core.RUNTIME.type,
250
250
  "X-Fern-Runtime-Version": core.RUNTIME.version,
251
251
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -300,7 +300,7 @@ class Misc {
300
300
  Authorization: yield this._getAuthorizationHeader(),
301
301
  "X-Fern-Language": "JavaScript",
302
302
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
303
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
303
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
304
304
  "X-Fern-Runtime": core.RUNTIME.type,
305
305
  "X-Fern-Runtime-Version": core.RUNTIME.version,
306
306
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -361,7 +361,7 @@ class Misc {
361
361
  Authorization: yield this._getAuthorizationHeader(),
362
362
  "X-Fern-Language": "JavaScript",
363
363
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
364
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
364
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
365
365
  "X-Fern-Runtime": core.RUNTIME.type,
366
366
  "X-Fern-Runtime-Version": core.RUNTIME.version,
367
367
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
@@ -65,7 +65,7 @@ class OffcycleApi {
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.1-prerelease2786-dev-2",
68
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
69
69
  "X-Fern-Runtime": core.RUNTIME.type,
70
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
71
71
  },
@@ -65,7 +65,7 @@ class OncycleApi {
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.1-prerelease2786-dev-2",
68
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
69
69
  "X-Fern-Runtime": core.RUNTIME.type,
70
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
71
71
  },
@@ -122,7 +122,7 @@ class OncycleApi {
122
122
  Authorization: yield this._getAuthorizationHeader(),
123
123
  "X-Fern-Language": "JavaScript",
124
124
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
125
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
125
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
126
126
  "X-Fern-Runtime": core.RUNTIME.type,
127
127
  "X-Fern-Runtime-Version": core.RUNTIME.version,
128
128
  },
@@ -179,7 +179,7 @@ class OncycleApi {
179
179
  Authorization: yield this._getAuthorizationHeader(),
180
180
  "X-Fern-Language": "JavaScript",
181
181
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
182
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
182
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
183
183
  "X-Fern-Runtime": core.RUNTIME.type,
184
184
  "X-Fern-Runtime-Version": core.RUNTIME.version,
185
185
  },