Skip to content

Migrate messaging api to latest #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions core/line_messaging_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: 0.0.3
- Package version: 0.0.3
- Generator version: 7.11.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`

## Installation
Expand All @@ -25,14 +26,12 @@ All URIs are relative to *https://api.line.me*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*MessagingApiApi* | [**audience_match**](docs/MessagingApiApi.md#audience_match) | **Post** /bot/ad/multicast/phone |
*MessagingApiApi* | [**broadcast**](docs/MessagingApiApi.md#broadcast) | **Post** /v2/bot/message/broadcast |
*MessagingApiApi* | [**cancel_default_rich_menu**](docs/MessagingApiApi.md#cancel_default_rich_menu) | **Delete** /v2/bot/user/all/richmenu |
*MessagingApiApi* | [**create_rich_menu**](docs/MessagingApiApi.md#create_rich_menu) | **Post** /v2/bot/richmenu |
*MessagingApiApi* | [**create_rich_menu_alias**](docs/MessagingApiApi.md#create_rich_menu_alias) | **Post** /v2/bot/richmenu/alias |
*MessagingApiApi* | [**delete_rich_menu**](docs/MessagingApiApi.md#delete_rich_menu) | **Delete** /v2/bot/richmenu/{richMenuId} |
*MessagingApiApi* | [**delete_rich_menu_alias**](docs/MessagingApiApi.md#delete_rich_menu_alias) | **Delete** /v2/bot/richmenu/alias/{richMenuAliasId} |
*MessagingApiApi* | [**get_ad_phone_message_statistics**](docs/MessagingApiApi.md#get_ad_phone_message_statistics) | **Get** /v2/bot/message/delivery/ad_phone |
*MessagingApiApi* | [**get_aggregation_unit_name_list**](docs/MessagingApiApi.md#get_aggregation_unit_name_list) | **Get** /v2/bot/message/aggregation/list |
*MessagingApiApi* | [**get_aggregation_unit_usage**](docs/MessagingApiApi.md#get_aggregation_unit_usage) | **Get** /v2/bot/message/aggregation/info |
*MessagingApiApi* | [**get_bot_info**](docs/MessagingApiApi.md#get_bot_info) | **Get** /v2/bot/info |
Expand All @@ -42,6 +41,7 @@ Class | Method | HTTP request | Description
*MessagingApiApi* | [**get_group_member_profile**](docs/MessagingApiApi.md#get_group_member_profile) | **Get** /v2/bot/group/{groupId}/member/{userId} |
*MessagingApiApi* | [**get_group_members_ids**](docs/MessagingApiApi.md#get_group_members_ids) | **Get** /v2/bot/group/{groupId}/members/ids |
*MessagingApiApi* | [**get_group_summary**](docs/MessagingApiApi.md#get_group_summary) | **Get** /v2/bot/group/{groupId}/summary |
*MessagingApiApi* | [**get_joined_membership_users**](docs/MessagingApiApi.md#get_joined_membership_users) | **Get** /v2/bot/membership/{membershipId}/users/ids |
*MessagingApiApi* | [**get_membership_list**](docs/MessagingApiApi.md#get_membership_list) | **Get** /v2/bot/membership/list |
*MessagingApiApi* | [**get_membership_subscription**](docs/MessagingApiApi.md#get_membership_subscription) | **Get** /v2/bot/membership/subscription/{userId} |
*MessagingApiApi* | [**get_message_quota**](docs/MessagingApiApi.md#get_message_quota) | **Get** /v2/bot/message/quota |
Expand Down Expand Up @@ -101,12 +101,12 @@ Class | Method | HTTP request | Description
- [Action](docs/Action.md)
- [AgeDemographic](docs/AgeDemographic.md)
- [AgeDemographicFilter](docs/AgeDemographicFilter.md)
- [AllMentionTarget](docs/AllMentionTarget.md)
- [AltUri](docs/AltUri.md)
- [AppTypeDemographic](docs/AppTypeDemographic.md)
- [AppTypeDemographicFilter](docs/AppTypeDemographicFilter.md)
- [AreaDemographic](docs/AreaDemographic.md)
- [AreaDemographicFilter](docs/AreaDemographicFilter.md)
- [AudienceMatchMessagesRequest](docs/AudienceMatchMessagesRequest.md)
- [AudienceRecipient](docs/AudienceRecipient.md)
- [AudioMessage](docs/AudioMessage.md)
- [BotInfoResponse](docs/BotInfoResponse.md)
Expand All @@ -124,6 +124,7 @@ Class | Method | HTTP request | Description
- [DatetimePickerAction](docs/DatetimePickerAction.md)
- [DemographicFilter](docs/DemographicFilter.md)
- [Emoji](docs/Emoji.md)
- [EmojiSubstitutionObject](docs/EmojiSubstitutionObject.md)
- [ErrorDetail](docs/ErrorDetail.md)
- [ErrorResponse](docs/ErrorResponse.md)
- [Filter](docs/Filter.md)
Expand Down Expand Up @@ -160,6 +161,7 @@ Class | Method | HTTP request | Description
- [GetAggregationUnitNameListResponse](docs/GetAggregationUnitNameListResponse.md)
- [GetAggregationUnitUsageResponse](docs/GetAggregationUnitUsageResponse.md)
- [GetFollowersResponse](docs/GetFollowersResponse.md)
- [GetJoinedMembershipUsersResponse](docs/GetJoinedMembershipUsersResponse.md)
- [GetMembershipSubscriptionResponse](docs/GetMembershipSubscriptionResponse.md)
- [GetMessageContentTranscodingResponse](docs/GetMessageContentTranscodingResponse.md)
- [GetWebhookEndpointResponse](docs/GetWebhookEndpointResponse.md)
Expand All @@ -183,6 +185,8 @@ Class | Method | HTTP request | Description
- [MembersIdsResponse](docs/MembersIdsResponse.md)
- [Membership](docs/Membership.md)
- [MembershipListResponse](docs/MembershipListResponse.md)
- [MentionSubstitutionObject](docs/MentionSubstitutionObject.md)
- [MentionTarget](docs/MentionTarget.md)
- [Message](docs/Message.md)
- [MessageAction](docs/MessageAction.md)
- [MessageImagemapAction](docs/MessageImagemapAction.md)
Expand Down Expand Up @@ -236,16 +240,19 @@ Class | Method | HTTP request | Description
- [Subscription](docs/Subscription.md)
- [SubscriptionPeriodDemographic](docs/SubscriptionPeriodDemographic.md)
- [SubscriptionPeriodDemographicFilter](docs/SubscriptionPeriodDemographicFilter.md)
- [SubstitutionObject](docs/SubstitutionObject.md)
- [Template](docs/Template.md)
- [TemplateImageAspectRatio](docs/TemplateImageAspectRatio.md)
- [TemplateImageSize](docs/TemplateImageSize.md)
- [TemplateMessage](docs/TemplateMessage.md)
- [TestWebhookEndpointRequest](docs/TestWebhookEndpointRequest.md)
- [TestWebhookEndpointResponse](docs/TestWebhookEndpointResponse.md)
- [TextMessage](docs/TextMessage.md)
- [TextMessageV2](docs/TextMessageV2.md)
- [UpdateRichMenuAliasRequest](docs/UpdateRichMenuAliasRequest.md)
- [UriAction](docs/UriAction.md)
- [UriImagemapAction](docs/UriImagemapAction.md)
- [UserMentionTarget](docs/UserMentionTarget.md)
- [UserProfileResponse](docs/UserProfileResponse.md)
- [ValidateMessageRequest](docs/ValidateMessageRequest.md)
- [VideoMessage](docs/VideoMessage.md)
Expand Down
8 changes: 3 additions & 5 deletions core/line_messaging_api/docs/Action.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Action

## Properties
## Enum Variants

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | Option<**String**> | Type of action | [optional]
**label** | Option<**String**> | Label for the action. | [optional]
| Name | Value |
|---- | -----|

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
19 changes: 16 additions & 3 deletions core/line_messaging_api/docs/AgeDemographic.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# AgeDemographic

## Properties
## Enum Variants

| Name | Value |
|---- | -----|
| Age15 | age_15 |
| Age20 | age_20 |
| Age25 | age_25 |
| Age30 | age_30 |
| Age35 | age_35 |
| Age40 | age_40 |
| Age45 | age_45 |
| Age50 | age_50 |
| Age55 | age_55 |
| Age60 | age_60 |
| Age65 | age_65 |
| Age70 | age_70 |

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions core/line_messaging_api/docs/AgeDemographicFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | Option<**String**> | Type of demographic filter | [optional]
**gte** | Option<[**crate::models::AgeDemographic**](AgeDemographic.md)> | | [optional]
**lt** | Option<[**crate::models::AgeDemographic**](AgeDemographic.md)> | | [optional]
**gte** | Option<[**models::AgeDemographic**](AgeDemographic.md)> | | [optional]
**lt** | Option<[**models::AgeDemographic**](AgeDemographic.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
11 changes: 11 additions & 0 deletions core/line_messaging_api/docs/AllMentionTarget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AllMentionTarget

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | Target to be mentioned |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


9 changes: 6 additions & 3 deletions core/line_messaging_api/docs/AppTypeDemographic.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# AppTypeDemographic

## Properties
## Enum Variants

| Name | Value |
|---- | -----|
| Ios | ios |
| Android | android |

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/AppTypeDemographicFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | Option<**String**> | Type of demographic filter | [optional]
**one_of** | Option<[**Vec<crate::models::AppTypeDemographic>**](AppTypeDemographic.md)> | | [optional]
**one_of** | Option<[**Vec<models::AppTypeDemographic>**](AppTypeDemographic.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
96 changes: 93 additions & 3 deletions core/line_messaging_api/docs/AreaDemographic.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,99 @@
# AreaDemographic

## Properties
## Enum Variants

| Name | Value |
|---- | -----|
| HOKKAIDO | jp_01 |
| AOMORI | jp_02 |
| IWATE | jp_03 |
| MIYAGI | jp_04 |
| AKITA | jp_05 |
| YAMAGATA | jp_06 |
| FUKUSHIMA | jp_07 |
| IBARAKI | jp_08 |
| TOCHIGI | jp_09 |
| GUNMA | jp_10 |
| SAITAMA | jp_11 |
| CHIBA | jp_12 |
| TOKYO | jp_13 |
| KANAGAWA | jp_14 |
| NIIGATA | jp_15 |
| TOYAMA | jp_16 |
| ISHIKAWA | jp_17 |
| FUKUI | jp_18 |
| YAMANASHI | jp_19 |
| NAGANO | jp_20 |
| GIFU | jp_21 |
| SHIZUOKA | jp_22 |
| AICHI | jp_23 |
| MIE | jp_24 |
| SHIGA | jp_25 |
| KYOTO | jp_26 |
| OSAKA | jp_27 |
| HYOUGO | jp_28 |
| NARA | jp_29 |
| WAKAYAMA | jp_30 |
| TOTTORI | jp_31 |
| SHIMANE | jp_32 |
| OKAYAMA | jp_33 |
| HIROSHIMA | jp_34 |
| YAMAGUCHI | jp_35 |
| TOKUSHIMA | jp_36 |
| KAGAWA | jp_37 |
| EHIME | jp_38 |
| KOUCHI | jp_39 |
| FUKUOKA | jp_40 |
| SAGA | jp_41 |
| NAGASAKI | jp_42 |
| KUMAMOTO | jp_43 |
| OITA | jp_44 |
| MIYAZAKI | jp_45 |
| KAGOSHIMA | jp_46 |
| OKINAWA | jp_47 |
| TAIPEI_CITY | tw_01 |
| NEW_TAIPEI_CITY | tw_02 |
| TAOYUAN_CITY | tw_03 |
| TAICHUNG_CITY | tw_04 |
| TAINAN_CITY | tw_05 |
| KAOHSIUNG_CITY | tw_06 |
| KEELUNG_CITY | tw_07 |
| HSINCHU_CITY | tw_08 |
| CHIAYI_CITY | tw_09 |
| HSINCHU_COUNTY | tw_10 |
| MIAOLI_COUNTY | tw_11 |
| CHANGHUA_COUNTY | tw_12 |
| NANTOU_COUNTY | tw_13 |
| YUNLIN_COUNTY | tw_14 |
| CHIAYI_COUNTY | tw_15 |
| PINGTUNG_COUNTY | tw_16 |
| YILAN_COUNTY | tw_17 |
| HUALIEN_COUNTY | tw_18 |
| TAITUNG_COUNTY | tw_19 |
| PENGHU_COUNTY | tw_20 |
| KINMEN_COUNTY | tw_21 |
| LIENCHIANG_COUNTY | tw_22 |
| BANGKOK | th_01 |
| PATTAYA | th_02 |
| NORTHERN | th_03 |
| CENTRAL | th_04 |
| SOUTHERN | th_05 |
| EASTERN | th_06 |
| NORTHEASTERN | th_07 |
| WESTERN | th_08 |
| BALI | id_01 |
| BANDUNG | id_02 |
| BANJARMASIN | id_03 |
| JABODETABEK | id_04 |
| MAKASSAR | id_05 |
| MEDAN | id_06 |
| PALEMBANG | id_07 |
| SAMARINDA | id_08 |
| SEMARANG | id_09 |
| SURABAYA | id_10 |
| YOGYAKARTA | id_11 |
| LAINNYA | id_12 |

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/AreaDemographicFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | Option<**String**> | Type of demographic filter | [optional]
**one_of** | Option<[**Vec<crate::models::AreaDemographic>**](AreaDemographic.md)> | | [optional]
**one_of** | Option<[**Vec<models::AreaDemographic>**](AreaDemographic.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions core/line_messaging_api/docs/AudioMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | Type of message |
**quick_reply** | Option<[**crate::models::QuickReply**](QuickReply.md)> | | [optional]
**sender** | Option<[**crate::models::Sender**](Sender.md)> | | [optional]
**quick_reply** | Option<[**models::QuickReply**](QuickReply.md)> | | [optional]
**sender** | Option<[**models::Sender**](Sender.md)> | | [optional]
**original_content_url** | **String** | |
**duration** | **i64** | |

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/BroadcastRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**messages** | [**Vec<crate::models::Message>**](Message.md) | List of Message objects. |
**messages** | [**Vec<models::Message>**](Message.md) | List of Message objects. |
**notification_disabled** | Option<**bool**> | `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. | [optional][default to false]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions core/line_messaging_api/docs/ButtonsTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Name | Type | Description | Notes
**image_background_color** | Option<**String**> | | [optional]
**title** | Option<**String**> | | [optional]
**text** | **String** | |
**default_action** | Option<[**crate::models::Action**](Action.md)> | | [optional]
**actions** | [**Vec<crate::models::Action>**](Action.md) | |
**default_action** | Option<[**models::Action**](Action.md)> | | [optional]
**actions** | [**Vec<models::Action>**](Action.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions core/line_messaging_api/docs/CarouselColumn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Name | Type | Description | Notes
**image_background_color** | Option<**String**> | | [optional]
**title** | Option<**String**> | | [optional]
**text** | **String** | |
**default_action** | Option<[**crate::models::Action**](Action.md)> | | [optional]
**actions** | [**Vec<crate::models::Action>**](Action.md) | |
**default_action** | Option<[**models::Action**](Action.md)> | | [optional]
**actions** | [**Vec<models::Action>**](Action.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/CarouselTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | |
**columns** | [**Vec<crate::models::CarouselColumn>**](CarouselColumn.md) | |
**columns** | [**Vec<models::CarouselColumn>**](CarouselColumn.md) | |
**image_aspect_ratio** | Option<**String**> | | [optional]
**image_size** | Option<**String**> | | [optional]

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/ClipboardImagemapAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | |
**area** | [**crate::models::ImagemapArea**](ImagemapArea.md) | |
**area** | [**models::ImagemapArea**](ImagemapArea.md) | |
**clipboard_text** | **String** | Text that is copied to the clipboard. Max character limit: 1000 |
**label** | Option<**String**> | | [optional]

Expand Down
2 changes: 1 addition & 1 deletion core/line_messaging_api/docs/ConfirmTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | |
**text** | **String** | |
**actions** | [**Vec<crate::models::Action>**](Action.md) | |
**actions** | [**Vec<models::Action>**](Action.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
7 changes: 3 additions & 4 deletions core/line_messaging_api/docs/DemographicFilter.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# DemographicFilter

## Properties
## Enum Variants

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | Option<**String**> | Type of demographic filter | [optional]
| Name | Value |
|---- | -----|

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
13 changes: 13 additions & 0 deletions core/line_messaging_api/docs/EmojiSubstitutionObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EmojiSubstitutionObject

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | Type of substitution object |
**product_id** | **String** | |
**emoji_id** | **String** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


4 changes: 2 additions & 2 deletions core/line_messaging_api/docs/ErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **String** | Message containing information about the error. |
**details** | Option<[**Vec<crate::models::ErrorDetail>**](ErrorDetail.md)> | An array of error details. If the array is empty, this property will not be included in the response. | [optional]
**sent_messages** | Option<[**Vec<crate::models::SentMessage>**](SentMessage.md)> | Array of sent messages. | [optional]
**details** | Option<[**Vec<models::ErrorDetail>**](ErrorDetail.md)> | An array of error details. If the array is empty, this property will not be included in the response. | [optional]
**sent_messages** | Option<[**Vec<models::SentMessage>**](SentMessage.md)> | Array of sent messages. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading