@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.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +19 -19
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +20 -19
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +4 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +5 -4
- package/api/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
- package/api/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +19 -19
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +20 -19
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +4 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +5 -4
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
- package/dist/api/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +0 -2
- package/dist/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
- package/dist/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +1 -0
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/GetUserComplianceSettingsResponse.js +1 -0
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/user/resources/userApi/types/SetUserComplianceSettingsRequest.js +1 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +0 -2
- package/serialization/resources/db/resources/company/types/CompanySettings.js +0 -2
- package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.d.ts +1 -0
- package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js +1 -0
package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
},
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts
CHANGED
|
@@ -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>;
|
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
},
|
|
@@ -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()),
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
|
@@ -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
|
@@ -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()),
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
package/serialization/resources/model/resources/thera/resources/setting/types/VerificationSetting.js
CHANGED
|
@@ -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
|
});
|