@gitbook/api 0.54.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +6 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +14 -2
- package/spec/openapi.yaml +10 -2
package/dist/client.d.ts
CHANGED
|
@@ -1074,6 +1074,8 @@ export declare type RevisionPageDocument = RevisionPageBase & Document & {
|
|
|
1074
1074
|
git?: GitSyncBlob;
|
|
1075
1075
|
layout: RevisionPageLayoutOptions;
|
|
1076
1076
|
cover?: RevisionPageDocumentCover;
|
|
1077
|
+
/** If true, the page is not displayed in the navigation, while still being accessible. */
|
|
1078
|
+
hidden?: boolean;
|
|
1077
1079
|
};
|
|
1078
1080
|
export declare type RevisionPageLink = RevisionPageBase & {
|
|
1079
1081
|
/** @deprecated */
|
|
@@ -8900,8 +8902,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8900
8902
|
/** Desired interval for new subscriptions. Defaults to the existing billing interval. */
|
|
8901
8903
|
interval?: BillingInterval;
|
|
8902
8904
|
}, query?: {
|
|
8903
|
-
/** The app screen URL to bring the user back to after checkout. */
|
|
8904
|
-
|
|
8905
|
+
/** The app screen URL to bring the user back to after a succesfull checkout. */
|
|
8906
|
+
successReturnURL?: string;
|
|
8907
|
+
/** The app screen URL to bring the user back to after a canceled checkout. */
|
|
8908
|
+
cancelReturnURL?: string;
|
|
8905
8909
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
8906
8910
|
type: 'legacy-checkout';
|
|
8907
8911
|
/** Stripe payment session ID */
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -12366,8 +12366,16 @@
|
|
|
12366
12366
|
},
|
|
12367
12367
|
{
|
|
12368
12368
|
"in": "query",
|
|
12369
|
-
"name": "
|
|
12370
|
-
"description": "The app screen URL to bring the user back to after checkout.",
|
|
12369
|
+
"name": "successReturnURL",
|
|
12370
|
+
"description": "The app screen URL to bring the user back to after a succesfull checkout.",
|
|
12371
|
+
"schema": {
|
|
12372
|
+
"type": "string"
|
|
12373
|
+
}
|
|
12374
|
+
},
|
|
12375
|
+
{
|
|
12376
|
+
"in": "query",
|
|
12377
|
+
"name": "cancelReturnURL",
|
|
12378
|
+
"description": "The app screen URL to bring the user back to after a canceled checkout.",
|
|
12371
12379
|
"schema": {
|
|
12372
12380
|
"type": "string"
|
|
12373
12381
|
}
|
|
@@ -18872,6 +18880,10 @@
|
|
|
18872
18880
|
},
|
|
18873
18881
|
"cover": {
|
|
18874
18882
|
"$ref": "#/components/schemas/RevisionPageDocumentCover"
|
|
18883
|
+
},
|
|
18884
|
+
"hidden": {
|
|
18885
|
+
"type": "boolean",
|
|
18886
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible."
|
|
18875
18887
|
}
|
|
18876
18888
|
},
|
|
18877
18889
|
"required": [
|
package/spec/openapi.yaml
CHANGED
|
@@ -6886,8 +6886,13 @@ paths:
|
|
|
6886
6886
|
- $ref: "#/components/parameters/organizationId"
|
|
6887
6887
|
- $ref: "#/components/parameters/siteId"
|
|
6888
6888
|
- in: query
|
|
6889
|
-
name:
|
|
6890
|
-
description: The app screen URL to bring the user back to after checkout.
|
|
6889
|
+
name: successReturnURL
|
|
6890
|
+
description: The app screen URL to bring the user back to after a succesfull checkout.
|
|
6891
|
+
schema:
|
|
6892
|
+
type: string
|
|
6893
|
+
- in: query
|
|
6894
|
+
name: cancelReturnURL
|
|
6895
|
+
description: The app screen URL to bring the user back to after a canceled checkout.
|
|
6891
6896
|
schema:
|
|
6892
6897
|
type: string
|
|
6893
6898
|
requestBody:
|
|
@@ -11009,6 +11014,9 @@ components:
|
|
|
11009
11014
|
$ref: "#/components/schemas/RevisionPageLayoutOptions"
|
|
11010
11015
|
cover:
|
|
11011
11016
|
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
11017
|
+
hidden:
|
|
11018
|
+
type: boolean
|
|
11019
|
+
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
11012
11020
|
required:
|
|
11013
11021
|
- kind
|
|
11014
11022
|
- type
|