@alicloud/aliding20230426 2.24.0 → 2.25.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
@@ -3324,6 +3324,41 @@ export declare class CreateTodoTaskRequestTenantContext extends $dara.Model {
3324
3324
  [key: string]: any;
3325
3325
  });
3326
3326
  }
3327
+ export declare class CreateTodoTaskRequestActionListParam extends $dara.Model {
3328
+ body?: string;
3329
+ header?: {
3330
+ [key: string]: string;
3331
+ };
3332
+ static names(): {
3333
+ [key: string]: string;
3334
+ };
3335
+ static types(): {
3336
+ [key: string]: any;
3337
+ };
3338
+ validate(): void;
3339
+ constructor(map?: {
3340
+ [key: string]: any;
3341
+ });
3342
+ }
3343
+ export declare class CreateTodoTaskRequestActionList extends $dara.Model {
3344
+ actionKey?: string;
3345
+ actionType?: number;
3346
+ buttonStyleType?: number;
3347
+ param?: CreateTodoTaskRequestActionListParam;
3348
+ pcUrl?: string;
3349
+ title?: string;
3350
+ url?: string;
3351
+ static names(): {
3352
+ [key: string]: string;
3353
+ };
3354
+ static types(): {
3355
+ [key: string]: any;
3356
+ };
3357
+ validate(): void;
3358
+ constructor(map?: {
3359
+ [key: string]: any;
3360
+ });
3361
+ }
3327
3362
  export declare class CreateTodoTaskRequestContentFieldList extends $dara.Model {
3328
3363
  /**
3329
3364
  * @remarks
@@ -18374,6 +18409,43 @@ export declare class SubscribeCalendarHeadersAccountContext extends $dara.Model
18374
18409
  [key: string]: any;
18375
18410
  });
18376
18411
  }
18412
+ export declare class SubscribeEventHeadersAccountContext extends $dara.Model {
18413
+ /**
18414
+ * @remarks
18415
+ * This parameter is required.
18416
+ *
18417
+ * @example
18418
+ * 012345
18419
+ */
18420
+ accountId?: string;
18421
+ static names(): {
18422
+ [key: string]: string;
18423
+ };
18424
+ static types(): {
18425
+ [key: string]: any;
18426
+ };
18427
+ validate(): void;
18428
+ constructor(map?: {
18429
+ [key: string]: any;
18430
+ });
18431
+ }
18432
+ export declare class SubscribeEventRequestTenantContext extends $dara.Model {
18433
+ /**
18434
+ * @example
18435
+ * xxxxxx
18436
+ */
18437
+ tenantId?: string;
18438
+ static names(): {
18439
+ [key: string]: string;
18440
+ };
18441
+ static types(): {
18442
+ [key: string]: any;
18443
+ };
18444
+ validate(): void;
18445
+ constructor(map?: {
18446
+ [key: string]: any;
18447
+ });
18448
+ }
18377
18449
  export declare class SyncDingTypeHeadersAccountContext extends $dara.Model {
18378
18450
  /**
18379
18451
  * @remarks
@@ -18543,6 +18615,43 @@ export declare class UnsubscribeCalendarHeadersAccountContext extends $dara.Mode
18543
18615
  [key: string]: any;
18544
18616
  });
18545
18617
  }
18618
+ export declare class UnsubscribeEventHeadersAccountContext extends $dara.Model {
18619
+ /**
18620
+ * @remarks
18621
+ * This parameter is required.
18622
+ *
18623
+ * @example
18624
+ * 012345
18625
+ */
18626
+ accountId?: string;
18627
+ static names(): {
18628
+ [key: string]: string;
18629
+ };
18630
+ static types(): {
18631
+ [key: string]: any;
18632
+ };
18633
+ validate(): void;
18634
+ constructor(map?: {
18635
+ [key: string]: any;
18636
+ });
18637
+ }
18638
+ export declare class UnsubscribeEventRequestTenantContext extends $dara.Model {
18639
+ /**
18640
+ * @example
18641
+ * xxxxxx
18642
+ */
18643
+ tenantId?: string;
18644
+ static names(): {
18645
+ [key: string]: string;
18646
+ };
18647
+ static types(): {
18648
+ [key: string]: any;
18649
+ };
18650
+ validate(): void;
18651
+ constructor(map?: {
18652
+ [key: string]: any;
18653
+ });
18654
+ }
18546
18655
  export declare class UpdateFormDataHeadersAccountContext extends $dara.Model {
18547
18656
  /**
18548
18657
  * @remarks
@@ -25896,6 +26005,7 @@ export declare class CreateTodoTaskShrinkHeaders extends $dara.Model {
25896
26005
  }
25897
26006
  export declare class CreateTodoTaskRequest extends $dara.Model {
25898
26007
  tenantContext?: CreateTodoTaskRequestTenantContext;
26008
+ actionList?: CreateTodoTaskRequestActionList[];
25899
26009
  contentFieldList?: CreateTodoTaskRequestContentFieldList[];
25900
26010
  /**
25901
26011
  * @example
@@ -25957,6 +26067,7 @@ export declare class CreateTodoTaskRequest extends $dara.Model {
25957
26067
  }
25958
26068
  export declare class CreateTodoTaskShrinkRequest extends $dara.Model {
25959
26069
  tenantContextShrink?: string;
26070
+ actionListShrink?: string;
25960
26071
  contentFieldListShrink?: string;
25961
26072
  /**
25962
26073
  * @example
@@ -48977,6 +49088,141 @@ export declare class SubscribeCalendarResponse extends $dara.Model {
48977
49088
  [key: string]: any;
48978
49089
  });
48979
49090
  }
49091
+ export declare class SubscribeEventHeaders extends $dara.Model {
49092
+ commonHeaders?: {
49093
+ [key: string]: string;
49094
+ };
49095
+ accountContext?: SubscribeEventHeadersAccountContext;
49096
+ static names(): {
49097
+ [key: string]: string;
49098
+ };
49099
+ static types(): {
49100
+ [key: string]: any;
49101
+ };
49102
+ validate(): void;
49103
+ constructor(map?: {
49104
+ [key: string]: any;
49105
+ });
49106
+ }
49107
+ export declare class SubscribeEventShrinkHeaders extends $dara.Model {
49108
+ commonHeaders?: {
49109
+ [key: string]: string;
49110
+ };
49111
+ accountContextShrink?: string;
49112
+ static names(): {
49113
+ [key: string]: string;
49114
+ };
49115
+ static types(): {
49116
+ [key: string]: any;
49117
+ };
49118
+ validate(): void;
49119
+ constructor(map?: {
49120
+ [key: string]: any;
49121
+ });
49122
+ }
49123
+ export declare class SubscribeEventRequest extends $dara.Model {
49124
+ /**
49125
+ * @remarks
49126
+ * This parameter is required.
49127
+ *
49128
+ * @example
49129
+ * SPACE
49130
+ */
49131
+ scope?: string;
49132
+ /**
49133
+ * @remarks
49134
+ * This parameter is required.
49135
+ *
49136
+ * @example
49137
+ * 233456
49138
+ */
49139
+ scopeId?: string;
49140
+ tenantContext?: SubscribeEventRequestTenantContext;
49141
+ static names(): {
49142
+ [key: string]: string;
49143
+ };
49144
+ static types(): {
49145
+ [key: string]: any;
49146
+ };
49147
+ validate(): void;
49148
+ constructor(map?: {
49149
+ [key: string]: any;
49150
+ });
49151
+ }
49152
+ export declare class SubscribeEventShrinkRequest extends $dara.Model {
49153
+ /**
49154
+ * @remarks
49155
+ * This parameter is required.
49156
+ *
49157
+ * @example
49158
+ * SPACE
49159
+ */
49160
+ scope?: string;
49161
+ /**
49162
+ * @remarks
49163
+ * This parameter is required.
49164
+ *
49165
+ * @example
49166
+ * 233456
49167
+ */
49168
+ scopeId?: string;
49169
+ tenantContextShrink?: string;
49170
+ static names(): {
49171
+ [key: string]: string;
49172
+ };
49173
+ static types(): {
49174
+ [key: string]: any;
49175
+ };
49176
+ validate(): void;
49177
+ constructor(map?: {
49178
+ [key: string]: any;
49179
+ });
49180
+ }
49181
+ export declare class SubscribeEventResponseBody extends $dara.Model {
49182
+ /**
49183
+ * @example
49184
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
49185
+ */
49186
+ requestId?: string;
49187
+ success?: boolean;
49188
+ /**
49189
+ * @example
49190
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
49191
+ */
49192
+ vendorRequestId?: string;
49193
+ /**
49194
+ * @example
49195
+ * dingtalk
49196
+ */
49197
+ vendorType?: string;
49198
+ static names(): {
49199
+ [key: string]: string;
49200
+ };
49201
+ static types(): {
49202
+ [key: string]: any;
49203
+ };
49204
+ validate(): void;
49205
+ constructor(map?: {
49206
+ [key: string]: any;
49207
+ });
49208
+ }
49209
+ export declare class SubscribeEventResponse extends $dara.Model {
49210
+ headers?: {
49211
+ [key: string]: string;
49212
+ };
49213
+ statusCode?: number;
49214
+ body?: SubscribeEventResponseBody;
49215
+ static names(): {
49216
+ [key: string]: string;
49217
+ };
49218
+ static types(): {
49219
+ [key: string]: any;
49220
+ };
49221
+ validate(): void;
49222
+ constructor(map?: {
49223
+ [key: string]: any;
49224
+ });
49225
+ }
48980
49226
  export declare class SyncDingTypeHeaders extends $dara.Model {
48981
49227
  commonHeaders?: {
48982
49228
  [key: string]: string;
@@ -49484,6 +49730,141 @@ export declare class UnsubscribeCalendarResponse extends $dara.Model {
49484
49730
  [key: string]: any;
49485
49731
  });
49486
49732
  }
49733
+ export declare class UnsubscribeEventHeaders extends $dara.Model {
49734
+ commonHeaders?: {
49735
+ [key: string]: string;
49736
+ };
49737
+ accountContext?: UnsubscribeEventHeadersAccountContext;
49738
+ static names(): {
49739
+ [key: string]: string;
49740
+ };
49741
+ static types(): {
49742
+ [key: string]: any;
49743
+ };
49744
+ validate(): void;
49745
+ constructor(map?: {
49746
+ [key: string]: any;
49747
+ });
49748
+ }
49749
+ export declare class UnsubscribeEventShrinkHeaders extends $dara.Model {
49750
+ commonHeaders?: {
49751
+ [key: string]: string;
49752
+ };
49753
+ accountContextShrink?: string;
49754
+ static names(): {
49755
+ [key: string]: string;
49756
+ };
49757
+ static types(): {
49758
+ [key: string]: any;
49759
+ };
49760
+ validate(): void;
49761
+ constructor(map?: {
49762
+ [key: string]: any;
49763
+ });
49764
+ }
49765
+ export declare class UnsubscribeEventRequest extends $dara.Model {
49766
+ /**
49767
+ * @remarks
49768
+ * This parameter is required.
49769
+ *
49770
+ * @example
49771
+ * SPACE
49772
+ */
49773
+ scope?: string;
49774
+ /**
49775
+ * @remarks
49776
+ * This parameter is required.
49777
+ *
49778
+ * @example
49779
+ * 23456
49780
+ */
49781
+ scopeId?: string;
49782
+ tenantContext?: UnsubscribeEventRequestTenantContext;
49783
+ static names(): {
49784
+ [key: string]: string;
49785
+ };
49786
+ static types(): {
49787
+ [key: string]: any;
49788
+ };
49789
+ validate(): void;
49790
+ constructor(map?: {
49791
+ [key: string]: any;
49792
+ });
49793
+ }
49794
+ export declare class UnsubscribeEventShrinkRequest extends $dara.Model {
49795
+ /**
49796
+ * @remarks
49797
+ * This parameter is required.
49798
+ *
49799
+ * @example
49800
+ * SPACE
49801
+ */
49802
+ scope?: string;
49803
+ /**
49804
+ * @remarks
49805
+ * This parameter is required.
49806
+ *
49807
+ * @example
49808
+ * 23456
49809
+ */
49810
+ scopeId?: string;
49811
+ tenantContextShrink?: string;
49812
+ static names(): {
49813
+ [key: string]: string;
49814
+ };
49815
+ static types(): {
49816
+ [key: string]: any;
49817
+ };
49818
+ validate(): void;
49819
+ constructor(map?: {
49820
+ [key: string]: any;
49821
+ });
49822
+ }
49823
+ export declare class UnsubscribeEventResponseBody extends $dara.Model {
49824
+ /**
49825
+ * @example
49826
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
49827
+ */
49828
+ requestId?: string;
49829
+ success?: boolean;
49830
+ /**
49831
+ * @example
49832
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
49833
+ */
49834
+ vendorRequestId?: string;
49835
+ /**
49836
+ * @example
49837
+ * dingtalk
49838
+ */
49839
+ vendorType?: string;
49840
+ static names(): {
49841
+ [key: string]: string;
49842
+ };
49843
+ static types(): {
49844
+ [key: string]: any;
49845
+ };
49846
+ validate(): void;
49847
+ constructor(map?: {
49848
+ [key: string]: any;
49849
+ });
49850
+ }
49851
+ export declare class UnsubscribeEventResponse extends $dara.Model {
49852
+ headers?: {
49853
+ [key: string]: string;
49854
+ };
49855
+ statusCode?: number;
49856
+ body?: UnsubscribeEventResponseBody;
49857
+ static names(): {
49858
+ [key: string]: string;
49859
+ };
49860
+ static types(): {
49861
+ [key: string]: any;
49862
+ };
49863
+ validate(): void;
49864
+ constructor(map?: {
49865
+ [key: string]: any;
49866
+ });
49867
+ }
49487
49868
  export declare class UpdateFormDataHeaders extends $dara.Model {
49488
49869
  commonHeaders?: {
49489
49870
  [key: string]: string;
@@ -55382,6 +55763,22 @@ export default class Client extends OpenApi {
55382
55763
  * @returns SubscribeCalendarResponse
55383
55764
  */
55384
55765
  subscribeCalendar(request: SubscribeCalendarRequest): Promise<SubscribeCalendarResponse>;
55766
+ /**
55767
+ * 订阅文件变更事件
55768
+ *
55769
+ * @param tmpReq - SubscribeEventRequest
55770
+ * @param tmpHeader - SubscribeEventHeaders
55771
+ * @param runtime - runtime options for this request RuntimeOptions
55772
+ * @returns SubscribeEventResponse
55773
+ */
55774
+ subscribeEventWithOptions(tmpReq: SubscribeEventRequest, tmpHeader: SubscribeEventHeaders, runtime: $dara.RuntimeOptions): Promise<SubscribeEventResponse>;
55775
+ /**
55776
+ * 订阅文件变更事件
55777
+ *
55778
+ * @param request - SubscribeEventRequest
55779
+ * @returns SubscribeEventResponse
55780
+ */
55781
+ subscribeEvent(request: SubscribeEventRequest): Promise<SubscribeEventResponse>;
55385
55782
  /**
55386
55783
  * 同步钉钉账号类型
55387
55784
  *
@@ -55446,6 +55843,22 @@ export default class Client extends OpenApi {
55446
55843
  * @returns UnsubscribeCalendarResponse
55447
55844
  */
55448
55845
  unsubscribeCalendar(request: UnsubscribeCalendarRequest): Promise<UnsubscribeCalendarResponse>;
55846
+ /**
55847
+ * 取消订阅文件变更事件
55848
+ *
55849
+ * @param tmpReq - UnsubscribeEventRequest
55850
+ * @param tmpHeader - UnsubscribeEventHeaders
55851
+ * @param runtime - runtime options for this request RuntimeOptions
55852
+ * @returns UnsubscribeEventResponse
55853
+ */
55854
+ unsubscribeEventWithOptions(tmpReq: UnsubscribeEventRequest, tmpHeader: UnsubscribeEventHeaders, runtime: $dara.RuntimeOptions): Promise<UnsubscribeEventResponse>;
55855
+ /**
55856
+ * 取消订阅文件变更事件
55857
+ *
55858
+ * @param request - UnsubscribeEventRequest
55859
+ * @returns UnsubscribeEventResponse
55860
+ */
55861
+ unsubscribeEvent(request: UnsubscribeEventRequest): Promise<UnsubscribeEventResponse>;
55449
55862
  /**
55450
55863
  * 更新表单数据
55451
55864
  *