@gitbook/api 0.131.0 → 0.133.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 +36 -7
- package/dist/index.cjs +10 -1
- package/dist/index.js +10 -1
- package/package.json +1 -1
- package/spec/openapi.json +107 -14
- package/spec/openapi.yaml +61 -8
package/dist/client.d.ts
CHANGED
|
@@ -277,6 +277,8 @@ export interface Space {
|
|
|
277
277
|
merge: boolean;
|
|
278
278
|
/** Can the user review change requests. */
|
|
279
279
|
review: boolean;
|
|
280
|
+
/** Can the user install integrations in the space. */
|
|
281
|
+
installIntegration: boolean;
|
|
280
282
|
};
|
|
281
283
|
}
|
|
282
284
|
export interface SpacePointer {
|
|
@@ -780,6 +782,8 @@ export interface DocumentTableViewCards {
|
|
|
780
782
|
targetDefinition?: string;
|
|
781
783
|
/** Definition ID to use as a cover image */
|
|
782
784
|
coverDefinition?: string;
|
|
785
|
+
/** Definition ID to use as a dark mode cover image */
|
|
786
|
+
coverDefinitionDark?: string;
|
|
783
787
|
/** Should we display the column title or not */
|
|
784
788
|
hideColumnTitle?: boolean;
|
|
785
789
|
}
|
|
@@ -827,7 +831,10 @@ export type DocumentTableDefinitionSelect = DocumentTableDefinitionBase & {
|
|
|
827
831
|
export type DocumentTableDefinitionContentRef = DocumentTableDefinitionBase & {
|
|
828
832
|
type: 'content-ref';
|
|
829
833
|
};
|
|
830
|
-
export type
|
|
834
|
+
export type DocumentTableDefinitionImage = DocumentTableDefinitionBase & {
|
|
835
|
+
type: 'image';
|
|
836
|
+
};
|
|
837
|
+
export type DocumentTableDefinition = DocumentTableDefinitionText | DocumentTableDefinitionNumber | DocumentTableDefinitionCheckbox | DocumentTableDefinitionFiles | DocumentTableDefinitionUsers | DocumentTableDefinitionRating | DocumentTableDefinitionSelect | DocumentTableDefinitionContentRef | DocumentTableDefinitionImage;
|
|
831
838
|
export interface DocumentFragment {
|
|
832
839
|
object: 'fragment';
|
|
833
840
|
key?: string;
|
|
@@ -1703,7 +1710,8 @@ export declare enum BillingProduct {
|
|
|
1703
1710
|
Community2024 = "community_2024",
|
|
1704
1711
|
Free = "free",
|
|
1705
1712
|
Plus = "plus",
|
|
1706
|
-
Pro = "pro"
|
|
1713
|
+
Pro = "pro",
|
|
1714
|
+
Internal = "internal"
|
|
1707
1715
|
}
|
|
1708
1716
|
/** Interval for a billing subscription */
|
|
1709
1717
|
export declare enum BillingInterval {
|
|
@@ -1740,6 +1748,9 @@ export interface OrganizationPricing {
|
|
|
1740
1748
|
ultimate: OrganizationPricePair;
|
|
1741
1749
|
};
|
|
1742
1750
|
}
|
|
1751
|
+
export interface BillingMeterAddon {
|
|
1752
|
+
enabled: boolean;
|
|
1753
|
+
}
|
|
1743
1754
|
export interface OrganizationBilling {
|
|
1744
1755
|
/** Interval for a billing subscription */
|
|
1745
1756
|
interval: BillingInterval;
|
|
@@ -1750,6 +1761,8 @@ export interface OrganizationBilling {
|
|
|
1750
1761
|
isScheduledToCancel: boolean;
|
|
1751
1762
|
/** Pricing information for the organization */
|
|
1752
1763
|
pricing: OrganizationPricing;
|
|
1764
|
+
/** Configuration for the usage-based addons */
|
|
1765
|
+
usageAddons: Record<string, BillingMeterAddon>;
|
|
1753
1766
|
}
|
|
1754
1767
|
/** - notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended and the user has choosen to stay on the free plan or has upgraded to a paid plan. - expired, the trial has ended but the user hasn't deciced yet what to do. */
|
|
1755
1768
|
export declare enum BillingTrialStatus {
|
|
@@ -1856,6 +1869,8 @@ export interface Organization {
|
|
|
1856
1869
|
listIntegrations: boolean;
|
|
1857
1870
|
/** Can the user list the integration installations in the organization. */
|
|
1858
1871
|
listInstallations: boolean;
|
|
1872
|
+
/** Can the user install integrations in the organization. */
|
|
1873
|
+
installIntegration: boolean;
|
|
1859
1874
|
};
|
|
1860
1875
|
}
|
|
1861
1876
|
export interface ContentLocationRevisionContext {
|
|
@@ -2711,8 +2726,6 @@ export interface Integration {
|
|
|
2711
2726
|
/** The set of permissions for the integration */
|
|
2712
2727
|
permissions: {
|
|
2713
2728
|
admin: boolean;
|
|
2714
|
-
/** Integration can be installed whatever the permissions of the user. */
|
|
2715
|
-
install: boolean;
|
|
2716
2729
|
};
|
|
2717
2730
|
/**
|
|
2718
2731
|
* Security policy to validate the content of the integrations scripts and Contentkit. Will be sent as
|
|
@@ -4136,10 +4149,10 @@ export declare enum BillingMeter {
|
|
|
4136
4149
|
export interface BillingMeterUsage {
|
|
4137
4150
|
/** Total usage for the current billing period */
|
|
4138
4151
|
total: number;
|
|
4139
|
-
/**
|
|
4140
|
-
|
|
4152
|
+
/** Usage entries for the period */
|
|
4153
|
+
entries: {
|
|
4141
4154
|
date: Timestamp;
|
|
4142
|
-
/** Usage value for the
|
|
4155
|
+
/** Usage value for the date */
|
|
4143
4156
|
value: number;
|
|
4144
4157
|
}[];
|
|
4145
4158
|
}
|
|
@@ -8843,6 +8856,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8843
8856
|
*/
|
|
8844
8857
|
computed?: boolean;
|
|
8845
8858
|
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
8859
|
+
/**
|
|
8860
|
+
* No description
|
|
8861
|
+
*
|
|
8862
|
+
* @tags space-content
|
|
8863
|
+
* @name GetReusableContentDocumentInRevisionById
|
|
8864
|
+
* @summary Get the document of a reusable content in a revision
|
|
8865
|
+
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document
|
|
8866
|
+
* @secure
|
|
8867
|
+
*/
|
|
8868
|
+
getReusableContentDocumentInRevisionById: (spaceId: string, revisionId: string, reusableContentId: string, query?: {
|
|
8869
|
+
/**
|
|
8870
|
+
* If `true` is passed, the document will be evaluated
|
|
8871
|
+
* @default false
|
|
8872
|
+
*/
|
|
8873
|
+
evaluated?: boolean;
|
|
8874
|
+
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
8846
8875
|
/**
|
|
8847
8876
|
* No description
|
|
8848
8877
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -279,7 +279,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
279
279
|
|
|
280
280
|
// package.json
|
|
281
281
|
var name = "@gitbook/api";
|
|
282
|
-
var version = "0.
|
|
282
|
+
var version = "0.133.0";
|
|
283
283
|
|
|
284
284
|
// src/client.ts
|
|
285
285
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -515,6 +515,7 @@ var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
|
|
|
515
515
|
BillingProduct2["Free"] = "free";
|
|
516
516
|
BillingProduct2["Plus"] = "plus";
|
|
517
517
|
BillingProduct2["Pro"] = "pro";
|
|
518
|
+
BillingProduct2["Internal"] = "internal";
|
|
518
519
|
return BillingProduct2;
|
|
519
520
|
})(BillingProduct || {});
|
|
520
521
|
var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
|
|
@@ -2001,6 +2002,14 @@ var Api = class extends HttpClient {
|
|
|
2001
2002
|
format: "json",
|
|
2002
2003
|
...params
|
|
2003
2004
|
}),
|
|
2005
|
+
getReusableContentDocumentInRevisionById: (spaceId, revisionId, reusableContentId, query, params = {}) => this.request({
|
|
2006
|
+
path: `/spaces/${spaceId}/revisions/${revisionId}/reusable-contents/${reusableContentId}/document`,
|
|
2007
|
+
method: "GET",
|
|
2008
|
+
query,
|
|
2009
|
+
secure: true,
|
|
2010
|
+
format: "json",
|
|
2011
|
+
...params
|
|
2012
|
+
}),
|
|
2004
2013
|
listCommentsInSpace: (spaceId, query, params = {}) => this.request({
|
|
2005
2014
|
path: `/spaces/${spaceId}/comments`,
|
|
2006
2015
|
method: "GET",
|
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.133.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -408,6 +408,7 @@ var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
|
|
|
408
408
|
BillingProduct2["Free"] = "free";
|
|
409
409
|
BillingProduct2["Plus"] = "plus";
|
|
410
410
|
BillingProduct2["Pro"] = "pro";
|
|
411
|
+
BillingProduct2["Internal"] = "internal";
|
|
411
412
|
return BillingProduct2;
|
|
412
413
|
})(BillingProduct || {});
|
|
413
414
|
var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
|
|
@@ -1894,6 +1895,14 @@ var Api = class extends HttpClient {
|
|
|
1894
1895
|
format: "json",
|
|
1895
1896
|
...params
|
|
1896
1897
|
}),
|
|
1898
|
+
getReusableContentDocumentInRevisionById: (spaceId, revisionId, reusableContentId, query, params = {}) => this.request({
|
|
1899
|
+
path: `/spaces/${spaceId}/revisions/${revisionId}/reusable-contents/${reusableContentId}/document`,
|
|
1900
|
+
method: "GET",
|
|
1901
|
+
query,
|
|
1902
|
+
secure: true,
|
|
1903
|
+
format: "json",
|
|
1904
|
+
...params
|
|
1905
|
+
}),
|
|
1897
1906
|
listCommentsInSpace: (spaceId, query, params = {}) => this.request({
|
|
1898
1907
|
path: `/spaces/${spaceId}/comments`,
|
|
1899
1908
|
method: "GET",
|
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -4732,6 +4732,46 @@
|
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
4734
4734
|
},
|
|
4735
|
+
"/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document": {
|
|
4736
|
+
"get": {
|
|
4737
|
+
"operationId": "getReusableContentDocumentInRevisionById",
|
|
4738
|
+
"summary": "Get the document of a reusable content in a revision",
|
|
4739
|
+
"tags": [
|
|
4740
|
+
"space-content"
|
|
4741
|
+
],
|
|
4742
|
+
"security": [
|
|
4743
|
+
{
|
|
4744
|
+
"user": []
|
|
4745
|
+
}
|
|
4746
|
+
],
|
|
4747
|
+
"parameters": [
|
|
4748
|
+
{
|
|
4749
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
"$ref": "#/components/parameters/revisionId"
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"$ref": "#/components/parameters/reusableContentId"
|
|
4756
|
+
},
|
|
4757
|
+
{
|
|
4758
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
4759
|
+
}
|
|
4760
|
+
],
|
|
4761
|
+
"responses": {
|
|
4762
|
+
"200": {
|
|
4763
|
+
"description": "OK",
|
|
4764
|
+
"content": {
|
|
4765
|
+
"application/json": {
|
|
4766
|
+
"schema": {
|
|
4767
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
4768
|
+
}
|
|
4769
|
+
}
|
|
4770
|
+
}
|
|
4771
|
+
}
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
},
|
|
4735
4775
|
"/spaces/{spaceId}/comments": {
|
|
4736
4776
|
"get": {
|
|
4737
4777
|
"operationId": "listCommentsInSpace",
|
|
@@ -17480,6 +17520,10 @@
|
|
|
17480
17520
|
"review": {
|
|
17481
17521
|
"type": "boolean",
|
|
17482
17522
|
"description": "Can the user review change requests."
|
|
17523
|
+
},
|
|
17524
|
+
"installIntegration": {
|
|
17525
|
+
"type": "boolean",
|
|
17526
|
+
"description": "Can the user install integrations in the space."
|
|
17483
17527
|
}
|
|
17484
17528
|
},
|
|
17485
17529
|
"required": [
|
|
@@ -17491,7 +17535,8 @@
|
|
|
17491
17535
|
"triggerGitSync",
|
|
17492
17536
|
"comment",
|
|
17493
17537
|
"merge",
|
|
17494
|
-
"review"
|
|
17538
|
+
"review",
|
|
17539
|
+
"installIntegration"
|
|
17495
17540
|
]
|
|
17496
17541
|
}
|
|
17497
17542
|
},
|
|
@@ -19499,6 +19544,10 @@
|
|
|
19499
19544
|
"type": "string",
|
|
19500
19545
|
"description": "Definition ID to use as a cover image"
|
|
19501
19546
|
},
|
|
19547
|
+
"coverDefinitionDark": {
|
|
19548
|
+
"type": "string",
|
|
19549
|
+
"description": "Definition ID to use as a dark mode cover image"
|
|
19550
|
+
},
|
|
19502
19551
|
"hideColumnTitle": {
|
|
19503
19552
|
"type": "boolean",
|
|
19504
19553
|
"description": "Should we display the column title or not"
|
|
@@ -19786,6 +19835,27 @@
|
|
|
19786
19835
|
}
|
|
19787
19836
|
]
|
|
19788
19837
|
},
|
|
19838
|
+
"DocumentTableDefinitionImage": {
|
|
19839
|
+
"allOf": [
|
|
19840
|
+
{
|
|
19841
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
19842
|
+
},
|
|
19843
|
+
{
|
|
19844
|
+
"type": "object",
|
|
19845
|
+
"properties": {
|
|
19846
|
+
"type": {
|
|
19847
|
+
"type": "string",
|
|
19848
|
+
"enum": [
|
|
19849
|
+
"image"
|
|
19850
|
+
]
|
|
19851
|
+
}
|
|
19852
|
+
},
|
|
19853
|
+
"required": [
|
|
19854
|
+
"type"
|
|
19855
|
+
]
|
|
19856
|
+
}
|
|
19857
|
+
]
|
|
19858
|
+
},
|
|
19789
19859
|
"DocumentTableDefinition": {
|
|
19790
19860
|
"oneOf": [
|
|
19791
19861
|
{
|
|
@@ -19811,6 +19881,9 @@
|
|
|
19811
19881
|
},
|
|
19812
19882
|
{
|
|
19813
19883
|
"$ref": "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
19884
|
+
},
|
|
19885
|
+
{
|
|
19886
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionImage"
|
|
19814
19887
|
}
|
|
19815
19888
|
]
|
|
19816
19889
|
},
|
|
@@ -23539,7 +23612,8 @@
|
|
|
23539
23612
|
"community_2024",
|
|
23540
23613
|
"free",
|
|
23541
23614
|
"plus",
|
|
23542
|
-
"pro"
|
|
23615
|
+
"pro",
|
|
23616
|
+
"internal"
|
|
23543
23617
|
]
|
|
23544
23618
|
},
|
|
23545
23619
|
"BillingInterval": {
|
|
@@ -23614,6 +23688,17 @@
|
|
|
23614
23688
|
"sites"
|
|
23615
23689
|
]
|
|
23616
23690
|
},
|
|
23691
|
+
"BillingMeterAddon": {
|
|
23692
|
+
"type": "object",
|
|
23693
|
+
"properties": {
|
|
23694
|
+
"enabled": {
|
|
23695
|
+
"type": "boolean"
|
|
23696
|
+
}
|
|
23697
|
+
},
|
|
23698
|
+
"required": [
|
|
23699
|
+
"enabled"
|
|
23700
|
+
]
|
|
23701
|
+
},
|
|
23617
23702
|
"OrganizationBilling": {
|
|
23618
23703
|
"type": "object",
|
|
23619
23704
|
"properties": {
|
|
@@ -23635,6 +23720,13 @@
|
|
|
23635
23720
|
"pricing": {
|
|
23636
23721
|
"description": "Pricing information for the organization",
|
|
23637
23722
|
"$ref": "#/components/schemas/OrganizationPricing"
|
|
23723
|
+
},
|
|
23724
|
+
"usageAddons": {
|
|
23725
|
+
"description": "Configuration for the usage-based addons",
|
|
23726
|
+
"type": "object",
|
|
23727
|
+
"additionalProperties": {
|
|
23728
|
+
"$ref": "#/components/schemas/BillingMeterAddon"
|
|
23729
|
+
}
|
|
23638
23730
|
}
|
|
23639
23731
|
},
|
|
23640
23732
|
"required": [
|
|
@@ -23642,7 +23734,8 @@
|
|
|
23642
23734
|
"endDate",
|
|
23643
23735
|
"hasPaymentFailed",
|
|
23644
23736
|
"isScheduledToCancel",
|
|
23645
|
-
"pricing"
|
|
23737
|
+
"pricing",
|
|
23738
|
+
"usageAddons"
|
|
23646
23739
|
]
|
|
23647
23740
|
},
|
|
23648
23741
|
"BillingTrialStatus": {
|
|
@@ -23856,6 +23949,10 @@
|
|
|
23856
23949
|
"listInstallations": {
|
|
23857
23950
|
"type": "boolean",
|
|
23858
23951
|
"description": "Can the user list the integration installations in the organization."
|
|
23952
|
+
},
|
|
23953
|
+
"installIntegration": {
|
|
23954
|
+
"type": "boolean",
|
|
23955
|
+
"description": "Can the user install integrations in the organization."
|
|
23859
23956
|
}
|
|
23860
23957
|
},
|
|
23861
23958
|
"required": [
|
|
@@ -23869,7 +23966,8 @@
|
|
|
23869
23966
|
"listMembers",
|
|
23870
23967
|
"listTeams",
|
|
23871
23968
|
"listIntegrations",
|
|
23872
|
-
"listInstallations"
|
|
23969
|
+
"listInstallations",
|
|
23970
|
+
"installIntegration"
|
|
23873
23971
|
]
|
|
23874
23972
|
}
|
|
23875
23973
|
},
|
|
@@ -26290,15 +26388,10 @@
|
|
|
26290
26388
|
"properties": {
|
|
26291
26389
|
"admin": {
|
|
26292
26390
|
"type": "boolean"
|
|
26293
|
-
},
|
|
26294
|
-
"install": {
|
|
26295
|
-
"description": "Integration can be installed whatever the permissions of the user.",
|
|
26296
|
-
"type": "boolean"
|
|
26297
26391
|
}
|
|
26298
26392
|
},
|
|
26299
26393
|
"required": [
|
|
26300
|
-
"admin"
|
|
26301
|
-
"install"
|
|
26394
|
+
"admin"
|
|
26302
26395
|
]
|
|
26303
26396
|
},
|
|
26304
26397
|
"contentSecurityPolicy": {
|
|
@@ -30704,8 +30797,8 @@
|
|
|
30704
30797
|
"description": "Total usage for the current billing period",
|
|
30705
30798
|
"type": "number"
|
|
30706
30799
|
},
|
|
30707
|
-
"
|
|
30708
|
-
"description": "
|
|
30800
|
+
"entries": {
|
|
30801
|
+
"description": "Usage entries for the period",
|
|
30709
30802
|
"type": "array",
|
|
30710
30803
|
"items": {
|
|
30711
30804
|
"type": "object",
|
|
@@ -30715,7 +30808,7 @@
|
|
|
30715
30808
|
},
|
|
30716
30809
|
"value": {
|
|
30717
30810
|
"type": "number",
|
|
30718
|
-
"description": "Usage value for the
|
|
30811
|
+
"description": "Usage value for the date"
|
|
30719
30812
|
}
|
|
30720
30813
|
},
|
|
30721
30814
|
"required": [
|
|
@@ -30727,7 +30820,7 @@
|
|
|
30727
30820
|
},
|
|
30728
30821
|
"required": [
|
|
30729
30822
|
"total",
|
|
30730
|
-
"
|
|
30823
|
+
"entries"
|
|
30731
30824
|
]
|
|
30732
30825
|
},
|
|
30733
30826
|
"SearchSpaceResult": {
|
package/spec/openapi.yaml
CHANGED
|
@@ -2791,6 +2791,26 @@ paths:
|
|
|
2791
2791
|
application/json:
|
|
2792
2792
|
schema:
|
|
2793
2793
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2794
|
+
"/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document":
|
|
2795
|
+
get:
|
|
2796
|
+
operationId: getReusableContentDocumentInRevisionById
|
|
2797
|
+
summary: Get the document of a reusable content in a revision
|
|
2798
|
+
tags:
|
|
2799
|
+
- space-content
|
|
2800
|
+
security:
|
|
2801
|
+
- user: []
|
|
2802
|
+
parameters:
|
|
2803
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2804
|
+
- $ref: "#/components/parameters/revisionId"
|
|
2805
|
+
- $ref: "#/components/parameters/reusableContentId"
|
|
2806
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2807
|
+
responses:
|
|
2808
|
+
"200":
|
|
2809
|
+
description: OK
|
|
2810
|
+
content:
|
|
2811
|
+
application/json:
|
|
2812
|
+
schema:
|
|
2813
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
2794
2814
|
"/spaces/{spaceId}/comments":
|
|
2795
2815
|
get:
|
|
2796
2816
|
operationId: listCommentsInSpace
|
|
@@ -10111,6 +10131,9 @@ components:
|
|
|
10111
10131
|
review:
|
|
10112
10132
|
type: boolean
|
|
10113
10133
|
description: Can the user review change requests.
|
|
10134
|
+
installIntegration:
|
|
10135
|
+
type: boolean
|
|
10136
|
+
description: Can the user install integrations in the space.
|
|
10114
10137
|
required:
|
|
10115
10138
|
- view
|
|
10116
10139
|
- access
|
|
@@ -10121,6 +10144,7 @@ components:
|
|
|
10121
10144
|
- comment
|
|
10122
10145
|
- merge
|
|
10123
10146
|
- review
|
|
10147
|
+
- installIntegration
|
|
10124
10148
|
required:
|
|
10125
10149
|
- object
|
|
10126
10150
|
- id
|
|
@@ -11451,6 +11475,9 @@ components:
|
|
|
11451
11475
|
coverDefinition:
|
|
11452
11476
|
type: string
|
|
11453
11477
|
description: Definition ID to use as a cover image
|
|
11478
|
+
coverDefinitionDark:
|
|
11479
|
+
type: string
|
|
11480
|
+
description: Definition ID to use as a dark mode cover image
|
|
11454
11481
|
hideColumnTitle:
|
|
11455
11482
|
type: boolean
|
|
11456
11483
|
description: Should we display the column title or not
|
|
@@ -11616,6 +11643,17 @@ components:
|
|
|
11616
11643
|
- content-ref
|
|
11617
11644
|
required:
|
|
11618
11645
|
- type
|
|
11646
|
+
DocumentTableDefinitionImage:
|
|
11647
|
+
allOf:
|
|
11648
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
11649
|
+
- type: object
|
|
11650
|
+
properties:
|
|
11651
|
+
type:
|
|
11652
|
+
type: string
|
|
11653
|
+
enum:
|
|
11654
|
+
- image
|
|
11655
|
+
required:
|
|
11656
|
+
- type
|
|
11619
11657
|
DocumentTableDefinition:
|
|
11620
11658
|
oneOf:
|
|
11621
11659
|
- $ref: "#/components/schemas/DocumentTableDefinitionText"
|
|
@@ -11626,6 +11664,7 @@ components:
|
|
|
11626
11664
|
- $ref: "#/components/schemas/DocumentTableDefinitionRating"
|
|
11627
11665
|
- $ref: "#/components/schemas/DocumentTableDefinitionSelect"
|
|
11628
11666
|
- $ref: "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
11667
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionImage"
|
|
11629
11668
|
DocumentFragment:
|
|
11630
11669
|
type: object
|
|
11631
11670
|
properties:
|
|
@@ -13937,6 +13976,7 @@ components:
|
|
|
13937
13976
|
- free
|
|
13938
13977
|
- plus
|
|
13939
13978
|
- pro
|
|
13979
|
+
- internal
|
|
13940
13980
|
BillingInterval:
|
|
13941
13981
|
type: string
|
|
13942
13982
|
description: Interval for a billing subscription
|
|
@@ -13989,6 +14029,13 @@ components:
|
|
|
13989
14029
|
required:
|
|
13990
14030
|
- members
|
|
13991
14031
|
- sites
|
|
14032
|
+
BillingMeterAddon:
|
|
14033
|
+
type: object
|
|
14034
|
+
properties:
|
|
14035
|
+
enabled:
|
|
14036
|
+
type: boolean
|
|
14037
|
+
required:
|
|
14038
|
+
- enabled
|
|
13992
14039
|
OrganizationBilling:
|
|
13993
14040
|
type: object
|
|
13994
14041
|
properties:
|
|
@@ -14006,12 +14053,18 @@ components:
|
|
|
14006
14053
|
pricing:
|
|
14007
14054
|
description: Pricing information for the organization
|
|
14008
14055
|
$ref: "#/components/schemas/OrganizationPricing"
|
|
14056
|
+
usageAddons:
|
|
14057
|
+
description: Configuration for the usage-based addons
|
|
14058
|
+
type: object
|
|
14059
|
+
additionalProperties:
|
|
14060
|
+
$ref: "#/components/schemas/BillingMeterAddon"
|
|
14009
14061
|
required:
|
|
14010
14062
|
- interval
|
|
14011
14063
|
- endDate
|
|
14012
14064
|
- hasPaymentFailed
|
|
14013
14065
|
- isScheduledToCancel
|
|
14014
14066
|
- pricing
|
|
14067
|
+
- usageAddons
|
|
14015
14068
|
BillingTrialStatus:
|
|
14016
14069
|
type: string
|
|
14017
14070
|
description: |
|
|
@@ -14168,6 +14221,9 @@ components:
|
|
|
14168
14221
|
listInstallations:
|
|
14169
14222
|
type: boolean
|
|
14170
14223
|
description: Can the user list the integration installations in the organization.
|
|
14224
|
+
installIntegration:
|
|
14225
|
+
type: boolean
|
|
14226
|
+
description: Can the user install integrations in the organization.
|
|
14171
14227
|
required:
|
|
14172
14228
|
- view
|
|
14173
14229
|
- admin
|
|
@@ -14180,6 +14236,7 @@ components:
|
|
|
14180
14236
|
- listTeams
|
|
14181
14237
|
- listIntegrations
|
|
14182
14238
|
- listInstallations
|
|
14239
|
+
- installIntegration
|
|
14183
14240
|
required:
|
|
14184
14241
|
- object
|
|
14185
14242
|
- id
|
|
@@ -15833,12 +15890,8 @@ components:
|
|
|
15833
15890
|
properties:
|
|
15834
15891
|
admin:
|
|
15835
15892
|
type: boolean
|
|
15836
|
-
install:
|
|
15837
|
-
description: Integration can be installed whatever the permissions of the user.
|
|
15838
|
-
type: boolean
|
|
15839
15893
|
required:
|
|
15840
15894
|
- admin
|
|
15841
|
-
- install
|
|
15842
15895
|
contentSecurityPolicy:
|
|
15843
15896
|
$ref: "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
15844
15897
|
required:
|
|
@@ -18720,8 +18773,8 @@ components:
|
|
|
18720
18773
|
total:
|
|
18721
18774
|
description: Total usage for the current billing period
|
|
18722
18775
|
type: number
|
|
18723
|
-
|
|
18724
|
-
description:
|
|
18776
|
+
entries:
|
|
18777
|
+
description: Usage entries for the period
|
|
18725
18778
|
type: array
|
|
18726
18779
|
items:
|
|
18727
18780
|
type: object
|
|
@@ -18730,13 +18783,13 @@ components:
|
|
|
18730
18783
|
$ref: "#/components/schemas/Timestamp"
|
|
18731
18784
|
value:
|
|
18732
18785
|
type: number
|
|
18733
|
-
description: Usage value for the
|
|
18786
|
+
description: Usage value for the date
|
|
18734
18787
|
required:
|
|
18735
18788
|
- date
|
|
18736
18789
|
- value
|
|
18737
18790
|
required:
|
|
18738
18791
|
- total
|
|
18739
|
-
-
|
|
18792
|
+
- entries
|
|
18740
18793
|
SearchSpaceResult:
|
|
18741
18794
|
type: object
|
|
18742
18795
|
description: Search result representing a space.
|