@alicloud/aliding20230426 2.18.0 → 2.19.0

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 CHANGED
@@ -14101,6 +14101,216 @@ export declare class GetTemplateListByUserIdResponse extends $tea.Model {
14101
14101
  [key: string]: any;
14102
14102
  });
14103
14103
  }
14104
+ export declare class GetTodoTaskHeaders extends $tea.Model {
14105
+ commonHeaders?: {
14106
+ [key: string]: string;
14107
+ };
14108
+ accountContext?: GetTodoTaskHeadersAccountContext;
14109
+ static names(): {
14110
+ [key: string]: string;
14111
+ };
14112
+ static types(): {
14113
+ [key: string]: any;
14114
+ };
14115
+ constructor(map?: {
14116
+ [key: string]: any;
14117
+ });
14118
+ }
14119
+ export declare class GetTodoTaskShrinkHeaders extends $tea.Model {
14120
+ commonHeaders?: {
14121
+ [key: string]: string;
14122
+ };
14123
+ accountContextShrink?: string;
14124
+ static names(): {
14125
+ [key: string]: string;
14126
+ };
14127
+ static types(): {
14128
+ [key: string]: any;
14129
+ };
14130
+ constructor(map?: {
14131
+ [key: string]: any;
14132
+ });
14133
+ }
14134
+ export declare class GetTodoTaskRequest extends $tea.Model {
14135
+ /**
14136
+ * @remarks
14137
+ * This parameter is required.
14138
+ *
14139
+ * @example
14140
+ * OPJpwtxxxx
14141
+ */
14142
+ taskId?: string;
14143
+ tenantContext?: GetTodoTaskRequestTenantContext;
14144
+ static names(): {
14145
+ [key: string]: string;
14146
+ };
14147
+ static types(): {
14148
+ [key: string]: any;
14149
+ };
14150
+ constructor(map?: {
14151
+ [key: string]: any;
14152
+ });
14153
+ }
14154
+ export declare class GetTodoTaskShrinkRequest extends $tea.Model {
14155
+ /**
14156
+ * @remarks
14157
+ * This parameter is required.
14158
+ *
14159
+ * @example
14160
+ * OPJpwtxxxx
14161
+ */
14162
+ taskId?: string;
14163
+ tenantContextShrink?: string;
14164
+ static names(): {
14165
+ [key: string]: string;
14166
+ };
14167
+ static types(): {
14168
+ [key: string]: any;
14169
+ };
14170
+ constructor(map?: {
14171
+ [key: string]: any;
14172
+ });
14173
+ }
14174
+ export declare class GetTodoTaskResponseBody extends $tea.Model {
14175
+ /**
14176
+ * @example
14177
+ * isv_dingtalkTodo
14178
+ */
14179
+ bizTag?: string;
14180
+ /**
14181
+ * @example
14182
+ * 此参数禁止发布
14183
+ */
14184
+ cardTypeId?: string;
14185
+ /**
14186
+ * @example
14187
+ * 1617675000000
14188
+ */
14189
+ createdTime?: number;
14190
+ /**
14191
+ * @example
14192
+ * 012345
14193
+ */
14194
+ creatorId?: string;
14195
+ /**
14196
+ * @example
14197
+ * 应用可以调用该接口获取钉钉待办任务详情信息及状态。
14198
+ */
14199
+ description?: string;
14200
+ detailUrl?: GetTodoTaskResponseBodyDetailUrl;
14201
+ /**
14202
+ * @example
14203
+ * true
14204
+ */
14205
+ done?: boolean;
14206
+ /**
14207
+ * @example
14208
+ * 1617675000000
14209
+ */
14210
+ dueTime?: number;
14211
+ executorIds?: string[];
14212
+ /**
14213
+ * @example
14214
+ * 1617675000000
14215
+ */
14216
+ finishTime?: number;
14217
+ /**
14218
+ * @example
14219
+ * OPJpwtxxxx
14220
+ */
14221
+ id?: string;
14222
+ /**
14223
+ * @example
14224
+ * true
14225
+ */
14226
+ isOnlyShowExecutor?: boolean;
14227
+ /**
14228
+ * @example
14229
+ * 1617675000000
14230
+ */
14231
+ modifiedTime?: number;
14232
+ /**
14233
+ * @example
14234
+ * 012345
14235
+ */
14236
+ modifierId?: string;
14237
+ participantIds?: string[];
14238
+ /**
14239
+ * @example
14240
+ * 20
14241
+ */
14242
+ priority?: number;
14243
+ /**
14244
+ * @example
14245
+ * PUoiinWIxxx
14246
+ */
14247
+ requestId?: string;
14248
+ /**
14249
+ * @example
14250
+ * isv_dingtalkTodo
14251
+ */
14252
+ source?: string;
14253
+ /**
14254
+ * @example
14255
+ * isv_dingxxx
14256
+ */
14257
+ sourceId?: string;
14258
+ /**
14259
+ * @example
14260
+ * 1617675000000
14261
+ */
14262
+ startTime?: number;
14263
+ /**
14264
+ * @example
14265
+ * 接入钉钉待办
14266
+ */
14267
+ subject?: string;
14268
+ /**
14269
+ * @example
14270
+ * orgId1
14271
+ */
14272
+ tenantId?: string;
14273
+ /**
14274
+ * @example
14275
+ * org
14276
+ */
14277
+ tenantType?: string;
14278
+ /**
14279
+ * @example
14280
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
14281
+ */
14282
+ vendorRequestId?: string;
14283
+ /**
14284
+ * @example
14285
+ * dingtalk
14286
+ */
14287
+ vendorType?: string;
14288
+ static names(): {
14289
+ [key: string]: string;
14290
+ };
14291
+ static types(): {
14292
+ [key: string]: any;
14293
+ };
14294
+ constructor(map?: {
14295
+ [key: string]: any;
14296
+ });
14297
+ }
14298
+ export declare class GetTodoTaskResponse extends $tea.Model {
14299
+ headers?: {
14300
+ [key: string]: string;
14301
+ };
14302
+ statusCode?: number;
14303
+ body?: GetTodoTaskResponseBody;
14304
+ static names(): {
14305
+ [key: string]: string;
14306
+ };
14307
+ static types(): {
14308
+ [key: string]: any;
14309
+ };
14310
+ constructor(map?: {
14311
+ [key: string]: any;
14312
+ });
14313
+ }
14104
14314
  export declare class GetUserHeaders extends $tea.Model {
14105
14315
  commonHeaders?: {
14106
14316
  [key: string]: string;
@@ -35687,6 +35897,62 @@ export declare class GetTemplateListByUserIdResponseBodyTemplateList extends $te
35687
35897
  [key: string]: any;
35688
35898
  });
35689
35899
  }
35900
+ export declare class GetTodoTaskHeadersAccountContext extends $tea.Model {
35901
+ /**
35902
+ * @remarks
35903
+ * This parameter is required.
35904
+ *
35905
+ * @example
35906
+ * 012345
35907
+ */
35908
+ accountId?: string;
35909
+ static names(): {
35910
+ [key: string]: string;
35911
+ };
35912
+ static types(): {
35913
+ [key: string]: any;
35914
+ };
35915
+ constructor(map?: {
35916
+ [key: string]: any;
35917
+ });
35918
+ }
35919
+ export declare class GetTodoTaskRequestTenantContext extends $tea.Model {
35920
+ /**
35921
+ * @example
35922
+ * xxxxxx
35923
+ */
35924
+ tenantId?: string;
35925
+ static names(): {
35926
+ [key: string]: string;
35927
+ };
35928
+ static types(): {
35929
+ [key: string]: any;
35930
+ };
35931
+ constructor(map?: {
35932
+ [key: string]: any;
35933
+ });
35934
+ }
35935
+ export declare class GetTodoTaskResponseBodyDetailUrl extends $tea.Model {
35936
+ /**
35937
+ * @example
35938
+ * dingtalk://dingtalkclient/action/open_mini_app?miniAppId={0}&ddMode=push&page=pages%2ftask-detail%2ftask-detail%3ftaskId%3d{1}
35939
+ */
35940
+ appUrl?: string;
35941
+ /**
35942
+ * @example
35943
+ * https://todo.dingtalk.com/ding-portal/detail/task/{0}
35944
+ */
35945
+ pcUrl?: string;
35946
+ static names(): {
35947
+ [key: string]: string;
35948
+ };
35949
+ static types(): {
35950
+ [key: string]: any;
35951
+ };
35952
+ constructor(map?: {
35953
+ [key: string]: any;
35954
+ });
35955
+ }
35690
35956
  export declare class GetUserHeadersAccountContext extends $tea.Model {
35691
35957
  /**
35692
35958
  * @example
@@ -45262,6 +45528,22 @@ export default class Client extends OpenApi {
45262
45528
  * @returns GetTemplateListByUserIdResponse
45263
45529
  */
45264
45530
  getTemplateListByUserId(request: GetTemplateListByUserIdRequest): Promise<GetTemplateListByUserIdResponse>;
45531
+ /**
45532
+ * 获取钉钉待办任务详情
45533
+ *
45534
+ * @param tmpReq - GetTodoTaskRequest
45535
+ * @param tmpHeader - GetTodoTaskHeaders
45536
+ * @param runtime - runtime options for this request RuntimeOptions
45537
+ * @returns GetTodoTaskResponse
45538
+ */
45539
+ getTodoTaskWithOptions(tmpReq: GetTodoTaskRequest, tmpHeader: GetTodoTaskHeaders, runtime: $Util.RuntimeOptions): Promise<GetTodoTaskResponse>;
45540
+ /**
45541
+ * 获取钉钉待办任务详情
45542
+ *
45543
+ * @param request - GetTodoTaskRequest
45544
+ * @returns GetTodoTaskResponse
45545
+ */
45546
+ getTodoTask(request: GetTodoTaskRequest): Promise<GetTodoTaskResponse>;
45265
45547
  /**
45266
45548
  * 获取专属账号信息
45267
45549
  *