@alicloud/aliding20230426 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +56 -0
- package/dist/client.js +104 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +132 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2339,6 +2339,7 @@ export class CreateDeliveryPlanRequest extends $tea.Model {
|
|
|
2339
2339
|
endTime?: number;
|
|
2340
2340
|
resId?: string;
|
|
2341
2341
|
startTime?: number;
|
|
2342
|
+
tenantContext?: CreateDeliveryPlanRequestTenantContext;
|
|
2342
2343
|
userIdList?: string[];
|
|
2343
2344
|
static names(): { [key: string]: string } {
|
|
2344
2345
|
return {
|
|
@@ -2346,6 +2347,7 @@ export class CreateDeliveryPlanRequest extends $tea.Model {
|
|
|
2346
2347
|
endTime: 'EndTime',
|
|
2347
2348
|
resId: 'ResId',
|
|
2348
2349
|
startTime: 'StartTime',
|
|
2350
|
+
tenantContext: 'TenantContext',
|
|
2349
2351
|
userIdList: 'UserIdList',
|
|
2350
2352
|
};
|
|
2351
2353
|
}
|
|
@@ -2356,6 +2358,7 @@ export class CreateDeliveryPlanRequest extends $tea.Model {
|
|
|
2356
2358
|
endTime: 'number',
|
|
2357
2359
|
resId: 'string',
|
|
2358
2360
|
startTime: 'number',
|
|
2361
|
+
tenantContext: CreateDeliveryPlanRequestTenantContext,
|
|
2359
2362
|
userIdList: { 'type': 'array', 'itemType': 'string' },
|
|
2360
2363
|
};
|
|
2361
2364
|
}
|
|
@@ -2370,6 +2373,7 @@ export class CreateDeliveryPlanShrinkRequest extends $tea.Model {
|
|
|
2370
2373
|
endTime?: number;
|
|
2371
2374
|
resId?: string;
|
|
2372
2375
|
startTime?: number;
|
|
2376
|
+
tenantContextShrink?: string;
|
|
2373
2377
|
userIdListShrink?: string;
|
|
2374
2378
|
static names(): { [key: string]: string } {
|
|
2375
2379
|
return {
|
|
@@ -2377,6 +2381,7 @@ export class CreateDeliveryPlanShrinkRequest extends $tea.Model {
|
|
|
2377
2381
|
endTime: 'EndTime',
|
|
2378
2382
|
resId: 'ResId',
|
|
2379
2383
|
startTime: 'StartTime',
|
|
2384
|
+
tenantContextShrink: 'TenantContext',
|
|
2380
2385
|
userIdListShrink: 'UserIdList',
|
|
2381
2386
|
};
|
|
2382
2387
|
}
|
|
@@ -2387,6 +2392,7 @@ export class CreateDeliveryPlanShrinkRequest extends $tea.Model {
|
|
|
2387
2392
|
endTime: 'number',
|
|
2388
2393
|
resId: 'string',
|
|
2389
2394
|
startTime: 'number',
|
|
2395
|
+
tenantContextShrink: 'string',
|
|
2390
2396
|
userIdListShrink: 'string',
|
|
2391
2397
|
};
|
|
2392
2398
|
}
|
|
@@ -17984,11 +17990,13 @@ export class SendBannerRequest extends $tea.Model {
|
|
|
17984
17990
|
content?: { [key: string]: any };
|
|
17985
17991
|
endTime?: number;
|
|
17986
17992
|
startTime?: number;
|
|
17993
|
+
tenantContext?: SendBannerRequestTenantContext;
|
|
17987
17994
|
static names(): { [key: string]: string } {
|
|
17988
17995
|
return {
|
|
17989
17996
|
content: 'Content',
|
|
17990
17997
|
endTime: 'EndTime',
|
|
17991
17998
|
startTime: 'StartTime',
|
|
17999
|
+
tenantContext: 'TenantContext',
|
|
17992
18000
|
};
|
|
17993
18001
|
}
|
|
17994
18002
|
|
|
@@ -17997,6 +18005,7 @@ export class SendBannerRequest extends $tea.Model {
|
|
|
17997
18005
|
content: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
17998
18006
|
endTime: 'number',
|
|
17999
18007
|
startTime: 'number',
|
|
18008
|
+
tenantContext: SendBannerRequestTenantContext,
|
|
18000
18009
|
};
|
|
18001
18010
|
}
|
|
18002
18011
|
|
|
@@ -18009,11 +18018,13 @@ export class SendBannerShrinkRequest extends $tea.Model {
|
|
|
18009
18018
|
contentShrink?: string;
|
|
18010
18019
|
endTime?: number;
|
|
18011
18020
|
startTime?: number;
|
|
18021
|
+
tenantContextShrink?: string;
|
|
18012
18022
|
static names(): { [key: string]: string } {
|
|
18013
18023
|
return {
|
|
18014
18024
|
contentShrink: 'Content',
|
|
18015
18025
|
endTime: 'EndTime',
|
|
18016
18026
|
startTime: 'StartTime',
|
|
18027
|
+
tenantContextShrink: 'TenantContext',
|
|
18017
18028
|
};
|
|
18018
18029
|
}
|
|
18019
18030
|
|
|
@@ -18022,6 +18033,7 @@ export class SendBannerShrinkRequest extends $tea.Model {
|
|
|
18022
18033
|
contentShrink: 'string',
|
|
18023
18034
|
endTime: 'number',
|
|
18024
18035
|
startTime: 'number',
|
|
18036
|
+
tenantContextShrink: 'string',
|
|
18025
18037
|
};
|
|
18026
18038
|
}
|
|
18027
18039
|
|
|
@@ -18134,11 +18146,13 @@ export class SendPopupRequest extends $tea.Model {
|
|
|
18134
18146
|
content?: { [key: string]: any };
|
|
18135
18147
|
endTime?: number;
|
|
18136
18148
|
startTime?: number;
|
|
18149
|
+
tenantContext?: SendPopupRequestTenantContext;
|
|
18137
18150
|
static names(): { [key: string]: string } {
|
|
18138
18151
|
return {
|
|
18139
18152
|
content: 'Content',
|
|
18140
18153
|
endTime: 'EndTime',
|
|
18141
18154
|
startTime: 'StartTime',
|
|
18155
|
+
tenantContext: 'TenantContext',
|
|
18142
18156
|
};
|
|
18143
18157
|
}
|
|
18144
18158
|
|
|
@@ -18147,6 +18161,7 @@ export class SendPopupRequest extends $tea.Model {
|
|
|
18147
18161
|
content: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
18148
18162
|
endTime: 'number',
|
|
18149
18163
|
startTime: 'number',
|
|
18164
|
+
tenantContext: SendPopupRequestTenantContext,
|
|
18150
18165
|
};
|
|
18151
18166
|
}
|
|
18152
18167
|
|
|
@@ -18159,11 +18174,13 @@ export class SendPopupShrinkRequest extends $tea.Model {
|
|
|
18159
18174
|
contentShrink?: string;
|
|
18160
18175
|
endTime?: number;
|
|
18161
18176
|
startTime?: number;
|
|
18177
|
+
tenantContextShrink?: string;
|
|
18162
18178
|
static names(): { [key: string]: string } {
|
|
18163
18179
|
return {
|
|
18164
18180
|
contentShrink: 'Content',
|
|
18165
18181
|
endTime: 'EndTime',
|
|
18166
18182
|
startTime: 'StartTime',
|
|
18183
|
+
tenantContextShrink: 'TenantContext',
|
|
18167
18184
|
};
|
|
18168
18185
|
}
|
|
18169
18186
|
|
|
@@ -18172,6 +18189,7 @@ export class SendPopupShrinkRequest extends $tea.Model {
|
|
|
18172
18189
|
contentShrink: 'string',
|
|
18173
18190
|
endTime: 'number',
|
|
18174
18191
|
startTime: 'number',
|
|
18192
|
+
tenantContextShrink: 'string',
|
|
18175
18193
|
};
|
|
18176
18194
|
}
|
|
18177
18195
|
|
|
@@ -18284,11 +18302,13 @@ export class SendSearchShadeRequest extends $tea.Model {
|
|
|
18284
18302
|
content?: { [key: string]: any };
|
|
18285
18303
|
endTime?: number;
|
|
18286
18304
|
startTime?: number;
|
|
18305
|
+
tenantContext?: SendSearchShadeRequestTenantContext;
|
|
18287
18306
|
static names(): { [key: string]: string } {
|
|
18288
18307
|
return {
|
|
18289
18308
|
content: 'Content',
|
|
18290
18309
|
endTime: 'EndTime',
|
|
18291
18310
|
startTime: 'StartTime',
|
|
18311
|
+
tenantContext: 'TenantContext',
|
|
18292
18312
|
};
|
|
18293
18313
|
}
|
|
18294
18314
|
|
|
@@ -18297,6 +18317,7 @@ export class SendSearchShadeRequest extends $tea.Model {
|
|
|
18297
18317
|
content: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
18298
18318
|
endTime: 'number',
|
|
18299
18319
|
startTime: 'number',
|
|
18320
|
+
tenantContext: SendSearchShadeRequestTenantContext,
|
|
18300
18321
|
};
|
|
18301
18322
|
}
|
|
18302
18323
|
|
|
@@ -18309,11 +18330,13 @@ export class SendSearchShadeShrinkRequest extends $tea.Model {
|
|
|
18309
18330
|
contentShrink?: string;
|
|
18310
18331
|
endTime?: number;
|
|
18311
18332
|
startTime?: number;
|
|
18333
|
+
tenantContextShrink?: string;
|
|
18312
18334
|
static names(): { [key: string]: string } {
|
|
18313
18335
|
return {
|
|
18314
18336
|
contentShrink: 'Content',
|
|
18315
18337
|
endTime: 'EndTime',
|
|
18316
18338
|
startTime: 'StartTime',
|
|
18339
|
+
tenantContextShrink: 'TenantContext',
|
|
18317
18340
|
};
|
|
18318
18341
|
}
|
|
18319
18342
|
|
|
@@ -18322,6 +18345,7 @@ export class SendSearchShadeShrinkRequest extends $tea.Model {
|
|
|
18322
18345
|
contentShrink: 'string',
|
|
18323
18346
|
endTime: 'number',
|
|
18324
18347
|
startTime: 'number',
|
|
18348
|
+
tenantContextShrink: 'string',
|
|
18325
18349
|
};
|
|
18326
18350
|
}
|
|
18327
18351
|
|
|
@@ -23177,6 +23201,25 @@ export class CreateDeliveryPlanHeadersAccountContext extends $tea.Model {
|
|
|
23177
23201
|
}
|
|
23178
23202
|
}
|
|
23179
23203
|
|
|
23204
|
+
export class CreateDeliveryPlanRequestTenantContext extends $tea.Model {
|
|
23205
|
+
tenantId?: string;
|
|
23206
|
+
static names(): { [key: string]: string } {
|
|
23207
|
+
return {
|
|
23208
|
+
tenantId: 'tenantId',
|
|
23209
|
+
};
|
|
23210
|
+
}
|
|
23211
|
+
|
|
23212
|
+
static types(): { [key: string]: any } {
|
|
23213
|
+
return {
|
|
23214
|
+
tenantId: 'string',
|
|
23215
|
+
};
|
|
23216
|
+
}
|
|
23217
|
+
|
|
23218
|
+
constructor(map?: { [key: string]: any }) {
|
|
23219
|
+
super(map);
|
|
23220
|
+
}
|
|
23221
|
+
}
|
|
23222
|
+
|
|
23180
23223
|
export class CreateEventHeadersAccountContext extends $tea.Model {
|
|
23181
23224
|
accountId?: string;
|
|
23182
23225
|
static names(): { [key: string]: string } {
|
|
@@ -33291,6 +33334,25 @@ export class SendBannerHeadersAccountContext extends $tea.Model {
|
|
|
33291
33334
|
}
|
|
33292
33335
|
}
|
|
33293
33336
|
|
|
33337
|
+
export class SendBannerRequestTenantContext extends $tea.Model {
|
|
33338
|
+
tenantId?: string;
|
|
33339
|
+
static names(): { [key: string]: string } {
|
|
33340
|
+
return {
|
|
33341
|
+
tenantId: 'tenantId',
|
|
33342
|
+
};
|
|
33343
|
+
}
|
|
33344
|
+
|
|
33345
|
+
static types(): { [key: string]: any } {
|
|
33346
|
+
return {
|
|
33347
|
+
tenantId: 'string',
|
|
33348
|
+
};
|
|
33349
|
+
}
|
|
33350
|
+
|
|
33351
|
+
constructor(map?: { [key: string]: any }) {
|
|
33352
|
+
super(map);
|
|
33353
|
+
}
|
|
33354
|
+
}
|
|
33355
|
+
|
|
33294
33356
|
export class SendPopupHeadersAccountContext extends $tea.Model {
|
|
33295
33357
|
accountId?: string;
|
|
33296
33358
|
static names(): { [key: string]: string } {
|
|
@@ -33310,6 +33372,25 @@ export class SendPopupHeadersAccountContext extends $tea.Model {
|
|
|
33310
33372
|
}
|
|
33311
33373
|
}
|
|
33312
33374
|
|
|
33375
|
+
export class SendPopupRequestTenantContext extends $tea.Model {
|
|
33376
|
+
tenantId?: string;
|
|
33377
|
+
static names(): { [key: string]: string } {
|
|
33378
|
+
return {
|
|
33379
|
+
tenantId: 'tenantId',
|
|
33380
|
+
};
|
|
33381
|
+
}
|
|
33382
|
+
|
|
33383
|
+
static types(): { [key: string]: any } {
|
|
33384
|
+
return {
|
|
33385
|
+
tenantId: 'string',
|
|
33386
|
+
};
|
|
33387
|
+
}
|
|
33388
|
+
|
|
33389
|
+
constructor(map?: { [key: string]: any }) {
|
|
33390
|
+
super(map);
|
|
33391
|
+
}
|
|
33392
|
+
}
|
|
33393
|
+
|
|
33313
33394
|
export class SendSearchShadeHeadersAccountContext extends $tea.Model {
|
|
33314
33395
|
accountId?: string;
|
|
33315
33396
|
static names(): { [key: string]: string } {
|
|
@@ -33329,6 +33410,25 @@ export class SendSearchShadeHeadersAccountContext extends $tea.Model {
|
|
|
33329
33410
|
}
|
|
33330
33411
|
}
|
|
33331
33412
|
|
|
33413
|
+
export class SendSearchShadeRequestTenantContext extends $tea.Model {
|
|
33414
|
+
tenantId?: string;
|
|
33415
|
+
static names(): { [key: string]: string } {
|
|
33416
|
+
return {
|
|
33417
|
+
tenantId: 'tenantId',
|
|
33418
|
+
};
|
|
33419
|
+
}
|
|
33420
|
+
|
|
33421
|
+
static types(): { [key: string]: any } {
|
|
33422
|
+
return {
|
|
33423
|
+
tenantId: 'string',
|
|
33424
|
+
};
|
|
33425
|
+
}
|
|
33426
|
+
|
|
33427
|
+
constructor(map?: { [key: string]: any }) {
|
|
33428
|
+
super(map);
|
|
33429
|
+
}
|
|
33430
|
+
}
|
|
33431
|
+
|
|
33332
33432
|
export class SetColumnsVisibilityHeadersAccountContext extends $tea.Model {
|
|
33333
33433
|
accountId?: string;
|
|
33334
33434
|
static names(): { [key: string]: string } {
|
|
@@ -35417,6 +35517,10 @@ export default class Client extends OpenApi {
|
|
|
35417
35517
|
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
35418
35518
|
}
|
|
35419
35519
|
|
|
35520
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
35521
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
35522
|
+
}
|
|
35523
|
+
|
|
35420
35524
|
if (!Util.isUnset(tmpReq.userIdList)) {
|
|
35421
35525
|
request.userIdListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userIdList, "UserIdList", "json");
|
|
35422
35526
|
}
|
|
@@ -35438,6 +35542,10 @@ export default class Client extends OpenApi {
|
|
|
35438
35542
|
body["StartTime"] = request.startTime;
|
|
35439
35543
|
}
|
|
35440
35544
|
|
|
35545
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
35546
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
35547
|
+
}
|
|
35548
|
+
|
|
35441
35549
|
if (!Util.isUnset(request.userIdListShrink)) {
|
|
35442
35550
|
body["UserIdList"] = request.userIdListShrink;
|
|
35443
35551
|
}
|
|
@@ -42503,6 +42611,10 @@ export default class Client extends OpenApi {
|
|
|
42503
42611
|
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
42504
42612
|
}
|
|
42505
42613
|
|
|
42614
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
42615
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
42616
|
+
}
|
|
42617
|
+
|
|
42506
42618
|
let body : {[key: string ]: any} = { };
|
|
42507
42619
|
if (!Util.isUnset(request.contentShrink)) {
|
|
42508
42620
|
body["Content"] = request.contentShrink;
|
|
@@ -42516,6 +42628,10 @@ export default class Client extends OpenApi {
|
|
|
42516
42628
|
body["StartTime"] = request.startTime;
|
|
42517
42629
|
}
|
|
42518
42630
|
|
|
42631
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
42632
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
42633
|
+
}
|
|
42634
|
+
|
|
42519
42635
|
let realHeaders : {[key: string ]: string} = { };
|
|
42520
42636
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
42521
42637
|
realHeaders = headers.commonHeaders;
|
|
@@ -42563,6 +42679,10 @@ export default class Client extends OpenApi {
|
|
|
42563
42679
|
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
42564
42680
|
}
|
|
42565
42681
|
|
|
42682
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
42683
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
42684
|
+
}
|
|
42685
|
+
|
|
42566
42686
|
let body : {[key: string ]: any} = { };
|
|
42567
42687
|
if (!Util.isUnset(request.contentShrink)) {
|
|
42568
42688
|
body["Content"] = request.contentShrink;
|
|
@@ -42576,6 +42696,10 @@ export default class Client extends OpenApi {
|
|
|
42576
42696
|
body["StartTime"] = request.startTime;
|
|
42577
42697
|
}
|
|
42578
42698
|
|
|
42699
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
42700
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
42701
|
+
}
|
|
42702
|
+
|
|
42579
42703
|
let realHeaders : {[key: string ]: string} = { };
|
|
42580
42704
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
42581
42705
|
realHeaders = headers.commonHeaders;
|
|
@@ -42623,6 +42747,10 @@ export default class Client extends OpenApi {
|
|
|
42623
42747
|
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
42624
42748
|
}
|
|
42625
42749
|
|
|
42750
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
42751
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
42752
|
+
}
|
|
42753
|
+
|
|
42626
42754
|
let body : {[key: string ]: any} = { };
|
|
42627
42755
|
if (!Util.isUnset(request.contentShrink)) {
|
|
42628
42756
|
body["Content"] = request.contentShrink;
|
|
@@ -42636,6 +42764,10 @@ export default class Client extends OpenApi {
|
|
|
42636
42764
|
body["StartTime"] = request.startTime;
|
|
42637
42765
|
}
|
|
42638
42766
|
|
|
42767
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
42768
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
42769
|
+
}
|
|
42770
|
+
|
|
42639
42771
|
let realHeaders : {[key: string ]: string} = { };
|
|
42640
42772
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
42641
42773
|
realHeaders = headers.commonHeaders;
|