@alicloud/aliding20230426 2.20.2 → 2.21.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
@@ -5731,6 +5731,195 @@ export declare class CreateSubscribedCalendarResponse extends $tea.Model {
5731
5731
  [key: string]: any;
5732
5732
  });
5733
5733
  }
5734
+ export declare class CreateTicketHeaders extends $tea.Model {
5735
+ commonHeaders?: {
5736
+ [key: string]: string;
5737
+ };
5738
+ accountContext?: CreateTicketHeadersAccountContext;
5739
+ static names(): {
5740
+ [key: string]: string;
5741
+ };
5742
+ static types(): {
5743
+ [key: string]: any;
5744
+ };
5745
+ constructor(map?: {
5746
+ [key: string]: any;
5747
+ });
5748
+ }
5749
+ export declare class CreateTicketShrinkHeaders extends $tea.Model {
5750
+ commonHeaders?: {
5751
+ [key: string]: string;
5752
+ };
5753
+ accountContextShrink?: string;
5754
+ static names(): {
5755
+ [key: string]: string;
5756
+ };
5757
+ static types(): {
5758
+ [key: string]: any;
5759
+ };
5760
+ constructor(map?: {
5761
+ [key: string]: any;
5762
+ });
5763
+ }
5764
+ export declare class CreateTicketRequest extends $tea.Model {
5765
+ /**
5766
+ * @example
5767
+ * []
5768
+ */
5769
+ customFields?: string;
5770
+ notify?: CreateTicketRequestNotify;
5771
+ /**
5772
+ * @remarks
5773
+ * This parameter is required.
5774
+ *
5775
+ * @example
5776
+ * G3IOe205RLciE
5777
+ */
5778
+ openTeamId?: string;
5779
+ /**
5780
+ * @remarks
5781
+ * This parameter is required.
5782
+ *
5783
+ * @example
5784
+ * xxxx
5785
+ */
5786
+ openTemplateBizId?: string;
5787
+ /**
5788
+ * @remarks
5789
+ * This parameter is required.
5790
+ */
5791
+ processorUserIds?: string[];
5792
+ /**
5793
+ * @remarks
5794
+ * This parameter is required.
5795
+ *
5796
+ * @example
5797
+ * SG
5798
+ */
5799
+ scene?: string;
5800
+ sceneContext?: CreateTicketRequestSceneContext;
5801
+ tenantContext?: CreateTicketRequestTenantContext;
5802
+ /**
5803
+ * @remarks
5804
+ * This parameter is required.
5805
+ *
5806
+ * @example
5807
+ * Killer Ball Wo Mouichido
5808
+ */
5809
+ title?: string;
5810
+ static names(): {
5811
+ [key: string]: string;
5812
+ };
5813
+ static types(): {
5814
+ [key: string]: any;
5815
+ };
5816
+ constructor(map?: {
5817
+ [key: string]: any;
5818
+ });
5819
+ }
5820
+ export declare class CreateTicketShrinkRequest extends $tea.Model {
5821
+ /**
5822
+ * @example
5823
+ * []
5824
+ */
5825
+ customFields?: string;
5826
+ notifyShrink?: string;
5827
+ /**
5828
+ * @remarks
5829
+ * This parameter is required.
5830
+ *
5831
+ * @example
5832
+ * G3IOe205RLciE
5833
+ */
5834
+ openTeamId?: string;
5835
+ /**
5836
+ * @remarks
5837
+ * This parameter is required.
5838
+ *
5839
+ * @example
5840
+ * xxxx
5841
+ */
5842
+ openTemplateBizId?: string;
5843
+ /**
5844
+ * @remarks
5845
+ * This parameter is required.
5846
+ */
5847
+ processorUserIdsShrink?: string;
5848
+ /**
5849
+ * @remarks
5850
+ * This parameter is required.
5851
+ *
5852
+ * @example
5853
+ * SG
5854
+ */
5855
+ scene?: string;
5856
+ sceneContextShrink?: string;
5857
+ tenantContextShrink?: string;
5858
+ /**
5859
+ * @remarks
5860
+ * This parameter is required.
5861
+ *
5862
+ * @example
5863
+ * Killer Ball Wo Mouichido
5864
+ */
5865
+ title?: string;
5866
+ static names(): {
5867
+ [key: string]: string;
5868
+ };
5869
+ static types(): {
5870
+ [key: string]: any;
5871
+ };
5872
+ constructor(map?: {
5873
+ [key: string]: any;
5874
+ });
5875
+ }
5876
+ export declare class CreateTicketResponseBody extends $tea.Model {
5877
+ /**
5878
+ * @example
5879
+ * a8iSxxxxtgiE
5880
+ */
5881
+ openTicketId?: string;
5882
+ /**
5883
+ * @example
5884
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
5885
+ */
5886
+ requestId?: string;
5887
+ /**
5888
+ * @example
5889
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
5890
+ */
5891
+ vendorRequestId?: string;
5892
+ /**
5893
+ * @example
5894
+ * dingtalk
5895
+ */
5896
+ vendorType?: string;
5897
+ static names(): {
5898
+ [key: string]: string;
5899
+ };
5900
+ static types(): {
5901
+ [key: string]: any;
5902
+ };
5903
+ constructor(map?: {
5904
+ [key: string]: any;
5905
+ });
5906
+ }
5907
+ export declare class CreateTicketResponse extends $tea.Model {
5908
+ headers?: {
5909
+ [key: string]: string;
5910
+ };
5911
+ statusCode?: number;
5912
+ body?: CreateTicketResponseBody;
5913
+ static names(): {
5914
+ [key: string]: string;
5915
+ };
5916
+ static types(): {
5917
+ [key: string]: any;
5918
+ };
5919
+ constructor(map?: {
5920
+ [key: string]: any;
5921
+ });
5922
+ }
5734
5923
  export declare class CreateTodoTaskHeaders extends $tea.Model {
5735
5924
  commonHeaders?: {
5736
5925
  [key: string]: string;
@@ -32444,6 +32633,103 @@ export declare class CreateSubscribedCalendarRequestSubscribeScope extends $tea.
32444
32633
  [key: string]: any;
32445
32634
  });
32446
32635
  }
32636
+ export declare class CreateTicketHeadersAccountContext extends $tea.Model {
32637
+ /**
32638
+ * @remarks
32639
+ * This parameter is required.
32640
+ *
32641
+ * @example
32642
+ * 012345
32643
+ */
32644
+ accountId?: string;
32645
+ static names(): {
32646
+ [key: string]: string;
32647
+ };
32648
+ static types(): {
32649
+ [key: string]: any;
32650
+ };
32651
+ constructor(map?: {
32652
+ [key: string]: any;
32653
+ });
32654
+ }
32655
+ export declare class CreateTicketRequestNotify extends $tea.Model {
32656
+ groupNoticeReceiverUserIds?: string[];
32657
+ /**
32658
+ * @example
32659
+ * false
32660
+ */
32661
+ noticeAllGroupMember?: boolean;
32662
+ workNoticeReceiverUserIds?: string[];
32663
+ static names(): {
32664
+ [key: string]: string;
32665
+ };
32666
+ static types(): {
32667
+ [key: string]: any;
32668
+ };
32669
+ constructor(map?: {
32670
+ [key: string]: any;
32671
+ });
32672
+ }
32673
+ export declare class CreateTicketRequestSceneContextGroupMsgs extends $tea.Model {
32674
+ /**
32675
+ * @example
32676
+ * true
32677
+ */
32678
+ anchor?: boolean;
32679
+ /**
32680
+ * @example
32681
+ * 1234567
32682
+ */
32683
+ openMsgId?: string;
32684
+ static names(): {
32685
+ [key: string]: string;
32686
+ };
32687
+ static types(): {
32688
+ [key: string]: any;
32689
+ };
32690
+ constructor(map?: {
32691
+ [key: string]: any;
32692
+ });
32693
+ }
32694
+ export declare class CreateTicketRequestSceneContext extends $tea.Model {
32695
+ groupMsgs?: CreateTicketRequestSceneContextGroupMsgs[];
32696
+ /**
32697
+ * @example
32698
+ * cidDKVAOW8yVWPEN+WZfwSSAQ==
32699
+ */
32700
+ openConversationId?: string;
32701
+ relevantorUserIds?: string[];
32702
+ /**
32703
+ * @example
32704
+ * 42674892
32705
+ */
32706
+ topicId?: string;
32707
+ static names(): {
32708
+ [key: string]: string;
32709
+ };
32710
+ static types(): {
32711
+ [key: string]: any;
32712
+ };
32713
+ constructor(map?: {
32714
+ [key: string]: any;
32715
+ });
32716
+ }
32717
+ export declare class CreateTicketRequestTenantContext extends $tea.Model {
32718
+ /**
32719
+ * @example
32720
+ * xxxxxx
32721
+ */
32722
+ tenantId?: string;
32723
+ static names(): {
32724
+ [key: string]: string;
32725
+ };
32726
+ static types(): {
32727
+ [key: string]: any;
32728
+ };
32729
+ constructor(map?: {
32730
+ [key: string]: any;
32731
+ });
32732
+ }
32447
32733
  export declare class CreateTodoTaskHeadersAccountContext extends $tea.Model {
32448
32734
  /**
32449
32735
  * @example
@@ -47630,6 +47916,22 @@ export default class Client extends OpenApi {
47630
47916
  * @returns CreateSubscribedCalendarResponse
47631
47917
  */
47632
47918
  createSubscribedCalendar(request: CreateSubscribedCalendarRequest): Promise<CreateSubscribedCalendarResponse>;
47919
+ /**
47920
+ * 创建工单
47921
+ *
47922
+ * @param tmpReq - CreateTicketRequest
47923
+ * @param tmpHeader - CreateTicketHeaders
47924
+ * @param runtime - runtime options for this request RuntimeOptions
47925
+ * @returns CreateTicketResponse
47926
+ */
47927
+ createTicketWithOptions(tmpReq: CreateTicketRequest, tmpHeader: CreateTicketHeaders, runtime: $Util.RuntimeOptions): Promise<CreateTicketResponse>;
47928
+ /**
47929
+ * 创建工单
47930
+ *
47931
+ * @param request - CreateTicketRequest
47932
+ * @returns CreateTicketResponse
47933
+ */
47934
+ createTicket(request: CreateTicketRequest): Promise<CreateTicketResponse>;
47633
47935
  /**
47634
47936
  * 创建代办
47635
47937
  *