UNPKG

4.09 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12import { CreateAudienceGroupResponse } from "../model/createAudienceGroupResponse";
13import * as Types from "../../types";
14interface httpClientConfig {
15 baseURL?: string;
16 channelAccessToken: string;
17}
18export declare class ManageAudienceBlobClient {
19 private httpClient;
20 constructor(config: httpClientConfig);
21 private parseHTTPResponse;
22 /**
23 * Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
24 * @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
25 * @param audienceGroupId The audience ID.
26 * @param uploadDescription The description to register with the job
27 *
28 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file"> Documentation</a>
29 */
30 addUserIdsToAudience(file: Blob, audienceGroupId?: number, uploadDescription?: string): Promise<Types.MessageAPIResponseBase>;
31 /**
32 * Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file)..
33 * This method includes HttpInfo object to return additional information.
34 * @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
35 * @param audienceGroupId The audience ID.
36 * @param uploadDescription The description to register with the job
37 *
38 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file"> Documentation</a>
39 */
40 addUserIdsToAudienceWithHttpInfo(file: Blob, audienceGroupId?: number, uploadDescription?: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
41 /**
42 * Create audience for uploading user IDs (by file).
43 * @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
44 * @param description The audience\\\'s name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
45 * @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
46 * @param uploadDescription The description to register for the job (in `jobs[].description`).
47 *
48 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file"> Documentation</a>
49 */
50 createAudienceForUploadingUserIds(file: Blob, description?: string, isIfaAudience?: boolean, uploadDescription?: string): Promise<CreateAudienceGroupResponse>;
51 /**
52 * Create audience for uploading user IDs (by file)..
53 * This method includes HttpInfo object to return additional information.
54 * @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
55 * @param description The audience\\\'s name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
56 * @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
57 * @param uploadDescription The description to register for the job (in `jobs[].description`).
58 *
59 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file"> Documentation</a>
60 */
61 createAudienceForUploadingUserIdsWithHttpInfo(file: Blob, description?: string, isIfaAudience?: boolean, uploadDescription?: string): Promise<Types.ApiResponseType<CreateAudienceGroupResponse>>;
62}
63export {};