UNPKG

1.31 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 */
12export type NumberOfMessagesResponse = {
13 /**
14 * Aggregation process status. One of: `ready`: The number of messages can be obtained. `unready`: We haven\'t finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day. `unavailable_for_privacy`: The total number of messages on the specified day is less than 20. `out_of_service`: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018).
15 */
16 status: NumberOfMessagesResponse.StatusEnum;
17 /**
18 * The number of messages delivered using the phone number on the date specified in `date`. The response has this property only when the value of `status` is `ready`.
19 */
20 success?: number;
21};
22export declare namespace NumberOfMessagesResponse {
23 type StatusEnum = "ready" | "unready" | "unavailable_for_privacy" | "out_of_service";
24}