@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
|
@@ -7872,6 +7872,102 @@ export class ServiceWindowMessageBatchPushResponse extends $tea.Model {
|
|
|
7872
7872
|
}
|
|
7873
7873
|
}
|
|
7874
7874
|
|
|
7875
|
+
export class SetUserVersionToFreeHeaders extends $tea.Model {
|
|
7876
|
+
commonHeaders?: { [key: string]: string };
|
|
7877
|
+
xAcsDingtalkAccessToken?: string;
|
|
7878
|
+
static names(): { [key: string]: string } {
|
|
7879
|
+
return {
|
|
7880
|
+
commonHeaders: 'commonHeaders',
|
|
7881
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
7882
|
+
};
|
|
7883
|
+
}
|
|
7884
|
+
|
|
7885
|
+
static types(): { [key: string]: any } {
|
|
7886
|
+
return {
|
|
7887
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7888
|
+
xAcsDingtalkAccessToken: 'string',
|
|
7889
|
+
};
|
|
7890
|
+
}
|
|
7891
|
+
|
|
7892
|
+
constructor(map?: { [key: string]: any }) {
|
|
7893
|
+
super(map);
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
|
|
7897
|
+
export class SetUserVersionToFreeRequest extends $tea.Model {
|
|
7898
|
+
/**
|
|
7899
|
+
* @example
|
|
7900
|
+
* 012829186736-1115677667
|
|
7901
|
+
*/
|
|
7902
|
+
operatorUserId?: string;
|
|
7903
|
+
/**
|
|
7904
|
+
* @example
|
|
7905
|
+
* other
|
|
7906
|
+
*/
|
|
7907
|
+
version?: string;
|
|
7908
|
+
static names(): { [key: string]: string } {
|
|
7909
|
+
return {
|
|
7910
|
+
operatorUserId: 'operatorUserId',
|
|
7911
|
+
version: 'version',
|
|
7912
|
+
};
|
|
7913
|
+
}
|
|
7914
|
+
|
|
7915
|
+
static types(): { [key: string]: any } {
|
|
7916
|
+
return {
|
|
7917
|
+
operatorUserId: 'string',
|
|
7918
|
+
version: 'string',
|
|
7919
|
+
};
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
constructor(map?: { [key: string]: any }) {
|
|
7923
|
+
super(map);
|
|
7924
|
+
}
|
|
7925
|
+
}
|
|
7926
|
+
|
|
7927
|
+
export class SetUserVersionToFreeResponseBody extends $tea.Model {
|
|
7928
|
+
result?: boolean;
|
|
7929
|
+
static names(): { [key: string]: string } {
|
|
7930
|
+
return {
|
|
7931
|
+
result: 'result',
|
|
7932
|
+
};
|
|
7933
|
+
}
|
|
7934
|
+
|
|
7935
|
+
static types(): { [key: string]: any } {
|
|
7936
|
+
return {
|
|
7937
|
+
result: 'boolean',
|
|
7938
|
+
};
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7941
|
+
constructor(map?: { [key: string]: any }) {
|
|
7942
|
+
super(map);
|
|
7943
|
+
}
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
export class SetUserVersionToFreeResponse extends $tea.Model {
|
|
7947
|
+
headers?: { [key: string]: string };
|
|
7948
|
+
statusCode?: number;
|
|
7949
|
+
body?: SetUserVersionToFreeResponseBody;
|
|
7950
|
+
static names(): { [key: string]: string } {
|
|
7951
|
+
return {
|
|
7952
|
+
headers: 'headers',
|
|
7953
|
+
statusCode: 'statusCode',
|
|
7954
|
+
body: 'body',
|
|
7955
|
+
};
|
|
7956
|
+
}
|
|
7957
|
+
|
|
7958
|
+
static types(): { [key: string]: any } {
|
|
7959
|
+
return {
|
|
7960
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7961
|
+
statusCode: 'number',
|
|
7962
|
+
body: SetUserVersionToFreeResponseBody,
|
|
7963
|
+
};
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
constructor(map?: { [key: string]: any }) {
|
|
7967
|
+
super(map);
|
|
7968
|
+
}
|
|
7969
|
+
}
|
|
7970
|
+
|
|
7875
7971
|
export class TwoPhaseCommitInventoryHeaders extends $tea.Model {
|
|
7876
7972
|
commonHeaders?: { [key: string]: string };
|
|
7877
7973
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -19807,15 +19903,18 @@ export class QueryCustomerBizTypeResponseBodyResult extends $tea.Model {
|
|
|
19807
19903
|
|
|
19808
19904
|
export class QueryGlobalInfoResponseBodyResult extends $tea.Model {
|
|
19809
19905
|
oemEnable?: boolean;
|
|
19906
|
+
t2t3Coexist?: boolean;
|
|
19810
19907
|
static names(): { [key: string]: string } {
|
|
19811
19908
|
return {
|
|
19812
19909
|
oemEnable: 'oemEnable',
|
|
19910
|
+
t2t3Coexist: 't2t3Coexist',
|
|
19813
19911
|
};
|
|
19814
19912
|
}
|
|
19815
19913
|
|
|
19816
19914
|
static types(): { [key: string]: any } {
|
|
19817
19915
|
return {
|
|
19818
19916
|
oemEnable: 'boolean',
|
|
19917
|
+
t2t3Coexist: 'boolean',
|
|
19819
19918
|
};
|
|
19820
19919
|
}
|
|
19821
19920
|
|
|
@@ -25655,6 +25754,64 @@ export default class Client extends OpenApi {
|
|
|
25655
25754
|
return await this.serviceWindowMessageBatchPushWithOptions(request, headers, runtime);
|
|
25656
25755
|
}
|
|
25657
25756
|
|
|
25757
|
+
/**
|
|
25758
|
+
* 设置用户版本为免费版
|
|
25759
|
+
*
|
|
25760
|
+
* @param request - SetUserVersionToFreeRequest
|
|
25761
|
+
* @param headers - SetUserVersionToFreeHeaders
|
|
25762
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
25763
|
+
* @returns SetUserVersionToFreeResponse
|
|
25764
|
+
*/
|
|
25765
|
+
async setUserVersionToFreeWithOptions(request: SetUserVersionToFreeRequest, headers: SetUserVersionToFreeHeaders, runtime: $Util.RuntimeOptions): Promise<SetUserVersionToFreeResponse> {
|
|
25766
|
+
Util.validateModel(request);
|
|
25767
|
+
let body : {[key: string ]: any} = { };
|
|
25768
|
+
if (!Util.isUnset(request.operatorUserId)) {
|
|
25769
|
+
body["operatorUserId"] = request.operatorUserId;
|
|
25770
|
+
}
|
|
25771
|
+
|
|
25772
|
+
if (!Util.isUnset(request.version)) {
|
|
25773
|
+
body["version"] = request.version;
|
|
25774
|
+
}
|
|
25775
|
+
|
|
25776
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
25777
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
25778
|
+
realHeaders = headers.commonHeaders;
|
|
25779
|
+
}
|
|
25780
|
+
|
|
25781
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
25782
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
25783
|
+
}
|
|
25784
|
+
|
|
25785
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25786
|
+
headers: realHeaders,
|
|
25787
|
+
body: OpenApiUtil.parseToMap(body),
|
|
25788
|
+
});
|
|
25789
|
+
let params = new $OpenApi.Params({
|
|
25790
|
+
action: "SetUserVersionToFree",
|
|
25791
|
+
version: "crm_1.0",
|
|
25792
|
+
protocol: "HTTP",
|
|
25793
|
+
pathname: `/v1.0/crm/versions/set`,
|
|
25794
|
+
method: "POST",
|
|
25795
|
+
authType: "AK",
|
|
25796
|
+
style: "ROA",
|
|
25797
|
+
reqBodyType: "none",
|
|
25798
|
+
bodyType: "json",
|
|
25799
|
+
});
|
|
25800
|
+
return $tea.cast<SetUserVersionToFreeResponse>(await this.execute(params, req, runtime), new SetUserVersionToFreeResponse({}));
|
|
25801
|
+
}
|
|
25802
|
+
|
|
25803
|
+
/**
|
|
25804
|
+
* 设置用户版本为免费版
|
|
25805
|
+
*
|
|
25806
|
+
* @param request - SetUserVersionToFreeRequest
|
|
25807
|
+
* @returns SetUserVersionToFreeResponse
|
|
25808
|
+
*/
|
|
25809
|
+
async setUserVersionToFree(request: SetUserVersionToFreeRequest): Promise<SetUserVersionToFreeResponse> {
|
|
25810
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25811
|
+
let headers = new SetUserVersionToFreeHeaders({ });
|
|
25812
|
+
return await this.setUserVersionToFreeWithOptions(request, headers, runtime);
|
|
25813
|
+
}
|
|
25814
|
+
|
|
25658
25815
|
/**
|
|
25659
25816
|
* 二阶段提交权益库存结果
|
|
25660
25817
|
*
|
|
@@ -300,6 +300,222 @@ export class CreateScreenResponse extends $tea.Model {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
+
export class DataMarketIsvServiceHeaders extends $tea.Model {
|
|
304
|
+
commonHeaders?: { [key: string]: string };
|
|
305
|
+
xAcsDingtalkAccessToken?: string;
|
|
306
|
+
static names(): { [key: string]: string } {
|
|
307
|
+
return {
|
|
308
|
+
commonHeaders: 'commonHeaders',
|
|
309
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
static types(): { [key: string]: any } {
|
|
314
|
+
return {
|
|
315
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
316
|
+
xAcsDingtalkAccessToken: 'string',
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
constructor(map?: { [key: string]: any }) {
|
|
321
|
+
super(map);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export class DataMarketIsvServiceRequest extends $tea.Model {
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* This parameter is required.
|
|
329
|
+
*/
|
|
330
|
+
accountId?: string;
|
|
331
|
+
/**
|
|
332
|
+
* @remarks
|
|
333
|
+
* This parameter is required.
|
|
334
|
+
*/
|
|
335
|
+
apiId?: string;
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* This parameter is required.
|
|
339
|
+
*/
|
|
340
|
+
args?: string;
|
|
341
|
+
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* This parameter is required.
|
|
344
|
+
*/
|
|
345
|
+
userId?: string;
|
|
346
|
+
static names(): { [key: string]: string } {
|
|
347
|
+
return {
|
|
348
|
+
accountId: 'accountId',
|
|
349
|
+
apiId: 'apiId',
|
|
350
|
+
args: 'args',
|
|
351
|
+
userId: 'userId',
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
static types(): { [key: string]: any } {
|
|
356
|
+
return {
|
|
357
|
+
accountId: 'string',
|
|
358
|
+
apiId: 'string',
|
|
359
|
+
args: 'string',
|
|
360
|
+
userId: 'string',
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
constructor(map?: { [key: string]: any }) {
|
|
365
|
+
super(map);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export class DataMarketIsvServiceResponseBody extends $tea.Model {
|
|
370
|
+
code?: string;
|
|
371
|
+
data?: string;
|
|
372
|
+
msg?: string;
|
|
373
|
+
static names(): { [key: string]: string } {
|
|
374
|
+
return {
|
|
375
|
+
code: 'code',
|
|
376
|
+
data: 'data',
|
|
377
|
+
msg: 'msg',
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
static types(): { [key: string]: any } {
|
|
382
|
+
return {
|
|
383
|
+
code: 'string',
|
|
384
|
+
data: 'string',
|
|
385
|
+
msg: 'string',
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
constructor(map?: { [key: string]: any }) {
|
|
390
|
+
super(map);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export class DataMarketIsvServiceResponse extends $tea.Model {
|
|
395
|
+
headers?: { [key: string]: string };
|
|
396
|
+
statusCode?: number;
|
|
397
|
+
body?: DataMarketIsvServiceResponseBody;
|
|
398
|
+
static names(): { [key: string]: string } {
|
|
399
|
+
return {
|
|
400
|
+
headers: 'headers',
|
|
401
|
+
statusCode: 'statusCode',
|
|
402
|
+
body: 'body',
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
static types(): { [key: string]: any } {
|
|
407
|
+
return {
|
|
408
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
409
|
+
statusCode: 'number',
|
|
410
|
+
body: DataMarketIsvServiceResponseBody,
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
constructor(map?: { [key: string]: any }) {
|
|
415
|
+
super(map);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export class DataMarketServiceHeaders extends $tea.Model {
|
|
420
|
+
commonHeaders?: { [key: string]: string };
|
|
421
|
+
xAcsDingtalkAccessToken?: string;
|
|
422
|
+
static names(): { [key: string]: string } {
|
|
423
|
+
return {
|
|
424
|
+
commonHeaders: 'commonHeaders',
|
|
425
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
static types(): { [key: string]: any } {
|
|
430
|
+
return {
|
|
431
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
432
|
+
xAcsDingtalkAccessToken: 'string',
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
constructor(map?: { [key: string]: any }) {
|
|
437
|
+
super(map);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export class DataMarketServiceRequest extends $tea.Model {
|
|
442
|
+
apiId?: string;
|
|
443
|
+
args?: string;
|
|
444
|
+
static names(): { [key: string]: string } {
|
|
445
|
+
return {
|
|
446
|
+
apiId: 'apiId',
|
|
447
|
+
args: 'args',
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
static types(): { [key: string]: any } {
|
|
452
|
+
return {
|
|
453
|
+
apiId: 'string',
|
|
454
|
+
args: 'string',
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
constructor(map?: { [key: string]: any }) {
|
|
459
|
+
super(map);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export class DataMarketServiceResponseBody extends $tea.Model {
|
|
464
|
+
code?: string;
|
|
465
|
+
data?: string;
|
|
466
|
+
msg?: string;
|
|
467
|
+
totalQuota?: number;
|
|
468
|
+
usedQuota?: number;
|
|
469
|
+
static names(): { [key: string]: string } {
|
|
470
|
+
return {
|
|
471
|
+
code: 'code',
|
|
472
|
+
data: 'data',
|
|
473
|
+
msg: 'msg',
|
|
474
|
+
totalQuota: 'totalQuota',
|
|
475
|
+
usedQuota: 'usedQuota',
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
static types(): { [key: string]: any } {
|
|
480
|
+
return {
|
|
481
|
+
code: 'string',
|
|
482
|
+
data: 'string',
|
|
483
|
+
msg: 'string',
|
|
484
|
+
totalQuota: 'number',
|
|
485
|
+
usedQuota: 'number',
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
constructor(map?: { [key: string]: any }) {
|
|
490
|
+
super(map);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export class DataMarketServiceResponse extends $tea.Model {
|
|
495
|
+
headers?: { [key: string]: string };
|
|
496
|
+
statusCode?: number;
|
|
497
|
+
body?: DataMarketServiceResponseBody;
|
|
498
|
+
static names(): { [key: string]: string } {
|
|
499
|
+
return {
|
|
500
|
+
headers: 'headers',
|
|
501
|
+
statusCode: 'statusCode',
|
|
502
|
+
body: 'body',
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
static types(): { [key: string]: any } {
|
|
507
|
+
return {
|
|
508
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
509
|
+
statusCode: 'number',
|
|
510
|
+
body: DataMarketServiceResponseBody,
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
constructor(map?: { [key: string]: any }) {
|
|
515
|
+
super(map);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
303
519
|
export class GetAbnormalOperationHeaders extends $tea.Model {
|
|
304
520
|
commonHeaders?: { [key: string]: string };
|
|
305
521
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -14475,6 +14691,130 @@ export default class Client extends OpenApi {
|
|
|
14475
14691
|
return await this.createScreenWithOptions(request, headers, runtime);
|
|
14476
14692
|
}
|
|
14477
14693
|
|
|
14694
|
+
/**
|
|
14695
|
+
* 数据流通中心获取数据服务
|
|
14696
|
+
*
|
|
14697
|
+
* @param request - DataMarketIsvServiceRequest
|
|
14698
|
+
* @param headers - DataMarketIsvServiceHeaders
|
|
14699
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14700
|
+
* @returns DataMarketIsvServiceResponse
|
|
14701
|
+
*/
|
|
14702
|
+
async dataMarketIsvServiceWithOptions(request: DataMarketIsvServiceRequest, headers: DataMarketIsvServiceHeaders, runtime: $Util.RuntimeOptions): Promise<DataMarketIsvServiceResponse> {
|
|
14703
|
+
Util.validateModel(request);
|
|
14704
|
+
let body : {[key: string ]: any} = { };
|
|
14705
|
+
if (!Util.isUnset(request.accountId)) {
|
|
14706
|
+
body["accountId"] = request.accountId;
|
|
14707
|
+
}
|
|
14708
|
+
|
|
14709
|
+
if (!Util.isUnset(request.apiId)) {
|
|
14710
|
+
body["apiId"] = request.apiId;
|
|
14711
|
+
}
|
|
14712
|
+
|
|
14713
|
+
if (!Util.isUnset(request.args)) {
|
|
14714
|
+
body["args"] = request.args;
|
|
14715
|
+
}
|
|
14716
|
+
|
|
14717
|
+
if (!Util.isUnset(request.userId)) {
|
|
14718
|
+
body["userId"] = request.userId;
|
|
14719
|
+
}
|
|
14720
|
+
|
|
14721
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
14722
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14723
|
+
realHeaders = headers.commonHeaders;
|
|
14724
|
+
}
|
|
14725
|
+
|
|
14726
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
14727
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
14728
|
+
}
|
|
14729
|
+
|
|
14730
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14731
|
+
headers: realHeaders,
|
|
14732
|
+
body: OpenApiUtil.parseToMap(body),
|
|
14733
|
+
});
|
|
14734
|
+
let params = new $OpenApi.Params({
|
|
14735
|
+
action: "DataMarketIsvService",
|
|
14736
|
+
version: "datacenter_1.0",
|
|
14737
|
+
protocol: "HTTP",
|
|
14738
|
+
pathname: `/v1.0/datacenter/isv/dataMarketServices/query`,
|
|
14739
|
+
method: "POST",
|
|
14740
|
+
authType: "AK",
|
|
14741
|
+
style: "ROA",
|
|
14742
|
+
reqBodyType: "none",
|
|
14743
|
+
bodyType: "json",
|
|
14744
|
+
});
|
|
14745
|
+
return $tea.cast<DataMarketIsvServiceResponse>(await this.execute(params, req, runtime), new DataMarketIsvServiceResponse({}));
|
|
14746
|
+
}
|
|
14747
|
+
|
|
14748
|
+
/**
|
|
14749
|
+
* 数据流通中心获取数据服务
|
|
14750
|
+
*
|
|
14751
|
+
* @param request - DataMarketIsvServiceRequest
|
|
14752
|
+
* @returns DataMarketIsvServiceResponse
|
|
14753
|
+
*/
|
|
14754
|
+
async dataMarketIsvService(request: DataMarketIsvServiceRequest): Promise<DataMarketIsvServiceResponse> {
|
|
14755
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14756
|
+
let headers = new DataMarketIsvServiceHeaders({ });
|
|
14757
|
+
return await this.dataMarketIsvServiceWithOptions(request, headers, runtime);
|
|
14758
|
+
}
|
|
14759
|
+
|
|
14760
|
+
/**
|
|
14761
|
+
* 数据流通中心获取数据服务
|
|
14762
|
+
*
|
|
14763
|
+
* @param request - DataMarketServiceRequest
|
|
14764
|
+
* @param headers - DataMarketServiceHeaders
|
|
14765
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14766
|
+
* @returns DataMarketServiceResponse
|
|
14767
|
+
*/
|
|
14768
|
+
async dataMarketServiceWithOptions(request: DataMarketServiceRequest, headers: DataMarketServiceHeaders, runtime: $Util.RuntimeOptions): Promise<DataMarketServiceResponse> {
|
|
14769
|
+
Util.validateModel(request);
|
|
14770
|
+
let body : {[key: string ]: any} = { };
|
|
14771
|
+
if (!Util.isUnset(request.apiId)) {
|
|
14772
|
+
body["apiId"] = request.apiId;
|
|
14773
|
+
}
|
|
14774
|
+
|
|
14775
|
+
if (!Util.isUnset(request.args)) {
|
|
14776
|
+
body["args"] = request.args;
|
|
14777
|
+
}
|
|
14778
|
+
|
|
14779
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
14780
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14781
|
+
realHeaders = headers.commonHeaders;
|
|
14782
|
+
}
|
|
14783
|
+
|
|
14784
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
14785
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
14786
|
+
}
|
|
14787
|
+
|
|
14788
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14789
|
+
headers: realHeaders,
|
|
14790
|
+
body: OpenApiUtil.parseToMap(body),
|
|
14791
|
+
});
|
|
14792
|
+
let params = new $OpenApi.Params({
|
|
14793
|
+
action: "DataMarketService",
|
|
14794
|
+
version: "datacenter_1.0",
|
|
14795
|
+
protocol: "HTTP",
|
|
14796
|
+
pathname: `/v1.0/datacenter/dataMarketServices/query`,
|
|
14797
|
+
method: "POST",
|
|
14798
|
+
authType: "AK",
|
|
14799
|
+
style: "ROA",
|
|
14800
|
+
reqBodyType: "none",
|
|
14801
|
+
bodyType: "json",
|
|
14802
|
+
});
|
|
14803
|
+
return $tea.cast<DataMarketServiceResponse>(await this.execute(params, req, runtime), new DataMarketServiceResponse({}));
|
|
14804
|
+
}
|
|
14805
|
+
|
|
14806
|
+
/**
|
|
14807
|
+
* 数据流通中心获取数据服务
|
|
14808
|
+
*
|
|
14809
|
+
* @param request - DataMarketServiceRequest
|
|
14810
|
+
* @returns DataMarketServiceResponse
|
|
14811
|
+
*/
|
|
14812
|
+
async dataMarketService(request: DataMarketServiceRequest): Promise<DataMarketServiceResponse> {
|
|
14813
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14814
|
+
let headers = new DataMarketServiceHeaders({ });
|
|
14815
|
+
return await this.dataMarketServiceWithOptions(request, headers, runtime);
|
|
14816
|
+
}
|
|
14817
|
+
|
|
14478
14818
|
/**
|
|
14479
14819
|
* 工商-经营异常
|
|
14480
14820
|
*
|
|
@@ -2104,7 +2104,6 @@ export default class Client extends OpenApi {
|
|
|
2104
2104
|
super(config);
|
|
2105
2105
|
let gatewayClient = new GatewayClient();
|
|
2106
2106
|
this._spi = gatewayClient;
|
|
2107
|
-
this._signatureAlgorithm = "v2";
|
|
2108
2107
|
this._endpointRule = "";
|
|
2109
2108
|
if (Util.empty(this._endpoint)) {
|
|
2110
2109
|
this._endpoint = "api.dingtalk.com";
|