@tachybase/plugin-auth-dingtalk 1.3.18 → 1.3.20
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/dist/externalVersion.js +5 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
- package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
- package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
- package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
- package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
- package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
- package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
- package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
- package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
- package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
- package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
- package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
- package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
- package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
- package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
- package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
- package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
- package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
- package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
- package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
- package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
- package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
- package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
- package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
- package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
- package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
- package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
- package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
- package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
- package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
- package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
- package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
- package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
- package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/package.json +8 -8
|
@@ -290,6 +290,7 @@ export class CreateRecordRequest extends $tea.Model {
|
|
|
290
290
|
deptId?: number;
|
|
291
291
|
fieldList?: CreateRecordRequestFieldList[];
|
|
292
292
|
groupList?: CreateRecordRequestGroupList[];
|
|
293
|
+
outerId?: string;
|
|
293
294
|
/**
|
|
294
295
|
* @example
|
|
295
296
|
* xxx员工劳动合同电子签署
|
|
@@ -343,6 +344,7 @@ export class CreateRecordRequest extends $tea.Model {
|
|
|
343
344
|
deptId: 'deptId',
|
|
344
345
|
fieldList: 'fieldList',
|
|
345
346
|
groupList: 'groupList',
|
|
347
|
+
outerId: 'outerId',
|
|
346
348
|
remark: 'remark',
|
|
347
349
|
signLastLegalEntityName: 'signLastLegalEntityName',
|
|
348
350
|
signLegalEntityName: 'signLegalEntityName',
|
|
@@ -359,6 +361,7 @@ export class CreateRecordRequest extends $tea.Model {
|
|
|
359
361
|
deptId: 'number',
|
|
360
362
|
fieldList: { 'type': 'array', 'itemType': CreateRecordRequestFieldList },
|
|
361
363
|
groupList: { 'type': 'array', 'itemType': CreateRecordRequestGroupList },
|
|
364
|
+
outerId: 'string',
|
|
362
365
|
remark: 'string',
|
|
363
366
|
signLastLegalEntityName: 'string',
|
|
364
367
|
signLegalEntityName: 'string',
|
|
@@ -698,6 +701,132 @@ export class ECertQueryResponse extends $tea.Model {
|
|
|
698
701
|
}
|
|
699
702
|
}
|
|
700
703
|
|
|
704
|
+
export class EmpStartDismissionHeaders extends $tea.Model {
|
|
705
|
+
commonHeaders?: { [key: string]: string };
|
|
706
|
+
xAcsDingtalkAccessToken?: string;
|
|
707
|
+
static names(): { [key: string]: string } {
|
|
708
|
+
return {
|
|
709
|
+
commonHeaders: 'commonHeaders',
|
|
710
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
static types(): { [key: string]: any } {
|
|
715
|
+
return {
|
|
716
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
717
|
+
xAcsDingtalkAccessToken: 'string',
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
constructor(map?: { [key: string]: any }) {
|
|
722
|
+
super(map);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export class EmpStartDismissionRequest extends $tea.Model {
|
|
727
|
+
/**
|
|
728
|
+
* @remarks
|
|
729
|
+
* This parameter is required.
|
|
730
|
+
*/
|
|
731
|
+
lastWorkDate?: number;
|
|
732
|
+
partner?: boolean;
|
|
733
|
+
remark?: string;
|
|
734
|
+
terminationReasonPassive?: string[];
|
|
735
|
+
terminationReasonVoluntary?: string[];
|
|
736
|
+
toHireBlackList?: boolean;
|
|
737
|
+
toHireDismissionTalent?: boolean;
|
|
738
|
+
toHrmBlackList?: boolean;
|
|
739
|
+
/**
|
|
740
|
+
* @remarks
|
|
741
|
+
* This parameter is required.
|
|
742
|
+
*
|
|
743
|
+
* @example
|
|
744
|
+
* 2163515669935611
|
|
745
|
+
*/
|
|
746
|
+
userId?: string;
|
|
747
|
+
static names(): { [key: string]: string } {
|
|
748
|
+
return {
|
|
749
|
+
lastWorkDate: 'lastWorkDate',
|
|
750
|
+
partner: 'partner',
|
|
751
|
+
remark: 'remark',
|
|
752
|
+
terminationReasonPassive: 'terminationReasonPassive',
|
|
753
|
+
terminationReasonVoluntary: 'terminationReasonVoluntary',
|
|
754
|
+
toHireBlackList: 'toHireBlackList',
|
|
755
|
+
toHireDismissionTalent: 'toHireDismissionTalent',
|
|
756
|
+
toHrmBlackList: 'toHrmBlackList',
|
|
757
|
+
userId: 'userId',
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
static types(): { [key: string]: any } {
|
|
762
|
+
return {
|
|
763
|
+
lastWorkDate: 'number',
|
|
764
|
+
partner: 'boolean',
|
|
765
|
+
remark: 'string',
|
|
766
|
+
terminationReasonPassive: { 'type': 'array', 'itemType': 'string' },
|
|
767
|
+
terminationReasonVoluntary: { 'type': 'array', 'itemType': 'string' },
|
|
768
|
+
toHireBlackList: 'boolean',
|
|
769
|
+
toHireDismissionTalent: 'boolean',
|
|
770
|
+
toHrmBlackList: 'boolean',
|
|
771
|
+
userId: 'string',
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
constructor(map?: { [key: string]: any }) {
|
|
776
|
+
super(map);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export class EmpStartDismissionResponseBody extends $tea.Model {
|
|
781
|
+
requestId?: string;
|
|
782
|
+
result?: boolean;
|
|
783
|
+
success?: boolean;
|
|
784
|
+
static names(): { [key: string]: string } {
|
|
785
|
+
return {
|
|
786
|
+
requestId: 'requestId',
|
|
787
|
+
result: 'result',
|
|
788
|
+
success: 'success',
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
static types(): { [key: string]: any } {
|
|
793
|
+
return {
|
|
794
|
+
requestId: 'string',
|
|
795
|
+
result: 'boolean',
|
|
796
|
+
success: 'boolean',
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
constructor(map?: { [key: string]: any }) {
|
|
801
|
+
super(map);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export class EmpStartDismissionResponse extends $tea.Model {
|
|
806
|
+
headers?: { [key: string]: string };
|
|
807
|
+
statusCode?: number;
|
|
808
|
+
body?: EmpStartDismissionResponseBody;
|
|
809
|
+
static names(): { [key: string]: string } {
|
|
810
|
+
return {
|
|
811
|
+
headers: 'headers',
|
|
812
|
+
statusCode: 'statusCode',
|
|
813
|
+
body: 'body',
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
static types(): { [key: string]: any } {
|
|
818
|
+
return {
|
|
819
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
820
|
+
statusCode: 'number',
|
|
821
|
+
body: EmpStartDismissionResponseBody,
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
constructor(map?: { [key: string]: any }) {
|
|
826
|
+
super(map);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
701
830
|
export class EmployeeAttachmentUpdateHeaders extends $tea.Model {
|
|
702
831
|
commonHeaders?: { [key: string]: string };
|
|
703
832
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -917,6 +1046,78 @@ export class EsignRollbackResponse extends $tea.Model {
|
|
|
917
1046
|
}
|
|
918
1047
|
}
|
|
919
1048
|
|
|
1049
|
+
export class GetAllDismissionReasonsHeaders extends $tea.Model {
|
|
1050
|
+
commonHeaders?: { [key: string]: string };
|
|
1051
|
+
xAcsDingtalkAccessToken?: string;
|
|
1052
|
+
static names(): { [key: string]: string } {
|
|
1053
|
+
return {
|
|
1054
|
+
commonHeaders: 'commonHeaders',
|
|
1055
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
static types(): { [key: string]: any } {
|
|
1060
|
+
return {
|
|
1061
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1062
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
constructor(map?: { [key: string]: any }) {
|
|
1067
|
+
super(map);
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export class GetAllDismissionReasonsResponseBody extends $tea.Model {
|
|
1072
|
+
requestId?: string;
|
|
1073
|
+
result?: GetAllDismissionReasonsResponseBodyResult;
|
|
1074
|
+
success?: boolean;
|
|
1075
|
+
static names(): { [key: string]: string } {
|
|
1076
|
+
return {
|
|
1077
|
+
requestId: 'requestId',
|
|
1078
|
+
result: 'result',
|
|
1079
|
+
success: 'success',
|
|
1080
|
+
};
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
static types(): { [key: string]: any } {
|
|
1084
|
+
return {
|
|
1085
|
+
requestId: 'string',
|
|
1086
|
+
result: GetAllDismissionReasonsResponseBodyResult,
|
|
1087
|
+
success: 'boolean',
|
|
1088
|
+
};
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
constructor(map?: { [key: string]: any }) {
|
|
1092
|
+
super(map);
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
export class GetAllDismissionReasonsResponse extends $tea.Model {
|
|
1097
|
+
headers?: { [key: string]: string };
|
|
1098
|
+
statusCode?: number;
|
|
1099
|
+
body?: GetAllDismissionReasonsResponseBody;
|
|
1100
|
+
static names(): { [key: string]: string } {
|
|
1101
|
+
return {
|
|
1102
|
+
headers: 'headers',
|
|
1103
|
+
statusCode: 'statusCode',
|
|
1104
|
+
body: 'body',
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
static types(): { [key: string]: any } {
|
|
1109
|
+
return {
|
|
1110
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1111
|
+
statusCode: 'number',
|
|
1112
|
+
body: GetAllDismissionReasonsResponseBody,
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
constructor(map?: { [key: string]: any }) {
|
|
1117
|
+
super(map);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
|
|
920
1121
|
export class GetEmployeeRosterByFieldHeaders extends $tea.Model {
|
|
921
1122
|
commonHeaders?: { [key: string]: string };
|
|
922
1123
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -1349,6 +1550,94 @@ export class GetSignRecordByUserIdResponse extends $tea.Model {
|
|
|
1349
1550
|
}
|
|
1350
1551
|
}
|
|
1351
1552
|
|
|
1553
|
+
export class GetUserSignedRecordsByOuterIdHeaders extends $tea.Model {
|
|
1554
|
+
commonHeaders?: { [key: string]: string };
|
|
1555
|
+
xAcsDingtalkAccessToken?: string;
|
|
1556
|
+
static names(): { [key: string]: string } {
|
|
1557
|
+
return {
|
|
1558
|
+
commonHeaders: 'commonHeaders',
|
|
1559
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1560
|
+
};
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
static types(): { [key: string]: any } {
|
|
1564
|
+
return {
|
|
1565
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1566
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
constructor(map?: { [key: string]: any }) {
|
|
1571
|
+
super(map);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
export class GetUserSignedRecordsByOuterIdRequest extends $tea.Model {
|
|
1576
|
+
body?: string[];
|
|
1577
|
+
static names(): { [key: string]: string } {
|
|
1578
|
+
return {
|
|
1579
|
+
body: 'body',
|
|
1580
|
+
};
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
static types(): { [key: string]: any } {
|
|
1584
|
+
return {
|
|
1585
|
+
body: { 'type': 'array', 'itemType': 'string' },
|
|
1586
|
+
};
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
constructor(map?: { [key: string]: any }) {
|
|
1590
|
+
super(map);
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
export class GetUserSignedRecordsByOuterIdResponseBody extends $tea.Model {
|
|
1595
|
+
result?: GetUserSignedRecordsByOuterIdResponseBodyResult[];
|
|
1596
|
+
success?: boolean;
|
|
1597
|
+
static names(): { [key: string]: string } {
|
|
1598
|
+
return {
|
|
1599
|
+
result: 'result',
|
|
1600
|
+
success: 'success',
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
static types(): { [key: string]: any } {
|
|
1605
|
+
return {
|
|
1606
|
+
result: { 'type': 'array', 'itemType': GetUserSignedRecordsByOuterIdResponseBodyResult },
|
|
1607
|
+
success: 'boolean',
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
constructor(map?: { [key: string]: any }) {
|
|
1612
|
+
super(map);
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
export class GetUserSignedRecordsByOuterIdResponse extends $tea.Model {
|
|
1617
|
+
headers?: { [key: string]: string };
|
|
1618
|
+
statusCode?: number;
|
|
1619
|
+
body?: GetUserSignedRecordsByOuterIdResponseBody;
|
|
1620
|
+
static names(): { [key: string]: string } {
|
|
1621
|
+
return {
|
|
1622
|
+
headers: 'headers',
|
|
1623
|
+
statusCode: 'statusCode',
|
|
1624
|
+
body: 'body',
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
static types(): { [key: string]: any } {
|
|
1629
|
+
return {
|
|
1630
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1631
|
+
statusCode: 'number',
|
|
1632
|
+
body: GetUserSignedRecordsByOuterIdResponseBody,
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
constructor(map?: { [key: string]: any }) {
|
|
1637
|
+
super(map);
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1352
1641
|
export class HrmAuthResourcesQueryHeaders extends $tea.Model {
|
|
1353
1642
|
commonHeaders?: { [key: string]: string };
|
|
1354
1643
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -2111,9 +2400,6 @@ export class HrmProcessTerminationAndHandoverRequest extends $tea.Model {
|
|
|
2111
2400
|
*/
|
|
2112
2401
|
dismissionMemo?: string;
|
|
2113
2402
|
/**
|
|
2114
|
-
* @remarks
|
|
2115
|
-
* This parameter is required.
|
|
2116
|
-
*
|
|
2117
2403
|
* @example
|
|
2118
2404
|
* 1
|
|
2119
2405
|
*/
|
|
@@ -2144,6 +2430,8 @@ export class HrmProcessTerminationAndHandoverRequest extends $tea.Model {
|
|
|
2144
2430
|
* user123
|
|
2145
2431
|
*/
|
|
2146
2432
|
permissionHandoverUserId?: string;
|
|
2433
|
+
terminationReasonPassive?: string[];
|
|
2434
|
+
terminationReasonVoluntary?: string[];
|
|
2147
2435
|
/**
|
|
2148
2436
|
* @remarks
|
|
2149
2437
|
* This parameter is required.
|
|
@@ -2163,6 +2451,8 @@ export class HrmProcessTerminationAndHandoverRequest extends $tea.Model {
|
|
|
2163
2451
|
lastWorkDate: 'lastWorkDate',
|
|
2164
2452
|
optUserId: 'optUserId',
|
|
2165
2453
|
permissionHandoverUserId: 'permissionHandoverUserId',
|
|
2454
|
+
terminationReasonPassive: 'terminationReasonPassive',
|
|
2455
|
+
terminationReasonVoluntary: 'terminationReasonVoluntary',
|
|
2166
2456
|
userId: 'userId',
|
|
2167
2457
|
};
|
|
2168
2458
|
}
|
|
@@ -2178,6 +2468,8 @@ export class HrmProcessTerminationAndHandoverRequest extends $tea.Model {
|
|
|
2178
2468
|
lastWorkDate: 'number',
|
|
2179
2469
|
optUserId: 'string',
|
|
2180
2470
|
permissionHandoverUserId: 'string',
|
|
2471
|
+
terminationReasonPassive: { 'type': 'array', 'itemType': 'string' },
|
|
2472
|
+
terminationReasonVoluntary: { 'type': 'array', 'itemType': 'string' },
|
|
2181
2473
|
userId: 'string',
|
|
2182
2474
|
};
|
|
2183
2475
|
}
|
|
@@ -4373,6 +4665,72 @@ export class QueryMicroAppViewResponse extends $tea.Model {
|
|
|
4373
4665
|
}
|
|
4374
4666
|
}
|
|
4375
4667
|
|
|
4668
|
+
export class QueryPositionVersionHeaders extends $tea.Model {
|
|
4669
|
+
commonHeaders?: { [key: string]: string };
|
|
4670
|
+
xAcsDingtalkAccessToken?: string;
|
|
4671
|
+
static names(): { [key: string]: string } {
|
|
4672
|
+
return {
|
|
4673
|
+
commonHeaders: 'commonHeaders',
|
|
4674
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
4675
|
+
};
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
static types(): { [key: string]: any } {
|
|
4679
|
+
return {
|
|
4680
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4681
|
+
xAcsDingtalkAccessToken: 'string',
|
|
4682
|
+
};
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4685
|
+
constructor(map?: { [key: string]: any }) {
|
|
4686
|
+
super(map);
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4690
|
+
export class QueryPositionVersionResponseBody extends $tea.Model {
|
|
4691
|
+
result?: string;
|
|
4692
|
+
static names(): { [key: string]: string } {
|
|
4693
|
+
return {
|
|
4694
|
+
result: 'result',
|
|
4695
|
+
};
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4698
|
+
static types(): { [key: string]: any } {
|
|
4699
|
+
return {
|
|
4700
|
+
result: 'string',
|
|
4701
|
+
};
|
|
4702
|
+
}
|
|
4703
|
+
|
|
4704
|
+
constructor(map?: { [key: string]: any }) {
|
|
4705
|
+
super(map);
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
|
|
4709
|
+
export class QueryPositionVersionResponse extends $tea.Model {
|
|
4710
|
+
headers?: { [key: string]: string };
|
|
4711
|
+
statusCode?: number;
|
|
4712
|
+
body?: QueryPositionVersionResponseBody;
|
|
4713
|
+
static names(): { [key: string]: string } {
|
|
4714
|
+
return {
|
|
4715
|
+
headers: 'headers',
|
|
4716
|
+
statusCode: 'statusCode',
|
|
4717
|
+
body: 'body',
|
|
4718
|
+
};
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4721
|
+
static types(): { [key: string]: any } {
|
|
4722
|
+
return {
|
|
4723
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4724
|
+
statusCode: 'number',
|
|
4725
|
+
body: QueryPositionVersionResponseBody,
|
|
4726
|
+
};
|
|
4727
|
+
}
|
|
4728
|
+
|
|
4729
|
+
constructor(map?: { [key: string]: any }) {
|
|
4730
|
+
super(map);
|
|
4731
|
+
}
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4376
4734
|
export class QueryPositionsHeaders extends $tea.Model {
|
|
4377
4735
|
commonHeaders?: { [key: string]: string };
|
|
4378
4736
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -4611,6 +4969,101 @@ export class RevokeSignRecordsResponse extends $tea.Model {
|
|
|
4611
4969
|
}
|
|
4612
4970
|
}
|
|
4613
4971
|
|
|
4972
|
+
export class RevokeTerminationHeaders extends $tea.Model {
|
|
4973
|
+
commonHeaders?: { [key: string]: string };
|
|
4974
|
+
xAcsDingtalkAccessToken?: string;
|
|
4975
|
+
static names(): { [key: string]: string } {
|
|
4976
|
+
return {
|
|
4977
|
+
commonHeaders: 'commonHeaders',
|
|
4978
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
4979
|
+
};
|
|
4980
|
+
}
|
|
4981
|
+
|
|
4982
|
+
static types(): { [key: string]: any } {
|
|
4983
|
+
return {
|
|
4984
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4985
|
+
xAcsDingtalkAccessToken: 'string',
|
|
4986
|
+
};
|
|
4987
|
+
}
|
|
4988
|
+
|
|
4989
|
+
constructor(map?: { [key: string]: any }) {
|
|
4990
|
+
super(map);
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4994
|
+
export class RevokeTerminationRequest extends $tea.Model {
|
|
4995
|
+
/**
|
|
4996
|
+
* @example
|
|
4997
|
+
* 2163515669935611
|
|
4998
|
+
*/
|
|
4999
|
+
userId?: string;
|
|
5000
|
+
static names(): { [key: string]: string } {
|
|
5001
|
+
return {
|
|
5002
|
+
userId: 'userId',
|
|
5003
|
+
};
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
static types(): { [key: string]: any } {
|
|
5007
|
+
return {
|
|
5008
|
+
userId: 'string',
|
|
5009
|
+
};
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
constructor(map?: { [key: string]: any }) {
|
|
5013
|
+
super(map);
|
|
5014
|
+
}
|
|
5015
|
+
}
|
|
5016
|
+
|
|
5017
|
+
export class RevokeTerminationResponseBody extends $tea.Model {
|
|
5018
|
+
requestId?: string;
|
|
5019
|
+
result?: boolean;
|
|
5020
|
+
success?: boolean;
|
|
5021
|
+
static names(): { [key: string]: string } {
|
|
5022
|
+
return {
|
|
5023
|
+
requestId: 'requestId',
|
|
5024
|
+
result: 'result',
|
|
5025
|
+
success: 'success',
|
|
5026
|
+
};
|
|
5027
|
+
}
|
|
5028
|
+
|
|
5029
|
+
static types(): { [key: string]: any } {
|
|
5030
|
+
return {
|
|
5031
|
+
requestId: 'string',
|
|
5032
|
+
result: 'boolean',
|
|
5033
|
+
success: 'boolean',
|
|
5034
|
+
};
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
constructor(map?: { [key: string]: any }) {
|
|
5038
|
+
super(map);
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
export class RevokeTerminationResponse extends $tea.Model {
|
|
5043
|
+
headers?: { [key: string]: string };
|
|
5044
|
+
statusCode?: number;
|
|
5045
|
+
body?: RevokeTerminationResponseBody;
|
|
5046
|
+
static names(): { [key: string]: string } {
|
|
5047
|
+
return {
|
|
5048
|
+
headers: 'headers',
|
|
5049
|
+
statusCode: 'statusCode',
|
|
5050
|
+
body: 'body',
|
|
5051
|
+
};
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5054
|
+
static types(): { [key: string]: any } {
|
|
5055
|
+
return {
|
|
5056
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5057
|
+
statusCode: 'number',
|
|
5058
|
+
body: RevokeTerminationResponseBody,
|
|
5059
|
+
};
|
|
5060
|
+
}
|
|
5061
|
+
|
|
5062
|
+
constructor(map?: { [key: string]: any }) {
|
|
5063
|
+
super(map);
|
|
5064
|
+
}
|
|
5065
|
+
}
|
|
5066
|
+
|
|
4614
5067
|
export class RosterMetaAvailableFieldListHeaders extends $tea.Model {
|
|
4615
5068
|
commonHeaders?: { [key: string]: string };
|
|
4616
5069
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -5579,17 +6032,134 @@ export class SyncTaskTemplateRequest extends $tea.Model {
|
|
|
5579
6032
|
}
|
|
5580
6033
|
}
|
|
5581
6034
|
|
|
5582
|
-
export class SyncTaskTemplateResponseBody extends $tea.Model {
|
|
6035
|
+
export class SyncTaskTemplateResponseBody extends $tea.Model {
|
|
6036
|
+
result?: boolean;
|
|
6037
|
+
static names(): { [key: string]: string } {
|
|
6038
|
+
return {
|
|
6039
|
+
result: 'result',
|
|
6040
|
+
};
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
static types(): { [key: string]: any } {
|
|
6044
|
+
return {
|
|
6045
|
+
result: 'boolean',
|
|
6046
|
+
};
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6049
|
+
constructor(map?: { [key: string]: any }) {
|
|
6050
|
+
super(map);
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
|
|
6054
|
+
export class SyncTaskTemplateResponse extends $tea.Model {
|
|
6055
|
+
headers?: { [key: string]: string };
|
|
6056
|
+
statusCode?: number;
|
|
6057
|
+
body?: SyncTaskTemplateResponseBody;
|
|
6058
|
+
static names(): { [key: string]: string } {
|
|
6059
|
+
return {
|
|
6060
|
+
headers: 'headers',
|
|
6061
|
+
statusCode: 'statusCode',
|
|
6062
|
+
body: 'body',
|
|
6063
|
+
};
|
|
6064
|
+
}
|
|
6065
|
+
|
|
6066
|
+
static types(): { [key: string]: any } {
|
|
6067
|
+
return {
|
|
6068
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6069
|
+
statusCode: 'number',
|
|
6070
|
+
body: SyncTaskTemplateResponseBody,
|
|
6071
|
+
};
|
|
6072
|
+
}
|
|
6073
|
+
|
|
6074
|
+
constructor(map?: { [key: string]: any }) {
|
|
6075
|
+
super(map);
|
|
6076
|
+
}
|
|
6077
|
+
}
|
|
6078
|
+
|
|
6079
|
+
export class UpdateEmpDismissionInfoHeaders extends $tea.Model {
|
|
6080
|
+
commonHeaders?: { [key: string]: string };
|
|
6081
|
+
xAcsDingtalkAccessToken?: string;
|
|
6082
|
+
static names(): { [key: string]: string } {
|
|
6083
|
+
return {
|
|
6084
|
+
commonHeaders: 'commonHeaders',
|
|
6085
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
6086
|
+
};
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
static types(): { [key: string]: any } {
|
|
6090
|
+
return {
|
|
6091
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6092
|
+
xAcsDingtalkAccessToken: 'string',
|
|
6093
|
+
};
|
|
6094
|
+
}
|
|
6095
|
+
|
|
6096
|
+
constructor(map?: { [key: string]: any }) {
|
|
6097
|
+
super(map);
|
|
6098
|
+
}
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
export class UpdateEmpDismissionInfoRequest extends $tea.Model {
|
|
6102
|
+
dismissionMemo?: string;
|
|
6103
|
+
/**
|
|
6104
|
+
* @remarks
|
|
6105
|
+
* This parameter is required.
|
|
6106
|
+
*/
|
|
6107
|
+
lastWorkDate?: number;
|
|
6108
|
+
partner?: boolean;
|
|
6109
|
+
terminationReasonPassive?: string[];
|
|
6110
|
+
terminationReasonVoluntary?: string[];
|
|
6111
|
+
/**
|
|
6112
|
+
* @remarks
|
|
6113
|
+
* This parameter is required.
|
|
6114
|
+
*
|
|
6115
|
+
* @example
|
|
6116
|
+
* 2163515669935611
|
|
6117
|
+
*/
|
|
6118
|
+
userId?: string;
|
|
6119
|
+
static names(): { [key: string]: string } {
|
|
6120
|
+
return {
|
|
6121
|
+
dismissionMemo: 'dismissionMemo',
|
|
6122
|
+
lastWorkDate: 'lastWorkDate',
|
|
6123
|
+
partner: 'partner',
|
|
6124
|
+
terminationReasonPassive: 'terminationReasonPassive',
|
|
6125
|
+
terminationReasonVoluntary: 'terminationReasonVoluntary',
|
|
6126
|
+
userId: 'userId',
|
|
6127
|
+
};
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6130
|
+
static types(): { [key: string]: any } {
|
|
6131
|
+
return {
|
|
6132
|
+
dismissionMemo: 'string',
|
|
6133
|
+
lastWorkDate: 'number',
|
|
6134
|
+
partner: 'boolean',
|
|
6135
|
+
terminationReasonPassive: { 'type': 'array', 'itemType': 'string' },
|
|
6136
|
+
terminationReasonVoluntary: { 'type': 'array', 'itemType': 'string' },
|
|
6137
|
+
userId: 'string',
|
|
6138
|
+
};
|
|
6139
|
+
}
|
|
6140
|
+
|
|
6141
|
+
constructor(map?: { [key: string]: any }) {
|
|
6142
|
+
super(map);
|
|
6143
|
+
}
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6146
|
+
export class UpdateEmpDismissionInfoResponseBody extends $tea.Model {
|
|
6147
|
+
requestId?: string;
|
|
5583
6148
|
result?: boolean;
|
|
6149
|
+
success?: boolean;
|
|
5584
6150
|
static names(): { [key: string]: string } {
|
|
5585
6151
|
return {
|
|
6152
|
+
requestId: 'requestId',
|
|
5586
6153
|
result: 'result',
|
|
6154
|
+
success: 'success',
|
|
5587
6155
|
};
|
|
5588
6156
|
}
|
|
5589
6157
|
|
|
5590
6158
|
static types(): { [key: string]: any } {
|
|
5591
6159
|
return {
|
|
6160
|
+
requestId: 'string',
|
|
5592
6161
|
result: 'boolean',
|
|
6162
|
+
success: 'boolean',
|
|
5593
6163
|
};
|
|
5594
6164
|
}
|
|
5595
6165
|
|
|
@@ -5598,10 +6168,10 @@ export class SyncTaskTemplateResponseBody extends $tea.Model {
|
|
|
5598
6168
|
}
|
|
5599
6169
|
}
|
|
5600
6170
|
|
|
5601
|
-
export class
|
|
6171
|
+
export class UpdateEmpDismissionInfoResponse extends $tea.Model {
|
|
5602
6172
|
headers?: { [key: string]: string };
|
|
5603
6173
|
statusCode?: number;
|
|
5604
|
-
body?:
|
|
6174
|
+
body?: UpdateEmpDismissionInfoResponseBody;
|
|
5605
6175
|
static names(): { [key: string]: string } {
|
|
5606
6176
|
return {
|
|
5607
6177
|
headers: 'headers',
|
|
@@ -5614,7 +6184,7 @@ export class SyncTaskTemplateResponse extends $tea.Model {
|
|
|
5614
6184
|
return {
|
|
5615
6185
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5616
6186
|
statusCode: 'number',
|
|
5617
|
-
body:
|
|
6187
|
+
body: UpdateEmpDismissionInfoResponseBody,
|
|
5618
6188
|
};
|
|
5619
6189
|
}
|
|
5620
6190
|
|
|
@@ -6832,6 +7402,88 @@ export class CreateRecordResponseBodyResult extends $tea.Model {
|
|
|
6832
7402
|
}
|
|
6833
7403
|
}
|
|
6834
7404
|
|
|
7405
|
+
export class GetAllDismissionReasonsResponseBodyResultPassiveList extends $tea.Model {
|
|
7406
|
+
/**
|
|
7407
|
+
* @example
|
|
7408
|
+
* 1
|
|
7409
|
+
*/
|
|
7410
|
+
id?: string;
|
|
7411
|
+
/**
|
|
7412
|
+
* @example
|
|
7413
|
+
* 家庭原因
|
|
7414
|
+
*/
|
|
7415
|
+
name?: string;
|
|
7416
|
+
static names(): { [key: string]: string } {
|
|
7417
|
+
return {
|
|
7418
|
+
id: 'id',
|
|
7419
|
+
name: 'name',
|
|
7420
|
+
};
|
|
7421
|
+
}
|
|
7422
|
+
|
|
7423
|
+
static types(): { [key: string]: any } {
|
|
7424
|
+
return {
|
|
7425
|
+
id: 'string',
|
|
7426
|
+
name: 'string',
|
|
7427
|
+
};
|
|
7428
|
+
}
|
|
7429
|
+
|
|
7430
|
+
constructor(map?: { [key: string]: any }) {
|
|
7431
|
+
super(map);
|
|
7432
|
+
}
|
|
7433
|
+
}
|
|
7434
|
+
|
|
7435
|
+
export class GetAllDismissionReasonsResponseBodyResultVoluntaryList extends $tea.Model {
|
|
7436
|
+
/**
|
|
7437
|
+
* @example
|
|
7438
|
+
* 1
|
|
7439
|
+
*/
|
|
7440
|
+
id?: string;
|
|
7441
|
+
/**
|
|
7442
|
+
* @example
|
|
7443
|
+
* 家庭原因
|
|
7444
|
+
*/
|
|
7445
|
+
name?: string;
|
|
7446
|
+
static names(): { [key: string]: string } {
|
|
7447
|
+
return {
|
|
7448
|
+
id: 'id',
|
|
7449
|
+
name: 'name',
|
|
7450
|
+
};
|
|
7451
|
+
}
|
|
7452
|
+
|
|
7453
|
+
static types(): { [key: string]: any } {
|
|
7454
|
+
return {
|
|
7455
|
+
id: 'string',
|
|
7456
|
+
name: 'string',
|
|
7457
|
+
};
|
|
7458
|
+
}
|
|
7459
|
+
|
|
7460
|
+
constructor(map?: { [key: string]: any }) {
|
|
7461
|
+
super(map);
|
|
7462
|
+
}
|
|
7463
|
+
}
|
|
7464
|
+
|
|
7465
|
+
export class GetAllDismissionReasonsResponseBodyResult extends $tea.Model {
|
|
7466
|
+
passiveList?: GetAllDismissionReasonsResponseBodyResultPassiveList[];
|
|
7467
|
+
voluntaryList?: GetAllDismissionReasonsResponseBodyResultVoluntaryList[];
|
|
7468
|
+
static names(): { [key: string]: string } {
|
|
7469
|
+
return {
|
|
7470
|
+
passiveList: 'passiveList',
|
|
7471
|
+
voluntaryList: 'voluntaryList',
|
|
7472
|
+
};
|
|
7473
|
+
}
|
|
7474
|
+
|
|
7475
|
+
static types(): { [key: string]: any } {
|
|
7476
|
+
return {
|
|
7477
|
+
passiveList: { 'type': 'array', 'itemType': GetAllDismissionReasonsResponseBodyResultPassiveList },
|
|
7478
|
+
voluntaryList: { 'type': 'array', 'itemType': GetAllDismissionReasonsResponseBodyResultVoluntaryList },
|
|
7479
|
+
};
|
|
7480
|
+
}
|
|
7481
|
+
|
|
7482
|
+
constructor(map?: { [key: string]: any }) {
|
|
7483
|
+
super(map);
|
|
7484
|
+
}
|
|
7485
|
+
}
|
|
7486
|
+
|
|
6835
7487
|
export class GetEmployeeRosterByFieldResponseBodyResultFieldDataListFieldValueList extends $tea.Model {
|
|
6836
7488
|
/**
|
|
6837
7489
|
* @example
|
|
@@ -7389,6 +8041,11 @@ export class GetSignRecordByUserIdResponseBodyResultData extends $tea.Model {
|
|
|
7389
8041
|
* ding57935b18bfd13e9735c2f4657eb6378f
|
|
7390
8042
|
*/
|
|
7391
8043
|
corpId?: string;
|
|
8044
|
+
/**
|
|
8045
|
+
* @example
|
|
8046
|
+
* CONTRACT_123456
|
|
8047
|
+
*/
|
|
8048
|
+
outerId?: string;
|
|
7392
8049
|
/**
|
|
7393
8050
|
* @example
|
|
7394
8051
|
* 劳动合同电子签签署备注
|
|
@@ -7462,6 +8119,7 @@ export class GetSignRecordByUserIdResponseBodyResultData extends $tea.Model {
|
|
|
7462
8119
|
static names(): { [key: string]: string } {
|
|
7463
8120
|
return {
|
|
7464
8121
|
corpId: 'corpId',
|
|
8122
|
+
outerId: 'outerId',
|
|
7465
8123
|
remark: 'remark',
|
|
7466
8124
|
signExpireTime: 'signExpireTime',
|
|
7467
8125
|
signFileName: 'signFileName',
|
|
@@ -7482,6 +8140,7 @@ export class GetSignRecordByUserIdResponseBodyResultData extends $tea.Model {
|
|
|
7482
8140
|
static types(): { [key: string]: any } {
|
|
7483
8141
|
return {
|
|
7484
8142
|
corpId: 'string',
|
|
8143
|
+
outerId: 'string',
|
|
7485
8144
|
remark: 'string',
|
|
7486
8145
|
signExpireTime: 'number',
|
|
7487
8146
|
signFileName: 'string',
|
|
@@ -7529,6 +8188,134 @@ export class GetSignRecordByUserIdResponseBodyResult extends $tea.Model {
|
|
|
7529
8188
|
}
|
|
7530
8189
|
}
|
|
7531
8190
|
|
|
8191
|
+
export class GetUserSignedRecordsByOuterIdResponseBodyResult extends $tea.Model {
|
|
8192
|
+
/**
|
|
8193
|
+
* @example
|
|
8194
|
+
* ding33a9d1a6e9647854a39a90f97fcb1e09
|
|
8195
|
+
*/
|
|
8196
|
+
corpId?: string;
|
|
8197
|
+
/**
|
|
8198
|
+
* @example
|
|
8199
|
+
* CONTRACT_123456
|
|
8200
|
+
*/
|
|
8201
|
+
outerId?: string;
|
|
8202
|
+
/**
|
|
8203
|
+
* @example
|
|
8204
|
+
* 测试
|
|
8205
|
+
*/
|
|
8206
|
+
remark?: string;
|
|
8207
|
+
/**
|
|
8208
|
+
* @example
|
|
8209
|
+
* 1720775436000
|
|
8210
|
+
*/
|
|
8211
|
+
signExpireTime?: string;
|
|
8212
|
+
/**
|
|
8213
|
+
* @example
|
|
8214
|
+
* 小明-劳动合同-20240808.pdf
|
|
8215
|
+
*/
|
|
8216
|
+
signFileName?: string;
|
|
8217
|
+
/**
|
|
8218
|
+
* @example
|
|
8219
|
+
* https://n.dingtalk.com/xxx
|
|
8220
|
+
*/
|
|
8221
|
+
signFileUrl?: string;
|
|
8222
|
+
/**
|
|
8223
|
+
* @example
|
|
8224
|
+
* 1720775436000
|
|
8225
|
+
*/
|
|
8226
|
+
signFinishTime?: string;
|
|
8227
|
+
/**
|
|
8228
|
+
* @example
|
|
8229
|
+
* xx公司
|
|
8230
|
+
*/
|
|
8231
|
+
signLegalEntityName?: string;
|
|
8232
|
+
/**
|
|
8233
|
+
* @example
|
|
8234
|
+
* fb1a9c4adaba4f52b7cab7941008b9dd
|
|
8235
|
+
*/
|
|
8236
|
+
signRecordId?: string;
|
|
8237
|
+
/**
|
|
8238
|
+
* @example
|
|
8239
|
+
* 1720775436000
|
|
8240
|
+
*/
|
|
8241
|
+
signStartTime?: string;
|
|
8242
|
+
/**
|
|
8243
|
+
* @example
|
|
8244
|
+
* FINISHED
|
|
8245
|
+
*/
|
|
8246
|
+
signStatus?: string;
|
|
8247
|
+
/**
|
|
8248
|
+
* @example
|
|
8249
|
+
* 法人公司未开通
|
|
8250
|
+
*/
|
|
8251
|
+
signStatusRemarks?: string;
|
|
8252
|
+
/**
|
|
8253
|
+
* @example
|
|
8254
|
+
* CONTRACT
|
|
8255
|
+
*/
|
|
8256
|
+
signTemplateType?: string;
|
|
8257
|
+
/**
|
|
8258
|
+
* @example
|
|
8259
|
+
* userId123
|
|
8260
|
+
*/
|
|
8261
|
+
signUserId?: string;
|
|
8262
|
+
/**
|
|
8263
|
+
* @example
|
|
8264
|
+
* userName
|
|
8265
|
+
*/
|
|
8266
|
+
signUserName?: string;
|
|
8267
|
+
/**
|
|
8268
|
+
* @example
|
|
8269
|
+
* ON_LINE
|
|
8270
|
+
*/
|
|
8271
|
+
signWay?: string;
|
|
8272
|
+
static names(): { [key: string]: string } {
|
|
8273
|
+
return {
|
|
8274
|
+
corpId: 'corpId',
|
|
8275
|
+
outerId: 'outerId',
|
|
8276
|
+
remark: 'remark',
|
|
8277
|
+
signExpireTime: 'signExpireTime',
|
|
8278
|
+
signFileName: 'signFileName',
|
|
8279
|
+
signFileUrl: 'signFileUrl',
|
|
8280
|
+
signFinishTime: 'signFinishTime',
|
|
8281
|
+
signLegalEntityName: 'signLegalEntityName',
|
|
8282
|
+
signRecordId: 'signRecordId',
|
|
8283
|
+
signStartTime: 'signStartTime',
|
|
8284
|
+
signStatus: 'signStatus',
|
|
8285
|
+
signStatusRemarks: 'signStatusRemarks',
|
|
8286
|
+
signTemplateType: 'signTemplateType',
|
|
8287
|
+
signUserId: 'signUserId',
|
|
8288
|
+
signUserName: 'signUserName',
|
|
8289
|
+
signWay: 'signWay',
|
|
8290
|
+
};
|
|
8291
|
+
}
|
|
8292
|
+
|
|
8293
|
+
static types(): { [key: string]: any } {
|
|
8294
|
+
return {
|
|
8295
|
+
corpId: 'string',
|
|
8296
|
+
outerId: 'string',
|
|
8297
|
+
remark: 'string',
|
|
8298
|
+
signExpireTime: 'string',
|
|
8299
|
+
signFileName: 'string',
|
|
8300
|
+
signFileUrl: 'string',
|
|
8301
|
+
signFinishTime: 'string',
|
|
8302
|
+
signLegalEntityName: 'string',
|
|
8303
|
+
signRecordId: 'string',
|
|
8304
|
+
signStartTime: 'string',
|
|
8305
|
+
signStatus: 'string',
|
|
8306
|
+
signStatusRemarks: 'string',
|
|
8307
|
+
signTemplateType: 'string',
|
|
8308
|
+
signUserId: 'string',
|
|
8309
|
+
signUserName: 'string',
|
|
8310
|
+
signWay: 'string',
|
|
8311
|
+
};
|
|
8312
|
+
}
|
|
8313
|
+
|
|
8314
|
+
constructor(map?: { [key: string]: any }) {
|
|
8315
|
+
super(map);
|
|
8316
|
+
}
|
|
8317
|
+
}
|
|
8318
|
+
|
|
7532
8319
|
export class HrmAuthResourcesQueryResponseBodyResult extends $tea.Model {
|
|
7533
8320
|
authorized?: boolean;
|
|
7534
8321
|
/**
|
|
@@ -9680,7 +10467,6 @@ export default class Client extends OpenApi {
|
|
|
9680
10467
|
super(config);
|
|
9681
10468
|
let gatewayClient = new GatewayClient();
|
|
9682
10469
|
this._spi = gatewayClient;
|
|
9683
|
-
this._signatureAlgorithm = "v2";
|
|
9684
10470
|
this._endpointRule = "";
|
|
9685
10471
|
if (Util.empty(this._endpoint)) {
|
|
9686
10472
|
this._endpoint = "api.dingtalk.com";
|
|
@@ -9874,6 +10660,10 @@ export default class Client extends OpenApi {
|
|
|
9874
10660
|
body["groupList"] = request.groupList;
|
|
9875
10661
|
}
|
|
9876
10662
|
|
|
10663
|
+
if (!Util.isUnset(request.outerId)) {
|
|
10664
|
+
body["outerId"] = request.outerId;
|
|
10665
|
+
}
|
|
10666
|
+
|
|
9877
10667
|
if (!Util.isUnset(request.remark)) {
|
|
9878
10668
|
body["remark"] = request.remark;
|
|
9879
10669
|
}
|
|
@@ -9998,32 +10788,118 @@ export default class Client extends OpenApi {
|
|
|
9998
10788
|
reqBodyType: "none",
|
|
9999
10789
|
bodyType: "json",
|
|
10000
10790
|
});
|
|
10001
|
-
return $tea.cast<DeviceMarketOrderManagerResponse>(await this.execute(params, req, runtime), new DeviceMarketOrderManagerResponse({}));
|
|
10791
|
+
return $tea.cast<DeviceMarketOrderManagerResponse>(await this.execute(params, req, runtime), new DeviceMarketOrderManagerResponse({}));
|
|
10792
|
+
}
|
|
10793
|
+
|
|
10794
|
+
/**
|
|
10795
|
+
* 智能人事设备定向管理接口
|
|
10796
|
+
* @returns DeviceMarketOrderManagerResponse
|
|
10797
|
+
*/
|
|
10798
|
+
async deviceMarketOrderManager(): Promise<DeviceMarketOrderManagerResponse> {
|
|
10799
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10800
|
+
let headers : {[key: string ]: string} = { };
|
|
10801
|
+
return await this.deviceMarketOrderManagerWithOptions(headers, runtime);
|
|
10802
|
+
}
|
|
10803
|
+
|
|
10804
|
+
/**
|
|
10805
|
+
* e签宝专有查询证件接口
|
|
10806
|
+
*
|
|
10807
|
+
* @param request - ECertQueryRequest
|
|
10808
|
+
* @param headers - ECertQueryHeaders
|
|
10809
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10810
|
+
* @returns ECertQueryResponse
|
|
10811
|
+
*/
|
|
10812
|
+
async eCertQueryWithOptions(request: ECertQueryRequest, headers: ECertQueryHeaders, runtime: $Util.RuntimeOptions): Promise<ECertQueryResponse> {
|
|
10813
|
+
Util.validateModel(request);
|
|
10814
|
+
let query : {[key: string ]: any} = { };
|
|
10815
|
+
if (!Util.isUnset(request.userId)) {
|
|
10816
|
+
query["userId"] = request.userId;
|
|
10817
|
+
}
|
|
10818
|
+
|
|
10819
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
10820
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
10821
|
+
realHeaders = headers.commonHeaders;
|
|
10822
|
+
}
|
|
10823
|
+
|
|
10824
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
10825
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
10826
|
+
}
|
|
10827
|
+
|
|
10828
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10829
|
+
headers: realHeaders,
|
|
10830
|
+
query: OpenApiUtil.query(query),
|
|
10831
|
+
});
|
|
10832
|
+
let params = new $OpenApi.Params({
|
|
10833
|
+
action: "ECertQuery",
|
|
10834
|
+
version: "hrm_1.0",
|
|
10835
|
+
protocol: "HTTP",
|
|
10836
|
+
pathname: `/v1.0/hrm/eCerts`,
|
|
10837
|
+
method: "GET",
|
|
10838
|
+
authType: "AK",
|
|
10839
|
+
style: "ROA",
|
|
10840
|
+
reqBodyType: "json",
|
|
10841
|
+
bodyType: "json",
|
|
10842
|
+
});
|
|
10843
|
+
return $tea.cast<ECertQueryResponse>(await this.execute(params, req, runtime), new ECertQueryResponse({}));
|
|
10002
10844
|
}
|
|
10003
10845
|
|
|
10004
10846
|
/**
|
|
10005
|
-
*
|
|
10006
|
-
*
|
|
10847
|
+
* e签宝专有查询证件接口
|
|
10848
|
+
*
|
|
10849
|
+
* @param request - ECertQueryRequest
|
|
10850
|
+
* @returns ECertQueryResponse
|
|
10007
10851
|
*/
|
|
10008
|
-
async
|
|
10852
|
+
async eCertQuery(request: ECertQueryRequest): Promise<ECertQueryResponse> {
|
|
10009
10853
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10010
|
-
let headers
|
|
10011
|
-
return await this.
|
|
10854
|
+
let headers = new ECertQueryHeaders({ });
|
|
10855
|
+
return await this.eCertQueryWithOptions(request, headers, runtime);
|
|
10012
10856
|
}
|
|
10013
10857
|
|
|
10014
10858
|
/**
|
|
10015
|
-
*
|
|
10859
|
+
* 加入待离职
|
|
10016
10860
|
*
|
|
10017
|
-
* @param request -
|
|
10018
|
-
* @param headers -
|
|
10861
|
+
* @param request - EmpStartDismissionRequest
|
|
10862
|
+
* @param headers - EmpStartDismissionHeaders
|
|
10019
10863
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
10020
|
-
* @returns
|
|
10864
|
+
* @returns EmpStartDismissionResponse
|
|
10021
10865
|
*/
|
|
10022
|
-
async
|
|
10866
|
+
async empStartDismissionWithOptions(request: EmpStartDismissionRequest, headers: EmpStartDismissionHeaders, runtime: $Util.RuntimeOptions): Promise<EmpStartDismissionResponse> {
|
|
10023
10867
|
Util.validateModel(request);
|
|
10024
|
-
let
|
|
10868
|
+
let body : {[key: string ]: any} = { };
|
|
10869
|
+
if (!Util.isUnset(request.lastWorkDate)) {
|
|
10870
|
+
body["lastWorkDate"] = request.lastWorkDate;
|
|
10871
|
+
}
|
|
10872
|
+
|
|
10873
|
+
if (!Util.isUnset(request.partner)) {
|
|
10874
|
+
body["partner"] = request.partner;
|
|
10875
|
+
}
|
|
10876
|
+
|
|
10877
|
+
if (!Util.isUnset(request.remark)) {
|
|
10878
|
+
body["remark"] = request.remark;
|
|
10879
|
+
}
|
|
10880
|
+
|
|
10881
|
+
if (!Util.isUnset(request.terminationReasonPassive)) {
|
|
10882
|
+
body["terminationReasonPassive"] = request.terminationReasonPassive;
|
|
10883
|
+
}
|
|
10884
|
+
|
|
10885
|
+
if (!Util.isUnset(request.terminationReasonVoluntary)) {
|
|
10886
|
+
body["terminationReasonVoluntary"] = request.terminationReasonVoluntary;
|
|
10887
|
+
}
|
|
10888
|
+
|
|
10889
|
+
if (!Util.isUnset(request.toHireBlackList)) {
|
|
10890
|
+
body["toHireBlackList"] = request.toHireBlackList;
|
|
10891
|
+
}
|
|
10892
|
+
|
|
10893
|
+
if (!Util.isUnset(request.toHireDismissionTalent)) {
|
|
10894
|
+
body["toHireDismissionTalent"] = request.toHireDismissionTalent;
|
|
10895
|
+
}
|
|
10896
|
+
|
|
10897
|
+
if (!Util.isUnset(request.toHrmBlackList)) {
|
|
10898
|
+
body["toHrmBlackList"] = request.toHrmBlackList;
|
|
10899
|
+
}
|
|
10900
|
+
|
|
10025
10901
|
if (!Util.isUnset(request.userId)) {
|
|
10026
|
-
|
|
10902
|
+
body["userId"] = request.userId;
|
|
10027
10903
|
}
|
|
10028
10904
|
|
|
10029
10905
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -10037,32 +10913,32 @@ export default class Client extends OpenApi {
|
|
|
10037
10913
|
|
|
10038
10914
|
let req = new $OpenApi.OpenApiRequest({
|
|
10039
10915
|
headers: realHeaders,
|
|
10040
|
-
|
|
10916
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10041
10917
|
});
|
|
10042
10918
|
let params = new $OpenApi.Params({
|
|
10043
|
-
action: "
|
|
10919
|
+
action: "EmpStartDismission",
|
|
10044
10920
|
version: "hrm_1.0",
|
|
10045
10921
|
protocol: "HTTP",
|
|
10046
|
-
pathname: `/v1.0/hrm/
|
|
10047
|
-
method: "
|
|
10922
|
+
pathname: `/v1.0/hrm/pendingDismission/start`,
|
|
10923
|
+
method: "POST",
|
|
10048
10924
|
authType: "AK",
|
|
10049
10925
|
style: "ROA",
|
|
10050
|
-
reqBodyType: "
|
|
10926
|
+
reqBodyType: "none",
|
|
10051
10927
|
bodyType: "json",
|
|
10052
10928
|
});
|
|
10053
|
-
return $tea.cast<
|
|
10929
|
+
return $tea.cast<EmpStartDismissionResponse>(await this.execute(params, req, runtime), new EmpStartDismissionResponse({}));
|
|
10054
10930
|
}
|
|
10055
10931
|
|
|
10056
10932
|
/**
|
|
10057
|
-
*
|
|
10933
|
+
* 加入待离职
|
|
10058
10934
|
*
|
|
10059
|
-
* @param request -
|
|
10060
|
-
* @returns
|
|
10935
|
+
* @param request - EmpStartDismissionRequest
|
|
10936
|
+
* @returns EmpStartDismissionResponse
|
|
10061
10937
|
*/
|
|
10062
|
-
async
|
|
10938
|
+
async empStartDismission(request: EmpStartDismissionRequest): Promise<EmpStartDismissionResponse> {
|
|
10063
10939
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10064
|
-
let headers = new
|
|
10065
|
-
return await this.
|
|
10940
|
+
let headers = new EmpStartDismissionHeaders({ });
|
|
10941
|
+
return await this.empStartDismissionWithOptions(request, headers, runtime);
|
|
10066
10942
|
}
|
|
10067
10943
|
|
|
10068
10944
|
/**
|
|
@@ -10191,6 +11067,50 @@ export default class Client extends OpenApi {
|
|
|
10191
11067
|
return await this.esignRollbackWithOptions(request, headers, runtime);
|
|
10192
11068
|
}
|
|
10193
11069
|
|
|
11070
|
+
/**
|
|
11071
|
+
* 获取所有离职原因
|
|
11072
|
+
*
|
|
11073
|
+
* @param headers - GetAllDismissionReasonsHeaders
|
|
11074
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11075
|
+
* @returns GetAllDismissionReasonsResponse
|
|
11076
|
+
*/
|
|
11077
|
+
async getAllDismissionReasonsWithOptions(headers: GetAllDismissionReasonsHeaders, runtime: $Util.RuntimeOptions): Promise<GetAllDismissionReasonsResponse> {
|
|
11078
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
11079
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
11080
|
+
realHeaders = headers.commonHeaders;
|
|
11081
|
+
}
|
|
11082
|
+
|
|
11083
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
11084
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
11085
|
+
}
|
|
11086
|
+
|
|
11087
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11088
|
+
headers: realHeaders,
|
|
11089
|
+
});
|
|
11090
|
+
let params = new $OpenApi.Params({
|
|
11091
|
+
action: "GetAllDismissionReasons",
|
|
11092
|
+
version: "hrm_1.0",
|
|
11093
|
+
protocol: "HTTP",
|
|
11094
|
+
pathname: `/v1.0/hrm/dismission/reasons`,
|
|
11095
|
+
method: "GET",
|
|
11096
|
+
authType: "AK",
|
|
11097
|
+
style: "ROA",
|
|
11098
|
+
reqBodyType: "none",
|
|
11099
|
+
bodyType: "json",
|
|
11100
|
+
});
|
|
11101
|
+
return $tea.cast<GetAllDismissionReasonsResponse>(await this.execute(params, req, runtime), new GetAllDismissionReasonsResponse({}));
|
|
11102
|
+
}
|
|
11103
|
+
|
|
11104
|
+
/**
|
|
11105
|
+
* 获取所有离职原因
|
|
11106
|
+
* @returns GetAllDismissionReasonsResponse
|
|
11107
|
+
*/
|
|
11108
|
+
async getAllDismissionReasons(): Promise<GetAllDismissionReasonsResponse> {
|
|
11109
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11110
|
+
let headers = new GetAllDismissionReasonsHeaders({ });
|
|
11111
|
+
return await this.getAllDismissionReasonsWithOptions(headers, runtime);
|
|
11112
|
+
}
|
|
11113
|
+
|
|
10194
11114
|
/**
|
|
10195
11115
|
* 获取员工花名册指定字段的信息,支持明细分组字段
|
|
10196
11116
|
*
|
|
@@ -10442,6 +11362,55 @@ export default class Client extends OpenApi {
|
|
|
10442
11362
|
return await this.getSignRecordByUserIdWithOptions(request, headers, runtime);
|
|
10443
11363
|
}
|
|
10444
11364
|
|
|
11365
|
+
/**
|
|
11366
|
+
* 查询指定outerId的电子签署记录详情
|
|
11367
|
+
*
|
|
11368
|
+
* @param request - GetUserSignedRecordsByOuterIdRequest
|
|
11369
|
+
* @param headers - GetUserSignedRecordsByOuterIdHeaders
|
|
11370
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11371
|
+
* @returns GetUserSignedRecordsByOuterIdResponse
|
|
11372
|
+
*/
|
|
11373
|
+
async getUserSignedRecordsByOuterIdWithOptions(request: GetUserSignedRecordsByOuterIdRequest, headers: GetUserSignedRecordsByOuterIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUserSignedRecordsByOuterIdResponse> {
|
|
11374
|
+
Util.validateModel(request);
|
|
11375
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
11376
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
11377
|
+
realHeaders = headers.commonHeaders;
|
|
11378
|
+
}
|
|
11379
|
+
|
|
11380
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
11381
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
11382
|
+
}
|
|
11383
|
+
|
|
11384
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11385
|
+
headers: realHeaders,
|
|
11386
|
+
body: request.body,
|
|
11387
|
+
});
|
|
11388
|
+
let params = new $OpenApi.Params({
|
|
11389
|
+
action: "GetUserSignedRecordsByOuterId",
|
|
11390
|
+
version: "hrm_1.0",
|
|
11391
|
+
protocol: "HTTP",
|
|
11392
|
+
pathname: `/v1.0/hrm/masters/signCenters/outerIds/records/query`,
|
|
11393
|
+
method: "POST",
|
|
11394
|
+
authType: "AK",
|
|
11395
|
+
style: "ROA",
|
|
11396
|
+
reqBodyType: "none",
|
|
11397
|
+
bodyType: "json",
|
|
11398
|
+
});
|
|
11399
|
+
return $tea.cast<GetUserSignedRecordsByOuterIdResponse>(await this.execute(params, req, runtime), new GetUserSignedRecordsByOuterIdResponse({}));
|
|
11400
|
+
}
|
|
11401
|
+
|
|
11402
|
+
/**
|
|
11403
|
+
* 查询指定outerId的电子签署记录详情
|
|
11404
|
+
*
|
|
11405
|
+
* @param request - GetUserSignedRecordsByOuterIdRequest
|
|
11406
|
+
* @returns GetUserSignedRecordsByOuterIdResponse
|
|
11407
|
+
*/
|
|
11408
|
+
async getUserSignedRecordsByOuterId(request: GetUserSignedRecordsByOuterIdRequest): Promise<GetUserSignedRecordsByOuterIdResponse> {
|
|
11409
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11410
|
+
let headers = new GetUserSignedRecordsByOuterIdHeaders({ });
|
|
11411
|
+
return await this.getUserSignedRecordsByOuterIdWithOptions(request, headers, runtime);
|
|
11412
|
+
}
|
|
11413
|
+
|
|
10445
11414
|
/**
|
|
10446
11415
|
* 智能人事权限查询
|
|
10447
11416
|
*
|
|
@@ -10899,6 +11868,14 @@ export default class Client extends OpenApi {
|
|
|
10899
11868
|
body["permissionHandoverUserId"] = request.permissionHandoverUserId;
|
|
10900
11869
|
}
|
|
10901
11870
|
|
|
11871
|
+
if (!Util.isUnset(request.terminationReasonPassive)) {
|
|
11872
|
+
body["terminationReasonPassive"] = request.terminationReasonPassive;
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
if (!Util.isUnset(request.terminationReasonVoluntary)) {
|
|
11876
|
+
body["terminationReasonVoluntary"] = request.terminationReasonVoluntary;
|
|
11877
|
+
}
|
|
11878
|
+
|
|
10902
11879
|
if (!Util.isUnset(request.userId)) {
|
|
10903
11880
|
body["userId"] = request.userId;
|
|
10904
11881
|
}
|
|
@@ -12102,6 +13079,50 @@ export default class Client extends OpenApi {
|
|
|
12102
13079
|
return await this.queryMicroAppViewWithOptions(request, headers, runtime);
|
|
12103
13080
|
}
|
|
12104
13081
|
|
|
13082
|
+
/**
|
|
13083
|
+
* 查询企业职位版本
|
|
13084
|
+
*
|
|
13085
|
+
* @param headers - QueryPositionVersionHeaders
|
|
13086
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13087
|
+
* @returns QueryPositionVersionResponse
|
|
13088
|
+
*/
|
|
13089
|
+
async queryPositionVersionWithOptions(headers: QueryPositionVersionHeaders, runtime: $Util.RuntimeOptions): Promise<QueryPositionVersionResponse> {
|
|
13090
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
13091
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
13092
|
+
realHeaders = headers.commonHeaders;
|
|
13093
|
+
}
|
|
13094
|
+
|
|
13095
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
13096
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
13097
|
+
}
|
|
13098
|
+
|
|
13099
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13100
|
+
headers: realHeaders,
|
|
13101
|
+
});
|
|
13102
|
+
let params = new $OpenApi.Params({
|
|
13103
|
+
action: "QueryPositionVersion",
|
|
13104
|
+
version: "hrm_1.0",
|
|
13105
|
+
protocol: "HTTP",
|
|
13106
|
+
pathname: `/v1.0/hrm/positions/versions/query`,
|
|
13107
|
+
method: "POST",
|
|
13108
|
+
authType: "AK",
|
|
13109
|
+
style: "ROA",
|
|
13110
|
+
reqBodyType: "none",
|
|
13111
|
+
bodyType: "json",
|
|
13112
|
+
});
|
|
13113
|
+
return $tea.cast<QueryPositionVersionResponse>(await this.execute(params, req, runtime), new QueryPositionVersionResponse({}));
|
|
13114
|
+
}
|
|
13115
|
+
|
|
13116
|
+
/**
|
|
13117
|
+
* 查询企业职位版本
|
|
13118
|
+
* @returns QueryPositionVersionResponse
|
|
13119
|
+
*/
|
|
13120
|
+
async queryPositionVersion(): Promise<QueryPositionVersionResponse> {
|
|
13121
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13122
|
+
let headers = new QueryPositionVersionHeaders({ });
|
|
13123
|
+
return await this.queryPositionVersionWithOptions(headers, runtime);
|
|
13124
|
+
}
|
|
13125
|
+
|
|
12105
13126
|
/**
|
|
12106
13127
|
* 分页查询企业职位信息
|
|
12107
13128
|
*
|
|
@@ -12240,6 +13261,60 @@ export default class Client extends OpenApi {
|
|
|
12240
13261
|
return await this.revokeSignRecordsWithOptions(request, headers, runtime);
|
|
12241
13262
|
}
|
|
12242
13263
|
|
|
13264
|
+
/**
|
|
13265
|
+
* 撤销待离职
|
|
13266
|
+
*
|
|
13267
|
+
* @param request - RevokeTerminationRequest
|
|
13268
|
+
* @param headers - RevokeTerminationHeaders
|
|
13269
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13270
|
+
* @returns RevokeTerminationResponse
|
|
13271
|
+
*/
|
|
13272
|
+
async revokeTerminationWithOptions(request: RevokeTerminationRequest, headers: RevokeTerminationHeaders, runtime: $Util.RuntimeOptions): Promise<RevokeTerminationResponse> {
|
|
13273
|
+
Util.validateModel(request);
|
|
13274
|
+
let body : {[key: string ]: any} = { };
|
|
13275
|
+
if (!Util.isUnset(request.userId)) {
|
|
13276
|
+
body["userId"] = request.userId;
|
|
13277
|
+
}
|
|
13278
|
+
|
|
13279
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
13280
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
13281
|
+
realHeaders = headers.commonHeaders;
|
|
13282
|
+
}
|
|
13283
|
+
|
|
13284
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
13285
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
13286
|
+
}
|
|
13287
|
+
|
|
13288
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13289
|
+
headers: realHeaders,
|
|
13290
|
+
body: OpenApiUtil.parseToMap(body),
|
|
13291
|
+
});
|
|
13292
|
+
let params = new $OpenApi.Params({
|
|
13293
|
+
action: "RevokeTermination",
|
|
13294
|
+
version: "hrm_1.0",
|
|
13295
|
+
protocol: "HTTP",
|
|
13296
|
+
pathname: `/v1.0/hrm/pendingDismission/revoke`,
|
|
13297
|
+
method: "POST",
|
|
13298
|
+
authType: "AK",
|
|
13299
|
+
style: "ROA",
|
|
13300
|
+
reqBodyType: "none",
|
|
13301
|
+
bodyType: "json",
|
|
13302
|
+
});
|
|
13303
|
+
return $tea.cast<RevokeTerminationResponse>(await this.execute(params, req, runtime), new RevokeTerminationResponse({}));
|
|
13304
|
+
}
|
|
13305
|
+
|
|
13306
|
+
/**
|
|
13307
|
+
* 撤销待离职
|
|
13308
|
+
*
|
|
13309
|
+
* @param request - RevokeTerminationRequest
|
|
13310
|
+
* @returns RevokeTerminationResponse
|
|
13311
|
+
*/
|
|
13312
|
+
async revokeTermination(request: RevokeTerminationRequest): Promise<RevokeTerminationResponse> {
|
|
13313
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13314
|
+
let headers = new RevokeTerminationHeaders({ });
|
|
13315
|
+
return await this.revokeTerminationWithOptions(request, headers, runtime);
|
|
13316
|
+
}
|
|
13317
|
+
|
|
12243
13318
|
/**
|
|
12244
13319
|
* 查询花名册中有权限的字段列表
|
|
12245
13320
|
*
|
|
@@ -12796,6 +13871,80 @@ export default class Client extends OpenApi {
|
|
|
12796
13871
|
return await this.syncTaskTemplateWithOptions(request, headers, runtime);
|
|
12797
13872
|
}
|
|
12798
13873
|
|
|
13874
|
+
/**
|
|
13875
|
+
* 更新待离职信息
|
|
13876
|
+
*
|
|
13877
|
+
* @param request - UpdateEmpDismissionInfoRequest
|
|
13878
|
+
* @param headers - UpdateEmpDismissionInfoHeaders
|
|
13879
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13880
|
+
* @returns UpdateEmpDismissionInfoResponse
|
|
13881
|
+
*/
|
|
13882
|
+
async updateEmpDismissionInfoWithOptions(request: UpdateEmpDismissionInfoRequest, headers: UpdateEmpDismissionInfoHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateEmpDismissionInfoResponse> {
|
|
13883
|
+
Util.validateModel(request);
|
|
13884
|
+
let body : {[key: string ]: any} = { };
|
|
13885
|
+
if (!Util.isUnset(request.dismissionMemo)) {
|
|
13886
|
+
body["dismissionMemo"] = request.dismissionMemo;
|
|
13887
|
+
}
|
|
13888
|
+
|
|
13889
|
+
if (!Util.isUnset(request.lastWorkDate)) {
|
|
13890
|
+
body["lastWorkDate"] = request.lastWorkDate;
|
|
13891
|
+
}
|
|
13892
|
+
|
|
13893
|
+
if (!Util.isUnset(request.partner)) {
|
|
13894
|
+
body["partner"] = request.partner;
|
|
13895
|
+
}
|
|
13896
|
+
|
|
13897
|
+
if (!Util.isUnset(request.terminationReasonPassive)) {
|
|
13898
|
+
body["terminationReasonPassive"] = request.terminationReasonPassive;
|
|
13899
|
+
}
|
|
13900
|
+
|
|
13901
|
+
if (!Util.isUnset(request.terminationReasonVoluntary)) {
|
|
13902
|
+
body["terminationReasonVoluntary"] = request.terminationReasonVoluntary;
|
|
13903
|
+
}
|
|
13904
|
+
|
|
13905
|
+
if (!Util.isUnset(request.userId)) {
|
|
13906
|
+
body["userId"] = request.userId;
|
|
13907
|
+
}
|
|
13908
|
+
|
|
13909
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
13910
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
13911
|
+
realHeaders = headers.commonHeaders;
|
|
13912
|
+
}
|
|
13913
|
+
|
|
13914
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
13915
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
13916
|
+
}
|
|
13917
|
+
|
|
13918
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13919
|
+
headers: realHeaders,
|
|
13920
|
+
body: OpenApiUtil.parseToMap(body),
|
|
13921
|
+
});
|
|
13922
|
+
let params = new $OpenApi.Params({
|
|
13923
|
+
action: "UpdateEmpDismissionInfo",
|
|
13924
|
+
version: "hrm_1.0",
|
|
13925
|
+
protocol: "HTTP",
|
|
13926
|
+
pathname: `/v1.0/hrm/pendingDismission/infos`,
|
|
13927
|
+
method: "PUT",
|
|
13928
|
+
authType: "AK",
|
|
13929
|
+
style: "ROA",
|
|
13930
|
+
reqBodyType: "none",
|
|
13931
|
+
bodyType: "json",
|
|
13932
|
+
});
|
|
13933
|
+
return $tea.cast<UpdateEmpDismissionInfoResponse>(await this.execute(params, req, runtime), new UpdateEmpDismissionInfoResponse({}));
|
|
13934
|
+
}
|
|
13935
|
+
|
|
13936
|
+
/**
|
|
13937
|
+
* 更新待离职信息
|
|
13938
|
+
*
|
|
13939
|
+
* @param request - UpdateEmpDismissionInfoRequest
|
|
13940
|
+
* @returns UpdateEmpDismissionInfoResponse
|
|
13941
|
+
*/
|
|
13942
|
+
async updateEmpDismissionInfo(request: UpdateEmpDismissionInfoRequest): Promise<UpdateEmpDismissionInfoResponse> {
|
|
13943
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13944
|
+
let headers = new UpdateEmpDismissionInfoHeaders({ });
|
|
13945
|
+
return await this.updateEmpDismissionInfoWithOptions(request, headers, runtime);
|
|
13946
|
+
}
|
|
13947
|
+
|
|
12799
13948
|
/**
|
|
12800
13949
|
* 更新法人公司名称
|
|
12801
13950
|
*
|