@alicloud/cams20200606 1.0.18 → 1.0.19
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 +239 -0
- package/dist/client.js +425 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +535 -0
package/dist/client.d.ts
CHANGED
|
@@ -615,6 +615,54 @@ export declare class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
615
615
|
[key: string]: any;
|
|
616
616
|
});
|
|
617
617
|
}
|
|
618
|
+
export declare class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
619
|
+
custSpaceId?: string;
|
|
620
|
+
custWabaId?: string;
|
|
621
|
+
isvCode?: string;
|
|
622
|
+
language?: string;
|
|
623
|
+
templateCode?: string;
|
|
624
|
+
templateType?: string;
|
|
625
|
+
static names(): {
|
|
626
|
+
[key: string]: string;
|
|
627
|
+
};
|
|
628
|
+
static types(): {
|
|
629
|
+
[key: string]: any;
|
|
630
|
+
};
|
|
631
|
+
constructor(map?: {
|
|
632
|
+
[key: string]: any;
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
export declare class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
636
|
+
code?: string;
|
|
637
|
+
data?: GetChatappTemplateDetailResponseBodyData;
|
|
638
|
+
message?: string;
|
|
639
|
+
requestId?: string;
|
|
640
|
+
static names(): {
|
|
641
|
+
[key: string]: string;
|
|
642
|
+
};
|
|
643
|
+
static types(): {
|
|
644
|
+
[key: string]: any;
|
|
645
|
+
};
|
|
646
|
+
constructor(map?: {
|
|
647
|
+
[key: string]: any;
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
export declare class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
651
|
+
headers: {
|
|
652
|
+
[key: string]: string;
|
|
653
|
+
};
|
|
654
|
+
statusCode: number;
|
|
655
|
+
body: GetChatappTemplateDetailResponseBody;
|
|
656
|
+
static names(): {
|
|
657
|
+
[key: string]: string;
|
|
658
|
+
};
|
|
659
|
+
static types(): {
|
|
660
|
+
[key: string]: any;
|
|
661
|
+
};
|
|
662
|
+
constructor(map?: {
|
|
663
|
+
[key: string]: any;
|
|
664
|
+
});
|
|
665
|
+
}
|
|
618
666
|
export declare class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
619
667
|
custSpaceId?: string;
|
|
620
668
|
static names(): {
|
|
@@ -836,6 +884,75 @@ export declare class IsvGetAppIdResponse extends $tea.Model {
|
|
|
836
884
|
[key: string]: any;
|
|
837
885
|
});
|
|
838
886
|
}
|
|
887
|
+
export declare class ListChatappTemplateRequest extends $tea.Model {
|
|
888
|
+
auditStatus?: string;
|
|
889
|
+
custSpaceId?: string;
|
|
890
|
+
custWabaId?: string;
|
|
891
|
+
isvCode?: string;
|
|
892
|
+
language?: string;
|
|
893
|
+
name?: string;
|
|
894
|
+
page?: ListChatappTemplateRequestPage;
|
|
895
|
+
templateType?: string;
|
|
896
|
+
static names(): {
|
|
897
|
+
[key: string]: string;
|
|
898
|
+
};
|
|
899
|
+
static types(): {
|
|
900
|
+
[key: string]: any;
|
|
901
|
+
};
|
|
902
|
+
constructor(map?: {
|
|
903
|
+
[key: string]: any;
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
export declare class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
907
|
+
auditStatus?: string;
|
|
908
|
+
custSpaceId?: string;
|
|
909
|
+
custWabaId?: string;
|
|
910
|
+
isvCode?: string;
|
|
911
|
+
language?: string;
|
|
912
|
+
name?: string;
|
|
913
|
+
pageShrink?: string;
|
|
914
|
+
templateType?: string;
|
|
915
|
+
static names(): {
|
|
916
|
+
[key: string]: string;
|
|
917
|
+
};
|
|
918
|
+
static types(): {
|
|
919
|
+
[key: string]: any;
|
|
920
|
+
};
|
|
921
|
+
constructor(map?: {
|
|
922
|
+
[key: string]: any;
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
export declare class ListChatappTemplateResponseBody extends $tea.Model {
|
|
926
|
+
code?: string;
|
|
927
|
+
listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
|
|
928
|
+
message?: string;
|
|
929
|
+
requestId?: string;
|
|
930
|
+
static names(): {
|
|
931
|
+
[key: string]: string;
|
|
932
|
+
};
|
|
933
|
+
static types(): {
|
|
934
|
+
[key: string]: any;
|
|
935
|
+
};
|
|
936
|
+
constructor(map?: {
|
|
937
|
+
[key: string]: any;
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
export declare class ListChatappTemplateResponse extends $tea.Model {
|
|
941
|
+
headers: {
|
|
942
|
+
[key: string]: string;
|
|
943
|
+
};
|
|
944
|
+
statusCode: number;
|
|
945
|
+
body: ListChatappTemplateResponseBody;
|
|
946
|
+
static names(): {
|
|
947
|
+
[key: string]: string;
|
|
948
|
+
};
|
|
949
|
+
static types(): {
|
|
950
|
+
[key: string]: any;
|
|
951
|
+
};
|
|
952
|
+
constructor(map?: {
|
|
953
|
+
[key: string]: any;
|
|
954
|
+
});
|
|
955
|
+
}
|
|
839
956
|
export declare class ModifyChatappTemplateRequest extends $tea.Model {
|
|
840
957
|
category?: string;
|
|
841
958
|
components?: ModifyChatappTemplateRequestComponents[];
|
|
@@ -1747,6 +1864,64 @@ export declare class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
1747
1864
|
[key: string]: any;
|
|
1748
1865
|
});
|
|
1749
1866
|
}
|
|
1867
|
+
export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
1868
|
+
phoneNumber?: string;
|
|
1869
|
+
text?: string;
|
|
1870
|
+
type?: string;
|
|
1871
|
+
url?: string;
|
|
1872
|
+
urlType?: string;
|
|
1873
|
+
static names(): {
|
|
1874
|
+
[key: string]: string;
|
|
1875
|
+
};
|
|
1876
|
+
static types(): {
|
|
1877
|
+
[key: string]: any;
|
|
1878
|
+
};
|
|
1879
|
+
constructor(map?: {
|
|
1880
|
+
[key: string]: any;
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
export declare class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
1884
|
+
buttons?: GetChatappTemplateDetailResponseBodyDataComponentsButtons[];
|
|
1885
|
+
caption?: string;
|
|
1886
|
+
duration?: number;
|
|
1887
|
+
fileName?: string;
|
|
1888
|
+
fileType?: string;
|
|
1889
|
+
format?: string;
|
|
1890
|
+
text?: string;
|
|
1891
|
+
thumbUrl?: string;
|
|
1892
|
+
type?: string;
|
|
1893
|
+
url?: string;
|
|
1894
|
+
static names(): {
|
|
1895
|
+
[key: string]: string;
|
|
1896
|
+
};
|
|
1897
|
+
static types(): {
|
|
1898
|
+
[key: string]: any;
|
|
1899
|
+
};
|
|
1900
|
+
constructor(map?: {
|
|
1901
|
+
[key: string]: any;
|
|
1902
|
+
});
|
|
1903
|
+
}
|
|
1904
|
+
export declare class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
1905
|
+
auditStatus?: string;
|
|
1906
|
+
category?: string;
|
|
1907
|
+
components?: GetChatappTemplateDetailResponseBodyDataComponents[];
|
|
1908
|
+
example?: {
|
|
1909
|
+
[key: string]: string;
|
|
1910
|
+
};
|
|
1911
|
+
language?: string;
|
|
1912
|
+
name?: string;
|
|
1913
|
+
templateCode?: string;
|
|
1914
|
+
templateType?: string;
|
|
1915
|
+
static names(): {
|
|
1916
|
+
[key: string]: string;
|
|
1917
|
+
};
|
|
1918
|
+
static types(): {
|
|
1919
|
+
[key: string]: any;
|
|
1920
|
+
};
|
|
1921
|
+
constructor(map?: {
|
|
1922
|
+
[key: string]: any;
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1750
1925
|
export declare class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
1751
1926
|
accessKeyId?: string;
|
|
1752
1927
|
accessKeySecret?: string;
|
|
@@ -1792,6 +1967,36 @@ export declare class GetPhoneNumberVerificationStatusResponseBodyData extends $t
|
|
|
1792
1967
|
[key: string]: any;
|
|
1793
1968
|
});
|
|
1794
1969
|
}
|
|
1970
|
+
export declare class ListChatappTemplateRequestPage extends $tea.Model {
|
|
1971
|
+
index?: number;
|
|
1972
|
+
size?: number;
|
|
1973
|
+
static names(): {
|
|
1974
|
+
[key: string]: string;
|
|
1975
|
+
};
|
|
1976
|
+
static types(): {
|
|
1977
|
+
[key: string]: any;
|
|
1978
|
+
};
|
|
1979
|
+
constructor(map?: {
|
|
1980
|
+
[key: string]: any;
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
1984
|
+
auditStatus?: string;
|
|
1985
|
+
category?: string;
|
|
1986
|
+
language?: string;
|
|
1987
|
+
templateCode?: string;
|
|
1988
|
+
templateName?: string;
|
|
1989
|
+
templateType?: string;
|
|
1990
|
+
static names(): {
|
|
1991
|
+
[key: string]: string;
|
|
1992
|
+
};
|
|
1993
|
+
static types(): {
|
|
1994
|
+
[key: string]: any;
|
|
1995
|
+
};
|
|
1996
|
+
constructor(map?: {
|
|
1997
|
+
[key: string]: any;
|
|
1998
|
+
});
|
|
1999
|
+
}
|
|
1795
2000
|
export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
1796
2001
|
phoneNumber?: string;
|
|
1797
2002
|
text?: string;
|
|
@@ -2118,6 +2323,23 @@ export default class Client extends OpenApi {
|
|
|
2118
2323
|
* @return DeleteChatappTemplateResponse
|
|
2119
2324
|
*/
|
|
2120
2325
|
deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
|
|
2326
|
+
/**
|
|
2327
|
+
* ### QPS limit
|
|
2328
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
2329
|
+
*
|
|
2330
|
+
* @param request GetChatappTemplateDetailRequest
|
|
2331
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2332
|
+
* @return GetChatappTemplateDetailResponse
|
|
2333
|
+
*/
|
|
2334
|
+
getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
|
|
2335
|
+
/**
|
|
2336
|
+
* ### QPS limit
|
|
2337
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
2338
|
+
*
|
|
2339
|
+
* @param request GetChatappTemplateDetailRequest
|
|
2340
|
+
* @return GetChatappTemplateDetailResponse
|
|
2341
|
+
*/
|
|
2342
|
+
getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
|
|
2121
2343
|
getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse>;
|
|
2122
2344
|
getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse>;
|
|
2123
2345
|
/**
|
|
@@ -2180,6 +2402,23 @@ export default class Client extends OpenApi {
|
|
|
2180
2402
|
* @return IsvGetAppIdResponse
|
|
2181
2403
|
*/
|
|
2182
2404
|
isvGetAppId(request: IsvGetAppIdRequest): Promise<IsvGetAppIdResponse>;
|
|
2405
|
+
/**
|
|
2406
|
+
* ### QPS limit
|
|
2407
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
2408
|
+
*
|
|
2409
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
2410
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2411
|
+
* @return ListChatappTemplateResponse
|
|
2412
|
+
*/
|
|
2413
|
+
listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse>;
|
|
2414
|
+
/**
|
|
2415
|
+
* ### QPS limit
|
|
2416
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
2417
|
+
*
|
|
2418
|
+
* @param request ListChatappTemplateRequest
|
|
2419
|
+
* @return ListChatappTemplateResponse
|
|
2420
|
+
*/
|
|
2421
|
+
listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
|
|
2183
2422
|
/**
|
|
2184
2423
|
* ### QPS limit
|
|
2185
2424
|
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|