@alicloud/aliding20230426 2.28.0 → 2.29.1

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
@@ -3579,6 +3579,119 @@ export declare class CreateRunResponseBodyContent extends $dara.Model {
3579
3579
  [key: string]: any;
3580
3580
  });
3581
3581
  }
3582
+ export declare class CreateRunResponseBodyDataContentCardCallback extends $dara.Model {
3583
+ content?: string;
3584
+ templateId?: string;
3585
+ userId?: string;
3586
+ static names(): {
3587
+ [key: string]: string;
3588
+ };
3589
+ static types(): {
3590
+ [key: string]: any;
3591
+ };
3592
+ validate(): void;
3593
+ constructor(map?: {
3594
+ [key: string]: any;
3595
+ });
3596
+ }
3597
+ export declare class CreateRunResponseBodyDataContentDingCard extends $dara.Model {
3598
+ cardDesc?: string;
3599
+ content?: string;
3600
+ contentType?: string;
3601
+ finished?: boolean;
3602
+ templateId?: string;
3603
+ static names(): {
3604
+ [key: string]: string;
3605
+ };
3606
+ static types(): {
3607
+ [key: string]: any;
3608
+ };
3609
+ validate(): void;
3610
+ constructor(map?: {
3611
+ [key: string]: any;
3612
+ });
3613
+ }
3614
+ export declare class CreateRunResponseBodyDataContentImageUrl extends $dara.Model {
3615
+ detail?: string;
3616
+ imageDesc?: string;
3617
+ url?: string;
3618
+ static names(): {
3619
+ [key: string]: string;
3620
+ };
3621
+ static types(): {
3622
+ [key: string]: any;
3623
+ };
3624
+ validate(): void;
3625
+ constructor(map?: {
3626
+ [key: string]: any;
3627
+ });
3628
+ }
3629
+ export declare class CreateRunResponseBodyDataContentMarkdown extends $dara.Model {
3630
+ value?: string;
3631
+ static names(): {
3632
+ [key: string]: string;
3633
+ };
3634
+ static types(): {
3635
+ [key: string]: any;
3636
+ };
3637
+ validate(): void;
3638
+ constructor(map?: {
3639
+ [key: string]: any;
3640
+ });
3641
+ }
3642
+ export declare class CreateRunResponseBodyDataContentText extends $dara.Model {
3643
+ value?: string;
3644
+ static names(): {
3645
+ [key: string]: string;
3646
+ };
3647
+ static types(): {
3648
+ [key: string]: any;
3649
+ };
3650
+ validate(): void;
3651
+ constructor(map?: {
3652
+ [key: string]: any;
3653
+ });
3654
+ }
3655
+ export declare class CreateRunResponseBodyDataContent extends $dara.Model {
3656
+ cardCallback?: CreateRunResponseBodyDataContentCardCallback;
3657
+ dingCard?: CreateRunResponseBodyDataContentDingCard;
3658
+ imageUrl?: CreateRunResponseBodyDataContentImageUrl;
3659
+ markdown?: CreateRunResponseBodyDataContentMarkdown;
3660
+ text?: CreateRunResponseBodyDataContentText;
3661
+ type?: string;
3662
+ static names(): {
3663
+ [key: string]: string;
3664
+ };
3665
+ static types(): {
3666
+ [key: string]: any;
3667
+ };
3668
+ validate(): void;
3669
+ constructor(map?: {
3670
+ [key: string]: any;
3671
+ });
3672
+ }
3673
+ export declare class CreateRunResponseBodyData extends $dara.Model {
3674
+ content?: CreateRunResponseBodyDataContent[];
3675
+ createAt?: number;
3676
+ id?: string;
3677
+ metadata?: {
3678
+ [key: string]: any;
3679
+ };
3680
+ object?: string;
3681
+ role?: string;
3682
+ runId?: string;
3683
+ threadId?: string;
3684
+ static names(): {
3685
+ [key: string]: string;
3686
+ };
3687
+ static types(): {
3688
+ [key: string]: any;
3689
+ };
3690
+ validate(): void;
3691
+ constructor(map?: {
3692
+ [key: string]: any;
3693
+ });
3694
+ }
3582
3695
  export declare class CreateRunResponseBodyDeltaContentCardCallback extends $dara.Model {
3583
3696
  /**
3584
3697
  * @example
@@ -9889,6 +10002,21 @@ export declare class GetRangeResponseBodyBackgroundColors extends $dara.Model {
9889
10002
  [key: string]: any;
9890
10003
  });
9891
10004
  }
10005
+ export declare class GetRangeResponseBodyHyperlinks extends $dara.Model {
10006
+ type?: string;
10007
+ link?: string;
10008
+ text?: string;
10009
+ static names(): {
10010
+ [key: string]: string;
10011
+ };
10012
+ static types(): {
10013
+ [key: string]: any;
10014
+ };
10015
+ validate(): void;
10016
+ constructor(map?: {
10017
+ [key: string]: any;
10018
+ });
10019
+ }
9892
10020
  export declare class GetRelatedWorkspacesHeadersAccountContext extends $dara.Model {
9893
10021
  /**
9894
10022
  * @remarks
@@ -20009,6 +20137,60 @@ export declare class SubscribeEventRequestTenantContext extends $dara.Model {
20009
20137
  [key: string]: any;
20010
20138
  });
20011
20139
  }
20140
+ export declare class SwitchMainOrgHeadersAccountContext extends $dara.Model {
20141
+ /**
20142
+ * @remarks
20143
+ * This parameter is required.
20144
+ *
20145
+ * @example
20146
+ * 012345
20147
+ */
20148
+ accountId?: string;
20149
+ static names(): {
20150
+ [key: string]: string;
20151
+ };
20152
+ static types(): {
20153
+ [key: string]: any;
20154
+ };
20155
+ validate(): void;
20156
+ constructor(map?: {
20157
+ [key: string]: any;
20158
+ });
20159
+ }
20160
+ export declare class SwitchMainOrgRequestTenantContext extends $dara.Model {
20161
+ /**
20162
+ * @example
20163
+ * xxxxxx
20164
+ */
20165
+ tenantId?: string;
20166
+ static names(): {
20167
+ [key: string]: string;
20168
+ };
20169
+ static types(): {
20170
+ [key: string]: any;
20171
+ };
20172
+ validate(): void;
20173
+ constructor(map?: {
20174
+ [key: string]: any;
20175
+ });
20176
+ }
20177
+ export declare class SwitchMainOrgResponseBodyContent extends $dara.Model {
20178
+ /**
20179
+ * @example
20180
+ * null
20181
+ */
20182
+ data?: any;
20183
+ static names(): {
20184
+ [key: string]: string;
20185
+ };
20186
+ static types(): {
20187
+ [key: string]: any;
20188
+ };
20189
+ validate(): void;
20190
+ constructor(map?: {
20191
+ [key: string]: any;
20192
+ });
20193
+ }
20012
20194
  export declare class SyncDingTypeHeadersAccountContext extends $dara.Model {
20013
20195
  /**
20014
20196
  * @remarks
@@ -27010,6 +27192,7 @@ export declare class CreateRunResponseBody extends $dara.Model {
27010
27192
  * 1642448000000
27011
27193
  */
27012
27194
  createAt?: number;
27195
+ data?: CreateRunResponseBodyData;
27013
27196
  /**
27014
27197
  * @example
27015
27198
  * {}
@@ -37759,6 +37942,11 @@ export declare class GetRangeResponseBody extends $dara.Model {
37759
37942
  * []
37760
37943
  */
37761
37944
  formulas?: string[][];
37945
+ /**
37946
+ * @example
37947
+ * []
37948
+ */
37949
+ hyperlinks?: GetRangeResponseBodyHyperlinks[][];
37762
37950
  /**
37763
37951
  * @remarks
37764
37952
  * requestId
@@ -52569,6 +52757,128 @@ export declare class SubscribeEventResponse extends $dara.Model {
52569
52757
  [key: string]: any;
52570
52758
  });
52571
52759
  }
52760
+ export declare class SwitchMainOrgHeaders extends $dara.Model {
52761
+ commonHeaders?: {
52762
+ [key: string]: string;
52763
+ };
52764
+ accountContext?: SwitchMainOrgHeadersAccountContext;
52765
+ static names(): {
52766
+ [key: string]: string;
52767
+ };
52768
+ static types(): {
52769
+ [key: string]: any;
52770
+ };
52771
+ validate(): void;
52772
+ constructor(map?: {
52773
+ [key: string]: any;
52774
+ });
52775
+ }
52776
+ export declare class SwitchMainOrgShrinkHeaders extends $dara.Model {
52777
+ commonHeaders?: {
52778
+ [key: string]: string;
52779
+ };
52780
+ accountContextShrink?: string;
52781
+ static names(): {
52782
+ [key: string]: string;
52783
+ };
52784
+ static types(): {
52785
+ [key: string]: any;
52786
+ };
52787
+ validate(): void;
52788
+ constructor(map?: {
52789
+ [key: string]: any;
52790
+ });
52791
+ }
52792
+ export declare class SwitchMainOrgRequest extends $dara.Model {
52793
+ /**
52794
+ * @example
52795
+ * 21001
52796
+ */
52797
+ targetOrgId?: number;
52798
+ tenantContext?: SwitchMainOrgRequestTenantContext;
52799
+ static names(): {
52800
+ [key: string]: string;
52801
+ };
52802
+ static types(): {
52803
+ [key: string]: any;
52804
+ };
52805
+ validate(): void;
52806
+ constructor(map?: {
52807
+ [key: string]: any;
52808
+ });
52809
+ }
52810
+ export declare class SwitchMainOrgShrinkRequest extends $dara.Model {
52811
+ /**
52812
+ * @example
52813
+ * 21001
52814
+ */
52815
+ targetOrgId?: number;
52816
+ tenantContextShrink?: string;
52817
+ static names(): {
52818
+ [key: string]: string;
52819
+ };
52820
+ static types(): {
52821
+ [key: string]: any;
52822
+ };
52823
+ validate(): void;
52824
+ constructor(map?: {
52825
+ [key: string]: any;
52826
+ });
52827
+ }
52828
+ export declare class SwitchMainOrgResponseBody extends $dara.Model {
52829
+ content?: SwitchMainOrgResponseBodyContent;
52830
+ /**
52831
+ * @example
52832
+ * 0
52833
+ */
52834
+ errorCode?: string;
52835
+ errorCtx?: {
52836
+ [key: string]: any;
52837
+ };
52838
+ errorMsg?: string;
52839
+ /**
52840
+ * @example
52841
+ * 200
52842
+ */
52843
+ httpStatusCode?: number;
52844
+ /**
52845
+ * @example
52846
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
52847
+ */
52848
+ requestId?: string;
52849
+ /**
52850
+ * @example
52851
+ * true
52852
+ */
52853
+ success?: boolean;
52854
+ static names(): {
52855
+ [key: string]: string;
52856
+ };
52857
+ static types(): {
52858
+ [key: string]: any;
52859
+ };
52860
+ validate(): void;
52861
+ constructor(map?: {
52862
+ [key: string]: any;
52863
+ });
52864
+ }
52865
+ export declare class SwitchMainOrgResponse extends $dara.Model {
52866
+ headers?: {
52867
+ [key: string]: string;
52868
+ };
52869
+ statusCode?: number;
52870
+ body?: SwitchMainOrgResponseBody;
52871
+ static names(): {
52872
+ [key: string]: string;
52873
+ };
52874
+ static types(): {
52875
+ [key: string]: any;
52876
+ };
52877
+ validate(): void;
52878
+ constructor(map?: {
52879
+ [key: string]: any;
52880
+ });
52881
+ }
52572
52882
  export declare class SyncDingTypeHeaders extends $dara.Model {
52573
52883
  commonHeaders?: {
52574
52884
  [key: string]: string;
@@ -59456,6 +59766,18 @@ export default class Client extends OpenApi {
59456
59766
  * @returns SubscribeEventResponse
59457
59767
  */
59458
59768
  subscribeEvent(request: SubscribeEventRequest): Promise<SubscribeEventResponse>;
59769
+ /**
59770
+ * @param tmpReq - SwitchMainOrgRequest
59771
+ * @param tmpHeader - SwitchMainOrgHeaders
59772
+ * @param runtime - runtime options for this request RuntimeOptions
59773
+ * @returns SwitchMainOrgResponse
59774
+ */
59775
+ switchMainOrgWithOptions(tmpReq: SwitchMainOrgRequest, tmpHeader: SwitchMainOrgHeaders, runtime: $dara.RuntimeOptions): Promise<SwitchMainOrgResponse>;
59776
+ /**
59777
+ * @param request - SwitchMainOrgRequest
59778
+ * @returns SwitchMainOrgResponse
59779
+ */
59780
+ switchMainOrg(request: SwitchMainOrgRequest): Promise<SwitchMainOrgResponse>;
59459
59781
  /**
59460
59782
  * 同步钉钉账号类型
59461
59783
  *