diff --git a/lib/line/bot/v2/manage_audience/.openapi-generator/FILES b/lib/line/bot/v2/manage_audience/.openapi-generator/FILES
index f5052308..8204649d 100644
--- a/lib/line/bot/v2/manage_audience/.openapi-generator/FILES
+++ b/lib/line/bot/v2/manage_audience/.openapi-generator/FILES
@@ -6,7 +6,6 @@ model/adaccount.rb
model/add_audience_to_audience_group_request.rb
model/audience.rb
model/audience_group.rb
-model/audience_group_authority_level.rb
model/audience_group_create_route.rb
model/audience_group_failed_type.rb
model/audience_group_job.rb
@@ -26,9 +25,7 @@ model/detailed_owner.rb
model/error_detail.rb
model/error_response.rb
model/get_audience_data_response.rb
-model/get_audience_group_authority_level_response.rb
model/get_audience_groups_response.rb
model/get_shared_audience_data_response.rb
model/get_shared_audience_groups_response.rb
-model/update_audience_group_authority_level_request.rb
model/update_audience_group_description_request.rb
diff --git a/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb b/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb
index 0879175a..0c0d723a 100644
--- a/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb
+++ b/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb
@@ -45,50 +45,6 @@ def initialize(base_url: nil, channel_access_token:, http_options: {})
)
end
- # Activate audience
- # This requests to PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/activate
- #
- # @param audience_group_id [Integer] The audience ID.
- # @see https://developers.line.biz/en/reference/messaging-api/#activate-audience-group
- # @return [response body, response status code, and response headers]
- # @return [Array(String(nilable), Integer, Hash{String => String})] when HTTP status code is 202
- def activate_audience_group_with_http_info(
- audience_group_id:
- )
- path = "/v2/bot/audienceGroup/{audienceGroupId}/activate"
- .gsub(/{audienceGroupId}/, audience_group_id.to_s)
-
- response = @http_client.put(
- path: path,
- )
-
- response_body = case response.code.to_i
- when 202
- response.body
- else
- response.body
- end
-
- [response_body, response.code.to_i, response.each_header.to_h]
- end
-
- # Activate audience
- # This requests to PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/activate
- # When you want to get HTTP status code or response headers, use {#activate_audience_group_with_http_info} instead of this.
- #
- # @param audience_group_id [Integer] The audience ID.
- # @see https://developers.line.biz/en/reference/messaging-api/#activate-audience-group
- # @return [String, nil] when HTTP status code is 202
- def activate_audience_group(
- audience_group_id:
- )
- response_body, _status_code, _headers = activate_audience_group_with_http_info(
- audience_group_id: audience_group_id
- )
-
- response_body
- end
-
# Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
# This requests to PUT https://api.line.me/v2/bot/audienceGroup/upload
#
@@ -377,48 +333,6 @@ def get_audience_data(
response_body
end
- # Get the authority level of the audience
- # This requests to GET https://api.line.me/v2/bot/audienceGroup/authorityLevel
- #
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- # @return [response body, response status code, and response headers]
- # @return [Array(Line::Bot::V2::ManageAudience::GetAudienceGroupAuthorityLevelResponse, Integer, Hash{String => String})] when HTTP status code is 200
- def get_audience_group_authority_level_with_http_info(
- )
- path = "/v2/bot/audienceGroup/authorityLevel"
-
- response = @http_client.get(
- path: path,
- )
-
- response_body = case response.code.to_i
- when 200
- json = Line::Bot::V2::Utils.deep_underscore(JSON.parse(response.body))
- json.transform_keys! do |key|
- Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
- end
- Line::Bot::V2::ManageAudience::GetAudienceGroupAuthorityLevelResponse.new(**json) # steep:ignore InsufficientKeywordArguments
- else
- response.body
- end
-
- [response_body, response.code.to_i, response.each_header.to_h]
- end
-
- # Get the authority level of the audience
- # This requests to GET https://api.line.me/v2/bot/audienceGroup/authorityLevel
- # When you want to get HTTP status code or response headers, use {#get_audience_group_authority_level_with_http_info} instead of this.
- #
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- # @return [Line::Bot::V2::ManageAudience::GetAudienceGroupAuthorityLevelResponse] when HTTP status code is 200
- def get_audience_group_authority_level(
- )
- response_body, _status_code, _headers = get_audience_group_authority_level_with_http_info(
- )
-
- response_body
- end
-
# Gets data for more than one audience.
# This requests to GET https://api.line.me/v2/bot/audienceGroup/list
#
@@ -564,6 +478,7 @@ def get_shared_audience_data(
# @param status [AudienceGroupStatus, nil] The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
# @param size [Integer, nil] The number of audiences per page. Default: 20 Max: 40
# @param create_route [AudienceGroupCreateRoute, nil] How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
+ # @param includes_owned_audience_groups [Boolean, nil] true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
# @see https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list
# @return [response body, response status code, and response headers]
# @return [Array(Line::Bot::V2::ManageAudience::GetSharedAudienceGroupsResponse, Integer, Hash{String => String})] when HTTP status code is 200
@@ -572,7 +487,8 @@ def get_shared_audience_groups_with_http_info(
description: nil,
status: nil,
size: nil,
- create_route: nil
+ create_route: nil,
+ includes_owned_audience_groups: nil
)
path = "/v2/bot/audienceGroup/shared/list"
query_params = {
@@ -580,7 +496,8 @@ def get_shared_audience_groups_with_http_info(
"description": description,
"status": status,
"size": size,
- "createRoute": create_route
+ "createRoute": create_route,
+ "includesOwnedAudienceGroups": includes_owned_audience_groups
}.compact
response = @http_client.get(
@@ -611,6 +528,7 @@ def get_shared_audience_groups_with_http_info(
# @param status [AudienceGroupStatus, nil] The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
# @param size [Integer, nil] The number of audiences per page. Default: 20 Max: 40
# @param create_route [AudienceGroupCreateRoute, nil] How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
+ # @param includes_owned_audience_groups [Boolean, nil] true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
# @see https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list
# @return [Line::Bot::V2::ManageAudience::GetSharedAudienceGroupsResponse] when HTTP status code is 200
def get_shared_audience_groups(
@@ -618,58 +536,16 @@ def get_shared_audience_groups(
description: nil,
status: nil,
size: nil,
- create_route: nil
+ create_route: nil,
+ includes_owned_audience_groups: nil
)
response_body, _status_code, _headers = get_shared_audience_groups_with_http_info(
page: page,
description: description,
status: status,
size: size,
- create_route: create_route
- )
-
- response_body
- end
-
- # Change the authority level of the audience
- # This requests to PUT https://api.line.me/v2/bot/audienceGroup/authorityLevel
- #
- # @param update_audience_group_authority_level_request [UpdateAudienceGroupAuthorityLevelRequest]
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- # @return [response body, response status code, and response headers]
- # @return [Array(String(nilable), Integer, Hash{String => String})] when HTTP status code is 200
- def update_audience_group_authority_level_with_http_info(
- update_audience_group_authority_level_request:
- )
- path = "/v2/bot/audienceGroup/authorityLevel"
-
- response = @http_client.put(
- path: path,
- body_params: update_audience_group_authority_level_request,
- )
-
- response_body = case response.code.to_i
- when 200
- response.body
- else
- response.body
- end
-
- [response_body, response.code.to_i, response.each_header.to_h]
- end
-
- # Change the authority level of the audience
- # This requests to PUT https://api.line.me/v2/bot/audienceGroup/authorityLevel
- # When you want to get HTTP status code or response headers, use {#update_audience_group_authority_level_with_http_info} instead of this.
- #
- # @param update_audience_group_authority_level_request [UpdateAudienceGroupAuthorityLevelRequest]
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- # @return [String, nil] when HTTP status code is 200
- def update_audience_group_authority_level(
- update_audience_group_authority_level_request:
- )
- response_body, _status_code, _headers = update_audience_group_authority_level_with_http_info(
- update_audience_group_authority_level_request: update_audience_group_authority_level_request
+ create_route: create_route,
+ includes_owned_audience_groups: includes_owned_audience_groups
)
response_body
diff --git a/lib/line/bot/v2/manage_audience/core.rb b/lib/line/bot/v2/manage_audience/core.rb
index 981db6c9..4e703212 100644
--- a/lib/line/bot/v2/manage_audience/core.rb
+++ b/lib/line/bot/v2/manage_audience/core.rb
@@ -13,7 +13,6 @@
require_relative './model/add_audience_to_audience_group_request'
require_relative './model/audience'
require_relative './model/audience_group'
-require_relative './model/audience_group_authority_level'
require_relative './model/audience_group_create_route'
require_relative './model/audience_group_failed_type'
require_relative './model/audience_group_job'
@@ -33,11 +32,9 @@
require_relative './model/error_detail'
require_relative './model/error_response'
require_relative './model/get_audience_data_response'
-require_relative './model/get_audience_group_authority_level_response'
require_relative './model/get_audience_groups_response'
require_relative './model/get_shared_audience_data_response'
require_relative './model/get_shared_audience_groups_response'
-require_relative './model/update_audience_group_authority_level_request'
require_relative './model/update_audience_group_description_request'
# APIs
diff --git a/lib/line/bot/v2/manage_audience/model/audience_group_authority_level.rb b/lib/line/bot/v2/manage_audience/model/audience_group_authority_level.rb
deleted file mode 100644
index a74d3392..00000000
--- a/lib/line/bot/v2/manage_audience/model/audience_group_authority_level.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # authority level
- class AudienceGroupAuthorityLevel
-
- def initialize(
- **dynamic_attributes
- )
-
-
- dynamic_attributes.each do |key, value|
- self.class.attr_accessor key
-
- if value.is_a?(Hash)
- struct_klass = Struct.new(*value.keys.map(&:to_sym))
- struct_values = value.map { |_k, v| v.is_a?(Hash) ? Line::Bot::V2::Utils.hash_to_struct(v) : v }
- instance_variable_set("@#{key}", struct_klass.new(*struct_values))
- else
- instance_variable_set("@#{key}", value)
- end
- end
- end
-
- def self.create(args) # steep:ignore
- return new(**args) # steep:ignore
- end
-
- # @param other [Object] Object to compare
- # @return [Boolean] true if the objects are equal, false otherwise
- def ==(other)
- return false unless self.class == other.class
-
- instance_variables.all? do |var|
- instance_variable_get(var) == other.instance_variable_get(var)
- end
- end
-
- # @return [Integer] Hash code of the object
- def hash
- [self.class, *instance_variables.map { |var| instance_variable_get(var) }].hash
- end
- end
- end
- end
- end
-end
diff --git a/lib/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rb b/lib/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rb
deleted file mode 100644
index 426bf968..00000000
--- a/lib/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # Get the authority level of the audience
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- class GetAudienceGroupAuthorityLevelResponse
- # @!attribute [rw] authority_level
- # @return [String,nil] ('PUBLIC'|'PRIVATE')
- attr_accessor :authority_level
-
- # @param authority_level [String,nil] ('PUBLIC'|'PRIVATE')
- def initialize(
- authority_level: nil,
- **dynamic_attributes
- )
-
- @authority_level = authority_level
-
- dynamic_attributes.each do |key, value|
- self.class.attr_accessor key
-
- if value.is_a?(Hash)
- struct_klass = Struct.new(*value.keys.map(&:to_sym))
- struct_values = value.map { |_k, v| v.is_a?(Hash) ? Line::Bot::V2::Utils.hash_to_struct(v) : v }
- instance_variable_set("@#{key}", struct_klass.new(*struct_values))
- else
- instance_variable_set("@#{key}", value)
- end
- end
- end
-
- def self.create(args) # steep:ignore
- return new(**args) # steep:ignore
- end
-
- # @param other [Object] Object to compare
- # @return [Boolean] true if the objects are equal, false otherwise
- def ==(other)
- return false unless self.class == other.class
-
- instance_variables.all? do |var|
- instance_variable_get(var) == other.instance_variable_get(var)
- end
- end
-
- # @return [Integer] Hash code of the object
- def hash
- [self.class, *instance_variables.map { |var| instance_variable_get(var) }].hash
- end
- end
- end
- end
- end
-end
diff --git a/lib/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rb b/lib/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rb
deleted file mode 100644
index c6821aa0..00000000
--- a/lib/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # Change the authority level of the audience
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- class UpdateAudienceGroupAuthorityLevelRequest
- # @!attribute [rw] authority_level
- # @return [String,nil] ('PUBLIC'|'PRIVATE')
- attr_accessor :authority_level
-
- # @param authority_level [String,nil] ('PUBLIC'|'PRIVATE')
- def initialize(
- authority_level: nil,
- **dynamic_attributes
- )
-
- @authority_level = authority_level
-
- dynamic_attributes.each do |key, value|
- self.class.attr_accessor key
-
- if value.is_a?(Hash)
- struct_klass = Struct.new(*value.keys.map(&:to_sym))
- struct_values = value.map { |_k, v| v.is_a?(Hash) ? Line::Bot::V2::Utils.hash_to_struct(v) : v }
- instance_variable_set("@#{key}", struct_klass.new(*struct_values))
- else
- instance_variable_set("@#{key}", value)
- end
- end
- end
-
- def self.create(args) # steep:ignore
- return new(**args) # steep:ignore
- end
-
- # @param other [Object] Object to compare
- # @return [Boolean] true if the objects are equal, false otherwise
- def ==(other)
- return false unless self.class == other.class
-
- instance_variables.all? do |var|
- instance_variable_get(var) == other.instance_variable_get(var)
- end
- end
-
- # @return [Integer] Hash code of the object
- def hash
- [self.class, *instance_variables.map { |var| instance_variable_get(var) }].hash
- end
- end
- end
- end
- end
-end
diff --git a/line-openapi b/line-openapi
index 2f380581..bc181f4c 160000
--- a/line-openapi
+++ b/line-openapi
@@ -1 +1 @@
-Subproject commit 2f38058136b8f9237feafe34ea86a4be98455fb3
+Subproject commit bc181f4c552508ff67e33d74d996ebf624014938
diff --git a/sig/line/bot/v2/manage_audience/.openapi-generator/FILES b/sig/line/bot/v2/manage_audience/.openapi-generator/FILES
index 578cfe40..6fbbd437 100644
--- a/sig/line/bot/v2/manage_audience/.openapi-generator/FILES
+++ b/sig/line/bot/v2/manage_audience/.openapi-generator/FILES
@@ -5,7 +5,6 @@ model/adaccount.rbs
model/add_audience_to_audience_group_request.rbs
model/audience.rbs
model/audience_group.rbs
-model/audience_group_authority_level.rbs
model/audience_group_create_route.rbs
model/audience_group_failed_type.rbs
model/audience_group_job.rbs
@@ -25,9 +24,7 @@ model/detailed_owner.rbs
model/error_detail.rbs
model/error_response.rbs
model/get_audience_data_response.rbs
-model/get_audience_group_authority_level_response.rbs
model/get_audience_groups_response.rbs
model/get_shared_audience_data_response.rbs
model/get_shared_audience_groups_response.rbs
-model/update_audience_group_authority_level_request.rbs
model/update_audience_group_description_request.rbs
diff --git a/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs b/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs
index 905375fa..33f8c1ec 100644
--- a/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs
+++ b/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs
@@ -19,22 +19,6 @@ module Line
http_options: Hash[String|Symbol, untyped]
) -> void
- # Activate audience
- #
- # @param audience_group_id The audience ID.
- # @see https://developers.line.biz/en/reference/messaging-api/#activate-audience-group
- def activate_audience_group_with_http_info: (
- audience_group_id: Integer
- ) -> [(String?), Integer, Hash[String, String]]
-
- # Activate audience
- #
- # @param audience_group_id The audience ID.
- # @see https://developers.line.biz/en/reference/messaging-api/#activate-audience-group
- def activate_audience_group: (
- audience_group_id: Integer
- ) -> (String?)
-
# Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
#
# @param add_audience_to_audience_group_request
@@ -131,18 +115,6 @@ module Line
audience_group_id: Integer
) -> (GetAudienceDataResponse|ErrorResponse)
- # Get the authority level of the audience
- #
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- def get_audience_group_authority_level_with_http_info: (
- ) -> [(GetAudienceGroupAuthorityLevelResponse), Integer, Hash[String, String]]
-
- # Get the authority level of the audience
- #
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- def get_audience_group_authority_level: (
- ) -> (GetAudienceGroupAuthorityLevelResponse)
-
# Gets data for more than one audience.
#
# @param page The page to return when getting (paginated) results. Must be 1 or higher.
@@ -202,13 +174,15 @@ module Line
# @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
# @param size The number of audiences per page. Default: 20 Max: 40
# @param create_route How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
+ # @param includes_owned_audience_groups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
# @see https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list
def get_shared_audience_groups_with_http_info: (
page: Integer,
description: String?,
status: AudienceGroupStatus?,
size: Integer?,
- create_route: AudienceGroupCreateRoute?
+ create_route: AudienceGroupCreateRoute?,
+ includes_owned_audience_groups: bool?
) -> [(GetSharedAudienceGroupsResponse), Integer, Hash[String, String]]
# Gets data for more than one audience, including those shared by the Business Manager.
@@ -218,31 +192,17 @@ module Line
# @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
# @param size The number of audiences per page. Default: 20 Max: 40
# @param create_route How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
+ # @param includes_owned_audience_groups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
# @see https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list
def get_shared_audience_groups: (
page: Integer,
description: String?,
status: AudienceGroupStatus?,
size: Integer?,
- create_route: AudienceGroupCreateRoute?
+ create_route: AudienceGroupCreateRoute?,
+ includes_owned_audience_groups: bool?
) -> (GetSharedAudienceGroupsResponse)
- # Change the authority level of the audience
- #
- # @param update_audience_group_authority_level_request
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- def update_audience_group_authority_level_with_http_info: (
- update_audience_group_authority_level_request: UpdateAudienceGroupAuthorityLevelRequest
- ) -> [(String?), Integer, Hash[String, String]]
-
- # Change the authority level of the audience
- #
- # @param update_audience_group_authority_level_request
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- def update_audience_group_authority_level: (
- update_audience_group_authority_level_request: UpdateAudienceGroupAuthorityLevelRequest
- ) -> (String?)
-
# Renames an existing audience.
#
# @param audience_group_id The audience ID.
diff --git a/sig/line/bot/v2/manage_audience/model/audience_group_authority_level.rbs b/sig/line/bot/v2/manage_audience/model/audience_group_authority_level.rbs
deleted file mode 100644
index bd0b5ad3..00000000
--- a/sig/line/bot/v2/manage_audience/model/audience_group_authority_level.rbs
+++ /dev/null
@@ -1,21 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # authority level
- class AudienceGroupAuthorityLevel
-
- end
- end
- end
- end
-end
diff --git a/sig/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rbs b/sig/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rbs
deleted file mode 100644
index 9113113c..00000000
--- a/sig/line/bot/v2/manage_audience/model/get_audience_group_authority_level_response.rbs
+++ /dev/null
@@ -1,32 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # Get the authority level of the audience
- # @see https://developers.line.biz/en/reference/messaging-api/#get-authority-level
- class GetAudienceGroupAuthorityLevelResponse
- attr_accessor authority_level: 'PUBLIC'|'PRIVATE'?
-
- def initialize: (
- authority_level: 'PUBLIC'|'PRIVATE'?
- ) -> void
-
- def self.create: (args: Hash[Symbol, untyped]) -> GetAudienceGroupAuthorityLevelResponse
-
- def ==: (untyped other) -> bool
-
- def hash: () -> Integer
- end
- end
- end
- end
-end
diff --git a/sig/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rbs b/sig/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rbs
deleted file mode 100644
index 5975be17..00000000
--- a/sig/line/bot/v2/manage_audience/model/update_audience_group_authority_level_request.rbs
+++ /dev/null
@@ -1,32 +0,0 @@
-# LINE Messaging API
-# This document describes LINE Messaging API.
-#
-# The version of the OpenAPI document: 0.0.1
-#
-# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-# https://openapi-generator.tech
-# Do not edit the class manually.
-
-module Line
- module Bot
- module V2
- module ManageAudience
- # Change the authority level of the audience
- # @see https://developers.line.biz/en/reference/messaging-api/#change-authority-level
- class UpdateAudienceGroupAuthorityLevelRequest
- attr_accessor authority_level: 'PUBLIC'|'PRIVATE'?
-
- def initialize: (
- authority_level: 'PUBLIC'|'PRIVATE'?
- ) -> void
-
- def self.create: (args: Hash[Symbol, untyped]) -> UpdateAudienceGroupAuthorityLevelRequest
-
- def ==: (untyped other) -> bool
-
- def hash: () -> Integer
- end
- end
- end
- end
-end