@gitbook/api 0.95.0 → 0.96.1
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 +186 -507
- package/dist/index.cjs +31 -221
- package/dist/index.js +29 -221
- package/package.json +1 -1
- package/spec/openapi.json +850 -1788
- package/spec/openapi.yaml +427 -946
package/dist/client.d.ts
CHANGED
|
@@ -606,7 +606,7 @@ export interface DocumentBlockOpenAPI {
|
|
|
606
606
|
type: 'swagger';
|
|
607
607
|
key?: string;
|
|
608
608
|
data: OpenAPIOperationPointer & {
|
|
609
|
-
ref: ContentRefFile | ContentRefURL
|
|
609
|
+
ref: ContentRefFile | ContentRefURL;
|
|
610
610
|
/** If true, the block is opened by default. */
|
|
611
611
|
expanded?: boolean;
|
|
612
612
|
fullWidth?: boolean;
|
|
@@ -617,6 +617,19 @@ export interface DocumentBlockOpenAPI {
|
|
|
617
617
|
id: string;
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
|
+
export interface DocumentBlockOpenAPIOperation {
|
|
621
|
+
object: 'block';
|
|
622
|
+
type: 'openapi-operation';
|
|
623
|
+
key?: string;
|
|
624
|
+
data: OpenAPIOperationPointer & {
|
|
625
|
+
ref: ContentRefOpenAPI;
|
|
626
|
+
};
|
|
627
|
+
isVoid: true;
|
|
628
|
+
meta?: {
|
|
629
|
+
/** Unique ID to be used in an URL for the block. */
|
|
630
|
+
id: string;
|
|
631
|
+
};
|
|
632
|
+
}
|
|
620
633
|
export interface DocumentBlockReusableContent {
|
|
621
634
|
object: 'block';
|
|
622
635
|
type: 'reusable-content';
|
|
@@ -644,7 +657,7 @@ export interface DocumentBlockStepper {
|
|
|
644
657
|
isVoid?: false;
|
|
645
658
|
data?: object;
|
|
646
659
|
}
|
|
647
|
-
export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
|
|
660
|
+
export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
|
|
648
661
|
export interface JSONDocument {
|
|
649
662
|
object: 'document';
|
|
650
663
|
data: {
|
|
@@ -1569,6 +1582,14 @@ export declare enum BillingProduct {
|
|
|
1569
1582
|
TeamDec2021 = "team_dec_2021",
|
|
1570
1583
|
BusinessDec2021 = "business_dec_2021"
|
|
1571
1584
|
}
|
|
1585
|
+
/** - 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. */
|
|
1586
|
+
export declare enum BillingTrialStatus {
|
|
1587
|
+
Notapplicable = "notapplicable",
|
|
1588
|
+
None = "none",
|
|
1589
|
+
Active = "active",
|
|
1590
|
+
Ended = "ended",
|
|
1591
|
+
Expired = "expired"
|
|
1592
|
+
}
|
|
1572
1593
|
export declare enum OrganizationBlockReason {
|
|
1573
1594
|
Security = "security"
|
|
1574
1595
|
}
|
|
@@ -1613,8 +1634,14 @@ export interface Organization {
|
|
|
1613
1634
|
/** URL of the logo of this organization, if defined. */
|
|
1614
1635
|
logo?: URL;
|
|
1615
1636
|
};
|
|
1616
|
-
|
|
1617
|
-
|
|
1637
|
+
trial: {
|
|
1638
|
+
/** - 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. */
|
|
1639
|
+
status: BillingTrialStatus;
|
|
1640
|
+
/** The trial's end date, if the organization has or had a trial. */
|
|
1641
|
+
endDate?: Timestamp;
|
|
1642
|
+
/** The decision taken by the user at the end of the trial */
|
|
1643
|
+
decision?: 'downgrade';
|
|
1644
|
+
};
|
|
1618
1645
|
/** Custom hostname linked to this organization */
|
|
1619
1646
|
customHostname?: string;
|
|
1620
1647
|
/** If the organization is blocked, information about the block will appear here */
|
|
@@ -3288,7 +3315,7 @@ export interface ContentKitTextInput {
|
|
|
3288
3315
|
placeholder?: string;
|
|
3289
3316
|
multiline?: boolean;
|
|
3290
3317
|
/** @default "text" */
|
|
3291
|
-
inputType?: 'text' | 'password';
|
|
3318
|
+
inputType?: 'text' | 'password' | 'email';
|
|
3292
3319
|
}
|
|
3293
3320
|
/** Any element that can be used as children. */
|
|
3294
3321
|
export type ContentKitDescendantElement = ContentKitButton | ContentKitTextInput | ContentKitHStack | ContentKitVStack | ContentKitBox | ContentKitDivider | ContentKitWebFrame | ContentKitCodeBlock | ContentKitMarkdown | ContentKitCard | ContentKitImage | ContentKitInput | ContentKitSelect | ContentKitSwitch | ContentKitCheckbox | ContentKitRadio | ContentKitText | ContentKitHint | ContentKitLink | ContentKitStepperStep;
|
|
@@ -4284,6 +4311,15 @@ export declare enum CustomizationTheme {
|
|
|
4284
4311
|
export interface CustomizationTint {
|
|
4285
4312
|
color: CustomizationThemedColor;
|
|
4286
4313
|
}
|
|
4314
|
+
/**
|
|
4315
|
+
* The style used for regular links in the main content, header and footer. Sidebar items are styled separately.
|
|
4316
|
+
* - `default`: Links are colored in the primary color and feature an underline in the same color.
|
|
4317
|
+
* - `accent`: Links are colored the same as body text and feature an underline in the primary color.
|
|
4318
|
+
*/
|
|
4319
|
+
export declare enum CustomizationLinksStyle {
|
|
4320
|
+
Default = "default",
|
|
4321
|
+
Accent = "accent"
|
|
4322
|
+
}
|
|
4287
4323
|
export declare enum CustomizationIconsStyle {
|
|
4288
4324
|
Regular = "regular",
|
|
4289
4325
|
Solid = "solid",
|
|
@@ -4328,6 +4364,12 @@ export interface SiteCustomizationSettings {
|
|
|
4328
4364
|
warningColor: CustomizationThemedColor;
|
|
4329
4365
|
dangerColor: CustomizationThemedColor;
|
|
4330
4366
|
corners: CustomizationCorners;
|
|
4367
|
+
/**
|
|
4368
|
+
* The style used for regular links in the main content, header and footer. Sidebar items are styled separately.
|
|
4369
|
+
* - `default`: Links are colored in the primary color and feature an underline in the same color.
|
|
4370
|
+
* - `accent`: Links are colored the same as body text and feature an underline in the primary color.
|
|
4371
|
+
*/
|
|
4372
|
+
links: CustomizationLinksStyle;
|
|
4331
4373
|
font: CustomizationFont;
|
|
4332
4374
|
/**
|
|
4333
4375
|
* The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead.
|
|
@@ -4739,6 +4781,8 @@ export interface SiteInsightsQueryDateTimeColumn {
|
|
|
4739
4781
|
interval?: 'hour' | 'day' | 'week' | 'month';
|
|
4740
4782
|
}
|
|
4741
4783
|
export type SiteInsightsQueryEventsColumn = SiteInsightsQueryDateTimeColumn | {
|
|
4784
|
+
column: 'url';
|
|
4785
|
+
} | {
|
|
4742
4786
|
column: 'eventType';
|
|
4743
4787
|
} | {
|
|
4744
4788
|
column: 'eventsCount';
|
|
@@ -4870,6 +4914,9 @@ export declare enum SiteInsightsVisitorBot {
|
|
|
4870
4914
|
export type SiteInsightsQueryEventsValues = {
|
|
4871
4915
|
column: 'datetime';
|
|
4872
4916
|
values: Timestamp[];
|
|
4917
|
+
} | {
|
|
4918
|
+
column: 'url';
|
|
4919
|
+
values: URL[];
|
|
4873
4920
|
} | {
|
|
4874
4921
|
column: 'eventsCount';
|
|
4875
4922
|
values: number[];
|
|
@@ -5123,6 +5170,25 @@ export interface SiteRedirect {
|
|
|
5123
5170
|
source: SiteRedirectSourcePath;
|
|
5124
5171
|
destination: SiteRedirectDestination;
|
|
5125
5172
|
}
|
|
5173
|
+
export interface StorageFileMetadata {
|
|
5174
|
+
/** Original filename */
|
|
5175
|
+
name: string;
|
|
5176
|
+
/** MIME type of the file */
|
|
5177
|
+
type: string;
|
|
5178
|
+
/** Size of the file in bytes */
|
|
5179
|
+
size: number;
|
|
5180
|
+
}
|
|
5181
|
+
export declare enum StorageUploadKind {
|
|
5182
|
+
CustomizationFont = "customization_font"
|
|
5183
|
+
}
|
|
5184
|
+
export interface StorageUploadURL {
|
|
5185
|
+
/** The kind of file to upload */
|
|
5186
|
+
object: 'storage-signed-url';
|
|
5187
|
+
/** Presigned URL for uploading the file */
|
|
5188
|
+
url: URL;
|
|
5189
|
+
/** The bucket object key for the file */
|
|
5190
|
+
key: string;
|
|
5191
|
+
}
|
|
5126
5192
|
export declare enum CustomHostnameDnsStatus {
|
|
5127
5193
|
DnsPassed = "dns_passed",
|
|
5128
5194
|
DnsWrongCname = "dns_wrong_cname",
|
|
@@ -5410,7 +5476,7 @@ export interface ContentPublishingAuth {
|
|
|
5410
5476
|
*/
|
|
5411
5477
|
fallbackURL?: string;
|
|
5412
5478
|
}
|
|
5413
|
-
export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep;
|
|
5479
|
+
export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep;
|
|
5414
5480
|
/** Dependency for a computation, before its resolution. */
|
|
5415
5481
|
export interface ComputedContentDependency {
|
|
5416
5482
|
ref: ComputedContentDependencyRef;
|
|
@@ -5603,13 +5669,6 @@ export interface ContentComputeRevisionEventResponse {
|
|
|
5603
5669
|
pages?: InputPage[];
|
|
5604
5670
|
files?: InputFile[];
|
|
5605
5671
|
}
|
|
5606
|
-
export declare enum BillingTrialStatus {
|
|
5607
|
-
Notapplicable = "notapplicable",
|
|
5608
|
-
None = "none",
|
|
5609
|
-
Active = "active",
|
|
5610
|
-
Ended = "ended",
|
|
5611
|
-
Expired = "expired"
|
|
5612
|
-
}
|
|
5613
5672
|
export declare enum APIIntegrationScope {
|
|
5614
5673
|
IntegrationRead = "integration:read",
|
|
5615
5674
|
IntegrationUpdate = "integration:update",
|
|
@@ -6120,6 +6179,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6120
6179
|
/**
|
|
6121
6180
|
* No description
|
|
6122
6181
|
*
|
|
6182
|
+
* @tags search
|
|
6123
6183
|
* @name AskQueryWithGet
|
|
6124
6184
|
* @summary Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
6125
6185
|
* @request GET:/search/ask
|
|
@@ -6139,6 +6199,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6139
6199
|
/**
|
|
6140
6200
|
* No description
|
|
6141
6201
|
*
|
|
6202
|
+
* @tags search
|
|
6142
6203
|
* @name AskQuery
|
|
6143
6204
|
* @summary Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
6144
6205
|
* @request POST:/search/ask
|
|
@@ -6157,6 +6218,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6157
6218
|
/**
|
|
6158
6219
|
* No description
|
|
6159
6220
|
*
|
|
6221
|
+
* @tags search
|
|
6160
6222
|
* @name GetRecommendedQuestions
|
|
6161
6223
|
* @summary Get a list of questions recommended by AI for a list of content. Deprecated, use getRecommendedQuestionsInOrganization instead.
|
|
6162
6224
|
* @request POST:/search/questions
|
|
@@ -6348,6 +6410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6348
6410
|
/**
|
|
6349
6411
|
* No description
|
|
6350
6412
|
*
|
|
6413
|
+
* @tags search
|
|
6351
6414
|
* @name SearchSpaceContent
|
|
6352
6415
|
* @summary Search content in a space
|
|
6353
6416
|
* @request GET:/spaces/{spaceId}/search
|
|
@@ -6370,6 +6433,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6370
6433
|
/**
|
|
6371
6434
|
* No description
|
|
6372
6435
|
*
|
|
6436
|
+
* @tags search
|
|
6373
6437
|
* @name AskQueryInSpaceWithGet
|
|
6374
6438
|
* @summary Ask a question to an AI within the context of the space.
|
|
6375
6439
|
* @request GET:/spaces/{spaceId}/search/ask
|
|
@@ -6389,6 +6453,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6389
6453
|
/**
|
|
6390
6454
|
* No description
|
|
6391
6455
|
*
|
|
6456
|
+
* @tags ask
|
|
6392
6457
|
* @name AskQueryInSpace
|
|
6393
6458
|
* @summary Ask a question to an AI within the context of the space.
|
|
6394
6459
|
* @request POST:/spaces/{spaceId}/search/ask
|
|
@@ -6406,6 +6471,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6406
6471
|
/**
|
|
6407
6472
|
* No description
|
|
6408
6473
|
*
|
|
6474
|
+
* @tags search
|
|
6409
6475
|
* @name StreamAskInSpace
|
|
6410
6476
|
* @summary Ask a question to an AI within the context of the space and stream the answer as a Server-Sent Events URL.
|
|
6411
6477
|
* @request GET:/spaces/{spaceId}/search/ask/stream
|
|
@@ -6421,6 +6487,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6421
6487
|
/**
|
|
6422
6488
|
* No description
|
|
6423
6489
|
*
|
|
6490
|
+
* @tags search
|
|
6424
6491
|
* @name GetRecommendedQuestionsInSpace
|
|
6425
6492
|
* @summary Get a list of questions that can be asked in a space.
|
|
6426
6493
|
* @request GET:/spaces/{spaceId}/search/questions
|
|
@@ -6431,6 +6498,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6431
6498
|
/**
|
|
6432
6499
|
* No description
|
|
6433
6500
|
*
|
|
6501
|
+
* @tags search
|
|
6434
6502
|
* @name StreamRecommendedQuestionsInSpace
|
|
6435
6503
|
* @summary Stream a list of questions that can be asked in a space.
|
|
6436
6504
|
* @request GET:/spaces/{spaceId}/search/questions/stream
|
|
@@ -6683,6 +6751,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6683
6751
|
/**
|
|
6684
6752
|
* No description
|
|
6685
6753
|
*
|
|
6754
|
+
* @tags spaces
|
|
6686
6755
|
* @name GetCurrentRevision
|
|
6687
6756
|
* @summary Get the current primary content revision for a space
|
|
6688
6757
|
* @request GET:/spaces/{spaceId}/content
|
|
@@ -6703,6 +6772,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6703
6772
|
/**
|
|
6704
6773
|
* No description
|
|
6705
6774
|
*
|
|
6775
|
+
* @tags spaces
|
|
6706
6776
|
* @name ImportContent
|
|
6707
6777
|
* @summary Import content in a space.
|
|
6708
6778
|
* @request POST:/spaces/{spaceId}/content/import
|
|
@@ -6712,6 +6782,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6712
6782
|
/**
|
|
6713
6783
|
* No description
|
|
6714
6784
|
*
|
|
6785
|
+
* @tags spaces
|
|
6715
6786
|
* @name ListPages
|
|
6716
6787
|
* @summary List all pages for the main revision content of a space
|
|
6717
6788
|
* @request GET:/spaces/{spaceId}/content/pages
|
|
@@ -6734,6 +6805,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6734
6805
|
/**
|
|
6735
6806
|
* No description
|
|
6736
6807
|
*
|
|
6808
|
+
* @tags spaces
|
|
6737
6809
|
* @name ListFiles
|
|
6738
6810
|
* @summary List all files for the main revision content of a space
|
|
6739
6811
|
* @request GET:/spaces/{spaceId}/content/files
|
|
@@ -6764,6 +6836,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6764
6836
|
/**
|
|
6765
6837
|
* No description
|
|
6766
6838
|
*
|
|
6839
|
+
* @tags spaces
|
|
6767
6840
|
* @name GetFileById
|
|
6768
6841
|
* @summary Get a file by its ID in the main revision of a space
|
|
6769
6842
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}
|
|
@@ -6805,6 +6878,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6805
6878
|
/**
|
|
6806
6879
|
* No description
|
|
6807
6880
|
*
|
|
6881
|
+
* @tags spaces
|
|
6808
6882
|
* @name GetPageById
|
|
6809
6883
|
* @summary Get a page by its ID in the primary content.
|
|
6810
6884
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}
|
|
@@ -6877,6 +6951,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6877
6951
|
/**
|
|
6878
6952
|
* No description
|
|
6879
6953
|
*
|
|
6954
|
+
* @tags spaces
|
|
6880
6955
|
* @name ImportContentInPageById
|
|
6881
6956
|
* @summary Import external content into a page by its ID.
|
|
6882
6957
|
* @request POST:/spaces/{spaceId}/content/page/{pageId}/import
|
|
@@ -6886,6 +6961,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6886
6961
|
/**
|
|
6887
6962
|
* No description
|
|
6888
6963
|
*
|
|
6964
|
+
* @tags spaces
|
|
6889
6965
|
* @name GetPageByPath
|
|
6890
6966
|
* @summary Get a page by its path in the primary content.
|
|
6891
6967
|
* @request GET:/spaces/{spaceId}/content/path/{pagePath}
|
|
@@ -6908,6 +6984,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6908
6984
|
/**
|
|
6909
6985
|
* No description
|
|
6910
6986
|
*
|
|
6987
|
+
* @tags spaces
|
|
6911
6988
|
* @name GetReusableContentById
|
|
6912
6989
|
* @summary Get a reusable content by its ID in the main revision of a space
|
|
6913
6990
|
* @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
|
|
@@ -6928,6 +7005,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6928
7005
|
/**
|
|
6929
7006
|
* No description
|
|
6930
7007
|
*
|
|
7008
|
+
* @tags computed-content
|
|
6931
7009
|
* @name GetComputedDocument
|
|
6932
7010
|
* @summary Generate a document for a page in a computed content.
|
|
6933
7011
|
* @request POST:/spaces/{spaceId}/content/computed/document
|
|
@@ -6943,6 +7021,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6943
7021
|
/**
|
|
6944
7022
|
* No description
|
|
6945
7023
|
*
|
|
7024
|
+
* @tags computed-content
|
|
6946
7025
|
* @name GetComputedRevision
|
|
6947
7026
|
* @summary Get the computed content for a source in a computed content.
|
|
6948
7027
|
* @request POST:/spaces/{spaceId}/content/computed/revision
|
|
@@ -6958,6 +7037,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6958
7037
|
/**
|
|
6959
7038
|
* No description
|
|
6960
7039
|
*
|
|
7040
|
+
* @tags spaces
|
|
6961
7041
|
* @name GetDocumentById
|
|
6962
7042
|
* @summary Get a document by its ID in a space.
|
|
6963
7043
|
* @request GET:/spaces/{spaceId}/documents/{documentId}
|
|
@@ -6970,7 +7050,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6970
7050
|
/**
|
|
6971
7051
|
* No description
|
|
6972
7052
|
*
|
|
6973
|
-
* @tags
|
|
7053
|
+
* @tags change-requests
|
|
6974
7054
|
* @name CreateChangeRequest
|
|
6975
7055
|
* @summary Create a new change request for a space.
|
|
6976
7056
|
* @request POST:/spaces/{spaceId}/change-requests
|
|
@@ -7008,7 +7088,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7008
7088
|
/**
|
|
7009
7089
|
* No description
|
|
7010
7090
|
*
|
|
7011
|
-
* @tags
|
|
7091
|
+
* @tags change-requests
|
|
7012
7092
|
* @name GetChangeRequestById
|
|
7013
7093
|
* @summary Get the change request with the given id.
|
|
7014
7094
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
@@ -7024,7 +7104,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7024
7104
|
/**
|
|
7025
7105
|
* No description
|
|
7026
7106
|
*
|
|
7027
|
-
* @tags
|
|
7107
|
+
* @tags change-requests
|
|
7028
7108
|
* @name UpdateChangeRequestById
|
|
7029
7109
|
* @summary Update the details of a change request
|
|
7030
7110
|
* @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
@@ -7038,7 +7118,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7038
7118
|
/**
|
|
7039
7119
|
* No description
|
|
7040
7120
|
*
|
|
7041
|
-
* @tags
|
|
7121
|
+
* @tags change-requests
|
|
7042
7122
|
* @name MergeChangeRequest
|
|
7043
7123
|
* @summary Merge a change request in the primary content of a space.
|
|
7044
7124
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
|
|
@@ -7052,7 +7132,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7052
7132
|
/**
|
|
7053
7133
|
* No description
|
|
7054
7134
|
*
|
|
7055
|
-
* @tags
|
|
7135
|
+
* @tags change-requests
|
|
7056
7136
|
* @name UpdateChangeRequest
|
|
7057
7137
|
* @summary Update a change-request with changes from primary content.
|
|
7058
7138
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
|
|
@@ -7066,7 +7146,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7066
7146
|
/**
|
|
7067
7147
|
* No description
|
|
7068
7148
|
*
|
|
7069
|
-
* @tags
|
|
7149
|
+
* @tags change-requests
|
|
7070
7150
|
* @name GetReviewsByChangeRequestId
|
|
7071
7151
|
* @summary Get all reviews for a change request.
|
|
7072
7152
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
@@ -7095,7 +7175,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7095
7175
|
/**
|
|
7096
7176
|
* No description
|
|
7097
7177
|
*
|
|
7098
|
-
* @tags
|
|
7178
|
+
* @tags change-requests
|
|
7099
7179
|
* @name SubmitChangeRequestReview
|
|
7100
7180
|
* @summary Submit a review for a change request.
|
|
7101
7181
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
@@ -7149,7 +7229,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7149
7229
|
/**
|
|
7150
7230
|
* No description
|
|
7151
7231
|
*
|
|
7152
|
-
* @tags
|
|
7232
|
+
* @tags change-requests, links
|
|
7153
7233
|
* @name ListChangeRequestLinks
|
|
7154
7234
|
* @summary Get all links in the context of a change request including their status and location where they appear.
|
|
7155
7235
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
|
|
@@ -7185,7 +7265,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7185
7265
|
/**
|
|
7186
7266
|
* No description
|
|
7187
7267
|
*
|
|
7188
|
-
* @tags
|
|
7268
|
+
* @tags comments
|
|
7189
7269
|
* @name ListCommentsInChangeRequest
|
|
7190
7270
|
* @summary List all the comments in a change request.
|
|
7191
7271
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
@@ -7220,7 +7300,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7220
7300
|
/**
|
|
7221
7301
|
* No description
|
|
7222
7302
|
*
|
|
7223
|
-
* @tags
|
|
7303
|
+
* @tags comments
|
|
7224
7304
|
* @name PostCommentInChangeRequest
|
|
7225
7305
|
* @summary Post a new comment in a change request.
|
|
7226
7306
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
@@ -7230,7 +7310,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7230
7310
|
/**
|
|
7231
7311
|
* No description
|
|
7232
7312
|
*
|
|
7233
|
-
* @tags
|
|
7313
|
+
* @tags comments
|
|
7234
7314
|
* @name GetCommentInChangeRequest
|
|
7235
7315
|
* @summary Get a comment in a change request.
|
|
7236
7316
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
@@ -7243,7 +7323,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7243
7323
|
/**
|
|
7244
7324
|
* No description
|
|
7245
7325
|
*
|
|
7246
|
-
* @tags
|
|
7326
|
+
* @tags comments
|
|
7247
7327
|
* @name DeleteCommentInChangeRequest
|
|
7248
7328
|
* @summary Delete a comment in a change request.
|
|
7249
7329
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
@@ -7253,7 +7333,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7253
7333
|
/**
|
|
7254
7334
|
* No description
|
|
7255
7335
|
*
|
|
7256
|
-
* @tags
|
|
7336
|
+
* @tags comments
|
|
7257
7337
|
* @name UpdateCommentInChangeRequest
|
|
7258
7338
|
* @summary Update a comment in a change request.
|
|
7259
7339
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
@@ -7263,7 +7343,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7263
7343
|
/**
|
|
7264
7344
|
* No description
|
|
7265
7345
|
*
|
|
7266
|
-
* @tags
|
|
7346
|
+
* @tags comments
|
|
7267
7347
|
* @name ListCommentRepliesInChangeRequest
|
|
7268
7348
|
* @summary List all the replies to a comment in a change request.
|
|
7269
7349
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
@@ -7286,7 +7366,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7286
7366
|
/**
|
|
7287
7367
|
* No description
|
|
7288
7368
|
*
|
|
7289
|
-
* @tags
|
|
7369
|
+
* @tags comments
|
|
7290
7370
|
* @name PostCommentReplyInChangeRequest
|
|
7291
7371
|
* @summary Post a new reply to a comment in a change request.
|
|
7292
7372
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
@@ -7299,7 +7379,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7299
7379
|
/**
|
|
7300
7380
|
* No description
|
|
7301
7381
|
*
|
|
7302
|
-
* @tags
|
|
7382
|
+
* @tags comments
|
|
7303
7383
|
* @name GetCommentReplyInChangeRequest
|
|
7304
7384
|
* @summary Get a comment reply in a change request.
|
|
7305
7385
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -7312,7 +7392,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7312
7392
|
/**
|
|
7313
7393
|
* No description
|
|
7314
7394
|
*
|
|
7315
|
-
* @tags
|
|
7395
|
+
* @tags comments
|
|
7316
7396
|
* @name UpdateCommentReplyInChangeRequest
|
|
7317
7397
|
* @summary Update a comment reply in a change request.
|
|
7318
7398
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -7322,7 +7402,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7322
7402
|
/**
|
|
7323
7403
|
* No description
|
|
7324
7404
|
*
|
|
7325
|
-
* @tags
|
|
7405
|
+
* @tags comments
|
|
7326
7406
|
* @name DeleteCommentReplyInChangeRequest
|
|
7327
7407
|
* @summary Delete a comment reply in a change request.
|
|
7328
7408
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -7332,7 +7412,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7332
7412
|
/**
|
|
7333
7413
|
* No description
|
|
7334
7414
|
*
|
|
7335
|
-
* @tags
|
|
7415
|
+
* @tags change-requests
|
|
7336
7416
|
* @name GetContributorsByChangeRequestId
|
|
7337
7417
|
* @summary Get all contributors for the change request with the given id.
|
|
7338
7418
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
|
|
@@ -7350,6 +7430,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7350
7430
|
/**
|
|
7351
7431
|
* No description
|
|
7352
7432
|
*
|
|
7433
|
+
* @tags change-requests
|
|
7353
7434
|
* @name GetRevisionOfChangeRequestById
|
|
7354
7435
|
* @summary Get the latest content revision for a change request.
|
|
7355
7436
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
|
|
@@ -7370,6 +7451,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7370
7451
|
/**
|
|
7371
7452
|
* No description
|
|
7372
7453
|
*
|
|
7454
|
+
* @tags change-requests
|
|
7373
7455
|
* @name ImportContentInChangeRequest
|
|
7374
7456
|
* @summary Import content in a change request.
|
|
7375
7457
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/import
|
|
@@ -7379,6 +7461,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7379
7461
|
/**
|
|
7380
7462
|
* No description
|
|
7381
7463
|
*
|
|
7464
|
+
* @tags change-requests
|
|
7382
7465
|
* @name ListPagesInChangeRequest
|
|
7383
7466
|
* @summary List all pages in the content of a change request
|
|
7384
7467
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
|
|
@@ -7401,6 +7484,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7401
7484
|
/**
|
|
7402
7485
|
* No description
|
|
7403
7486
|
*
|
|
7487
|
+
* @tags change-requests
|
|
7404
7488
|
* @name ListFilesInChangeRequestById
|
|
7405
7489
|
* @summary List all files in a change request content
|
|
7406
7490
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
|
|
@@ -7431,6 +7515,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7431
7515
|
/**
|
|
7432
7516
|
* No description
|
|
7433
7517
|
*
|
|
7518
|
+
* @tags change-requests
|
|
7434
7519
|
* @name GetFileInChangeRequestById
|
|
7435
7520
|
* @summary Get a file by its ID in the content of a change request
|
|
7436
7521
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
|
|
@@ -7451,7 +7536,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7451
7536
|
/**
|
|
7452
7537
|
* No description
|
|
7453
7538
|
*
|
|
7454
|
-
* @tags
|
|
7539
|
+
* @tags change-requests
|
|
7455
7540
|
* @name ListChangeRequestFileBacklinks
|
|
7456
7541
|
* @summary Get backlink locations for a file existing in a change request.
|
|
7457
7542
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
|
|
@@ -7472,6 +7557,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7472
7557
|
/**
|
|
7473
7558
|
* No description
|
|
7474
7559
|
*
|
|
7560
|
+
* @tags change-requests
|
|
7475
7561
|
* @name GetPageInChangeRequestById
|
|
7476
7562
|
* @summary Get a page by its ID in a change request.
|
|
7477
7563
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
|
|
@@ -7494,7 +7580,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7494
7580
|
/**
|
|
7495
7581
|
* No description
|
|
7496
7582
|
*
|
|
7497
|
-
* @tags
|
|
7583
|
+
* @tags change-requests
|
|
7498
7584
|
* @name ListPageLinksInChangeRequest
|
|
7499
7585
|
* @summary List all links in a page inside a change request.
|
|
7500
7586
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
|
|
@@ -7516,7 +7602,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7516
7602
|
/**
|
|
7517
7603
|
* No description
|
|
7518
7604
|
*
|
|
7519
|
-
* @tags
|
|
7605
|
+
* @tags change-requests
|
|
7520
7606
|
* @name ListChangeRequestPageBacklinks
|
|
7521
7607
|
* @summary Get backlink locations for a page existing in a change request.
|
|
7522
7608
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
|
|
@@ -7537,6 +7623,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7537
7623
|
/**
|
|
7538
7624
|
* No description
|
|
7539
7625
|
*
|
|
7626
|
+
* @tags change-requests
|
|
7540
7627
|
* @name ImportContentInChangeRequestPageById
|
|
7541
7628
|
* @summary Import external content into a page of a change-request by its ID.
|
|
7542
7629
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import
|
|
@@ -7546,6 +7633,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7546
7633
|
/**
|
|
7547
7634
|
* No description
|
|
7548
7635
|
*
|
|
7636
|
+
* @tags change-requests
|
|
7549
7637
|
* @name GetPageInChangeRequestByPath
|
|
7550
7638
|
* @summary Get a page by its path in a change request.
|
|
7551
7639
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
|
|
@@ -7568,6 +7656,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7568
7656
|
/**
|
|
7569
7657
|
* No description
|
|
7570
7658
|
*
|
|
7659
|
+
* @tags change-requests
|
|
7571
7660
|
* @name GetReusableContentInChangeRequestById
|
|
7572
7661
|
* @summary Get a reusable content by its ID in the content of a change request
|
|
7573
7662
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
|
|
@@ -7588,7 +7677,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7588
7677
|
/**
|
|
7589
7678
|
* No description
|
|
7590
7679
|
*
|
|
7591
|
-
* @tags
|
|
7680
|
+
* @tags change-requests
|
|
7592
7681
|
* @name GetChangeRequestPdf
|
|
7593
7682
|
* @summary Generate a URL to export the content of a change request as a PDF.
|
|
7594
7683
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
|
|
@@ -7606,7 +7695,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7606
7695
|
/**
|
|
7607
7696
|
* No description
|
|
7608
7697
|
*
|
|
7609
|
-
* @tags
|
|
7698
|
+
* @tags change-requests
|
|
7610
7699
|
* @name StreamBrainstormChangeRequest
|
|
7611
7700
|
* @summary Brainstorm with AI on a change request and stream the results as a Server-Sent Events.
|
|
7612
7701
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/brainstorm
|
|
@@ -7619,7 +7708,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7619
7708
|
/**
|
|
7620
7709
|
* No description
|
|
7621
7710
|
*
|
|
7622
|
-
* @tags
|
|
7711
|
+
* @tags change-requests
|
|
7623
7712
|
* @name StreamImplementChangeRequestTask
|
|
7624
7713
|
* @summary Implement a task on a change request and stream the results as a Server-Sent Events.
|
|
7625
7714
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/implement
|
|
@@ -7632,6 +7721,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7632
7721
|
/**
|
|
7633
7722
|
* No description
|
|
7634
7723
|
*
|
|
7724
|
+
* @tags revisions
|
|
7635
7725
|
* @name GetRevisionById
|
|
7636
7726
|
* @summary Get a specific revision in a space
|
|
7637
7727
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}
|
|
@@ -7652,6 +7742,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7652
7742
|
/**
|
|
7653
7743
|
* No description
|
|
7654
7744
|
*
|
|
7745
|
+
* @tags revisions
|
|
7655
7746
|
* @name GetRevisionSemanticChanges
|
|
7656
7747
|
* @summary Return the semantic changes between a revision and its parent.
|
|
7657
7748
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
|
|
@@ -7677,6 +7768,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7677
7768
|
/**
|
|
7678
7769
|
* No description
|
|
7679
7770
|
*
|
|
7771
|
+
* @tags revisions
|
|
7680
7772
|
* @name ListPagesInRevisionById
|
|
7681
7773
|
* @summary List all pages in a revision
|
|
7682
7774
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
|
|
@@ -7699,6 +7791,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7699
7791
|
/**
|
|
7700
7792
|
* No description
|
|
7701
7793
|
*
|
|
7794
|
+
* @tags revisions
|
|
7702
7795
|
* @name ListFilesInRevisionById
|
|
7703
7796
|
* @summary List all files in a revision
|
|
7704
7797
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
|
|
@@ -7729,6 +7822,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7729
7822
|
/**
|
|
7730
7823
|
* No description
|
|
7731
7824
|
*
|
|
7825
|
+
* @tags revisions
|
|
7732
7826
|
* @name GetFileInRevisionById
|
|
7733
7827
|
* @summary Get a file in a revision by its ID
|
|
7734
7828
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
|
|
@@ -7749,6 +7843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7749
7843
|
/**
|
|
7750
7844
|
* No description
|
|
7751
7845
|
*
|
|
7846
|
+
* @tags revisions
|
|
7752
7847
|
* @name GetPageInRevisionById
|
|
7753
7848
|
* @summary Get a page by its ID in a revision.
|
|
7754
7849
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
|
|
@@ -7771,6 +7866,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7771
7866
|
/**
|
|
7772
7867
|
* No description
|
|
7773
7868
|
*
|
|
7869
|
+
* @tags revisions
|
|
7774
7870
|
* @name GetPageInRevisionByPath
|
|
7775
7871
|
* @summary Get a page by its path in a revision.
|
|
7776
7872
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
|
|
@@ -7793,8 +7889,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7793
7889
|
/**
|
|
7794
7890
|
* No description
|
|
7795
7891
|
*
|
|
7892
|
+
* @tags revisions
|
|
7796
7893
|
* @name GetReusableContentInRevisionById
|
|
7797
|
-
* @summary Get
|
|
7894
|
+
* @summary Get reusable content in a revision by its ID
|
|
7798
7895
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
|
|
7799
7896
|
* @secure
|
|
7800
7897
|
*/
|
|
@@ -7813,7 +7910,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7813
7910
|
/**
|
|
7814
7911
|
* No description
|
|
7815
7912
|
*
|
|
7816
|
-
* @tags
|
|
7913
|
+
* @tags comments
|
|
7817
7914
|
* @name ListCommentsInSpace
|
|
7818
7915
|
* @summary List all the comments in a space.
|
|
7819
7916
|
* @request GET:/spaces/{spaceId}/comments
|
|
@@ -7848,7 +7945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7848
7945
|
/**
|
|
7849
7946
|
* No description
|
|
7850
7947
|
*
|
|
7851
|
-
* @tags
|
|
7948
|
+
* @tags comments
|
|
7852
7949
|
* @name PostCommentInSpace
|
|
7853
7950
|
* @summary Post a new comment in a space.
|
|
7854
7951
|
* @request POST:/spaces/{spaceId}/comments
|
|
@@ -7858,7 +7955,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7858
7955
|
/**
|
|
7859
7956
|
* No description
|
|
7860
7957
|
*
|
|
7861
|
-
* @tags
|
|
7958
|
+
* @tags comments
|
|
7862
7959
|
* @name GetCommentInSpace
|
|
7863
7960
|
* @summary Get a comment in a space.
|
|
7864
7961
|
* @request GET:/spaces/{spaceId}/comments/{commentId}
|
|
@@ -7871,7 +7968,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7871
7968
|
/**
|
|
7872
7969
|
* No description
|
|
7873
7970
|
*
|
|
7874
|
-
* @tags
|
|
7971
|
+
* @tags comments
|
|
7875
7972
|
* @name DeleteCommentInSpace
|
|
7876
7973
|
* @summary Delete a comment in a space.
|
|
7877
7974
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}
|
|
@@ -7891,7 +7988,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7891
7988
|
/**
|
|
7892
7989
|
* No description
|
|
7893
7990
|
*
|
|
7894
|
-
* @tags
|
|
7991
|
+
* @tags comments
|
|
7895
7992
|
* @name ListCommentRepliesInSpace
|
|
7896
7993
|
* @summary List all the replies to a comment in a space.
|
|
7897
7994
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies
|
|
@@ -7914,7 +8011,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7914
8011
|
/**
|
|
7915
8012
|
* No description
|
|
7916
8013
|
*
|
|
7917
|
-
* @tags
|
|
8014
|
+
* @tags comments
|
|
7918
8015
|
* @name PostCommentReplyInSpace
|
|
7919
8016
|
* @summary Post a new reply to a comment in a space.
|
|
7920
8017
|
* @request POST:/spaces/{spaceId}/comments/{commentId}/replies
|
|
@@ -7924,7 +8021,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7924
8021
|
/**
|
|
7925
8022
|
* No description
|
|
7926
8023
|
*
|
|
7927
|
-
* @tags
|
|
8024
|
+
* @tags comments
|
|
7928
8025
|
* @name GetCommentReplyInSpace
|
|
7929
8026
|
* @summary Get a comment reply in a space.
|
|
7930
8027
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -7937,7 +8034,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7937
8034
|
/**
|
|
7938
8035
|
* No description
|
|
7939
8036
|
*
|
|
7940
|
-
* @tags
|
|
8037
|
+
* @tags comments
|
|
7941
8038
|
* @name UpdateCommentReplyInSpace
|
|
7942
8039
|
* @summary Update a comment reply in a space.
|
|
7943
8040
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -7947,7 +8044,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7947
8044
|
/**
|
|
7948
8045
|
* No description
|
|
7949
8046
|
*
|
|
7950
|
-
* @tags
|
|
8047
|
+
* @tags comments
|
|
7951
8048
|
* @name DeleteCommentReplyInSpace
|
|
7952
8049
|
* @summary Delete a comment reply in a space.
|
|
7953
8050
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
@@ -8478,6 +8575,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8478
8575
|
blockDomain?: string;
|
|
8479
8576
|
/** If true, returns only integrations with blocks. If false, returns only integrations without blocks. */
|
|
8480
8577
|
blocks?: boolean;
|
|
8578
|
+
/** If true, returns only integrations with contentSources. If false, returns only integrations without contentSources. */
|
|
8579
|
+
contentSources?: boolean;
|
|
8481
8580
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8482
8581
|
items: Integration[];
|
|
8483
8582
|
}, Error>>;
|
|
@@ -8671,6 +8770,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8671
8770
|
/**
|
|
8672
8771
|
* No description
|
|
8673
8772
|
*
|
|
8773
|
+
* @tags integrations
|
|
8674
8774
|
* @name RenderIntegrationUiWithGet
|
|
8675
8775
|
* @summary Render an integration UI in the context of an installation.
|
|
8676
8776
|
* @request GET:/integrations/{integrationName}/render
|
|
@@ -8683,6 +8783,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8683
8783
|
/**
|
|
8684
8784
|
* No description
|
|
8685
8785
|
*
|
|
8786
|
+
* @tags integrations
|
|
8686
8787
|
* @name RenderIntegrationUiWithPost
|
|
8687
8788
|
* @summary Render an integration UI in the context of an installation.
|
|
8688
8789
|
* @request POST:/integrations/{integrationName}/render
|
|
@@ -8847,6 +8948,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8847
8948
|
/**
|
|
8848
8949
|
* No description
|
|
8849
8950
|
*
|
|
8951
|
+
* @tags integrations
|
|
8850
8952
|
* @name UpdateIntegrationSpaceInstallation
|
|
8851
8953
|
* @summary Update external IDs and configurations of an integration's installation for a space
|
|
8852
8954
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
@@ -8862,6 +8964,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8862
8964
|
/**
|
|
8863
8965
|
* No description
|
|
8864
8966
|
*
|
|
8967
|
+
* @tags integrations
|
|
8865
8968
|
* @name UninstallIntegrationFromSpace
|
|
8866
8969
|
* @summary Uninstall the integration from a space
|
|
8867
8970
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
@@ -8944,6 +9047,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8944
9047
|
/**
|
|
8945
9048
|
* No description
|
|
8946
9049
|
*
|
|
9050
|
+
* @tags integrations
|
|
8947
9051
|
* @name UpdateIntegrationSiteInstallation
|
|
8948
9052
|
* @summary Update external IDs and configurations of an integration's installation for a site
|
|
8949
9053
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
@@ -8959,6 +9063,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8959
9063
|
/**
|
|
8960
9064
|
* No description
|
|
8961
9065
|
*
|
|
9066
|
+
* @tags integrations
|
|
8962
9067
|
* @name UninstallIntegrationFromSite
|
|
8963
9068
|
* @summary Uninstall the integration from a site
|
|
8964
9069
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
@@ -8988,16 +9093,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8988
9093
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8989
9094
|
items: Organization[];
|
|
8990
9095
|
}, Error>>;
|
|
8991
|
-
/**
|
|
8992
|
-
* No description
|
|
8993
|
-
*
|
|
8994
|
-
* @tags organizations
|
|
8995
|
-
* @name CreateOrganization
|
|
8996
|
-
* @summary Create an organization
|
|
8997
|
-
* @request POST:/orgs
|
|
8998
|
-
* @secure
|
|
8999
|
-
*/
|
|
9000
|
-
createOrganization: (data: CreateOrganization, params?: RequestParams) => Promise<HttpResponse<Organization, Error>>;
|
|
9001
9096
|
/**
|
|
9002
9097
|
* No description
|
|
9003
9098
|
*
|
|
@@ -9014,22 +9109,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9014
9109
|
message: string;
|
|
9015
9110
|
};
|
|
9016
9111
|
}>>;
|
|
9017
|
-
/**
|
|
9018
|
-
* No description
|
|
9019
|
-
*
|
|
9020
|
-
* @tags organizations
|
|
9021
|
-
* @name DeleteOrganizationById
|
|
9022
|
-
* @summary Delete an organization by its ID
|
|
9023
|
-
* @request DELETE:/orgs/{organizationId}
|
|
9024
|
-
* @secure
|
|
9025
|
-
*/
|
|
9026
|
-
deleteOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<void, Error | {
|
|
9027
|
-
error: {
|
|
9028
|
-
/** @format int32 */
|
|
9029
|
-
code: 404;
|
|
9030
|
-
message: string;
|
|
9031
|
-
};
|
|
9032
|
-
}>>;
|
|
9033
9112
|
/**
|
|
9034
9113
|
* No description
|
|
9035
9114
|
*
|
|
@@ -9059,16 +9138,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9059
9138
|
message: string;
|
|
9060
9139
|
};
|
|
9061
9140
|
}>>;
|
|
9062
|
-
/**
|
|
9063
|
-
* @description Lists all spaces, collections, sites accessible by current user in the current organization. This endpoint is internal for now as the data structure is optimized for the sidebar.
|
|
9064
|
-
*
|
|
9065
|
-
* @tags organizations, critical
|
|
9066
|
-
* @name GetOrganizationAllContent
|
|
9067
|
-
* @summary List all content in an organization
|
|
9068
|
-
* @request GET:/orgs/{organizationId}/content
|
|
9069
|
-
* @secure
|
|
9070
|
-
*/
|
|
9071
|
-
getOrganizationAllContent: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationAllContent, Error>>;
|
|
9072
9141
|
/**
|
|
9073
9142
|
* @description Lists members for the specified organization.
|
|
9074
9143
|
*
|
|
@@ -9374,31 +9443,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9374
9443
|
* @secure
|
|
9375
9444
|
*/
|
|
9376
9445
|
joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object, Error>>;
|
|
9377
|
-
/**
|
|
9378
|
-
* No description
|
|
9379
|
-
*
|
|
9380
|
-
* @tags organizations
|
|
9381
|
-
* @name ListOrganizationContentInviteLinks
|
|
9382
|
-
* @summary List invite links to content in an organization
|
|
9383
|
-
* @request GET:/orgs/{organizationId}/content-link-invites
|
|
9384
|
-
* @secure
|
|
9385
|
-
*/
|
|
9386
|
-
listOrganizationContentInviteLinks: (organizationId: string, query?: {
|
|
9387
|
-
/** Identifier of the page results to fetch. */
|
|
9388
|
-
page?: string;
|
|
9389
|
-
/**
|
|
9390
|
-
* The number of results per page
|
|
9391
|
-
* @min 0
|
|
9392
|
-
* @max 1000
|
|
9393
|
-
*/
|
|
9394
|
-
limit?: number;
|
|
9395
|
-
/** If specified, only return invite links that provide specific permissions on the given space. */
|
|
9396
|
-
space?: string;
|
|
9397
|
-
/** If specified, only return invite links that provide permissions on the given collection. */
|
|
9398
|
-
collection?: string;
|
|
9399
|
-
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9400
|
-
items: (InviteLinkToCollection | InviteLinkToSpace)[];
|
|
9401
|
-
}, Error>>;
|
|
9402
9446
|
/**
|
|
9403
9447
|
* No description
|
|
9404
9448
|
*
|
|
@@ -9456,114 +9500,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9456
9500
|
* @secure
|
|
9457
9501
|
*/
|
|
9458
9502
|
deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
|
|
9459
|
-
/**
|
|
9460
|
-
* No description
|
|
9461
|
-
*
|
|
9462
|
-
* @tags organizations
|
|
9463
|
-
* @name UpgradeOrganizationPlan
|
|
9464
|
-
* @summary Upgrade an organization's billing plan
|
|
9465
|
-
* @request POST:/orgs/{organizationId}/billing
|
|
9466
|
-
* @secure
|
|
9467
|
-
*/
|
|
9468
|
-
upgradeOrganizationPlan: (organizationId: string, data: UpgradeOrganizationBilling, query?: {
|
|
9469
|
-
/** The app screen URL to bring the user back to after a successful checkout. */
|
|
9470
|
-
successReturnURL?: string;
|
|
9471
|
-
/** The app screen URL to bring the user back to after a canceled checkout. */
|
|
9472
|
-
cancelReturnURL?: string;
|
|
9473
|
-
}, params?: RequestParams) => Promise<HttpResponse<BillingUpgrade, Error>>;
|
|
9474
|
-
/**
|
|
9475
|
-
* No description
|
|
9476
|
-
*
|
|
9477
|
-
* @tags organizations
|
|
9478
|
-
* @name MigrateOrganizationPlan
|
|
9479
|
-
* @summary Migrate an organization's legacy billing plan to new pricing
|
|
9480
|
-
* @request POST:/orgs/{organizationId}/billing/migrate
|
|
9481
|
-
* @secure
|
|
9482
|
-
*/
|
|
9483
|
-
migrateOrganizationPlan: (organizationId: string, data: MigrateOrganizationParameters, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
|
|
9484
|
-
/**
|
|
9485
|
-
* No description
|
|
9486
|
-
*
|
|
9487
|
-
* @tags organizations
|
|
9488
|
-
* @name PreviewMigrateOrganizationPlan
|
|
9489
|
-
* @summary Preview a migration of an organization to new pricing.
|
|
9490
|
-
* @request POST:/orgs/{organizationId}/billing/migrate/preview
|
|
9491
|
-
* @secure
|
|
9492
|
-
*/
|
|
9493
|
-
previewMigrateOrganizationPlan: (organizationId: string, data: MigrateOrganizationParameters, params?: RequestParams) => Promise<HttpResponse<{
|
|
9494
|
-
totals: {
|
|
9495
|
-
/** Count of all members */
|
|
9496
|
-
members: number;
|
|
9497
|
-
/** Count of all premium sites */
|
|
9498
|
-
premiumSites: number;
|
|
9499
|
-
/** Count of all ultimate sites */
|
|
9500
|
-
ultimateSites: number;
|
|
9501
|
-
};
|
|
9502
|
-
invoice?: BillingInvoicePreview;
|
|
9503
|
-
discount?: BillingDiscount;
|
|
9504
|
-
}, Error>>;
|
|
9505
|
-
/**
|
|
9506
|
-
* No description
|
|
9507
|
-
*
|
|
9508
|
-
* @tags organizations, sites
|
|
9509
|
-
* @name ListSitesToMigrate
|
|
9510
|
-
* @summary Lists all legacy sites of an org and computes their new type and contributing features
|
|
9511
|
-
* @request GET:/orgs/{organizationId}/billing/migrate/sites
|
|
9512
|
-
* @secure
|
|
9513
|
-
*/
|
|
9514
|
-
listSitesToMigrate: (organizationId: string, query?: {
|
|
9515
|
-
/** Identifier of the page results to fetch. */
|
|
9516
|
-
page?: string;
|
|
9517
|
-
/**
|
|
9518
|
-
* The number of results per page
|
|
9519
|
-
* @min 0
|
|
9520
|
-
* @max 1000
|
|
9521
|
-
*/
|
|
9522
|
-
limit?: number;
|
|
9523
|
-
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9524
|
-
items: SiteToMigrate[];
|
|
9525
|
-
}, Error>>;
|
|
9526
|
-
/**
|
|
9527
|
-
* No description
|
|
9528
|
-
*
|
|
9529
|
-
* @tags organizations
|
|
9530
|
-
* @name GetOrganizationBillingPortal
|
|
9531
|
-
* @summary Get the billing portal for an organization
|
|
9532
|
-
* @request GET:/orgs/{organizationId}/billing/portal
|
|
9533
|
-
* @secure
|
|
9534
|
-
*/
|
|
9535
|
-
getOrganizationBillingPortal: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<BillingPortal, Error>>;
|
|
9536
|
-
/**
|
|
9537
|
-
* No description
|
|
9538
|
-
*
|
|
9539
|
-
* @tags organizations
|
|
9540
|
-
* @name PreviewBillingInvoice
|
|
9541
|
-
* @summary Generates a billing invoice preview for organizations without an active subscription
|
|
9542
|
-
* @request GET:/orgs/{organizationId}/billing/preview
|
|
9543
|
-
* @secure
|
|
9544
|
-
*/
|
|
9545
|
-
previewBillingInvoice: (organizationId: string, query: {
|
|
9546
|
-
/** The desired billing interval plan */
|
|
9547
|
-
interval: BillingInterval;
|
|
9548
|
-
/** The desired core plan */
|
|
9549
|
-
product: BillingProduct;
|
|
9550
|
-
/** The desired amount of members in the organization */
|
|
9551
|
-
members?: number;
|
|
9552
|
-
/** The desired amount of published premium sites */
|
|
9553
|
-
premiumSites?: number;
|
|
9554
|
-
/** The desired amount of published ultimate sites */
|
|
9555
|
-
ultimateSites?: number;
|
|
9556
|
-
}, params?: RequestParams) => Promise<HttpResponse<BillingInvoicePreview, Error>>;
|
|
9557
|
-
/**
|
|
9558
|
-
* No description
|
|
9559
|
-
*
|
|
9560
|
-
* @tags organizations
|
|
9561
|
-
* @name RequestOrganizationUpgrade
|
|
9562
|
-
* @summary Send a request to ask the organization's admin to upgrade it.
|
|
9563
|
-
* @request POST:/orgs/{organizationId}/request_upgrade
|
|
9564
|
-
* @secure
|
|
9565
|
-
*/
|
|
9566
|
-
requestOrganizationUpgrade: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<object, Error>>;
|
|
9567
9503
|
/**
|
|
9568
9504
|
* No description
|
|
9569
9505
|
*
|
|
@@ -9930,94 +9866,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9930
9866
|
/**
|
|
9931
9867
|
* No description
|
|
9932
9868
|
*
|
|
9933
|
-
* @tags
|
|
9934
|
-
* @name GetUsageForOrganizationById
|
|
9935
|
-
* @summary Get all usage metrics for an organization
|
|
9936
|
-
* @request GET:/orgs/{organizationId}/usage
|
|
9937
|
-
* @secure
|
|
9938
|
-
*/
|
|
9939
|
-
getUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationUsage, Error>>;
|
|
9940
|
-
/**
|
|
9941
|
-
* No description
|
|
9942
|
-
*
|
|
9943
|
-
* @tags organizations, usage
|
|
9944
|
-
* @name GetCollectionsUsageForOrganizationById
|
|
9945
|
-
* @summary Get collections usage metrics for an organization
|
|
9946
|
-
* @request GET:/orgs/{organizationId}/usage/collections
|
|
9947
|
-
* @secure
|
|
9948
|
-
*/
|
|
9949
|
-
getCollectionsUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9950
|
-
/** Collections usage metrics of an organization */
|
|
9951
|
-
collections: OrganizationUsageCollections;
|
|
9952
|
-
}, Error>>;
|
|
9953
|
-
/**
|
|
9954
|
-
* No description
|
|
9955
|
-
*
|
|
9956
|
-
* @tags organizations, usage
|
|
9957
|
-
* @name GetSpacesUsageForOrganizationById
|
|
9958
|
-
* @summary Get spaces usage metrics for an organization
|
|
9959
|
-
* @request GET:/orgs/{organizationId}/usage/spaces
|
|
9960
|
-
* @secure
|
|
9961
|
-
*/
|
|
9962
|
-
getSpacesUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9963
|
-
/** Spaces usage metrics of an organization */
|
|
9964
|
-
spaces: OrganizationUsageSpaces;
|
|
9965
|
-
}, Error>>;
|
|
9966
|
-
/**
|
|
9967
|
-
* No description
|
|
9968
|
-
*
|
|
9969
|
-
* @tags organizations, usage
|
|
9970
|
-
* @name GetSitesUsageForOrganizationById
|
|
9971
|
-
* @summary Get sites usage metrics for an organization
|
|
9972
|
-
* @request GET:/orgs/{organizationId}/usage/sites
|
|
9973
|
-
* @secure
|
|
9974
|
-
*/
|
|
9975
|
-
getSitesUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9976
|
-
/** Sites usage metrics of an organization */
|
|
9977
|
-
sites: OrganizationUsageSites;
|
|
9978
|
-
}, Error>>;
|
|
9979
|
-
/**
|
|
9980
|
-
* No description
|
|
9981
|
-
*
|
|
9982
|
-
* @tags organizations, usage
|
|
9983
|
-
* @name GetTeamsUsageForOrganizationById
|
|
9984
|
-
* @summary Get teams usage metrics for an organization
|
|
9985
|
-
* @request GET:/orgs/{organizationId}/usage/teams
|
|
9986
|
-
* @secure
|
|
9987
|
-
*/
|
|
9988
|
-
getTeamsUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9989
|
-
/** Team members usage metrics of an organization */
|
|
9990
|
-
teams: OrganizationUsageTeams;
|
|
9991
|
-
}, Error>>;
|
|
9992
|
-
/**
|
|
9993
|
-
* No description
|
|
9994
|
-
*
|
|
9995
|
-
* @tags organizations, usage
|
|
9996
|
-
* @name GetMembersUsageForOrganizationById
|
|
9997
|
-
* @summary Get members usage metrics for an organization
|
|
9998
|
-
* @request GET:/orgs/{organizationId}/usage/members
|
|
9999
|
-
* @secure
|
|
10000
|
-
*/
|
|
10001
|
-
getMembersUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
10002
|
-
/** Members usage metrics of an organization */
|
|
10003
|
-
members: OrganizationUsageMembers;
|
|
10004
|
-
}, Error>>;
|
|
10005
|
-
/**
|
|
10006
|
-
* No description
|
|
10007
|
-
*
|
|
10008
|
-
* @tags organizations, usage
|
|
10009
|
-
* @name GetTeamMembersUsageForOrganizationById
|
|
10010
|
-
* @summary Get team members usage metrics for an organization
|
|
10011
|
-
* @request GET:/orgs/{organizationId}/usage/team-members
|
|
10012
|
-
* @secure
|
|
10013
|
-
*/
|
|
10014
|
-
getTeamMembersUsageForOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
10015
|
-
/** Team members usage metrics of an organization */
|
|
10016
|
-
teamMembers: OrganizationUsageTeamMembers;
|
|
10017
|
-
}, Error>>;
|
|
10018
|
-
/**
|
|
10019
|
-
* No description
|
|
10020
|
-
*
|
|
9869
|
+
* @tags search
|
|
10021
9870
|
* @name AskInOrganization
|
|
10022
9871
|
* @summary Ask a question.
|
|
10023
9872
|
* @request POST:/orgs/{organizationId}/ask
|
|
@@ -10035,6 +9884,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10035
9884
|
/**
|
|
10036
9885
|
* No description
|
|
10037
9886
|
*
|
|
9887
|
+
* @tags search
|
|
10038
9888
|
* @name GetRecommendedQuestionsInOrganization
|
|
10039
9889
|
* @summary Get a list of questions recommended to be asked in an organization.
|
|
10040
9890
|
* @request GET:/orgs/{organizationId}/ask/questions
|
|
@@ -10044,6 +9894,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10044
9894
|
/**
|
|
10045
9895
|
* No description
|
|
10046
9896
|
*
|
|
9897
|
+
* @tags search
|
|
10047
9898
|
* @name StreamRecommendedQuestionsInOrganization
|
|
10048
9899
|
* @summary Stream a list of questions recommended to be asked in an organization.
|
|
10049
9900
|
* @request GET:/orgs/{organizationId}/ask/questions/stream
|
|
@@ -10053,6 +9904,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10053
9904
|
/**
|
|
10054
9905
|
* No description
|
|
10055
9906
|
*
|
|
9907
|
+
* @tags search
|
|
10056
9908
|
* @name StreamAskInOrganization
|
|
10057
9909
|
* @summary Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
|
|
10058
9910
|
* @request GET:/orgs/{organizationId}/ask/stream
|
|
@@ -10119,19 +9971,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10119
9971
|
/** ID of spaces to be added to the site */
|
|
10120
9972
|
spaces?: string[] | "sample" | "empty";
|
|
10121
9973
|
}, params?: RequestParams) => Promise<HttpResponse<Site, Error>>;
|
|
10122
|
-
/**
|
|
10123
|
-
* No description
|
|
10124
|
-
*
|
|
10125
|
-
* @tags sites
|
|
10126
|
-
* @name PreviewSitePublishCheckout
|
|
10127
|
-
* @summary Preview checkout information upon publishing a site in the organization.
|
|
10128
|
-
* @request GET:/orgs/{organizationId}/sites/publishing/checkout
|
|
10129
|
-
* @secure
|
|
10130
|
-
*/
|
|
10131
|
-
previewSitePublishCheckout: (organizationId: string, query: {
|
|
10132
|
-
/** The plan of the site to preview the checkout information for. */
|
|
10133
|
-
plan: SiteType;
|
|
10134
|
-
}, params?: RequestParams) => Promise<HttpResponse<BillingOperationPreviewResponse, Error>>;
|
|
10135
9974
|
/**
|
|
10136
9975
|
* No description
|
|
10137
9976
|
*
|
|
@@ -10311,66 +10150,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10311
10150
|
message: string;
|
|
10312
10151
|
};
|
|
10313
10152
|
}>>;
|
|
10314
|
-
/**
|
|
10315
|
-
* No description
|
|
10316
|
-
*
|
|
10317
|
-
* @tags sites
|
|
10318
|
-
* @name UpdateSitePlan
|
|
10319
|
-
* @summary Update the site plan.
|
|
10320
|
-
* @request POST:/orgs/{organizationId}/sites/{siteId}/plan
|
|
10321
|
-
* @secure
|
|
10322
|
-
*/
|
|
10323
|
-
updateSitePlan: (organizationId: string, siteId: string, data: {
|
|
10324
|
-
/** The type of the site */
|
|
10325
|
-
plan: SiteType;
|
|
10326
|
-
/** Desired interval for new subscriptions. Defaults to the existing billing interval. */
|
|
10327
|
-
interval?: BillingInterval;
|
|
10328
|
-
/** Reason that triggered the billing upgrade */
|
|
10329
|
-
reason?: string;
|
|
10330
|
-
}, query?: {
|
|
10331
|
-
/** The app screen URL to bring the user back to after a successful checkout. */
|
|
10332
|
-
successReturnURL?: string;
|
|
10333
|
-
/** The app screen URL to bring the user back to after a canceled checkout. */
|
|
10334
|
-
cancelReturnURL?: string;
|
|
10335
|
-
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
10336
|
-
/** User must checkout to complete the update. */
|
|
10337
|
-
type: "checkout";
|
|
10338
|
-
/** Stripe payment session ID */
|
|
10339
|
-
sessionId: string;
|
|
10340
|
-
} | {
|
|
10341
|
-
/** User needs to go through the legacy update flow. */
|
|
10342
|
-
type: "legacy-checkout";
|
|
10343
|
-
/** Stripe payment session ID */
|
|
10344
|
-
sessionId: string;
|
|
10345
|
-
} | {
|
|
10346
|
-
/** The site plan was successfully updated. */
|
|
10347
|
-
type: "success";
|
|
10348
|
-
/**
|
|
10349
|
-
* * `upgraded`: Subscription was upgraded to include the site
|
|
10350
|
-
* * `downgraded`: Subscription was downgraded by removing the site
|
|
10351
|
-
* * `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)
|
|
10352
|
-
*/
|
|
10353
|
-
outcome?: "upgraded" | "downgraded" | "no-payment-changes";
|
|
10354
|
-
}, Error>>;
|
|
10355
|
-
/**
|
|
10356
|
-
* No description
|
|
10357
|
-
*
|
|
10358
|
-
* @tags sites
|
|
10359
|
-
* @name PreviewSitePlanUpdate
|
|
10360
|
-
* @summary Preview an upgrade to a site plan, returning checkout information.
|
|
10361
|
-
* @request GET:/orgs/{organizationId}/sites/{siteId}/plan
|
|
10362
|
-
* @secure
|
|
10363
|
-
*/
|
|
10364
|
-
previewSitePlanUpdate: (organizationId: string, siteId: string, query: {
|
|
10365
|
-
/** The desired site plan */
|
|
10366
|
-
plan: SiteType;
|
|
10367
|
-
}, params?: RequestParams) => Promise<HttpResponse<BillingOperationPreviewResponse, Error | {
|
|
10368
|
-
error: {
|
|
10369
|
-
/** @format int32 */
|
|
10370
|
-
code: 404;
|
|
10371
|
-
message: string;
|
|
10372
|
-
};
|
|
10373
|
-
}>>;
|
|
10374
10153
|
/**
|
|
10375
10154
|
* No description
|
|
10376
10155
|
*
|
|
@@ -10481,22 +10260,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10481
10260
|
message: string;
|
|
10482
10261
|
};
|
|
10483
10262
|
}>>;
|
|
10484
|
-
/**
|
|
10485
|
-
* No description
|
|
10486
|
-
*
|
|
10487
|
-
* @tags sites
|
|
10488
|
-
* @name GetSiteRawCustomizationById
|
|
10489
|
-
* @summary Get the raw customization settings of a site.
|
|
10490
|
-
* @request GET:/orgs/{organizationId}/sites/{siteId}/customization/raw
|
|
10491
|
-
* @secure
|
|
10492
|
-
*/
|
|
10493
|
-
getSiteRawCustomizationById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, Error | {
|
|
10494
|
-
error: {
|
|
10495
|
-
/** @format int32 */
|
|
10496
|
-
code: 400;
|
|
10497
|
-
message: string;
|
|
10498
|
-
};
|
|
10499
|
-
}>>;
|
|
10500
10263
|
/**
|
|
10501
10264
|
* No description
|
|
10502
10265
|
*
|
|
@@ -10727,6 +10490,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10727
10490
|
/**
|
|
10728
10491
|
* No description
|
|
10729
10492
|
*
|
|
10493
|
+
* @tags sites
|
|
10730
10494
|
* @name SearchSiteContent
|
|
10731
10495
|
* @summary Search content in a site
|
|
10732
10496
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/search
|
|
@@ -10774,6 +10538,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10774
10538
|
/**
|
|
10775
10539
|
* No description
|
|
10776
10540
|
*
|
|
10541
|
+
* @tags search
|
|
10777
10542
|
* @name StreamAskInSite
|
|
10778
10543
|
* @summary Ask a question in a site. The response is streamed.
|
|
10779
10544
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ask
|
|
@@ -10794,6 +10559,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10794
10559
|
/**
|
|
10795
10560
|
* No description
|
|
10796
10561
|
*
|
|
10562
|
+
* @tags search
|
|
10797
10563
|
* @name StreamRecommendedQuestionsInSite
|
|
10798
10564
|
* @summary Stream a list of questions that can be asked in a site.
|
|
10799
10565
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/ask/questions
|
|
@@ -10877,6 +10643,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10877
10643
|
tint?: CustomizationTint | null;
|
|
10878
10644
|
/** The style of the corners to use. Set to null to reset the override. */
|
|
10879
10645
|
corners?: CustomizationCorners | null;
|
|
10646
|
+
/** The style for links to use. Set to null to reset the override. */
|
|
10647
|
+
links?: CustomizationLinksStyle | null;
|
|
10880
10648
|
/** The font family to use for the content. Set to null to reset the override. */
|
|
10881
10649
|
font?: CustomizationFont | null;
|
|
10882
10650
|
/** The icons style to use for the content. Set to null to reset the override. */
|
|
@@ -10984,22 +10752,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10984
10752
|
message: string;
|
|
10985
10753
|
};
|
|
10986
10754
|
}>>;
|
|
10987
|
-
/**
|
|
10988
|
-
* No description
|
|
10989
|
-
*
|
|
10990
|
-
* @tags sites
|
|
10991
|
-
* @name GetSiteSpaceRawCustomizationById
|
|
10992
|
-
* @summary Get the raw customization settings of a site space.
|
|
10993
|
-
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization/raw
|
|
10994
|
-
* @secure
|
|
10995
|
-
*/
|
|
10996
|
-
getSiteSpaceRawCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<SiteSpaceCustomizationSettings, Error | {
|
|
10997
|
-
error: {
|
|
10998
|
-
/** @format int32 */
|
|
10999
|
-
code: 400;
|
|
11000
|
-
message: string;
|
|
11001
|
-
};
|
|
11002
|
-
}>>;
|
|
11003
10755
|
/**
|
|
11004
10756
|
* No description
|
|
11005
10757
|
*
|
|
@@ -11165,45 +10917,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11165
10917
|
listSiteVisitorSegments: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11166
10918
|
items: SiteInsightsVisitorSegment[];
|
|
11167
10919
|
}, any>>;
|
|
11168
|
-
/**
|
|
11169
|
-
* No description
|
|
11170
|
-
*
|
|
11171
|
-
* @tags analytics, sites
|
|
11172
|
-
* @name GetAdsInsightsForSiteById
|
|
11173
|
-
* @summary Get analytics insights of ads on a site.
|
|
11174
|
-
* @request GET:/orgs/{organizationId}/sites/{siteId}/insights/ads
|
|
11175
|
-
* @secure
|
|
11176
|
-
*/
|
|
11177
|
-
getAdsInsightsForSiteById: (organizationId: string, siteId: string, query?: {
|
|
11178
|
-
/** The interval for grouping the results */
|
|
11179
|
-
interval?: InsightsInterval;
|
|
11180
|
-
/**
|
|
11181
|
-
* The earliest timestamp for any data returned
|
|
11182
|
-
* @format date-time
|
|
11183
|
-
*/
|
|
11184
|
-
start?: string;
|
|
11185
|
-
/**
|
|
11186
|
-
* The latest timestamp for any data returned
|
|
11187
|
-
* @format date-time
|
|
11188
|
-
*/
|
|
11189
|
-
end?: string;
|
|
11190
|
-
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
11191
|
-
/** A time serie of the ads stats over the provided period */
|
|
11192
|
-
values: {
|
|
11193
|
-
/**
|
|
11194
|
-
* The start date of this interval
|
|
11195
|
-
* @format date-time
|
|
11196
|
-
*/
|
|
11197
|
-
date: string;
|
|
11198
|
-
stats: SiteAdsStats;
|
|
11199
|
-
}[];
|
|
11200
|
-
account: {
|
|
11201
|
-
/** Email address on the Ads platform. */
|
|
11202
|
-
email: string;
|
|
11203
|
-
/** URL to configure payout. */
|
|
11204
|
-
url: string;
|
|
11205
|
-
};
|
|
11206
|
-
}, Error>>;
|
|
11207
10920
|
/**
|
|
11208
10921
|
* No description
|
|
11209
10922
|
*
|
|
@@ -11316,6 +11029,25 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11316
11029
|
message: string;
|
|
11317
11030
|
};
|
|
11318
11031
|
}>>;
|
|
11032
|
+
/**
|
|
11033
|
+
* @description Generate a pre-signed URL that can be used to upload a file to storage
|
|
11034
|
+
*
|
|
11035
|
+
* @tags organization
|
|
11036
|
+
* @name GenerateSiteStorageUploadUrl
|
|
11037
|
+
* @summary Create a signed URL to upload a file
|
|
11038
|
+
* @request POST:/orgs/{organizationId}/sites/{siteId}/storage/upload
|
|
11039
|
+
* @secure
|
|
11040
|
+
*/
|
|
11041
|
+
generateSiteStorageUploadUrl: (organizationId: string, siteId: string, data: {
|
|
11042
|
+
file: StorageFileMetadata;
|
|
11043
|
+
kind: StorageUploadKind;
|
|
11044
|
+
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL, Error | {
|
|
11045
|
+
error: {
|
|
11046
|
+
/** @format int32 */
|
|
11047
|
+
code: 400;
|
|
11048
|
+
message: string;
|
|
11049
|
+
};
|
|
11050
|
+
}>>;
|
|
11319
11051
|
/**
|
|
11320
11052
|
* No description
|
|
11321
11053
|
*
|
|
@@ -11493,24 +11225,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11493
11225
|
* @secure
|
|
11494
11226
|
*/
|
|
11495
11227
|
getCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<CustomHostname, Error>>;
|
|
11496
|
-
/**
|
|
11497
|
-
* No description
|
|
11498
|
-
*
|
|
11499
|
-
* @tags custom-hostnames
|
|
11500
|
-
* @name SetupCustomHostname
|
|
11501
|
-
* @summary Setup a custom hostname on a site or an organization. Any previously set custom hostname will continue pointing to the target but marked as available for use with another target.
|
|
11502
|
-
* @request POST:/custom-hostnames/{hostname}
|
|
11503
|
-
* @secure
|
|
11504
|
-
*/
|
|
11505
|
-
setupCustomHostname: (hostname: string, data: {
|
|
11506
|
-
target: OrganizationPointer | SitePointer;
|
|
11507
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomHostname, Error | {
|
|
11508
|
-
error: {
|
|
11509
|
-
/** @format int32 */
|
|
11510
|
-
code: 409;
|
|
11511
|
-
message: string;
|
|
11512
|
-
};
|
|
11513
|
-
}>>;
|
|
11514
11228
|
/**
|
|
11515
11229
|
* No description
|
|
11516
11230
|
*
|
|
@@ -11537,30 +11251,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11537
11251
|
* @secure
|
|
11538
11252
|
*/
|
|
11539
11253
|
removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
|
|
11540
|
-
/**
|
|
11541
|
-
* No description
|
|
11542
|
-
*
|
|
11543
|
-
* @tags custom-hostnames
|
|
11544
|
-
* @name TestCustomHostname
|
|
11545
|
-
* @summary Test if a custom hostname can be used for a site or organization.
|
|
11546
|
-
* @request POST:/custom-hostnames/{hostname}/test
|
|
11547
|
-
* @secure
|
|
11548
|
-
*/
|
|
11549
|
-
testCustomHostname: (hostname: string, data: {
|
|
11550
|
-
target: OrganizationPointer | SitePointer;
|
|
11551
|
-
}, params?: RequestParams) => Promise<HttpResponse<void, Error | {
|
|
11552
|
-
error: {
|
|
11553
|
-
/** @format int32 */
|
|
11554
|
-
code: 400;
|
|
11555
|
-
message: string;
|
|
11556
|
-
};
|
|
11557
|
-
} | {
|
|
11558
|
-
error: {
|
|
11559
|
-
/** @format int32 */
|
|
11560
|
-
code: 409;
|
|
11561
|
-
message: string;
|
|
11562
|
-
};
|
|
11563
|
-
}>>;
|
|
11564
11254
|
};
|
|
11565
11255
|
ads: {
|
|
11566
11256
|
/**
|
|
@@ -11631,22 +11321,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11631
11321
|
status: "pending";
|
|
11632
11322
|
}, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
|
|
11633
11323
|
};
|
|
11634
|
-
internal: {
|
|
11635
|
-
/**
|
|
11636
|
-
* No description
|
|
11637
|
-
*
|
|
11638
|
-
* @tags hive, critical
|
|
11639
|
-
* @name GenerateHiveAccessToken
|
|
11640
|
-
* @summary Returns a token to authenticate with Hive.
|
|
11641
|
-
* @request POST:/internal/hive/token
|
|
11642
|
-
* @secure
|
|
11643
|
-
*/
|
|
11644
|
-
generateHiveAccessToken: (data?: {
|
|
11645
|
-
/** @deprecated */
|
|
11646
|
-
spaces?: string[];
|
|
11647
|
-
contentIds?: string[];
|
|
11648
|
-
}, params?: RequestParams) => Promise<HttpResponse<HiveAccessToken, Error>>;
|
|
11649
|
-
};
|
|
11650
11324
|
urls: {
|
|
11651
11325
|
/**
|
|
11652
11326
|
* No description
|
|
@@ -11699,6 +11373,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11699
11373
|
* @default false
|
|
11700
11374
|
*/
|
|
11701
11375
|
redirectOnError?: boolean;
|
|
11376
|
+
/**
|
|
11377
|
+
* When true the HTTP response can be cached by the CDN
|
|
11378
|
+
* @default false
|
|
11379
|
+
*/
|
|
11380
|
+
cache?: boolean;
|
|
11702
11381
|
}, params?: RequestParams) => Promise<HttpResponse<PublishedSiteContentLookup, Error | {
|
|
11703
11382
|
error: {
|
|
11704
11383
|
/** @format int32 */
|