@gitbook/api 0.188.0 → 0.189.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 +96 -5
- package/dist/constants.d.ts +3 -1
- package/dist/index.cjs +37 -2
- package/dist/index.js +33 -2
- package/package.json +1 -1
- package/spec/openapi.json +282 -3
- package/spec/openapi.yaml +187 -2
package/dist/client.d.ts
CHANGED
|
@@ -921,10 +921,20 @@ export declare enum ChangeRequestStatus {
|
|
|
921
921
|
Archived = "archived",
|
|
922
922
|
Merged = "merged"
|
|
923
923
|
}
|
|
924
|
+
export declare enum RevisionPageDocumentCoverTextColor {
|
|
925
|
+
Black = "black",
|
|
926
|
+
White = "white"
|
|
927
|
+
}
|
|
928
|
+
/** Mask applied to the cover image. */
|
|
929
|
+
export declare enum RevisionPageLayoutOptionsCoverMask {
|
|
930
|
+
None = "none",
|
|
931
|
+
Radial = "radial"
|
|
932
|
+
}
|
|
924
933
|
/** Size of the cover image. */
|
|
925
934
|
export declare enum RevisionPageLayoutOptionsCoverSize {
|
|
926
935
|
Hero = "hero",
|
|
927
|
-
Full = "full"
|
|
936
|
+
Full = "full",
|
|
937
|
+
Background = "background"
|
|
928
938
|
}
|
|
929
939
|
/** Width of the page. */
|
|
930
940
|
export declare enum RevisionPageLayoutOptionsWidth {
|
|
@@ -1096,6 +1106,8 @@ export type GitSyncInstallationTarget = {
|
|
|
1096
1106
|
type: "space";
|
|
1097
1107
|
/** Unique identifier of the space targeted by the Git Sync installation. */
|
|
1098
1108
|
spaceId: string;
|
|
1109
|
+
/** Unique identifier of the site whose Git Sync installation should manage the space installation. Omit to install Git Sync directly on the space. */
|
|
1110
|
+
siteId?: string;
|
|
1099
1111
|
} | {
|
|
1100
1112
|
/** Type of resource targeted by the Git Sync installation. */
|
|
1101
1113
|
type: "site";
|
|
@@ -1955,6 +1967,8 @@ export interface DocumentTableViewCards {
|
|
|
1955
1967
|
coverDefinitionDark?: string;
|
|
1956
1968
|
/** Should we display the column title or not */
|
|
1957
1969
|
hideColumnTitle?: boolean;
|
|
1970
|
+
/** Whether the cards wrap onto multiple rows (true, the default) or are laid out in a single horizontally-scrolling carousel row (false). */
|
|
1971
|
+
wrap?: boolean;
|
|
1958
1972
|
}
|
|
1959
1973
|
/** A table record value for image columns, supporting both direct ContentRefs and the additional format with record-level settings. */
|
|
1960
1974
|
export type DocumentTableImageRecord = ContentRefFile | ContentRefURL | {
|
|
@@ -2673,6 +2687,8 @@ export interface RevisionPageLayoutOptions {
|
|
|
2673
2687
|
cover: boolean;
|
|
2674
2688
|
/** Size of the cover image. */
|
|
2675
2689
|
coverSize: RevisionPageLayoutOptionsCoverSize;
|
|
2690
|
+
/** Mask applied to the cover image. */
|
|
2691
|
+
coverMask: RevisionPageLayoutOptionsCoverMask;
|
|
2676
2692
|
/** Should the title be visible? */
|
|
2677
2693
|
title: boolean;
|
|
2678
2694
|
/** Should the description be visible? */
|
|
@@ -2695,6 +2711,10 @@ export interface RevisionPageDocumentCover {
|
|
|
2695
2711
|
ref?: ContentRefFile | ContentRefURL;
|
|
2696
2712
|
/** Content reference pointing to the source image for dark mode. */
|
|
2697
2713
|
refDark?: ContentRefFile | ContentRefURL;
|
|
2714
|
+
/** Text color to use on top of the cover image when in background mode. */
|
|
2715
|
+
textColor?: RevisionPageDocumentCoverTextColor;
|
|
2716
|
+
/** Text color to use on top of the dark mode cover image when in background mode. */
|
|
2717
|
+
textColorDark?: RevisionPageDocumentCoverTextColor;
|
|
2698
2718
|
/**
|
|
2699
2719
|
* Vertical position of the cover image.
|
|
2700
2720
|
* @default 0
|
|
@@ -2882,11 +2902,39 @@ export type ChangeRequestSubject = string;
|
|
|
2882
2902
|
* @maxLength 128
|
|
2883
2903
|
*/
|
|
2884
2904
|
export type ChangeRequestLinkTitle = string;
|
|
2885
|
-
|
|
2905
|
+
/** External link associated with a change request. */
|
|
2906
|
+
export interface ChangeRequestLinkInput {
|
|
2886
2907
|
ref: ContentRefURL;
|
|
2887
2908
|
/** Optional title to display for the link. */
|
|
2888
2909
|
title?: ChangeRequestLinkTitle;
|
|
2889
2910
|
}
|
|
2911
|
+
/** External ticket data resolved for this link by a configured connector. */
|
|
2912
|
+
export type ChangeRequestLinkExpanded = {
|
|
2913
|
+
kind: "external-ticket";
|
|
2914
|
+
provider: "jira";
|
|
2915
|
+
state: "connected";
|
|
2916
|
+
/** The ticket's provider-specific key. */
|
|
2917
|
+
key: string;
|
|
2918
|
+
/**
|
|
2919
|
+
* URL to open the ticket.
|
|
2920
|
+
* @format uri
|
|
2921
|
+
*/
|
|
2922
|
+
url: string;
|
|
2923
|
+
status: {
|
|
2924
|
+
id: string;
|
|
2925
|
+
name: string;
|
|
2926
|
+
};
|
|
2927
|
+
/** The ticket's summary. */
|
|
2928
|
+
summary: string;
|
|
2929
|
+
} | {
|
|
2930
|
+
kind: "external-ticket";
|
|
2931
|
+
provider: "jira";
|
|
2932
|
+
state: "error";
|
|
2933
|
+
};
|
|
2934
|
+
export type ChangeRequestLink = ChangeRequestLinkInput & {
|
|
2935
|
+
/** External ticket data resolved for this link by a configured connector. */
|
|
2936
|
+
expanded?: ChangeRequestLinkExpanded;
|
|
2937
|
+
};
|
|
2890
2938
|
/**
|
|
2891
2939
|
* External links associated with the change request.
|
|
2892
2940
|
* @maxItems 10
|
|
@@ -6427,7 +6475,7 @@ export interface SiteInsightsSession {
|
|
|
6427
6475
|
sessionId: string;
|
|
6428
6476
|
}
|
|
6429
6477
|
/** Integration source */
|
|
6430
|
-
export type ContextConnector = string | "builtin:email" | "builtin:api" | "builtin:website" | "builtin:youtube" | "builtin:github-discussions" | "builtin:github-issues" | "builtin:intercom" | "builtin:zendesk" | "builtin:pylon" | "builtin:linear" | "builtin:jira";
|
|
6478
|
+
export type ContextConnector = string | "builtin:email" | "builtin:api" | "builtin:website" | "builtin:youtube" | "builtin:github-discussions" | "builtin:github-issues" | "builtin:intercom" | "builtin:zendesk" | "builtin:zoho-desk" | "builtin:pylon" | "builtin:linear" | "builtin:jira";
|
|
6431
6479
|
/**
|
|
6432
6480
|
* Title for the context record
|
|
6433
6481
|
* @minLength 1
|
|
@@ -6745,6 +6793,26 @@ export type ContextConnectorSetup = {
|
|
|
6745
6793
|
/** @minLength 1 */
|
|
6746
6794
|
apiToken: string;
|
|
6747
6795
|
};
|
|
6796
|
+
} | {
|
|
6797
|
+
connector: "builtin:zoho-desk";
|
|
6798
|
+
setupSettings: {
|
|
6799
|
+
/**
|
|
6800
|
+
* Zoho data center hosting the account, given as its API domain suffix (e.g. `com`, `eu`, `in`, `com.au`). Zoho scopes both the accounts and desk API hosts by data center.
|
|
6801
|
+
* @minLength 1
|
|
6802
|
+
*/
|
|
6803
|
+
dataCenter: string;
|
|
6804
|
+
/**
|
|
6805
|
+
* Zoho Desk organization id the tickets belong to.
|
|
6806
|
+
* @minLength 1
|
|
6807
|
+
*/
|
|
6808
|
+
orgId: string;
|
|
6809
|
+
/** @minLength 1 */
|
|
6810
|
+
clientId: string;
|
|
6811
|
+
/** @minLength 1 */
|
|
6812
|
+
clientSecret: string;
|
|
6813
|
+
/** @minLength 1 */
|
|
6814
|
+
refreshToken: string;
|
|
6815
|
+
};
|
|
6748
6816
|
} | {
|
|
6749
6817
|
connector: "builtin:pylon";
|
|
6750
6818
|
setupSettings: {
|
|
@@ -10738,8 +10806,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10738
10806
|
/** Subject of the change request */
|
|
10739
10807
|
subject?: ChangeRequestSubject;
|
|
10740
10808
|
description?: JSONDocument;
|
|
10741
|
-
/**
|
|
10742
|
-
|
|
10809
|
+
/**
|
|
10810
|
+
* External links associated with the change request.
|
|
10811
|
+
* @maxItems 10
|
|
10812
|
+
*/
|
|
10813
|
+
links?: ChangeRequestLinkInput[];
|
|
10743
10814
|
status?: "draft" | "open" | "archived";
|
|
10744
10815
|
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
10745
10816
|
/**
|
|
@@ -12840,6 +12911,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12840
12911
|
message: string;
|
|
12841
12912
|
};
|
|
12842
12913
|
}>>;
|
|
12914
|
+
/**
|
|
12915
|
+
* @description Lists every styleguide (a space holding a team's writing styleguide) in the organization, along with every site that references each one. Styleguides that are not referenced by any site are still returned with an empty `sites` list.
|
|
12916
|
+
*
|
|
12917
|
+
* @tags organizations
|
|
12918
|
+
* @name ListOrganizationStyleguides
|
|
12919
|
+
* @summary List all styleguides in an organization
|
|
12920
|
+
* @request GET:/orgs/{organizationId}/styleguides
|
|
12921
|
+
* @secure
|
|
12922
|
+
*/
|
|
12923
|
+
listOrganizationStyleguides: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationStyleguides, any>>;
|
|
12924
|
+
/**
|
|
12925
|
+
* @description Lists the built-in styleguide starter templates that can seed a new styleguide, including the markdown content used to render each template's preview.
|
|
12926
|
+
*
|
|
12927
|
+
* @tags organizations
|
|
12928
|
+
* @name ListStyleguideTemplates
|
|
12929
|
+
* @summary List all built-in styleguide templates
|
|
12930
|
+
* @request GET:/orgs/{organizationId}/styleguide-templates
|
|
12931
|
+
* @secure
|
|
12932
|
+
*/
|
|
12933
|
+
listStyleguideTemplates: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<StyleguideTemplates, any>>;
|
|
12843
12934
|
/**
|
|
12844
12935
|
* No description
|
|
12845
12936
|
*
|
package/dist/constants.d.ts
CHANGED
|
@@ -22,7 +22,9 @@ export declare const REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
|
22
22
|
export declare const REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
23
23
|
export declare const OPEN_APISPEC_VISIBILITY_ENUM: ["private", "public"];
|
|
24
24
|
export declare const REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: ["default", "wide"];
|
|
25
|
-
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "full"];
|
|
25
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "full", "background"];
|
|
26
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM: ["none", "radial"];
|
|
27
|
+
export declare const REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM: ["black", "white"];
|
|
26
28
|
export declare const CHANGE_REQUEST_STATUS_ENUM: ["draft", "open", "archived", "merged"];
|
|
27
29
|
export declare const CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
|
|
28
30
|
export declare const CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
|
package/dist/index.cjs
CHANGED
|
@@ -377,6 +377,8 @@ __export(src_exports, {
|
|
|
377
377
|
OrganizationUseCase: () => OrganizationUseCase,
|
|
378
378
|
PAGE_FEEDBACK_RATING_ENUM: () => PAGE_FEEDBACK_RATING_ENUM,
|
|
379
379
|
PageFeedbackRating: () => PageFeedbackRating,
|
|
380
|
+
REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM: () => REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM,
|
|
381
|
+
REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM: () => REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM,
|
|
380
382
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: () => REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
381
383
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: () => REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
382
384
|
REVISION_PAGE_LAYOUT_PRESET_ENUM: () => REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
@@ -384,6 +386,8 @@ __export(src_exports, {
|
|
|
384
386
|
REVISION_PAGE_SLUG_MIN_LENGTH: () => REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
385
387
|
REVISION_PAGE_TYPE_ENUM: () => REVISION_PAGE_TYPE_ENUM,
|
|
386
388
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM: () => REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
389
|
+
RevisionPageDocumentCoverTextColor: () => RevisionPageDocumentCoverTextColor,
|
|
390
|
+
RevisionPageLayoutOptionsCoverMask: () => RevisionPageLayoutOptionsCoverMask,
|
|
387
391
|
RevisionPageLayoutOptionsCoverSize: () => RevisionPageLayoutOptionsCoverSize,
|
|
388
392
|
RevisionPageLayoutOptionsWidth: () => RevisionPageLayoutOptionsWidth,
|
|
389
393
|
RevisionPageLayoutPreset: () => RevisionPageLayoutPreset,
|
|
@@ -520,7 +524,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
520
524
|
|
|
521
525
|
// package.json
|
|
522
526
|
var name = "@gitbook/api";
|
|
523
|
-
var version = "0.
|
|
527
|
+
var version = "0.189.0";
|
|
524
528
|
|
|
525
529
|
// src/client.ts
|
|
526
530
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -1516,9 +1520,20 @@ var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
|
1516
1520
|
ChangeRequestStatus2["Merged"] = "merged";
|
|
1517
1521
|
return ChangeRequestStatus2;
|
|
1518
1522
|
})(ChangeRequestStatus || {});
|
|
1523
|
+
var RevisionPageDocumentCoverTextColor = /* @__PURE__ */ ((RevisionPageDocumentCoverTextColor2) => {
|
|
1524
|
+
RevisionPageDocumentCoverTextColor2["Black"] = "black";
|
|
1525
|
+
RevisionPageDocumentCoverTextColor2["White"] = "white";
|
|
1526
|
+
return RevisionPageDocumentCoverTextColor2;
|
|
1527
|
+
})(RevisionPageDocumentCoverTextColor || {});
|
|
1528
|
+
var RevisionPageLayoutOptionsCoverMask = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverMask2) => {
|
|
1529
|
+
RevisionPageLayoutOptionsCoverMask2["None"] = "none";
|
|
1530
|
+
RevisionPageLayoutOptionsCoverMask2["Radial"] = "radial";
|
|
1531
|
+
return RevisionPageLayoutOptionsCoverMask2;
|
|
1532
|
+
})(RevisionPageLayoutOptionsCoverMask || {});
|
|
1519
1533
|
var RevisionPageLayoutOptionsCoverSize = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverSize2) => {
|
|
1520
1534
|
RevisionPageLayoutOptionsCoverSize2["Hero"] = "hero";
|
|
1521
1535
|
RevisionPageLayoutOptionsCoverSize2["Full"] = "full";
|
|
1536
|
+
RevisionPageLayoutOptionsCoverSize2["Background"] = "background";
|
|
1522
1537
|
return RevisionPageLayoutOptionsCoverSize2;
|
|
1523
1538
|
})(RevisionPageLayoutOptionsCoverSize || {});
|
|
1524
1539
|
var RevisionPageLayoutOptionsWidth = /* @__PURE__ */ ((RevisionPageLayoutOptionsWidth2) => {
|
|
@@ -3019,6 +3034,20 @@ var Api = class extends HttpClient {
|
|
|
3019
3034
|
format: "json",
|
|
3020
3035
|
...params
|
|
3021
3036
|
}),
|
|
3037
|
+
listOrganizationStyleguides: (organizationId, params = {}) => this.request({
|
|
3038
|
+
path: `/orgs/${organizationId}/styleguides`,
|
|
3039
|
+
method: "GET",
|
|
3040
|
+
secure: true,
|
|
3041
|
+
format: "json",
|
|
3042
|
+
...params
|
|
3043
|
+
}),
|
|
3044
|
+
listStyleguideTemplates: (organizationId, params = {}) => this.request({
|
|
3045
|
+
path: `/orgs/${organizationId}/styleguide-templates`,
|
|
3046
|
+
method: "GET",
|
|
3047
|
+
secure: true,
|
|
3048
|
+
format: "json",
|
|
3049
|
+
...params
|
|
3050
|
+
}),
|
|
3022
3051
|
listMembersInOrganizationById: (organizationId, query, params = {}) => this.request({
|
|
3023
3052
|
path: `/orgs/${organizationId}/members`,
|
|
3024
3053
|
method: "GET",
|
|
@@ -4682,7 +4711,9 @@ var REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
|
4682
4711
|
var REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
4683
4712
|
var OPEN_APISPEC_VISIBILITY_ENUM = ["private", "public"];
|
|
4684
4713
|
var REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM = ["default", "wide"];
|
|
4685
|
-
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full"];
|
|
4714
|
+
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full", "background"];
|
|
4715
|
+
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM = ["none", "radial"];
|
|
4716
|
+
var REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM = ["black", "white"];
|
|
4686
4717
|
var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
|
|
4687
4718
|
var CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
|
|
4688
4719
|
var CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
|
|
@@ -5137,6 +5168,8 @@ var GitBookAPI = class extends Api {
|
|
|
5137
5168
|
OrganizationUseCase,
|
|
5138
5169
|
PAGE_FEEDBACK_RATING_ENUM,
|
|
5139
5170
|
PageFeedbackRating,
|
|
5171
|
+
REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM,
|
|
5172
|
+
REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM,
|
|
5140
5173
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
5141
5174
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
5142
5175
|
REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
@@ -5144,6 +5177,8 @@ var GitBookAPI = class extends Api {
|
|
|
5144
5177
|
REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
5145
5178
|
REVISION_PAGE_TYPE_ENUM,
|
|
5146
5179
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
5180
|
+
RevisionPageDocumentCoverTextColor,
|
|
5181
|
+
RevisionPageLayoutOptionsCoverMask,
|
|
5147
5182
|
RevisionPageLayoutOptionsCoverSize,
|
|
5148
5183
|
RevisionPageLayoutOptionsWidth,
|
|
5149
5184
|
RevisionPageLayoutPreset,
|
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var require_node = __commonJS({
|
|
|
172
172
|
|
|
173
173
|
// package.json
|
|
174
174
|
var name = "@gitbook/api";
|
|
175
|
-
var version = "0.
|
|
175
|
+
var version = "0.189.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -1168,9 +1168,20 @@ var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
|
1168
1168
|
ChangeRequestStatus2["Merged"] = "merged";
|
|
1169
1169
|
return ChangeRequestStatus2;
|
|
1170
1170
|
})(ChangeRequestStatus || {});
|
|
1171
|
+
var RevisionPageDocumentCoverTextColor = /* @__PURE__ */ ((RevisionPageDocumentCoverTextColor2) => {
|
|
1172
|
+
RevisionPageDocumentCoverTextColor2["Black"] = "black";
|
|
1173
|
+
RevisionPageDocumentCoverTextColor2["White"] = "white";
|
|
1174
|
+
return RevisionPageDocumentCoverTextColor2;
|
|
1175
|
+
})(RevisionPageDocumentCoverTextColor || {});
|
|
1176
|
+
var RevisionPageLayoutOptionsCoverMask = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverMask2) => {
|
|
1177
|
+
RevisionPageLayoutOptionsCoverMask2["None"] = "none";
|
|
1178
|
+
RevisionPageLayoutOptionsCoverMask2["Radial"] = "radial";
|
|
1179
|
+
return RevisionPageLayoutOptionsCoverMask2;
|
|
1180
|
+
})(RevisionPageLayoutOptionsCoverMask || {});
|
|
1171
1181
|
var RevisionPageLayoutOptionsCoverSize = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverSize2) => {
|
|
1172
1182
|
RevisionPageLayoutOptionsCoverSize2["Hero"] = "hero";
|
|
1173
1183
|
RevisionPageLayoutOptionsCoverSize2["Full"] = "full";
|
|
1184
|
+
RevisionPageLayoutOptionsCoverSize2["Background"] = "background";
|
|
1174
1185
|
return RevisionPageLayoutOptionsCoverSize2;
|
|
1175
1186
|
})(RevisionPageLayoutOptionsCoverSize || {});
|
|
1176
1187
|
var RevisionPageLayoutOptionsWidth = /* @__PURE__ */ ((RevisionPageLayoutOptionsWidth2) => {
|
|
@@ -2671,6 +2682,20 @@ var Api = class extends HttpClient {
|
|
|
2671
2682
|
format: "json",
|
|
2672
2683
|
...params
|
|
2673
2684
|
}),
|
|
2685
|
+
listOrganizationStyleguides: (organizationId, params = {}) => this.request({
|
|
2686
|
+
path: `/orgs/${organizationId}/styleguides`,
|
|
2687
|
+
method: "GET",
|
|
2688
|
+
secure: true,
|
|
2689
|
+
format: "json",
|
|
2690
|
+
...params
|
|
2691
|
+
}),
|
|
2692
|
+
listStyleguideTemplates: (organizationId, params = {}) => this.request({
|
|
2693
|
+
path: `/orgs/${organizationId}/styleguide-templates`,
|
|
2694
|
+
method: "GET",
|
|
2695
|
+
secure: true,
|
|
2696
|
+
format: "json",
|
|
2697
|
+
...params
|
|
2698
|
+
}),
|
|
2674
2699
|
listMembersInOrganizationById: (organizationId, query, params = {}) => this.request({
|
|
2675
2700
|
path: `/orgs/${organizationId}/members`,
|
|
2676
2701
|
method: "GET",
|
|
@@ -4334,7 +4359,9 @@ var REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
|
4334
4359
|
var REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
4335
4360
|
var OPEN_APISPEC_VISIBILITY_ENUM = ["private", "public"];
|
|
4336
4361
|
var REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM = ["default", "wide"];
|
|
4337
|
-
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full"];
|
|
4362
|
+
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full", "background"];
|
|
4363
|
+
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM = ["none", "radial"];
|
|
4364
|
+
var REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM = ["black", "white"];
|
|
4338
4365
|
var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
|
|
4339
4366
|
var CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
|
|
4340
4367
|
var CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
|
|
@@ -4788,6 +4815,8 @@ export {
|
|
|
4788
4815
|
OrganizationUseCase,
|
|
4789
4816
|
PAGE_FEEDBACK_RATING_ENUM,
|
|
4790
4817
|
PageFeedbackRating,
|
|
4818
|
+
REVISION_PAGE_DOCUMENT_COVER_TEXT_COLOR_ENUM,
|
|
4819
|
+
REVISION_PAGE_LAYOUT_OPTIONS_COVER_MASK_ENUM,
|
|
4791
4820
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
4792
4821
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
4793
4822
|
REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
@@ -4795,6 +4824,8 @@ export {
|
|
|
4795
4824
|
REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
4796
4825
|
REVISION_PAGE_TYPE_ENUM,
|
|
4797
4826
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
4827
|
+
RevisionPageDocumentCoverTextColor,
|
|
4828
|
+
RevisionPageLayoutOptionsCoverMask,
|
|
4798
4829
|
RevisionPageLayoutOptionsCoverSize,
|
|
4799
4830
|
RevisionPageLayoutOptionsWidth,
|
|
4800
4831
|
RevisionPageLayoutPreset,
|
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -2560,7 +2560,12 @@
|
|
|
2560
2560
|
"$ref": "#/components/schemas/JSONDocument"
|
|
2561
2561
|
},
|
|
2562
2562
|
"links": {
|
|
2563
|
-
"
|
|
2563
|
+
"type": "array",
|
|
2564
|
+
"description": "External links associated with the change request.",
|
|
2565
|
+
"items": {
|
|
2566
|
+
"$ref": "#/components/schemas/ChangeRequestLinkInput"
|
|
2567
|
+
},
|
|
2568
|
+
"maxItems": 10
|
|
2564
2569
|
},
|
|
2565
2570
|
"status": {
|
|
2566
2571
|
"type": "string",
|
|
@@ -8260,6 +8265,82 @@
|
|
|
8260
8265
|
}
|
|
8261
8266
|
}
|
|
8262
8267
|
},
|
|
8268
|
+
"/orgs/{organizationId}/styleguides": {
|
|
8269
|
+
"get": {
|
|
8270
|
+
"operationId": "listOrganizationStyleguides",
|
|
8271
|
+
"summary": "List all styleguides in an organization",
|
|
8272
|
+
"description": "Lists every styleguide (a space holding a team's writing styleguide) in the organization, along with every site that references each one. Styleguides that are not referenced by any site are still returned with an empty `sites` list.\n",
|
|
8273
|
+
"x-gitbook-mcp": true,
|
|
8274
|
+
"tags": [
|
|
8275
|
+
"organizations"
|
|
8276
|
+
],
|
|
8277
|
+
"security": [
|
|
8278
|
+
{
|
|
8279
|
+
"user": []
|
|
8280
|
+
},
|
|
8281
|
+
{
|
|
8282
|
+
"oauth": [
|
|
8283
|
+
"site:read"
|
|
8284
|
+
]
|
|
8285
|
+
}
|
|
8286
|
+
],
|
|
8287
|
+
"parameters": [
|
|
8288
|
+
{
|
|
8289
|
+
"$ref": "#/components/parameters/organizationId"
|
|
8290
|
+
}
|
|
8291
|
+
],
|
|
8292
|
+
"responses": {
|
|
8293
|
+
"200": {
|
|
8294
|
+
"description": "OK",
|
|
8295
|
+
"content": {
|
|
8296
|
+
"application/json": {
|
|
8297
|
+
"schema": {
|
|
8298
|
+
"$ref": "#/components/schemas/OrganizationStyleguides"
|
|
8299
|
+
}
|
|
8300
|
+
}
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
}
|
|
8304
|
+
}
|
|
8305
|
+
},
|
|
8306
|
+
"/orgs/{organizationId}/styleguide-templates": {
|
|
8307
|
+
"get": {
|
|
8308
|
+
"operationId": "listStyleguideTemplates",
|
|
8309
|
+
"summary": "List all built-in styleguide templates",
|
|
8310
|
+
"description": "Lists the built-in styleguide starter templates that can seed a new styleguide, including the markdown content used to render each template's preview.\n",
|
|
8311
|
+
"x-gitbook-mcp": true,
|
|
8312
|
+
"tags": [
|
|
8313
|
+
"organizations"
|
|
8314
|
+
],
|
|
8315
|
+
"security": [
|
|
8316
|
+
{
|
|
8317
|
+
"user": []
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
"oauth": [
|
|
8321
|
+
"site:read"
|
|
8322
|
+
]
|
|
8323
|
+
}
|
|
8324
|
+
],
|
|
8325
|
+
"parameters": [
|
|
8326
|
+
{
|
|
8327
|
+
"$ref": "#/components/parameters/organizationId"
|
|
8328
|
+
}
|
|
8329
|
+
],
|
|
8330
|
+
"responses": {
|
|
8331
|
+
"200": {
|
|
8332
|
+
"description": "OK",
|
|
8333
|
+
"content": {
|
|
8334
|
+
"application/json": {
|
|
8335
|
+
"schema": {
|
|
8336
|
+
"$ref": "#/components/schemas/StyleguideTemplates"
|
|
8337
|
+
}
|
|
8338
|
+
}
|
|
8339
|
+
}
|
|
8340
|
+
}
|
|
8341
|
+
}
|
|
8342
|
+
}
|
|
8343
|
+
},
|
|
8263
8344
|
"/orgs/{organizationId}/members": {
|
|
8264
8345
|
"get": {
|
|
8265
8346
|
"operationId": "listMembersInOrganizationById",
|
|
@@ -24749,6 +24830,10 @@
|
|
|
24749
24830
|
"hideColumnTitle": {
|
|
24750
24831
|
"type": "boolean",
|
|
24751
24832
|
"description": "Should we display the column title or not"
|
|
24833
|
+
},
|
|
24834
|
+
"wrap": {
|
|
24835
|
+
"type": "boolean",
|
|
24836
|
+
"description": "Whether the cards wrap onto multiple rows (true, the default) or are laid out in a single horizontally-scrolling carousel row (false)."
|
|
24752
24837
|
}
|
|
24753
24838
|
},
|
|
24754
24839
|
"required": [
|
|
@@ -28394,7 +28479,16 @@
|
|
|
28394
28479
|
"description": "Size of the cover image.",
|
|
28395
28480
|
"enum": [
|
|
28396
28481
|
"hero",
|
|
28397
|
-
"full"
|
|
28482
|
+
"full",
|
|
28483
|
+
"background"
|
|
28484
|
+
]
|
|
28485
|
+
},
|
|
28486
|
+
"RevisionPageLayoutOptionsCoverMask": {
|
|
28487
|
+
"type": "string",
|
|
28488
|
+
"description": "Mask applied to the cover image.",
|
|
28489
|
+
"enum": [
|
|
28490
|
+
"none",
|
|
28491
|
+
"radial"
|
|
28398
28492
|
]
|
|
28399
28493
|
},
|
|
28400
28494
|
"RevisionPageLayoutOptions": {
|
|
@@ -28410,6 +28504,9 @@
|
|
|
28410
28504
|
"coverSize": {
|
|
28411
28505
|
"$ref": "#/components/schemas/RevisionPageLayoutOptionsCoverSize"
|
|
28412
28506
|
},
|
|
28507
|
+
"coverMask": {
|
|
28508
|
+
"$ref": "#/components/schemas/RevisionPageLayoutOptionsCoverMask"
|
|
28509
|
+
},
|
|
28413
28510
|
"title": {
|
|
28414
28511
|
"type": "boolean",
|
|
28415
28512
|
"description": "Should the title be visible?"
|
|
@@ -28447,6 +28544,7 @@
|
|
|
28447
28544
|
"width",
|
|
28448
28545
|
"cover",
|
|
28449
28546
|
"coverSize",
|
|
28547
|
+
"coverMask",
|
|
28450
28548
|
"title",
|
|
28451
28549
|
"description",
|
|
28452
28550
|
"tableOfContents",
|
|
@@ -28457,6 +28555,13 @@
|
|
|
28457
28555
|
"actions"
|
|
28458
28556
|
]
|
|
28459
28557
|
},
|
|
28558
|
+
"RevisionPageDocumentCoverTextColor": {
|
|
28559
|
+
"type": "string",
|
|
28560
|
+
"enum": [
|
|
28561
|
+
"black",
|
|
28562
|
+
"white"
|
|
28563
|
+
]
|
|
28564
|
+
},
|
|
28460
28565
|
"RevisionPageDocumentCover": {
|
|
28461
28566
|
"type": "object",
|
|
28462
28567
|
"properties": {
|
|
@@ -28482,6 +28587,14 @@
|
|
|
28482
28587
|
}
|
|
28483
28588
|
]
|
|
28484
28589
|
},
|
|
28590
|
+
"textColor": {
|
|
28591
|
+
"description": "Text color to use on top of the cover image when in background mode.",
|
|
28592
|
+
"$ref": "#/components/schemas/RevisionPageDocumentCoverTextColor"
|
|
28593
|
+
},
|
|
28594
|
+
"textColorDark": {
|
|
28595
|
+
"description": "Text color to use on top of the dark mode cover image when in background mode.",
|
|
28596
|
+
"$ref": "#/components/schemas/RevisionPageDocumentCoverTextColor"
|
|
28597
|
+
},
|
|
28485
28598
|
"yPos": {
|
|
28486
28599
|
"description": "Vertical position of the cover image.",
|
|
28487
28600
|
"type": "number",
|
|
@@ -29143,8 +29256,9 @@
|
|
|
29143
29256
|
"description": "Optional title to display for the link.",
|
|
29144
29257
|
"maxLength": 128
|
|
29145
29258
|
},
|
|
29146
|
-
"
|
|
29259
|
+
"ChangeRequestLinkInput": {
|
|
29147
29260
|
"type": "object",
|
|
29261
|
+
"description": "External link associated with a change request.",
|
|
29148
29262
|
"properties": {
|
|
29149
29263
|
"ref": {
|
|
29150
29264
|
"$ref": "#/components/schemas/ContentRefURL"
|
|
@@ -29157,6 +29271,117 @@
|
|
|
29157
29271
|
"ref"
|
|
29158
29272
|
]
|
|
29159
29273
|
},
|
|
29274
|
+
"ChangeRequestLinkExpanded": {
|
|
29275
|
+
"description": "External ticket data resolved for this link by a configured connector.",
|
|
29276
|
+
"oneOf": [
|
|
29277
|
+
{
|
|
29278
|
+
"type": "object",
|
|
29279
|
+
"description": "An external ticket linked to the change request.",
|
|
29280
|
+
"properties": {
|
|
29281
|
+
"kind": {
|
|
29282
|
+
"type": "string",
|
|
29283
|
+
"enum": [
|
|
29284
|
+
"external-ticket"
|
|
29285
|
+
]
|
|
29286
|
+
},
|
|
29287
|
+
"provider": {
|
|
29288
|
+
"type": "string",
|
|
29289
|
+
"enum": [
|
|
29290
|
+
"jira"
|
|
29291
|
+
]
|
|
29292
|
+
},
|
|
29293
|
+
"state": {
|
|
29294
|
+
"type": "string",
|
|
29295
|
+
"enum": [
|
|
29296
|
+
"connected"
|
|
29297
|
+
]
|
|
29298
|
+
},
|
|
29299
|
+
"key": {
|
|
29300
|
+
"type": "string",
|
|
29301
|
+
"description": "The ticket's provider-specific key."
|
|
29302
|
+
},
|
|
29303
|
+
"url": {
|
|
29304
|
+
"type": "string",
|
|
29305
|
+
"format": "uri",
|
|
29306
|
+
"description": "URL to open the ticket."
|
|
29307
|
+
},
|
|
29308
|
+
"status": {
|
|
29309
|
+
"type": "object",
|
|
29310
|
+
"properties": {
|
|
29311
|
+
"id": {
|
|
29312
|
+
"type": "string"
|
|
29313
|
+
},
|
|
29314
|
+
"name": {
|
|
29315
|
+
"type": "string"
|
|
29316
|
+
}
|
|
29317
|
+
},
|
|
29318
|
+
"required": [
|
|
29319
|
+
"id",
|
|
29320
|
+
"name"
|
|
29321
|
+
]
|
|
29322
|
+
},
|
|
29323
|
+
"summary": {
|
|
29324
|
+
"type": "string",
|
|
29325
|
+
"description": "The ticket's summary."
|
|
29326
|
+
}
|
|
29327
|
+
},
|
|
29328
|
+
"required": [
|
|
29329
|
+
"kind",
|
|
29330
|
+
"provider",
|
|
29331
|
+
"state",
|
|
29332
|
+
"key",
|
|
29333
|
+
"url",
|
|
29334
|
+
"status",
|
|
29335
|
+
"summary"
|
|
29336
|
+
]
|
|
29337
|
+
},
|
|
29338
|
+
{
|
|
29339
|
+
"type": "object",
|
|
29340
|
+
"description": "An external ticket whose current data could not be loaded.",
|
|
29341
|
+
"properties": {
|
|
29342
|
+
"kind": {
|
|
29343
|
+
"type": "string",
|
|
29344
|
+
"enum": [
|
|
29345
|
+
"external-ticket"
|
|
29346
|
+
]
|
|
29347
|
+
},
|
|
29348
|
+
"provider": {
|
|
29349
|
+
"type": "string",
|
|
29350
|
+
"enum": [
|
|
29351
|
+
"jira"
|
|
29352
|
+
]
|
|
29353
|
+
},
|
|
29354
|
+
"state": {
|
|
29355
|
+
"type": "string",
|
|
29356
|
+
"enum": [
|
|
29357
|
+
"error"
|
|
29358
|
+
]
|
|
29359
|
+
}
|
|
29360
|
+
},
|
|
29361
|
+
"required": [
|
|
29362
|
+
"kind",
|
|
29363
|
+
"provider",
|
|
29364
|
+
"state"
|
|
29365
|
+
]
|
|
29366
|
+
}
|
|
29367
|
+
]
|
|
29368
|
+
},
|
|
29369
|
+
"ChangeRequestLink": {
|
|
29370
|
+
"allOf": [
|
|
29371
|
+
{
|
|
29372
|
+
"$ref": "#/components/schemas/ChangeRequestLinkInput"
|
|
29373
|
+
},
|
|
29374
|
+
{
|
|
29375
|
+
"type": "object",
|
|
29376
|
+
"properties": {
|
|
29377
|
+
"expanded": {
|
|
29378
|
+
"$ref": "#/components/schemas/ChangeRequestLinkExpanded",
|
|
29379
|
+
"readOnly": true
|
|
29380
|
+
}
|
|
29381
|
+
}
|
|
29382
|
+
}
|
|
29383
|
+
]
|
|
29384
|
+
},
|
|
29160
29385
|
"ChangeRequestLinks": {
|
|
29161
29386
|
"type": "array",
|
|
29162
29387
|
"description": "External links associated with the change request.",
|
|
@@ -38754,6 +38979,10 @@
|
|
|
38754
38979
|
"spaceId": {
|
|
38755
38980
|
"type": "string",
|
|
38756
38981
|
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
38982
|
+
},
|
|
38983
|
+
"siteId": {
|
|
38984
|
+
"type": "string",
|
|
38985
|
+
"description": "Unique identifier of the site whose Git Sync installation should manage the space installation. Omit to install Git Sync directly on the space."
|
|
38757
38986
|
}
|
|
38758
38987
|
},
|
|
38759
38988
|
"required": [
|
|
@@ -40494,6 +40723,7 @@
|
|
|
40494
40723
|
"builtin:github-issues",
|
|
40495
40724
|
"builtin:intercom",
|
|
40496
40725
|
"builtin:zendesk",
|
|
40726
|
+
"builtin:zoho-desk",
|
|
40497
40727
|
"builtin:pylon",
|
|
40498
40728
|
"builtin:linear",
|
|
40499
40729
|
"builtin:jira"
|
|
@@ -41416,6 +41646,55 @@
|
|
|
41416
41646
|
"setupSettings"
|
|
41417
41647
|
]
|
|
41418
41648
|
},
|
|
41649
|
+
{
|
|
41650
|
+
"type": "object",
|
|
41651
|
+
"properties": {
|
|
41652
|
+
"connector": {
|
|
41653
|
+
"type": "string",
|
|
41654
|
+
"enum": [
|
|
41655
|
+
"builtin:zoho-desk"
|
|
41656
|
+
]
|
|
41657
|
+
},
|
|
41658
|
+
"setupSettings": {
|
|
41659
|
+
"type": "object",
|
|
41660
|
+
"properties": {
|
|
41661
|
+
"dataCenter": {
|
|
41662
|
+
"type": "string",
|
|
41663
|
+
"minLength": 1,
|
|
41664
|
+
"description": "Zoho data center hosting the account, given as its API domain suffix (e.g. `com`, `eu`, `in`, `com.au`). Zoho scopes both the accounts and desk API hosts by data center."
|
|
41665
|
+
},
|
|
41666
|
+
"orgId": {
|
|
41667
|
+
"type": "string",
|
|
41668
|
+
"minLength": 1,
|
|
41669
|
+
"description": "Zoho Desk organization id the tickets belong to."
|
|
41670
|
+
},
|
|
41671
|
+
"clientId": {
|
|
41672
|
+
"type": "string",
|
|
41673
|
+
"minLength": 1
|
|
41674
|
+
},
|
|
41675
|
+
"clientSecret": {
|
|
41676
|
+
"type": "string",
|
|
41677
|
+
"minLength": 1
|
|
41678
|
+
},
|
|
41679
|
+
"refreshToken": {
|
|
41680
|
+
"type": "string",
|
|
41681
|
+
"minLength": 1
|
|
41682
|
+
}
|
|
41683
|
+
},
|
|
41684
|
+
"required": [
|
|
41685
|
+
"dataCenter",
|
|
41686
|
+
"orgId",
|
|
41687
|
+
"clientId",
|
|
41688
|
+
"clientSecret",
|
|
41689
|
+
"refreshToken"
|
|
41690
|
+
]
|
|
41691
|
+
}
|
|
41692
|
+
},
|
|
41693
|
+
"required": [
|
|
41694
|
+
"connector",
|
|
41695
|
+
"setupSettings"
|
|
41696
|
+
]
|
|
41697
|
+
},
|
|
41419
41698
|
{
|
|
41420
41699
|
"type": "object",
|
|
41421
41700
|
"properties": {
|
package/spec/openapi.yaml
CHANGED
|
@@ -1678,7 +1678,11 @@ paths:
|
|
|
1678
1678
|
description:
|
|
1679
1679
|
$ref: "#/components/schemas/JSONDocument"
|
|
1680
1680
|
links:
|
|
1681
|
-
|
|
1681
|
+
type: array
|
|
1682
|
+
description: External links associated with the change request.
|
|
1683
|
+
items:
|
|
1684
|
+
$ref: "#/components/schemas/ChangeRequestLinkInput"
|
|
1685
|
+
maxItems: 10
|
|
1682
1686
|
status:
|
|
1683
1687
|
type: string
|
|
1684
1688
|
enum:
|
|
@@ -4726,6 +4730,50 @@ paths:
|
|
|
4726
4730
|
"400":
|
|
4727
4731
|
description: Invalid default content space or collection provided
|
|
4728
4732
|
$ref: "#/components/responses/BadRequestError"
|
|
4733
|
+
/orgs/{organizationId}/styleguides:
|
|
4734
|
+
get:
|
|
4735
|
+
operationId: listOrganizationStyleguides
|
|
4736
|
+
summary: List all styleguides in an organization
|
|
4737
|
+
description: |
|
|
4738
|
+
Lists every styleguide (a space holding a team's writing styleguide) in the organization, along with every site that references each one. Styleguides that are not referenced by any site are still returned with an empty `sites` list.
|
|
4739
|
+
x-gitbook-mcp: true
|
|
4740
|
+
tags:
|
|
4741
|
+
- organizations
|
|
4742
|
+
security:
|
|
4743
|
+
- user: []
|
|
4744
|
+
- oauth:
|
|
4745
|
+
- site:read
|
|
4746
|
+
parameters:
|
|
4747
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4748
|
+
responses:
|
|
4749
|
+
"200":
|
|
4750
|
+
description: OK
|
|
4751
|
+
content:
|
|
4752
|
+
application/json:
|
|
4753
|
+
schema:
|
|
4754
|
+
$ref: "#/components/schemas/OrganizationStyleguides"
|
|
4755
|
+
/orgs/{organizationId}/styleguide-templates:
|
|
4756
|
+
get:
|
|
4757
|
+
operationId: listStyleguideTemplates
|
|
4758
|
+
summary: List all built-in styleguide templates
|
|
4759
|
+
description: |
|
|
4760
|
+
Lists the built-in styleguide starter templates that can seed a new styleguide, including the markdown content used to render each template's preview.
|
|
4761
|
+
x-gitbook-mcp: true
|
|
4762
|
+
tags:
|
|
4763
|
+
- organizations
|
|
4764
|
+
security:
|
|
4765
|
+
- user: []
|
|
4766
|
+
- oauth:
|
|
4767
|
+
- site:read
|
|
4768
|
+
parameters:
|
|
4769
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4770
|
+
responses:
|
|
4771
|
+
"200":
|
|
4772
|
+
description: OK
|
|
4773
|
+
content:
|
|
4774
|
+
application/json:
|
|
4775
|
+
schema:
|
|
4776
|
+
$ref: "#/components/schemas/StyleguideTemplates"
|
|
4729
4777
|
/orgs/{organizationId}/members:
|
|
4730
4778
|
get:
|
|
4731
4779
|
operationId: listMembersInOrganizationById
|
|
@@ -14375,6 +14423,9 @@ components:
|
|
|
14375
14423
|
hideColumnTitle:
|
|
14376
14424
|
type: boolean
|
|
14377
14425
|
description: Should we display the column title or not
|
|
14426
|
+
wrap:
|
|
14427
|
+
type: boolean
|
|
14428
|
+
description: Whether the cards wrap onto multiple rows (true, the default) or are laid out in a single horizontally-scrolling carousel row (false).
|
|
14378
14429
|
required:
|
|
14379
14430
|
- type
|
|
14380
14431
|
- columns
|
|
@@ -16570,6 +16621,13 @@ components:
|
|
|
16570
16621
|
enum:
|
|
16571
16622
|
- hero
|
|
16572
16623
|
- full
|
|
16624
|
+
- background
|
|
16625
|
+
RevisionPageLayoutOptionsCoverMask:
|
|
16626
|
+
type: string
|
|
16627
|
+
description: Mask applied to the cover image.
|
|
16628
|
+
enum:
|
|
16629
|
+
- none
|
|
16630
|
+
- radial
|
|
16573
16631
|
RevisionPageLayoutOptions:
|
|
16574
16632
|
type: object
|
|
16575
16633
|
properties:
|
|
@@ -16580,6 +16638,8 @@ components:
|
|
|
16580
16638
|
description: Should the cover be visible?
|
|
16581
16639
|
coverSize:
|
|
16582
16640
|
$ref: "#/components/schemas/RevisionPageLayoutOptionsCoverSize"
|
|
16641
|
+
coverMask:
|
|
16642
|
+
$ref: "#/components/schemas/RevisionPageLayoutOptionsCoverMask"
|
|
16583
16643
|
title:
|
|
16584
16644
|
type: boolean
|
|
16585
16645
|
description: Should the title be visible?
|
|
@@ -16608,6 +16668,7 @@ components:
|
|
|
16608
16668
|
- width
|
|
16609
16669
|
- cover
|
|
16610
16670
|
- coverSize
|
|
16671
|
+
- coverMask
|
|
16611
16672
|
- title
|
|
16612
16673
|
- description
|
|
16613
16674
|
- tableOfContents
|
|
@@ -16616,6 +16677,11 @@ components:
|
|
|
16616
16677
|
- metadata
|
|
16617
16678
|
- tags
|
|
16618
16679
|
- actions
|
|
16680
|
+
RevisionPageDocumentCoverTextColor:
|
|
16681
|
+
type: string
|
|
16682
|
+
enum:
|
|
16683
|
+
- black
|
|
16684
|
+
- white
|
|
16619
16685
|
RevisionPageDocumentCover:
|
|
16620
16686
|
type: object
|
|
16621
16687
|
properties:
|
|
@@ -16629,6 +16695,12 @@ components:
|
|
|
16629
16695
|
oneOf:
|
|
16630
16696
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
16631
16697
|
- $ref: "#/components/schemas/ContentRefURL"
|
|
16698
|
+
textColor:
|
|
16699
|
+
description: Text color to use on top of the cover image when in background mode.
|
|
16700
|
+
$ref: "#/components/schemas/RevisionPageDocumentCoverTextColor"
|
|
16701
|
+
textColorDark:
|
|
16702
|
+
description: Text color to use on top of the dark mode cover image when in background mode.
|
|
16703
|
+
$ref: "#/components/schemas/RevisionPageDocumentCoverTextColor"
|
|
16632
16704
|
yPos:
|
|
16633
16705
|
description: Vertical position of the cover image.
|
|
16634
16706
|
type: number
|
|
@@ -17048,8 +17120,9 @@ components:
|
|
|
17048
17120
|
type: string
|
|
17049
17121
|
description: Optional title to display for the link.
|
|
17050
17122
|
maxLength: 128
|
|
17051
|
-
|
|
17123
|
+
ChangeRequestLinkInput:
|
|
17052
17124
|
type: object
|
|
17125
|
+
description: External link associated with a change request.
|
|
17053
17126
|
properties:
|
|
17054
17127
|
ref:
|
|
17055
17128
|
$ref: "#/components/schemas/ContentRefURL"
|
|
@@ -17057,6 +17130,79 @@ components:
|
|
|
17057
17130
|
$ref: "#/components/schemas/ChangeRequestLinkTitle"
|
|
17058
17131
|
required:
|
|
17059
17132
|
- ref
|
|
17133
|
+
ChangeRequestLinkExpanded:
|
|
17134
|
+
description: External ticket data resolved for this link by a configured connector.
|
|
17135
|
+
oneOf:
|
|
17136
|
+
- type: object
|
|
17137
|
+
description: An external ticket linked to the change request.
|
|
17138
|
+
properties:
|
|
17139
|
+
kind:
|
|
17140
|
+
type: string
|
|
17141
|
+
enum:
|
|
17142
|
+
- external-ticket
|
|
17143
|
+
provider:
|
|
17144
|
+
type: string
|
|
17145
|
+
enum:
|
|
17146
|
+
- jira
|
|
17147
|
+
state:
|
|
17148
|
+
type: string
|
|
17149
|
+
enum:
|
|
17150
|
+
- connected
|
|
17151
|
+
key:
|
|
17152
|
+
type: string
|
|
17153
|
+
description: The ticket's provider-specific key.
|
|
17154
|
+
url:
|
|
17155
|
+
type: string
|
|
17156
|
+
format: uri
|
|
17157
|
+
description: URL to open the ticket.
|
|
17158
|
+
status:
|
|
17159
|
+
type: object
|
|
17160
|
+
properties:
|
|
17161
|
+
id:
|
|
17162
|
+
type: string
|
|
17163
|
+
name:
|
|
17164
|
+
type: string
|
|
17165
|
+
required:
|
|
17166
|
+
- id
|
|
17167
|
+
- name
|
|
17168
|
+
summary:
|
|
17169
|
+
type: string
|
|
17170
|
+
description: The ticket's summary.
|
|
17171
|
+
required:
|
|
17172
|
+
- kind
|
|
17173
|
+
- provider
|
|
17174
|
+
- state
|
|
17175
|
+
- key
|
|
17176
|
+
- url
|
|
17177
|
+
- status
|
|
17178
|
+
- summary
|
|
17179
|
+
- type: object
|
|
17180
|
+
description: An external ticket whose current data could not be loaded.
|
|
17181
|
+
properties:
|
|
17182
|
+
kind:
|
|
17183
|
+
type: string
|
|
17184
|
+
enum:
|
|
17185
|
+
- external-ticket
|
|
17186
|
+
provider:
|
|
17187
|
+
type: string
|
|
17188
|
+
enum:
|
|
17189
|
+
- jira
|
|
17190
|
+
state:
|
|
17191
|
+
type: string
|
|
17192
|
+
enum:
|
|
17193
|
+
- error
|
|
17194
|
+
required:
|
|
17195
|
+
- kind
|
|
17196
|
+
- provider
|
|
17197
|
+
- state
|
|
17198
|
+
ChangeRequestLink:
|
|
17199
|
+
allOf:
|
|
17200
|
+
- $ref: "#/components/schemas/ChangeRequestLinkInput"
|
|
17201
|
+
- type: object
|
|
17202
|
+
properties:
|
|
17203
|
+
expanded:
|
|
17204
|
+
$ref: "#/components/schemas/ChangeRequestLinkExpanded"
|
|
17205
|
+
readOnly: true
|
|
17060
17206
|
ChangeRequestLinks:
|
|
17061
17207
|
type: array
|
|
17062
17208
|
description: External links associated with the change request.
|
|
@@ -23560,6 +23706,9 @@ components:
|
|
|
23560
23706
|
spaceId:
|
|
23561
23707
|
type: string
|
|
23562
23708
|
description: Unique identifier of the space targeted by the Git Sync installation.
|
|
23709
|
+
siteId:
|
|
23710
|
+
type: string
|
|
23711
|
+
description: Unique identifier of the site whose Git Sync installation should manage the space installation. Omit to install Git Sync directly on the space.
|
|
23563
23712
|
required:
|
|
23564
23713
|
- type
|
|
23565
23714
|
- spaceId
|
|
@@ -24809,6 +24958,7 @@ components:
|
|
|
24809
24958
|
- builtin:github-issues
|
|
24810
24959
|
- builtin:intercom
|
|
24811
24960
|
- builtin:zendesk
|
|
24961
|
+
- builtin:zoho-desk
|
|
24812
24962
|
- builtin:pylon
|
|
24813
24963
|
- builtin:linear
|
|
24814
24964
|
- builtin:jira
|
|
@@ -25470,6 +25620,41 @@ components:
|
|
|
25470
25620
|
required:
|
|
25471
25621
|
- connector
|
|
25472
25622
|
- setupSettings
|
|
25623
|
+
- type: object
|
|
25624
|
+
properties:
|
|
25625
|
+
connector:
|
|
25626
|
+
type: string
|
|
25627
|
+
enum:
|
|
25628
|
+
- builtin:zoho-desk
|
|
25629
|
+
setupSettings:
|
|
25630
|
+
type: object
|
|
25631
|
+
properties:
|
|
25632
|
+
dataCenter:
|
|
25633
|
+
type: string
|
|
25634
|
+
minLength: 1
|
|
25635
|
+
description: Zoho data center hosting the account, given as its API domain suffix (e.g. `com`, `eu`, `in`, `com.au`). Zoho scopes both the accounts and desk API hosts by data center.
|
|
25636
|
+
orgId:
|
|
25637
|
+
type: string
|
|
25638
|
+
minLength: 1
|
|
25639
|
+
description: Zoho Desk organization id the tickets belong to.
|
|
25640
|
+
clientId:
|
|
25641
|
+
type: string
|
|
25642
|
+
minLength: 1
|
|
25643
|
+
clientSecret:
|
|
25644
|
+
type: string
|
|
25645
|
+
minLength: 1
|
|
25646
|
+
refreshToken:
|
|
25647
|
+
type: string
|
|
25648
|
+
minLength: 1
|
|
25649
|
+
required:
|
|
25650
|
+
- dataCenter
|
|
25651
|
+
- orgId
|
|
25652
|
+
- clientId
|
|
25653
|
+
- clientSecret
|
|
25654
|
+
- refreshToken
|
|
25655
|
+
required:
|
|
25656
|
+
- connector
|
|
25657
|
+
- setupSettings
|
|
25473
25658
|
- type: object
|
|
25474
25659
|
properties:
|
|
25475
25660
|
connector:
|