@alicloud/ccc20200701 2.31.0 → 2.32.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 +242 -0
- package/dist/client.js +334 -23
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +479 -0
package/dist/client.d.ts
CHANGED
|
@@ -1654,6 +1654,28 @@ export declare class CreateCampaignRequestCaseList extends $dara.Model {
|
|
|
1654
1654
|
[key: string]: any;
|
|
1655
1655
|
});
|
|
1656
1656
|
}
|
|
1657
|
+
export declare class CreateChatMediaUrlResponseBodyData extends $dara.Model {
|
|
1658
|
+
/**
|
|
1659
|
+
* @example
|
|
1660
|
+
* $iAHNCNQCo21wMwMGBAAFAAbaACOEAaQhIH6TAqogDGyb-qD2Hbj0A88AAAGRLKYVnwTOACwwYwcACM8AAAGRLRPynQ
|
|
1661
|
+
*/
|
|
1662
|
+
mediaId?: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* @example
|
|
1665
|
+
* https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****
|
|
1666
|
+
*/
|
|
1667
|
+
url?: string;
|
|
1668
|
+
static names(): {
|
|
1669
|
+
[key: string]: string;
|
|
1670
|
+
};
|
|
1671
|
+
static types(): {
|
|
1672
|
+
[key: string]: any;
|
|
1673
|
+
};
|
|
1674
|
+
validate(): void;
|
|
1675
|
+
constructor(map?: {
|
|
1676
|
+
[key: string]: any;
|
|
1677
|
+
});
|
|
1678
|
+
}
|
|
1657
1679
|
export declare class CreateCustomCallTaggingResponseBodyData extends $dara.Model {
|
|
1658
1680
|
/**
|
|
1659
1681
|
* @example
|
|
@@ -21779,6 +21801,88 @@ export declare class CreateCampaignResponse extends $dara.Model {
|
|
|
21779
21801
|
[key: string]: any;
|
|
21780
21802
|
});
|
|
21781
21803
|
}
|
|
21804
|
+
export declare class CreateChatMediaUrlRequest extends $dara.Model {
|
|
21805
|
+
/**
|
|
21806
|
+
* @remarks
|
|
21807
|
+
* This parameter is required.
|
|
21808
|
+
*
|
|
21809
|
+
* @example
|
|
21810
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
21811
|
+
*/
|
|
21812
|
+
instanceId?: string;
|
|
21813
|
+
/**
|
|
21814
|
+
* @remarks
|
|
21815
|
+
* media id
|
|
21816
|
+
*
|
|
21817
|
+
* This parameter is required.
|
|
21818
|
+
*
|
|
21819
|
+
* @example
|
|
21820
|
+
* jpg
|
|
21821
|
+
*/
|
|
21822
|
+
mimeType?: string;
|
|
21823
|
+
/**
|
|
21824
|
+
* @example
|
|
21825
|
+
* 9F766284-F103-4298-8EC5-19F9F9BE5522
|
|
21826
|
+
*/
|
|
21827
|
+
requestId?: string;
|
|
21828
|
+
static names(): {
|
|
21829
|
+
[key: string]: string;
|
|
21830
|
+
};
|
|
21831
|
+
static types(): {
|
|
21832
|
+
[key: string]: any;
|
|
21833
|
+
};
|
|
21834
|
+
validate(): void;
|
|
21835
|
+
constructor(map?: {
|
|
21836
|
+
[key: string]: any;
|
|
21837
|
+
});
|
|
21838
|
+
}
|
|
21839
|
+
export declare class CreateChatMediaUrlResponseBody extends $dara.Model {
|
|
21840
|
+
/**
|
|
21841
|
+
* @example
|
|
21842
|
+
* OK
|
|
21843
|
+
*/
|
|
21844
|
+
code?: string;
|
|
21845
|
+
data?: CreateChatMediaUrlResponseBodyData;
|
|
21846
|
+
/**
|
|
21847
|
+
* @example
|
|
21848
|
+
* 200
|
|
21849
|
+
*/
|
|
21850
|
+
httpStatusCode?: number;
|
|
21851
|
+
message?: string;
|
|
21852
|
+
params?: string[];
|
|
21853
|
+
/**
|
|
21854
|
+
* @example
|
|
21855
|
+
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
|
|
21856
|
+
*/
|
|
21857
|
+
requestId?: string;
|
|
21858
|
+
static names(): {
|
|
21859
|
+
[key: string]: string;
|
|
21860
|
+
};
|
|
21861
|
+
static types(): {
|
|
21862
|
+
[key: string]: any;
|
|
21863
|
+
};
|
|
21864
|
+
validate(): void;
|
|
21865
|
+
constructor(map?: {
|
|
21866
|
+
[key: string]: any;
|
|
21867
|
+
});
|
|
21868
|
+
}
|
|
21869
|
+
export declare class CreateChatMediaUrlResponse extends $dara.Model {
|
|
21870
|
+
headers?: {
|
|
21871
|
+
[key: string]: string;
|
|
21872
|
+
};
|
|
21873
|
+
statusCode?: number;
|
|
21874
|
+
body?: CreateChatMediaUrlResponseBody;
|
|
21875
|
+
static names(): {
|
|
21876
|
+
[key: string]: string;
|
|
21877
|
+
};
|
|
21878
|
+
static types(): {
|
|
21879
|
+
[key: string]: any;
|
|
21880
|
+
};
|
|
21881
|
+
validate(): void;
|
|
21882
|
+
constructor(map?: {
|
|
21883
|
+
[key: string]: any;
|
|
21884
|
+
});
|
|
21885
|
+
}
|
|
21782
21886
|
export declare class CreateContactFlowRequest extends $dara.Model {
|
|
21783
21887
|
/**
|
|
21784
21888
|
* @remarks
|
|
@@ -35457,6 +35561,122 @@ export declare class ProcessAliMeCallbackOfStagingResponse extends $dara.Model {
|
|
|
35457
35561
|
[key: string]: any;
|
|
35458
35562
|
});
|
|
35459
35563
|
}
|
|
35564
|
+
export declare class ProcessCustomIMCallbackRequest extends $dara.Model {
|
|
35565
|
+
/**
|
|
35566
|
+
* @remarks
|
|
35567
|
+
* This parameter is required.
|
|
35568
|
+
*
|
|
35569
|
+
* @example
|
|
35570
|
+
* cf584733-***-***-9699-cb77aa3b7aa6
|
|
35571
|
+
*/
|
|
35572
|
+
accessChannelId?: string;
|
|
35573
|
+
/**
|
|
35574
|
+
* @remarks
|
|
35575
|
+
* This parameter is required.
|
|
35576
|
+
*
|
|
35577
|
+
* @example
|
|
35578
|
+
* d165de4f-9851-445e-9535-66ebfa72fa51
|
|
35579
|
+
*/
|
|
35580
|
+
conversationId?: string;
|
|
35581
|
+
/**
|
|
35582
|
+
* @remarks
|
|
35583
|
+
* This parameter is required.
|
|
35584
|
+
*
|
|
35585
|
+
* @example
|
|
35586
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
35587
|
+
*/
|
|
35588
|
+
instanceId?: string;
|
|
35589
|
+
/**
|
|
35590
|
+
* @remarks
|
|
35591
|
+
* This parameter is required.
|
|
35592
|
+
*/
|
|
35593
|
+
messageContent?: string;
|
|
35594
|
+
/**
|
|
35595
|
+
* @example
|
|
35596
|
+
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
|
|
35597
|
+
*/
|
|
35598
|
+
requestId?: string;
|
|
35599
|
+
/**
|
|
35600
|
+
* @example
|
|
35601
|
+
* xxxx
|
|
35602
|
+
*/
|
|
35603
|
+
senderAvatarMediaId?: string;
|
|
35604
|
+
/**
|
|
35605
|
+
* @remarks
|
|
35606
|
+
* This parameter is required.
|
|
35607
|
+
*
|
|
35608
|
+
* @example
|
|
35609
|
+
* 63061274befd6b545aab4c83
|
|
35610
|
+
*/
|
|
35611
|
+
senderId?: string;
|
|
35612
|
+
/**
|
|
35613
|
+
* @example
|
|
35614
|
+
* tom
|
|
35615
|
+
*/
|
|
35616
|
+
senderName?: string;
|
|
35617
|
+
static names(): {
|
|
35618
|
+
[key: string]: string;
|
|
35619
|
+
};
|
|
35620
|
+
static types(): {
|
|
35621
|
+
[key: string]: any;
|
|
35622
|
+
};
|
|
35623
|
+
validate(): void;
|
|
35624
|
+
constructor(map?: {
|
|
35625
|
+
[key: string]: any;
|
|
35626
|
+
});
|
|
35627
|
+
}
|
|
35628
|
+
export declare class ProcessCustomIMCallbackResponseBody extends $dara.Model {
|
|
35629
|
+
/**
|
|
35630
|
+
* @example
|
|
35631
|
+
* OK
|
|
35632
|
+
*/
|
|
35633
|
+
code?: string;
|
|
35634
|
+
data?: string;
|
|
35635
|
+
/**
|
|
35636
|
+
* @example
|
|
35637
|
+
* 200
|
|
35638
|
+
*/
|
|
35639
|
+
httpStatusCode?: number;
|
|
35640
|
+
/**
|
|
35641
|
+
* @example
|
|
35642
|
+
* chat-65382141036853491
|
|
35643
|
+
*/
|
|
35644
|
+
jobId?: string;
|
|
35645
|
+
message?: string;
|
|
35646
|
+
params?: string[];
|
|
35647
|
+
/**
|
|
35648
|
+
* @example
|
|
35649
|
+
* 2778FA12-EDD6-42AA-9B15-AF855072E5E5
|
|
35650
|
+
*/
|
|
35651
|
+
requestId?: string;
|
|
35652
|
+
static names(): {
|
|
35653
|
+
[key: string]: string;
|
|
35654
|
+
};
|
|
35655
|
+
static types(): {
|
|
35656
|
+
[key: string]: any;
|
|
35657
|
+
};
|
|
35658
|
+
validate(): void;
|
|
35659
|
+
constructor(map?: {
|
|
35660
|
+
[key: string]: any;
|
|
35661
|
+
});
|
|
35662
|
+
}
|
|
35663
|
+
export declare class ProcessCustomIMCallbackResponse extends $dara.Model {
|
|
35664
|
+
headers?: {
|
|
35665
|
+
[key: string]: string;
|
|
35666
|
+
};
|
|
35667
|
+
statusCode?: number;
|
|
35668
|
+
body?: ProcessCustomIMCallbackResponseBody;
|
|
35669
|
+
static names(): {
|
|
35670
|
+
[key: string]: string;
|
|
35671
|
+
};
|
|
35672
|
+
static types(): {
|
|
35673
|
+
[key: string]: any;
|
|
35674
|
+
};
|
|
35675
|
+
validate(): void;
|
|
35676
|
+
constructor(map?: {
|
|
35677
|
+
[key: string]: any;
|
|
35678
|
+
});
|
|
35679
|
+
}
|
|
35460
35680
|
export declare class PublishContactFlowRequest extends $dara.Model {
|
|
35461
35681
|
/**
|
|
35462
35682
|
* @remarks
|
|
@@ -40402,6 +40622,17 @@ export default class Client extends OpenApi {
|
|
|
40402
40622
|
* @returns CreateCampaignResponse
|
|
40403
40623
|
*/
|
|
40404
40624
|
createCampaign(request: CreateCampaignRequest): Promise<CreateCampaignResponse>;
|
|
40625
|
+
/**
|
|
40626
|
+
* @param request - CreateChatMediaUrlRequest
|
|
40627
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40628
|
+
* @returns CreateChatMediaUrlResponse
|
|
40629
|
+
*/
|
|
40630
|
+
createChatMediaUrlWithOptions(request: CreateChatMediaUrlRequest, runtime: $dara.RuntimeOptions): Promise<CreateChatMediaUrlResponse>;
|
|
40631
|
+
/**
|
|
40632
|
+
* @param request - CreateChatMediaUrlRequest
|
|
40633
|
+
* @returns CreateChatMediaUrlResponse
|
|
40634
|
+
*/
|
|
40635
|
+
createChatMediaUrl(request: CreateChatMediaUrlRequest): Promise<CreateChatMediaUrlResponse>;
|
|
40405
40636
|
/**
|
|
40406
40637
|
* @param request - CreateContactFlowRequest
|
|
40407
40638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -42363,6 +42594,17 @@ export default class Client extends OpenApi {
|
|
|
42363
42594
|
* @returns ProcessAliMeCallbackOfStagingResponse
|
|
42364
42595
|
*/
|
|
42365
42596
|
processAliMeCallbackOfStaging(request: ProcessAliMeCallbackOfStagingRequest): Promise<ProcessAliMeCallbackOfStagingResponse>;
|
|
42597
|
+
/**
|
|
42598
|
+
* @param request - ProcessCustomIMCallbackRequest
|
|
42599
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
42600
|
+
* @returns ProcessCustomIMCallbackResponse
|
|
42601
|
+
*/
|
|
42602
|
+
processCustomIMCallbackWithOptions(request: ProcessCustomIMCallbackRequest, runtime: $dara.RuntimeOptions): Promise<ProcessCustomIMCallbackResponse>;
|
|
42603
|
+
/**
|
|
42604
|
+
* @param request - ProcessCustomIMCallbackRequest
|
|
42605
|
+
* @returns ProcessCustomIMCallbackResponse
|
|
42606
|
+
*/
|
|
42607
|
+
processCustomIMCallback(request: ProcessCustomIMCallbackRequest): Promise<ProcessCustomIMCallbackResponse>;
|
|
42366
42608
|
/**
|
|
42367
42609
|
* @param request - PublishContactFlowRequest
|
|
42368
42610
|
* @param runtime - runtime options for this request RuntimeOptions
|