@gitbook/api 0.108.0 → 0.110.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 +885 -789
- package/dist/index.cjs +28 -17
- package/dist/index.js +27 -17
- package/package.json +1 -1
- package/spec/openapi.json +1330 -1531
- package/spec/openapi.yaml +1231 -1191
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export interface Error {
|
|
2
|
-
error: {
|
|
3
|
-
/** @format int32 */
|
|
4
|
-
code: number;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
1
|
export interface ApiInformation {
|
|
9
2
|
/** Current release of GitBook */
|
|
10
3
|
version: string;
|
|
@@ -476,7 +469,15 @@ export interface DocumentMarkColor {
|
|
|
476
469
|
background: 'default' | 'green' | 'blue' | 'red' | 'orange' | 'yellow' | 'purple';
|
|
477
470
|
};
|
|
478
471
|
}
|
|
479
|
-
export
|
|
472
|
+
export interface DocumentMarkSuperscript {
|
|
473
|
+
object: 'mark';
|
|
474
|
+
type: 'superscript';
|
|
475
|
+
}
|
|
476
|
+
export interface DocumentMarkSubscript {
|
|
477
|
+
object: 'mark';
|
|
478
|
+
type: 'subscript';
|
|
479
|
+
}
|
|
480
|
+
export type DocumentTextMark = DocumentMarkBold | DocumentMarkItalic | DocumentMarkCode | DocumentMarkKeyboard | DocumentMarkStrikethrough | DocumentMarkColor | DocumentMarkSuperscript | DocumentMarkSubscript;
|
|
480
481
|
export interface DocumentTextLeaf {
|
|
481
482
|
object: 'leaf';
|
|
482
483
|
text: string;
|
|
@@ -581,7 +582,7 @@ export interface DocumentBlockParagraph {
|
|
|
581
582
|
isVoid?: false;
|
|
582
583
|
data?: object;
|
|
583
584
|
}
|
|
584
|
-
export type DocumentInline = DocumentInlineLink | DocumentInlineEmoji | DocumentInlineMath | DocumentInlineImage | DocumentInlineAnnotation | DocumentInlineMention;
|
|
585
|
+
export type DocumentInline = DocumentInlineLink | DocumentInlineEmoji | DocumentInlineMath | DocumentInlineImage | DocumentInlineAnnotation | DocumentInlineMention | DocumentInlineButton;
|
|
585
586
|
export interface DocumentBlockHeading {
|
|
586
587
|
object: 'block';
|
|
587
588
|
type: 'heading-1' | 'heading-2' | 'heading-3';
|
|
@@ -1070,6 +1071,19 @@ export interface DocumentInlineMention {
|
|
|
1070
1071
|
};
|
|
1071
1072
|
isVoid: true;
|
|
1072
1073
|
}
|
|
1074
|
+
export interface DocumentInlineButton {
|
|
1075
|
+
object: 'inline';
|
|
1076
|
+
type: 'button';
|
|
1077
|
+
key?: string;
|
|
1078
|
+
data: {
|
|
1079
|
+
label: string;
|
|
1080
|
+
kind: 'primary' | 'secondary';
|
|
1081
|
+
} & {
|
|
1082
|
+
/** A relative reference to content in GitBook. */
|
|
1083
|
+
ref: ContentRef;
|
|
1084
|
+
};
|
|
1085
|
+
isVoid: true;
|
|
1086
|
+
}
|
|
1073
1087
|
export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
|
|
1074
1088
|
export interface JSONDocument {
|
|
1075
1089
|
object: 'document';
|
|
@@ -1577,6 +1591,15 @@ export declare enum BillingInterval {
|
|
|
1577
1591
|
Monthly = "monthly",
|
|
1578
1592
|
Yearly = "yearly"
|
|
1579
1593
|
}
|
|
1594
|
+
export interface OrganizationBilling {
|
|
1595
|
+
/** Interval for a billing subscription */
|
|
1596
|
+
interval: BillingInterval;
|
|
1597
|
+
endDate: Timestamp | null;
|
|
1598
|
+
/** If true, we were unable to collect the last payment */
|
|
1599
|
+
hasPaymentFailed: boolean;
|
|
1600
|
+
/** If true, the billing is set to cancel at the end of its current period */
|
|
1601
|
+
isScheduledToCancel: boolean;
|
|
1602
|
+
}
|
|
1580
1603
|
/** - 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. */
|
|
1581
1604
|
export declare enum BillingTrialStatus {
|
|
1582
1605
|
Notapplicable = "notapplicable",
|
|
@@ -1614,15 +1637,8 @@ export interface Organization {
|
|
|
1614
1637
|
inviteLinks: boolean;
|
|
1615
1638
|
/** Name of the product */
|
|
1616
1639
|
plan: BillingProduct;
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
interval: BillingInterval;
|
|
1620
|
-
endDate?: Timestamp;
|
|
1621
|
-
/** If true, we were unable to collect the last payment */
|
|
1622
|
-
hasPaymentFailed: boolean;
|
|
1623
|
-
/** If true, the billing is set to cancel at the end of its current period */
|
|
1624
|
-
isScheduledToCancel: boolean;
|
|
1625
|
-
};
|
|
1640
|
+
/** Billing details, only available for org members. */
|
|
1641
|
+
billing?: OrganizationBilling;
|
|
1626
1642
|
/** URLs associated with the object */
|
|
1627
1643
|
urls: {
|
|
1628
1644
|
/**
|
|
@@ -3960,6 +3976,13 @@ export interface MigrateOrganizationParameters {
|
|
|
3960
3976
|
})[];
|
|
3961
3977
|
};
|
|
3962
3978
|
}
|
|
3979
|
+
export interface Error {
|
|
3980
|
+
error: {
|
|
3981
|
+
/** @format int32 */
|
|
3982
|
+
code: number;
|
|
3983
|
+
message: string;
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3963
3986
|
export interface BillingDiscount {
|
|
3964
3987
|
/** How many months the discount will last */
|
|
3965
3988
|
duration: number;
|
|
@@ -3981,6 +4004,14 @@ export interface BillingPortal {
|
|
|
3981
4004
|
/** URL to the billing portal for an organization */
|
|
3982
4005
|
url: string;
|
|
3983
4006
|
}
|
|
4007
|
+
export declare enum BillingSwitchAction {
|
|
4008
|
+
Trial = "trial",
|
|
4009
|
+
Upgrade = "upgrade",
|
|
4010
|
+
UpgradePassive = "upgrade_passive",
|
|
4011
|
+
Downgrade = "downgrade",
|
|
4012
|
+
UndoCancel = "undo_cancel",
|
|
4013
|
+
SwitchInterval = "switch_interval"
|
|
4014
|
+
}
|
|
3984
4015
|
/** Search result representing a space. */
|
|
3985
4016
|
export interface SearchSpaceResult {
|
|
3986
4017
|
id: string;
|
|
@@ -4345,6 +4376,46 @@ export type BillingOperationPreviewResponse = {
|
|
|
4345
4376
|
plan: BillingProduct;
|
|
4346
4377
|
invoice?: BillingInvoicePreview;
|
|
4347
4378
|
};
|
|
4379
|
+
export type Properties = Record<string, {
|
|
4380
|
+
type: 'boolean';
|
|
4381
|
+
description: string;
|
|
4382
|
+
} | {
|
|
4383
|
+
type: 'string';
|
|
4384
|
+
enum: string[];
|
|
4385
|
+
description: string;
|
|
4386
|
+
} | {
|
|
4387
|
+
type: 'object';
|
|
4388
|
+
description: string;
|
|
4389
|
+
properties: Properties;
|
|
4390
|
+
additionalProperties: false;
|
|
4391
|
+
}>;
|
|
4392
|
+
/** JSON schema describing the expected attributes of an Adaptive site schema. */
|
|
4393
|
+
export interface SiteAdaptiveJSONSchema {
|
|
4394
|
+
$schema?: 'http://json-schema.org/draft-07/schema#';
|
|
4395
|
+
$id?: string;
|
|
4396
|
+
type: 'object';
|
|
4397
|
+
properties: Record<string, {
|
|
4398
|
+
type: 'boolean';
|
|
4399
|
+
description: string;
|
|
4400
|
+
} | {
|
|
4401
|
+
type: 'string';
|
|
4402
|
+
enum: string[];
|
|
4403
|
+
description: string;
|
|
4404
|
+
} | {
|
|
4405
|
+
type: 'object';
|
|
4406
|
+
description: string;
|
|
4407
|
+
properties: Properties;
|
|
4408
|
+
additionalProperties: false;
|
|
4409
|
+
}>;
|
|
4410
|
+
additionalProperties: false;
|
|
4411
|
+
}
|
|
4412
|
+
export interface SiteAdaptiveSchema {
|
|
4413
|
+
object: 'site-adaptive-schema';
|
|
4414
|
+
/** JSON schema describing the expected attributes of an Adaptive site schema. */
|
|
4415
|
+
jsonSchema: SiteAdaptiveJSONSchema;
|
|
4416
|
+
/** When the adaptive schema was updated. */
|
|
4417
|
+
updatedAt: Timestamp;
|
|
4418
|
+
}
|
|
4348
4419
|
/**
|
|
4349
4420
|
* The theme to apply to the site. Supercedes the old header preset themes.
|
|
4350
4421
|
* - `clean`: Modern theme featuring translucency and minimally-styled elements.
|
|
@@ -6216,6 +6287,10 @@ export interface SiteStructureChannel {
|
|
|
6216
6287
|
channel: 'site-structure';
|
|
6217
6288
|
site: string;
|
|
6218
6289
|
}
|
|
6290
|
+
export interface SiteAdaptiveSchemaChannel {
|
|
6291
|
+
channel: 'site-adaptive-schema';
|
|
6292
|
+
site: string;
|
|
6293
|
+
}
|
|
6219
6294
|
export interface SitePublishingAuthChannel {
|
|
6220
6295
|
channel: 'site-publishing-auth';
|
|
6221
6296
|
site: string;
|
|
@@ -6261,7 +6336,7 @@ export interface TranslationSettingsChannel {
|
|
|
6261
6336
|
translation: string;
|
|
6262
6337
|
}
|
|
6263
6338
|
/** Channel to subscribe to for realtime updates. */
|
|
6264
|
-
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceCustomFieldsChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationAIIndexationChannel | OrganizationOpenAPISpecsChannel | OrganizationTranslationSettingsChannel | OrganizationCustomFontsChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentReplyInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncSettingsChannel | GitSyncOperationChannel | OpenAPISpecChannel | SubdomainChannel | TranslationSettingsChannel;
|
|
6339
|
+
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceCustomFieldsChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationAIIndexationChannel | OrganizationOpenAPISpecsChannel | OrganizationTranslationSettingsChannel | OrganizationCustomFontsChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentReplyInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SiteAdaptiveSchemaChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncSettingsChannel | GitSyncOperationChannel | OpenAPISpecChannel | SubdomainChannel | TranslationSettingsChannel;
|
|
6265
6340
|
export interface GitSyncOperationChannelData {
|
|
6266
6341
|
channel: 'space-gitsync-operation';
|
|
6267
6342
|
data: GitSyncOperation;
|
|
@@ -6489,15 +6564,15 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
6489
6564
|
*/
|
|
6490
6565
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
6491
6566
|
/**
|
|
6492
|
-
* @description Access the release version and build date of the GitBook codebase
|
|
6567
|
+
* @description Access the release version and build date of the GitBook codebase.
|
|
6493
6568
|
*
|
|
6494
|
-
* @tags
|
|
6569
|
+
* @tags system
|
|
6495
6570
|
* @name GetApiInformation
|
|
6496
|
-
* @summary Get information
|
|
6571
|
+
* @summary Get API information
|
|
6497
6572
|
* @request GET:/
|
|
6498
6573
|
* @secure
|
|
6499
6574
|
*/
|
|
6500
|
-
getApiInformation: (params?: RequestParams) => Promise<HttpResponse<ApiInformation,
|
|
6575
|
+
getApiInformation: (params?: RequestParams) => Promise<HttpResponse<ApiInformation, any>>;
|
|
6501
6576
|
user: {
|
|
6502
6577
|
/**
|
|
6503
6578
|
* @description Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
@@ -6508,7 +6583,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6508
6583
|
* @request GET:/user
|
|
6509
6584
|
* @secure
|
|
6510
6585
|
*/
|
|
6511
|
-
getAuthenticatedUser: (params?: RequestParams) => Promise<HttpResponse<User,
|
|
6586
|
+
getAuthenticatedUser: (params?: RequestParams) => Promise<HttpResponse<User, {
|
|
6587
|
+
error: {
|
|
6588
|
+
/** @format int32 */
|
|
6589
|
+
code: 404;
|
|
6590
|
+
message: string;
|
|
6591
|
+
};
|
|
6592
|
+
}>>;
|
|
6512
6593
|
};
|
|
6513
6594
|
users: {
|
|
6514
6595
|
/**
|
|
@@ -6520,7 +6601,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6520
6601
|
* @request GET:/users/{userId}
|
|
6521
6602
|
* @secure
|
|
6522
6603
|
*/
|
|
6523
|
-
getUserById: (userId: string, params?: RequestParams) => Promise<HttpResponse<User,
|
|
6604
|
+
getUserById: (userId: string, params?: RequestParams) => Promise<HttpResponse<User, {
|
|
6605
|
+
error: {
|
|
6606
|
+
/** @format int32 */
|
|
6607
|
+
code: 404;
|
|
6608
|
+
message: string;
|
|
6609
|
+
};
|
|
6610
|
+
}>>;
|
|
6524
6611
|
};
|
|
6525
6612
|
spaces: {
|
|
6526
6613
|
/**
|
|
@@ -6528,20 +6615,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6528
6615
|
*
|
|
6529
6616
|
* @tags spaces, critical
|
|
6530
6617
|
* @name GetSpaceById
|
|
6531
|
-
* @summary Get
|
|
6618
|
+
* @summary Get a space by its ID
|
|
6532
6619
|
* @request GET:/spaces/{spaceId}
|
|
6533
6620
|
* @secure
|
|
6534
6621
|
*/
|
|
6535
6622
|
getSpaceById: (spaceId: string, query?: {
|
|
6536
6623
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
6537
6624
|
shareKey?: string;
|
|
6538
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6625
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6539
6626
|
/**
|
|
6540
6627
|
* No description
|
|
6541
6628
|
*
|
|
6542
6629
|
* @tags spaces
|
|
6543
6630
|
* @name UpdateSpaceById
|
|
6544
|
-
* @summary Update
|
|
6631
|
+
* @summary Update a space
|
|
6545
6632
|
* @request PATCH:/spaces/{spaceId}
|
|
6546
6633
|
* @secure
|
|
6547
6634
|
*/
|
|
@@ -6564,43 +6651,43 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6564
6651
|
} | {
|
|
6565
6652
|
emoji?: null;
|
|
6566
6653
|
icon?: null;
|
|
6567
|
-
}), params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6654
|
+
}), params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6568
6655
|
/**
|
|
6569
|
-
*
|
|
6656
|
+
* @description Deleted spaces will be permanently removed after 7 days.
|
|
6570
6657
|
*
|
|
6571
6658
|
* @tags spaces
|
|
6572
6659
|
* @name DeleteSpaceById
|
|
6573
|
-
* @summary
|
|
6660
|
+
* @summary Delete a space
|
|
6574
6661
|
* @request DELETE:/spaces/{spaceId}
|
|
6575
6662
|
* @secure
|
|
6576
6663
|
*/
|
|
6577
|
-
deleteSpaceById: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6664
|
+
deleteSpaceById: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6578
6665
|
/**
|
|
6579
6666
|
* No description
|
|
6580
6667
|
*
|
|
6581
6668
|
* @tags spaces
|
|
6582
6669
|
* @name DuplicateSpace
|
|
6583
|
-
* @summary
|
|
6670
|
+
* @summary Duplicate a space
|
|
6584
6671
|
* @request POST:/spaces/{spaceId}/duplicate
|
|
6585
6672
|
* @secure
|
|
6586
6673
|
*/
|
|
6587
|
-
duplicateSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6674
|
+
duplicateSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6588
6675
|
/**
|
|
6589
|
-
*
|
|
6676
|
+
* @description Only spaces deleted in the last 7 days can be restored.
|
|
6590
6677
|
*
|
|
6591
6678
|
* @tags spaces
|
|
6592
6679
|
* @name RestoreSpace
|
|
6593
|
-
* @summary Restore a
|
|
6680
|
+
* @summary Restore a deleted space
|
|
6594
6681
|
* @request POST:/spaces/{spaceId}/restore
|
|
6595
6682
|
* @secure
|
|
6596
6683
|
*/
|
|
6597
|
-
restoreSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6684
|
+
restoreSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6598
6685
|
/**
|
|
6599
6686
|
* No description
|
|
6600
6687
|
*
|
|
6601
6688
|
* @tags spaces
|
|
6602
6689
|
* @name MoveSpace
|
|
6603
|
-
* @summary Move a space to a new position
|
|
6690
|
+
* @summary Move a space to a new position
|
|
6604
6691
|
* @request POST:/spaces/{spaceId}/move
|
|
6605
6692
|
* @secure
|
|
6606
6693
|
*/
|
|
@@ -6609,7 +6696,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6609
6696
|
parent?: string | null;
|
|
6610
6697
|
/** Where to move the space. By default, it will be moved at the end. */
|
|
6611
6698
|
position?: ContentPosition;
|
|
6612
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6699
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
6613
6700
|
error: {
|
|
6614
6701
|
/** @format int32 */
|
|
6615
6702
|
code: 400;
|
|
@@ -6629,18 +6716,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6629
6716
|
};
|
|
6630
6717
|
}>>;
|
|
6631
6718
|
/**
|
|
6632
|
-
*
|
|
6719
|
+
* @description Transfer a space to another organization, collection or both.
|
|
6633
6720
|
*
|
|
6634
6721
|
* @tags spaces
|
|
6635
6722
|
* @name TransferSpace
|
|
6636
|
-
* @summary Transfer a space
|
|
6723
|
+
* @summary Transfer a space
|
|
6637
6724
|
* @request POST:/spaces/{spaceId}/transfer
|
|
6638
6725
|
* @secure
|
|
6639
6726
|
*/
|
|
6640
6727
|
transferSpace: (spaceId: string, data: {
|
|
6641
6728
|
/** The unique id of the target organization */
|
|
6642
6729
|
organization: string;
|
|
6643
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6730
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
6644
6731
|
error: {
|
|
6645
6732
|
/** @format int32 */
|
|
6646
6733
|
code: 404;
|
|
@@ -6662,7 +6749,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6662
6749
|
/**
|
|
6663
6750
|
* No description
|
|
6664
6751
|
*
|
|
6665
|
-
* @tags
|
|
6752
|
+
* @tags space-embeds
|
|
6666
6753
|
* @name GetEmbedByUrlInSpace
|
|
6667
6754
|
* @summary Resolve a URL to an embed in a given space
|
|
6668
6755
|
* @request GET:/spaces/{spaceId}/embed
|
|
@@ -6671,11 +6758,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6671
6758
|
getEmbedByUrlInSpace: (spaceId: string, query: {
|
|
6672
6759
|
/** URL to resolve */
|
|
6673
6760
|
url: string;
|
|
6674
|
-
}, params?: RequestParams) => Promise<HttpResponse<Embed,
|
|
6761
|
+
}, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
|
|
6675
6762
|
/**
|
|
6676
6763
|
* No description
|
|
6677
6764
|
*
|
|
6678
|
-
* @tags
|
|
6765
|
+
* @tags space-content
|
|
6679
6766
|
* @name SearchSpaceContent
|
|
6680
6767
|
* @summary Search content in a space
|
|
6681
6768
|
* @request GET:/spaces/{spaceId}/search
|
|
@@ -6694,37 +6781,37 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6694
6781
|
limit?: number;
|
|
6695
6782
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6696
6783
|
items: SearchPageResult[];
|
|
6697
|
-
},
|
|
6784
|
+
}, any>>;
|
|
6698
6785
|
/**
|
|
6699
6786
|
* No description
|
|
6700
6787
|
*
|
|
6701
|
-
* @tags
|
|
6788
|
+
* @tags space-git
|
|
6702
6789
|
* @name ImportGitRepository
|
|
6703
6790
|
* @summary Import a Git repository
|
|
6704
6791
|
* @request POST:/spaces/{spaceId}/git/import
|
|
6705
6792
|
* @secure
|
|
6706
6793
|
*/
|
|
6707
|
-
importGitRepository: (spaceId: string, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6794
|
+
importGitRepository: (spaceId: string, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6708
6795
|
/**
|
|
6709
6796
|
* No description
|
|
6710
6797
|
*
|
|
6711
|
-
* @tags
|
|
6798
|
+
* @tags space-git
|
|
6712
6799
|
* @name ExportToGitRepository
|
|
6713
|
-
* @summary Export the
|
|
6800
|
+
* @summary Export the to a Git repository
|
|
6714
6801
|
* @request POST:/spaces/{spaceId}/git/export
|
|
6715
6802
|
* @secure
|
|
6716
6803
|
*/
|
|
6717
|
-
exportToGitRepository: (spaceId: string, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6804
|
+
exportToGitRepository: (spaceId: string, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6718
6805
|
/**
|
|
6719
|
-
*
|
|
6806
|
+
* @description Get metadata about the Git Sync provider currently set up on the space.
|
|
6720
6807
|
*
|
|
6721
|
-
* @tags
|
|
6808
|
+
* @tags space-git
|
|
6722
6809
|
* @name GetSpaceGitInfo
|
|
6723
|
-
* @summary Get
|
|
6810
|
+
* @summary Get space Git info
|
|
6724
6811
|
* @request GET:/spaces/{spaceId}/git/info
|
|
6725
6812
|
* @secure
|
|
6726
6813
|
*/
|
|
6727
|
-
getSpaceGitInfo: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<GitSyncState,
|
|
6814
|
+
getSpaceGitInfo: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<GitSyncState, {
|
|
6728
6815
|
error: {
|
|
6729
6816
|
/** @format int32 */
|
|
6730
6817
|
code: 404;
|
|
@@ -6734,13 +6821,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6734
6821
|
/**
|
|
6735
6822
|
* No description
|
|
6736
6823
|
*
|
|
6737
|
-
* @tags
|
|
6824
|
+
* @tags space-users, space-teams
|
|
6738
6825
|
* @name InviteToSpace
|
|
6739
|
-
* @summary Invite to a space
|
|
6826
|
+
* @summary Invite a user or a team to a space
|
|
6740
6827
|
* @request POST:/spaces/{spaceId}/permissions
|
|
6741
6828
|
* @secure
|
|
6742
6829
|
*/
|
|
6743
|
-
inviteToSpace: (spaceId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6830
|
+
inviteToSpace: (spaceId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6744
6831
|
error: {
|
|
6745
6832
|
/** @format int32 */
|
|
6746
6833
|
code: 404;
|
|
@@ -6750,16 +6837,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6750
6837
|
/**
|
|
6751
6838
|
* No description
|
|
6752
6839
|
*
|
|
6753
|
-
* @tags
|
|
6840
|
+
* @tags space-teams
|
|
6754
6841
|
* @name UpdateTeamPermissionInSpace
|
|
6755
|
-
* @summary Update a team
|
|
6842
|
+
* @summary Update a space team permission
|
|
6756
6843
|
* @request PATCH:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
6757
6844
|
* @secure
|
|
6758
6845
|
*/
|
|
6759
6846
|
updateTeamPermissionInSpace: (spaceId: string, teamId: string, data: {
|
|
6760
6847
|
/** The role of a member in an organization, null for guests */
|
|
6761
6848
|
role?: MemberRoleOrGuest;
|
|
6762
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6849
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6763
6850
|
error: {
|
|
6764
6851
|
/** @format int32 */
|
|
6765
6852
|
code: 404;
|
|
@@ -6769,13 +6856,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6769
6856
|
/**
|
|
6770
6857
|
* No description
|
|
6771
6858
|
*
|
|
6772
|
-
* @tags
|
|
6859
|
+
* @tags space-teams
|
|
6773
6860
|
* @name RemoveTeamFromSpace
|
|
6774
|
-
* @summary Remove a team
|
|
6861
|
+
* @summary Remove a space team
|
|
6775
6862
|
* @request DELETE:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
6776
6863
|
* @secure
|
|
6777
6864
|
*/
|
|
6778
|
-
removeTeamFromSpace: (spaceId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6865
|
+
removeTeamFromSpace: (spaceId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6779
6866
|
error: {
|
|
6780
6867
|
/** @format int32 */
|
|
6781
6868
|
code: 400;
|
|
@@ -6791,9 +6878,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6791
6878
|
/**
|
|
6792
6879
|
* No description
|
|
6793
6880
|
*
|
|
6794
|
-
* @tags
|
|
6881
|
+
* @tags space-users
|
|
6795
6882
|
* @name ListUserPermissionsInSpace
|
|
6796
|
-
* @summary List
|
|
6883
|
+
* @summary List space user permissions
|
|
6797
6884
|
* @request GET:/spaces/{spaceId}/permissions/users
|
|
6798
6885
|
* @secure
|
|
6799
6886
|
*/
|
|
@@ -6808,7 +6895,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6808
6895
|
limit?: number;
|
|
6809
6896
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6810
6897
|
items: UserContentPermission[];
|
|
6811
|
-
},
|
|
6898
|
+
}, {
|
|
6812
6899
|
error: {
|
|
6813
6900
|
/** @format int32 */
|
|
6814
6901
|
code: 404;
|
|
@@ -6818,16 +6905,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6818
6905
|
/**
|
|
6819
6906
|
* No description
|
|
6820
6907
|
*
|
|
6821
|
-
* @tags
|
|
6908
|
+
* @tags space-users
|
|
6822
6909
|
* @name UpdateUserPermissionInSpace
|
|
6823
|
-
* @summary Update
|
|
6910
|
+
* @summary Update space user permissions
|
|
6824
6911
|
* @request PATCH:/spaces/{spaceId}/permissions/users/{userId}
|
|
6825
6912
|
* @secure
|
|
6826
6913
|
*/
|
|
6827
6914
|
updateUserPermissionInSpace: (spaceId: string, userId: string, data: {
|
|
6828
6915
|
/** The role of a member in an organization, null for guests */
|
|
6829
6916
|
role?: MemberRoleOrGuest;
|
|
6830
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6917
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6831
6918
|
error: {
|
|
6832
6919
|
/** @format int32 */
|
|
6833
6920
|
code: 404;
|
|
@@ -6837,13 +6924,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6837
6924
|
/**
|
|
6838
6925
|
* No description
|
|
6839
6926
|
*
|
|
6840
|
-
* @tags
|
|
6927
|
+
* @tags space-users
|
|
6841
6928
|
* @name RemoveUserFromSpace
|
|
6842
|
-
* @summary Remove a user
|
|
6929
|
+
* @summary Remove a space user
|
|
6843
6930
|
* @request DELETE:/spaces/{spaceId}/permissions/users/{userId}
|
|
6844
6931
|
* @secure
|
|
6845
6932
|
*/
|
|
6846
|
-
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6933
|
+
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6847
6934
|
error: {
|
|
6848
6935
|
/** @format int32 */
|
|
6849
6936
|
code: 404;
|
|
@@ -6853,9 +6940,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6853
6940
|
/**
|
|
6854
6941
|
* No description
|
|
6855
6942
|
*
|
|
6856
|
-
* @tags
|
|
6943
|
+
* @tags space-teams
|
|
6857
6944
|
* @name ListTeamPermissionsInSpace
|
|
6858
|
-
* @summary List
|
|
6945
|
+
* @summary List space team persmissions
|
|
6859
6946
|
* @request GET:/spaces/{spaceId}/permissions/teams
|
|
6860
6947
|
* @secure
|
|
6861
6948
|
*/
|
|
@@ -6882,7 +6969,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6882
6969
|
permission: MemberRole;
|
|
6883
6970
|
team: OrganizationTeam;
|
|
6884
6971
|
}[];
|
|
6885
|
-
},
|
|
6972
|
+
}, {
|
|
6886
6973
|
error: {
|
|
6887
6974
|
/** @format int32 */
|
|
6888
6975
|
code: 404;
|
|
@@ -6892,9 +6979,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6892
6979
|
/**
|
|
6893
6980
|
* No description
|
|
6894
6981
|
*
|
|
6895
|
-
* @tags
|
|
6982
|
+
* @tags space-content
|
|
6896
6983
|
* @name GetCurrentRevision
|
|
6897
|
-
* @summary Get
|
|
6984
|
+
* @summary Get a space current revision
|
|
6898
6985
|
* @request GET:/spaces/{spaceId}/content
|
|
6899
6986
|
* @secure
|
|
6900
6987
|
*/
|
|
@@ -6909,23 +6996,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6909
6996
|
* @default true
|
|
6910
6997
|
*/
|
|
6911
6998
|
computed?: boolean;
|
|
6912
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
6999
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
6913
7000
|
/**
|
|
6914
7001
|
* No description
|
|
6915
7002
|
*
|
|
6916
|
-
* @tags
|
|
7003
|
+
* @tags space-content
|
|
6917
7004
|
* @name ImportContent
|
|
6918
|
-
* @summary Import content in a space
|
|
7005
|
+
* @summary Import content in a space
|
|
6919
7006
|
* @request POST:/spaces/{spaceId}/content/import
|
|
6920
7007
|
* @secure
|
|
6921
7008
|
*/
|
|
6922
|
-
importContent: (spaceId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7009
|
+
importContent: (spaceId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
6923
7010
|
/**
|
|
6924
7011
|
* No description
|
|
6925
7012
|
*
|
|
6926
|
-
* @tags
|
|
7013
|
+
* @tags space-content
|
|
6927
7014
|
* @name ListPages
|
|
6928
|
-
* @summary List all pages
|
|
7015
|
+
* @summary List all space pages
|
|
6929
7016
|
* @request GET:/spaces/{spaceId}/content/pages
|
|
6930
7017
|
* @secure
|
|
6931
7018
|
*/
|
|
@@ -6942,13 +7029,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6942
7029
|
computed?: boolean;
|
|
6943
7030
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
6944
7031
|
pages: RevisionPage[];
|
|
6945
|
-
},
|
|
7032
|
+
}, any>>;
|
|
6946
7033
|
/**
|
|
6947
7034
|
* No description
|
|
6948
7035
|
*
|
|
6949
|
-
* @tags
|
|
7036
|
+
* @tags space-content
|
|
6950
7037
|
* @name ListFiles
|
|
6951
|
-
* @summary List all files
|
|
7038
|
+
* @summary List all space files
|
|
6952
7039
|
* @request GET:/spaces/{spaceId}/content/files
|
|
6953
7040
|
* @secure
|
|
6954
7041
|
*/
|
|
@@ -6973,13 +7060,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6973
7060
|
computed?: boolean;
|
|
6974
7061
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6975
7062
|
items: RevisionFile[];
|
|
6976
|
-
},
|
|
7063
|
+
}, any>>;
|
|
6977
7064
|
/**
|
|
6978
7065
|
* No description
|
|
6979
7066
|
*
|
|
6980
|
-
* @tags
|
|
7067
|
+
* @tags space-content
|
|
6981
7068
|
* @name GetFileById
|
|
6982
|
-
* @summary Get a file by its ID
|
|
7069
|
+
* @summary Get a space file by its ID
|
|
6983
7070
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}
|
|
6984
7071
|
* @secure
|
|
6985
7072
|
*/
|
|
@@ -6994,13 +7081,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6994
7081
|
* @default true
|
|
6995
7082
|
*/
|
|
6996
7083
|
computed?: boolean;
|
|
6997
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
7084
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
6998
7085
|
/**
|
|
6999
7086
|
* No description
|
|
7000
7087
|
*
|
|
7001
|
-
* @tags
|
|
7088
|
+
* @tags space-content
|
|
7002
7089
|
* @name ListSpaceFileBacklinks
|
|
7003
|
-
* @summary
|
|
7090
|
+
* @summary List all space file backlink locations
|
|
7004
7091
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}/backlinks
|
|
7005
7092
|
* @secure
|
|
7006
7093
|
*/
|
|
@@ -7015,13 +7102,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7015
7102
|
limit?: number;
|
|
7016
7103
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7017
7104
|
items: ContentLocation[];
|
|
7018
|
-
},
|
|
7105
|
+
}, any>>;
|
|
7019
7106
|
/**
|
|
7020
7107
|
* No description
|
|
7021
7108
|
*
|
|
7022
|
-
* @tags
|
|
7109
|
+
* @tags space-content
|
|
7023
7110
|
* @name GetPageById
|
|
7024
|
-
* @summary Get a page by its ID
|
|
7111
|
+
* @summary Get a space page by its ID
|
|
7025
7112
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}
|
|
7026
7113
|
* @secure
|
|
7027
7114
|
*/
|
|
@@ -7038,13 +7125,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7038
7125
|
* @default true
|
|
7039
7126
|
*/
|
|
7040
7127
|
computed?: boolean;
|
|
7041
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
7128
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
7042
7129
|
/**
|
|
7043
7130
|
* No description
|
|
7044
7131
|
*
|
|
7045
|
-
* @tags
|
|
7132
|
+
* @tags space-content, links
|
|
7046
7133
|
* @name ListPageLinksInSpace
|
|
7047
|
-
* @summary List all
|
|
7134
|
+
* @summary List all space page links
|
|
7048
7135
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/links
|
|
7049
7136
|
* @secure
|
|
7050
7137
|
*/
|
|
@@ -7067,13 +7154,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7067
7154
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7068
7155
|
stats: ContentReferencesStats;
|
|
7069
7156
|
items: ContentReferenceUsage[];
|
|
7070
|
-
},
|
|
7157
|
+
}, any>>;
|
|
7071
7158
|
/**
|
|
7072
7159
|
* No description
|
|
7073
7160
|
*
|
|
7074
|
-
* @tags
|
|
7161
|
+
* @tags space-content
|
|
7075
7162
|
* @name ListSpacePageBacklinks
|
|
7076
|
-
* @summary
|
|
7163
|
+
* @summary List all space page backlink locations
|
|
7077
7164
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/backlinks
|
|
7078
7165
|
* @secure
|
|
7079
7166
|
*/
|
|
@@ -7088,23 +7175,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7088
7175
|
limit?: number;
|
|
7089
7176
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7090
7177
|
items: ContentLocation[];
|
|
7091
|
-
},
|
|
7178
|
+
}, any>>;
|
|
7092
7179
|
/**
|
|
7093
7180
|
* No description
|
|
7094
7181
|
*
|
|
7095
|
-
* @tags
|
|
7182
|
+
* @tags space-content
|
|
7096
7183
|
* @name ImportContentInPageById
|
|
7097
|
-
* @summary Import
|
|
7184
|
+
* @summary Import content into a space page
|
|
7098
7185
|
* @request POST:/spaces/{spaceId}/content/page/{pageId}/import
|
|
7099
7186
|
* @secure
|
|
7100
7187
|
*/
|
|
7101
|
-
importContentInPageById: (spaceId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7188
|
+
importContentInPageById: (spaceId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7102
7189
|
/**
|
|
7103
7190
|
* No description
|
|
7104
7191
|
*
|
|
7105
|
-
* @tags
|
|
7192
|
+
* @tags space-content
|
|
7106
7193
|
* @name GetPageByPath
|
|
7107
|
-
* @summary Get a page by its path
|
|
7194
|
+
* @summary Get a space page by its path
|
|
7108
7195
|
* @request GET:/spaces/{spaceId}/content/path/{pagePath}
|
|
7109
7196
|
* @secure
|
|
7110
7197
|
*/
|
|
@@ -7121,13 +7208,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7121
7208
|
* @default true
|
|
7122
7209
|
*/
|
|
7123
7210
|
computed?: boolean;
|
|
7124
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup,
|
|
7211
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
7125
7212
|
/**
|
|
7126
7213
|
* No description
|
|
7127
7214
|
*
|
|
7128
|
-
* @tags
|
|
7215
|
+
* @tags space-content
|
|
7129
7216
|
* @name GetReusableContentById
|
|
7130
|
-
* @summary Get a reusable content by its ID
|
|
7217
|
+
* @summary Get a space reusable content by its ID
|
|
7131
7218
|
* @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
|
|
7132
7219
|
* @secure
|
|
7133
7220
|
*/
|
|
@@ -7142,13 +7229,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7142
7229
|
* @default true
|
|
7143
7230
|
*/
|
|
7144
7231
|
computed?: boolean;
|
|
7145
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
7232
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
7146
7233
|
/**
|
|
7147
7234
|
* No description
|
|
7148
7235
|
*
|
|
7149
|
-
* @tags
|
|
7236
|
+
* @tags space-content
|
|
7150
7237
|
* @name GetComputedDocument
|
|
7151
|
-
* @summary
|
|
7238
|
+
* @summary Get a space computed document
|
|
7152
7239
|
* @request POST:/spaces/{spaceId}/content/computed/document
|
|
7153
7240
|
* @secure
|
|
7154
7241
|
*/
|
|
@@ -7159,13 +7246,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7159
7246
|
}, query?: {
|
|
7160
7247
|
/** Version of the schema used for the document. */
|
|
7161
7248
|
schema?: "current" | "next";
|
|
7162
|
-
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument,
|
|
7249
|
+
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
7163
7250
|
/**
|
|
7164
7251
|
* No description
|
|
7165
7252
|
*
|
|
7166
|
-
* @tags
|
|
7253
|
+
* @tags space-content
|
|
7167
7254
|
* @name GetComputedRevision
|
|
7168
|
-
* @summary Get
|
|
7255
|
+
* @summary Get a space computed revision
|
|
7169
7256
|
* @request POST:/spaces/{spaceId}/content/computed/revision
|
|
7170
7257
|
* @secure
|
|
7171
7258
|
*/
|
|
@@ -7176,36 +7263,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7176
7263
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7177
7264
|
pages: RevisionPage[];
|
|
7178
7265
|
files: RevisionFile[];
|
|
7179
|
-
},
|
|
7266
|
+
}, any>>;
|
|
7180
7267
|
/**
|
|
7181
7268
|
* No description
|
|
7182
7269
|
*
|
|
7183
|
-
* @tags
|
|
7270
|
+
* @tags space-content
|
|
7184
7271
|
* @name GetDocumentById
|
|
7185
|
-
* @summary Get a document by its ID
|
|
7272
|
+
* @summary Get a space document by its ID
|
|
7186
7273
|
* @request GET:/spaces/{spaceId}/documents/{documentId}
|
|
7187
7274
|
* @secure
|
|
7188
7275
|
*/
|
|
7189
7276
|
getDocumentById: (spaceId: string, documentId: string, query?: {
|
|
7190
7277
|
/** Version of the schema used for the document. */
|
|
7191
7278
|
schema?: "current" | "next";
|
|
7192
|
-
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument,
|
|
7279
|
+
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
7193
7280
|
/**
|
|
7194
7281
|
* No description
|
|
7195
7282
|
*
|
|
7196
7283
|
* @tags change-requests
|
|
7197
7284
|
* @name CreateChangeRequest
|
|
7198
|
-
* @summary Create a
|
|
7285
|
+
* @summary Create a change request
|
|
7199
7286
|
* @request POST:/spaces/{spaceId}/change-requests
|
|
7200
7287
|
* @secure
|
|
7201
7288
|
*/
|
|
7202
|
-
createChangeRequest: (spaceId: string, data: CreateChangeRequest, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7289
|
+
createChangeRequest: (spaceId: string, data: CreateChangeRequest, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
7203
7290
|
/**
|
|
7204
7291
|
* No description
|
|
7205
7292
|
*
|
|
7206
|
-
* @tags
|
|
7293
|
+
* @tags change-requests
|
|
7207
7294
|
* @name ListChangeRequestsForSpace
|
|
7208
|
-
* @summary List change requests
|
|
7295
|
+
* @summary List all change requests
|
|
7209
7296
|
* @request GET:/spaces/{spaceId}/change-requests
|
|
7210
7297
|
* @secure
|
|
7211
7298
|
*/
|
|
@@ -7227,17 +7314,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7227
7314
|
contributor?: string;
|
|
7228
7315
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7229
7316
|
items: ChangeRequest[];
|
|
7230
|
-
},
|
|
7317
|
+
}, any>>;
|
|
7231
7318
|
/**
|
|
7232
7319
|
* No description
|
|
7233
7320
|
*
|
|
7234
7321
|
* @tags change-requests
|
|
7235
7322
|
* @name GetChangeRequestById
|
|
7236
|
-
* @summary Get
|
|
7323
|
+
* @summary Get a change request by its ID
|
|
7237
7324
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
7238
7325
|
* @secure
|
|
7239
7326
|
*/
|
|
7240
|
-
getChangeRequestById: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7327
|
+
getChangeRequestById: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, {
|
|
7241
7328
|
error: {
|
|
7242
7329
|
/** @format int32 */
|
|
7243
7330
|
code: 404;
|
|
@@ -7249,7 +7336,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7249
7336
|
*
|
|
7250
7337
|
* @tags change-requests
|
|
7251
7338
|
* @name UpdateChangeRequestById
|
|
7252
|
-
* @summary Update
|
|
7339
|
+
* @summary Update a change request
|
|
7253
7340
|
* @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
7254
7341
|
* @secure
|
|
7255
7342
|
*/
|
|
@@ -7257,13 +7344,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7257
7344
|
/** Subject of the change request */
|
|
7258
7345
|
subject?: ChangeRequestSubject;
|
|
7259
7346
|
status?: "draft" | "open" | "archived";
|
|
7260
|
-
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7347
|
+
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
7261
7348
|
/**
|
|
7262
7349
|
* No description
|
|
7263
7350
|
*
|
|
7264
7351
|
* @tags change-requests
|
|
7265
7352
|
* @name MergeChangeRequest
|
|
7266
|
-
* @summary Merge a change request
|
|
7353
|
+
* @summary Merge a change request
|
|
7267
7354
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
|
|
7268
7355
|
* @secure
|
|
7269
7356
|
*/
|
|
@@ -7271,13 +7358,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7271
7358
|
/** ID of the resulting revision */
|
|
7272
7359
|
revision: string;
|
|
7273
7360
|
result: "merge" | "conflicts";
|
|
7274
|
-
},
|
|
7361
|
+
}, any>>;
|
|
7275
7362
|
/**
|
|
7276
7363
|
* No description
|
|
7277
7364
|
*
|
|
7278
7365
|
* @tags change-requests
|
|
7279
7366
|
* @name UpdateChangeRequest
|
|
7280
|
-
* @summary
|
|
7367
|
+
* @summary Pull primary content into the change request
|
|
7281
7368
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
|
|
7282
7369
|
* @secure
|
|
7283
7370
|
*/
|
|
@@ -7285,13 +7372,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7285
7372
|
/** ID of the resulting revision */
|
|
7286
7373
|
revision: string;
|
|
7287
7374
|
result: "update" | "conflicts";
|
|
7288
|
-
},
|
|
7375
|
+
}, any>>;
|
|
7289
7376
|
/**
|
|
7290
7377
|
* No description
|
|
7291
7378
|
*
|
|
7292
|
-
* @tags change-requests
|
|
7379
|
+
* @tags change-requests-reviews
|
|
7293
7380
|
* @name GetReviewsByChangeRequestId
|
|
7294
|
-
* @summary
|
|
7381
|
+
* @summary List all change request reviews
|
|
7295
7382
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
7296
7383
|
* @secure
|
|
7297
7384
|
*/
|
|
@@ -7308,7 +7395,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7308
7395
|
limit?: number;
|
|
7309
7396
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7310
7397
|
items: ChangeRequestReview[];
|
|
7311
|
-
},
|
|
7398
|
+
}, {
|
|
7312
7399
|
error: {
|
|
7313
7400
|
/** @format int32 */
|
|
7314
7401
|
code: 404;
|
|
@@ -7318,9 +7405,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7318
7405
|
/**
|
|
7319
7406
|
* No description
|
|
7320
7407
|
*
|
|
7321
|
-
* @tags change-requests
|
|
7408
|
+
* @tags change-requests-reviews
|
|
7322
7409
|
* @name SubmitChangeRequestReview
|
|
7323
|
-
* @summary Submit a
|
|
7410
|
+
* @summary Submit a change request review
|
|
7324
7411
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
7325
7412
|
* @secure
|
|
7326
7413
|
*/
|
|
@@ -7329,13 +7416,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7329
7416
|
status: ChangeRequestReviewStatus;
|
|
7330
7417
|
/** Optionally, provide a comment along with the review. */
|
|
7331
7418
|
comment?: Document;
|
|
7332
|
-
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview,
|
|
7419
|
+
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview, any>>;
|
|
7333
7420
|
/**
|
|
7334
7421
|
* No description
|
|
7335
7422
|
*
|
|
7336
|
-
* @tags
|
|
7423
|
+
* @tags change-request-reviewers
|
|
7337
7424
|
* @name GetRequestedReviewersByChangeRequestId
|
|
7338
|
-
* @summary Get all
|
|
7425
|
+
* @summary Get all change request reviewers
|
|
7339
7426
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
7340
7427
|
* @secure
|
|
7341
7428
|
*/
|
|
@@ -7350,13 +7437,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7350
7437
|
limit?: number;
|
|
7351
7438
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7352
7439
|
items: ChangeRequestRequestedReviewer[];
|
|
7353
|
-
},
|
|
7440
|
+
}, any>>;
|
|
7354
7441
|
/**
|
|
7355
7442
|
* No description
|
|
7356
7443
|
*
|
|
7357
|
-
* @tags
|
|
7444
|
+
* @tags change-request-reviewers
|
|
7358
7445
|
* @name RequestReviewersForChangeRequest
|
|
7359
|
-
* @summary Request
|
|
7446
|
+
* @summary Request change request reviewers
|
|
7360
7447
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
7361
7448
|
* @secure
|
|
7362
7449
|
*/
|
|
@@ -7368,13 +7455,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7368
7455
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7369
7456
|
/** The user requests that were sent. */
|
|
7370
7457
|
users?: ChangeRequestRequestedReviewer[];
|
|
7371
|
-
},
|
|
7458
|
+
}, any>>;
|
|
7372
7459
|
/**
|
|
7373
7460
|
* No description
|
|
7374
7461
|
*
|
|
7375
|
-
* @tags change-requests, links
|
|
7462
|
+
* @tags change-requests-links, links
|
|
7376
7463
|
* @name ListChangeRequestLinks
|
|
7377
|
-
* @summary
|
|
7464
|
+
* @summary List all change request links
|
|
7378
7465
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
|
|
7379
7466
|
* @secure
|
|
7380
7467
|
*/
|
|
@@ -7398,7 +7485,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7398
7485
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7399
7486
|
stats: ContentReferencesStats;
|
|
7400
7487
|
items: ContentReferenceUsage[];
|
|
7401
|
-
},
|
|
7488
|
+
}, {
|
|
7402
7489
|
error: {
|
|
7403
7490
|
/** @format int32 */
|
|
7404
7491
|
code: 404;
|
|
@@ -7408,9 +7495,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7408
7495
|
/**
|
|
7409
7496
|
* No description
|
|
7410
7497
|
*
|
|
7411
|
-
* @tags comments
|
|
7498
|
+
* @tags change-request-comments
|
|
7412
7499
|
* @name ListCommentsInChangeRequest
|
|
7413
|
-
* @summary List all
|
|
7500
|
+
* @summary List all change request comments
|
|
7414
7501
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
7415
7502
|
* @secure
|
|
7416
7503
|
*/
|
|
@@ -7439,56 +7526,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7439
7526
|
targetPage?: string;
|
|
7440
7527
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7441
7528
|
items: Comment[];
|
|
7442
|
-
},
|
|
7529
|
+
}, any>>;
|
|
7443
7530
|
/**
|
|
7444
7531
|
* No description
|
|
7445
7532
|
*
|
|
7446
|
-
* @tags comments
|
|
7533
|
+
* @tags change-request-comments
|
|
7447
7534
|
* @name PostCommentInChangeRequest
|
|
7448
|
-
* @summary
|
|
7535
|
+
* @summary Create a change request comment
|
|
7449
7536
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
7450
7537
|
* @secure
|
|
7451
7538
|
*/
|
|
7452
|
-
postCommentInChangeRequest: (spaceId: string, changeRequestId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7539
|
+
postCommentInChangeRequest: (spaceId: string, changeRequestId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7453
7540
|
/**
|
|
7454
7541
|
* No description
|
|
7455
7542
|
*
|
|
7456
|
-
* @tags comments
|
|
7543
|
+
* @tags change-request-comments
|
|
7457
7544
|
* @name GetCommentInChangeRequest
|
|
7458
|
-
* @summary Get a
|
|
7545
|
+
* @summary Get a change request comment
|
|
7459
7546
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7460
7547
|
* @secure
|
|
7461
7548
|
*/
|
|
7462
7549
|
getCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, query?: {
|
|
7463
7550
|
/** Output format for the content. */
|
|
7464
7551
|
format?: "document" | "markdown";
|
|
7465
|
-
}, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7552
|
+
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7466
7553
|
/**
|
|
7467
7554
|
* No description
|
|
7468
7555
|
*
|
|
7469
|
-
* @tags comments
|
|
7556
|
+
* @tags change-request-comments
|
|
7470
7557
|
* @name DeleteCommentInChangeRequest
|
|
7471
|
-
* @summary Delete a
|
|
7558
|
+
* @summary Delete a change request comment
|
|
7472
7559
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7473
7560
|
* @secure
|
|
7474
7561
|
*/
|
|
7475
|
-
deleteCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7562
|
+
deleteCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7476
7563
|
/**
|
|
7477
7564
|
* No description
|
|
7478
7565
|
*
|
|
7479
|
-
* @tags comments
|
|
7566
|
+
* @tags change-request-comments
|
|
7480
7567
|
* @name UpdateCommentInChangeRequest
|
|
7481
|
-
* @summary Update a
|
|
7568
|
+
* @summary Update a change request comment
|
|
7482
7569
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7483
7570
|
* @secure
|
|
7484
7571
|
*/
|
|
7485
|
-
updateCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7572
|
+
updateCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7486
7573
|
/**
|
|
7487
7574
|
* No description
|
|
7488
7575
|
*
|
|
7489
|
-
* @tags comments
|
|
7576
|
+
* @tags change-request-comments
|
|
7490
7577
|
* @name ListCommentRepliesInChangeRequest
|
|
7491
|
-
* @summary List all
|
|
7578
|
+
* @summary List all change request comment replies
|
|
7492
7579
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
7493
7580
|
* @secure
|
|
7494
7581
|
*/
|
|
@@ -7505,65 +7592,65 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7505
7592
|
format?: "document" | "markdown";
|
|
7506
7593
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7507
7594
|
items: CommentReply[];
|
|
7508
|
-
},
|
|
7595
|
+
}, any>>;
|
|
7509
7596
|
/**
|
|
7510
7597
|
* No description
|
|
7511
7598
|
*
|
|
7512
|
-
* @tags comments
|
|
7599
|
+
* @tags change-request-comments
|
|
7513
7600
|
* @name PostCommentReplyInChangeRequest
|
|
7514
|
-
* @summary
|
|
7601
|
+
* @summary Create a change request comment reply
|
|
7515
7602
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
7516
7603
|
* @secure
|
|
7517
7604
|
*/
|
|
7518
7605
|
postCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: PostCommentReplySchema, query?: {
|
|
7519
7606
|
/** Output format for the content. */
|
|
7520
7607
|
format?: "document" | "markdown";
|
|
7521
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7608
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7522
7609
|
/**
|
|
7523
7610
|
* No description
|
|
7524
7611
|
*
|
|
7525
|
-
* @tags comments
|
|
7612
|
+
* @tags change-request-comments
|
|
7526
7613
|
* @name GetCommentReplyInChangeRequest
|
|
7527
|
-
* @summary Get a comment reply
|
|
7614
|
+
* @summary Get a change request comment reply
|
|
7528
7615
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7529
7616
|
* @secure
|
|
7530
7617
|
*/
|
|
7531
7618
|
getCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, query?: {
|
|
7532
7619
|
/** Output format for the content. */
|
|
7533
7620
|
format?: "document" | "markdown";
|
|
7534
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7621
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7535
7622
|
/**
|
|
7536
7623
|
* No description
|
|
7537
7624
|
*
|
|
7538
|
-
* @tags comments
|
|
7625
|
+
* @tags change-request-comments
|
|
7539
7626
|
* @name UpdateCommentReplyInChangeRequest
|
|
7540
|
-
* @summary Update a comment reply
|
|
7627
|
+
* @summary Update a change request comment reply
|
|
7541
7628
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7542
7629
|
* @secure
|
|
7543
7630
|
*/
|
|
7544
|
-
updateCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7631
|
+
updateCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7545
7632
|
/**
|
|
7546
7633
|
* No description
|
|
7547
7634
|
*
|
|
7548
|
-
* @tags comments
|
|
7635
|
+
* @tags change-request-comments
|
|
7549
7636
|
* @name DeleteCommentReplyInChangeRequest
|
|
7550
|
-
* @summary Delete a comment reply
|
|
7637
|
+
* @summary Delete a change request comment reply
|
|
7551
7638
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7552
7639
|
* @secure
|
|
7553
7640
|
*/
|
|
7554
|
-
deleteCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7641
|
+
deleteCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7555
7642
|
/**
|
|
7556
7643
|
* No description
|
|
7557
7644
|
*
|
|
7558
|
-
* @tags change-
|
|
7645
|
+
* @tags change-request-contributors
|
|
7559
7646
|
* @name GetContributorsByChangeRequestId
|
|
7560
|
-
* @summary Get all
|
|
7647
|
+
* @summary Get all contribors of a change request
|
|
7561
7648
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
|
|
7562
7649
|
* @secure
|
|
7563
7650
|
*/
|
|
7564
7651
|
getContributorsByChangeRequestId: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7565
7652
|
items: UserContributor[];
|
|
7566
|
-
},
|
|
7653
|
+
}, {
|
|
7567
7654
|
error: {
|
|
7568
7655
|
/** @format int32 */
|
|
7569
7656
|
code: 404;
|
|
@@ -7573,9 +7660,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7573
7660
|
/**
|
|
7574
7661
|
* No description
|
|
7575
7662
|
*
|
|
7576
|
-
* @tags change-
|
|
7663
|
+
* @tags change-request-content
|
|
7577
7664
|
* @name GetRevisionOfChangeRequestById
|
|
7578
|
-
* @summary Get the latest content revision
|
|
7665
|
+
* @summary Get a change request the latest content revision
|
|
7579
7666
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
|
|
7580
7667
|
* @secure
|
|
7581
7668
|
*/
|
|
@@ -7590,23 +7677,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7590
7677
|
* @default true
|
|
7591
7678
|
*/
|
|
7592
7679
|
computed?: boolean;
|
|
7593
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
7680
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
7594
7681
|
/**
|
|
7595
7682
|
* No description
|
|
7596
7683
|
*
|
|
7597
|
-
* @tags change-
|
|
7684
|
+
* @tags change-request-content
|
|
7598
7685
|
* @name ImportContentInChangeRequest
|
|
7599
|
-
* @summary Import content in a change request
|
|
7686
|
+
* @summary Import content in a change request
|
|
7600
7687
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/import
|
|
7601
7688
|
* @secure
|
|
7602
7689
|
*/
|
|
7603
|
-
importContentInChangeRequest: (spaceId: string, changeRequestId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7690
|
+
importContentInChangeRequest: (spaceId: string, changeRequestId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7604
7691
|
/**
|
|
7605
7692
|
* No description
|
|
7606
7693
|
*
|
|
7607
|
-
* @tags change-
|
|
7694
|
+
* @tags change-request-content
|
|
7608
7695
|
* @name ListPagesInChangeRequest
|
|
7609
|
-
* @summary List all
|
|
7696
|
+
* @summary List all change request pages
|
|
7610
7697
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
|
|
7611
7698
|
* @secure
|
|
7612
7699
|
*/
|
|
@@ -7623,13 +7710,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7623
7710
|
computed?: boolean;
|
|
7624
7711
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7625
7712
|
pages: RevisionPage[];
|
|
7626
|
-
},
|
|
7713
|
+
}, any>>;
|
|
7627
7714
|
/**
|
|
7628
7715
|
* No description
|
|
7629
7716
|
*
|
|
7630
|
-
* @tags change-
|
|
7717
|
+
* @tags change-request-content
|
|
7631
7718
|
* @name ListFilesInChangeRequestById
|
|
7632
|
-
* @summary List all
|
|
7719
|
+
* @summary List all change request files
|
|
7633
7720
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
|
|
7634
7721
|
* @secure
|
|
7635
7722
|
*/
|
|
@@ -7654,13 +7741,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7654
7741
|
computed?: boolean;
|
|
7655
7742
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7656
7743
|
items: RevisionFile[];
|
|
7657
|
-
},
|
|
7744
|
+
}, any>>;
|
|
7658
7745
|
/**
|
|
7659
7746
|
* No description
|
|
7660
7747
|
*
|
|
7661
|
-
* @tags change-
|
|
7748
|
+
* @tags change-request-content
|
|
7662
7749
|
* @name GetFileInChangeRequestById
|
|
7663
|
-
* @summary Get a file by its ID
|
|
7750
|
+
* @summary Get a change request file by its ID
|
|
7664
7751
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
|
|
7665
7752
|
* @secure
|
|
7666
7753
|
*/
|
|
@@ -7675,13 +7762,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7675
7762
|
* @default true
|
|
7676
7763
|
*/
|
|
7677
7764
|
computed?: boolean;
|
|
7678
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
7765
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
7679
7766
|
/**
|
|
7680
7767
|
* No description
|
|
7681
7768
|
*
|
|
7682
|
-
* @tags change-
|
|
7769
|
+
* @tags change-request-content
|
|
7683
7770
|
* @name ListChangeRequestFileBacklinks
|
|
7684
|
-
* @summary
|
|
7771
|
+
* @summary List all backlink locations of a change request file
|
|
7685
7772
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
|
|
7686
7773
|
* @secure
|
|
7687
7774
|
*/
|
|
@@ -7696,13 +7783,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7696
7783
|
limit?: number;
|
|
7697
7784
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7698
7785
|
items: ContentLocation[];
|
|
7699
|
-
},
|
|
7786
|
+
}, any>>;
|
|
7700
7787
|
/**
|
|
7701
7788
|
* No description
|
|
7702
7789
|
*
|
|
7703
|
-
* @tags change-
|
|
7790
|
+
* @tags change-request-content
|
|
7704
7791
|
* @name GetPageInChangeRequestById
|
|
7705
|
-
* @summary Get a page by its ID
|
|
7792
|
+
* @summary Get a change request page by its ID
|
|
7706
7793
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
|
|
7707
7794
|
* @secure
|
|
7708
7795
|
*/
|
|
@@ -7719,13 +7806,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7719
7806
|
* @default true
|
|
7720
7807
|
*/
|
|
7721
7808
|
computed?: boolean;
|
|
7722
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
7809
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
7723
7810
|
/**
|
|
7724
7811
|
* No description
|
|
7725
7812
|
*
|
|
7726
|
-
* @tags change-
|
|
7813
|
+
* @tags change-request-content
|
|
7727
7814
|
* @name ListPageLinksInChangeRequest
|
|
7728
|
-
* @summary List all
|
|
7815
|
+
* @summary List all change request links
|
|
7729
7816
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
|
|
7730
7817
|
* @secure
|
|
7731
7818
|
*/
|
|
@@ -7741,13 +7828,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7741
7828
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7742
7829
|
stats: ContentReferencesStats;
|
|
7743
7830
|
items: ContentReferenceUsage[];
|
|
7744
|
-
},
|
|
7831
|
+
}, any>>;
|
|
7745
7832
|
/**
|
|
7746
7833
|
* No description
|
|
7747
7834
|
*
|
|
7748
|
-
* @tags change-
|
|
7835
|
+
* @tags change-request-content
|
|
7749
7836
|
* @name ListChangeRequestPageBacklinks
|
|
7750
|
-
* @summary
|
|
7837
|
+
* @summary List all backlink locations of a change request page
|
|
7751
7838
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
|
|
7752
7839
|
* @secure
|
|
7753
7840
|
*/
|
|
@@ -7762,23 +7849,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7762
7849
|
limit?: number;
|
|
7763
7850
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7764
7851
|
items: ContentLocation[];
|
|
7765
|
-
},
|
|
7852
|
+
}, any>>;
|
|
7766
7853
|
/**
|
|
7767
7854
|
* No description
|
|
7768
7855
|
*
|
|
7769
|
-
* @tags change-
|
|
7856
|
+
* @tags change-request-content
|
|
7770
7857
|
* @name ImportContentInChangeRequestPageById
|
|
7771
|
-
* @summary Import
|
|
7858
|
+
* @summary Import content into a change request page
|
|
7772
7859
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import
|
|
7773
7860
|
* @secure
|
|
7774
7861
|
*/
|
|
7775
|
-
importContentInChangeRequestPageById: (spaceId: string, changeRequestId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7862
|
+
importContentInChangeRequestPageById: (spaceId: string, changeRequestId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7776
7863
|
/**
|
|
7777
7864
|
* No description
|
|
7778
7865
|
*
|
|
7779
|
-
* @tags change-
|
|
7866
|
+
* @tags change-request-content
|
|
7780
7867
|
* @name GetPageInChangeRequestByPath
|
|
7781
|
-
* @summary Get a page by its path
|
|
7868
|
+
* @summary Get a change request page by its path
|
|
7782
7869
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
|
|
7783
7870
|
* @secure
|
|
7784
7871
|
*/
|
|
@@ -7795,13 +7882,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7795
7882
|
* @default true
|
|
7796
7883
|
*/
|
|
7797
7884
|
computed?: boolean;
|
|
7798
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup,
|
|
7885
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
7799
7886
|
/**
|
|
7800
7887
|
* No description
|
|
7801
7888
|
*
|
|
7802
|
-
* @tags change-
|
|
7889
|
+
* @tags change-request-content
|
|
7803
7890
|
* @name GetReusableContentInChangeRequestById
|
|
7804
|
-
* @summary Get a reusable content by its ID
|
|
7891
|
+
* @summary Get a change request reusable content by its ID
|
|
7805
7892
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
|
|
7806
7893
|
* @secure
|
|
7807
7894
|
*/
|
|
@@ -7816,13 +7903,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7816
7903
|
* @default true
|
|
7817
7904
|
*/
|
|
7818
7905
|
computed?: boolean;
|
|
7819
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
7906
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
7820
7907
|
/**
|
|
7821
7908
|
* No description
|
|
7822
7909
|
*
|
|
7823
7910
|
* @tags change-requests
|
|
7824
7911
|
* @name GetChangeRequestPdf
|
|
7825
|
-
* @summary
|
|
7912
|
+
* @summary Get a URL of the content of a change request as PDF
|
|
7826
7913
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
|
|
7827
7914
|
* @secure
|
|
7828
7915
|
*/
|
|
@@ -7834,39 +7921,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7834
7921
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7835
7922
|
/** Temporary URL to print the content. The URL will work for 1h. */
|
|
7836
7923
|
url: URL;
|
|
7837
|
-
},
|
|
7838
|
-
/**
|
|
7839
|
-
* No description
|
|
7840
|
-
*
|
|
7841
|
-
* @tags change-requests
|
|
7842
|
-
* @name StreamBrainstormChangeRequest
|
|
7843
|
-
* @summary Brainstorm with AI on a change request and stream the results as a Server-Sent Events.
|
|
7844
|
-
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/brainstorm
|
|
7845
|
-
* @secure
|
|
7846
|
-
*/
|
|
7847
|
-
streamBrainstormChangeRequest: (spaceId: string, changeRequestId: string, data: {
|
|
7848
|
-
/** Brainstorming session */
|
|
7849
|
-
session: ChangeRequestBrainstormSession;
|
|
7850
|
-
}, params?: RequestParams) => EventIterator<ChangeRequestBrainstormSession>;
|
|
7851
|
-
/**
|
|
7852
|
-
* No description
|
|
7853
|
-
*
|
|
7854
|
-
* @tags change-requests
|
|
7855
|
-
* @name StreamImplementChangeRequestTask
|
|
7856
|
-
* @summary Implement a task on a change request and stream the results as a Server-Sent Events.
|
|
7857
|
-
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/implement
|
|
7858
|
-
* @secure
|
|
7859
|
-
*/
|
|
7860
|
-
streamImplementChangeRequestTask: (spaceId: string, changeRequestId: string, data: {
|
|
7861
|
-
/** Plan to run. */
|
|
7862
|
-
plan: ChangeRequestBrainstormPlan;
|
|
7863
|
-
}, params?: RequestParams) => EventIterator<ChangeRequestBrainstormPlan>;
|
|
7924
|
+
}, any>>;
|
|
7864
7925
|
/**
|
|
7865
7926
|
* No description
|
|
7866
7927
|
*
|
|
7867
|
-
* @tags
|
|
7928
|
+
* @tags space-content
|
|
7868
7929
|
* @name GetRevisionById
|
|
7869
|
-
* @summary Get a
|
|
7930
|
+
* @summary Get a space revision
|
|
7870
7931
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}
|
|
7871
7932
|
* @secure
|
|
7872
7933
|
*/
|
|
@@ -7881,13 +7942,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7881
7942
|
* @default true
|
|
7882
7943
|
*/
|
|
7883
7944
|
computed?: boolean;
|
|
7884
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
7945
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
7885
7946
|
/**
|
|
7886
|
-
*
|
|
7947
|
+
* @description Return the semantic changes between a revision and its parent.
|
|
7887
7948
|
*
|
|
7888
|
-
* @tags
|
|
7949
|
+
* @tags space-content
|
|
7889
7950
|
* @name GetRevisionSemanticChanges
|
|
7890
|
-
* @summary
|
|
7951
|
+
* @summary Get space revision semantic changes
|
|
7891
7952
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
|
|
7892
7953
|
* @secure
|
|
7893
7954
|
*/
|
|
@@ -7907,13 +7968,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7907
7968
|
* @default 10
|
|
7908
7969
|
*/
|
|
7909
7970
|
limit?: number;
|
|
7910
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionSemanticChanges,
|
|
7971
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionSemanticChanges, any>>;
|
|
7911
7972
|
/**
|
|
7912
7973
|
* No description
|
|
7913
7974
|
*
|
|
7914
|
-
* @tags
|
|
7975
|
+
* @tags space-content
|
|
7915
7976
|
* @name ListPagesInRevisionById
|
|
7916
|
-
* @summary List all pages in a revision
|
|
7977
|
+
* @summary List all pages in a space revision
|
|
7917
7978
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
|
|
7918
7979
|
* @secure
|
|
7919
7980
|
*/
|
|
@@ -7930,13 +7991,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7930
7991
|
computed?: boolean;
|
|
7931
7992
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7932
7993
|
pages: RevisionPage[];
|
|
7933
|
-
},
|
|
7994
|
+
}, any>>;
|
|
7934
7995
|
/**
|
|
7935
7996
|
* No description
|
|
7936
7997
|
*
|
|
7937
|
-
* @tags
|
|
7998
|
+
* @tags space-content
|
|
7938
7999
|
* @name ListFilesInRevisionById
|
|
7939
|
-
* @summary List all
|
|
8000
|
+
* @summary List all space revision files
|
|
7940
8001
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
|
|
7941
8002
|
* @secure
|
|
7942
8003
|
*/
|
|
@@ -7961,13 +8022,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7961
8022
|
computed?: boolean;
|
|
7962
8023
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7963
8024
|
items: RevisionFile[];
|
|
7964
|
-
},
|
|
8025
|
+
}, any>>;
|
|
7965
8026
|
/**
|
|
7966
8027
|
* No description
|
|
7967
8028
|
*
|
|
7968
|
-
* @tags
|
|
8029
|
+
* @tags space-content
|
|
7969
8030
|
* @name GetFileInRevisionById
|
|
7970
|
-
* @summary Get a
|
|
8031
|
+
* @summary Get a space revision file by its ID
|
|
7971
8032
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
|
|
7972
8033
|
* @secure
|
|
7973
8034
|
*/
|
|
@@ -7982,13 +8043,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7982
8043
|
* @default true
|
|
7983
8044
|
*/
|
|
7984
8045
|
computed?: boolean;
|
|
7985
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
8046
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
7986
8047
|
/**
|
|
7987
8048
|
* No description
|
|
7988
8049
|
*
|
|
7989
|
-
* @tags
|
|
8050
|
+
* @tags space-content
|
|
7990
8051
|
* @name GetPageInRevisionById
|
|
7991
|
-
* @summary Get a page by its ID
|
|
8052
|
+
* @summary Get a space revision page by its ID
|
|
7992
8053
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
|
|
7993
8054
|
* @secure
|
|
7994
8055
|
*/
|
|
@@ -8005,13 +8066,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8005
8066
|
* @default true
|
|
8006
8067
|
*/
|
|
8007
8068
|
computed?: boolean;
|
|
8008
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
8069
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
8009
8070
|
/**
|
|
8010
8071
|
* No description
|
|
8011
8072
|
*
|
|
8012
|
-
* @tags
|
|
8073
|
+
* @tags space-content
|
|
8013
8074
|
* @name GetPageInRevisionByPath
|
|
8014
|
-
* @summary Get a page by its path
|
|
8075
|
+
* @summary Get a space revision page by its path
|
|
8015
8076
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
|
|
8016
8077
|
* @secure
|
|
8017
8078
|
*/
|
|
@@ -8028,13 +8089,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8028
8089
|
* @default true
|
|
8029
8090
|
*/
|
|
8030
8091
|
computed?: boolean;
|
|
8031
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup,
|
|
8092
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
8032
8093
|
/**
|
|
8033
8094
|
* No description
|
|
8034
8095
|
*
|
|
8035
|
-
* @tags
|
|
8096
|
+
* @tags space-content
|
|
8036
8097
|
* @name GetReusableContentInRevisionById
|
|
8037
|
-
* @summary Get
|
|
8098
|
+
* @summary Get a space revision reusable content by its ID
|
|
8038
8099
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
|
|
8039
8100
|
* @secure
|
|
8040
8101
|
*/
|
|
@@ -8049,13 +8110,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8049
8110
|
* @default true
|
|
8050
8111
|
*/
|
|
8051
8112
|
computed?: boolean;
|
|
8052
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
8113
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
8053
8114
|
/**
|
|
8054
8115
|
* No description
|
|
8055
8116
|
*
|
|
8056
|
-
* @tags comments
|
|
8117
|
+
* @tags space-comments
|
|
8057
8118
|
* @name ListCommentsInSpace
|
|
8058
|
-
* @summary List all
|
|
8119
|
+
* @summary List all space comments
|
|
8059
8120
|
* @request GET:/spaces/{spaceId}/comments
|
|
8060
8121
|
* @secure
|
|
8061
8122
|
*/
|
|
@@ -8084,56 +8145,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8084
8145
|
targetPage?: string;
|
|
8085
8146
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8086
8147
|
items: Comment[];
|
|
8087
|
-
},
|
|
8148
|
+
}, any>>;
|
|
8088
8149
|
/**
|
|
8089
8150
|
* No description
|
|
8090
8151
|
*
|
|
8091
|
-
* @tags comments
|
|
8152
|
+
* @tags space-comments
|
|
8092
8153
|
* @name PostCommentInSpace
|
|
8093
|
-
* @summary
|
|
8154
|
+
* @summary Create a space comment
|
|
8094
8155
|
* @request POST:/spaces/{spaceId}/comments
|
|
8095
8156
|
* @secure
|
|
8096
8157
|
*/
|
|
8097
|
-
postCommentInSpace: (spaceId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8158
|
+
postCommentInSpace: (spaceId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8098
8159
|
/**
|
|
8099
8160
|
* No description
|
|
8100
8161
|
*
|
|
8101
|
-
* @tags comments
|
|
8162
|
+
* @tags space-comments
|
|
8102
8163
|
* @name GetCommentInSpace
|
|
8103
|
-
* @summary Get a comment
|
|
8164
|
+
* @summary Get a space comment
|
|
8104
8165
|
* @request GET:/spaces/{spaceId}/comments/{commentId}
|
|
8105
8166
|
* @secure
|
|
8106
8167
|
*/
|
|
8107
8168
|
getCommentInSpace: (spaceId: string, commentId: string, query?: {
|
|
8108
8169
|
/** Output format for the content. */
|
|
8109
8170
|
format?: "document" | "markdown";
|
|
8110
|
-
}, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8171
|
+
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8111
8172
|
/**
|
|
8112
8173
|
* No description
|
|
8113
8174
|
*
|
|
8114
|
-
* @tags comments
|
|
8175
|
+
* @tags space-comments
|
|
8115
8176
|
* @name DeleteCommentInSpace
|
|
8116
|
-
* @summary Delete a comment
|
|
8177
|
+
* @summary Delete a space comment
|
|
8117
8178
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}
|
|
8118
8179
|
* @secure
|
|
8119
8180
|
*/
|
|
8120
|
-
deleteCommentInSpace: (spaceId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8181
|
+
deleteCommentInSpace: (spaceId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8121
8182
|
/**
|
|
8122
8183
|
* No description
|
|
8123
8184
|
*
|
|
8124
|
-
* @tags
|
|
8185
|
+
* @tags space-comments
|
|
8125
8186
|
* @name UpdateCommentInSpace
|
|
8126
|
-
* @summary Update a comment
|
|
8187
|
+
* @summary Update a space comment
|
|
8127
8188
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}
|
|
8128
8189
|
* @secure
|
|
8129
8190
|
*/
|
|
8130
|
-
updateCommentInSpace: (spaceId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8191
|
+
updateCommentInSpace: (spaceId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8131
8192
|
/**
|
|
8132
8193
|
* No description
|
|
8133
8194
|
*
|
|
8134
|
-
* @tags
|
|
8195
|
+
* @tags space-comment
|
|
8135
8196
|
* @name ListCommentRepliesInSpace
|
|
8136
|
-
* @summary List all
|
|
8197
|
+
* @summary List all space comment replies
|
|
8137
8198
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies
|
|
8138
8199
|
* @secure
|
|
8139
8200
|
*/
|
|
@@ -8150,56 +8211,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8150
8211
|
format?: "document" | "markdown";
|
|
8151
8212
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8152
8213
|
items: CommentReply[];
|
|
8153
|
-
},
|
|
8214
|
+
}, any>>;
|
|
8154
8215
|
/**
|
|
8155
8216
|
* No description
|
|
8156
8217
|
*
|
|
8157
|
-
* @tags comments
|
|
8218
|
+
* @tags space-comments
|
|
8158
8219
|
* @name PostCommentReplyInSpace
|
|
8159
|
-
* @summary
|
|
8220
|
+
* @summary Create a space comment reply
|
|
8160
8221
|
* @request POST:/spaces/{spaceId}/comments/{commentId}/replies
|
|
8161
8222
|
* @secure
|
|
8162
8223
|
*/
|
|
8163
|
-
postCommentReplyInSpace: (spaceId: string, commentId: string, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8224
|
+
postCommentReplyInSpace: (spaceId: string, commentId: string, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8164
8225
|
/**
|
|
8165
8226
|
* No description
|
|
8166
8227
|
*
|
|
8167
|
-
* @tags comments
|
|
8228
|
+
* @tags space-comments
|
|
8168
8229
|
* @name GetCommentReplyInSpace
|
|
8169
|
-
* @summary Get a comment reply
|
|
8230
|
+
* @summary Get a space comment reply
|
|
8170
8231
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8171
8232
|
* @secure
|
|
8172
8233
|
*/
|
|
8173
8234
|
getCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, query?: {
|
|
8174
8235
|
/** Output format for the content. */
|
|
8175
8236
|
format?: "document" | "markdown";
|
|
8176
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8237
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8177
8238
|
/**
|
|
8178
8239
|
* No description
|
|
8179
8240
|
*
|
|
8180
|
-
* @tags comments
|
|
8241
|
+
* @tags space-comments
|
|
8181
8242
|
* @name UpdateCommentReplyInSpace
|
|
8182
|
-
* @summary Update a comment reply
|
|
8243
|
+
* @summary Update a space comment reply
|
|
8183
8244
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8184
8245
|
* @secure
|
|
8185
8246
|
*/
|
|
8186
|
-
updateCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8247
|
+
updateCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8187
8248
|
/**
|
|
8188
8249
|
* No description
|
|
8189
8250
|
*
|
|
8190
|
-
* @tags comments
|
|
8251
|
+
* @tags space-comments
|
|
8191
8252
|
* @name DeleteCommentReplyInSpace
|
|
8192
|
-
* @summary Delete a comment reply
|
|
8253
|
+
* @summary Delete a space comment reply
|
|
8193
8254
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8194
8255
|
* @secure
|
|
8195
8256
|
*/
|
|
8196
|
-
deleteCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8257
|
+
deleteCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8197
8258
|
/**
|
|
8198
8259
|
* No description
|
|
8199
8260
|
*
|
|
8200
|
-
* @tags
|
|
8261
|
+
* @tags space-users
|
|
8201
8262
|
* @name ListPermissionsAggregateInSpace
|
|
8202
|
-
* @summary List
|
|
8263
|
+
* @summary List all space users permissions
|
|
8203
8264
|
* @request GET:/spaces/{spaceId}/permissions/aggregate
|
|
8204
8265
|
* @secure
|
|
8205
8266
|
*/
|
|
@@ -8216,13 +8277,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8216
8277
|
role?: MemberRole;
|
|
8217
8278
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8218
8279
|
items: UserContentPermission[];
|
|
8219
|
-
},
|
|
8280
|
+
}, any>>;
|
|
8220
8281
|
/**
|
|
8221
8282
|
* No description
|
|
8222
8283
|
*
|
|
8223
|
-
* @tags integrations
|
|
8284
|
+
* @tags space-integrations
|
|
8224
8285
|
* @name ListSpaceIntegrations
|
|
8225
|
-
* @summary List integrations enabled in a space
|
|
8286
|
+
* @summary List integrations enabled in a space
|
|
8226
8287
|
* @request GET:/spaces/{spaceId}/integrations
|
|
8227
8288
|
* @secure
|
|
8228
8289
|
*/
|
|
@@ -8231,17 +8292,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8231
8292
|
search?: string;
|
|
8232
8293
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8233
8294
|
items: Integration[];
|
|
8234
|
-
},
|
|
8295
|
+
}, any>>;
|
|
8235
8296
|
/**
|
|
8236
8297
|
* No description
|
|
8237
8298
|
*
|
|
8238
|
-
* @tags integrations
|
|
8299
|
+
* @tags space-integrations
|
|
8239
8300
|
* @name ListSpaceIntegrationsBlocks
|
|
8240
|
-
* @summary List integrations blocks
|
|
8301
|
+
* @summary List all space integrations blocks
|
|
8241
8302
|
* @request GET:/spaces/{spaceId}/integration-blocks
|
|
8242
8303
|
* @secure
|
|
8243
8304
|
*/
|
|
8244
|
-
listSpaceIntegrationsBlocks: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks,
|
|
8305
|
+
listSpaceIntegrationsBlocks: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks, {
|
|
8245
8306
|
error: {
|
|
8246
8307
|
/** @format int32 */
|
|
8247
8308
|
code: 404;
|
|
@@ -8251,13 +8312,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8251
8312
|
/**
|
|
8252
8313
|
* No description
|
|
8253
8314
|
*
|
|
8254
|
-
* @tags
|
|
8315
|
+
* @tags space-integrations
|
|
8255
8316
|
* @name ListSpaceIntegrationScripts
|
|
8256
|
-
* @summary List the scripts to embed in published content for a space
|
|
8317
|
+
* @summary List all the scripts to embed in published content for a space
|
|
8257
8318
|
* @request GET:/spaces/{spaceId}/integration-scripts
|
|
8258
8319
|
* @secure
|
|
8259
8320
|
*/
|
|
8260
|
-
listSpaceIntegrationScripts: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationScript[],
|
|
8321
|
+
listSpaceIntegrationScripts: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationScript[], {
|
|
8261
8322
|
error: {
|
|
8262
8323
|
/** @format int32 */
|
|
8263
8324
|
code: 400;
|
|
@@ -8267,29 +8328,29 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8267
8328
|
/**
|
|
8268
8329
|
* No description
|
|
8269
8330
|
*
|
|
8270
|
-
* @tags
|
|
8331
|
+
* @tags custom-fields
|
|
8271
8332
|
* @name GetSpaceCustomFields
|
|
8272
|
-
* @summary Get
|
|
8333
|
+
* @summary Get a space custom fields
|
|
8273
8334
|
* @request GET:/spaces/{spaceId}/custom-fields
|
|
8274
8335
|
* @secure
|
|
8275
8336
|
*/
|
|
8276
|
-
getSpaceCustomFields: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<CustomFieldValues,
|
|
8337
|
+
getSpaceCustomFields: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<CustomFieldValues, any>>;
|
|
8277
8338
|
/**
|
|
8278
8339
|
* No description
|
|
8279
8340
|
*
|
|
8280
|
-
* @tags
|
|
8341
|
+
* @tags custom-fields
|
|
8281
8342
|
* @name UpdateSpaceCustomFields
|
|
8282
|
-
* @summary Update
|
|
8343
|
+
* @summary Update a space custom fields
|
|
8283
8344
|
* @request PATCH:/spaces/{spaceId}/custom-fields
|
|
8284
8345
|
* @secure
|
|
8285
8346
|
*/
|
|
8286
|
-
updateSpaceCustomFields: (spaceId: string, data: UpdateCustomFieldValues, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8347
|
+
updateSpaceCustomFields: (spaceId: string, data: UpdateCustomFieldValues, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8287
8348
|
/**
|
|
8288
8349
|
* No description
|
|
8289
8350
|
*
|
|
8290
|
-
* @tags
|
|
8351
|
+
* @tags space-content
|
|
8291
8352
|
* @name GetSpacePdf
|
|
8292
|
-
* @summary
|
|
8353
|
+
* @summary Get a URL of the content of a space as PDF
|
|
8293
8354
|
* @request GET:/spaces/{spaceId}/pdf
|
|
8294
8355
|
* @secure
|
|
8295
8356
|
*/
|
|
@@ -8301,7 +8362,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8301
8362
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
8302
8363
|
/** Temporary URL to print the content. The URL will work for 1h. */
|
|
8303
8364
|
url: URL;
|
|
8304
|
-
},
|
|
8365
|
+
}, any>>;
|
|
8305
8366
|
/**
|
|
8306
8367
|
* No description
|
|
8307
8368
|
*
|
|
@@ -8330,7 +8391,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8330
8391
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8331
8392
|
stats: ContentReferencesStats;
|
|
8332
8393
|
items: ContentReferenceUsage[];
|
|
8333
|
-
},
|
|
8394
|
+
}, {
|
|
8334
8395
|
error: {
|
|
8335
8396
|
/** @format int32 */
|
|
8336
8397
|
code: 404;
|
|
@@ -8344,17 +8405,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8344
8405
|
*
|
|
8345
8406
|
* @tags collections
|
|
8346
8407
|
* @name GetCollectionById
|
|
8347
|
-
* @summary Get
|
|
8408
|
+
* @summary Get a collection by its ID
|
|
8348
8409
|
* @request GET:/collections/{collectionId}
|
|
8349
8410
|
* @secure
|
|
8350
8411
|
*/
|
|
8351
|
-
getCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8412
|
+
getCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
8352
8413
|
/**
|
|
8353
8414
|
* No description
|
|
8354
8415
|
*
|
|
8355
8416
|
* @tags collections
|
|
8356
8417
|
* @name UpdateCollectionById
|
|
8357
|
-
* @summary Update
|
|
8418
|
+
* @summary Update a collection
|
|
8358
8419
|
* @request PATCH:/collections/{collectionId}
|
|
8359
8420
|
* @secure
|
|
8360
8421
|
*/
|
|
@@ -8365,23 +8426,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8365
8426
|
description?: CollectionDescription;
|
|
8366
8427
|
/** Default level for a piece of content */
|
|
8367
8428
|
defaultLevel?: DefaultLevel;
|
|
8368
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8429
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
8369
8430
|
/**
|
|
8370
8431
|
* No description
|
|
8371
8432
|
*
|
|
8372
8433
|
* @tags collections
|
|
8373
8434
|
* @name DeleteCollectionById
|
|
8374
|
-
* @summary
|
|
8435
|
+
* @summary Delete a collection
|
|
8375
8436
|
* @request DELETE:/collections/{collectionId}
|
|
8376
8437
|
* @secure
|
|
8377
8438
|
*/
|
|
8378
|
-
deleteCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8439
|
+
deleteCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8379
8440
|
/**
|
|
8380
8441
|
* No description
|
|
8381
8442
|
*
|
|
8382
8443
|
* @tags collections
|
|
8383
8444
|
* @name ListSpacesInCollectionById
|
|
8384
|
-
* @summary List all
|
|
8445
|
+
* @summary List all collection spaces
|
|
8385
8446
|
* @request GET:/collections/{collectionId}/spaces
|
|
8386
8447
|
* @secure
|
|
8387
8448
|
*/
|
|
@@ -8396,7 +8457,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8396
8457
|
limit?: number;
|
|
8397
8458
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8398
8459
|
items: Space[];
|
|
8399
|
-
},
|
|
8460
|
+
}, any>>;
|
|
8400
8461
|
/**
|
|
8401
8462
|
* No description
|
|
8402
8463
|
*
|
|
@@ -8411,7 +8472,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8411
8472
|
parent?: string | null;
|
|
8412
8473
|
/** Where to move the collection. By default, it will be moved at the end. */
|
|
8413
8474
|
position?: ContentPosition;
|
|
8414
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8475
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, {
|
|
8415
8476
|
error: {
|
|
8416
8477
|
/** @format int32 */
|
|
8417
8478
|
code: 400;
|
|
@@ -8435,14 +8496,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8435
8496
|
*
|
|
8436
8497
|
* @tags collections
|
|
8437
8498
|
* @name TransferCollection
|
|
8438
|
-
* @summary Transfer a collection
|
|
8499
|
+
* @summary Transfer a collection
|
|
8439
8500
|
* @request POST:/collections/{collectionId}/transfer
|
|
8440
8501
|
* @secure
|
|
8441
8502
|
*/
|
|
8442
8503
|
transferCollection: (collectionId: string, data: {
|
|
8443
8504
|
/** The unique id of the target organization */
|
|
8444
8505
|
organization: string;
|
|
8445
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8506
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, {
|
|
8446
8507
|
error: {
|
|
8447
8508
|
/** @format int32 */
|
|
8448
8509
|
code: 404;
|
|
@@ -8464,13 +8525,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8464
8525
|
/**
|
|
8465
8526
|
* No description
|
|
8466
8527
|
*
|
|
8467
|
-
* @tags
|
|
8528
|
+
* @tags collection-users
|
|
8468
8529
|
* @name InviteToCollection
|
|
8469
8530
|
* @summary Invite to a collection
|
|
8470
8531
|
* @request POST:/collections/{collectionId}/permissions
|
|
8471
8532
|
* @secure
|
|
8472
8533
|
*/
|
|
8473
|
-
inviteToCollection: (collectionId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8534
|
+
inviteToCollection: (collectionId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8474
8535
|
error: {
|
|
8475
8536
|
/** @format int32 */
|
|
8476
8537
|
code: 404;
|
|
@@ -8480,9 +8541,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8480
8541
|
/**
|
|
8481
8542
|
* No description
|
|
8482
8543
|
*
|
|
8483
|
-
* @tags
|
|
8544
|
+
* @tags collection-teams
|
|
8484
8545
|
* @name ListTeamPermissionsInCollection
|
|
8485
|
-
* @summary List
|
|
8546
|
+
* @summary List a collection team permissions
|
|
8486
8547
|
* @request GET:/collections/{collectionId}/permissions/teams
|
|
8487
8548
|
* @secure
|
|
8488
8549
|
*/
|
|
@@ -8509,20 +8570,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8509
8570
|
permission: MemberRole;
|
|
8510
8571
|
team: OrganizationTeam;
|
|
8511
8572
|
}[];
|
|
8512
|
-
},
|
|
8573
|
+
}, any>>;
|
|
8513
8574
|
/**
|
|
8514
8575
|
* No description
|
|
8515
8576
|
*
|
|
8516
|
-
* @tags
|
|
8577
|
+
* @tags collection-teams
|
|
8517
8578
|
* @name UpdateTeamPermissionInCollection
|
|
8518
|
-
* @summary Update a team
|
|
8579
|
+
* @summary Update a collection team permission
|
|
8519
8580
|
* @request PATCH:/collections/{collectionId}/permissions/teams/{teamId}
|
|
8520
8581
|
* @secure
|
|
8521
8582
|
*/
|
|
8522
8583
|
updateTeamPermissionInCollection: (collectionId: string, teamId: string, data: {
|
|
8523
8584
|
/** The role of a member in an organization, null for guests */
|
|
8524
8585
|
role?: MemberRoleOrGuest;
|
|
8525
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8586
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8526
8587
|
error: {
|
|
8527
8588
|
/** @format int32 */
|
|
8528
8589
|
code: 404;
|
|
@@ -8532,13 +8593,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8532
8593
|
/**
|
|
8533
8594
|
* No description
|
|
8534
8595
|
*
|
|
8535
|
-
* @tags
|
|
8596
|
+
* @tags collection-teams
|
|
8536
8597
|
* @name RemoveTeamFromCollection
|
|
8537
8598
|
* @summary Remove a team from a collection
|
|
8538
8599
|
* @request DELETE:/collections/{collectionId}/permissions/teams/{teamId}
|
|
8539
8600
|
* @secure
|
|
8540
8601
|
*/
|
|
8541
|
-
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8602
|
+
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8542
8603
|
error: {
|
|
8543
8604
|
/** @format int32 */
|
|
8544
8605
|
code: 404;
|
|
@@ -8548,9 +8609,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8548
8609
|
/**
|
|
8549
8610
|
* No description
|
|
8550
8611
|
*
|
|
8551
|
-
* @tags
|
|
8612
|
+
* @tags collection-users
|
|
8552
8613
|
* @name ListUserPermissionsInCollection
|
|
8553
|
-
* @summary List
|
|
8614
|
+
* @summary List collection user permissions
|
|
8554
8615
|
* @request GET:/collections/{collectionId}/permissions/users
|
|
8555
8616
|
* @secure
|
|
8556
8617
|
*/
|
|
@@ -8565,7 +8626,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8565
8626
|
limit?: number;
|
|
8566
8627
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8567
8628
|
items: UserContentPermission[];
|
|
8568
|
-
},
|
|
8629
|
+
}, {
|
|
8569
8630
|
error: {
|
|
8570
8631
|
/** @format int32 */
|
|
8571
8632
|
code: 404;
|
|
@@ -8575,16 +8636,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8575
8636
|
/**
|
|
8576
8637
|
* No description
|
|
8577
8638
|
*
|
|
8578
|
-
* @tags
|
|
8639
|
+
* @tags collection-users
|
|
8579
8640
|
* @name UpdateUserPermissionInCollection
|
|
8580
|
-
* @summary Update a user
|
|
8641
|
+
* @summary Update a collection user permission
|
|
8581
8642
|
* @request PATCH:/collections/{collectionId}/permissions/users/{userId}
|
|
8582
8643
|
* @secure
|
|
8583
8644
|
*/
|
|
8584
8645
|
updateUserPermissionInCollection: (collectionId: string, userId: string, data: {
|
|
8585
8646
|
/** The role of a member in an organization, null for guests */
|
|
8586
8647
|
role?: MemberRoleOrGuest;
|
|
8587
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8648
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8588
8649
|
error: {
|
|
8589
8650
|
/** @format int32 */
|
|
8590
8651
|
code: 404;
|
|
@@ -8594,13 +8655,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8594
8655
|
/**
|
|
8595
8656
|
* No description
|
|
8596
8657
|
*
|
|
8597
|
-
* @tags
|
|
8658
|
+
* @tags collection-users
|
|
8598
8659
|
* @name RemoveUserFromCollection
|
|
8599
8660
|
* @summary Remove a user from a collection
|
|
8600
8661
|
* @request DELETE:/collections/{collectionId}/permissions/users/{userId}
|
|
8601
8662
|
* @secure
|
|
8602
8663
|
*/
|
|
8603
|
-
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8664
|
+
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8604
8665
|
error: {
|
|
8605
8666
|
/** @format int32 */
|
|
8606
8667
|
code: 404;
|
|
@@ -8610,9 +8671,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8610
8671
|
/**
|
|
8611
8672
|
* No description
|
|
8612
8673
|
*
|
|
8613
|
-
* @tags
|
|
8674
|
+
* @tags collection-users
|
|
8614
8675
|
* @name ListPermissionsAggregateInCollection
|
|
8615
|
-
* @summary List
|
|
8676
|
+
* @summary List all collections users permissions
|
|
8616
8677
|
* @request GET:/collections/{collectionId}/permissions/aggregate
|
|
8617
8678
|
* @secure
|
|
8618
8679
|
*/
|
|
@@ -8629,7 +8690,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8629
8690
|
role?: MemberRole;
|
|
8630
8691
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8631
8692
|
items: UserContentPermission[];
|
|
8632
|
-
},
|
|
8693
|
+
}, any>>;
|
|
8633
8694
|
};
|
|
8634
8695
|
integrations: {
|
|
8635
8696
|
/**
|
|
@@ -8668,17 +8729,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8668
8729
|
owner?: string;
|
|
8669
8730
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8670
8731
|
items: Integration[];
|
|
8671
|
-
},
|
|
8732
|
+
}, any>>;
|
|
8672
8733
|
/**
|
|
8673
8734
|
* No description
|
|
8674
8735
|
*
|
|
8675
8736
|
* @tags integrations
|
|
8676
8737
|
* @name GetIntegrationByName
|
|
8677
|
-
* @summary Get
|
|
8738
|
+
* @summary Get an integration by its name
|
|
8678
8739
|
* @request GET:/integrations/{integrationName}
|
|
8679
8740
|
* @secure
|
|
8680
8741
|
*/
|
|
8681
|
-
getIntegrationByName: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<Integration,
|
|
8742
|
+
getIntegrationByName: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<Integration, {
|
|
8682
8743
|
error: {
|
|
8683
8744
|
/** @format int32 */
|
|
8684
8745
|
code: 404;
|
|
@@ -8694,7 +8755,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8694
8755
|
* @request POST:/integrations/{integrationName}
|
|
8695
8756
|
* @secure
|
|
8696
8757
|
*/
|
|
8697
|
-
publishIntegration: (integrationName: string, data: PublishIntegration, params?: RequestParams) => Promise<HttpResponse<Integration,
|
|
8758
|
+
publishIntegration: (integrationName: string, data: PublishIntegration, params?: RequestParams) => Promise<HttpResponse<Integration, {
|
|
8698
8759
|
error: {
|
|
8699
8760
|
/** @format int32 */
|
|
8700
8761
|
code: 404;
|
|
@@ -8710,13 +8771,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8710
8771
|
* @request DELETE:/integrations/{integrationName}
|
|
8711
8772
|
* @secure
|
|
8712
8773
|
*/
|
|
8713
|
-
unpublishIntegration: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8774
|
+
unpublishIntegration: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8714
8775
|
/**
|
|
8715
8776
|
* No description
|
|
8716
8777
|
*
|
|
8717
8778
|
* @tags integrations
|
|
8718
8779
|
* @name ListIntegrationInstallations
|
|
8719
|
-
* @summary
|
|
8780
|
+
* @summary List all integration installations
|
|
8720
8781
|
* @request GET:/integrations/{integrationName}/installations
|
|
8721
8782
|
* @secure
|
|
8722
8783
|
*/
|
|
@@ -8733,17 +8794,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8733
8794
|
externalId?: string;
|
|
8734
8795
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8735
8796
|
items: IntegrationInstallation[];
|
|
8736
|
-
},
|
|
8797
|
+
}, any>>;
|
|
8737
8798
|
/**
|
|
8738
8799
|
* No description
|
|
8739
8800
|
*
|
|
8740
8801
|
* @tags integrations
|
|
8741
8802
|
* @name InstallIntegration
|
|
8742
|
-
* @summary Install integration
|
|
8803
|
+
* @summary Install an integration
|
|
8743
8804
|
* @request POST:/integrations/{integrationName}/installations
|
|
8744
8805
|
* @secure
|
|
8745
8806
|
*/
|
|
8746
|
-
installIntegration: (integrationName: string, data: OrganizationTarget, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
8807
|
+
installIntegration: (integrationName: string, data: OrganizationTarget, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, {
|
|
8747
8808
|
error: {
|
|
8748
8809
|
/** @format int32 */
|
|
8749
8810
|
code: 404;
|
|
@@ -8770,20 +8831,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8770
8831
|
limit?: number;
|
|
8771
8832
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8772
8833
|
items: IntegrationEvent[];
|
|
8773
|
-
},
|
|
8834
|
+
}, any>>;
|
|
8774
8835
|
/**
|
|
8775
8836
|
* No description
|
|
8776
8837
|
*
|
|
8777
8838
|
* @tags integrations
|
|
8778
8839
|
* @name GetIntegrationEvent
|
|
8779
|
-
* @summary Get
|
|
8840
|
+
* @summary Get an integration event by its ID
|
|
8780
8841
|
* @request GET:/integrations/{integrationName}/events/{eventId}
|
|
8781
8842
|
* @secure
|
|
8782
8843
|
*/
|
|
8783
8844
|
getIntegrationEvent: (integrationName: string, eventId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
8784
8845
|
event: IntegrationEvent;
|
|
8785
8846
|
trace?: IntegrationEventTrace;
|
|
8786
|
-
},
|
|
8847
|
+
}, {
|
|
8787
8848
|
error: {
|
|
8788
8849
|
/** @format int32 */
|
|
8789
8850
|
code: 404;
|
|
@@ -8795,7 +8856,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8795
8856
|
*
|
|
8796
8857
|
* @tags integrations
|
|
8797
8858
|
* @name ListIntegrationSpaceInstallations
|
|
8798
|
-
* @summary
|
|
8859
|
+
* @summary List all integration space installations
|
|
8799
8860
|
* @request GET:/integrations/{integrationName}/spaces
|
|
8800
8861
|
* @secure
|
|
8801
8862
|
*/
|
|
@@ -8817,13 +8878,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8817
8878
|
extended?: boolean;
|
|
8818
8879
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8819
8880
|
items: IntegrationSpaceInstallation[];
|
|
8820
|
-
},
|
|
8881
|
+
}, any>>;
|
|
8821
8882
|
/**
|
|
8822
8883
|
* No description
|
|
8823
8884
|
*
|
|
8824
8885
|
* @tags integrations
|
|
8825
8886
|
* @name SetIntegrationDevelopmentMode
|
|
8826
|
-
* @summary
|
|
8887
|
+
* @summary Enable integration dev mode
|
|
8827
8888
|
* @request PUT:/integrations/{integrationName}/dev
|
|
8828
8889
|
* @secure
|
|
8829
8890
|
*/
|
|
@@ -8839,7 +8900,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8839
8900
|
* @default false
|
|
8840
8901
|
*/
|
|
8841
8902
|
all?: boolean;
|
|
8842
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8903
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8843
8904
|
error: {
|
|
8844
8905
|
/** @format int32 */
|
|
8845
8906
|
code: 404;
|
|
@@ -8851,40 +8912,40 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8851
8912
|
*
|
|
8852
8913
|
* @tags integrations
|
|
8853
8914
|
* @name DisableIntegrationDevelopmentMode
|
|
8854
|
-
* @summary Disable
|
|
8915
|
+
* @summary Disable integration dev mode
|
|
8855
8916
|
* @request DELETE:/integrations/{integrationName}/dev
|
|
8856
8917
|
* @secure
|
|
8857
8918
|
*/
|
|
8858
|
-
disableIntegrationDevelopmentMode: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8919
|
+
disableIntegrationDevelopmentMode: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8859
8920
|
/**
|
|
8860
8921
|
* No description
|
|
8861
8922
|
*
|
|
8862
8923
|
* @tags integrations
|
|
8863
8924
|
* @name RenderIntegrationUiWithGet
|
|
8864
|
-
* @summary Render an integration UI
|
|
8925
|
+
* @summary Render an integration UI with GET method
|
|
8865
8926
|
* @request GET:/integrations/{integrationName}/render
|
|
8866
8927
|
* @secure
|
|
8867
8928
|
*/
|
|
8868
8929
|
renderIntegrationUiWithGet: (integrationName: string, query: {
|
|
8869
8930
|
/** LZ-string compressed JSON request */
|
|
8870
8931
|
request: string;
|
|
8871
|
-
}, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput,
|
|
8932
|
+
}, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput, any>>;
|
|
8872
8933
|
/**
|
|
8873
8934
|
* No description
|
|
8874
8935
|
*
|
|
8875
8936
|
* @tags integrations
|
|
8876
8937
|
* @name RenderIntegrationUiWithPost
|
|
8877
|
-
* @summary Render an integration UI
|
|
8938
|
+
* @summary Render an integration UI with POST method
|
|
8878
8939
|
* @request POST:/integrations/{integrationName}/render
|
|
8879
8940
|
* @secure
|
|
8880
8941
|
*/
|
|
8881
|
-
renderIntegrationUiWithPost: (integrationName: string, data: RenderIntegrationUI, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput,
|
|
8942
|
+
renderIntegrationUiWithPost: (integrationName: string, data: RenderIntegrationUI, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput, any>>;
|
|
8882
8943
|
/**
|
|
8883
8944
|
* No description
|
|
8884
8945
|
*
|
|
8885
8946
|
* @tags integrations
|
|
8886
8947
|
* @name QueueIntegrationTask
|
|
8887
|
-
* @summary Queue
|
|
8948
|
+
* @summary Queue an integration task
|
|
8888
8949
|
* @request POST:/integrations/{integrationName}/tasks
|
|
8889
8950
|
* @secure
|
|
8890
8951
|
*/
|
|
@@ -8897,7 +8958,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8897
8958
|
* @max 86400
|
|
8898
8959
|
*/
|
|
8899
8960
|
schedule?: number;
|
|
8900
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8961
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8901
8962
|
error: {
|
|
8902
8963
|
/** @format int32 */
|
|
8903
8964
|
code: 404;
|
|
@@ -8909,11 +8970,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8909
8970
|
*
|
|
8910
8971
|
* @tags integrations
|
|
8911
8972
|
* @name GetIntegrationInstallationById
|
|
8912
|
-
* @summary Get
|
|
8973
|
+
* @summary Get an integration installation by its ID
|
|
8913
8974
|
* @request GET:/integrations/{integrationName}/installations/{installationId}
|
|
8914
8975
|
* @secure
|
|
8915
8976
|
*/
|
|
8916
|
-
getIntegrationInstallationById: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
8977
|
+
getIntegrationInstallationById: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, {
|
|
8917
8978
|
error: {
|
|
8918
8979
|
/** @format int32 */
|
|
8919
8980
|
code: 404;
|
|
@@ -8925,21 +8986,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8925
8986
|
*
|
|
8926
8987
|
* @tags integrations
|
|
8927
8988
|
* @name UpdateIntegrationInstallation
|
|
8928
|
-
* @summary Update
|
|
8989
|
+
* @summary Update an integration installation
|
|
8929
8990
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}
|
|
8930
8991
|
* @secure
|
|
8931
8992
|
*/
|
|
8932
|
-
updateIntegrationInstallation: (integrationName: string, installationId: string, data: UpdateIntegrationInstallation, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
8993
|
+
updateIntegrationInstallation: (integrationName: string, installationId: string, data: UpdateIntegrationInstallation, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, any>>;
|
|
8933
8994
|
/**
|
|
8934
8995
|
* No description
|
|
8935
8996
|
*
|
|
8936
8997
|
* @tags integrations
|
|
8937
8998
|
* @name UninstallIntegration
|
|
8938
|
-
* @summary Uninstall
|
|
8999
|
+
* @summary Uninstall an integration
|
|
8939
9000
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}
|
|
8940
9001
|
* @secure
|
|
8941
9002
|
*/
|
|
8942
|
-
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9003
|
+
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8943
9004
|
error: {
|
|
8944
9005
|
/** @format int32 */
|
|
8945
9006
|
code: 404;
|
|
@@ -8955,7 +9016,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8955
9016
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/tokens
|
|
8956
9017
|
* @secure
|
|
8957
9018
|
*/
|
|
8958
|
-
createIntegrationInstallationToken: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<APITemporaryToken,
|
|
9019
|
+
createIntegrationInstallationToken: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<APITemporaryToken, {
|
|
8959
9020
|
error: {
|
|
8960
9021
|
/** @format int32 */
|
|
8961
9022
|
code: 404;
|
|
@@ -8967,7 +9028,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8967
9028
|
*
|
|
8968
9029
|
* @tags integrations
|
|
8969
9030
|
* @name ListIntegrationInstallationSpaces
|
|
8970
|
-
* @summary List
|
|
9031
|
+
* @summary List all space integration installations
|
|
8971
9032
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/spaces
|
|
8972
9033
|
* @secure
|
|
8973
9034
|
*/
|
|
@@ -8987,12 +9048,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8987
9048
|
extended?: boolean;
|
|
8988
9049
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8989
9050
|
items: IntegrationSpaceInstallation[];
|
|
8990
|
-
},
|
|
9051
|
+
}, any>>;
|
|
8991
9052
|
/**
|
|
8992
9053
|
* No description
|
|
8993
9054
|
*
|
|
8994
9055
|
* @name InstallIntegrationOnSpace
|
|
8995
|
-
* @summary Install integration on a space
|
|
9056
|
+
* @summary Install an integration on a space
|
|
8996
9057
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/spaces
|
|
8997
9058
|
* @secure
|
|
8998
9059
|
*/
|
|
@@ -9005,7 +9066,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9005
9066
|
* @default false
|
|
9006
9067
|
*/
|
|
9007
9068
|
extended?: boolean;
|
|
9008
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9069
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, {
|
|
9009
9070
|
error: {
|
|
9010
9071
|
/** @format int32 */
|
|
9011
9072
|
code: 404;
|
|
@@ -9017,7 +9078,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9017
9078
|
*
|
|
9018
9079
|
* @tags integrations
|
|
9019
9080
|
* @name GetIntegrationSpaceInstallation
|
|
9020
|
-
* @summary Get
|
|
9081
|
+
* @summary Get an integration space installation
|
|
9021
9082
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9022
9083
|
* @secure
|
|
9023
9084
|
*/
|
|
@@ -9027,7 +9088,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9027
9088
|
* @default false
|
|
9028
9089
|
*/
|
|
9029
9090
|
extended?: boolean;
|
|
9030
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9091
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, {
|
|
9031
9092
|
error: {
|
|
9032
9093
|
/** @format int32 */
|
|
9033
9094
|
code: 404;
|
|
@@ -9039,7 +9100,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9039
9100
|
*
|
|
9040
9101
|
* @tags integrations
|
|
9041
9102
|
* @name UpdateIntegrationSpaceInstallation
|
|
9042
|
-
* @summary Update
|
|
9103
|
+
* @summary Update an integration space installation
|
|
9043
9104
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9044
9105
|
* @secure
|
|
9045
9106
|
*/
|
|
@@ -9049,23 +9110,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9049
9110
|
* @default false
|
|
9050
9111
|
*/
|
|
9051
9112
|
extended?: boolean;
|
|
9052
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9113
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, any>>;
|
|
9053
9114
|
/**
|
|
9054
9115
|
* No description
|
|
9055
9116
|
*
|
|
9056
9117
|
* @tags integrations
|
|
9057
9118
|
* @name UninstallIntegrationFromSpace
|
|
9058
|
-
* @summary Uninstall
|
|
9119
|
+
* @summary Uninstall an integration from a space
|
|
9059
9120
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9060
9121
|
* @secure
|
|
9061
9122
|
*/
|
|
9062
|
-
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9123
|
+
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9063
9124
|
/**
|
|
9064
9125
|
* No description
|
|
9065
9126
|
*
|
|
9066
9127
|
* @tags integrations
|
|
9067
9128
|
* @name ListIntegrationInstallationSites
|
|
9068
|
-
* @summary List
|
|
9129
|
+
* @summary List all site integration installations
|
|
9069
9130
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/sites
|
|
9070
9131
|
* @secure
|
|
9071
9132
|
*/
|
|
@@ -9085,13 +9146,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9085
9146
|
extended?: boolean;
|
|
9086
9147
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9087
9148
|
items: IntegrationSiteInstallation[];
|
|
9088
|
-
},
|
|
9149
|
+
}, any>>;
|
|
9089
9150
|
/**
|
|
9090
9151
|
* No description
|
|
9091
9152
|
*
|
|
9092
9153
|
* @tags integrations
|
|
9093
9154
|
* @name InstallIntegrationOnSite
|
|
9094
|
-
* @summary Install integration on a site
|
|
9155
|
+
* @summary Install an integration on a site
|
|
9095
9156
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/sites
|
|
9096
9157
|
* @secure
|
|
9097
9158
|
*/
|
|
@@ -9104,7 +9165,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9104
9165
|
* @default false
|
|
9105
9166
|
*/
|
|
9106
9167
|
extended?: boolean;
|
|
9107
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9168
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, {
|
|
9108
9169
|
error: {
|
|
9109
9170
|
/** @format int32 */
|
|
9110
9171
|
code: 404;
|
|
@@ -9116,7 +9177,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9116
9177
|
*
|
|
9117
9178
|
* @tags integrations
|
|
9118
9179
|
* @name GetIntegrationSiteInstallation
|
|
9119
|
-
* @summary Get
|
|
9180
|
+
* @summary Get an integration site installation
|
|
9120
9181
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9121
9182
|
* @secure
|
|
9122
9183
|
*/
|
|
@@ -9126,7 +9187,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9126
9187
|
* @default false
|
|
9127
9188
|
*/
|
|
9128
9189
|
extended?: boolean;
|
|
9129
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9190
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, {
|
|
9130
9191
|
error: {
|
|
9131
9192
|
/** @format int32 */
|
|
9132
9193
|
code: 404;
|
|
@@ -9138,7 +9199,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9138
9199
|
*
|
|
9139
9200
|
* @tags integrations
|
|
9140
9201
|
* @name UpdateIntegrationSiteInstallation
|
|
9141
|
-
* @summary Update
|
|
9202
|
+
* @summary Update an integration site installation
|
|
9142
9203
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9143
9204
|
* @secure
|
|
9144
9205
|
*/
|
|
@@ -9148,17 +9209,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9148
9209
|
* @default false
|
|
9149
9210
|
*/
|
|
9150
9211
|
extended?: boolean;
|
|
9151
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9212
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, any>>;
|
|
9152
9213
|
/**
|
|
9153
9214
|
* No description
|
|
9154
9215
|
*
|
|
9155
9216
|
* @tags integrations
|
|
9156
9217
|
* @name UninstallIntegrationFromSite
|
|
9157
|
-
* @summary Uninstall
|
|
9218
|
+
* @summary Uninstall an integration from a site
|
|
9158
9219
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9159
9220
|
* @secure
|
|
9160
9221
|
*/
|
|
9161
|
-
uninstallIntegrationFromSite: (integrationName: string, installationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9222
|
+
uninstallIntegrationFromSite: (integrationName: string, installationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9162
9223
|
};
|
|
9163
9224
|
orgs: {
|
|
9164
9225
|
/**
|
|
@@ -9181,7 +9242,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9181
9242
|
limit?: number;
|
|
9182
9243
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9183
9244
|
items: Organization[];
|
|
9184
|
-
},
|
|
9245
|
+
}, any>>;
|
|
9185
9246
|
/**
|
|
9186
9247
|
* No description
|
|
9187
9248
|
*
|
|
@@ -9191,7 +9252,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9191
9252
|
* @request GET:/orgs/{organizationId}
|
|
9192
9253
|
* @secure
|
|
9193
9254
|
*/
|
|
9194
|
-
getOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<Organization,
|
|
9255
|
+
getOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<Organization, {
|
|
9195
9256
|
error: {
|
|
9196
9257
|
/** @format int32 */
|
|
9197
9258
|
code: 404;
|
|
@@ -9203,7 +9264,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9203
9264
|
*
|
|
9204
9265
|
* @tags organizations
|
|
9205
9266
|
* @name UpdateOrganizationById
|
|
9206
|
-
* @summary Update an organization
|
|
9267
|
+
* @summary Update an organization
|
|
9207
9268
|
* @request PATCH:/orgs/{organizationId}
|
|
9208
9269
|
* @secure
|
|
9209
9270
|
*/
|
|
@@ -9220,7 +9281,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9220
9281
|
sso?: boolean;
|
|
9221
9282
|
ai?: boolean;
|
|
9222
9283
|
inviteLinks?: boolean;
|
|
9223
|
-
}, params?: RequestParams) => Promise<HttpResponse<Organization,
|
|
9284
|
+
}, params?: RequestParams) => Promise<HttpResponse<Organization, {
|
|
9224
9285
|
error: {
|
|
9225
9286
|
/** @format int32 */
|
|
9226
9287
|
code: 400;
|
|
@@ -9228,11 +9289,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9228
9289
|
};
|
|
9229
9290
|
}>>;
|
|
9230
9291
|
/**
|
|
9231
|
-
*
|
|
9292
|
+
* No description
|
|
9232
9293
|
*
|
|
9233
|
-
* @tags
|
|
9294
|
+
* @tags organization-members
|
|
9234
9295
|
* @name ListMembersInOrganizationById
|
|
9235
|
-
* @summary List organization members
|
|
9296
|
+
* @summary List all organization members
|
|
9236
9297
|
* @request GET:/orgs/{organizationId}/members
|
|
9237
9298
|
* @secure
|
|
9238
9299
|
*/
|
|
@@ -9261,69 +9322,69 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9261
9322
|
sort?: "joinedAt" | "lastSeenAt";
|
|
9262
9323
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9263
9324
|
items: OrganizationMember[];
|
|
9264
|
-
},
|
|
9325
|
+
}, any>>;
|
|
9265
9326
|
/**
|
|
9266
|
-
*
|
|
9327
|
+
* No description
|
|
9267
9328
|
*
|
|
9268
|
-
* @tags
|
|
9329
|
+
* @tags organization-members
|
|
9269
9330
|
* @name GetMemberInOrganizationById
|
|
9270
|
-
* @summary Get
|
|
9331
|
+
* @summary Get an organization member by its ID
|
|
9271
9332
|
* @request GET:/orgs/{organizationId}/members/{userId}
|
|
9272
9333
|
* @secure
|
|
9273
9334
|
*/
|
|
9274
|
-
getMemberInOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9335
|
+
getMemberInOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9275
9336
|
/**
|
|
9276
|
-
*
|
|
9337
|
+
* No description
|
|
9277
9338
|
*
|
|
9278
|
-
* @tags
|
|
9339
|
+
* @tags organization-members
|
|
9279
9340
|
* @name UpdateMemberInOrganizationById
|
|
9280
|
-
* @summary Update
|
|
9341
|
+
* @summary Update an organization member
|
|
9281
9342
|
* @request PATCH:/orgs/{organizationId}/members/{userId}
|
|
9282
9343
|
* @secure
|
|
9283
9344
|
*/
|
|
9284
9345
|
updateMemberInOrganizationById: (organizationId: string, userId: string, data: {
|
|
9285
9346
|
/** The role of a member in an organization, null for guests */
|
|
9286
9347
|
role?: MemberRoleOrGuest;
|
|
9287
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9348
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9288
9349
|
/**
|
|
9289
|
-
*
|
|
9350
|
+
* No description
|
|
9290
9351
|
*
|
|
9291
|
-
* @tags
|
|
9352
|
+
* @tags organization-members
|
|
9292
9353
|
* @name RemoveMemberFromOrganizationById
|
|
9293
|
-
* @summary Delete
|
|
9354
|
+
* @summary Delete an organization member
|
|
9294
9355
|
* @request DELETE:/orgs/{organizationId}/members/{userId}
|
|
9295
9356
|
* @secure
|
|
9296
9357
|
*/
|
|
9297
|
-
removeMemberFromOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9358
|
+
removeMemberFromOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9298
9359
|
/**
|
|
9299
|
-
*
|
|
9360
|
+
* No description
|
|
9300
9361
|
*
|
|
9301
|
-
* @tags
|
|
9362
|
+
* @tags organization-members
|
|
9302
9363
|
* @name UpdateOrganizationMemberLastSeenAt
|
|
9303
|
-
* @summary Update organization member
|
|
9364
|
+
* @summary Update an organization member last seen at
|
|
9304
9365
|
* @request POST:/orgs/{organizationId}/ping
|
|
9305
9366
|
* @secure
|
|
9306
9367
|
*/
|
|
9307
9368
|
updateOrganizationMemberLastSeenAt: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9308
9369
|
/** A JTW token containing the claims to attach to this user. */
|
|
9309
9370
|
gitbookVisitorClaims?: string;
|
|
9310
|
-
},
|
|
9371
|
+
}, any>>;
|
|
9311
9372
|
/**
|
|
9312
9373
|
* No description
|
|
9313
9374
|
*
|
|
9314
|
-
* @tags
|
|
9375
|
+
* @tags organization-members
|
|
9315
9376
|
* @name SetUserAsSsoMemberForOrganization
|
|
9316
9377
|
* @summary Set a user as an SSO member of an organization
|
|
9317
9378
|
* @request POST:/orgs/{organizationId}/members/{userId}/sso
|
|
9318
9379
|
* @secure
|
|
9319
9380
|
*/
|
|
9320
|
-
setUserAsSsoMemberForOrganization: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9381
|
+
setUserAsSsoMemberForOrganization: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9321
9382
|
/**
|
|
9322
9383
|
* No description
|
|
9323
9384
|
*
|
|
9324
|
-
* @tags
|
|
9385
|
+
* @tags organization-members
|
|
9325
9386
|
* @name ListSpacesForOrganizationMember
|
|
9326
|
-
* @summary List
|
|
9387
|
+
* @summary List an organization member space permissions
|
|
9327
9388
|
* @request GET:/orgs/{organizationId}/members/{userId}/spaces
|
|
9328
9389
|
* @secure
|
|
9329
9390
|
*/
|
|
@@ -9343,13 +9404,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9343
9404
|
order?: "asc" | "desc";
|
|
9344
9405
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9345
9406
|
items: MemberContentPermission[];
|
|
9346
|
-
},
|
|
9407
|
+
}, any>>;
|
|
9347
9408
|
/**
|
|
9348
9409
|
* No description
|
|
9349
9410
|
*
|
|
9350
|
-
* @tags
|
|
9411
|
+
* @tags organization-members
|
|
9351
9412
|
* @name ListTeamsForOrganizationMember
|
|
9352
|
-
* @summary List all
|
|
9413
|
+
* @summary List all organization member teams
|
|
9353
9414
|
* @request GET:/orgs/{organizationId}/members/{userId}/teams
|
|
9354
9415
|
* @secure
|
|
9355
9416
|
*/
|
|
@@ -9369,13 +9430,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9369
9430
|
team: OrganizationTeam;
|
|
9370
9431
|
member: TeamMember;
|
|
9371
9432
|
}[];
|
|
9372
|
-
},
|
|
9433
|
+
}, any>>;
|
|
9373
9434
|
/**
|
|
9374
|
-
*
|
|
9435
|
+
* No description
|
|
9375
9436
|
*
|
|
9376
|
-
* @tags
|
|
9437
|
+
* @tags teams
|
|
9377
9438
|
* @name ListTeamsInOrganizationById
|
|
9378
|
-
* @summary List
|
|
9439
|
+
* @summary List all teams
|
|
9379
9440
|
* @request GET:/orgs/{organizationId}/teams
|
|
9380
9441
|
* @secure
|
|
9381
9442
|
*/
|
|
@@ -9394,13 +9455,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9394
9455
|
title?: string;
|
|
9395
9456
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9396
9457
|
items: OrganizationTeam[];
|
|
9397
|
-
},
|
|
9458
|
+
}, any>>;
|
|
9398
9459
|
/**
|
|
9399
|
-
*
|
|
9460
|
+
* No description
|
|
9400
9461
|
*
|
|
9401
|
-
* @tags
|
|
9462
|
+
* @tags teams
|
|
9402
9463
|
* @name CreateOrganizationTeam
|
|
9403
|
-
* @summary Create
|
|
9464
|
+
* @summary Create a team
|
|
9404
9465
|
* @request PUT:/orgs/{organizationId}/teams
|
|
9405
9466
|
* @secure
|
|
9406
9467
|
*/
|
|
@@ -9409,56 +9470,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9409
9470
|
title: OrganizationTeamTitle;
|
|
9410
9471
|
/** A list of organization member identifiers */
|
|
9411
9472
|
members?: string[];
|
|
9412
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9473
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9413
9474
|
/**
|
|
9414
|
-
*
|
|
9475
|
+
* No description
|
|
9415
9476
|
*
|
|
9416
|
-
* @tags
|
|
9477
|
+
* @tags teams
|
|
9417
9478
|
* @name GetTeamInOrganizationById
|
|
9418
|
-
* @summary Get
|
|
9479
|
+
* @summary Get a team
|
|
9419
9480
|
* @request GET:/orgs/{organizationId}/teams/{teamId}
|
|
9420
9481
|
* @secure
|
|
9421
9482
|
*/
|
|
9422
|
-
getTeamInOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9483
|
+
getTeamInOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9423
9484
|
/**
|
|
9424
|
-
*
|
|
9485
|
+
* No description
|
|
9425
9486
|
*
|
|
9426
|
-
* @tags
|
|
9487
|
+
* @tags teams
|
|
9427
9488
|
* @name UpdateTeamInOrganizationById
|
|
9428
|
-
* @summary Update
|
|
9489
|
+
* @summary Update a team
|
|
9429
9490
|
* @request PATCH:/orgs/{organizationId}/teams/{teamId}
|
|
9430
9491
|
* @secure
|
|
9431
9492
|
*/
|
|
9432
9493
|
updateTeamInOrganizationById: (organizationId: string, teamId: string, data: {
|
|
9433
9494
|
/** Title of the team */
|
|
9434
9495
|
title: OrganizationTeamTitle;
|
|
9435
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9496
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9436
9497
|
/**
|
|
9437
|
-
*
|
|
9498
|
+
* No description
|
|
9438
9499
|
*
|
|
9439
|
-
* @tags
|
|
9500
|
+
* @tags teams
|
|
9440
9501
|
* @name RemoveTeamFromOrganizationById
|
|
9441
|
-
* @summary Delete a team
|
|
9502
|
+
* @summary Delete a team
|
|
9442
9503
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}
|
|
9443
9504
|
* @secure
|
|
9444
9505
|
*/
|
|
9445
|
-
removeTeamFromOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9506
|
+
removeTeamFromOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9446
9507
|
/**
|
|
9447
9508
|
* @description Updates members of an organization team, either adding or removing them. If a the same user is included as both an add and a remove, they will be removed from the team.
|
|
9448
9509
|
*
|
|
9449
|
-
* @tags
|
|
9510
|
+
* @tags team-members
|
|
9450
9511
|
* @name UpdateMembersInOrganizationTeam
|
|
9451
|
-
* @summary Updates members of
|
|
9512
|
+
* @summary Updates members of a team
|
|
9452
9513
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members
|
|
9453
9514
|
* @secure
|
|
9454
9515
|
*/
|
|
9455
|
-
updateMembersInOrganizationTeam: (organizationId: string, teamId: string, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9516
|
+
updateMembersInOrganizationTeam: (organizationId: string, teamId: string, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9456
9517
|
/**
|
|
9457
9518
|
* @description Lists members, and their roles, for the specified organization team.
|
|
9458
9519
|
*
|
|
9459
|
-
* @tags
|
|
9520
|
+
* @tags team-members
|
|
9460
9521
|
* @name ListTeamMembersInOrganizationById
|
|
9461
|
-
* @summary List team members
|
|
9522
|
+
* @summary List all team members
|
|
9462
9523
|
* @request GET:/orgs/{organizationId}/teams/{teamId}/members
|
|
9463
9524
|
* @secure
|
|
9464
9525
|
*/
|
|
@@ -9473,13 +9534,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9473
9534
|
limit?: number;
|
|
9474
9535
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9475
9536
|
items: OrganizationTeamMember[];
|
|
9476
|
-
},
|
|
9537
|
+
}, any>>;
|
|
9477
9538
|
/**
|
|
9478
9539
|
* @description Add or updates member in the specified organization team.
|
|
9479
9540
|
*
|
|
9480
|
-
* @tags
|
|
9541
|
+
* @tags team-members
|
|
9481
9542
|
* @name AddMemberToOrganizationTeamById
|
|
9482
|
-
* @summary Add
|
|
9543
|
+
* @summary Add a team member
|
|
9483
9544
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
9484
9545
|
* @secure
|
|
9485
9546
|
*/
|
|
@@ -9490,23 +9551,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9490
9551
|
* "member": Is a member of the team.
|
|
9491
9552
|
*/
|
|
9492
9553
|
role?: TeamMemberRole;
|
|
9493
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9554
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9494
9555
|
/**
|
|
9495
9556
|
* @description Deletes member from the specified organization team.
|
|
9496
9557
|
*
|
|
9497
|
-
* @tags
|
|
9558
|
+
* @tags team-members
|
|
9498
9559
|
* @name DeleteMemberFromOrganizationTeamById
|
|
9499
|
-
* @summary Delete
|
|
9560
|
+
* @summary Delete a team member
|
|
9500
9561
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
9501
9562
|
* @secure
|
|
9502
9563
|
*/
|
|
9503
|
-
deleteMemberFromOrganizationTeamById: (organizationId: string, teamId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9564
|
+
deleteMemberFromOrganizationTeamById: (organizationId: string, teamId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9504
9565
|
/**
|
|
9505
9566
|
* No description
|
|
9506
9567
|
*
|
|
9507
|
-
* @tags
|
|
9568
|
+
* @tags organization-invites
|
|
9508
9569
|
* @name InviteUsersToOrganization
|
|
9509
|
-
* @summary Invite users
|
|
9570
|
+
* @summary Invite users in an organization
|
|
9510
9571
|
* @request POST:/orgs/{organizationId}/invites
|
|
9511
9572
|
* @secure
|
|
9512
9573
|
*/
|
|
@@ -9515,7 +9576,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9515
9576
|
/** The number of users who were added to the organization */
|
|
9516
9577
|
invited: number;
|
|
9517
9578
|
failedSSOEmails?: string[];
|
|
9518
|
-
},
|
|
9579
|
+
}, {
|
|
9519
9580
|
error: {
|
|
9520
9581
|
/** @format int32 */
|
|
9521
9582
|
code: 400;
|
|
@@ -9525,19 +9586,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9525
9586
|
/**
|
|
9526
9587
|
* No description
|
|
9527
9588
|
*
|
|
9528
|
-
* @tags
|
|
9589
|
+
* @tags organization-invites
|
|
9529
9590
|
* @name JoinOrganizationWithInvite
|
|
9530
|
-
* @summary
|
|
9591
|
+
* @summary Join an organization with an invite
|
|
9531
9592
|
* @request POST:/orgs/{organizationId}/invites/{inviteId}
|
|
9532
9593
|
* @secure
|
|
9533
9594
|
*/
|
|
9534
|
-
joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object,
|
|
9595
|
+
joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object, any>>;
|
|
9535
9596
|
/**
|
|
9536
9597
|
* No description
|
|
9537
9598
|
*
|
|
9538
|
-
* @tags
|
|
9599
|
+
* @tags organization-invites
|
|
9539
9600
|
* @name ListOrganizationInviteLinks
|
|
9540
|
-
* @summary List
|
|
9601
|
+
* @summary List organization invites
|
|
9541
9602
|
* @request GET:/orgs/{organizationId}/link-invites
|
|
9542
9603
|
* @secure
|
|
9543
9604
|
*/
|
|
@@ -9552,33 +9613,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9552
9613
|
limit?: number;
|
|
9553
9614
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9554
9615
|
items: InviteLinkToOrganization[];
|
|
9555
|
-
},
|
|
9616
|
+
}, any>>;
|
|
9556
9617
|
/**
|
|
9557
9618
|
* No description
|
|
9558
9619
|
*
|
|
9559
|
-
* @tags
|
|
9620
|
+
* @tags organization-invites
|
|
9560
9621
|
* @name CreateOrganizationInvite
|
|
9561
|
-
* @summary Create
|
|
9622
|
+
* @summary Create an organization invite
|
|
9562
9623
|
* @request POST:/orgs/{organizationId}/link-invites
|
|
9563
9624
|
* @secure
|
|
9564
9625
|
*/
|
|
9565
|
-
createOrganizationInvite: (organizationId: string, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9626
|
+
createOrganizationInvite: (organizationId: string, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9566
9627
|
/**
|
|
9567
9628
|
* No description
|
|
9568
9629
|
*
|
|
9569
|
-
* @tags
|
|
9630
|
+
* @tags organization-invites
|
|
9570
9631
|
* @name GetOrganizationInviteLink
|
|
9571
|
-
* @summary Get an
|
|
9632
|
+
* @summary Get an organization by its ID
|
|
9572
9633
|
* @request GET:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9573
9634
|
* @secure
|
|
9574
9635
|
*/
|
|
9575
|
-
getOrganizationInviteLink: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9636
|
+
getOrganizationInviteLink: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9576
9637
|
/**
|
|
9577
9638
|
* No description
|
|
9578
9639
|
*
|
|
9579
|
-
* @tags
|
|
9640
|
+
* @tags organization-invites
|
|
9580
9641
|
* @name UpdateOrganizationInviteById
|
|
9581
|
-
* @summary Update an organization invite
|
|
9642
|
+
* @summary Update an organization invite
|
|
9582
9643
|
* @request PATCH:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9583
9644
|
* @secure
|
|
9584
9645
|
*/
|
|
@@ -9588,7 +9649,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9588
9649
|
} | {
|
|
9589
9650
|
/** The role of a member in an organization, null for guests */
|
|
9590
9651
|
level: MemberRoleOrGuest;
|
|
9591
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9652
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9592
9653
|
/**
|
|
9593
9654
|
* No description
|
|
9594
9655
|
*
|
|
@@ -9598,7 +9659,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9598
9659
|
* @request DELETE:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9599
9660
|
* @secure
|
|
9600
9661
|
*/
|
|
9601
|
-
deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9662
|
+
deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9602
9663
|
/**
|
|
9603
9664
|
* No description
|
|
9604
9665
|
*
|
|
@@ -9621,13 +9682,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9621
9682
|
limit?: number;
|
|
9622
9683
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9623
9684
|
items: SearchSpaceResult[];
|
|
9624
|
-
},
|
|
9685
|
+
}, any>>;
|
|
9625
9686
|
/**
|
|
9626
|
-
*
|
|
9687
|
+
* No description
|
|
9627
9688
|
*
|
|
9628
|
-
* @tags
|
|
9689
|
+
* @tags spaces
|
|
9629
9690
|
* @name ListSpacesInOrganizationById
|
|
9630
|
-
* @summary List
|
|
9691
|
+
* @summary List all spaces
|
|
9631
9692
|
* @request GET:/orgs/{organizationId}/spaces
|
|
9632
9693
|
* @secure
|
|
9633
9694
|
*/
|
|
@@ -9642,23 +9703,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9642
9703
|
limit?: number;
|
|
9643
9704
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9644
9705
|
items: Space[];
|
|
9645
|
-
},
|
|
9706
|
+
}, any>>;
|
|
9646
9707
|
/**
|
|
9647
9708
|
* No description
|
|
9648
9709
|
*
|
|
9649
9710
|
* @tags spaces
|
|
9650
9711
|
* @name CreateSpace
|
|
9651
|
-
* @summary Create
|
|
9712
|
+
* @summary Create a space
|
|
9652
9713
|
* @request POST:/orgs/{organizationId}/spaces
|
|
9653
9714
|
* @secure
|
|
9654
9715
|
*/
|
|
9655
|
-
createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
9716
|
+
createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
9656
9717
|
/**
|
|
9657
|
-
*
|
|
9718
|
+
* No description
|
|
9658
9719
|
*
|
|
9659
|
-
* @tags
|
|
9720
|
+
* @tags collections
|
|
9660
9721
|
* @name ListCollectionsInOrganizationById
|
|
9661
|
-
* @summary List
|
|
9722
|
+
* @summary List all collections
|
|
9662
9723
|
* @request GET:/orgs/{organizationId}/collections
|
|
9663
9724
|
* @secure
|
|
9664
9725
|
*/
|
|
@@ -9678,13 +9739,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9678
9739
|
nested?: boolean;
|
|
9679
9740
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9680
9741
|
items: Collection[];
|
|
9681
|
-
},
|
|
9742
|
+
}, any>>;
|
|
9682
9743
|
/**
|
|
9683
9744
|
* No description
|
|
9684
9745
|
*
|
|
9685
9746
|
* @tags collections
|
|
9686
9747
|
* @name CreateCollection
|
|
9687
|
-
* @summary Create
|
|
9748
|
+
* @summary Create a collection
|
|
9688
9749
|
* @request POST:/orgs/{organizationId}/collections
|
|
9689
9750
|
* @secure
|
|
9690
9751
|
*/
|
|
@@ -9693,13 +9754,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9693
9754
|
title?: string;
|
|
9694
9755
|
/** ID of a parent collection */
|
|
9695
9756
|
parent?: string;
|
|
9696
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
9757
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
9697
9758
|
/**
|
|
9698
9759
|
* No description
|
|
9699
9760
|
*
|
|
9700
|
-
* @tags
|
|
9761
|
+
* @tags custom-fields
|
|
9701
9762
|
* @name ListOrganizationCustomFields
|
|
9702
|
-
* @summary
|
|
9763
|
+
* @summary List all custom fields
|
|
9703
9764
|
* @request GET:/orgs/{organizationId}/custom-fields
|
|
9704
9765
|
* @secure
|
|
9705
9766
|
*/
|
|
@@ -9714,13 +9775,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9714
9775
|
limit?: number;
|
|
9715
9776
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9716
9777
|
items: CustomField[];
|
|
9717
|
-
},
|
|
9778
|
+
}, any>>;
|
|
9718
9779
|
/**
|
|
9719
9780
|
* No description
|
|
9720
9781
|
*
|
|
9721
|
-
* @tags
|
|
9782
|
+
* @tags custom-fields
|
|
9722
9783
|
* @name CreateOrganizationCustomField
|
|
9723
|
-
* @summary Create a
|
|
9784
|
+
* @summary Create a custom field
|
|
9724
9785
|
* @request POST:/orgs/{organizationId}/custom-fields
|
|
9725
9786
|
* @secure
|
|
9726
9787
|
*/
|
|
@@ -9731,17 +9792,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9731
9792
|
description?: CustomFieldDescription;
|
|
9732
9793
|
placeholder?: CustomFieldPlaceholder;
|
|
9733
9794
|
options?: CustomFieldOptions;
|
|
9734
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9795
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomField, any>>;
|
|
9735
9796
|
/**
|
|
9736
9797
|
* No description
|
|
9737
9798
|
*
|
|
9738
|
-
* @tags
|
|
9799
|
+
* @tags custom-fields
|
|
9739
9800
|
* @name GetOrganizationCustomFieldByName
|
|
9740
9801
|
* @summary Get a custom field by its name
|
|
9741
9802
|
* @request GET:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9742
9803
|
* @secure
|
|
9743
9804
|
*/
|
|
9744
|
-
getOrganizationCustomFieldByName: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9805
|
+
getOrganizationCustomFieldByName: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<CustomField, {
|
|
9745
9806
|
error: {
|
|
9746
9807
|
/** @format int32 */
|
|
9747
9808
|
code: 404;
|
|
@@ -9751,9 +9812,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9751
9812
|
/**
|
|
9752
9813
|
* No description
|
|
9753
9814
|
*
|
|
9754
|
-
* @tags
|
|
9815
|
+
* @tags custom-fields
|
|
9755
9816
|
* @name UpdateOrganizationCustomField
|
|
9756
|
-
* @summary Update a custom field
|
|
9817
|
+
* @summary Update a custom field
|
|
9757
9818
|
* @request PATCH:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9758
9819
|
* @secure
|
|
9759
9820
|
*/
|
|
@@ -9762,23 +9823,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9762
9823
|
description?: CustomFieldDescription;
|
|
9763
9824
|
placeholder?: CustomFieldPlaceholder;
|
|
9764
9825
|
options?: CustomFieldOptions;
|
|
9765
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9826
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomField, any>>;
|
|
9766
9827
|
/**
|
|
9767
9828
|
* No description
|
|
9768
9829
|
*
|
|
9769
|
-
* @tags
|
|
9830
|
+
* @tags custom-fields
|
|
9770
9831
|
* @name DeleteOrganizationCustomField
|
|
9771
|
-
* @summary Delete a custom field
|
|
9832
|
+
* @summary Delete a custom field
|
|
9772
9833
|
* @request DELETE:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9773
9834
|
* @secure
|
|
9774
9835
|
*/
|
|
9775
|
-
deleteOrganizationCustomField: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9836
|
+
deleteOrganizationCustomField: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9776
9837
|
/**
|
|
9777
9838
|
* No description
|
|
9778
9839
|
*
|
|
9779
|
-
* @tags
|
|
9840
|
+
* @tags integrations
|
|
9780
9841
|
* @name ListOrganizationIntegrations
|
|
9781
|
-
* @summary List integrations
|
|
9842
|
+
* @summary List all integrations
|
|
9782
9843
|
* @request GET:/orgs/{organizationId}/integrations
|
|
9783
9844
|
* @secure
|
|
9784
9845
|
*/
|
|
@@ -9809,19 +9870,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9809
9870
|
owner?: string;
|
|
9810
9871
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9811
9872
|
items: Integration[];
|
|
9812
|
-
},
|
|
9873
|
+
}, any>>;
|
|
9813
9874
|
/**
|
|
9814
9875
|
* No description
|
|
9815
9876
|
*
|
|
9816
9877
|
* @tags integrations
|
|
9817
9878
|
* @name GetOrganizationIntegrationStatus
|
|
9818
|
-
* @summary Get the status of an integration
|
|
9879
|
+
* @summary Get the status of an integration
|
|
9819
9880
|
* @request GET:/orgs/{organizationId}/integrations/{integrationName}/installation_status
|
|
9820
9881
|
* @secure
|
|
9821
9882
|
*/
|
|
9822
9883
|
getOrganizationIntegrationStatus: (organizationId: string, integrationName: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9823
9884
|
status: IntegrationInstallationStatus;
|
|
9824
|
-
},
|
|
9885
|
+
}, {
|
|
9825
9886
|
error: {
|
|
9826
9887
|
/** @format int32 */
|
|
9827
9888
|
code: 404;
|
|
@@ -9831,9 +9892,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9831
9892
|
/**
|
|
9832
9893
|
* No description
|
|
9833
9894
|
*
|
|
9834
|
-
* @tags
|
|
9895
|
+
* @tags integrations
|
|
9835
9896
|
* @name ListOrganizationInstallations
|
|
9836
|
-
* @summary List
|
|
9897
|
+
* @summary List all integration installations
|
|
9837
9898
|
* @request GET:/orgs/{organizationId}/installations
|
|
9838
9899
|
* @secure
|
|
9839
9900
|
*/
|
|
@@ -9854,13 +9915,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9854
9915
|
installation: IntegrationInstallation;
|
|
9855
9916
|
integration: Integration;
|
|
9856
9917
|
}[];
|
|
9857
|
-
},
|
|
9918
|
+
}, any>>;
|
|
9858
9919
|
/**
|
|
9859
9920
|
* No description
|
|
9860
9921
|
*
|
|
9861
9922
|
* @tags integrations, critical
|
|
9862
9923
|
* @name ListOrganizationIntegrationsStatus
|
|
9863
|
-
* @summary List
|
|
9924
|
+
* @summary List all integration statuses
|
|
9864
9925
|
* @request GET:/orgs/{organizationId}/integrations/installations-status
|
|
9865
9926
|
* @secure
|
|
9866
9927
|
*/
|
|
@@ -9880,13 +9941,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9880
9941
|
status: IntegrationInstallationStatus;
|
|
9881
9942
|
integration: Integration;
|
|
9882
9943
|
}[];
|
|
9883
|
-
},
|
|
9944
|
+
}, any>>;
|
|
9884
9945
|
/**
|
|
9885
9946
|
* @description Lists SAML providers configured for the specified organization.
|
|
9886
9947
|
*
|
|
9887
|
-
* @tags
|
|
9948
|
+
* @tags sso
|
|
9888
9949
|
* @name ListSamlProvidersInOrganizationById
|
|
9889
|
-
* @summary List
|
|
9950
|
+
* @summary List all SAML providers
|
|
9890
9951
|
* @request GET:/orgs/{organizationId}/saml
|
|
9891
9952
|
* @secure
|
|
9892
9953
|
*/
|
|
@@ -9901,13 +9962,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9901
9962
|
limit?: number;
|
|
9902
9963
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9903
9964
|
items: OrganizationSAMLProvider[];
|
|
9904
|
-
},
|
|
9965
|
+
}, any>>;
|
|
9905
9966
|
/**
|
|
9906
9967
|
* No description
|
|
9907
9968
|
*
|
|
9908
|
-
* @tags
|
|
9969
|
+
* @tags sso
|
|
9909
9970
|
* @name CreateOrganizationSamlProvider
|
|
9910
|
-
* @summary Create a new SAML provider
|
|
9971
|
+
* @summary Create a new SAML provider
|
|
9911
9972
|
* @request POST:/orgs/{organizationId}/saml
|
|
9912
9973
|
* @secure
|
|
9913
9974
|
*/
|
|
@@ -9919,17 +9980,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9919
9980
|
defaultTeam?: string;
|
|
9920
9981
|
/** The role of a member in an organization, null for guests */
|
|
9921
9982
|
defaultRole?: MemberRoleOrGuest;
|
|
9922
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
9983
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, any>>;
|
|
9923
9984
|
/**
|
|
9924
9985
|
* No description
|
|
9925
9986
|
*
|
|
9926
|
-
* @tags
|
|
9987
|
+
* @tags sso
|
|
9927
9988
|
* @name GetOrganizationSamlProviderById
|
|
9928
|
-
* @summary Get a SAML provider
|
|
9989
|
+
* @summary Get a SAML provider by its ID
|
|
9929
9990
|
* @request GET:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9930
9991
|
* @secure
|
|
9931
9992
|
*/
|
|
9932
|
-
getOrganizationSamlProviderById: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
9993
|
+
getOrganizationSamlProviderById: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, {
|
|
9933
9994
|
error: {
|
|
9934
9995
|
/** @format int32 */
|
|
9935
9996
|
code: 404;
|
|
@@ -9939,9 +10000,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9939
10000
|
/**
|
|
9940
10001
|
* No description
|
|
9941
10002
|
*
|
|
9942
|
-
* @tags
|
|
10003
|
+
* @tags sso
|
|
9943
10004
|
* @name UpdateOrganizationSamlProvider
|
|
9944
|
-
* @summary Update a SAML provider
|
|
10005
|
+
* @summary Update a SAML provider
|
|
9945
10006
|
* @request PATCH:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9946
10007
|
* @secure
|
|
9947
10008
|
*/
|
|
@@ -9953,35 +10014,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9953
10014
|
defaultTeam?: string;
|
|
9954
10015
|
/** The role of a member in an organization, null for guests */
|
|
9955
10016
|
defaultRole?: MemberRoleOrGuest;
|
|
9956
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
10017
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, any>>;
|
|
9957
10018
|
/**
|
|
9958
10019
|
* No description
|
|
9959
10020
|
*
|
|
9960
|
-
* @tags
|
|
10021
|
+
* @tags sso
|
|
9961
10022
|
* @name DeleteOrganizationSamlProvider
|
|
9962
|
-
* @summary Delete a SAML provider
|
|
10023
|
+
* @summary Delete a SAML provider
|
|
9963
10024
|
* @request DELETE:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9964
10025
|
* @secure
|
|
9965
10026
|
*/
|
|
9966
|
-
deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10027
|
+
deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9967
10028
|
/**
|
|
9968
|
-
*
|
|
10029
|
+
* No description
|
|
9969
10030
|
*
|
|
9970
|
-
* @tags
|
|
10031
|
+
* @tags sso
|
|
9971
10032
|
* @name ListSsoProviderLoginsInOrganization
|
|
9972
|
-
* @summary List
|
|
10033
|
+
* @summary List all SSO provider login infos
|
|
9973
10034
|
* @request GET:/orgs/{organizationId}/sso
|
|
9974
10035
|
* @secure
|
|
9975
10036
|
*/
|
|
9976
10037
|
listSsoProviderLoginsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9977
10038
|
items: OrganizationSSOProviderLogin[];
|
|
9978
|
-
},
|
|
10039
|
+
}, any>>;
|
|
9979
10040
|
/**
|
|
9980
|
-
*
|
|
10041
|
+
* @description Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
9981
10042
|
*
|
|
9982
|
-
* @tags
|
|
10043
|
+
* @tags organization-ask
|
|
9983
10044
|
* @name AskInOrganization
|
|
9984
|
-
* @summary Ask a question
|
|
10045
|
+
* @summary Ask a question in an organization
|
|
9985
10046
|
* @request POST:/orgs/{organizationId}/ask
|
|
9986
10047
|
* @secure
|
|
9987
10048
|
*/
|
|
@@ -9993,33 +10054,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9993
10054
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
9994
10055
|
/** Answer from AI for a question asked on a content. */
|
|
9995
10056
|
answer?: SearchAIAnswer;
|
|
9996
|
-
},
|
|
10057
|
+
}, any>>;
|
|
9997
10058
|
/**
|
|
9998
10059
|
* No description
|
|
9999
10060
|
*
|
|
10000
|
-
* @tags
|
|
10061
|
+
* @tags organization-ask
|
|
10001
10062
|
* @name GetRecommendedQuestionsInOrganization
|
|
10002
|
-
* @summary
|
|
10063
|
+
* @summary List recommended questions to ask in an organization
|
|
10003
10064
|
* @request GET:/orgs/{organizationId}/ask/questions
|
|
10004
10065
|
* @secure
|
|
10005
10066
|
*/
|
|
10006
|
-
getRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions,
|
|
10067
|
+
getRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions, any>>;
|
|
10007
10068
|
/**
|
|
10008
10069
|
* No description
|
|
10009
10070
|
*
|
|
10010
|
-
* @tags
|
|
10071
|
+
* @tags organization-ask
|
|
10011
10072
|
* @name StreamRecommendedQuestionsInOrganization
|
|
10012
|
-
* @summary
|
|
10073
|
+
* @summary List recommended questions to ask in an organization (streamed)
|
|
10013
10074
|
* @request GET:/orgs/{organizationId}/ask/questions/stream
|
|
10014
10075
|
* @secure
|
|
10015
10076
|
*/
|
|
10016
10077
|
streamRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => EventIterator<SearchAIRecommendedQuestionStream>;
|
|
10017
10078
|
/**
|
|
10018
|
-
*
|
|
10079
|
+
* @description 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.
|
|
10019
10080
|
*
|
|
10020
|
-
* @tags
|
|
10081
|
+
* @tags organization-ask
|
|
10021
10082
|
* @name StreamAskInOrganization
|
|
10022
|
-
* @summary Ask a question
|
|
10083
|
+
* @summary Ask a question in an organization (streamed)
|
|
10023
10084
|
* @request GET:/orgs/{organizationId}/ask/stream
|
|
10024
10085
|
* @secure
|
|
10025
10086
|
*/
|
|
@@ -10035,7 +10096,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10035
10096
|
*
|
|
10036
10097
|
* @tags openapi
|
|
10037
10098
|
* @name ListOpenApiSpecs
|
|
10038
|
-
* @summary List all
|
|
10099
|
+
* @summary List all OpenAPI spec
|
|
10039
10100
|
* @request GET:/orgs/{organizationId}/openapi
|
|
10040
10101
|
* @secure
|
|
10041
10102
|
*/
|
|
@@ -10050,13 +10111,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10050
10111
|
limit?: number;
|
|
10051
10112
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10052
10113
|
items: OpenAPISpec[];
|
|
10053
|
-
},
|
|
10114
|
+
}, any>>;
|
|
10054
10115
|
/**
|
|
10055
10116
|
* No description
|
|
10056
10117
|
*
|
|
10057
10118
|
* @tags openapi
|
|
10058
10119
|
* @name CreateOpenApiSpec
|
|
10059
|
-
* @summary Create an
|
|
10120
|
+
* @summary Create an OpenAPI spec
|
|
10060
10121
|
* @request POST:/orgs/{organizationId}/openapi
|
|
10061
10122
|
* @secure
|
|
10062
10123
|
*/
|
|
@@ -10065,7 +10126,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10065
10126
|
slug: OpenAPISpecSlug;
|
|
10066
10127
|
/** Create a specification from an URL */
|
|
10067
10128
|
source: OpenAPISpecSource;
|
|
10068
|
-
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10129
|
+
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10069
10130
|
error: {
|
|
10070
10131
|
/** @format int32 */
|
|
10071
10132
|
code: 400;
|
|
@@ -10077,11 +10138,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10077
10138
|
*
|
|
10078
10139
|
* @tags openapi
|
|
10079
10140
|
* @name GetOpenApiSpecBySlug
|
|
10080
|
-
* @summary Get an
|
|
10141
|
+
* @summary Get an OpenAPI spec by its slug
|
|
10081
10142
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}
|
|
10082
10143
|
* @secure
|
|
10083
10144
|
*/
|
|
10084
|
-
getOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10145
|
+
getOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10085
10146
|
error: {
|
|
10086
10147
|
/** @format int32 */
|
|
10087
10148
|
code: 404;
|
|
@@ -10093,14 +10154,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10093
10154
|
*
|
|
10094
10155
|
* @tags openapi
|
|
10095
10156
|
* @name CreateOrUpdateOpenApiSpecBySlug
|
|
10096
|
-
* @summary Create or update an
|
|
10157
|
+
* @summary Create or update an OpenAPI spec
|
|
10097
10158
|
* @request PUT:/orgs/{organizationId}/openapi/{specSlug}
|
|
10098
10159
|
* @secure
|
|
10099
10160
|
*/
|
|
10100
10161
|
createOrUpdateOpenApiSpecBySlug: (organizationId: string, specSlug: string, data: {
|
|
10101
10162
|
/** Create a specification from an URL */
|
|
10102
10163
|
source: OpenAPISpecSource;
|
|
10103
|
-
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10164
|
+
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10104
10165
|
error: {
|
|
10105
10166
|
/** @format int32 */
|
|
10106
10167
|
code: 400;
|
|
@@ -10112,17 +10173,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10112
10173
|
*
|
|
10113
10174
|
* @tags openapi
|
|
10114
10175
|
* @name DeleteOpenApiSpecBySlug
|
|
10115
|
-
* @summary Delete an
|
|
10176
|
+
* @summary Delete an OpenAPI spec
|
|
10116
10177
|
* @request DELETE:/orgs/{organizationId}/openapi/{specSlug}
|
|
10117
10178
|
* @secure
|
|
10118
10179
|
*/
|
|
10119
|
-
deleteOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10180
|
+
deleteOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10120
10181
|
/**
|
|
10121
10182
|
* No description
|
|
10122
10183
|
*
|
|
10123
|
-
* @tags openapi
|
|
10184
|
+
* @tags openapi-versions
|
|
10124
10185
|
* @name ListOpenApiSpecVersions
|
|
10125
|
-
* @summary List all
|
|
10186
|
+
* @summary List all OpenAPI spec versions
|
|
10126
10187
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions
|
|
10127
10188
|
* @secure
|
|
10128
10189
|
*/
|
|
@@ -10137,7 +10198,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10137
10198
|
limit?: number;
|
|
10138
10199
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10139
10200
|
items: OpenAPISpecVersion[];
|
|
10140
|
-
},
|
|
10201
|
+
}, {
|
|
10141
10202
|
error: {
|
|
10142
10203
|
/** @format int32 */
|
|
10143
10204
|
code: 404;
|
|
@@ -10147,13 +10208,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10147
10208
|
/**
|
|
10148
10209
|
* No description
|
|
10149
10210
|
*
|
|
10150
|
-
* @tags openapi
|
|
10211
|
+
* @tags openapi-versions
|
|
10151
10212
|
* @name GetLatestOpenApiSpecVersion
|
|
10152
|
-
* @summary Get the latest OpenAPI
|
|
10213
|
+
* @summary Get the latest OpenAPI spec version
|
|
10153
10214
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest
|
|
10154
10215
|
* @secure
|
|
10155
10216
|
*/
|
|
10156
|
-
getLatestOpenApiSpecVersion: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion,
|
|
10217
|
+
getLatestOpenApiSpecVersion: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
10157
10218
|
error: {
|
|
10158
10219
|
/** @format int32 */
|
|
10159
10220
|
code: 404;
|
|
@@ -10163,13 +10224,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10163
10224
|
/**
|
|
10164
10225
|
* No description
|
|
10165
10226
|
*
|
|
10166
|
-
* @tags openapi
|
|
10227
|
+
* @tags openapi-versions
|
|
10167
10228
|
* @name GetLatestOpenApiSpecVersionContent
|
|
10168
|
-
* @summary Get the latest OpenAPI
|
|
10229
|
+
* @summary Get the latest OpenAPI spec version content
|
|
10169
10230
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content
|
|
10170
10231
|
* @secure
|
|
10171
10232
|
*/
|
|
10172
|
-
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent,
|
|
10233
|
+
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
10173
10234
|
error: {
|
|
10174
10235
|
/** @format int32 */
|
|
10175
10236
|
code: 404;
|
|
@@ -10179,13 +10240,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10179
10240
|
/**
|
|
10180
10241
|
* No description
|
|
10181
10242
|
*
|
|
10182
|
-
* @tags openapi
|
|
10243
|
+
* @tags openapi-versions
|
|
10183
10244
|
* @name GetOpenApiSpecVersionById
|
|
10184
|
-
* @summary Get an OpenAPI
|
|
10245
|
+
* @summary Get an OpenAPI spec version by its ID
|
|
10185
10246
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}
|
|
10186
10247
|
* @secure
|
|
10187
10248
|
*/
|
|
10188
|
-
getOpenApiSpecVersionById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion,
|
|
10249
|
+
getOpenApiSpecVersionById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
10189
10250
|
error: {
|
|
10190
10251
|
/** @format int32 */
|
|
10191
10252
|
code: 404;
|
|
@@ -10195,13 +10256,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10195
10256
|
/**
|
|
10196
10257
|
* No description
|
|
10197
10258
|
*
|
|
10198
|
-
* @tags openapi
|
|
10259
|
+
* @tags openapi-versions
|
|
10199
10260
|
* @name GetOpenApiSpecVersionContentById
|
|
10200
|
-
* @summary Get an OpenAPI
|
|
10261
|
+
* @summary Get an OpenAPI spec version content by its ID
|
|
10201
10262
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content
|
|
10202
10263
|
* @secure
|
|
10203
10264
|
*/
|
|
10204
|
-
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent,
|
|
10265
|
+
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
10205
10266
|
error: {
|
|
10206
10267
|
/** @format int32 */
|
|
10207
10268
|
code: 404;
|
|
@@ -10213,7 +10274,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10213
10274
|
*
|
|
10214
10275
|
* @tags translations
|
|
10215
10276
|
* @name ListTranslationSettings
|
|
10216
|
-
* @summary List all the translation settings
|
|
10277
|
+
* @summary List all the translation settings
|
|
10217
10278
|
* @request GET:/orgs/{organizationId}/translations
|
|
10218
10279
|
* @secure
|
|
10219
10280
|
*/
|
|
@@ -10228,20 +10289,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10228
10289
|
limit?: number;
|
|
10229
10290
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10230
10291
|
items: TranslationSettings[];
|
|
10231
|
-
},
|
|
10292
|
+
}, any>>;
|
|
10232
10293
|
/**
|
|
10233
10294
|
* No description
|
|
10234
10295
|
*
|
|
10235
10296
|
* @tags translations
|
|
10236
10297
|
* @name CreateTranslationSettings
|
|
10237
|
-
* @summary Create translation settings
|
|
10298
|
+
* @summary Create a translation settings
|
|
10238
10299
|
* @request POST:/orgs/{organizationId}/translations
|
|
10239
10300
|
* @secure
|
|
10240
10301
|
*/
|
|
10241
10302
|
createTranslationSettings: (organizationId: string, data: {
|
|
10242
10303
|
/** The title of the translation settings */
|
|
10243
10304
|
title: string;
|
|
10244
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10305
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10245
10306
|
error: {
|
|
10246
10307
|
/** @format int32 */
|
|
10247
10308
|
code: 400;
|
|
@@ -10253,11 +10314,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10253
10314
|
*
|
|
10254
10315
|
* @tags translations
|
|
10255
10316
|
* @name GetTranslationSettings
|
|
10256
|
-
* @summary Get
|
|
10317
|
+
* @summary Get a translation settings by its ID
|
|
10257
10318
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10258
10319
|
* @secure
|
|
10259
10320
|
*/
|
|
10260
|
-
getTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10321
|
+
getTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10261
10322
|
error: {
|
|
10262
10323
|
/** @format int32 */
|
|
10263
10324
|
code: 404;
|
|
@@ -10269,14 +10330,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10269
10330
|
*
|
|
10270
10331
|
* @tags translations
|
|
10271
10332
|
* @name UpdateTranslationSettings
|
|
10272
|
-
* @summary Update
|
|
10333
|
+
* @summary Update a translation settings
|
|
10273
10334
|
* @request PUT:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10274
10335
|
* @secure
|
|
10275
10336
|
*/
|
|
10276
10337
|
updateTranslationSettings: (organizationId: string, translationSettingsId: string, data: {
|
|
10277
10338
|
/** The title of the translation settings */
|
|
10278
10339
|
title: string;
|
|
10279
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10340
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10280
10341
|
error: {
|
|
10281
10342
|
/** @format int32 */
|
|
10282
10343
|
code: 400;
|
|
@@ -10288,17 +10349,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10288
10349
|
*
|
|
10289
10350
|
* @tags translations
|
|
10290
10351
|
* @name DeleteTranslationSettings
|
|
10291
|
-
* @summary Delete
|
|
10352
|
+
* @summary Delete a translation settings
|
|
10292
10353
|
* @request DELETE:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10293
10354
|
* @secure
|
|
10294
10355
|
*/
|
|
10295
|
-
deleteTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10356
|
+
deleteTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10296
10357
|
/**
|
|
10297
10358
|
* No description
|
|
10298
10359
|
*
|
|
10299
|
-
* @tags
|
|
10360
|
+
* @tags translation-languages
|
|
10300
10361
|
* @name ListTranslationLanguages
|
|
10301
|
-
* @summary List
|
|
10362
|
+
* @summary List all translation settings language
|
|
10302
10363
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}/languages
|
|
10303
10364
|
* @secure
|
|
10304
10365
|
*/
|
|
@@ -10313,7 +10374,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10313
10374
|
limit?: number;
|
|
10314
10375
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10315
10376
|
items: TranslationLanguageSettings[];
|
|
10316
|
-
},
|
|
10377
|
+
}, {
|
|
10317
10378
|
error: {
|
|
10318
10379
|
/** @format int32 */
|
|
10319
10380
|
code: 404;
|
|
@@ -10323,13 +10384,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10323
10384
|
/**
|
|
10324
10385
|
* No description
|
|
10325
10386
|
*
|
|
10326
|
-
* @tags
|
|
10387
|
+
* @tags translation-languages
|
|
10327
10388
|
* @name GetTranslationLanguage
|
|
10328
|
-
* @summary Get
|
|
10389
|
+
* @summary Get a translation settings language
|
|
10329
10390
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10330
10391
|
* @secure
|
|
10331
10392
|
*/
|
|
10332
|
-
getTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings,
|
|
10393
|
+
getTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings, {
|
|
10333
10394
|
error: {
|
|
10334
10395
|
/** @format int32 */
|
|
10335
10396
|
code: 404;
|
|
@@ -10339,15 +10400,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10339
10400
|
/**
|
|
10340
10401
|
* No description
|
|
10341
10402
|
*
|
|
10342
|
-
* @tags
|
|
10403
|
+
* @tags translation-languages
|
|
10343
10404
|
* @name CreateOrUpdateTranslationLanguage
|
|
10344
|
-
* @summary Create or update
|
|
10405
|
+
* @summary Create or update a translation settings language
|
|
10345
10406
|
* @request PUT:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10346
10407
|
* @secure
|
|
10347
10408
|
*/
|
|
10348
10409
|
createOrUpdateTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, data: {
|
|
10349
10410
|
instructions: JSONDocument;
|
|
10350
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings,
|
|
10411
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings, {
|
|
10351
10412
|
error: {
|
|
10352
10413
|
/** @format int32 */
|
|
10353
10414
|
code: 400;
|
|
@@ -10363,13 +10424,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10363
10424
|
/**
|
|
10364
10425
|
* No description
|
|
10365
10426
|
*
|
|
10366
|
-
* @tags
|
|
10427
|
+
* @tags translation-languages
|
|
10367
10428
|
* @name DeleteTranslationLanguage
|
|
10368
|
-
* @summary Remove
|
|
10429
|
+
* @summary Remove a translation settings language
|
|
10369
10430
|
* @request DELETE:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10370
10431
|
* @secure
|
|
10371
10432
|
*/
|
|
10372
|
-
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10433
|
+
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
10373
10434
|
error: {
|
|
10374
10435
|
/** @format int32 */
|
|
10375
10436
|
code: 404;
|
|
@@ -10379,7 +10440,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10379
10440
|
/**
|
|
10380
10441
|
* @description Generate a pre-signed URL that can be used to upload a file to storage
|
|
10381
10442
|
*
|
|
10382
|
-
* @tags
|
|
10443
|
+
* @tags storage
|
|
10383
10444
|
* @name GenerateStorageUploadUrl
|
|
10384
10445
|
* @summary Create a signed URL to upload a file
|
|
10385
10446
|
* @request POST:/orgs/{organizationId}/storage/upload
|
|
@@ -10388,7 +10449,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10388
10449
|
generateStorageUploadUrl: (organizationId: string, data: {
|
|
10389
10450
|
file: StorageFileMetadata;
|
|
10390
10451
|
kind: StorageUploadKind;
|
|
10391
|
-
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL,
|
|
10452
|
+
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL, {
|
|
10392
10453
|
error: {
|
|
10393
10454
|
/** @format int32 */
|
|
10394
10455
|
code: 400;
|
|
@@ -10398,15 +10459,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10398
10459
|
/**
|
|
10399
10460
|
* No description
|
|
10400
10461
|
*
|
|
10401
|
-
* @tags
|
|
10462
|
+
* @tags custom-fonts
|
|
10402
10463
|
* @name ListCustomFonts
|
|
10403
|
-
* @summary List custom fonts
|
|
10464
|
+
* @summary List all custom fonts
|
|
10404
10465
|
* @request GET:/orgs/{organizationId}/fonts
|
|
10405
10466
|
* @secure
|
|
10406
10467
|
*/
|
|
10407
10468
|
listCustomFonts: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10408
10469
|
items: CustomizationFontDefinition[];
|
|
10409
|
-
},
|
|
10470
|
+
}, {
|
|
10410
10471
|
error: {
|
|
10411
10472
|
/** @format int32 */
|
|
10412
10473
|
code: 404;
|
|
@@ -10416,9 +10477,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10416
10477
|
/**
|
|
10417
10478
|
* No description
|
|
10418
10479
|
*
|
|
10419
|
-
* @tags
|
|
10480
|
+
* @tags custom-fonts
|
|
10420
10481
|
* @name CreateCustomFont
|
|
10421
|
-
* @summary Create a custom font
|
|
10482
|
+
* @summary Create a custom font
|
|
10422
10483
|
* @request PUT:/orgs/{organizationId}/fonts
|
|
10423
10484
|
* @secure
|
|
10424
10485
|
*/
|
|
@@ -10436,7 +10497,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10436
10497
|
/** The path of the file in the storage bucket */
|
|
10437
10498
|
storageKey: StorageFileKey;
|
|
10438
10499
|
}[];
|
|
10439
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10500
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10440
10501
|
error: {
|
|
10441
10502
|
/** @format int32 */
|
|
10442
10503
|
code: 404;
|
|
@@ -10452,13 +10513,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10452
10513
|
/**
|
|
10453
10514
|
* No description
|
|
10454
10515
|
*
|
|
10455
|
-
* @tags
|
|
10516
|
+
* @tags custom-fonts
|
|
10456
10517
|
* @name GetCustomFont
|
|
10457
|
-
* @summary Get a custom font by its
|
|
10518
|
+
* @summary Get a custom font by its ID
|
|
10458
10519
|
* @request GET:/orgs/{organizationId}/fonts/{fontId}
|
|
10459
10520
|
* @secure
|
|
10460
10521
|
*/
|
|
10461
|
-
getCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10522
|
+
getCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10462
10523
|
error: {
|
|
10463
10524
|
/** @format int32 */
|
|
10464
10525
|
code: 404;
|
|
@@ -10468,7 +10529,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10468
10529
|
/**
|
|
10469
10530
|
* No description
|
|
10470
10531
|
*
|
|
10471
|
-
* @tags
|
|
10532
|
+
* @tags custom-fonts
|
|
10472
10533
|
* @name UpdateCustomFont
|
|
10473
10534
|
* @summary Update a custom font
|
|
10474
10535
|
* @request POST:/orgs/{organizationId}/fonts/{fontId}
|
|
@@ -10483,7 +10544,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10483
10544
|
weight: FontWeight;
|
|
10484
10545
|
storageKey: StorageFileKey | null;
|
|
10485
10546
|
}[];
|
|
10486
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10547
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10487
10548
|
error: {
|
|
10488
10549
|
/** @format int32 */
|
|
10489
10550
|
code: 404;
|
|
@@ -10499,13 +10560,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10499
10560
|
/**
|
|
10500
10561
|
* No description
|
|
10501
10562
|
*
|
|
10502
|
-
* @tags
|
|
10563
|
+
* @tags custom-fonts
|
|
10503
10564
|
* @name DeleteCustomFont
|
|
10504
|
-
* @summary Delete a custom font
|
|
10565
|
+
* @summary Delete a custom font
|
|
10505
10566
|
* @request DELETE:/orgs/{organizationId}/fonts/{fontId}
|
|
10506
10567
|
* @secure
|
|
10507
10568
|
*/
|
|
10508
|
-
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10569
|
+
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
10509
10570
|
error: {
|
|
10510
10571
|
/** @format int32 */
|
|
10511
10572
|
code: 404;
|
|
@@ -10517,7 +10578,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10517
10578
|
*
|
|
10518
10579
|
* @tags sites, critical
|
|
10519
10580
|
* @name ListSites
|
|
10520
|
-
* @summary List all
|
|
10581
|
+
* @summary List all sites
|
|
10521
10582
|
* @request GET:/orgs/{organizationId}/sites
|
|
10522
10583
|
* @secure
|
|
10523
10584
|
*/
|
|
@@ -10540,13 +10601,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10540
10601
|
type?: SiteType[];
|
|
10541
10602
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10542
10603
|
items: Site[];
|
|
10543
|
-
},
|
|
10604
|
+
}, any>>;
|
|
10544
10605
|
/**
|
|
10545
10606
|
* No description
|
|
10546
10607
|
*
|
|
10547
10608
|
* @tags sites
|
|
10548
10609
|
* @name CreateSite
|
|
10549
|
-
* @summary Create a site
|
|
10610
|
+
* @summary Create a site
|
|
10550
10611
|
* @request POST:/orgs/{organizationId}/sites
|
|
10551
10612
|
* @secure
|
|
10552
10613
|
*/
|
|
@@ -10565,17 +10626,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10565
10626
|
visibility?: SiteVisibility;
|
|
10566
10627
|
/** ID of spaces to be added to the site */
|
|
10567
10628
|
spaces?: string[] | "sample" | "empty";
|
|
10568
|
-
}, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10629
|
+
}, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10569
10630
|
/**
|
|
10570
10631
|
* No description
|
|
10571
10632
|
*
|
|
10572
10633
|
* @tags sites
|
|
10573
10634
|
* @name GetSiteById
|
|
10574
|
-
* @summary Get
|
|
10635
|
+
* @summary Get a site by its ID
|
|
10575
10636
|
* @request GET:/orgs/{organizationId}/sites/{siteId}
|
|
10576
10637
|
* @secure
|
|
10577
10638
|
*/
|
|
10578
|
-
getSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10639
|
+
getSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, {
|
|
10579
10640
|
error: {
|
|
10580
10641
|
/** @format int32 */
|
|
10581
10642
|
code: 404;
|
|
@@ -10587,7 +10648,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10587
10648
|
*
|
|
10588
10649
|
* @tags sites
|
|
10589
10650
|
* @name UpdateSiteById
|
|
10590
|
-
* @summary Update a site
|
|
10651
|
+
* @summary Update a site
|
|
10591
10652
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}
|
|
10592
10653
|
* @secure
|
|
10593
10654
|
*/
|
|
@@ -10614,30 +10675,65 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10614
10675
|
* Use `null` to remove the proxy.
|
|
10615
10676
|
*/
|
|
10616
10677
|
proxy?: SiteProxyOrigin | null;
|
|
10617
|
-
}, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10678
|
+
}, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10618
10679
|
/**
|
|
10619
10680
|
* No description
|
|
10620
10681
|
*
|
|
10621
10682
|
* @tags sites
|
|
10622
10683
|
* @name DeleteSiteById
|
|
10623
|
-
* @summary Delete a site
|
|
10684
|
+
* @summary Delete a site
|
|
10624
10685
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}
|
|
10625
10686
|
* @secure
|
|
10626
10687
|
*/
|
|
10627
|
-
deleteSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10688
|
+
deleteSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10689
|
+
/**
|
|
10690
|
+
* No description
|
|
10691
|
+
*
|
|
10692
|
+
* @tags sites
|
|
10693
|
+
* @name GetSiteAdaptiveSchema
|
|
10694
|
+
* @summary Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
10695
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
10696
|
+
* @secure
|
|
10697
|
+
*/
|
|
10698
|
+
getSiteAdaptiveSchema: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
10699
|
+
error: {
|
|
10700
|
+
/** @format int32 */
|
|
10701
|
+
code: 404;
|
|
10702
|
+
message: string;
|
|
10703
|
+
};
|
|
10704
|
+
}>>;
|
|
10628
10705
|
/**
|
|
10629
10706
|
* No description
|
|
10630
10707
|
*
|
|
10631
10708
|
* @tags sites
|
|
10709
|
+
* @name CreateOrUpdateSiteAdaptiveSchema
|
|
10710
|
+
* @summary Create or update the JSON schema of the attributes expected for an Adaptive content site visitor.
|
|
10711
|
+
* @request PUT:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
10712
|
+
* @secure
|
|
10713
|
+
*/
|
|
10714
|
+
createOrUpdateSiteAdaptiveSchema: (organizationId: string, siteId: string, data: {
|
|
10715
|
+
/** The JSON schema to set on the site. */
|
|
10716
|
+
jsonSchema: SiteAdaptiveJSONSchema;
|
|
10717
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
10718
|
+
error: {
|
|
10719
|
+
/** @format int32 */
|
|
10720
|
+
code: 400;
|
|
10721
|
+
message: string;
|
|
10722
|
+
};
|
|
10723
|
+
}>>;
|
|
10724
|
+
/**
|
|
10725
|
+
* @description Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
10726
|
+
*
|
|
10727
|
+
* @tags sites
|
|
10632
10728
|
* @name GetPublishedContentSite
|
|
10633
|
-
* @summary Get
|
|
10729
|
+
* @summary Get a published site
|
|
10634
10730
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/published
|
|
10635
10731
|
* @secure
|
|
10636
10732
|
*/
|
|
10637
10733
|
getPublishedContentSite: (organizationId: string, siteId: string, query?: {
|
|
10638
10734
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
10639
10735
|
shareKey?: string;
|
|
10640
|
-
}, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite,
|
|
10736
|
+
}, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite, {
|
|
10641
10737
|
error: {
|
|
10642
10738
|
/** @format int32 */
|
|
10643
10739
|
code: 404;
|
|
@@ -10649,7 +10745,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10649
10745
|
*
|
|
10650
10746
|
* @tags sites
|
|
10651
10747
|
* @name PublishSite
|
|
10652
|
-
* @summary
|
|
10748
|
+
* @summary Publish a site
|
|
10653
10749
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publish
|
|
10654
10750
|
* @secure
|
|
10655
10751
|
*/
|
|
@@ -10657,23 +10753,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10657
10753
|
type: "checkout";
|
|
10658
10754
|
/** Stripe payment session ID */
|
|
10659
10755
|
sessionId: string;
|
|
10660
|
-
},
|
|
10756
|
+
}, any>>;
|
|
10661
10757
|
/**
|
|
10662
10758
|
* No description
|
|
10663
10759
|
*
|
|
10664
10760
|
* @tags sites
|
|
10665
10761
|
* @name UnpublishSite
|
|
10666
|
-
* @summary
|
|
10762
|
+
* @summary Unpublish a site
|
|
10667
10763
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/unpublish
|
|
10668
10764
|
* @secure
|
|
10669
10765
|
*/
|
|
10670
|
-
unpublishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10766
|
+
unpublishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10671
10767
|
/**
|
|
10672
10768
|
* No description
|
|
10673
10769
|
*
|
|
10674
|
-
* @tags
|
|
10770
|
+
* @tags site-share-links
|
|
10675
10771
|
* @name ListSiteShareLinks
|
|
10676
|
-
* @summary List all
|
|
10772
|
+
* @summary List all share links
|
|
10677
10773
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
10678
10774
|
* @secure
|
|
10679
10775
|
*/
|
|
@@ -10688,26 +10784,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10688
10784
|
limit?: number;
|
|
10689
10785
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10690
10786
|
items: ShareLink[];
|
|
10691
|
-
},
|
|
10787
|
+
}, any>>;
|
|
10692
10788
|
/**
|
|
10693
10789
|
* No description
|
|
10694
10790
|
*
|
|
10695
|
-
* @tags
|
|
10791
|
+
* @tags site-share-links
|
|
10696
10792
|
* @name CreateSiteShareLink
|
|
10697
|
-
* @summary Create a share link
|
|
10793
|
+
* @summary Create a share link
|
|
10698
10794
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
10699
10795
|
* @secure
|
|
10700
10796
|
*/
|
|
10701
10797
|
createSiteShareLink: (organizationId: string, siteId: string, data: {
|
|
10702
10798
|
/** Name of the share link */
|
|
10703
10799
|
name: ShareLinkName;
|
|
10704
|
-
}, params?: RequestParams) => Promise<HttpResponse<ShareLink,
|
|
10800
|
+
}, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
|
|
10705
10801
|
/**
|
|
10706
10802
|
* No description
|
|
10707
10803
|
*
|
|
10708
|
-
* @tags
|
|
10804
|
+
* @tags site-share-links
|
|
10709
10805
|
* @name UpdateSiteShareLinkById
|
|
10710
|
-
* @summary Update
|
|
10806
|
+
* @summary Update a share link
|
|
10711
10807
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
10712
10808
|
* @secure
|
|
10713
10809
|
*/
|
|
@@ -10715,30 +10811,30 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10715
10811
|
active?: boolean;
|
|
10716
10812
|
/** Name of the share link */
|
|
10717
10813
|
name?: ShareLinkName;
|
|
10718
|
-
}, params?: RequestParams) => Promise<HttpResponse<ShareLink,
|
|
10814
|
+
}, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
|
|
10719
10815
|
/**
|
|
10720
10816
|
* No description
|
|
10721
10817
|
*
|
|
10722
|
-
* @tags
|
|
10818
|
+
* @tags site-share-links
|
|
10723
10819
|
* @name DeleteSiteShareLinkById
|
|
10724
|
-
* @summary Deletes a
|
|
10820
|
+
* @summary Deletes a share link
|
|
10725
10821
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
10726
10822
|
* @secure
|
|
10727
10823
|
*/
|
|
10728
|
-
deleteSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10824
|
+
deleteSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10729
10825
|
/**
|
|
10730
|
-
*
|
|
10826
|
+
* @description Get the complete structure of a site that includes all its site-sections and site-spaces.
|
|
10731
10827
|
*
|
|
10732
|
-
* @tags
|
|
10828
|
+
* @tags site-structure
|
|
10733
10829
|
* @name GetSiteStructure
|
|
10734
|
-
* @summary Get
|
|
10830
|
+
* @summary Get a site structure
|
|
10735
10831
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/structure
|
|
10736
10832
|
* @secure
|
|
10737
10833
|
*/
|
|
10738
10834
|
getSiteStructure: (organizationId: string, siteId: string, query?: {
|
|
10739
10835
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
10740
10836
|
shareKey?: string;
|
|
10741
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteStructure,
|
|
10837
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteStructure, {
|
|
10742
10838
|
error: {
|
|
10743
10839
|
/** @format int32 */
|
|
10744
10840
|
code: 404;
|
|
@@ -10748,13 +10844,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10748
10844
|
/**
|
|
10749
10845
|
* No description
|
|
10750
10846
|
*
|
|
10751
|
-
* @tags
|
|
10847
|
+
* @tags site-publishing-auth
|
|
10752
10848
|
* @name GetSitePublishingAuthById
|
|
10753
|
-
* @summary Get
|
|
10849
|
+
* @summary Get a site auth config
|
|
10754
10850
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
10755
10851
|
* @secure
|
|
10756
10852
|
*/
|
|
10757
|
-
getSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10853
|
+
getSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10758
10854
|
error: {
|
|
10759
10855
|
/** @format int32 */
|
|
10760
10856
|
code: 400;
|
|
@@ -10764,13 +10860,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10764
10860
|
/**
|
|
10765
10861
|
* No description
|
|
10766
10862
|
*
|
|
10767
|
-
* @tags
|
|
10863
|
+
* @tags site-publishing-auth
|
|
10768
10864
|
* @name UpdateSitePublishingAuthById
|
|
10769
|
-
* @summary Update
|
|
10865
|
+
* @summary Update a site auth config
|
|
10770
10866
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
10771
10867
|
* @secure
|
|
10772
10868
|
*/
|
|
10773
|
-
updateSitePublishingAuthById: (organizationId: string, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10869
|
+
updateSitePublishingAuthById: (organizationId: string, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10774
10870
|
error: {
|
|
10775
10871
|
/** @format int32 */
|
|
10776
10872
|
code: 400;
|
|
@@ -10778,15 +10874,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10778
10874
|
};
|
|
10779
10875
|
}>>;
|
|
10780
10876
|
/**
|
|
10781
|
-
*
|
|
10877
|
+
* @description Regenerate the publishing authentication settings for a site. This will re-generate the private key.
|
|
10782
10878
|
*
|
|
10783
|
-
* @tags
|
|
10879
|
+
* @tags site-publishing-auth
|
|
10784
10880
|
* @name RegenerateSitePublishingAuthById
|
|
10785
|
-
* @summary Regenerate
|
|
10881
|
+
* @summary Regenerate a site auth
|
|
10786
10882
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate
|
|
10787
10883
|
* @secure
|
|
10788
10884
|
*/
|
|
10789
|
-
regenerateSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10885
|
+
regenerateSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10790
10886
|
error: {
|
|
10791
10887
|
/** @format int32 */
|
|
10792
10888
|
code: 400;
|
|
@@ -10794,11 +10890,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10794
10890
|
};
|
|
10795
10891
|
}>>;
|
|
10796
10892
|
/**
|
|
10797
|
-
*
|
|
10893
|
+
* @description Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.
|
|
10798
10894
|
*
|
|
10799
|
-
* @tags
|
|
10895
|
+
* @tags site-preview
|
|
10800
10896
|
* @name GetSitePublishingPreviewById
|
|
10801
|
-
* @summary Get a
|
|
10897
|
+
* @summary Get a site preview URL
|
|
10802
10898
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/preview
|
|
10803
10899
|
* @secure
|
|
10804
10900
|
*/
|
|
@@ -10809,7 +10905,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10809
10905
|
claims?: string;
|
|
10810
10906
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
10811
10907
|
url: URL;
|
|
10812
|
-
},
|
|
10908
|
+
}, {
|
|
10813
10909
|
error: {
|
|
10814
10910
|
/** @format int32 */
|
|
10815
10911
|
code: 400;
|
|
@@ -10819,9 +10915,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10819
10915
|
/**
|
|
10820
10916
|
* No description
|
|
10821
10917
|
*
|
|
10822
|
-
* @tags
|
|
10918
|
+
* @tags site-customization
|
|
10823
10919
|
* @name GetSiteCustomizationById
|
|
10824
|
-
* @summary Get
|
|
10920
|
+
* @summary Get a site customization settings
|
|
10825
10921
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/customization
|
|
10826
10922
|
* @secure
|
|
10827
10923
|
*/
|
|
@@ -10832,7 +10928,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10832
10928
|
* @default false
|
|
10833
10929
|
*/
|
|
10834
10930
|
unmasked?: boolean;
|
|
10835
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
10931
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
10836
10932
|
error: {
|
|
10837
10933
|
/** @format int32 */
|
|
10838
10934
|
code: 400;
|
|
@@ -10842,13 +10938,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10842
10938
|
/**
|
|
10843
10939
|
* No description
|
|
10844
10940
|
*
|
|
10845
|
-
* @tags
|
|
10941
|
+
* @tags site-customization
|
|
10846
10942
|
* @name UpdateSiteCustomizationById
|
|
10847
|
-
* @summary Update
|
|
10943
|
+
* @summary Update a site customization settings
|
|
10848
10944
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/customization
|
|
10849
10945
|
* @secure
|
|
10850
10946
|
*/
|
|
10851
|
-
updateSiteCustomizationById: (organizationId: string, siteId: string, data: SiteCustomizationSettings, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
10947
|
+
updateSiteCustomizationById: (organizationId: string, siteId: string, data: SiteCustomizationSettings, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
10852
10948
|
error: {
|
|
10853
10949
|
/** @format int32 */
|
|
10854
10950
|
code: 400;
|
|
@@ -10864,7 +10960,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10864
10960
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/integration-scripts
|
|
10865
10961
|
* @secure
|
|
10866
10962
|
*/
|
|
10867
|
-
listSiteIntegrationScripts: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[],
|
|
10963
|
+
listSiteIntegrationScripts: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[], {
|
|
10868
10964
|
error: {
|
|
10869
10965
|
/** @format int32 */
|
|
10870
10966
|
code: 400;
|
|
@@ -10885,13 +10981,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10885
10981
|
search?: string;
|
|
10886
10982
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10887
10983
|
items: Integration[];
|
|
10888
|
-
},
|
|
10984
|
+
}, any>>;
|
|
10889
10985
|
/**
|
|
10890
10986
|
* No description
|
|
10891
10987
|
*
|
|
10892
|
-
* @tags
|
|
10988
|
+
* @tags site-spaces
|
|
10893
10989
|
* @name AddSpaceToSite
|
|
10894
|
-
* @summary Add a space to a site
|
|
10990
|
+
* @summary Add a space to a site
|
|
10895
10991
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
10896
10992
|
* @secure
|
|
10897
10993
|
*/
|
|
@@ -10900,13 +10996,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10900
10996
|
spaceId: string;
|
|
10901
10997
|
/** ID of the section to add the space to. If not provided, the space will be added to the default section or at the root level if the site has no sections. */
|
|
10902
10998
|
sectionId?: string;
|
|
10903
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
10999
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
10904
11000
|
/**
|
|
10905
11001
|
* No description
|
|
10906
11002
|
*
|
|
10907
|
-
* @tags
|
|
11003
|
+
* @tags site-spaces, critical
|
|
10908
11004
|
* @name ListSiteSpaces
|
|
10909
|
-
* @summary List all the site spaces
|
|
11005
|
+
* @summary List all the site spaces
|
|
10910
11006
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
10911
11007
|
* @secure
|
|
10912
11008
|
*/
|
|
@@ -10925,13 +11021,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10925
11021
|
default?: boolean;
|
|
10926
11022
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10927
11023
|
items: SiteSpace[];
|
|
10928
|
-
},
|
|
11024
|
+
}, any>>;
|
|
10929
11025
|
/**
|
|
10930
11026
|
* No description
|
|
10931
11027
|
*
|
|
10932
|
-
* @tags
|
|
11028
|
+
* @tags site-section-groups
|
|
10933
11029
|
* @name ListSiteSectionGroups
|
|
10934
|
-
* @summary List all
|
|
11030
|
+
* @summary List all site section groups
|
|
10935
11031
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
10936
11032
|
* @secure
|
|
10937
11033
|
*/
|
|
@@ -10946,13 +11042,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10946
11042
|
limit?: number;
|
|
10947
11043
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10948
11044
|
items: SiteSectionGroup[];
|
|
10949
|
-
},
|
|
11045
|
+
}, any>>;
|
|
10950
11046
|
/**
|
|
10951
11047
|
* No description
|
|
10952
11048
|
*
|
|
10953
|
-
* @tags
|
|
11049
|
+
* @tags site-section-groups
|
|
10954
11050
|
* @name AddSectionGroupToSite
|
|
10955
|
-
* @summary Add a section group to a site
|
|
11051
|
+
* @summary Add a section group to a site
|
|
10956
11052
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
10957
11053
|
* @secure
|
|
10958
11054
|
*/
|
|
@@ -10962,13 +11058,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10962
11058
|
icon?: Icon | null;
|
|
10963
11059
|
/** IDs of the sections to be added to the section group */
|
|
10964
11060
|
sections?: string[];
|
|
10965
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11061
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
10966
11062
|
/**
|
|
10967
11063
|
* No description
|
|
10968
11064
|
*
|
|
10969
|
-
* @tags
|
|
11065
|
+
* @tags site-section-groups
|
|
10970
11066
|
* @name UpdateSiteSectionGroupById
|
|
10971
|
-
* @summary Update a section group
|
|
11067
|
+
* @summary Update a site section group
|
|
10972
11068
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
10973
11069
|
* @secure
|
|
10974
11070
|
*/
|
|
@@ -10976,21 +11072,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10976
11072
|
/** Title of the site section group */
|
|
10977
11073
|
title?: SiteSectionGroupTitle;
|
|
10978
11074
|
icon?: Icon | null;
|
|
10979
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11075
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
10980
11076
|
/**
|
|
10981
11077
|
* No description
|
|
10982
11078
|
*
|
|
10983
|
-
* @tags
|
|
11079
|
+
* @tags site-section-groups
|
|
10984
11080
|
* @name DeleteSiteSectionGroupById
|
|
10985
|
-
* @summary Delete a section group
|
|
11081
|
+
* @summary Delete a site section group
|
|
10986
11082
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
10987
11083
|
* @secure
|
|
10988
11084
|
*/
|
|
10989
|
-
deleteSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11085
|
+
deleteSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10990
11086
|
/**
|
|
10991
11087
|
* No description
|
|
10992
11088
|
*
|
|
10993
|
-
* @tags
|
|
11089
|
+
* @tags site-section-groups
|
|
10994
11090
|
* @name AddSectionToGroup
|
|
10995
11091
|
* @summary Add a section to a section group
|
|
10996
11092
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections
|
|
@@ -10999,23 +11095,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10999
11095
|
addSectionToGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
|
|
11000
11096
|
/** ID of the section to add to the section group */
|
|
11001
11097
|
sectionId: string;
|
|
11002
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11098
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
11003
11099
|
/**
|
|
11004
11100
|
* No description
|
|
11005
11101
|
*
|
|
11006
|
-
* @tags
|
|
11102
|
+
* @tags site-section-groups
|
|
11007
11103
|
* @name RemoveSectionFromGroup
|
|
11008
11104
|
* @summary Remove a section from a section group
|
|
11009
11105
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}
|
|
11010
11106
|
* @secure
|
|
11011
11107
|
*/
|
|
11012
|
-
removeSectionFromGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11108
|
+
removeSectionFromGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11013
11109
|
/**
|
|
11014
11110
|
* No description
|
|
11015
11111
|
*
|
|
11016
|
-
* @tags
|
|
11112
|
+
* @tags site-sections
|
|
11017
11113
|
* @name AddSectionToSite
|
|
11018
|
-
* @summary Add a section to a site
|
|
11114
|
+
* @summary Add a section to a site
|
|
11019
11115
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/sections
|
|
11020
11116
|
* @secure
|
|
11021
11117
|
*/
|
|
@@ -11027,13 +11123,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11027
11123
|
* @maxLength 64
|
|
11028
11124
|
*/
|
|
11029
11125
|
title?: string;
|
|
11030
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11126
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
11031
11127
|
/**
|
|
11032
11128
|
* No description
|
|
11033
11129
|
*
|
|
11034
|
-
* @tags
|
|
11130
|
+
* @tags site-sections
|
|
11035
11131
|
* @name ListSiteSections
|
|
11036
|
-
* @summary List all
|
|
11132
|
+
* @summary List all site sections
|
|
11037
11133
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/sections
|
|
11038
11134
|
* @secure
|
|
11039
11135
|
*/
|
|
@@ -11050,13 +11146,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11050
11146
|
limit?: number;
|
|
11051
11147
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11052
11148
|
items: SiteSection[];
|
|
11053
|
-
},
|
|
11149
|
+
}, any>>;
|
|
11054
11150
|
/**
|
|
11055
11151
|
* No description
|
|
11056
11152
|
*
|
|
11057
|
-
* @tags
|
|
11153
|
+
* @tags site-sections
|
|
11058
11154
|
* @name UpdateSiteSectionById
|
|
11059
|
-
* @summary Update a
|
|
11155
|
+
* @summary Update a site section
|
|
11060
11156
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
11061
11157
|
* @secure
|
|
11062
11158
|
*/
|
|
@@ -11071,23 +11167,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11071
11167
|
condition?: Condition | null;
|
|
11072
11168
|
icon?: Icon | null;
|
|
11073
11169
|
description?: SiteSectionDescription | null;
|
|
11074
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11170
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
11075
11171
|
/**
|
|
11076
11172
|
* No description
|
|
11077
11173
|
*
|
|
11078
|
-
* @tags
|
|
11174
|
+
* @tags site-sections
|
|
11079
11175
|
* @name DeleteSiteSectionById
|
|
11080
|
-
* @summary Delete a
|
|
11176
|
+
* @summary Delete a site section
|
|
11081
11177
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
11082
11178
|
* @secure
|
|
11083
11179
|
*/
|
|
11084
|
-
deleteSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11180
|
+
deleteSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11085
11181
|
/**
|
|
11086
11182
|
* No description
|
|
11087
11183
|
*
|
|
11088
11184
|
* @tags sites
|
|
11089
11185
|
* @name SearchSiteContent
|
|
11090
|
-
* @summary Search
|
|
11186
|
+
* @summary Search in a site
|
|
11091
11187
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/search
|
|
11092
11188
|
* @secure
|
|
11093
11189
|
*/
|
|
@@ -11129,13 +11225,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11129
11225
|
limit?: number;
|
|
11130
11226
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11131
11227
|
items: SearchSpaceResult[];
|
|
11132
|
-
},
|
|
11228
|
+
}, any>>;
|
|
11133
11229
|
/**
|
|
11134
|
-
*
|
|
11230
|
+
* @description The response is streamed.
|
|
11135
11231
|
*
|
|
11136
|
-
* @tags
|
|
11232
|
+
* @tags site-ask
|
|
11137
11233
|
* @name StreamAskInSite
|
|
11138
|
-
* @summary Ask a question in a site
|
|
11234
|
+
* @summary Ask a question in a site
|
|
11139
11235
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ask
|
|
11140
11236
|
* @secure
|
|
11141
11237
|
*/
|
|
@@ -11152,11 +11248,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11152
11248
|
format?: "document" | "markdown";
|
|
11153
11249
|
}, params?: RequestParams) => EventIterator<SearchAIAnswerStream>;
|
|
11154
11250
|
/**
|
|
11155
|
-
*
|
|
11251
|
+
* @description The response is streamed.
|
|
11156
11252
|
*
|
|
11157
|
-
* @tags
|
|
11253
|
+
* @tags site-ask
|
|
11158
11254
|
* @name StreamRecommendedQuestionsInSite
|
|
11159
|
-
* @summary
|
|
11255
|
+
* @summary List recommended questions to ask in a site
|
|
11160
11256
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/ask/questions
|
|
11161
11257
|
* @secure
|
|
11162
11258
|
*/
|
|
@@ -11164,9 +11260,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11164
11260
|
/**
|
|
11165
11261
|
* No description
|
|
11166
11262
|
*
|
|
11167
|
-
* @tags
|
|
11263
|
+
* @tags site-spaces
|
|
11168
11264
|
* @name UpdateSiteSpaceById
|
|
11169
|
-
* @summary Update a
|
|
11265
|
+
* @summary Update a site space
|
|
11170
11266
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
11171
11267
|
* @secure
|
|
11172
11268
|
*/
|
|
@@ -11175,23 +11271,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11175
11271
|
path?: SiteSpacePath;
|
|
11176
11272
|
/** Conditional expression used to evaluate whether the site space should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed. */
|
|
11177
11273
|
condition?: Condition | null;
|
|
11178
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
11274
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
11179
11275
|
/**
|
|
11180
11276
|
* No description
|
|
11181
11277
|
*
|
|
11182
|
-
* @tags
|
|
11278
|
+
* @tags site-spaces
|
|
11183
11279
|
* @name DeleteSiteSpaceById
|
|
11184
|
-
* @summary Delete a
|
|
11280
|
+
* @summary Delete a site space
|
|
11185
11281
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
11186
11282
|
* @secure
|
|
11187
11283
|
*/
|
|
11188
|
-
deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11284
|
+
deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11189
11285
|
/**
|
|
11190
11286
|
* No description
|
|
11191
11287
|
*
|
|
11192
|
-
* @tags
|
|
11288
|
+
* @tags site-customization
|
|
11193
11289
|
* @name GetSiteSpaceCustomizationById
|
|
11194
|
-
* @summary Get
|
|
11290
|
+
* @summary Get a site space customization settings
|
|
11195
11291
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11196
11292
|
* @secure
|
|
11197
11293
|
*/
|
|
@@ -11202,7 +11298,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11202
11298
|
* @default false
|
|
11203
11299
|
*/
|
|
11204
11300
|
unmasked?: boolean;
|
|
11205
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
11301
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
11206
11302
|
error: {
|
|
11207
11303
|
/** @format int32 */
|
|
11208
11304
|
code: 400;
|
|
@@ -11212,9 +11308,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11212
11308
|
/**
|
|
11213
11309
|
* No description
|
|
11214
11310
|
*
|
|
11215
|
-
* @tags
|
|
11311
|
+
* @tags site-customization
|
|
11216
11312
|
* @name OverrideSiteSpaceCustomizationById
|
|
11217
|
-
* @summary Override
|
|
11313
|
+
* @summary Override a site space customization settings
|
|
11218
11314
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11219
11315
|
* @secure
|
|
11220
11316
|
*/
|
|
@@ -11327,7 +11423,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11327
11423
|
/** The URL for the social preview image. Set to null to reset the override. */
|
|
11328
11424
|
url?: URL | null;
|
|
11329
11425
|
};
|
|
11330
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
11426
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
11331
11427
|
error: {
|
|
11332
11428
|
/** @format int32 */
|
|
11333
11429
|
code: 400;
|
|
@@ -11337,13 +11433,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11337
11433
|
/**
|
|
11338
11434
|
* No description
|
|
11339
11435
|
*
|
|
11340
|
-
* @tags
|
|
11436
|
+
* @tags site-customization
|
|
11341
11437
|
* @name DeleteSiteSpaceCustomizationById
|
|
11342
|
-
* @summary
|
|
11438
|
+
* @summary Delete a site space customization settings
|
|
11343
11439
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11344
11440
|
* @secure
|
|
11345
11441
|
*/
|
|
11346
|
-
deleteSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11442
|
+
deleteSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
11347
11443
|
error: {
|
|
11348
11444
|
/** @format int32 */
|
|
11349
11445
|
code: 400;
|
|
@@ -11353,16 +11449,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11353
11449
|
/**
|
|
11354
11450
|
* No description
|
|
11355
11451
|
*
|
|
11356
|
-
* @tags
|
|
11452
|
+
* @tags site-section-groups
|
|
11357
11453
|
* @name MoveSiteSectionGroup
|
|
11358
|
-
* @summary Move a site section group to a new position
|
|
11454
|
+
* @summary Move a site section group to a new position
|
|
11359
11455
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move
|
|
11360
11456
|
* @secure
|
|
11361
11457
|
*/
|
|
11362
11458
|
moveSiteSectionGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
|
|
11363
11459
|
/** The position where to move the site section group. When not provided the site section group is moved at the end of the site. */
|
|
11364
11460
|
position?: SiteSectionGroupMovePosition;
|
|
11365
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11461
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, {
|
|
11366
11462
|
error: {
|
|
11367
11463
|
/** @format int32 */
|
|
11368
11464
|
code: 400;
|
|
@@ -11378,16 +11474,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11378
11474
|
/**
|
|
11379
11475
|
* No description
|
|
11380
11476
|
*
|
|
11381
|
-
* @tags
|
|
11477
|
+
* @tags site-sections
|
|
11382
11478
|
* @name MoveSiteSection
|
|
11383
|
-
* @summary Move a site section to a new position
|
|
11479
|
+
* @summary Move a site section to a new position
|
|
11384
11480
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move
|
|
11385
11481
|
* @secure
|
|
11386
11482
|
*/
|
|
11387
11483
|
moveSiteSection: (organizationId: string, siteId: string, siteSectionId: string, data: {
|
|
11388
11484
|
/** The position where to move the site section. When not provided the site section is moved at the end of the site. */
|
|
11389
11485
|
position?: SiteSectionMovePosition;
|
|
11390
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11486
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, {
|
|
11391
11487
|
error: {
|
|
11392
11488
|
/** @format int32 */
|
|
11393
11489
|
code: 400;
|
|
@@ -11403,16 +11499,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11403
11499
|
/**
|
|
11404
11500
|
* No description
|
|
11405
11501
|
*
|
|
11406
|
-
* @tags
|
|
11502
|
+
* @tags site-spaces
|
|
11407
11503
|
* @name MoveSiteSpace
|
|
11408
|
-
* @summary Move a site space to a new position
|
|
11504
|
+
* @summary Move a site space to a new position
|
|
11409
11505
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move
|
|
11410
11506
|
* @secure
|
|
11411
11507
|
*/
|
|
11412
11508
|
moveSiteSpace: (organizationId: string, siteId: string, siteSpaceId: string, data: {
|
|
11413
11509
|
/** The position where to move the site space. When not provided the site space is moved at the end of the site. */
|
|
11414
11510
|
position?: SiteSpaceMovePosition;
|
|
11415
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
11511
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, {
|
|
11416
11512
|
error: {
|
|
11417
11513
|
/** @format int32 */
|
|
11418
11514
|
code: 400;
|
|
@@ -11428,9 +11524,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11428
11524
|
/**
|
|
11429
11525
|
* No description
|
|
11430
11526
|
*
|
|
11431
|
-
* @tags
|
|
11527
|
+
* @tags site-users
|
|
11432
11528
|
* @name ListPermissionsAggregateInSite
|
|
11433
|
-
* @summary List
|
|
11529
|
+
* @summary List all sites users permissions
|
|
11434
11530
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/aggregate
|
|
11435
11531
|
* @secure
|
|
11436
11532
|
*/
|
|
@@ -11445,7 +11541,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11445
11541
|
limit?: number;
|
|
11446
11542
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11447
11543
|
items: UserSitePermission[];
|
|
11448
|
-
},
|
|
11544
|
+
}, any>>;
|
|
11449
11545
|
/**
|
|
11450
11546
|
* @description Experimental operation to generate an AI response in a site.
|
|
11451
11547
|
*
|
|
@@ -11465,23 +11561,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11465
11561
|
tools?: AIToolCapabilities;
|
|
11466
11562
|
}, params?: RequestParams) => EventIterator<AIStreamResponse>;
|
|
11467
11563
|
/**
|
|
11468
|
-
*
|
|
11564
|
+
* No description
|
|
11469
11565
|
*
|
|
11470
|
-
* @tags
|
|
11566
|
+
* @tags site-insights
|
|
11471
11567
|
* @name TrackEventsInSiteById
|
|
11472
|
-
* @summary Track events
|
|
11568
|
+
* @summary Track site events
|
|
11473
11569
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events
|
|
11474
11570
|
* @secure
|
|
11475
11571
|
*/
|
|
11476
11572
|
trackEventsInSiteById: (organizationId: string, siteId: string, data: {
|
|
11477
11573
|
events: SiteInsightsEvent[];
|
|
11478
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11574
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11479
11575
|
/**
|
|
11480
11576
|
* No description
|
|
11481
11577
|
*
|
|
11482
|
-
* @tags
|
|
11578
|
+
* @tags site-insights
|
|
11483
11579
|
* @name AggregateSiteEvents
|
|
11484
|
-
* @summary Query
|
|
11580
|
+
* @summary Query site events
|
|
11485
11581
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
|
|
11486
11582
|
* @secure
|
|
11487
11583
|
*/
|
|
@@ -11489,9 +11585,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11489
11585
|
/**
|
|
11490
11586
|
* No description
|
|
11491
11587
|
*
|
|
11492
|
-
* @tags
|
|
11588
|
+
* @tags site-insights
|
|
11493
11589
|
* @name ListSiteVisitorSegments
|
|
11494
|
-
* @summary List visitor segments
|
|
11590
|
+
* @summary List a site visitor segments
|
|
11495
11591
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments
|
|
11496
11592
|
* @secure
|
|
11497
11593
|
*/
|
|
@@ -11501,9 +11597,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11501
11597
|
/**
|
|
11502
11598
|
* No description
|
|
11503
11599
|
*
|
|
11504
|
-
* @tags
|
|
11600
|
+
* @tags site-ads
|
|
11505
11601
|
* @name UpdateSiteAdsById
|
|
11506
|
-
* @summary
|
|
11602
|
+
* @summary Update a site ads settings
|
|
11507
11603
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ads
|
|
11508
11604
|
* @secure
|
|
11509
11605
|
*/
|
|
@@ -11511,13 +11607,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11511
11607
|
status?: "in-review" | "disabled";
|
|
11512
11608
|
/** Topic of the content */
|
|
11513
11609
|
topic?: SiteAdsTopic;
|
|
11514
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11610
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11515
11611
|
/**
|
|
11516
11612
|
* No description
|
|
11517
11613
|
*
|
|
11518
|
-
* @tags
|
|
11614
|
+
* @tags site-redirects
|
|
11519
11615
|
* @name CreateSiteRedirect
|
|
11520
|
-
* @summary
|
|
11616
|
+
* @summary Create a site redirect
|
|
11521
11617
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
11522
11618
|
* @secure
|
|
11523
11619
|
*/
|
|
@@ -11525,13 +11621,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11525
11621
|
/** The source path to redirect from. */
|
|
11526
11622
|
source: SiteRedirectSourcePath;
|
|
11527
11623
|
destination: SiteRedirectDestination;
|
|
11528
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect,
|
|
11624
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect, any>>;
|
|
11529
11625
|
/**
|
|
11530
11626
|
* No description
|
|
11531
11627
|
*
|
|
11532
|
-
* @tags
|
|
11628
|
+
* @tags site-redirects
|
|
11533
11629
|
* @name ListSiteRedirects
|
|
11534
|
-
* @summary List
|
|
11630
|
+
* @summary List all site redirects
|
|
11535
11631
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
11536
11632
|
* @secure
|
|
11537
11633
|
*/
|
|
@@ -11546,13 +11642,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11546
11642
|
limit?: number;
|
|
11547
11643
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11548
11644
|
items: SiteRedirect[];
|
|
11549
|
-
},
|
|
11645
|
+
}, any>>;
|
|
11550
11646
|
/**
|
|
11551
11647
|
* No description
|
|
11552
11648
|
*
|
|
11553
|
-
* @tags
|
|
11649
|
+
* @tags site-redirects
|
|
11554
11650
|
* @name UpdateSiteRedirectById
|
|
11555
|
-
* @summary Update a redirect
|
|
11651
|
+
* @summary Update a site redirect
|
|
11556
11652
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
11557
11653
|
* @secure
|
|
11558
11654
|
*/
|
|
@@ -11560,23 +11656,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11560
11656
|
/** The source path to redirect from. */
|
|
11561
11657
|
source?: SiteRedirectSourcePath;
|
|
11562
11658
|
destination?: SiteRedirectDestination;
|
|
11563
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect,
|
|
11659
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect, any>>;
|
|
11564
11660
|
/**
|
|
11565
11661
|
* No description
|
|
11566
11662
|
*
|
|
11567
|
-
* @tags
|
|
11663
|
+
* @tags site-redirects
|
|
11568
11664
|
* @name DeleteSiteRedirectById
|
|
11569
|
-
* @summary Delete a redirect
|
|
11665
|
+
* @summary Delete a site redirect
|
|
11570
11666
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
11571
11667
|
* @secure
|
|
11572
11668
|
*/
|
|
11573
|
-
deleteSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11669
|
+
deleteSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11574
11670
|
/**
|
|
11575
11671
|
* No description
|
|
11576
11672
|
*
|
|
11577
|
-
* @tags
|
|
11673
|
+
* @tags site-redirects
|
|
11578
11674
|
* @name GetSiteRedirectBySource
|
|
11579
|
-
* @summary
|
|
11675
|
+
* @summary Get a site redirect by its source
|
|
11580
11676
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirect
|
|
11581
11677
|
* @secure
|
|
11582
11678
|
*/
|
|
@@ -11589,7 +11685,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11589
11685
|
redirect: SiteRedirect;
|
|
11590
11686
|
/** URL of the destination of the redirect. */
|
|
11591
11687
|
target: string;
|
|
11592
|
-
},
|
|
11688
|
+
}, {
|
|
11593
11689
|
error: {
|
|
11594
11690
|
/** @format int32 */
|
|
11595
11691
|
code: 404;
|
|
@@ -11603,11 +11699,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11603
11699
|
*
|
|
11604
11700
|
* @tags subdomains
|
|
11605
11701
|
* @name GetSubdomain
|
|
11606
|
-
* @summary Get
|
|
11702
|
+
* @summary Get a subdomain
|
|
11607
11703
|
* @request GET:/subdomains/{subdomain}
|
|
11608
11704
|
* @secure
|
|
11609
11705
|
*/
|
|
11610
|
-
getSubdomain: (subdomain: string, params?: RequestParams) => Promise<HttpResponse<Subdomain,
|
|
11706
|
+
getSubdomain: (subdomain: string, params?: RequestParams) => Promise<HttpResponse<Subdomain, any>>;
|
|
11611
11707
|
};
|
|
11612
11708
|
customHostnames: {
|
|
11613
11709
|
/**
|
|
@@ -11615,21 +11711,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11615
11711
|
*
|
|
11616
11712
|
* @tags custom-hostnames
|
|
11617
11713
|
* @name GetCustomHostname
|
|
11618
|
-
* @summary Get
|
|
11714
|
+
* @summary Get a custom hostname
|
|
11619
11715
|
* @request GET:/custom-hostnames/{hostname}
|
|
11620
11716
|
* @secure
|
|
11621
11717
|
*/
|
|
11622
|
-
getCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<CustomHostname,
|
|
11718
|
+
getCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<CustomHostname, any>>;
|
|
11623
11719
|
/**
|
|
11624
|
-
*
|
|
11720
|
+
* @description Revalidate DNS records and status.
|
|
11625
11721
|
*
|
|
11626
11722
|
* @tags custom-hostnames
|
|
11627
11723
|
* @name DnsRevalidateCustomHostname
|
|
11628
|
-
* @summary Revalidate a custom hostname
|
|
11724
|
+
* @summary Revalidate a custom hostname DNS
|
|
11629
11725
|
* @request PATCH:/custom-hostnames/{hostname}
|
|
11630
11726
|
* @secure
|
|
11631
11727
|
*/
|
|
11632
|
-
dnsRevalidateCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11728
|
+
dnsRevalidateCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
11633
11729
|
error: {
|
|
11634
11730
|
/** @format int32 */
|
|
11635
11731
|
code: 409;
|
|
@@ -11637,35 +11733,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11637
11733
|
};
|
|
11638
11734
|
}>>;
|
|
11639
11735
|
/**
|
|
11640
|
-
*
|
|
11736
|
+
* @description The custom hostname will continue to point to the content or organization unless it is used for another one.
|
|
11641
11737
|
*
|
|
11642
11738
|
* @tags custom-hostnames
|
|
11643
11739
|
* @name RemoveCustomHostname
|
|
11644
|
-
* @summary Remove a custom hostname
|
|
11740
|
+
* @summary Remove a custom hostname
|
|
11645
11741
|
* @request DELETE:/custom-hostnames/{hostname}
|
|
11646
11742
|
* @secure
|
|
11647
11743
|
*/
|
|
11648
|
-
removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11744
|
+
removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11649
11745
|
};
|
|
11650
11746
|
emailDomains: {
|
|
11651
11747
|
/**
|
|
11652
11748
|
* No description
|
|
11653
11749
|
*
|
|
11654
|
-
* @tags
|
|
11750
|
+
* @tags organizations
|
|
11655
11751
|
* @name GetOrganizationsForEmailDomain
|
|
11656
|
-
* @summary Get all organizations by email domain
|
|
11752
|
+
* @summary Get all organizations by email domain
|
|
11657
11753
|
* @request GET:/email-domains/{emailDomain}/orgs
|
|
11658
11754
|
* @secure
|
|
11659
11755
|
*/
|
|
11660
11756
|
getOrganizationsForEmailDomain: (emailDomain: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
11661
11757
|
organizations?: Organization[];
|
|
11662
|
-
},
|
|
11758
|
+
}, any>>;
|
|
11663
11759
|
};
|
|
11664
11760
|
ads: {
|
|
11665
11761
|
/**
|
|
11666
11762
|
* No description
|
|
11667
11763
|
*
|
|
11668
|
-
* @tags ads
|
|
11764
|
+
* @tags site-ads
|
|
11669
11765
|
* @name AdsListSites
|
|
11670
11766
|
* @summary List all the sites with ads configured
|
|
11671
11767
|
* @request GET:/ads/sites
|
|
@@ -11703,11 +11799,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11703
11799
|
/** Reason for the rejection */
|
|
11704
11800
|
reason?: string;
|
|
11705
11801
|
}))[];
|
|
11706
|
-
},
|
|
11802
|
+
}, any>>;
|
|
11707
11803
|
/**
|
|
11708
11804
|
* No description
|
|
11709
11805
|
*
|
|
11710
|
-
* @tags ads
|
|
11806
|
+
* @tags site-ads
|
|
11711
11807
|
* @name AdsUpdateSite
|
|
11712
11808
|
* @summary Update the Ads configuration for a site
|
|
11713
11809
|
* @request PATCH:/ads/sites/{siteId}
|
|
@@ -11728,7 +11824,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11728
11824
|
reason?: string;
|
|
11729
11825
|
} | {
|
|
11730
11826
|
status: "pending";
|
|
11731
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11827
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11732
11828
|
};
|
|
11733
11829
|
urls: {
|
|
11734
11830
|
/**
|
|
@@ -11749,7 +11845,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11749
11845
|
space: Space;
|
|
11750
11846
|
changeRequest?: ChangeRequest;
|
|
11751
11847
|
page?: RevisionPageDocument | RevisionPageGroup;
|
|
11752
|
-
},
|
|
11848
|
+
}, any>>;
|
|
11753
11849
|
/**
|
|
11754
11850
|
* No description
|
|
11755
11851
|
*
|
|
@@ -11762,7 +11858,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11762
11858
|
getEmbedByUrl: (query: {
|
|
11763
11859
|
/** URL to resolve */
|
|
11764
11860
|
url: string;
|
|
11765
|
-
}, params?: RequestParams) => Promise<HttpResponse<Embed,
|
|
11861
|
+
}, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
|
|
11766
11862
|
/**
|
|
11767
11863
|
* No description
|
|
11768
11864
|
*
|
|
@@ -11782,7 +11878,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11782
11878
|
* @default false
|
|
11783
11879
|
*/
|
|
11784
11880
|
redirectOnError?: boolean;
|
|
11785
|
-
}, params?: RequestParams) => Promise<HttpResponse<PublishedSiteContentLookup,
|
|
11881
|
+
}, params?: RequestParams) => Promise<HttpResponse<PublishedSiteContentLookup, {
|
|
11786
11882
|
error: {
|
|
11787
11883
|
/** @format int32 */
|
|
11788
11884
|
code: 404;
|