@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
@@ -103,7 +103,7 @@ class TpApi {
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
  },
@@ -162,7 +162,7 @@ class TpApi {
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.1-prerelease2786-dev-2",
165
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
166
166
  "X-Fern-Runtime": core.RUNTIME.type,
167
167
  "X-Fern-Runtime-Version": core.RUNTIME.version,
168
168
  },
@@ -227,7 +227,7 @@ class TpApi {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
230
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
230
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -284,7 +284,7 @@ class TpApi {
284
284
  Authorization: yield this._getAuthorizationHeader(),
285
285
  "X-Fern-Language": "JavaScript",
286
286
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
287
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
287
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
288
288
  "X-Fern-Runtime": core.RUNTIME.type,
289
289
  "X-Fern-Runtime-Version": core.RUNTIME.version,
290
290
  },
@@ -338,7 +338,7 @@ class TpApi {
338
338
  Authorization: yield this._getAuthorizationHeader(),
339
339
  "X-Fern-Language": "JavaScript",
340
340
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
341
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
341
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
342
342
  "X-Fern-Runtime": core.RUNTIME.type,
343
343
  "X-Fern-Runtime-Version": core.RUNTIME.version,
344
344
  },
@@ -396,7 +396,7 @@ class TpApi {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
399
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
399
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -452,7 +452,7 @@ class TpApi {
452
452
  Authorization: yield this._getAuthorizationHeader(),
453
453
  "X-Fern-Language": "JavaScript",
454
454
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
455
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
455
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
456
456
  "X-Fern-Runtime": core.RUNTIME.type,
457
457
  "X-Fern-Runtime-Version": core.RUNTIME.version,
458
458
  },
@@ -507,7 +507,7 @@ class TpApi {
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.1-prerelease2786-dev-2",
510
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
511
511
  "X-Fern-Runtime": core.RUNTIME.type,
512
512
  "X-Fern-Runtime-Version": core.RUNTIME.version,
513
513
  },
@@ -565,7 +565,7 @@ class TpApi {
565
565
  Authorization: yield this._getAuthorizationHeader(),
566
566
  "X-Fern-Language": "JavaScript",
567
567
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
568
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
568
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
569
569
  "X-Fern-Runtime": core.RUNTIME.type,
570
570
  "X-Fern-Runtime-Version": core.RUNTIME.version,
571
571
  },
@@ -634,7 +634,7 @@ class TpApi {
634
634
  Authorization: yield this._getAuthorizationHeader(),
635
635
  "X-Fern-Language": "JavaScript",
636
636
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
637
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
637
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
638
638
  "X-Fern-Runtime": core.RUNTIME.type,
639
639
  "X-Fern-Runtime-Version": core.RUNTIME.version,
640
640
  },
@@ -29,7 +29,8 @@ export declare class UserApi {
29
29
  * await client.api.thera.user.userApi.setUserComplianceSetting("string", "string", {
30
30
  * teamId: "string",
31
31
  * kycEnabled: true,
32
- * complianceDocsEnabled: true
32
+ * complianceDocsEnabled: true,
33
+ * kycMandateEnabled: true
33
34
  * })
34
35
  */
35
36
  setUserComplianceSetting(userId: string, companyId: string, request: TheraApi.api.thera.user.SetUserComplianceSettingsRequest, requestOptions?: UserApi.RequestOptions): Promise<void>;
@@ -59,7 +59,8 @@ class UserApi {
59
59
  * await client.api.thera.user.userApi.setUserComplianceSetting("string", "string", {
60
60
  * teamId: "string",
61
61
  * kycEnabled: true,
62
- * complianceDocsEnabled: true
62
+ * complianceDocsEnabled: true,
63
+ * kycMandateEnabled: true
63
64
  * })
64
65
  */
65
66
  setUserComplianceSetting(userId, companyId, request, requestOptions) {
@@ -71,7 +72,7 @@ class UserApi {
71
72
  Authorization: yield this._getAuthorizationHeader(),
72
73
  "X-Fern-Language": "JavaScript",
73
74
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
74
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
75
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
75
76
  "X-Fern-Runtime": core.RUNTIME.type,
76
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
77
78
  },
@@ -137,7 +138,7 @@ class UserApi {
137
138
  Authorization: yield this._getAuthorizationHeader(),
138
139
  "X-Fern-Language": "JavaScript",
139
140
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
140
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
141
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
141
142
  "X-Fern-Runtime": core.RUNTIME.type,
142
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
143
144
  },
@@ -200,7 +201,7 @@ class UserApi {
200
201
  Authorization: yield this._getAuthorizationHeader(),
201
202
  "X-Fern-Language": "JavaScript",
202
203
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
203
- "X-Fern-SDK-Version": "0.0.1-prerelease2786-dev-2",
204
+ "X-Fern-SDK-Version": "0.0.1-prerelease2787-dev-2",
204
205
  "X-Fern-Runtime": core.RUNTIME.type,
205
206
  "X-Fern-Runtime-Version": core.RUNTIME.version,
206
207
  },
@@ -6,4 +6,5 @@ export interface GetUserComplianceSettingsResponse {
6
6
  kycCompleted: boolean;
7
7
  complianceDocsEnabled: boolean;
8
8
  complianceCompleted: boolean;
9
+ kycMandateEnabled: boolean;
9
10
  }
@@ -6,4 +6,5 @@ export interface SetUserComplianceSettingsRequest {
6
6
  teamId?: string;
7
7
  kycEnabled: boolean;
8
8
  complianceDocsEnabled: boolean;
9
+ kycMandateEnabled: boolean;
9
10
  }
@@ -10,6 +10,4 @@ export interface CompanySettings {
10
10
  timeOffSettings?: TheraApi.db.TimeOffSettings;
11
11
  isTpOnboardingSkipped: boolean;
12
12
  autoApproveTimeOffRequests: boolean;
13
- isKycMandated: boolean;
14
- a?: string;
15
13
  }
@@ -4,4 +4,5 @@
4
4
  export interface VerificationSetting {
5
5
  kycEnabled: boolean;
6
6
  complianceEnabled: boolean;
7
+ kycMandateEnabled: boolean;
7
8
  }
@@ -33,6 +33,7 @@ export declare namespace CreateContractorsCsvRecord {
33
33
  contract_document_type: ContractorsOnboardCsvUploadContractDocumentType.Raw;
34
34
  kyc_verification_enabled?: boolean | null;
35
35
  compliance_docs_verification_enabled?: boolean | null;
36
+ kyc_mandate_enabled?: boolean | null;
36
37
  allowed_work_submitter?: WorkSubmitterType.Raw | null;
37
38
  monthly_bonus_rate?: string | null;
38
39
  custom_contract_name?: string | null;
@@ -55,6 +55,7 @@ exports.CreateContractorsCsvRecord = core.serialization.object({
55
55
  contractDocumentType: core.serialization.property("contract_document_type", ContractorsOnboardCsvUploadContractDocumentType_1.ContractorsOnboardCsvUploadContractDocumentType),
56
56
  kycVerificationEnabled: core.serialization.property("kyc_verification_enabled", core.serialization.boolean().optional()),
57
57
  complianceDocsVerificationEnabled: core.serialization.property("compliance_docs_verification_enabled", core.serialization.boolean().optional()),
58
+ kycMandateEnabled: core.serialization.property("kyc_mandate_enabled", core.serialization.boolean().optional()),
58
59
  allowedWorkSubmitter: core.serialization.property("allowed_work_submitter", WorkSubmitterType_1.WorkSubmitterType.optional()),
59
60
  monthlyBonusRate: core.serialization.property("monthly_bonus_rate", core.serialization.string().optional()),
60
61
  customContractName: core.serialization.property("custom_contract_name", core.serialization.string().optional()),
@@ -11,5 +11,6 @@ export declare namespace GetUserComplianceSettingsResponse {
11
11
  kycCompleted: boolean;
12
12
  complianceDocsEnabled: boolean;
13
13
  complianceCompleted: boolean;
14
+ kycMandateEnabled: boolean;
14
15
  }
15
16
  }
@@ -33,4 +33,5 @@ exports.GetUserComplianceSettingsResponse = core.serialization.object({
33
33
  kycCompleted: core.serialization.boolean(),
34
34
  complianceDocsEnabled: core.serialization.boolean(),
35
35
  complianceCompleted: core.serialization.boolean(),
36
+ kycMandateEnabled: core.serialization.boolean(),
36
37
  });
@@ -10,5 +10,6 @@ export declare namespace SetUserComplianceSettingsRequest {
10
10
  teamId?: string | null;
11
11
  kycEnabled: boolean;
12
12
  complianceDocsEnabled: boolean;
13
+ kycMandateEnabled: boolean;
13
14
  }
14
15
  }
@@ -32,4 +32,5 @@ exports.SetUserComplianceSettingsRequest = core.serialization.object({
32
32
  teamId: core.serialization.string().optional(),
33
33
  kycEnabled: core.serialization.boolean(),
34
34
  complianceDocsEnabled: core.serialization.boolean(),
35
+ kycMandateEnabled: core.serialization.boolean(),
35
36
  });
@@ -18,7 +18,5 @@ export declare namespace CompanySettings {
18
18
  timeOffSettings?: TimeOffSettings.Raw | null;
19
19
  isTpOnboardingSkipped: boolean;
20
20
  autoApproveTimeOffRequests: boolean;
21
- isKYCMandated: boolean;
22
- a?: string | null;
23
21
  }
24
22
  }
@@ -40,6 +40,4 @@ exports.CompanySettings = core.serialization.object({
40
40
  timeOffSettings: TimeOffSettings_1.TimeOffSettings.optional(),
41
41
  isTpOnboardingSkipped: core.serialization.boolean(),
42
42
  autoApproveTimeOffRequests: core.serialization.boolean(),
43
- isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
44
- a: core.serialization.string().optional(),
45
43
  });
@@ -9,5 +9,6 @@ export declare namespace VerificationSetting {
9
9
  interface Raw {
10
10
  kycEnabled: boolean;
11
11
  complianceEnabled: boolean;
12
+ kycMandateEnabled: boolean;
12
13
  }
13
14
  }
@@ -31,4 +31,5 @@ const core = __importStar(require("../../../../../../../../core"));
31
31
  exports.VerificationSetting = core.serialization.object({
32
32
  kycEnabled: core.serialization.boolean(),
33
33
  complianceEnabled: core.serialization.boolean(),
34
+ kycMandateEnabled: core.serialization.boolean(),
34
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2786-dev-2",
3
+ "version": "0.0.1-prerelease2787-dev-2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -33,6 +33,7 @@ export declare namespace CreateContractorsCsvRecord {
33
33
  contract_document_type: ContractorsOnboardCsvUploadContractDocumentType.Raw;
34
34
  kyc_verification_enabled?: boolean | null;
35
35
  compliance_docs_verification_enabled?: boolean | null;
36
+ kyc_mandate_enabled?: boolean | null;
36
37
  allowed_work_submitter?: WorkSubmitterType.Raw | null;
37
38
  monthly_bonus_rate?: string | null;
38
39
  custom_contract_name?: string | null;
@@ -55,6 +55,7 @@ exports.CreateContractorsCsvRecord = core.serialization.object({
55
55
  contractDocumentType: core.serialization.property("contract_document_type", ContractorsOnboardCsvUploadContractDocumentType_1.ContractorsOnboardCsvUploadContractDocumentType),
56
56
  kycVerificationEnabled: core.serialization.property("kyc_verification_enabled", core.serialization.boolean().optional()),
57
57
  complianceDocsVerificationEnabled: core.serialization.property("compliance_docs_verification_enabled", core.serialization.boolean().optional()),
58
+ kycMandateEnabled: core.serialization.property("kyc_mandate_enabled", core.serialization.boolean().optional()),
58
59
  allowedWorkSubmitter: core.serialization.property("allowed_work_submitter", WorkSubmitterType_1.WorkSubmitterType.optional()),
59
60
  monthlyBonusRate: core.serialization.property("monthly_bonus_rate", core.serialization.string().optional()),
60
61
  customContractName: core.serialization.property("custom_contract_name", core.serialization.string().optional()),
@@ -11,5 +11,6 @@ export declare namespace GetUserComplianceSettingsResponse {
11
11
  kycCompleted: boolean;
12
12
  complianceDocsEnabled: boolean;
13
13
  complianceCompleted: boolean;
14
+ kycMandateEnabled: boolean;
14
15
  }
15
16
  }
@@ -33,4 +33,5 @@ exports.GetUserComplianceSettingsResponse = core.serialization.object({
33
33
  kycCompleted: core.serialization.boolean(),
34
34
  complianceDocsEnabled: core.serialization.boolean(),
35
35
  complianceCompleted: core.serialization.boolean(),
36
+ kycMandateEnabled: core.serialization.boolean(),
36
37
  });
@@ -10,5 +10,6 @@ export declare namespace SetUserComplianceSettingsRequest {
10
10
  teamId?: string | null;
11
11
  kycEnabled: boolean;
12
12
  complianceDocsEnabled: boolean;
13
+ kycMandateEnabled: boolean;
13
14
  }
14
15
  }
@@ -32,4 +32,5 @@ exports.SetUserComplianceSettingsRequest = core.serialization.object({
32
32
  teamId: core.serialization.string().optional(),
33
33
  kycEnabled: core.serialization.boolean(),
34
34
  complianceDocsEnabled: core.serialization.boolean(),
35
+ kycMandateEnabled: core.serialization.boolean(),
35
36
  });
@@ -18,7 +18,5 @@ export declare namespace CompanySettings {
18
18
  timeOffSettings?: TimeOffSettings.Raw | null;
19
19
  isTpOnboardingSkipped: boolean;
20
20
  autoApproveTimeOffRequests: boolean;
21
- isKYCMandated: boolean;
22
- a?: string | null;
23
21
  }
24
22
  }
@@ -40,6 +40,4 @@ exports.CompanySettings = core.serialization.object({
40
40
  timeOffSettings: TimeOffSettings_1.TimeOffSettings.optional(),
41
41
  isTpOnboardingSkipped: core.serialization.boolean(),
42
42
  autoApproveTimeOffRequests: core.serialization.boolean(),
43
- isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
44
- a: core.serialization.string().optional(),
45
43
  });
@@ -9,5 +9,6 @@ export declare namespace VerificationSetting {
9
9
  interface Raw {
10
10
  kycEnabled: boolean;
11
11
  complianceEnabled: boolean;
12
+ kycMandateEnabled: boolean;
12
13
  }
13
14
  }
@@ -31,4 +31,5 @@ const core = __importStar(require("../../../../../../../../core"));
31
31
  exports.VerificationSetting = core.serialization.object({
32
32
  kycEnabled: core.serialization.boolean(),
33
33
  complianceEnabled: core.serialization.boolean(),
34
+ kycMandateEnabled: core.serialization.boolean(),
34
35
  });