diff --git a/clients/line-bot-manage-audience-client/.openapi-generator/FILES b/clients/line-bot-manage-audience-client/.openapi-generator/FILES
index 9cf7a47d6..5fabed603 100644
--- a/clients/line-bot-manage-audience-client/.openapi-generator/FILES
+++ b/clients/line-bot-manage-audience-client/.openapi-generator/FILES
@@ -4,7 +4,6 @@ src/main/java/com/linecorp/bot/audience/model/Adaccount.java
src/main/java/com/linecorp/bot/audience/model/AddAudienceToAudienceGroupRequest.java
src/main/java/com/linecorp/bot/audience/model/Audience.java
src/main/java/com/linecorp/bot/audience/model/AudienceGroup.java
-src/main/java/com/linecorp/bot/audience/model/AudienceGroupAuthorityLevel.java
src/main/java/com/linecorp/bot/audience/model/AudienceGroupCreateRoute.java
src/main/java/com/linecorp/bot/audience/model/AudienceGroupFailedType.java
src/main/java/com/linecorp/bot/audience/model/AudienceGroupJob.java
@@ -24,9 +23,7 @@ src/main/java/com/linecorp/bot/audience/model/DetailedOwner.java
src/main/java/com/linecorp/bot/audience/model/ErrorDetail.java
src/main/java/com/linecorp/bot/audience/model/ErrorResponse.java
src/main/java/com/linecorp/bot/audience/model/GetAudienceDataResponse.java
-src/main/java/com/linecorp/bot/audience/model/GetAudienceGroupAuthorityLevelResponse.java
src/main/java/com/linecorp/bot/audience/model/GetAudienceGroupsResponse.java
src/main/java/com/linecorp/bot/audience/model/GetSharedAudienceDataResponse.java
src/main/java/com/linecorp/bot/audience/model/GetSharedAudienceGroupsResponse.java
-src/main/java/com/linecorp/bot/audience/model/UpdateAudienceGroupAuthorityLevelRequest.java
src/main/java/com/linecorp/bot/audience/model/UpdateAudienceGroupDescriptionRequest.java
diff --git a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/client/ManageAudienceClient.java b/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/client/ManageAudienceClient.java
index 46b6decf2..58f1f1d74 100644
--- a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/client/ManageAudienceClient.java
+++ b/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/client/ManageAudienceClient.java
@@ -30,11 +30,9 @@
import com.linecorp.bot.audience.model.CreateImpBasedAudienceGroupRequest;
import com.linecorp.bot.audience.model.CreateImpBasedAudienceGroupResponse;
import com.linecorp.bot.audience.model.GetAudienceDataResponse;
-import com.linecorp.bot.audience.model.GetAudienceGroupAuthorityLevelResponse;
import com.linecorp.bot.audience.model.GetAudienceGroupsResponse;
import com.linecorp.bot.audience.model.GetSharedAudienceDataResponse;
import com.linecorp.bot.audience.model.GetSharedAudienceGroupsResponse;
-import com.linecorp.bot.audience.model.UpdateAudienceGroupAuthorityLevelRequest;
import com.linecorp.bot.audience.model.UpdateAudienceGroupDescriptionRequest;
import com.linecorp.bot.client.base.ApiAuthenticatedClientBuilder;
import com.linecorp.bot.client.base.Result;
@@ -46,17 +44,6 @@
@javax.annotation.Generated(value = "com.linecorp.bot.codegen.LineJavaCodegenGenerator")
public interface ManageAudienceClient {
- /**
- * Activate audience
- *
- * @param audienceGroupId The audience ID. (required)
- * @see
- * Documentation
- */
- @PUT("/v2/bot/audienceGroup/{audienceGroupId}/activate")
- CompletableFuture> activateAudienceGroup(
- @Path("audienceGroupId") Long audienceGroupId);
-
/**
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by
* JSON)
@@ -128,16 +115,6 @@ CompletableFuture> deleteAudienceGroup(
CompletableFuture> getAudienceData(
@Path("audienceGroupId") Long audienceGroupId);
- /**
- * Get the authority level of the audience
- *
- * @see
- * Documentation
- */
- @GET("/v2/bot/audienceGroup/authorityLevel")
- CompletableFuture>
- getAudienceGroupAuthorityLevel();
-
/**
* Gets data for more than one audience.
*
@@ -194,6 +171,9 @@ CompletableFuture> getSharedAudienceData(
* `OA_MANAGER`: Return only audiences created with LINE Official Account Manager
* (opens new window). `MESSAGING_API`: Return only audiences created with Messaging
* API. (optional)
+ * @param includesOwnedAudienceGroups true: Include audienceGroups owned by LINE Official Account
+ * Manager false: Respond only audienceGroups shared by Business Manager (optional, default to
+ * false)
* @see
* Documentation
@@ -204,18 +184,8 @@ CompletableFuture> getSharedAudienceGrou
@Query("description") String description,
@Query("status") AudienceGroupStatus status,
@Query("size") Long size,
- @Query("createRoute") AudienceGroupCreateRoute createRoute);
-
- /**
- * Change the authority level of the audience
- *
- * @param updateAudienceGroupAuthorityLevelRequest (required)
- * @see
- * Documentation
- */
- @PUT("/v2/bot/audienceGroup/authorityLevel")
- CompletableFuture> updateAudienceGroupAuthorityLevel(
- @Body UpdateAudienceGroupAuthorityLevelRequest updateAudienceGroupAuthorityLevelRequest);
+ @Query("createRoute") AudienceGroupCreateRoute createRoute,
+ @Query("includesOwnedAudienceGroups") Boolean includesOwnedAudienceGroups);
/**
* Renames an existing audience.
diff --git a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/AudienceGroupAuthorityLevel.java b/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/AudienceGroupAuthorityLevel.java
deleted file mode 100644
index 2db83b4c7..000000000
--- a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/AudienceGroupAuthorityLevel.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright 2023 LINE Corporation
- *
- * LINE Corporation licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech Do not edit the class manually.
- */
-package com.linecorp.bot.audience.model;
-
-
-
-import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-/** authority level */
-public enum AudienceGroupAuthorityLevel {
- @JsonProperty("PUBLIC")
- PUBLIC,
-
- @JsonProperty("PRIVATE")
- PRIVATE,
-
- @JsonEnumDefaultValue
- UNDEFINED;
-
- @JsonValue
- public String toValue() {
- return switch (this) {
- case PUBLIC -> "PUBLIC";
- case PRIVATE -> "PRIVATE";
-
- default -> "UNDEFINED";
- };
- }
-}
diff --git a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/GetAudienceGroupAuthorityLevelResponse.java b/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/GetAudienceGroupAuthorityLevelResponse.java
deleted file mode 100644
index 691390df5..000000000
--- a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/GetAudienceGroupAuthorityLevelResponse.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright 2023 LINE Corporation
- *
- * LINE Corporation licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech Do not edit the class manually.
- */
-package com.linecorp.bot.audience.model;
-
-
-
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonInclude.Include;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Get the authority level of the audience
- *
- * @see
- * Documentation
- */
-@JsonInclude(Include.NON_NULL)
-@javax.annotation.Generated(value = "com.linecorp.bot.codegen.LineJavaCodegenGenerator")
-public record GetAudienceGroupAuthorityLevelResponse(
- /** Get authorityLevel */
- @JsonProperty("authorityLevel") AudienceGroupAuthorityLevel authorityLevel) {
-
- public static class Builder {
- private AudienceGroupAuthorityLevel authorityLevel;
-
- public Builder() {}
-
- public Builder authorityLevel(AudienceGroupAuthorityLevel authorityLevel) {
- this.authorityLevel = authorityLevel;
- return this;
- }
-
- public GetAudienceGroupAuthorityLevelResponse build() {
- return new GetAudienceGroupAuthorityLevelResponse(authorityLevel);
- }
- }
-}
diff --git a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/UpdateAudienceGroupAuthorityLevelRequest.java b/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/UpdateAudienceGroupAuthorityLevelRequest.java
deleted file mode 100644
index fc6e68940..000000000
--- a/clients/line-bot-manage-audience-client/src/main/java/com/linecorp/bot/audience/model/UpdateAudienceGroupAuthorityLevelRequest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright 2023 LINE Corporation
- *
- * LINE Corporation licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech Do not edit the class manually.
- */
-package com.linecorp.bot.audience.model;
-
-
-
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonInclude.Include;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Change the authority level of the audience
- *
- * @see
- * Documentation
- */
-@JsonInclude(Include.NON_NULL)
-@javax.annotation.Generated(value = "com.linecorp.bot.codegen.LineJavaCodegenGenerator")
-public record UpdateAudienceGroupAuthorityLevelRequest(
- /** Get authorityLevel */
- @JsonProperty("authorityLevel") AudienceGroupAuthorityLevel authorityLevel) {
-
- public static class Builder {
- private AudienceGroupAuthorityLevel authorityLevel;
-
- public Builder() {}
-
- public Builder authorityLevel(AudienceGroupAuthorityLevel authorityLevel) {
- this.authorityLevel = authorityLevel;
- return this;
- }
-
- public UpdateAudienceGroupAuthorityLevelRequest build() {
- return new UpdateAudienceGroupAuthorityLevelRequest(authorityLevel);
- }
- }
-}
diff --git a/line-openapi b/line-openapi
index 2f3805813..bc181f4c5 160000
--- a/line-openapi
+++ b/line-openapi
@@ -1 +1 @@
-Subproject commit 2f38058136b8f9237feafe34ea86a4be98455fb3
+Subproject commit bc181f4c552508ff67e33d74d996ebf624014938