Skip to content
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

Codes are generated by openapi #1016

Merged
merged 1 commit into from
Oct 24, 2024
Merged
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
1 change: 1 addition & 0 deletions lib/liff/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ model/liffScope.ts
model/liffView.ts
model/models.ts
model/updateLiffAppRequest.ts
model/updateLiffView.ts
tests/api/LiffClientTest.spec.ts
1 change: 1 addition & 0 deletions lib/liff/model/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from "./liffFeatures.js";
export * from "./liffScope.js";
export * from "./liffView.js";
export * from "./updateLiffAppRequest.js";
export * from "./updateLiffView.js";
4 changes: 2 additions & 2 deletions lib/liff/model/updateLiffAppRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
import { LiffBotPrompt } from "./liffBotPrompt.js";
import { LiffFeatures } from "./liffFeatures.js";
import { LiffScope } from "./liffScope.js";
import { LiffView } from "./liffView.js";
import { UpdateLiffView } from "./updateLiffView.js";

export type UpdateLiffAppRequest = {
/**
*
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">view Documentation</a>
*/
view?: LiffView /**/;
view?: UpdateLiffView /**/;
/**
* Name of the LIFF app. The LIFF app name can\'t include \"LINE\" or similar strings, or inappropriate strings.
*
Expand Down
36 changes: 36 additions & 0 deletions lib/liff/model/updateLiffView.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* LIFF server API
* LIFF Server API.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

export type UpdateLiffView = {
/**
* Size of the LIFF app view. Specify one of these values: - compact - tall - full
*
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">type Documentation</a>
*/
type?: UpdateLiffView.TypeEnum /**/;
/**
* Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can\'t be specified.
*
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">url Documentation</a>
*/
url?: string /**/;
/**
* `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed.
*
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">moduleMode Documentation</a>
*/
moduleMode?: boolean /**/;
};

export namespace UpdateLiffView {
export type TypeEnum = "compact" | "tall" | "full";
}
2 changes: 1 addition & 1 deletion line-openapi
Submodule line-openapi updated 1 files
+30 −1 liff.yml