@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21
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
|
@@ -0,0 +1,1156 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
import Util, * as $Util from '@alicloud/tea-util';
|
|
5
|
+
import GatewayClient from '@alicloud/gateway-dingtalk';
|
|
6
|
+
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
7
|
+
import OpenApiUtil from '@alicloud/openapi-util';
|
|
8
|
+
import * as $tea from '@alicloud/tea-typescript';
|
|
9
|
+
|
|
10
|
+
export class GetSalaryCalculationHeaders extends $tea.Model {
|
|
11
|
+
commonHeaders?: { [key: string]: string };
|
|
12
|
+
xAcsDingtalkAccessToken?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
commonHeaders: 'commonHeaders',
|
|
16
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
23
|
+
xAcsDingtalkAccessToken: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class GetSalaryCalculationRequest extends $tea.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* 2025-06
|
|
39
|
+
*/
|
|
40
|
+
date?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* SalaryGroupxxx
|
|
47
|
+
*/
|
|
48
|
+
salaryGroupId?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
date: 'date',
|
|
52
|
+
salaryGroupId: 'salaryGroupId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
date: 'string',
|
|
59
|
+
salaryGroupId: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class GetSalaryCalculationResponseBody extends $tea.Model {
|
|
69
|
+
result?: GetSalaryCalculationResponseBodyResult;
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
result: 'result',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
result: GetSalaryCalculationResponseBodyResult,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class GetSalaryCalculationResponse extends $tea.Model {
|
|
88
|
+
headers?: { [key: string]: string };
|
|
89
|
+
statusCode?: number;
|
|
90
|
+
body?: GetSalaryCalculationResponseBody;
|
|
91
|
+
static names(): { [key: string]: string } {
|
|
92
|
+
return {
|
|
93
|
+
headers: 'headers',
|
|
94
|
+
statusCode: 'statusCode',
|
|
95
|
+
body: 'body',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
102
|
+
statusCode: 'number',
|
|
103
|
+
body: GetSalaryCalculationResponseBody,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
constructor(map?: { [key: string]: any }) {
|
|
108
|
+
super(map);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export class GetSalaryGroupHeaders extends $tea.Model {
|
|
113
|
+
commonHeaders?: { [key: string]: string };
|
|
114
|
+
xAcsDingtalkAccessToken?: string;
|
|
115
|
+
static names(): { [key: string]: string } {
|
|
116
|
+
return {
|
|
117
|
+
commonHeaders: 'commonHeaders',
|
|
118
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
static types(): { [key: string]: any } {
|
|
123
|
+
return {
|
|
124
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
125
|
+
xAcsDingtalkAccessToken: 'string',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
constructor(map?: { [key: string]: any }) {
|
|
130
|
+
super(map);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class GetSalaryGroupResponseBody extends $tea.Model {
|
|
135
|
+
result?: GetSalaryGroupResponseBodyResult[];
|
|
136
|
+
static names(): { [key: string]: string } {
|
|
137
|
+
return {
|
|
138
|
+
result: 'result',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static types(): { [key: string]: any } {
|
|
143
|
+
return {
|
|
144
|
+
result: { 'type': 'array', 'itemType': GetSalaryGroupResponseBodyResult },
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
constructor(map?: { [key: string]: any }) {
|
|
149
|
+
super(map);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export class GetSalaryGroupResponse extends $tea.Model {
|
|
154
|
+
headers?: { [key: string]: string };
|
|
155
|
+
statusCode?: number;
|
|
156
|
+
body?: GetSalaryGroupResponseBody;
|
|
157
|
+
static names(): { [key: string]: string } {
|
|
158
|
+
return {
|
|
159
|
+
headers: 'headers',
|
|
160
|
+
statusCode: 'statusCode',
|
|
161
|
+
body: 'body',
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
static types(): { [key: string]: any } {
|
|
166
|
+
return {
|
|
167
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
168
|
+
statusCode: 'number',
|
|
169
|
+
body: GetSalaryGroupResponseBody,
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
constructor(map?: { [key: string]: any }) {
|
|
174
|
+
super(map);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export class GetSalaryItemHeaders extends $tea.Model {
|
|
179
|
+
commonHeaders?: { [key: string]: string };
|
|
180
|
+
xAcsDingtalkAccessToken?: string;
|
|
181
|
+
static names(): { [key: string]: string } {
|
|
182
|
+
return {
|
|
183
|
+
commonHeaders: 'commonHeaders',
|
|
184
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
static types(): { [key: string]: any } {
|
|
189
|
+
return {
|
|
190
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
191
|
+
xAcsDingtalkAccessToken: 'string',
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
constructor(map?: { [key: string]: any }) {
|
|
196
|
+
super(map);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export class GetSalaryItemRequest extends $tea.Model {
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* This parameter is required.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* SalaryItemGroupxxx
|
|
207
|
+
*/
|
|
208
|
+
salaryItemGroupId?: string;
|
|
209
|
+
static names(): { [key: string]: string } {
|
|
210
|
+
return {
|
|
211
|
+
salaryItemGroupId: 'salaryItemGroupId',
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
static types(): { [key: string]: any } {
|
|
216
|
+
return {
|
|
217
|
+
salaryItemGroupId: 'string',
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
constructor(map?: { [key: string]: any }) {
|
|
222
|
+
super(map);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export class GetSalaryItemResponseBody extends $tea.Model {
|
|
227
|
+
result?: GetSalaryItemResponseBodyResult[];
|
|
228
|
+
static names(): { [key: string]: string } {
|
|
229
|
+
return {
|
|
230
|
+
result: 'result',
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
static types(): { [key: string]: any } {
|
|
235
|
+
return {
|
|
236
|
+
result: { 'type': 'array', 'itemType': GetSalaryItemResponseBodyResult },
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
constructor(map?: { [key: string]: any }) {
|
|
241
|
+
super(map);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export class GetSalaryItemResponse extends $tea.Model {
|
|
246
|
+
headers?: { [key: string]: string };
|
|
247
|
+
statusCode?: number;
|
|
248
|
+
body?: GetSalaryItemResponseBody;
|
|
249
|
+
static names(): { [key: string]: string } {
|
|
250
|
+
return {
|
|
251
|
+
headers: 'headers',
|
|
252
|
+
statusCode: 'statusCode',
|
|
253
|
+
body: 'body',
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
static types(): { [key: string]: any } {
|
|
258
|
+
return {
|
|
259
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
260
|
+
statusCode: 'number',
|
|
261
|
+
body: GetSalaryItemResponseBody,
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
constructor(map?: { [key: string]: any }) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export class GetSalaryItemGroupHeaders extends $tea.Model {
|
|
271
|
+
commonHeaders?: { [key: string]: string };
|
|
272
|
+
xAcsDingtalkAccessToken?: string;
|
|
273
|
+
static names(): { [key: string]: string } {
|
|
274
|
+
return {
|
|
275
|
+
commonHeaders: 'commonHeaders',
|
|
276
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
static types(): { [key: string]: any } {
|
|
281
|
+
return {
|
|
282
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
283
|
+
xAcsDingtalkAccessToken: 'string',
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
constructor(map?: { [key: string]: any }) {
|
|
288
|
+
super(map);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export class GetSalaryItemGroupResponseBody extends $tea.Model {
|
|
293
|
+
result?: GetSalaryItemGroupResponseBodyResult[];
|
|
294
|
+
static names(): { [key: string]: string } {
|
|
295
|
+
return {
|
|
296
|
+
result: 'result',
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
static types(): { [key: string]: any } {
|
|
301
|
+
return {
|
|
302
|
+
result: { 'type': 'array', 'itemType': GetSalaryItemGroupResponseBodyResult },
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
constructor(map?: { [key: string]: any }) {
|
|
307
|
+
super(map);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export class GetSalaryItemGroupResponse extends $tea.Model {
|
|
312
|
+
headers?: { [key: string]: string };
|
|
313
|
+
statusCode?: number;
|
|
314
|
+
body?: GetSalaryItemGroupResponseBody;
|
|
315
|
+
static names(): { [key: string]: string } {
|
|
316
|
+
return {
|
|
317
|
+
headers: 'headers',
|
|
318
|
+
statusCode: 'statusCode',
|
|
319
|
+
body: 'body',
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
static types(): { [key: string]: any } {
|
|
324
|
+
return {
|
|
325
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
326
|
+
statusCode: 'number',
|
|
327
|
+
body: GetSalaryItemGroupResponseBody,
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
constructor(map?: { [key: string]: any }) {
|
|
332
|
+
super(map);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export class ListSalaryCalculationHeaders extends $tea.Model {
|
|
337
|
+
commonHeaders?: { [key: string]: string };
|
|
338
|
+
xAcsDingtalkAccessToken?: string;
|
|
339
|
+
static names(): { [key: string]: string } {
|
|
340
|
+
return {
|
|
341
|
+
commonHeaders: 'commonHeaders',
|
|
342
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
static types(): { [key: string]: any } {
|
|
347
|
+
return {
|
|
348
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
349
|
+
xAcsDingtalkAccessToken: 'string',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
constructor(map?: { [key: string]: any }) {
|
|
354
|
+
super(map);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export class ListSalaryCalculationRequest extends $tea.Model {
|
|
359
|
+
/**
|
|
360
|
+
* @remarks
|
|
361
|
+
* This parameter is required.
|
|
362
|
+
*
|
|
363
|
+
* @example
|
|
364
|
+
* 2025-06
|
|
365
|
+
*/
|
|
366
|
+
date?: string;
|
|
367
|
+
/**
|
|
368
|
+
* @remarks
|
|
369
|
+
* This parameter is required.
|
|
370
|
+
*
|
|
371
|
+
* @example
|
|
372
|
+
* 1
|
|
373
|
+
*/
|
|
374
|
+
pageIndex?: number;
|
|
375
|
+
/**
|
|
376
|
+
* @remarks
|
|
377
|
+
* This parameter is required.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* 10
|
|
381
|
+
*/
|
|
382
|
+
pageSize?: number;
|
|
383
|
+
/**
|
|
384
|
+
* @remarks
|
|
385
|
+
* This parameter is required.
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* SalaryGroupXXX
|
|
389
|
+
*/
|
|
390
|
+
salaryGroupId?: string;
|
|
391
|
+
static names(): { [key: string]: string } {
|
|
392
|
+
return {
|
|
393
|
+
date: 'date',
|
|
394
|
+
pageIndex: 'pageIndex',
|
|
395
|
+
pageSize: 'pageSize',
|
|
396
|
+
salaryGroupId: 'salaryGroupId',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static types(): { [key: string]: any } {
|
|
401
|
+
return {
|
|
402
|
+
date: 'string',
|
|
403
|
+
pageIndex: 'number',
|
|
404
|
+
pageSize: 'number',
|
|
405
|
+
salaryGroupId: 'string',
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
constructor(map?: { [key: string]: any }) {
|
|
410
|
+
super(map);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export class ListSalaryCalculationResponseBody extends $tea.Model {
|
|
415
|
+
result?: ListSalaryCalculationResponseBodyResult;
|
|
416
|
+
static names(): { [key: string]: string } {
|
|
417
|
+
return {
|
|
418
|
+
result: 'result',
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
static types(): { [key: string]: any } {
|
|
423
|
+
return {
|
|
424
|
+
result: ListSalaryCalculationResponseBodyResult,
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
constructor(map?: { [key: string]: any }) {
|
|
429
|
+
super(map);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export class ListSalaryCalculationResponse extends $tea.Model {
|
|
434
|
+
headers?: { [key: string]: string };
|
|
435
|
+
statusCode?: number;
|
|
436
|
+
body?: ListSalaryCalculationResponseBody;
|
|
437
|
+
static names(): { [key: string]: string } {
|
|
438
|
+
return {
|
|
439
|
+
headers: 'headers',
|
|
440
|
+
statusCode: 'statusCode',
|
|
441
|
+
body: 'body',
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
static types(): { [key: string]: any } {
|
|
446
|
+
return {
|
|
447
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
448
|
+
statusCode: 'number',
|
|
449
|
+
body: ListSalaryCalculationResponseBody,
|
|
450
|
+
};
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
constructor(map?: { [key: string]: any }) {
|
|
454
|
+
super(map);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export class WriteSalaryCalculationHeaders extends $tea.Model {
|
|
459
|
+
commonHeaders?: { [key: string]: string };
|
|
460
|
+
xAcsDingtalkAccessToken?: string;
|
|
461
|
+
static names(): { [key: string]: string } {
|
|
462
|
+
return {
|
|
463
|
+
commonHeaders: 'commonHeaders',
|
|
464
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
static types(): { [key: string]: any } {
|
|
469
|
+
return {
|
|
470
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
471
|
+
xAcsDingtalkAccessToken: 'string',
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
constructor(map?: { [key: string]: any }) {
|
|
476
|
+
super(map);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export class WriteSalaryCalculationRequest extends $tea.Model {
|
|
481
|
+
/**
|
|
482
|
+
* @remarks
|
|
483
|
+
* This parameter is required.
|
|
484
|
+
*
|
|
485
|
+
* @example
|
|
486
|
+
* 2025-06
|
|
487
|
+
*/
|
|
488
|
+
date?: string;
|
|
489
|
+
items?: WriteSalaryCalculationRequestItems[];
|
|
490
|
+
static names(): { [key: string]: string } {
|
|
491
|
+
return {
|
|
492
|
+
date: 'date',
|
|
493
|
+
items: 'items',
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
static types(): { [key: string]: any } {
|
|
498
|
+
return {
|
|
499
|
+
date: 'string',
|
|
500
|
+
items: { 'type': 'array', 'itemType': WriteSalaryCalculationRequestItems },
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
constructor(map?: { [key: string]: any }) {
|
|
505
|
+
super(map);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export class WriteSalaryCalculationResponseBody extends $tea.Model {
|
|
510
|
+
result?: { [key: string]: any };
|
|
511
|
+
static names(): { [key: string]: string } {
|
|
512
|
+
return {
|
|
513
|
+
result: 'result',
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
static types(): { [key: string]: any } {
|
|
518
|
+
return {
|
|
519
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
constructor(map?: { [key: string]: any }) {
|
|
524
|
+
super(map);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export class WriteSalaryCalculationResponse extends $tea.Model {
|
|
529
|
+
headers?: { [key: string]: string };
|
|
530
|
+
statusCode?: number;
|
|
531
|
+
body?: WriteSalaryCalculationResponseBody;
|
|
532
|
+
static names(): { [key: string]: string } {
|
|
533
|
+
return {
|
|
534
|
+
headers: 'headers',
|
|
535
|
+
statusCode: 'statusCode',
|
|
536
|
+
body: 'body',
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
static types(): { [key: string]: any } {
|
|
541
|
+
return {
|
|
542
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
543
|
+
statusCode: 'number',
|
|
544
|
+
body: WriteSalaryCalculationResponseBody,
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
constructor(map?: { [key: string]: any }) {
|
|
549
|
+
super(map);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export class GetSalaryCalculationResponseBodyResult extends $tea.Model {
|
|
554
|
+
calStatus?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* @example
|
|
557
|
+
* 2025-06-30
|
|
558
|
+
*/
|
|
559
|
+
endDate?: string;
|
|
560
|
+
/**
|
|
561
|
+
* @example
|
|
562
|
+
* 2025-06-01
|
|
563
|
+
*/
|
|
564
|
+
startDate?: string;
|
|
565
|
+
/**
|
|
566
|
+
* @example
|
|
567
|
+
* NONE
|
|
568
|
+
*/
|
|
569
|
+
status?: string;
|
|
570
|
+
static names(): { [key: string]: string } {
|
|
571
|
+
return {
|
|
572
|
+
calStatus: 'calStatus',
|
|
573
|
+
endDate: 'endDate',
|
|
574
|
+
startDate: 'startDate',
|
|
575
|
+
status: 'status',
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
static types(): { [key: string]: any } {
|
|
580
|
+
return {
|
|
581
|
+
calStatus: 'boolean',
|
|
582
|
+
endDate: 'string',
|
|
583
|
+
startDate: 'string',
|
|
584
|
+
status: 'string',
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
constructor(map?: { [key: string]: any }) {
|
|
589
|
+
super(map);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export class GetSalaryGroupResponseBodyResult extends $tea.Model {
|
|
594
|
+
enableFlag?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* @example
|
|
597
|
+
* SalaryItemGroupIdxxx
|
|
598
|
+
*/
|
|
599
|
+
salaryGroupId?: string;
|
|
600
|
+
/**
|
|
601
|
+
* @example
|
|
602
|
+
* 123
|
|
603
|
+
*/
|
|
604
|
+
salaryGroupName?: string;
|
|
605
|
+
static names(): { [key: string]: string } {
|
|
606
|
+
return {
|
|
607
|
+
enableFlag: 'enableFlag',
|
|
608
|
+
salaryGroupId: 'salaryGroupId',
|
|
609
|
+
salaryGroupName: 'salaryGroupName',
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
static types(): { [key: string]: any } {
|
|
614
|
+
return {
|
|
615
|
+
enableFlag: 'boolean',
|
|
616
|
+
salaryGroupId: 'string',
|
|
617
|
+
salaryGroupName: 'string',
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
constructor(map?: { [key: string]: any }) {
|
|
622
|
+
super(map);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export class GetSalaryItemResponseBodyResult extends $tea.Model {
|
|
627
|
+
/**
|
|
628
|
+
* @example
|
|
629
|
+
* SalaryItemIdxxx
|
|
630
|
+
*/
|
|
631
|
+
salaryItemId?: string;
|
|
632
|
+
/**
|
|
633
|
+
* @example
|
|
634
|
+
* 绩效xx
|
|
635
|
+
*/
|
|
636
|
+
salaryItemName?: string;
|
|
637
|
+
static names(): { [key: string]: string } {
|
|
638
|
+
return {
|
|
639
|
+
salaryItemId: 'salaryItemId',
|
|
640
|
+
salaryItemName: 'salaryItemName',
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
static types(): { [key: string]: any } {
|
|
645
|
+
return {
|
|
646
|
+
salaryItemId: 'string',
|
|
647
|
+
salaryItemName: 'string',
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
constructor(map?: { [key: string]: any }) {
|
|
652
|
+
super(map);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export class GetSalaryItemGroupResponseBodyResult extends $tea.Model {
|
|
657
|
+
/**
|
|
658
|
+
* @example
|
|
659
|
+
* SalaryItemGroupIdxxx
|
|
660
|
+
*/
|
|
661
|
+
salaryItemGroupId?: string;
|
|
662
|
+
/**
|
|
663
|
+
* @example
|
|
664
|
+
* 浮动薪资xx
|
|
665
|
+
*/
|
|
666
|
+
salaryItemGroupName?: string;
|
|
667
|
+
static names(): { [key: string]: string } {
|
|
668
|
+
return {
|
|
669
|
+
salaryItemGroupId: 'salaryItemGroupId',
|
|
670
|
+
salaryItemGroupName: 'salaryItemGroupName',
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
static types(): { [key: string]: any } {
|
|
675
|
+
return {
|
|
676
|
+
salaryItemGroupId: 'string',
|
|
677
|
+
salaryItemGroupName: 'string',
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
constructor(map?: { [key: string]: any }) {
|
|
682
|
+
super(map);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export class ListSalaryCalculationResponseBodyResultDataDataList extends $tea.Model {
|
|
687
|
+
salaryItemId?: string;
|
|
688
|
+
salaryItemName?: string;
|
|
689
|
+
salaryItemValue?: string;
|
|
690
|
+
static names(): { [key: string]: string } {
|
|
691
|
+
return {
|
|
692
|
+
salaryItemId: 'salaryItemId',
|
|
693
|
+
salaryItemName: 'salaryItemName',
|
|
694
|
+
salaryItemValue: 'salaryItemValue',
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
static types(): { [key: string]: any } {
|
|
699
|
+
return {
|
|
700
|
+
salaryItemId: 'string',
|
|
701
|
+
salaryItemName: 'string',
|
|
702
|
+
salaryItemValue: 'string',
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
constructor(map?: { [key: string]: any }) {
|
|
707
|
+
super(map);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export class ListSalaryCalculationResponseBodyResultData extends $tea.Model {
|
|
712
|
+
dataList?: ListSalaryCalculationResponseBodyResultDataDataList[];
|
|
713
|
+
userId?: string;
|
|
714
|
+
static names(): { [key: string]: string } {
|
|
715
|
+
return {
|
|
716
|
+
dataList: 'dataList',
|
|
717
|
+
userId: 'userId',
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
static types(): { [key: string]: any } {
|
|
722
|
+
return {
|
|
723
|
+
dataList: { 'type': 'array', 'itemType': ListSalaryCalculationResponseBodyResultDataDataList },
|
|
724
|
+
userId: 'string',
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
constructor(map?: { [key: string]: any }) {
|
|
729
|
+
super(map);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export class ListSalaryCalculationResponseBodyResult extends $tea.Model {
|
|
734
|
+
data?: ListSalaryCalculationResponseBodyResultData[];
|
|
735
|
+
hasMore?: boolean;
|
|
736
|
+
static names(): { [key: string]: string } {
|
|
737
|
+
return {
|
|
738
|
+
data: 'data',
|
|
739
|
+
hasMore: 'hasMore',
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
static types(): { [key: string]: any } {
|
|
744
|
+
return {
|
|
745
|
+
data: { 'type': 'array', 'itemType': ListSalaryCalculationResponseBodyResultData },
|
|
746
|
+
hasMore: 'boolean',
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
constructor(map?: { [key: string]: any }) {
|
|
751
|
+
super(map);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export class WriteSalaryCalculationRequestItemsContents extends $tea.Model {
|
|
756
|
+
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* This parameter is required.
|
|
759
|
+
*
|
|
760
|
+
* @example
|
|
761
|
+
* SalaryItemXXX
|
|
762
|
+
*/
|
|
763
|
+
salaryItemId?: string;
|
|
764
|
+
/**
|
|
765
|
+
* @example
|
|
766
|
+
* 26
|
|
767
|
+
*/
|
|
768
|
+
salaryItemValue?: string;
|
|
769
|
+
static names(): { [key: string]: string } {
|
|
770
|
+
return {
|
|
771
|
+
salaryItemId: 'salaryItemId',
|
|
772
|
+
salaryItemValue: 'salaryItemValue',
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
static types(): { [key: string]: any } {
|
|
777
|
+
return {
|
|
778
|
+
salaryItemId: 'string',
|
|
779
|
+
salaryItemValue: 'string',
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
constructor(map?: { [key: string]: any }) {
|
|
784
|
+
super(map);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export class WriteSalaryCalculationRequestItems extends $tea.Model {
|
|
789
|
+
contents?: WriteSalaryCalculationRequestItemsContents[];
|
|
790
|
+
/**
|
|
791
|
+
* @remarks
|
|
792
|
+
* This parameter is required.
|
|
793
|
+
*
|
|
794
|
+
* @example
|
|
795
|
+
* user001
|
|
796
|
+
*/
|
|
797
|
+
userId?: string;
|
|
798
|
+
static names(): { [key: string]: string } {
|
|
799
|
+
return {
|
|
800
|
+
contents: 'contents',
|
|
801
|
+
userId: 'userId',
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
static types(): { [key: string]: any } {
|
|
806
|
+
return {
|
|
807
|
+
contents: { 'type': 'array', 'itemType': WriteSalaryCalculationRequestItemsContents },
|
|
808
|
+
userId: 'string',
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
constructor(map?: { [key: string]: any }) {
|
|
813
|
+
super(map);
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
export default class Client extends OpenApi {
|
|
819
|
+
|
|
820
|
+
constructor(config: $OpenApi.Config) {
|
|
821
|
+
super(config);
|
|
822
|
+
let gatewayClient = new GatewayClient();
|
|
823
|
+
this._spi = gatewayClient;
|
|
824
|
+
this._endpointRule = "";
|
|
825
|
+
if (Util.empty(this._endpoint)) {
|
|
826
|
+
this._endpoint = "api.dingtalk.com";
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* 小微薪酬获取薪资记录
|
|
834
|
+
*
|
|
835
|
+
* @param request - GetSalaryCalculationRequest
|
|
836
|
+
* @param headers - GetSalaryCalculationHeaders
|
|
837
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
838
|
+
* @returns GetSalaryCalculationResponse
|
|
839
|
+
*/
|
|
840
|
+
async getSalaryCalculationWithOptions(request: GetSalaryCalculationRequest, headers: GetSalaryCalculationHeaders, runtime: $Util.RuntimeOptions): Promise<GetSalaryCalculationResponse> {
|
|
841
|
+
Util.validateModel(request);
|
|
842
|
+
let query : {[key: string ]: any} = { };
|
|
843
|
+
if (!Util.isUnset(request.date)) {
|
|
844
|
+
query["date"] = request.date;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
if (!Util.isUnset(request.salaryGroupId)) {
|
|
848
|
+
query["salaryGroupId"] = request.salaryGroupId;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
852
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
853
|
+
realHeaders = headers.commonHeaders;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
857
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
861
|
+
headers: realHeaders,
|
|
862
|
+
query: OpenApiUtil.query(query),
|
|
863
|
+
});
|
|
864
|
+
let params = new $OpenApi.Params({
|
|
865
|
+
action: "GetSalaryCalculation",
|
|
866
|
+
version: "salary_1.0",
|
|
867
|
+
protocol: "HTTP",
|
|
868
|
+
pathname: `/v1.0/salary/calculation`,
|
|
869
|
+
method: "GET",
|
|
870
|
+
authType: "AK",
|
|
871
|
+
style: "ROA",
|
|
872
|
+
reqBodyType: "none",
|
|
873
|
+
bodyType: "json",
|
|
874
|
+
});
|
|
875
|
+
return $tea.cast<GetSalaryCalculationResponse>(await this.execute(params, req, runtime), new GetSalaryCalculationResponse({}));
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* 小微薪酬获取薪资记录
|
|
880
|
+
*
|
|
881
|
+
* @param request - GetSalaryCalculationRequest
|
|
882
|
+
* @returns GetSalaryCalculationResponse
|
|
883
|
+
*/
|
|
884
|
+
async getSalaryCalculation(request: GetSalaryCalculationRequest): Promise<GetSalaryCalculationResponse> {
|
|
885
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
886
|
+
let headers = new GetSalaryCalculationHeaders({ });
|
|
887
|
+
return await this.getSalaryCalculationWithOptions(request, headers, runtime);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* 小微薪酬获取薪资组
|
|
892
|
+
*
|
|
893
|
+
* @param headers - GetSalaryGroupHeaders
|
|
894
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
895
|
+
* @returns GetSalaryGroupResponse
|
|
896
|
+
*/
|
|
897
|
+
async getSalaryGroupWithOptions(headers: GetSalaryGroupHeaders, runtime: $Util.RuntimeOptions): Promise<GetSalaryGroupResponse> {
|
|
898
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
899
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
900
|
+
realHeaders = headers.commonHeaders;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
904
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
908
|
+
headers: realHeaders,
|
|
909
|
+
});
|
|
910
|
+
let params = new $OpenApi.Params({
|
|
911
|
+
action: "GetSalaryGroup",
|
|
912
|
+
version: "salary_1.0",
|
|
913
|
+
protocol: "HTTP",
|
|
914
|
+
pathname: `/v1.0/salary/group`,
|
|
915
|
+
method: "GET",
|
|
916
|
+
authType: "AK",
|
|
917
|
+
style: "ROA",
|
|
918
|
+
reqBodyType: "none",
|
|
919
|
+
bodyType: "json",
|
|
920
|
+
});
|
|
921
|
+
return $tea.cast<GetSalaryGroupResponse>(await this.execute(params, req, runtime), new GetSalaryGroupResponse({}));
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* 小微薪酬获取薪资组
|
|
926
|
+
* @returns GetSalaryGroupResponse
|
|
927
|
+
*/
|
|
928
|
+
async getSalaryGroup(): Promise<GetSalaryGroupResponse> {
|
|
929
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
930
|
+
let headers = new GetSalaryGroupHeaders({ });
|
|
931
|
+
return await this.getSalaryGroupWithOptions(headers, runtime);
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* 小微薪酬获取薪资项目
|
|
936
|
+
*
|
|
937
|
+
* @param request - GetSalaryItemRequest
|
|
938
|
+
* @param headers - GetSalaryItemHeaders
|
|
939
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
940
|
+
* @returns GetSalaryItemResponse
|
|
941
|
+
*/
|
|
942
|
+
async getSalaryItemWithOptions(request: GetSalaryItemRequest, headers: GetSalaryItemHeaders, runtime: $Util.RuntimeOptions): Promise<GetSalaryItemResponse> {
|
|
943
|
+
Util.validateModel(request);
|
|
944
|
+
let query : {[key: string ]: any} = { };
|
|
945
|
+
if (!Util.isUnset(request.salaryItemGroupId)) {
|
|
946
|
+
query["salaryItemGroupId"] = request.salaryItemGroupId;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
950
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
951
|
+
realHeaders = headers.commonHeaders;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
955
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
959
|
+
headers: realHeaders,
|
|
960
|
+
query: OpenApiUtil.query(query),
|
|
961
|
+
});
|
|
962
|
+
let params = new $OpenApi.Params({
|
|
963
|
+
action: "GetSalaryItem",
|
|
964
|
+
version: "salary_1.0",
|
|
965
|
+
protocol: "HTTP",
|
|
966
|
+
pathname: `/v1.0/salary/item`,
|
|
967
|
+
method: "GET",
|
|
968
|
+
authType: "AK",
|
|
969
|
+
style: "ROA",
|
|
970
|
+
reqBodyType: "none",
|
|
971
|
+
bodyType: "json",
|
|
972
|
+
});
|
|
973
|
+
return $tea.cast<GetSalaryItemResponse>(await this.execute(params, req, runtime), new GetSalaryItemResponse({}));
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* 小微薪酬获取薪资项目
|
|
978
|
+
*
|
|
979
|
+
* @param request - GetSalaryItemRequest
|
|
980
|
+
* @returns GetSalaryItemResponse
|
|
981
|
+
*/
|
|
982
|
+
async getSalaryItem(request: GetSalaryItemRequest): Promise<GetSalaryItemResponse> {
|
|
983
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
984
|
+
let headers = new GetSalaryItemHeaders({ });
|
|
985
|
+
return await this.getSalaryItemWithOptions(request, headers, runtime);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* 小微薪酬获取薪资项目大类
|
|
990
|
+
*
|
|
991
|
+
* @param headers - GetSalaryItemGroupHeaders
|
|
992
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
993
|
+
* @returns GetSalaryItemGroupResponse
|
|
994
|
+
*/
|
|
995
|
+
async getSalaryItemGroupWithOptions(headers: GetSalaryItemGroupHeaders, runtime: $Util.RuntimeOptions): Promise<GetSalaryItemGroupResponse> {
|
|
996
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
997
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
998
|
+
realHeaders = headers.commonHeaders;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
1002
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1006
|
+
headers: realHeaders,
|
|
1007
|
+
});
|
|
1008
|
+
let params = new $OpenApi.Params({
|
|
1009
|
+
action: "GetSalaryItemGroup",
|
|
1010
|
+
version: "salary_1.0",
|
|
1011
|
+
protocol: "HTTP",
|
|
1012
|
+
pathname: `/v1.0/salary/itemGroup`,
|
|
1013
|
+
method: "GET",
|
|
1014
|
+
authType: "AK",
|
|
1015
|
+
style: "ROA",
|
|
1016
|
+
reqBodyType: "none",
|
|
1017
|
+
bodyType: "json",
|
|
1018
|
+
});
|
|
1019
|
+
return $tea.cast<GetSalaryItemGroupResponse>(await this.execute(params, req, runtime), new GetSalaryItemGroupResponse({}));
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* 小微薪酬获取薪资项目大类
|
|
1024
|
+
* @returns GetSalaryItemGroupResponse
|
|
1025
|
+
*/
|
|
1026
|
+
async getSalaryItemGroup(): Promise<GetSalaryItemGroupResponse> {
|
|
1027
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1028
|
+
let headers = new GetSalaryItemGroupHeaders({ });
|
|
1029
|
+
return await this.getSalaryItemGroupWithOptions(headers, runtime);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* 小微薪酬获取薪资记录数据
|
|
1034
|
+
*
|
|
1035
|
+
* @param request - ListSalaryCalculationRequest
|
|
1036
|
+
* @param headers - ListSalaryCalculationHeaders
|
|
1037
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1038
|
+
* @returns ListSalaryCalculationResponse
|
|
1039
|
+
*/
|
|
1040
|
+
async listSalaryCalculationWithOptions(request: ListSalaryCalculationRequest, headers: ListSalaryCalculationHeaders, runtime: $Util.RuntimeOptions): Promise<ListSalaryCalculationResponse> {
|
|
1041
|
+
Util.validateModel(request);
|
|
1042
|
+
let body : {[key: string ]: any} = { };
|
|
1043
|
+
if (!Util.isUnset(request.date)) {
|
|
1044
|
+
body["date"] = request.date;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
if (!Util.isUnset(request.pageIndex)) {
|
|
1048
|
+
body["pageIndex"] = request.pageIndex;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
1052
|
+
body["pageSize"] = request.pageSize;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
if (!Util.isUnset(request.salaryGroupId)) {
|
|
1056
|
+
body["salaryGroupId"] = request.salaryGroupId;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
1060
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
1061
|
+
realHeaders = headers.commonHeaders;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
1065
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1069
|
+
headers: realHeaders,
|
|
1070
|
+
body: OpenApiUtil.parseToMap(body),
|
|
1071
|
+
});
|
|
1072
|
+
let params = new $OpenApi.Params({
|
|
1073
|
+
action: "ListSalaryCalculation",
|
|
1074
|
+
version: "salary_1.0",
|
|
1075
|
+
protocol: "HTTP",
|
|
1076
|
+
pathname: `/v1.0/salary/calculation`,
|
|
1077
|
+
method: "POST",
|
|
1078
|
+
authType: "AK",
|
|
1079
|
+
style: "ROA",
|
|
1080
|
+
reqBodyType: "none",
|
|
1081
|
+
bodyType: "json",
|
|
1082
|
+
});
|
|
1083
|
+
return $tea.cast<ListSalaryCalculationResponse>(await this.execute(params, req, runtime), new ListSalaryCalculationResponse({}));
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* 小微薪酬获取薪资记录数据
|
|
1088
|
+
*
|
|
1089
|
+
* @param request - ListSalaryCalculationRequest
|
|
1090
|
+
* @returns ListSalaryCalculationResponse
|
|
1091
|
+
*/
|
|
1092
|
+
async listSalaryCalculation(request: ListSalaryCalculationRequest): Promise<ListSalaryCalculationResponse> {
|
|
1093
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1094
|
+
let headers = new ListSalaryCalculationHeaders({ });
|
|
1095
|
+
return await this.listSalaryCalculationWithOptions(request, headers, runtime);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* 小微薪酬获取薪资记录写入
|
|
1100
|
+
*
|
|
1101
|
+
* @param request - WriteSalaryCalculationRequest
|
|
1102
|
+
* @param headers - WriteSalaryCalculationHeaders
|
|
1103
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1104
|
+
* @returns WriteSalaryCalculationResponse
|
|
1105
|
+
*/
|
|
1106
|
+
async writeSalaryCalculationWithOptions(request: WriteSalaryCalculationRequest, headers: WriteSalaryCalculationHeaders, runtime: $Util.RuntimeOptions): Promise<WriteSalaryCalculationResponse> {
|
|
1107
|
+
Util.validateModel(request);
|
|
1108
|
+
let body : {[key: string ]: any} = { };
|
|
1109
|
+
if (!Util.isUnset(request.date)) {
|
|
1110
|
+
body["date"] = request.date;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
if (!Util.isUnset(request.items)) {
|
|
1114
|
+
body["items"] = request.items;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
1118
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
1119
|
+
realHeaders = headers.commonHeaders;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
1123
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1127
|
+
headers: realHeaders,
|
|
1128
|
+
body: OpenApiUtil.parseToMap(body),
|
|
1129
|
+
});
|
|
1130
|
+
let params = new $OpenApi.Params({
|
|
1131
|
+
action: "WriteSalaryCalculation",
|
|
1132
|
+
version: "salary_1.0",
|
|
1133
|
+
protocol: "HTTP",
|
|
1134
|
+
pathname: `/v1.0/salary/calculation/write`,
|
|
1135
|
+
method: "POST",
|
|
1136
|
+
authType: "AK",
|
|
1137
|
+
style: "ROA",
|
|
1138
|
+
reqBodyType: "none",
|
|
1139
|
+
bodyType: "json",
|
|
1140
|
+
});
|
|
1141
|
+
return $tea.cast<WriteSalaryCalculationResponse>(await this.execute(params, req, runtime), new WriteSalaryCalculationResponse({}));
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* 小微薪酬获取薪资记录写入
|
|
1146
|
+
*
|
|
1147
|
+
* @param request - WriteSalaryCalculationRequest
|
|
1148
|
+
* @returns WriteSalaryCalculationResponse
|
|
1149
|
+
*/
|
|
1150
|
+
async writeSalaryCalculation(request: WriteSalaryCalculationRequest): Promise<WriteSalaryCalculationResponse> {
|
|
1151
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1152
|
+
let headers = new WriteSalaryCalculationHeaders({ });
|
|
1153
|
+
return await this.writeSalaryCalculationWithOptions(request, headers, runtime);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
}
|