@gitbook/api 0.109.0 → 0.111.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 +888 -792
- package/dist/index.cjs +28 -18
- package/dist/index.js +27 -18
- package/package.json +1 -1
- package/spec/openapi.json +1301 -1534
- package/spec/openapi.yaml +1213 -1192
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;
|
|
@@ -988,7 +981,9 @@ export interface DocumentBlockTabs {
|
|
|
988
981
|
key?: string;
|
|
989
982
|
nodes: DocumentBlockTabsItem[];
|
|
990
983
|
isVoid?: false;
|
|
991
|
-
data?:
|
|
984
|
+
data?: {
|
|
985
|
+
fullWidth?: boolean;
|
|
986
|
+
};
|
|
992
987
|
}
|
|
993
988
|
/** Pointer to an operation in the OpenAPI spec. */
|
|
994
989
|
export interface OpenAPIOperationPointer {
|
|
@@ -1049,6 +1044,26 @@ export interface DocumentBlockOpenAPISchemas {
|
|
|
1049
1044
|
id: string;
|
|
1050
1045
|
};
|
|
1051
1046
|
}
|
|
1047
|
+
/** Pointer to a webhook in the OpenAPI spec. */
|
|
1048
|
+
export interface OpenAPIWebhookPointer {
|
|
1049
|
+
/** Name of the webhook in the OpenAPI spec. */
|
|
1050
|
+
name: string;
|
|
1051
|
+
/** HTTP method of the webhook in the OpenAPI spec. */
|
|
1052
|
+
method: string;
|
|
1053
|
+
}
|
|
1054
|
+
export interface DocumentBlockOpenAPIWebhook {
|
|
1055
|
+
object: 'block';
|
|
1056
|
+
type: 'openapi-webhook';
|
|
1057
|
+
key?: string;
|
|
1058
|
+
data: OpenAPIWebhookPointer & {
|
|
1059
|
+
ref: ContentRefOpenAPI;
|
|
1060
|
+
};
|
|
1061
|
+
isVoid: true;
|
|
1062
|
+
meta?: {
|
|
1063
|
+
/** Unique ID to be used in an URL for the block. */
|
|
1064
|
+
id: string;
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1052
1067
|
export interface DocumentBlockStepperStep {
|
|
1053
1068
|
object: 'block';
|
|
1054
1069
|
type: 'stepper-step';
|
|
@@ -1067,7 +1082,7 @@ export interface DocumentBlockStepper {
|
|
|
1067
1082
|
isVoid?: false;
|
|
1068
1083
|
data?: object;
|
|
1069
1084
|
}
|
|
1070
|
-
export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep;
|
|
1085
|
+
export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep;
|
|
1071
1086
|
export interface DocumentInlineMention {
|
|
1072
1087
|
object: 'inline';
|
|
1073
1088
|
type: 'mention';
|
|
@@ -1091,7 +1106,7 @@ export interface DocumentInlineButton {
|
|
|
1091
1106
|
};
|
|
1092
1107
|
isVoid: true;
|
|
1093
1108
|
}
|
|
1094
|
-
export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
|
|
1109
|
+
export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
|
|
1095
1110
|
export interface JSONDocument {
|
|
1096
1111
|
object: 'document';
|
|
1097
1112
|
data: {
|
|
@@ -1514,8 +1529,7 @@ export declare enum ImportContentSource {
|
|
|
1514
1529
|
DropboxPaper = "dropbox-paper",
|
|
1515
1530
|
Notion = "notion",
|
|
1516
1531
|
Quip = "quip",
|
|
1517
|
-
GoogleDocs = "google-docs"
|
|
1518
|
-
OpenApi = "open-api"
|
|
1532
|
+
GoogleDocs = "google-docs"
|
|
1519
1533
|
}
|
|
1520
1534
|
export interface ImportContent {
|
|
1521
1535
|
/**
|
|
@@ -1598,6 +1612,15 @@ export declare enum BillingInterval {
|
|
|
1598
1612
|
Monthly = "monthly",
|
|
1599
1613
|
Yearly = "yearly"
|
|
1600
1614
|
}
|
|
1615
|
+
export interface OrganizationBilling {
|
|
1616
|
+
/** Interval for a billing subscription */
|
|
1617
|
+
interval: BillingInterval;
|
|
1618
|
+
endDate: Timestamp | null;
|
|
1619
|
+
/** If true, we were unable to collect the last payment */
|
|
1620
|
+
hasPaymentFailed: boolean;
|
|
1621
|
+
/** If true, the billing is set to cancel at the end of its current period */
|
|
1622
|
+
isScheduledToCancel: boolean;
|
|
1623
|
+
}
|
|
1601
1624
|
/** - 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. */
|
|
1602
1625
|
export declare enum BillingTrialStatus {
|
|
1603
1626
|
Notapplicable = "notapplicable",
|
|
@@ -1635,15 +1658,8 @@ export interface Organization {
|
|
|
1635
1658
|
inviteLinks: boolean;
|
|
1636
1659
|
/** Name of the product */
|
|
1637
1660
|
plan: BillingProduct;
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
interval: BillingInterval;
|
|
1641
|
-
endDate?: Timestamp;
|
|
1642
|
-
/** If true, we were unable to collect the last payment */
|
|
1643
|
-
hasPaymentFailed: boolean;
|
|
1644
|
-
/** If true, the billing is set to cancel at the end of its current period */
|
|
1645
|
-
isScheduledToCancel: boolean;
|
|
1646
|
-
};
|
|
1661
|
+
/** Billing details, only available for org members. */
|
|
1662
|
+
billing?: OrganizationBilling;
|
|
1647
1663
|
/** URLs associated with the object */
|
|
1648
1664
|
urls: {
|
|
1649
1665
|
/**
|
|
@@ -3981,6 +3997,13 @@ export interface MigrateOrganizationParameters {
|
|
|
3981
3997
|
})[];
|
|
3982
3998
|
};
|
|
3983
3999
|
}
|
|
4000
|
+
export interface Error {
|
|
4001
|
+
error: {
|
|
4002
|
+
/** @format int32 */
|
|
4003
|
+
code: number;
|
|
4004
|
+
message: string;
|
|
4005
|
+
};
|
|
4006
|
+
}
|
|
3984
4007
|
export interface BillingDiscount {
|
|
3985
4008
|
/** How many months the discount will last */
|
|
3986
4009
|
duration: number;
|
|
@@ -4002,6 +4025,14 @@ export interface BillingPortal {
|
|
|
4002
4025
|
/** URL to the billing portal for an organization */
|
|
4003
4026
|
url: string;
|
|
4004
4027
|
}
|
|
4028
|
+
export declare enum BillingSwitchAction {
|
|
4029
|
+
Trial = "trial",
|
|
4030
|
+
Upgrade = "upgrade",
|
|
4031
|
+
UpgradePassive = "upgrade_passive",
|
|
4032
|
+
Downgrade = "downgrade",
|
|
4033
|
+
UndoCancel = "undo_cancel",
|
|
4034
|
+
SwitchInterval = "switch_interval"
|
|
4035
|
+
}
|
|
4005
4036
|
/** Search result representing a space. */
|
|
4006
4037
|
export interface SearchSpaceResult {
|
|
4007
4038
|
id: string;
|
|
@@ -4366,6 +4397,46 @@ export type BillingOperationPreviewResponse = {
|
|
|
4366
4397
|
plan: BillingProduct;
|
|
4367
4398
|
invoice?: BillingInvoicePreview;
|
|
4368
4399
|
};
|
|
4400
|
+
export type Properties = Record<string, {
|
|
4401
|
+
type: 'boolean';
|
|
4402
|
+
description: string;
|
|
4403
|
+
} | {
|
|
4404
|
+
type: 'string';
|
|
4405
|
+
enum: string[];
|
|
4406
|
+
description: string;
|
|
4407
|
+
} | {
|
|
4408
|
+
type: 'object';
|
|
4409
|
+
description: string;
|
|
4410
|
+
properties: Properties;
|
|
4411
|
+
additionalProperties: false;
|
|
4412
|
+
}>;
|
|
4413
|
+
/** JSON schema describing the expected attributes of an Adaptive site schema. */
|
|
4414
|
+
export interface SiteAdaptiveJSONSchema {
|
|
4415
|
+
$schema?: 'http://json-schema.org/draft-07/schema#';
|
|
4416
|
+
$id?: string;
|
|
4417
|
+
type: 'object';
|
|
4418
|
+
properties: Record<string, {
|
|
4419
|
+
type: 'boolean';
|
|
4420
|
+
description: string;
|
|
4421
|
+
} | {
|
|
4422
|
+
type: 'string';
|
|
4423
|
+
enum: string[];
|
|
4424
|
+
description: string;
|
|
4425
|
+
} | {
|
|
4426
|
+
type: 'object';
|
|
4427
|
+
description: string;
|
|
4428
|
+
properties: Properties;
|
|
4429
|
+
additionalProperties: false;
|
|
4430
|
+
}>;
|
|
4431
|
+
additionalProperties: false;
|
|
4432
|
+
}
|
|
4433
|
+
export interface SiteAdaptiveSchema {
|
|
4434
|
+
object: 'site-adaptive-schema';
|
|
4435
|
+
/** JSON schema describing the expected attributes of an Adaptive site schema. */
|
|
4436
|
+
jsonSchema: SiteAdaptiveJSONSchema;
|
|
4437
|
+
/** When the adaptive schema was updated. */
|
|
4438
|
+
updatedAt: Timestamp;
|
|
4439
|
+
}
|
|
4369
4440
|
/**
|
|
4370
4441
|
* The theme to apply to the site. Supercedes the old header preset themes.
|
|
4371
4442
|
* - `clean`: Modern theme featuring translucency and minimally-styled elements.
|
|
@@ -6237,6 +6308,10 @@ export interface SiteStructureChannel {
|
|
|
6237
6308
|
channel: 'site-structure';
|
|
6238
6309
|
site: string;
|
|
6239
6310
|
}
|
|
6311
|
+
export interface SiteAdaptiveSchemaChannel {
|
|
6312
|
+
channel: 'site-adaptive-schema';
|
|
6313
|
+
site: string;
|
|
6314
|
+
}
|
|
6240
6315
|
export interface SitePublishingAuthChannel {
|
|
6241
6316
|
channel: 'site-publishing-auth';
|
|
6242
6317
|
site: string;
|
|
@@ -6282,7 +6357,7 @@ export interface TranslationSettingsChannel {
|
|
|
6282
6357
|
translation: string;
|
|
6283
6358
|
}
|
|
6284
6359
|
/** Channel to subscribe to for realtime updates. */
|
|
6285
|
-
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;
|
|
6360
|
+
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;
|
|
6286
6361
|
export interface GitSyncOperationChannelData {
|
|
6287
6362
|
channel: 'space-gitsync-operation';
|
|
6288
6363
|
data: GitSyncOperation;
|
|
@@ -6510,15 +6585,15 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
6510
6585
|
*/
|
|
6511
6586
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
6512
6587
|
/**
|
|
6513
|
-
* @description Access the release version and build date of the GitBook codebase
|
|
6588
|
+
* @description Access the release version and build date of the GitBook codebase.
|
|
6514
6589
|
*
|
|
6515
|
-
* @tags
|
|
6590
|
+
* @tags system
|
|
6516
6591
|
* @name GetApiInformation
|
|
6517
|
-
* @summary Get information
|
|
6592
|
+
* @summary Get API information
|
|
6518
6593
|
* @request GET:/
|
|
6519
6594
|
* @secure
|
|
6520
6595
|
*/
|
|
6521
|
-
getApiInformation: (params?: RequestParams) => Promise<HttpResponse<ApiInformation,
|
|
6596
|
+
getApiInformation: (params?: RequestParams) => Promise<HttpResponse<ApiInformation, any>>;
|
|
6522
6597
|
user: {
|
|
6523
6598
|
/**
|
|
6524
6599
|
* @description Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
@@ -6529,7 +6604,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6529
6604
|
* @request GET:/user
|
|
6530
6605
|
* @secure
|
|
6531
6606
|
*/
|
|
6532
|
-
getAuthenticatedUser: (params?: RequestParams) => Promise<HttpResponse<User,
|
|
6607
|
+
getAuthenticatedUser: (params?: RequestParams) => Promise<HttpResponse<User, {
|
|
6608
|
+
error: {
|
|
6609
|
+
/** @format int32 */
|
|
6610
|
+
code: 404;
|
|
6611
|
+
message: string;
|
|
6612
|
+
};
|
|
6613
|
+
}>>;
|
|
6533
6614
|
};
|
|
6534
6615
|
users: {
|
|
6535
6616
|
/**
|
|
@@ -6541,7 +6622,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6541
6622
|
* @request GET:/users/{userId}
|
|
6542
6623
|
* @secure
|
|
6543
6624
|
*/
|
|
6544
|
-
getUserById: (userId: string, params?: RequestParams) => Promise<HttpResponse<User,
|
|
6625
|
+
getUserById: (userId: string, params?: RequestParams) => Promise<HttpResponse<User, {
|
|
6626
|
+
error: {
|
|
6627
|
+
/** @format int32 */
|
|
6628
|
+
code: 404;
|
|
6629
|
+
message: string;
|
|
6630
|
+
};
|
|
6631
|
+
}>>;
|
|
6545
6632
|
};
|
|
6546
6633
|
spaces: {
|
|
6547
6634
|
/**
|
|
@@ -6549,20 +6636,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6549
6636
|
*
|
|
6550
6637
|
* @tags spaces, critical
|
|
6551
6638
|
* @name GetSpaceById
|
|
6552
|
-
* @summary Get
|
|
6639
|
+
* @summary Get a space by its ID
|
|
6553
6640
|
* @request GET:/spaces/{spaceId}
|
|
6554
6641
|
* @secure
|
|
6555
6642
|
*/
|
|
6556
6643
|
getSpaceById: (spaceId: string, query?: {
|
|
6557
6644
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
6558
6645
|
shareKey?: string;
|
|
6559
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6646
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6560
6647
|
/**
|
|
6561
6648
|
* No description
|
|
6562
6649
|
*
|
|
6563
6650
|
* @tags spaces
|
|
6564
6651
|
* @name UpdateSpaceById
|
|
6565
|
-
* @summary Update
|
|
6652
|
+
* @summary Update a space
|
|
6566
6653
|
* @request PATCH:/spaces/{spaceId}
|
|
6567
6654
|
* @secure
|
|
6568
6655
|
*/
|
|
@@ -6585,43 +6672,43 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6585
6672
|
} | {
|
|
6586
6673
|
emoji?: null;
|
|
6587
6674
|
icon?: null;
|
|
6588
|
-
}), params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6675
|
+
}), params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6589
6676
|
/**
|
|
6590
|
-
*
|
|
6677
|
+
* @description Deleted spaces will be permanently removed after 7 days.
|
|
6591
6678
|
*
|
|
6592
6679
|
* @tags spaces
|
|
6593
6680
|
* @name DeleteSpaceById
|
|
6594
|
-
* @summary
|
|
6681
|
+
* @summary Delete a space
|
|
6595
6682
|
* @request DELETE:/spaces/{spaceId}
|
|
6596
6683
|
* @secure
|
|
6597
6684
|
*/
|
|
6598
|
-
deleteSpaceById: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6685
|
+
deleteSpaceById: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6599
6686
|
/**
|
|
6600
6687
|
* No description
|
|
6601
6688
|
*
|
|
6602
6689
|
* @tags spaces
|
|
6603
6690
|
* @name DuplicateSpace
|
|
6604
|
-
* @summary
|
|
6691
|
+
* @summary Duplicate a space
|
|
6605
6692
|
* @request POST:/spaces/{spaceId}/duplicate
|
|
6606
6693
|
* @secure
|
|
6607
6694
|
*/
|
|
6608
|
-
duplicateSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6695
|
+
duplicateSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6609
6696
|
/**
|
|
6610
|
-
*
|
|
6697
|
+
* @description Only spaces deleted in the last 7 days can be restored.
|
|
6611
6698
|
*
|
|
6612
6699
|
* @tags spaces
|
|
6613
6700
|
* @name RestoreSpace
|
|
6614
|
-
* @summary Restore a
|
|
6701
|
+
* @summary Restore a deleted space
|
|
6615
6702
|
* @request POST:/spaces/{spaceId}/restore
|
|
6616
6703
|
* @secure
|
|
6617
6704
|
*/
|
|
6618
|
-
restoreSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6705
|
+
restoreSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
6619
6706
|
/**
|
|
6620
6707
|
* No description
|
|
6621
6708
|
*
|
|
6622
6709
|
* @tags spaces
|
|
6623
6710
|
* @name MoveSpace
|
|
6624
|
-
* @summary Move a space to a new position
|
|
6711
|
+
* @summary Move a space to a new position
|
|
6625
6712
|
* @request POST:/spaces/{spaceId}/move
|
|
6626
6713
|
* @secure
|
|
6627
6714
|
*/
|
|
@@ -6630,7 +6717,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6630
6717
|
parent?: string | null;
|
|
6631
6718
|
/** Where to move the space. By default, it will be moved at the end. */
|
|
6632
6719
|
position?: ContentPosition;
|
|
6633
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6720
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
6634
6721
|
error: {
|
|
6635
6722
|
/** @format int32 */
|
|
6636
6723
|
code: 400;
|
|
@@ -6650,18 +6737,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6650
6737
|
};
|
|
6651
6738
|
}>>;
|
|
6652
6739
|
/**
|
|
6653
|
-
*
|
|
6740
|
+
* @description Transfer a space to another organization, collection or both.
|
|
6654
6741
|
*
|
|
6655
6742
|
* @tags spaces
|
|
6656
6743
|
* @name TransferSpace
|
|
6657
|
-
* @summary Transfer a space
|
|
6744
|
+
* @summary Transfer a space
|
|
6658
6745
|
* @request POST:/spaces/{spaceId}/transfer
|
|
6659
6746
|
* @secure
|
|
6660
6747
|
*/
|
|
6661
6748
|
transferSpace: (spaceId: string, data: {
|
|
6662
6749
|
/** The unique id of the target organization */
|
|
6663
6750
|
organization: string;
|
|
6664
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
6751
|
+
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
6665
6752
|
error: {
|
|
6666
6753
|
/** @format int32 */
|
|
6667
6754
|
code: 404;
|
|
@@ -6683,7 +6770,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6683
6770
|
/**
|
|
6684
6771
|
* No description
|
|
6685
6772
|
*
|
|
6686
|
-
* @tags
|
|
6773
|
+
* @tags space-embeds
|
|
6687
6774
|
* @name GetEmbedByUrlInSpace
|
|
6688
6775
|
* @summary Resolve a URL to an embed in a given space
|
|
6689
6776
|
* @request GET:/spaces/{spaceId}/embed
|
|
@@ -6692,11 +6779,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6692
6779
|
getEmbedByUrlInSpace: (spaceId: string, query: {
|
|
6693
6780
|
/** URL to resolve */
|
|
6694
6781
|
url: string;
|
|
6695
|
-
}, params?: RequestParams) => Promise<HttpResponse<Embed,
|
|
6782
|
+
}, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
|
|
6696
6783
|
/**
|
|
6697
6784
|
* No description
|
|
6698
6785
|
*
|
|
6699
|
-
* @tags
|
|
6786
|
+
* @tags space-content
|
|
6700
6787
|
* @name SearchSpaceContent
|
|
6701
6788
|
* @summary Search content in a space
|
|
6702
6789
|
* @request GET:/spaces/{spaceId}/search
|
|
@@ -6715,37 +6802,37 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6715
6802
|
limit?: number;
|
|
6716
6803
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6717
6804
|
items: SearchPageResult[];
|
|
6718
|
-
},
|
|
6805
|
+
}, any>>;
|
|
6719
6806
|
/**
|
|
6720
6807
|
* No description
|
|
6721
6808
|
*
|
|
6722
|
-
* @tags
|
|
6809
|
+
* @tags space-git
|
|
6723
6810
|
* @name ImportGitRepository
|
|
6724
6811
|
* @summary Import a Git repository
|
|
6725
6812
|
* @request POST:/spaces/{spaceId}/git/import
|
|
6726
6813
|
* @secure
|
|
6727
6814
|
*/
|
|
6728
|
-
importGitRepository: (spaceId: string, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6815
|
+
importGitRepository: (spaceId: string, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6729
6816
|
/**
|
|
6730
6817
|
* No description
|
|
6731
6818
|
*
|
|
6732
|
-
* @tags
|
|
6819
|
+
* @tags space-git
|
|
6733
6820
|
* @name ExportToGitRepository
|
|
6734
|
-
* @summary Export the
|
|
6821
|
+
* @summary Export the to a Git repository
|
|
6735
6822
|
* @request POST:/spaces/{spaceId}/git/export
|
|
6736
6823
|
* @secure
|
|
6737
6824
|
*/
|
|
6738
|
-
exportToGitRepository: (spaceId: string, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6825
|
+
exportToGitRepository: (spaceId: string, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
6739
6826
|
/**
|
|
6740
|
-
*
|
|
6827
|
+
* @description Get metadata about the Git Sync provider currently set up on the space.
|
|
6741
6828
|
*
|
|
6742
|
-
* @tags
|
|
6829
|
+
* @tags space-git
|
|
6743
6830
|
* @name GetSpaceGitInfo
|
|
6744
|
-
* @summary Get
|
|
6831
|
+
* @summary Get space Git info
|
|
6745
6832
|
* @request GET:/spaces/{spaceId}/git/info
|
|
6746
6833
|
* @secure
|
|
6747
6834
|
*/
|
|
6748
|
-
getSpaceGitInfo: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<GitSyncState,
|
|
6835
|
+
getSpaceGitInfo: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<GitSyncState, {
|
|
6749
6836
|
error: {
|
|
6750
6837
|
/** @format int32 */
|
|
6751
6838
|
code: 404;
|
|
@@ -6755,13 +6842,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6755
6842
|
/**
|
|
6756
6843
|
* No description
|
|
6757
6844
|
*
|
|
6758
|
-
* @tags
|
|
6845
|
+
* @tags space-users, space-teams
|
|
6759
6846
|
* @name InviteToSpace
|
|
6760
|
-
* @summary Invite to a space
|
|
6847
|
+
* @summary Invite a user or a team to a space
|
|
6761
6848
|
* @request POST:/spaces/{spaceId}/permissions
|
|
6762
6849
|
* @secure
|
|
6763
6850
|
*/
|
|
6764
|
-
inviteToSpace: (spaceId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6851
|
+
inviteToSpace: (spaceId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6765
6852
|
error: {
|
|
6766
6853
|
/** @format int32 */
|
|
6767
6854
|
code: 404;
|
|
@@ -6771,16 +6858,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6771
6858
|
/**
|
|
6772
6859
|
* No description
|
|
6773
6860
|
*
|
|
6774
|
-
* @tags
|
|
6861
|
+
* @tags space-teams
|
|
6775
6862
|
* @name UpdateTeamPermissionInSpace
|
|
6776
|
-
* @summary Update a team
|
|
6863
|
+
* @summary Update a space team permission
|
|
6777
6864
|
* @request PATCH:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
6778
6865
|
* @secure
|
|
6779
6866
|
*/
|
|
6780
6867
|
updateTeamPermissionInSpace: (spaceId: string, teamId: string, data: {
|
|
6781
6868
|
/** The role of a member in an organization, null for guests */
|
|
6782
6869
|
role?: MemberRoleOrGuest;
|
|
6783
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6870
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6784
6871
|
error: {
|
|
6785
6872
|
/** @format int32 */
|
|
6786
6873
|
code: 404;
|
|
@@ -6790,13 +6877,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6790
6877
|
/**
|
|
6791
6878
|
* No description
|
|
6792
6879
|
*
|
|
6793
|
-
* @tags
|
|
6880
|
+
* @tags space-teams
|
|
6794
6881
|
* @name RemoveTeamFromSpace
|
|
6795
|
-
* @summary Remove a team
|
|
6882
|
+
* @summary Remove a space team
|
|
6796
6883
|
* @request DELETE:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
6797
6884
|
* @secure
|
|
6798
6885
|
*/
|
|
6799
|
-
removeTeamFromSpace: (spaceId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6886
|
+
removeTeamFromSpace: (spaceId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6800
6887
|
error: {
|
|
6801
6888
|
/** @format int32 */
|
|
6802
6889
|
code: 400;
|
|
@@ -6812,9 +6899,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6812
6899
|
/**
|
|
6813
6900
|
* No description
|
|
6814
6901
|
*
|
|
6815
|
-
* @tags
|
|
6902
|
+
* @tags space-users
|
|
6816
6903
|
* @name ListUserPermissionsInSpace
|
|
6817
|
-
* @summary List
|
|
6904
|
+
* @summary List space user permissions
|
|
6818
6905
|
* @request GET:/spaces/{spaceId}/permissions/users
|
|
6819
6906
|
* @secure
|
|
6820
6907
|
*/
|
|
@@ -6829,7 +6916,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6829
6916
|
limit?: number;
|
|
6830
6917
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6831
6918
|
items: UserContentPermission[];
|
|
6832
|
-
},
|
|
6919
|
+
}, {
|
|
6833
6920
|
error: {
|
|
6834
6921
|
/** @format int32 */
|
|
6835
6922
|
code: 404;
|
|
@@ -6839,16 +6926,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6839
6926
|
/**
|
|
6840
6927
|
* No description
|
|
6841
6928
|
*
|
|
6842
|
-
* @tags
|
|
6929
|
+
* @tags space-users
|
|
6843
6930
|
* @name UpdateUserPermissionInSpace
|
|
6844
|
-
* @summary Update
|
|
6931
|
+
* @summary Update space user permissions
|
|
6845
6932
|
* @request PATCH:/spaces/{spaceId}/permissions/users/{userId}
|
|
6846
6933
|
* @secure
|
|
6847
6934
|
*/
|
|
6848
6935
|
updateUserPermissionInSpace: (spaceId: string, userId: string, data: {
|
|
6849
6936
|
/** The role of a member in an organization, null for guests */
|
|
6850
6937
|
role?: MemberRoleOrGuest;
|
|
6851
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6938
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6852
6939
|
error: {
|
|
6853
6940
|
/** @format int32 */
|
|
6854
6941
|
code: 404;
|
|
@@ -6858,13 +6945,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6858
6945
|
/**
|
|
6859
6946
|
* No description
|
|
6860
6947
|
*
|
|
6861
|
-
* @tags
|
|
6948
|
+
* @tags space-users
|
|
6862
6949
|
* @name RemoveUserFromSpace
|
|
6863
|
-
* @summary Remove a user
|
|
6950
|
+
* @summary Remove a space user
|
|
6864
6951
|
* @request DELETE:/spaces/{spaceId}/permissions/users/{userId}
|
|
6865
6952
|
* @secure
|
|
6866
6953
|
*/
|
|
6867
|
-
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
6954
|
+
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
6868
6955
|
error: {
|
|
6869
6956
|
/** @format int32 */
|
|
6870
6957
|
code: 404;
|
|
@@ -6874,9 +6961,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6874
6961
|
/**
|
|
6875
6962
|
* No description
|
|
6876
6963
|
*
|
|
6877
|
-
* @tags
|
|
6964
|
+
* @tags space-teams
|
|
6878
6965
|
* @name ListTeamPermissionsInSpace
|
|
6879
|
-
* @summary List
|
|
6966
|
+
* @summary List space team persmissions
|
|
6880
6967
|
* @request GET:/spaces/{spaceId}/permissions/teams
|
|
6881
6968
|
* @secure
|
|
6882
6969
|
*/
|
|
@@ -6903,7 +6990,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6903
6990
|
permission: MemberRole;
|
|
6904
6991
|
team: OrganizationTeam;
|
|
6905
6992
|
}[];
|
|
6906
|
-
},
|
|
6993
|
+
}, {
|
|
6907
6994
|
error: {
|
|
6908
6995
|
/** @format int32 */
|
|
6909
6996
|
code: 404;
|
|
@@ -6913,9 +7000,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6913
7000
|
/**
|
|
6914
7001
|
* No description
|
|
6915
7002
|
*
|
|
6916
|
-
* @tags
|
|
7003
|
+
* @tags space-content
|
|
6917
7004
|
* @name GetCurrentRevision
|
|
6918
|
-
* @summary Get
|
|
7005
|
+
* @summary Get a space current revision
|
|
6919
7006
|
* @request GET:/spaces/{spaceId}/content
|
|
6920
7007
|
* @secure
|
|
6921
7008
|
*/
|
|
@@ -6930,23 +7017,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6930
7017
|
* @default true
|
|
6931
7018
|
*/
|
|
6932
7019
|
computed?: boolean;
|
|
6933
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
7020
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
6934
7021
|
/**
|
|
6935
7022
|
* No description
|
|
6936
7023
|
*
|
|
6937
|
-
* @tags
|
|
7024
|
+
* @tags space-content
|
|
6938
7025
|
* @name ImportContent
|
|
6939
|
-
* @summary Import content in a space
|
|
7026
|
+
* @summary Import content in a space
|
|
6940
7027
|
* @request POST:/spaces/{spaceId}/content/import
|
|
6941
7028
|
* @secure
|
|
6942
7029
|
*/
|
|
6943
|
-
importContent: (spaceId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7030
|
+
importContent: (spaceId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
6944
7031
|
/**
|
|
6945
7032
|
* No description
|
|
6946
7033
|
*
|
|
6947
|
-
* @tags
|
|
7034
|
+
* @tags space-content
|
|
6948
7035
|
* @name ListPages
|
|
6949
|
-
* @summary List all pages
|
|
7036
|
+
* @summary List all space pages
|
|
6950
7037
|
* @request GET:/spaces/{spaceId}/content/pages
|
|
6951
7038
|
* @secure
|
|
6952
7039
|
*/
|
|
@@ -6963,13 +7050,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6963
7050
|
computed?: boolean;
|
|
6964
7051
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
6965
7052
|
pages: RevisionPage[];
|
|
6966
|
-
},
|
|
7053
|
+
}, any>>;
|
|
6967
7054
|
/**
|
|
6968
7055
|
* No description
|
|
6969
7056
|
*
|
|
6970
|
-
* @tags
|
|
7057
|
+
* @tags space-content
|
|
6971
7058
|
* @name ListFiles
|
|
6972
|
-
* @summary List all files
|
|
7059
|
+
* @summary List all space files
|
|
6973
7060
|
* @request GET:/spaces/{spaceId}/content/files
|
|
6974
7061
|
* @secure
|
|
6975
7062
|
*/
|
|
@@ -6994,13 +7081,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6994
7081
|
computed?: boolean;
|
|
6995
7082
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
6996
7083
|
items: RevisionFile[];
|
|
6997
|
-
},
|
|
7084
|
+
}, any>>;
|
|
6998
7085
|
/**
|
|
6999
7086
|
* No description
|
|
7000
7087
|
*
|
|
7001
|
-
* @tags
|
|
7088
|
+
* @tags space-content
|
|
7002
7089
|
* @name GetFileById
|
|
7003
|
-
* @summary Get a file by its ID
|
|
7090
|
+
* @summary Get a space file by its ID
|
|
7004
7091
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}
|
|
7005
7092
|
* @secure
|
|
7006
7093
|
*/
|
|
@@ -7015,13 +7102,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7015
7102
|
* @default true
|
|
7016
7103
|
*/
|
|
7017
7104
|
computed?: boolean;
|
|
7018
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
7105
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
7019
7106
|
/**
|
|
7020
7107
|
* No description
|
|
7021
7108
|
*
|
|
7022
|
-
* @tags
|
|
7109
|
+
* @tags space-content
|
|
7023
7110
|
* @name ListSpaceFileBacklinks
|
|
7024
|
-
* @summary
|
|
7111
|
+
* @summary List all space file backlink locations
|
|
7025
7112
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}/backlinks
|
|
7026
7113
|
* @secure
|
|
7027
7114
|
*/
|
|
@@ -7036,13 +7123,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7036
7123
|
limit?: number;
|
|
7037
7124
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7038
7125
|
items: ContentLocation[];
|
|
7039
|
-
},
|
|
7126
|
+
}, any>>;
|
|
7040
7127
|
/**
|
|
7041
7128
|
* No description
|
|
7042
7129
|
*
|
|
7043
|
-
* @tags
|
|
7130
|
+
* @tags space-content
|
|
7044
7131
|
* @name GetPageById
|
|
7045
|
-
* @summary Get a page by its ID
|
|
7132
|
+
* @summary Get a space page by its ID
|
|
7046
7133
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}
|
|
7047
7134
|
* @secure
|
|
7048
7135
|
*/
|
|
@@ -7059,13 +7146,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7059
7146
|
* @default true
|
|
7060
7147
|
*/
|
|
7061
7148
|
computed?: boolean;
|
|
7062
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
7149
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
7063
7150
|
/**
|
|
7064
7151
|
* No description
|
|
7065
7152
|
*
|
|
7066
|
-
* @tags
|
|
7153
|
+
* @tags space-content, links
|
|
7067
7154
|
* @name ListPageLinksInSpace
|
|
7068
|
-
* @summary List all
|
|
7155
|
+
* @summary List all space page links
|
|
7069
7156
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/links
|
|
7070
7157
|
* @secure
|
|
7071
7158
|
*/
|
|
@@ -7088,13 +7175,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7088
7175
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7089
7176
|
stats: ContentReferencesStats;
|
|
7090
7177
|
items: ContentReferenceUsage[];
|
|
7091
|
-
},
|
|
7178
|
+
}, any>>;
|
|
7092
7179
|
/**
|
|
7093
7180
|
* No description
|
|
7094
7181
|
*
|
|
7095
|
-
* @tags
|
|
7182
|
+
* @tags space-content
|
|
7096
7183
|
* @name ListSpacePageBacklinks
|
|
7097
|
-
* @summary
|
|
7184
|
+
* @summary List all space page backlink locations
|
|
7098
7185
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/backlinks
|
|
7099
7186
|
* @secure
|
|
7100
7187
|
*/
|
|
@@ -7109,23 +7196,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7109
7196
|
limit?: number;
|
|
7110
7197
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7111
7198
|
items: ContentLocation[];
|
|
7112
|
-
},
|
|
7199
|
+
}, any>>;
|
|
7113
7200
|
/**
|
|
7114
7201
|
* No description
|
|
7115
7202
|
*
|
|
7116
|
-
* @tags
|
|
7203
|
+
* @tags space-content
|
|
7117
7204
|
* @name ImportContentInPageById
|
|
7118
|
-
* @summary Import
|
|
7205
|
+
* @summary Import content into a space page
|
|
7119
7206
|
* @request POST:/spaces/{spaceId}/content/page/{pageId}/import
|
|
7120
7207
|
* @secure
|
|
7121
7208
|
*/
|
|
7122
|
-
importContentInPageById: (spaceId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7209
|
+
importContentInPageById: (spaceId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7123
7210
|
/**
|
|
7124
7211
|
* No description
|
|
7125
7212
|
*
|
|
7126
|
-
* @tags
|
|
7213
|
+
* @tags space-content
|
|
7127
7214
|
* @name GetPageByPath
|
|
7128
|
-
* @summary Get a page by its path
|
|
7215
|
+
* @summary Get a space page by its path
|
|
7129
7216
|
* @request GET:/spaces/{spaceId}/content/path/{pagePath}
|
|
7130
7217
|
* @secure
|
|
7131
7218
|
*/
|
|
@@ -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<RevisionPageDocument | RevisionPageGroup,
|
|
7232
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
7146
7233
|
/**
|
|
7147
7234
|
* No description
|
|
7148
7235
|
*
|
|
7149
|
-
* @tags
|
|
7236
|
+
* @tags space-content
|
|
7150
7237
|
* @name GetReusableContentById
|
|
7151
|
-
* @summary Get a reusable content by its ID
|
|
7238
|
+
* @summary Get a space reusable content by its ID
|
|
7152
7239
|
* @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
|
|
7153
7240
|
* @secure
|
|
7154
7241
|
*/
|
|
@@ -7163,13 +7250,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7163
7250
|
* @default true
|
|
7164
7251
|
*/
|
|
7165
7252
|
computed?: boolean;
|
|
7166
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
7253
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
7167
7254
|
/**
|
|
7168
7255
|
* No description
|
|
7169
7256
|
*
|
|
7170
|
-
* @tags
|
|
7257
|
+
* @tags space-content
|
|
7171
7258
|
* @name GetComputedDocument
|
|
7172
|
-
* @summary
|
|
7259
|
+
* @summary Get a space computed document
|
|
7173
7260
|
* @request POST:/spaces/{spaceId}/content/computed/document
|
|
7174
7261
|
* @secure
|
|
7175
7262
|
*/
|
|
@@ -7180,13 +7267,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7180
7267
|
}, query?: {
|
|
7181
7268
|
/** Version of the schema used for the document. */
|
|
7182
7269
|
schema?: "current" | "next";
|
|
7183
|
-
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument,
|
|
7270
|
+
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
7184
7271
|
/**
|
|
7185
7272
|
* No description
|
|
7186
7273
|
*
|
|
7187
|
-
* @tags
|
|
7274
|
+
* @tags space-content
|
|
7188
7275
|
* @name GetComputedRevision
|
|
7189
|
-
* @summary Get
|
|
7276
|
+
* @summary Get a space computed revision
|
|
7190
7277
|
* @request POST:/spaces/{spaceId}/content/computed/revision
|
|
7191
7278
|
* @secure
|
|
7192
7279
|
*/
|
|
@@ -7197,36 +7284,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7197
7284
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7198
7285
|
pages: RevisionPage[];
|
|
7199
7286
|
files: RevisionFile[];
|
|
7200
|
-
},
|
|
7287
|
+
}, any>>;
|
|
7201
7288
|
/**
|
|
7202
7289
|
* No description
|
|
7203
7290
|
*
|
|
7204
|
-
* @tags
|
|
7291
|
+
* @tags space-content
|
|
7205
7292
|
* @name GetDocumentById
|
|
7206
|
-
* @summary Get a document by its ID
|
|
7293
|
+
* @summary Get a space document by its ID
|
|
7207
7294
|
* @request GET:/spaces/{spaceId}/documents/{documentId}
|
|
7208
7295
|
* @secure
|
|
7209
7296
|
*/
|
|
7210
7297
|
getDocumentById: (spaceId: string, documentId: string, query?: {
|
|
7211
7298
|
/** Version of the schema used for the document. */
|
|
7212
7299
|
schema?: "current" | "next";
|
|
7213
|
-
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument,
|
|
7300
|
+
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
7214
7301
|
/**
|
|
7215
7302
|
* No description
|
|
7216
7303
|
*
|
|
7217
7304
|
* @tags change-requests
|
|
7218
7305
|
* @name CreateChangeRequest
|
|
7219
|
-
* @summary Create a
|
|
7306
|
+
* @summary Create a change request
|
|
7220
7307
|
* @request POST:/spaces/{spaceId}/change-requests
|
|
7221
7308
|
* @secure
|
|
7222
7309
|
*/
|
|
7223
|
-
createChangeRequest: (spaceId: string, data: CreateChangeRequest, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7310
|
+
createChangeRequest: (spaceId: string, data: CreateChangeRequest, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
7224
7311
|
/**
|
|
7225
7312
|
* No description
|
|
7226
7313
|
*
|
|
7227
|
-
* @tags
|
|
7314
|
+
* @tags change-requests
|
|
7228
7315
|
* @name ListChangeRequestsForSpace
|
|
7229
|
-
* @summary List change requests
|
|
7316
|
+
* @summary List all change requests
|
|
7230
7317
|
* @request GET:/spaces/{spaceId}/change-requests
|
|
7231
7318
|
* @secure
|
|
7232
7319
|
*/
|
|
@@ -7248,17 +7335,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7248
7335
|
contributor?: string;
|
|
7249
7336
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7250
7337
|
items: ChangeRequest[];
|
|
7251
|
-
},
|
|
7338
|
+
}, any>>;
|
|
7252
7339
|
/**
|
|
7253
7340
|
* No description
|
|
7254
7341
|
*
|
|
7255
7342
|
* @tags change-requests
|
|
7256
7343
|
* @name GetChangeRequestById
|
|
7257
|
-
* @summary Get
|
|
7344
|
+
* @summary Get a change request by its ID
|
|
7258
7345
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
7259
7346
|
* @secure
|
|
7260
7347
|
*/
|
|
7261
|
-
getChangeRequestById: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7348
|
+
getChangeRequestById: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, {
|
|
7262
7349
|
error: {
|
|
7263
7350
|
/** @format int32 */
|
|
7264
7351
|
code: 404;
|
|
@@ -7270,7 +7357,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7270
7357
|
*
|
|
7271
7358
|
* @tags change-requests
|
|
7272
7359
|
* @name UpdateChangeRequestById
|
|
7273
|
-
* @summary Update
|
|
7360
|
+
* @summary Update a change request
|
|
7274
7361
|
* @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
7275
7362
|
* @secure
|
|
7276
7363
|
*/
|
|
@@ -7278,13 +7365,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7278
7365
|
/** Subject of the change request */
|
|
7279
7366
|
subject?: ChangeRequestSubject;
|
|
7280
7367
|
status?: "draft" | "open" | "archived";
|
|
7281
|
-
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest,
|
|
7368
|
+
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
7282
7369
|
/**
|
|
7283
7370
|
* No description
|
|
7284
7371
|
*
|
|
7285
7372
|
* @tags change-requests
|
|
7286
7373
|
* @name MergeChangeRequest
|
|
7287
|
-
* @summary Merge a change request
|
|
7374
|
+
* @summary Merge a change request
|
|
7288
7375
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
|
|
7289
7376
|
* @secure
|
|
7290
7377
|
*/
|
|
@@ -7292,13 +7379,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7292
7379
|
/** ID of the resulting revision */
|
|
7293
7380
|
revision: string;
|
|
7294
7381
|
result: "merge" | "conflicts";
|
|
7295
|
-
},
|
|
7382
|
+
}, any>>;
|
|
7296
7383
|
/**
|
|
7297
7384
|
* No description
|
|
7298
7385
|
*
|
|
7299
7386
|
* @tags change-requests
|
|
7300
7387
|
* @name UpdateChangeRequest
|
|
7301
|
-
* @summary
|
|
7388
|
+
* @summary Pull primary content into the change request
|
|
7302
7389
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
|
|
7303
7390
|
* @secure
|
|
7304
7391
|
*/
|
|
@@ -7306,13 +7393,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7306
7393
|
/** ID of the resulting revision */
|
|
7307
7394
|
revision: string;
|
|
7308
7395
|
result: "update" | "conflicts";
|
|
7309
|
-
},
|
|
7396
|
+
}, any>>;
|
|
7310
7397
|
/**
|
|
7311
7398
|
* No description
|
|
7312
7399
|
*
|
|
7313
|
-
* @tags change-requests
|
|
7400
|
+
* @tags change-requests-reviews
|
|
7314
7401
|
* @name GetReviewsByChangeRequestId
|
|
7315
|
-
* @summary
|
|
7402
|
+
* @summary List all change request reviews
|
|
7316
7403
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
7317
7404
|
* @secure
|
|
7318
7405
|
*/
|
|
@@ -7329,7 +7416,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7329
7416
|
limit?: number;
|
|
7330
7417
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7331
7418
|
items: ChangeRequestReview[];
|
|
7332
|
-
},
|
|
7419
|
+
}, {
|
|
7333
7420
|
error: {
|
|
7334
7421
|
/** @format int32 */
|
|
7335
7422
|
code: 404;
|
|
@@ -7339,9 +7426,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7339
7426
|
/**
|
|
7340
7427
|
* No description
|
|
7341
7428
|
*
|
|
7342
|
-
* @tags change-requests
|
|
7429
|
+
* @tags change-requests-reviews
|
|
7343
7430
|
* @name SubmitChangeRequestReview
|
|
7344
|
-
* @summary Submit a
|
|
7431
|
+
* @summary Submit a change request review
|
|
7345
7432
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
7346
7433
|
* @secure
|
|
7347
7434
|
*/
|
|
@@ -7350,13 +7437,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7350
7437
|
status: ChangeRequestReviewStatus;
|
|
7351
7438
|
/** Optionally, provide a comment along with the review. */
|
|
7352
7439
|
comment?: Document;
|
|
7353
|
-
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview,
|
|
7440
|
+
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview, any>>;
|
|
7354
7441
|
/**
|
|
7355
7442
|
* No description
|
|
7356
7443
|
*
|
|
7357
|
-
* @tags
|
|
7444
|
+
* @tags change-request-reviewers
|
|
7358
7445
|
* @name GetRequestedReviewersByChangeRequestId
|
|
7359
|
-
* @summary Get all
|
|
7446
|
+
* @summary Get all change request reviewers
|
|
7360
7447
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
7361
7448
|
* @secure
|
|
7362
7449
|
*/
|
|
@@ -7371,13 +7458,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7371
7458
|
limit?: number;
|
|
7372
7459
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7373
7460
|
items: ChangeRequestRequestedReviewer[];
|
|
7374
|
-
},
|
|
7461
|
+
}, any>>;
|
|
7375
7462
|
/**
|
|
7376
7463
|
* No description
|
|
7377
7464
|
*
|
|
7378
|
-
* @tags
|
|
7465
|
+
* @tags change-request-reviewers
|
|
7379
7466
|
* @name RequestReviewersForChangeRequest
|
|
7380
|
-
* @summary Request
|
|
7467
|
+
* @summary Request change request reviewers
|
|
7381
7468
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
7382
7469
|
* @secure
|
|
7383
7470
|
*/
|
|
@@ -7389,13 +7476,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7389
7476
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7390
7477
|
/** The user requests that were sent. */
|
|
7391
7478
|
users?: ChangeRequestRequestedReviewer[];
|
|
7392
|
-
},
|
|
7479
|
+
}, any>>;
|
|
7393
7480
|
/**
|
|
7394
7481
|
* No description
|
|
7395
7482
|
*
|
|
7396
|
-
* @tags change-requests, links
|
|
7483
|
+
* @tags change-requests-links, links
|
|
7397
7484
|
* @name ListChangeRequestLinks
|
|
7398
|
-
* @summary
|
|
7485
|
+
* @summary List all change request links
|
|
7399
7486
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
|
|
7400
7487
|
* @secure
|
|
7401
7488
|
*/
|
|
@@ -7419,7 +7506,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7419
7506
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7420
7507
|
stats: ContentReferencesStats;
|
|
7421
7508
|
items: ContentReferenceUsage[];
|
|
7422
|
-
},
|
|
7509
|
+
}, {
|
|
7423
7510
|
error: {
|
|
7424
7511
|
/** @format int32 */
|
|
7425
7512
|
code: 404;
|
|
@@ -7429,9 +7516,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7429
7516
|
/**
|
|
7430
7517
|
* No description
|
|
7431
7518
|
*
|
|
7432
|
-
* @tags comments
|
|
7519
|
+
* @tags change-request-comments
|
|
7433
7520
|
* @name ListCommentsInChangeRequest
|
|
7434
|
-
* @summary List all
|
|
7521
|
+
* @summary List all change request comments
|
|
7435
7522
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
7436
7523
|
* @secure
|
|
7437
7524
|
*/
|
|
@@ -7460,56 +7547,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7460
7547
|
targetPage?: string;
|
|
7461
7548
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7462
7549
|
items: Comment[];
|
|
7463
|
-
},
|
|
7550
|
+
}, any>>;
|
|
7464
7551
|
/**
|
|
7465
7552
|
* No description
|
|
7466
7553
|
*
|
|
7467
|
-
* @tags comments
|
|
7554
|
+
* @tags change-request-comments
|
|
7468
7555
|
* @name PostCommentInChangeRequest
|
|
7469
|
-
* @summary
|
|
7556
|
+
* @summary Create a change request comment
|
|
7470
7557
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
7471
7558
|
* @secure
|
|
7472
7559
|
*/
|
|
7473
|
-
postCommentInChangeRequest: (spaceId: string, changeRequestId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7560
|
+
postCommentInChangeRequest: (spaceId: string, changeRequestId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7474
7561
|
/**
|
|
7475
7562
|
* No description
|
|
7476
7563
|
*
|
|
7477
|
-
* @tags comments
|
|
7564
|
+
* @tags change-request-comments
|
|
7478
7565
|
* @name GetCommentInChangeRequest
|
|
7479
|
-
* @summary Get a
|
|
7566
|
+
* @summary Get a change request comment
|
|
7480
7567
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7481
7568
|
* @secure
|
|
7482
7569
|
*/
|
|
7483
7570
|
getCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, query?: {
|
|
7484
7571
|
/** Output format for the content. */
|
|
7485
7572
|
format?: "document" | "markdown";
|
|
7486
|
-
}, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7573
|
+
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7487
7574
|
/**
|
|
7488
7575
|
* No description
|
|
7489
7576
|
*
|
|
7490
|
-
* @tags comments
|
|
7577
|
+
* @tags change-request-comments
|
|
7491
7578
|
* @name DeleteCommentInChangeRequest
|
|
7492
|
-
* @summary Delete a
|
|
7579
|
+
* @summary Delete a change request comment
|
|
7493
7580
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7494
7581
|
* @secure
|
|
7495
7582
|
*/
|
|
7496
|
-
deleteCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7583
|
+
deleteCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7497
7584
|
/**
|
|
7498
7585
|
* No description
|
|
7499
7586
|
*
|
|
7500
|
-
* @tags comments
|
|
7587
|
+
* @tags change-request-comments
|
|
7501
7588
|
* @name UpdateCommentInChangeRequest
|
|
7502
|
-
* @summary Update a
|
|
7589
|
+
* @summary Update a change request comment
|
|
7503
7590
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
7504
7591
|
* @secure
|
|
7505
7592
|
*/
|
|
7506
|
-
updateCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
7593
|
+
updateCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
7507
7594
|
/**
|
|
7508
7595
|
* No description
|
|
7509
7596
|
*
|
|
7510
|
-
* @tags comments
|
|
7597
|
+
* @tags change-request-comments
|
|
7511
7598
|
* @name ListCommentRepliesInChangeRequest
|
|
7512
|
-
* @summary List all
|
|
7599
|
+
* @summary List all change request comment replies
|
|
7513
7600
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
7514
7601
|
* @secure
|
|
7515
7602
|
*/
|
|
@@ -7526,65 +7613,65 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7526
7613
|
format?: "document" | "markdown";
|
|
7527
7614
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7528
7615
|
items: CommentReply[];
|
|
7529
|
-
},
|
|
7616
|
+
}, any>>;
|
|
7530
7617
|
/**
|
|
7531
7618
|
* No description
|
|
7532
7619
|
*
|
|
7533
|
-
* @tags comments
|
|
7620
|
+
* @tags change-request-comments
|
|
7534
7621
|
* @name PostCommentReplyInChangeRequest
|
|
7535
|
-
* @summary
|
|
7622
|
+
* @summary Create a change request comment reply
|
|
7536
7623
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
7537
7624
|
* @secure
|
|
7538
7625
|
*/
|
|
7539
7626
|
postCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: PostCommentReplySchema, query?: {
|
|
7540
7627
|
/** Output format for the content. */
|
|
7541
7628
|
format?: "document" | "markdown";
|
|
7542
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7629
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7543
7630
|
/**
|
|
7544
7631
|
* No description
|
|
7545
7632
|
*
|
|
7546
|
-
* @tags comments
|
|
7633
|
+
* @tags change-request-comments
|
|
7547
7634
|
* @name GetCommentReplyInChangeRequest
|
|
7548
|
-
* @summary Get a comment reply
|
|
7635
|
+
* @summary Get a change request comment reply
|
|
7549
7636
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7550
7637
|
* @secure
|
|
7551
7638
|
*/
|
|
7552
7639
|
getCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, query?: {
|
|
7553
7640
|
/** Output format for the content. */
|
|
7554
7641
|
format?: "document" | "markdown";
|
|
7555
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7642
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7556
7643
|
/**
|
|
7557
7644
|
* No description
|
|
7558
7645
|
*
|
|
7559
|
-
* @tags comments
|
|
7646
|
+
* @tags change-request-comments
|
|
7560
7647
|
* @name UpdateCommentReplyInChangeRequest
|
|
7561
|
-
* @summary Update a comment reply
|
|
7648
|
+
* @summary Update a change request comment reply
|
|
7562
7649
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7563
7650
|
* @secure
|
|
7564
7651
|
*/
|
|
7565
|
-
updateCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
7652
|
+
updateCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
7566
7653
|
/**
|
|
7567
7654
|
* No description
|
|
7568
7655
|
*
|
|
7569
|
-
* @tags comments
|
|
7656
|
+
* @tags change-request-comments
|
|
7570
7657
|
* @name DeleteCommentReplyInChangeRequest
|
|
7571
|
-
* @summary Delete a comment reply
|
|
7658
|
+
* @summary Delete a change request comment reply
|
|
7572
7659
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
7573
7660
|
* @secure
|
|
7574
7661
|
*/
|
|
7575
|
-
deleteCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7662
|
+
deleteCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7576
7663
|
/**
|
|
7577
7664
|
* No description
|
|
7578
7665
|
*
|
|
7579
|
-
* @tags change-
|
|
7666
|
+
* @tags change-request-contributors
|
|
7580
7667
|
* @name GetContributorsByChangeRequestId
|
|
7581
|
-
* @summary Get all
|
|
7668
|
+
* @summary Get all contribors of a change request
|
|
7582
7669
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
|
|
7583
7670
|
* @secure
|
|
7584
7671
|
*/
|
|
7585
7672
|
getContributorsByChangeRequestId: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7586
7673
|
items: UserContributor[];
|
|
7587
|
-
},
|
|
7674
|
+
}, {
|
|
7588
7675
|
error: {
|
|
7589
7676
|
/** @format int32 */
|
|
7590
7677
|
code: 404;
|
|
@@ -7594,9 +7681,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7594
7681
|
/**
|
|
7595
7682
|
* No description
|
|
7596
7683
|
*
|
|
7597
|
-
* @tags change-
|
|
7684
|
+
* @tags change-request-content
|
|
7598
7685
|
* @name GetRevisionOfChangeRequestById
|
|
7599
|
-
* @summary Get the latest content revision
|
|
7686
|
+
* @summary Get a change request the latest content revision
|
|
7600
7687
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
|
|
7601
7688
|
* @secure
|
|
7602
7689
|
*/
|
|
@@ -7611,23 +7698,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7611
7698
|
* @default true
|
|
7612
7699
|
*/
|
|
7613
7700
|
computed?: boolean;
|
|
7614
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
7701
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
7615
7702
|
/**
|
|
7616
7703
|
* No description
|
|
7617
7704
|
*
|
|
7618
|
-
* @tags change-
|
|
7705
|
+
* @tags change-request-content
|
|
7619
7706
|
* @name ImportContentInChangeRequest
|
|
7620
|
-
* @summary Import content in a change request
|
|
7707
|
+
* @summary Import content in a change request
|
|
7621
7708
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/import
|
|
7622
7709
|
* @secure
|
|
7623
7710
|
*/
|
|
7624
|
-
importContentInChangeRequest: (spaceId: string, changeRequestId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7711
|
+
importContentInChangeRequest: (spaceId: string, changeRequestId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7625
7712
|
/**
|
|
7626
7713
|
* No description
|
|
7627
7714
|
*
|
|
7628
|
-
* @tags change-
|
|
7715
|
+
* @tags change-request-content
|
|
7629
7716
|
* @name ListPagesInChangeRequest
|
|
7630
|
-
* @summary List all
|
|
7717
|
+
* @summary List all change request pages
|
|
7631
7718
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
|
|
7632
7719
|
* @secure
|
|
7633
7720
|
*/
|
|
@@ -7644,13 +7731,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7644
7731
|
computed?: boolean;
|
|
7645
7732
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7646
7733
|
pages: RevisionPage[];
|
|
7647
|
-
},
|
|
7734
|
+
}, any>>;
|
|
7648
7735
|
/**
|
|
7649
7736
|
* No description
|
|
7650
7737
|
*
|
|
7651
|
-
* @tags change-
|
|
7738
|
+
* @tags change-request-content
|
|
7652
7739
|
* @name ListFilesInChangeRequestById
|
|
7653
|
-
* @summary List all
|
|
7740
|
+
* @summary List all change request files
|
|
7654
7741
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
|
|
7655
7742
|
* @secure
|
|
7656
7743
|
*/
|
|
@@ -7675,13 +7762,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7675
7762
|
computed?: boolean;
|
|
7676
7763
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7677
7764
|
items: RevisionFile[];
|
|
7678
|
-
},
|
|
7765
|
+
}, any>>;
|
|
7679
7766
|
/**
|
|
7680
7767
|
* No description
|
|
7681
7768
|
*
|
|
7682
|
-
* @tags change-
|
|
7769
|
+
* @tags change-request-content
|
|
7683
7770
|
* @name GetFileInChangeRequestById
|
|
7684
|
-
* @summary Get a file by its ID
|
|
7771
|
+
* @summary Get a change request file by its ID
|
|
7685
7772
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
|
|
7686
7773
|
* @secure
|
|
7687
7774
|
*/
|
|
@@ -7696,13 +7783,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7696
7783
|
* @default true
|
|
7697
7784
|
*/
|
|
7698
7785
|
computed?: boolean;
|
|
7699
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
7786
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
7700
7787
|
/**
|
|
7701
7788
|
* No description
|
|
7702
7789
|
*
|
|
7703
|
-
* @tags change-
|
|
7790
|
+
* @tags change-request-content
|
|
7704
7791
|
* @name ListChangeRequestFileBacklinks
|
|
7705
|
-
* @summary
|
|
7792
|
+
* @summary List all backlink locations of a change request file
|
|
7706
7793
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
|
|
7707
7794
|
* @secure
|
|
7708
7795
|
*/
|
|
@@ -7717,13 +7804,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7717
7804
|
limit?: number;
|
|
7718
7805
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7719
7806
|
items: ContentLocation[];
|
|
7720
|
-
},
|
|
7807
|
+
}, any>>;
|
|
7721
7808
|
/**
|
|
7722
7809
|
* No description
|
|
7723
7810
|
*
|
|
7724
|
-
* @tags change-
|
|
7811
|
+
* @tags change-request-content
|
|
7725
7812
|
* @name GetPageInChangeRequestById
|
|
7726
|
-
* @summary Get a page by its ID
|
|
7813
|
+
* @summary Get a change request page by its ID
|
|
7727
7814
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
|
|
7728
7815
|
* @secure
|
|
7729
7816
|
*/
|
|
@@ -7740,13 +7827,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7740
7827
|
* @default true
|
|
7741
7828
|
*/
|
|
7742
7829
|
computed?: boolean;
|
|
7743
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
7830
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
7744
7831
|
/**
|
|
7745
7832
|
* No description
|
|
7746
7833
|
*
|
|
7747
|
-
* @tags change-
|
|
7834
|
+
* @tags change-request-content
|
|
7748
7835
|
* @name ListPageLinksInChangeRequest
|
|
7749
|
-
* @summary List all
|
|
7836
|
+
* @summary List all change request links
|
|
7750
7837
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
|
|
7751
7838
|
* @secure
|
|
7752
7839
|
*/
|
|
@@ -7762,13 +7849,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7762
7849
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7763
7850
|
stats: ContentReferencesStats;
|
|
7764
7851
|
items: ContentReferenceUsage[];
|
|
7765
|
-
},
|
|
7852
|
+
}, any>>;
|
|
7766
7853
|
/**
|
|
7767
7854
|
* No description
|
|
7768
7855
|
*
|
|
7769
|
-
* @tags change-
|
|
7856
|
+
* @tags change-request-content
|
|
7770
7857
|
* @name ListChangeRequestPageBacklinks
|
|
7771
|
-
* @summary
|
|
7858
|
+
* @summary List all backlink locations of a change request page
|
|
7772
7859
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
|
|
7773
7860
|
* @secure
|
|
7774
7861
|
*/
|
|
@@ -7783,23 +7870,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7783
7870
|
limit?: number;
|
|
7784
7871
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7785
7872
|
items: ContentLocation[];
|
|
7786
|
-
},
|
|
7873
|
+
}, any>>;
|
|
7787
7874
|
/**
|
|
7788
7875
|
* No description
|
|
7789
7876
|
*
|
|
7790
|
-
* @tags change-
|
|
7877
|
+
* @tags change-request-content
|
|
7791
7878
|
* @name ImportContentInChangeRequestPageById
|
|
7792
|
-
* @summary Import
|
|
7879
|
+
* @summary Import content into a change request page
|
|
7793
7880
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import
|
|
7794
7881
|
* @secure
|
|
7795
7882
|
*/
|
|
7796
|
-
importContentInChangeRequestPageById: (spaceId: string, changeRequestId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult,
|
|
7883
|
+
importContentInChangeRequestPageById: (spaceId: string, changeRequestId: string, pageId: string, data: ImportContent, params?: RequestParams) => Promise<HttpResponse<ImportContentResult, any>>;
|
|
7797
7884
|
/**
|
|
7798
7885
|
* No description
|
|
7799
7886
|
*
|
|
7800
|
-
* @tags change-
|
|
7887
|
+
* @tags change-request-content
|
|
7801
7888
|
* @name GetPageInChangeRequestByPath
|
|
7802
|
-
* @summary Get a page by its path
|
|
7889
|
+
* @summary Get a change request page by its path
|
|
7803
7890
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
|
|
7804
7891
|
* @secure
|
|
7805
7892
|
*/
|
|
@@ -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<RevisionPageDocument | RevisionPageGroup,
|
|
7906
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
7820
7907
|
/**
|
|
7821
7908
|
* No description
|
|
7822
7909
|
*
|
|
7823
|
-
* @tags change-
|
|
7910
|
+
* @tags change-request-content
|
|
7824
7911
|
* @name GetReusableContentInChangeRequestById
|
|
7825
|
-
* @summary Get a reusable content by its ID
|
|
7912
|
+
* @summary Get a change request reusable content by its ID
|
|
7826
7913
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
|
|
7827
7914
|
* @secure
|
|
7828
7915
|
*/
|
|
@@ -7837,13 +7924,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7837
7924
|
* @default true
|
|
7838
7925
|
*/
|
|
7839
7926
|
computed?: boolean;
|
|
7840
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
7927
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
7841
7928
|
/**
|
|
7842
7929
|
* No description
|
|
7843
7930
|
*
|
|
7844
7931
|
* @tags change-requests
|
|
7845
7932
|
* @name GetChangeRequestPdf
|
|
7846
|
-
* @summary
|
|
7933
|
+
* @summary Get a URL of the content of a change request as PDF
|
|
7847
7934
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
|
|
7848
7935
|
* @secure
|
|
7849
7936
|
*/
|
|
@@ -7855,39 +7942,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7855
7942
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7856
7943
|
/** Temporary URL to print the content. The URL will work for 1h. */
|
|
7857
7944
|
url: URL;
|
|
7858
|
-
},
|
|
7859
|
-
/**
|
|
7860
|
-
* No description
|
|
7861
|
-
*
|
|
7862
|
-
* @tags change-requests
|
|
7863
|
-
* @name StreamBrainstormChangeRequest
|
|
7864
|
-
* @summary Brainstorm with AI on a change request and stream the results as a Server-Sent Events.
|
|
7865
|
-
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/brainstorm
|
|
7866
|
-
* @secure
|
|
7867
|
-
*/
|
|
7868
|
-
streamBrainstormChangeRequest: (spaceId: string, changeRequestId: string, data: {
|
|
7869
|
-
/** Brainstorming session */
|
|
7870
|
-
session: ChangeRequestBrainstormSession;
|
|
7871
|
-
}, params?: RequestParams) => EventIterator<ChangeRequestBrainstormSession>;
|
|
7872
|
-
/**
|
|
7873
|
-
* No description
|
|
7874
|
-
*
|
|
7875
|
-
* @tags change-requests
|
|
7876
|
-
* @name StreamImplementChangeRequestTask
|
|
7877
|
-
* @summary Implement a task on a change request and stream the results as a Server-Sent Events.
|
|
7878
|
-
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/task/implement
|
|
7879
|
-
* @secure
|
|
7880
|
-
*/
|
|
7881
|
-
streamImplementChangeRequestTask: (spaceId: string, changeRequestId: string, data: {
|
|
7882
|
-
/** Plan to run. */
|
|
7883
|
-
plan: ChangeRequestBrainstormPlan;
|
|
7884
|
-
}, params?: RequestParams) => EventIterator<ChangeRequestBrainstormPlan>;
|
|
7945
|
+
}, any>>;
|
|
7885
7946
|
/**
|
|
7886
7947
|
* No description
|
|
7887
7948
|
*
|
|
7888
|
-
* @tags
|
|
7949
|
+
* @tags space-content
|
|
7889
7950
|
* @name GetRevisionById
|
|
7890
|
-
* @summary Get a
|
|
7951
|
+
* @summary Get a space revision
|
|
7891
7952
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}
|
|
7892
7953
|
* @secure
|
|
7893
7954
|
*/
|
|
@@ -7902,13 +7963,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7902
7963
|
* @default true
|
|
7903
7964
|
*/
|
|
7904
7965
|
computed?: boolean;
|
|
7905
|
-
}, params?: RequestParams) => Promise<HttpResponse<Revision,
|
|
7966
|
+
}, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
|
|
7906
7967
|
/**
|
|
7907
|
-
*
|
|
7968
|
+
* @description Return the semantic changes between a revision and its parent.
|
|
7908
7969
|
*
|
|
7909
|
-
* @tags
|
|
7970
|
+
* @tags space-content
|
|
7910
7971
|
* @name GetRevisionSemanticChanges
|
|
7911
|
-
* @summary
|
|
7972
|
+
* @summary Get space revision semantic changes
|
|
7912
7973
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
|
|
7913
7974
|
* @secure
|
|
7914
7975
|
*/
|
|
@@ -7928,13 +7989,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7928
7989
|
* @default 10
|
|
7929
7990
|
*/
|
|
7930
7991
|
limit?: number;
|
|
7931
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionSemanticChanges,
|
|
7992
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionSemanticChanges, any>>;
|
|
7932
7993
|
/**
|
|
7933
7994
|
* No description
|
|
7934
7995
|
*
|
|
7935
|
-
* @tags
|
|
7996
|
+
* @tags space-content
|
|
7936
7997
|
* @name ListPagesInRevisionById
|
|
7937
|
-
* @summary List all pages in a revision
|
|
7998
|
+
* @summary List all pages in a space revision
|
|
7938
7999
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
|
|
7939
8000
|
* @secure
|
|
7940
8001
|
*/
|
|
@@ -7951,13 +8012,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7951
8012
|
computed?: boolean;
|
|
7952
8013
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
7953
8014
|
pages: RevisionPage[];
|
|
7954
|
-
},
|
|
8015
|
+
}, any>>;
|
|
7955
8016
|
/**
|
|
7956
8017
|
* No description
|
|
7957
8018
|
*
|
|
7958
|
-
* @tags
|
|
8019
|
+
* @tags space-content
|
|
7959
8020
|
* @name ListFilesInRevisionById
|
|
7960
|
-
* @summary List all
|
|
8021
|
+
* @summary List all space revision files
|
|
7961
8022
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
|
|
7962
8023
|
* @secure
|
|
7963
8024
|
*/
|
|
@@ -7982,13 +8043,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7982
8043
|
computed?: boolean;
|
|
7983
8044
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
7984
8045
|
items: RevisionFile[];
|
|
7985
|
-
},
|
|
8046
|
+
}, any>>;
|
|
7986
8047
|
/**
|
|
7987
8048
|
* No description
|
|
7988
8049
|
*
|
|
7989
|
-
* @tags
|
|
8050
|
+
* @tags space-content
|
|
7990
8051
|
* @name GetFileInRevisionById
|
|
7991
|
-
* @summary Get a
|
|
8052
|
+
* @summary Get a space revision file by its ID
|
|
7992
8053
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
|
|
7993
8054
|
* @secure
|
|
7994
8055
|
*/
|
|
@@ -8003,13 +8064,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8003
8064
|
* @default true
|
|
8004
8065
|
*/
|
|
8005
8066
|
computed?: boolean;
|
|
8006
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile,
|
|
8067
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
|
|
8007
8068
|
/**
|
|
8008
8069
|
* No description
|
|
8009
8070
|
*
|
|
8010
|
-
* @tags
|
|
8071
|
+
* @tags space-content
|
|
8011
8072
|
* @name GetPageInRevisionById
|
|
8012
|
-
* @summary Get a page by its ID
|
|
8073
|
+
* @summary Get a space revision page by its ID
|
|
8013
8074
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
|
|
8014
8075
|
* @secure
|
|
8015
8076
|
*/
|
|
@@ -8026,13 +8087,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8026
8087
|
* @default true
|
|
8027
8088
|
*/
|
|
8028
8089
|
computed?: boolean;
|
|
8029
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage,
|
|
8090
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
|
|
8030
8091
|
/**
|
|
8031
8092
|
* No description
|
|
8032
8093
|
*
|
|
8033
|
-
* @tags
|
|
8094
|
+
* @tags space-content
|
|
8034
8095
|
* @name GetPageInRevisionByPath
|
|
8035
|
-
* @summary Get a page by its path
|
|
8096
|
+
* @summary Get a space revision page by its path
|
|
8036
8097
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
|
|
8037
8098
|
* @secure
|
|
8038
8099
|
*/
|
|
@@ -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<RevisionPageDocument | RevisionPageGroup,
|
|
8113
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
|
|
8053
8114
|
/**
|
|
8054
8115
|
* No description
|
|
8055
8116
|
*
|
|
8056
|
-
* @tags
|
|
8117
|
+
* @tags space-content
|
|
8057
8118
|
* @name GetReusableContentInRevisionById
|
|
8058
|
-
* @summary Get
|
|
8119
|
+
* @summary Get a space revision reusable content by its ID
|
|
8059
8120
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
|
|
8060
8121
|
* @secure
|
|
8061
8122
|
*/
|
|
@@ -8070,13 +8131,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8070
8131
|
* @default true
|
|
8071
8132
|
*/
|
|
8072
8133
|
computed?: boolean;
|
|
8073
|
-
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent,
|
|
8134
|
+
}, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
|
|
8074
8135
|
/**
|
|
8075
8136
|
* No description
|
|
8076
8137
|
*
|
|
8077
|
-
* @tags comments
|
|
8138
|
+
* @tags space-comments
|
|
8078
8139
|
* @name ListCommentsInSpace
|
|
8079
|
-
* @summary List all
|
|
8140
|
+
* @summary List all space comments
|
|
8080
8141
|
* @request GET:/spaces/{spaceId}/comments
|
|
8081
8142
|
* @secure
|
|
8082
8143
|
*/
|
|
@@ -8105,56 +8166,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8105
8166
|
targetPage?: string;
|
|
8106
8167
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8107
8168
|
items: Comment[];
|
|
8108
|
-
},
|
|
8169
|
+
}, any>>;
|
|
8109
8170
|
/**
|
|
8110
8171
|
* No description
|
|
8111
8172
|
*
|
|
8112
|
-
* @tags comments
|
|
8173
|
+
* @tags space-comments
|
|
8113
8174
|
* @name PostCommentInSpace
|
|
8114
|
-
* @summary
|
|
8175
|
+
* @summary Create a space comment
|
|
8115
8176
|
* @request POST:/spaces/{spaceId}/comments
|
|
8116
8177
|
* @secure
|
|
8117
8178
|
*/
|
|
8118
|
-
postCommentInSpace: (spaceId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8179
|
+
postCommentInSpace: (spaceId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8119
8180
|
/**
|
|
8120
8181
|
* No description
|
|
8121
8182
|
*
|
|
8122
|
-
* @tags comments
|
|
8183
|
+
* @tags space-comments
|
|
8123
8184
|
* @name GetCommentInSpace
|
|
8124
|
-
* @summary Get a comment
|
|
8185
|
+
* @summary Get a space comment
|
|
8125
8186
|
* @request GET:/spaces/{spaceId}/comments/{commentId}
|
|
8126
8187
|
* @secure
|
|
8127
8188
|
*/
|
|
8128
8189
|
getCommentInSpace: (spaceId: string, commentId: string, query?: {
|
|
8129
8190
|
/** Output format for the content. */
|
|
8130
8191
|
format?: "document" | "markdown";
|
|
8131
|
-
}, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8192
|
+
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8132
8193
|
/**
|
|
8133
8194
|
* No description
|
|
8134
8195
|
*
|
|
8135
|
-
* @tags comments
|
|
8196
|
+
* @tags space-comments
|
|
8136
8197
|
* @name DeleteCommentInSpace
|
|
8137
|
-
* @summary Delete a comment
|
|
8198
|
+
* @summary Delete a space comment
|
|
8138
8199
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}
|
|
8139
8200
|
* @secure
|
|
8140
8201
|
*/
|
|
8141
|
-
deleteCommentInSpace: (spaceId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8202
|
+
deleteCommentInSpace: (spaceId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8142
8203
|
/**
|
|
8143
8204
|
* No description
|
|
8144
8205
|
*
|
|
8145
|
-
* @tags
|
|
8206
|
+
* @tags space-comments
|
|
8146
8207
|
* @name UpdateCommentInSpace
|
|
8147
|
-
* @summary Update a comment
|
|
8208
|
+
* @summary Update a space comment
|
|
8148
8209
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}
|
|
8149
8210
|
* @secure
|
|
8150
8211
|
*/
|
|
8151
|
-
updateCommentInSpace: (spaceId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment,
|
|
8212
|
+
updateCommentInSpace: (spaceId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
8152
8213
|
/**
|
|
8153
8214
|
* No description
|
|
8154
8215
|
*
|
|
8155
|
-
* @tags
|
|
8216
|
+
* @tags space-comment
|
|
8156
8217
|
* @name ListCommentRepliesInSpace
|
|
8157
|
-
* @summary List all
|
|
8218
|
+
* @summary List all space comment replies
|
|
8158
8219
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies
|
|
8159
8220
|
* @secure
|
|
8160
8221
|
*/
|
|
@@ -8171,56 +8232,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8171
8232
|
format?: "document" | "markdown";
|
|
8172
8233
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8173
8234
|
items: CommentReply[];
|
|
8174
|
-
},
|
|
8235
|
+
}, any>>;
|
|
8175
8236
|
/**
|
|
8176
8237
|
* No description
|
|
8177
8238
|
*
|
|
8178
|
-
* @tags comments
|
|
8239
|
+
* @tags space-comments
|
|
8179
8240
|
* @name PostCommentReplyInSpace
|
|
8180
|
-
* @summary
|
|
8241
|
+
* @summary Create a space comment reply
|
|
8181
8242
|
* @request POST:/spaces/{spaceId}/comments/{commentId}/replies
|
|
8182
8243
|
* @secure
|
|
8183
8244
|
*/
|
|
8184
|
-
postCommentReplyInSpace: (spaceId: string, commentId: string, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8245
|
+
postCommentReplyInSpace: (spaceId: string, commentId: string, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8185
8246
|
/**
|
|
8186
8247
|
* No description
|
|
8187
8248
|
*
|
|
8188
|
-
* @tags comments
|
|
8249
|
+
* @tags space-comments
|
|
8189
8250
|
* @name GetCommentReplyInSpace
|
|
8190
|
-
* @summary Get a comment reply
|
|
8251
|
+
* @summary Get a space comment reply
|
|
8191
8252
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8192
8253
|
* @secure
|
|
8193
8254
|
*/
|
|
8194
8255
|
getCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, query?: {
|
|
8195
8256
|
/** Output format for the content. */
|
|
8196
8257
|
format?: "document" | "markdown";
|
|
8197
|
-
}, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8258
|
+
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8198
8259
|
/**
|
|
8199
8260
|
* No description
|
|
8200
8261
|
*
|
|
8201
|
-
* @tags comments
|
|
8262
|
+
* @tags space-comments
|
|
8202
8263
|
* @name UpdateCommentReplyInSpace
|
|
8203
|
-
* @summary Update a comment reply
|
|
8264
|
+
* @summary Update a space comment reply
|
|
8204
8265
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8205
8266
|
* @secure
|
|
8206
8267
|
*/
|
|
8207
|
-
updateCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply,
|
|
8268
|
+
updateCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
8208
8269
|
/**
|
|
8209
8270
|
* No description
|
|
8210
8271
|
*
|
|
8211
|
-
* @tags comments
|
|
8272
|
+
* @tags space-comments
|
|
8212
8273
|
* @name DeleteCommentReplyInSpace
|
|
8213
|
-
* @summary Delete a comment reply
|
|
8274
|
+
* @summary Delete a space comment reply
|
|
8214
8275
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
8215
8276
|
* @secure
|
|
8216
8277
|
*/
|
|
8217
|
-
deleteCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8278
|
+
deleteCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8218
8279
|
/**
|
|
8219
8280
|
* No description
|
|
8220
8281
|
*
|
|
8221
|
-
* @tags
|
|
8282
|
+
* @tags space-users
|
|
8222
8283
|
* @name ListPermissionsAggregateInSpace
|
|
8223
|
-
* @summary List
|
|
8284
|
+
* @summary List all space users permissions
|
|
8224
8285
|
* @request GET:/spaces/{spaceId}/permissions/aggregate
|
|
8225
8286
|
* @secure
|
|
8226
8287
|
*/
|
|
@@ -8237,13 +8298,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8237
8298
|
role?: MemberRole;
|
|
8238
8299
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8239
8300
|
items: UserContentPermission[];
|
|
8240
|
-
},
|
|
8301
|
+
}, any>>;
|
|
8241
8302
|
/**
|
|
8242
8303
|
* No description
|
|
8243
8304
|
*
|
|
8244
|
-
* @tags integrations
|
|
8305
|
+
* @tags space-integrations
|
|
8245
8306
|
* @name ListSpaceIntegrations
|
|
8246
|
-
* @summary List integrations enabled in a space
|
|
8307
|
+
* @summary List integrations enabled in a space
|
|
8247
8308
|
* @request GET:/spaces/{spaceId}/integrations
|
|
8248
8309
|
* @secure
|
|
8249
8310
|
*/
|
|
@@ -8252,17 +8313,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8252
8313
|
search?: string;
|
|
8253
8314
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8254
8315
|
items: Integration[];
|
|
8255
|
-
},
|
|
8316
|
+
}, any>>;
|
|
8256
8317
|
/**
|
|
8257
8318
|
* No description
|
|
8258
8319
|
*
|
|
8259
|
-
* @tags integrations
|
|
8320
|
+
* @tags space-integrations
|
|
8260
8321
|
* @name ListSpaceIntegrationsBlocks
|
|
8261
|
-
* @summary List integrations blocks
|
|
8322
|
+
* @summary List all space integrations blocks
|
|
8262
8323
|
* @request GET:/spaces/{spaceId}/integration-blocks
|
|
8263
8324
|
* @secure
|
|
8264
8325
|
*/
|
|
8265
|
-
listSpaceIntegrationsBlocks: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks,
|
|
8326
|
+
listSpaceIntegrationsBlocks: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks, {
|
|
8266
8327
|
error: {
|
|
8267
8328
|
/** @format int32 */
|
|
8268
8329
|
code: 404;
|
|
@@ -8272,13 +8333,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8272
8333
|
/**
|
|
8273
8334
|
* No description
|
|
8274
8335
|
*
|
|
8275
|
-
* @tags
|
|
8336
|
+
* @tags space-integrations
|
|
8276
8337
|
* @name ListSpaceIntegrationScripts
|
|
8277
|
-
* @summary List the scripts to embed in published content for a space
|
|
8338
|
+
* @summary List all the scripts to embed in published content for a space
|
|
8278
8339
|
* @request GET:/spaces/{spaceId}/integration-scripts
|
|
8279
8340
|
* @secure
|
|
8280
8341
|
*/
|
|
8281
|
-
listSpaceIntegrationScripts: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationScript[],
|
|
8342
|
+
listSpaceIntegrationScripts: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationScript[], {
|
|
8282
8343
|
error: {
|
|
8283
8344
|
/** @format int32 */
|
|
8284
8345
|
code: 400;
|
|
@@ -8288,29 +8349,29 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8288
8349
|
/**
|
|
8289
8350
|
* No description
|
|
8290
8351
|
*
|
|
8291
|
-
* @tags
|
|
8352
|
+
* @tags custom-fields
|
|
8292
8353
|
* @name GetSpaceCustomFields
|
|
8293
|
-
* @summary Get
|
|
8354
|
+
* @summary Get a space custom fields
|
|
8294
8355
|
* @request GET:/spaces/{spaceId}/custom-fields
|
|
8295
8356
|
* @secure
|
|
8296
8357
|
*/
|
|
8297
|
-
getSpaceCustomFields: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<CustomFieldValues,
|
|
8358
|
+
getSpaceCustomFields: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<CustomFieldValues, any>>;
|
|
8298
8359
|
/**
|
|
8299
8360
|
* No description
|
|
8300
8361
|
*
|
|
8301
|
-
* @tags
|
|
8362
|
+
* @tags custom-fields
|
|
8302
8363
|
* @name UpdateSpaceCustomFields
|
|
8303
|
-
* @summary Update
|
|
8364
|
+
* @summary Update a space custom fields
|
|
8304
8365
|
* @request PATCH:/spaces/{spaceId}/custom-fields
|
|
8305
8366
|
* @secure
|
|
8306
8367
|
*/
|
|
8307
|
-
updateSpaceCustomFields: (spaceId: string, data: UpdateCustomFieldValues, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8368
|
+
updateSpaceCustomFields: (spaceId: string, data: UpdateCustomFieldValues, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8308
8369
|
/**
|
|
8309
8370
|
* No description
|
|
8310
8371
|
*
|
|
8311
|
-
* @tags
|
|
8372
|
+
* @tags space-content
|
|
8312
8373
|
* @name GetSpacePdf
|
|
8313
|
-
* @summary
|
|
8374
|
+
* @summary Get a URL of the content of a space as PDF
|
|
8314
8375
|
* @request GET:/spaces/{spaceId}/pdf
|
|
8315
8376
|
* @secure
|
|
8316
8377
|
*/
|
|
@@ -8322,7 +8383,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8322
8383
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
8323
8384
|
/** Temporary URL to print the content. The URL will work for 1h. */
|
|
8324
8385
|
url: URL;
|
|
8325
|
-
},
|
|
8386
|
+
}, any>>;
|
|
8326
8387
|
/**
|
|
8327
8388
|
* No description
|
|
8328
8389
|
*
|
|
@@ -8351,7 +8412,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8351
8412
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8352
8413
|
stats: ContentReferencesStats;
|
|
8353
8414
|
items: ContentReferenceUsage[];
|
|
8354
|
-
},
|
|
8415
|
+
}, {
|
|
8355
8416
|
error: {
|
|
8356
8417
|
/** @format int32 */
|
|
8357
8418
|
code: 404;
|
|
@@ -8365,17 +8426,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8365
8426
|
*
|
|
8366
8427
|
* @tags collections
|
|
8367
8428
|
* @name GetCollectionById
|
|
8368
|
-
* @summary Get
|
|
8429
|
+
* @summary Get a collection by its ID
|
|
8369
8430
|
* @request GET:/collections/{collectionId}
|
|
8370
8431
|
* @secure
|
|
8371
8432
|
*/
|
|
8372
|
-
getCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8433
|
+
getCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
8373
8434
|
/**
|
|
8374
8435
|
* No description
|
|
8375
8436
|
*
|
|
8376
8437
|
* @tags collections
|
|
8377
8438
|
* @name UpdateCollectionById
|
|
8378
|
-
* @summary Update
|
|
8439
|
+
* @summary Update a collection
|
|
8379
8440
|
* @request PATCH:/collections/{collectionId}
|
|
8380
8441
|
* @secure
|
|
8381
8442
|
*/
|
|
@@ -8386,23 +8447,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8386
8447
|
description?: CollectionDescription;
|
|
8387
8448
|
/** Default level for a piece of content */
|
|
8388
8449
|
defaultLevel?: DefaultLevel;
|
|
8389
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8450
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
8390
8451
|
/**
|
|
8391
8452
|
* No description
|
|
8392
8453
|
*
|
|
8393
8454
|
* @tags collections
|
|
8394
8455
|
* @name DeleteCollectionById
|
|
8395
|
-
* @summary
|
|
8456
|
+
* @summary Delete a collection
|
|
8396
8457
|
* @request DELETE:/collections/{collectionId}
|
|
8397
8458
|
* @secure
|
|
8398
8459
|
*/
|
|
8399
|
-
deleteCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8460
|
+
deleteCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8400
8461
|
/**
|
|
8401
8462
|
* No description
|
|
8402
8463
|
*
|
|
8403
8464
|
* @tags collections
|
|
8404
8465
|
* @name ListSpacesInCollectionById
|
|
8405
|
-
* @summary List all
|
|
8466
|
+
* @summary List all collection spaces
|
|
8406
8467
|
* @request GET:/collections/{collectionId}/spaces
|
|
8407
8468
|
* @secure
|
|
8408
8469
|
*/
|
|
@@ -8417,7 +8478,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8417
8478
|
limit?: number;
|
|
8418
8479
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8419
8480
|
items: Space[];
|
|
8420
|
-
},
|
|
8481
|
+
}, any>>;
|
|
8421
8482
|
/**
|
|
8422
8483
|
* No description
|
|
8423
8484
|
*
|
|
@@ -8432,7 +8493,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8432
8493
|
parent?: string | null;
|
|
8433
8494
|
/** Where to move the collection. By default, it will be moved at the end. */
|
|
8434
8495
|
position?: ContentPosition;
|
|
8435
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8496
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, {
|
|
8436
8497
|
error: {
|
|
8437
8498
|
/** @format int32 */
|
|
8438
8499
|
code: 400;
|
|
@@ -8456,14 +8517,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8456
8517
|
*
|
|
8457
8518
|
* @tags collections
|
|
8458
8519
|
* @name TransferCollection
|
|
8459
|
-
* @summary Transfer a collection
|
|
8520
|
+
* @summary Transfer a collection
|
|
8460
8521
|
* @request POST:/collections/{collectionId}/transfer
|
|
8461
8522
|
* @secure
|
|
8462
8523
|
*/
|
|
8463
8524
|
transferCollection: (collectionId: string, data: {
|
|
8464
8525
|
/** The unique id of the target organization */
|
|
8465
8526
|
organization: string;
|
|
8466
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
8527
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, {
|
|
8467
8528
|
error: {
|
|
8468
8529
|
/** @format int32 */
|
|
8469
8530
|
code: 404;
|
|
@@ -8485,13 +8546,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8485
8546
|
/**
|
|
8486
8547
|
* No description
|
|
8487
8548
|
*
|
|
8488
|
-
* @tags
|
|
8549
|
+
* @tags collection-users
|
|
8489
8550
|
* @name InviteToCollection
|
|
8490
8551
|
* @summary Invite to a collection
|
|
8491
8552
|
* @request POST:/collections/{collectionId}/permissions
|
|
8492
8553
|
* @secure
|
|
8493
8554
|
*/
|
|
8494
|
-
inviteToCollection: (collectionId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8555
|
+
inviteToCollection: (collectionId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8495
8556
|
error: {
|
|
8496
8557
|
/** @format int32 */
|
|
8497
8558
|
code: 404;
|
|
@@ -8501,9 +8562,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8501
8562
|
/**
|
|
8502
8563
|
* No description
|
|
8503
8564
|
*
|
|
8504
|
-
* @tags
|
|
8565
|
+
* @tags collection-teams
|
|
8505
8566
|
* @name ListTeamPermissionsInCollection
|
|
8506
|
-
* @summary List
|
|
8567
|
+
* @summary List a collection team permissions
|
|
8507
8568
|
* @request GET:/collections/{collectionId}/permissions/teams
|
|
8508
8569
|
* @secure
|
|
8509
8570
|
*/
|
|
@@ -8530,20 +8591,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8530
8591
|
permission: MemberRole;
|
|
8531
8592
|
team: OrganizationTeam;
|
|
8532
8593
|
}[];
|
|
8533
|
-
},
|
|
8594
|
+
}, any>>;
|
|
8534
8595
|
/**
|
|
8535
8596
|
* No description
|
|
8536
8597
|
*
|
|
8537
|
-
* @tags
|
|
8598
|
+
* @tags collection-teams
|
|
8538
8599
|
* @name UpdateTeamPermissionInCollection
|
|
8539
|
-
* @summary Update a team
|
|
8600
|
+
* @summary Update a collection team permission
|
|
8540
8601
|
* @request PATCH:/collections/{collectionId}/permissions/teams/{teamId}
|
|
8541
8602
|
* @secure
|
|
8542
8603
|
*/
|
|
8543
8604
|
updateTeamPermissionInCollection: (collectionId: string, teamId: string, data: {
|
|
8544
8605
|
/** The role of a member in an organization, null for guests */
|
|
8545
8606
|
role?: MemberRoleOrGuest;
|
|
8546
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8607
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8547
8608
|
error: {
|
|
8548
8609
|
/** @format int32 */
|
|
8549
8610
|
code: 404;
|
|
@@ -8553,13 +8614,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8553
8614
|
/**
|
|
8554
8615
|
* No description
|
|
8555
8616
|
*
|
|
8556
|
-
* @tags
|
|
8617
|
+
* @tags collection-teams
|
|
8557
8618
|
* @name RemoveTeamFromCollection
|
|
8558
8619
|
* @summary Remove a team from a collection
|
|
8559
8620
|
* @request DELETE:/collections/{collectionId}/permissions/teams/{teamId}
|
|
8560
8621
|
* @secure
|
|
8561
8622
|
*/
|
|
8562
|
-
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8623
|
+
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8563
8624
|
error: {
|
|
8564
8625
|
/** @format int32 */
|
|
8565
8626
|
code: 404;
|
|
@@ -8569,9 +8630,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8569
8630
|
/**
|
|
8570
8631
|
* No description
|
|
8571
8632
|
*
|
|
8572
|
-
* @tags
|
|
8633
|
+
* @tags collection-users
|
|
8573
8634
|
* @name ListUserPermissionsInCollection
|
|
8574
|
-
* @summary List
|
|
8635
|
+
* @summary List collection user permissions
|
|
8575
8636
|
* @request GET:/collections/{collectionId}/permissions/users
|
|
8576
8637
|
* @secure
|
|
8577
8638
|
*/
|
|
@@ -8586,7 +8647,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8586
8647
|
limit?: number;
|
|
8587
8648
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8588
8649
|
items: UserContentPermission[];
|
|
8589
|
-
},
|
|
8650
|
+
}, {
|
|
8590
8651
|
error: {
|
|
8591
8652
|
/** @format int32 */
|
|
8592
8653
|
code: 404;
|
|
@@ -8596,16 +8657,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8596
8657
|
/**
|
|
8597
8658
|
* No description
|
|
8598
8659
|
*
|
|
8599
|
-
* @tags
|
|
8660
|
+
* @tags collection-users
|
|
8600
8661
|
* @name UpdateUserPermissionInCollection
|
|
8601
|
-
* @summary Update a user
|
|
8662
|
+
* @summary Update a collection user permission
|
|
8602
8663
|
* @request PATCH:/collections/{collectionId}/permissions/users/{userId}
|
|
8603
8664
|
* @secure
|
|
8604
8665
|
*/
|
|
8605
8666
|
updateUserPermissionInCollection: (collectionId: string, userId: string, data: {
|
|
8606
8667
|
/** The role of a member in an organization, null for guests */
|
|
8607
8668
|
role?: MemberRoleOrGuest;
|
|
8608
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8669
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8609
8670
|
error: {
|
|
8610
8671
|
/** @format int32 */
|
|
8611
8672
|
code: 404;
|
|
@@ -8615,13 +8676,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8615
8676
|
/**
|
|
8616
8677
|
* No description
|
|
8617
8678
|
*
|
|
8618
|
-
* @tags
|
|
8679
|
+
* @tags collection-users
|
|
8619
8680
|
* @name RemoveUserFromCollection
|
|
8620
8681
|
* @summary Remove a user from a collection
|
|
8621
8682
|
* @request DELETE:/collections/{collectionId}/permissions/users/{userId}
|
|
8622
8683
|
* @secure
|
|
8623
8684
|
*/
|
|
8624
|
-
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8685
|
+
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8625
8686
|
error: {
|
|
8626
8687
|
/** @format int32 */
|
|
8627
8688
|
code: 404;
|
|
@@ -8631,9 +8692,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8631
8692
|
/**
|
|
8632
8693
|
* No description
|
|
8633
8694
|
*
|
|
8634
|
-
* @tags
|
|
8695
|
+
* @tags collection-users
|
|
8635
8696
|
* @name ListPermissionsAggregateInCollection
|
|
8636
|
-
* @summary List
|
|
8697
|
+
* @summary List all collections users permissions
|
|
8637
8698
|
* @request GET:/collections/{collectionId}/permissions/aggregate
|
|
8638
8699
|
* @secure
|
|
8639
8700
|
*/
|
|
@@ -8650,7 +8711,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8650
8711
|
role?: MemberRole;
|
|
8651
8712
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8652
8713
|
items: UserContentPermission[];
|
|
8653
|
-
},
|
|
8714
|
+
}, any>>;
|
|
8654
8715
|
};
|
|
8655
8716
|
integrations: {
|
|
8656
8717
|
/**
|
|
@@ -8689,17 +8750,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8689
8750
|
owner?: string;
|
|
8690
8751
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8691
8752
|
items: Integration[];
|
|
8692
|
-
},
|
|
8753
|
+
}, any>>;
|
|
8693
8754
|
/**
|
|
8694
8755
|
* No description
|
|
8695
8756
|
*
|
|
8696
8757
|
* @tags integrations
|
|
8697
8758
|
* @name GetIntegrationByName
|
|
8698
|
-
* @summary Get
|
|
8759
|
+
* @summary Get an integration by its name
|
|
8699
8760
|
* @request GET:/integrations/{integrationName}
|
|
8700
8761
|
* @secure
|
|
8701
8762
|
*/
|
|
8702
|
-
getIntegrationByName: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<Integration,
|
|
8763
|
+
getIntegrationByName: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<Integration, {
|
|
8703
8764
|
error: {
|
|
8704
8765
|
/** @format int32 */
|
|
8705
8766
|
code: 404;
|
|
@@ -8715,7 +8776,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8715
8776
|
* @request POST:/integrations/{integrationName}
|
|
8716
8777
|
* @secure
|
|
8717
8778
|
*/
|
|
8718
|
-
publishIntegration: (integrationName: string, data: PublishIntegration, params?: RequestParams) => Promise<HttpResponse<Integration,
|
|
8779
|
+
publishIntegration: (integrationName: string, data: PublishIntegration, params?: RequestParams) => Promise<HttpResponse<Integration, {
|
|
8719
8780
|
error: {
|
|
8720
8781
|
/** @format int32 */
|
|
8721
8782
|
code: 404;
|
|
@@ -8731,13 +8792,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8731
8792
|
* @request DELETE:/integrations/{integrationName}
|
|
8732
8793
|
* @secure
|
|
8733
8794
|
*/
|
|
8734
|
-
unpublishIntegration: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8795
|
+
unpublishIntegration: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8735
8796
|
/**
|
|
8736
8797
|
* No description
|
|
8737
8798
|
*
|
|
8738
8799
|
* @tags integrations
|
|
8739
8800
|
* @name ListIntegrationInstallations
|
|
8740
|
-
* @summary
|
|
8801
|
+
* @summary List all integration installations
|
|
8741
8802
|
* @request GET:/integrations/{integrationName}/installations
|
|
8742
8803
|
* @secure
|
|
8743
8804
|
*/
|
|
@@ -8754,17 +8815,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8754
8815
|
externalId?: string;
|
|
8755
8816
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8756
8817
|
items: IntegrationInstallation[];
|
|
8757
|
-
},
|
|
8818
|
+
}, any>>;
|
|
8758
8819
|
/**
|
|
8759
8820
|
* No description
|
|
8760
8821
|
*
|
|
8761
8822
|
* @tags integrations
|
|
8762
8823
|
* @name InstallIntegration
|
|
8763
|
-
* @summary Install integration
|
|
8824
|
+
* @summary Install an integration
|
|
8764
8825
|
* @request POST:/integrations/{integrationName}/installations
|
|
8765
8826
|
* @secure
|
|
8766
8827
|
*/
|
|
8767
|
-
installIntegration: (integrationName: string, data: OrganizationTarget, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
8828
|
+
installIntegration: (integrationName: string, data: OrganizationTarget, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, {
|
|
8768
8829
|
error: {
|
|
8769
8830
|
/** @format int32 */
|
|
8770
8831
|
code: 404;
|
|
@@ -8791,20 +8852,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8791
8852
|
limit?: number;
|
|
8792
8853
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8793
8854
|
items: IntegrationEvent[];
|
|
8794
|
-
},
|
|
8855
|
+
}, any>>;
|
|
8795
8856
|
/**
|
|
8796
8857
|
* No description
|
|
8797
8858
|
*
|
|
8798
8859
|
* @tags integrations
|
|
8799
8860
|
* @name GetIntegrationEvent
|
|
8800
|
-
* @summary Get
|
|
8861
|
+
* @summary Get an integration event by its ID
|
|
8801
8862
|
* @request GET:/integrations/{integrationName}/events/{eventId}
|
|
8802
8863
|
* @secure
|
|
8803
8864
|
*/
|
|
8804
8865
|
getIntegrationEvent: (integrationName: string, eventId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
8805
8866
|
event: IntegrationEvent;
|
|
8806
8867
|
trace?: IntegrationEventTrace;
|
|
8807
|
-
},
|
|
8868
|
+
}, {
|
|
8808
8869
|
error: {
|
|
8809
8870
|
/** @format int32 */
|
|
8810
8871
|
code: 404;
|
|
@@ -8816,7 +8877,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8816
8877
|
*
|
|
8817
8878
|
* @tags integrations
|
|
8818
8879
|
* @name ListIntegrationSpaceInstallations
|
|
8819
|
-
* @summary
|
|
8880
|
+
* @summary List all integration space installations
|
|
8820
8881
|
* @request GET:/integrations/{integrationName}/spaces
|
|
8821
8882
|
* @secure
|
|
8822
8883
|
*/
|
|
@@ -8838,13 +8899,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8838
8899
|
extended?: boolean;
|
|
8839
8900
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
8840
8901
|
items: IntegrationSpaceInstallation[];
|
|
8841
|
-
},
|
|
8902
|
+
}, any>>;
|
|
8842
8903
|
/**
|
|
8843
8904
|
* No description
|
|
8844
8905
|
*
|
|
8845
8906
|
* @tags integrations
|
|
8846
8907
|
* @name SetIntegrationDevelopmentMode
|
|
8847
|
-
* @summary
|
|
8908
|
+
* @summary Enable integration dev mode
|
|
8848
8909
|
* @request PUT:/integrations/{integrationName}/dev
|
|
8849
8910
|
* @secure
|
|
8850
8911
|
*/
|
|
@@ -8860,7 +8921,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8860
8921
|
* @default false
|
|
8861
8922
|
*/
|
|
8862
8923
|
all?: boolean;
|
|
8863
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8924
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8864
8925
|
error: {
|
|
8865
8926
|
/** @format int32 */
|
|
8866
8927
|
code: 404;
|
|
@@ -8872,40 +8933,40 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8872
8933
|
*
|
|
8873
8934
|
* @tags integrations
|
|
8874
8935
|
* @name DisableIntegrationDevelopmentMode
|
|
8875
|
-
* @summary Disable
|
|
8936
|
+
* @summary Disable integration dev mode
|
|
8876
8937
|
* @request DELETE:/integrations/{integrationName}/dev
|
|
8877
8938
|
* @secure
|
|
8878
8939
|
*/
|
|
8879
|
-
disableIntegrationDevelopmentMode: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8940
|
+
disableIntegrationDevelopmentMode: (integrationName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8880
8941
|
/**
|
|
8881
8942
|
* No description
|
|
8882
8943
|
*
|
|
8883
8944
|
* @tags integrations
|
|
8884
8945
|
* @name RenderIntegrationUiWithGet
|
|
8885
|
-
* @summary Render an integration UI
|
|
8946
|
+
* @summary Render an integration UI with GET method
|
|
8886
8947
|
* @request GET:/integrations/{integrationName}/render
|
|
8887
8948
|
* @secure
|
|
8888
8949
|
*/
|
|
8889
8950
|
renderIntegrationUiWithGet: (integrationName: string, query: {
|
|
8890
8951
|
/** LZ-string compressed JSON request */
|
|
8891
8952
|
request: string;
|
|
8892
|
-
}, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput,
|
|
8953
|
+
}, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput, any>>;
|
|
8893
8954
|
/**
|
|
8894
8955
|
* No description
|
|
8895
8956
|
*
|
|
8896
8957
|
* @tags integrations
|
|
8897
8958
|
* @name RenderIntegrationUiWithPost
|
|
8898
|
-
* @summary Render an integration UI
|
|
8959
|
+
* @summary Render an integration UI with POST method
|
|
8899
8960
|
* @request POST:/integrations/{integrationName}/render
|
|
8900
8961
|
* @secure
|
|
8901
8962
|
*/
|
|
8902
|
-
renderIntegrationUiWithPost: (integrationName: string, data: RenderIntegrationUI, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput,
|
|
8963
|
+
renderIntegrationUiWithPost: (integrationName: string, data: RenderIntegrationUI, params?: RequestParams) => Promise<HttpResponse<ContentKitRenderOutput, any>>;
|
|
8903
8964
|
/**
|
|
8904
8965
|
* No description
|
|
8905
8966
|
*
|
|
8906
8967
|
* @tags integrations
|
|
8907
8968
|
* @name QueueIntegrationTask
|
|
8908
|
-
* @summary Queue
|
|
8969
|
+
* @summary Queue an integration task
|
|
8909
8970
|
* @request POST:/integrations/{integrationName}/tasks
|
|
8910
8971
|
* @secure
|
|
8911
8972
|
*/
|
|
@@ -8918,7 +8979,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8918
8979
|
* @max 86400
|
|
8919
8980
|
*/
|
|
8920
8981
|
schedule?: number;
|
|
8921
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
8982
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8922
8983
|
error: {
|
|
8923
8984
|
/** @format int32 */
|
|
8924
8985
|
code: 404;
|
|
@@ -8930,11 +8991,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8930
8991
|
*
|
|
8931
8992
|
* @tags integrations
|
|
8932
8993
|
* @name GetIntegrationInstallationById
|
|
8933
|
-
* @summary Get
|
|
8994
|
+
* @summary Get an integration installation by its ID
|
|
8934
8995
|
* @request GET:/integrations/{integrationName}/installations/{installationId}
|
|
8935
8996
|
* @secure
|
|
8936
8997
|
*/
|
|
8937
|
-
getIntegrationInstallationById: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
8998
|
+
getIntegrationInstallationById: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, {
|
|
8938
8999
|
error: {
|
|
8939
9000
|
/** @format int32 */
|
|
8940
9001
|
code: 404;
|
|
@@ -8946,21 +9007,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8946
9007
|
*
|
|
8947
9008
|
* @tags integrations
|
|
8948
9009
|
* @name UpdateIntegrationInstallation
|
|
8949
|
-
* @summary Update
|
|
9010
|
+
* @summary Update an integration installation
|
|
8950
9011
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}
|
|
8951
9012
|
* @secure
|
|
8952
9013
|
*/
|
|
8953
|
-
updateIntegrationInstallation: (integrationName: string, installationId: string, data: UpdateIntegrationInstallation, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation,
|
|
9014
|
+
updateIntegrationInstallation: (integrationName: string, installationId: string, data: UpdateIntegrationInstallation, params?: RequestParams) => Promise<HttpResponse<IntegrationInstallation, any>>;
|
|
8954
9015
|
/**
|
|
8955
9016
|
* No description
|
|
8956
9017
|
*
|
|
8957
9018
|
* @tags integrations
|
|
8958
9019
|
* @name UninstallIntegration
|
|
8959
|
-
* @summary Uninstall
|
|
9020
|
+
* @summary Uninstall an integration
|
|
8960
9021
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}
|
|
8961
9022
|
* @secure
|
|
8962
9023
|
*/
|
|
8963
|
-
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9024
|
+
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8964
9025
|
error: {
|
|
8965
9026
|
/** @format int32 */
|
|
8966
9027
|
code: 404;
|
|
@@ -8976,7 +9037,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8976
9037
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/tokens
|
|
8977
9038
|
* @secure
|
|
8978
9039
|
*/
|
|
8979
|
-
createIntegrationInstallationToken: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<APITemporaryToken,
|
|
9040
|
+
createIntegrationInstallationToken: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<APITemporaryToken, {
|
|
8980
9041
|
error: {
|
|
8981
9042
|
/** @format int32 */
|
|
8982
9043
|
code: 404;
|
|
@@ -8988,7 +9049,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8988
9049
|
*
|
|
8989
9050
|
* @tags integrations
|
|
8990
9051
|
* @name ListIntegrationInstallationSpaces
|
|
8991
|
-
* @summary List
|
|
9052
|
+
* @summary List all space integration installations
|
|
8992
9053
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/spaces
|
|
8993
9054
|
* @secure
|
|
8994
9055
|
*/
|
|
@@ -9008,12 +9069,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9008
9069
|
extended?: boolean;
|
|
9009
9070
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9010
9071
|
items: IntegrationSpaceInstallation[];
|
|
9011
|
-
},
|
|
9072
|
+
}, any>>;
|
|
9012
9073
|
/**
|
|
9013
9074
|
* No description
|
|
9014
9075
|
*
|
|
9015
9076
|
* @name InstallIntegrationOnSpace
|
|
9016
|
-
* @summary Install integration on a space
|
|
9077
|
+
* @summary Install an integration on a space
|
|
9017
9078
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/spaces
|
|
9018
9079
|
* @secure
|
|
9019
9080
|
*/
|
|
@@ -9026,7 +9087,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9026
9087
|
* @default false
|
|
9027
9088
|
*/
|
|
9028
9089
|
extended?: boolean;
|
|
9029
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9090
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, {
|
|
9030
9091
|
error: {
|
|
9031
9092
|
/** @format int32 */
|
|
9032
9093
|
code: 404;
|
|
@@ -9038,7 +9099,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9038
9099
|
*
|
|
9039
9100
|
* @tags integrations
|
|
9040
9101
|
* @name GetIntegrationSpaceInstallation
|
|
9041
|
-
* @summary Get
|
|
9102
|
+
* @summary Get an integration space installation
|
|
9042
9103
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9043
9104
|
* @secure
|
|
9044
9105
|
*/
|
|
@@ -9048,7 +9109,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9048
9109
|
* @default false
|
|
9049
9110
|
*/
|
|
9050
9111
|
extended?: boolean;
|
|
9051
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9112
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, {
|
|
9052
9113
|
error: {
|
|
9053
9114
|
/** @format int32 */
|
|
9054
9115
|
code: 404;
|
|
@@ -9060,7 +9121,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9060
9121
|
*
|
|
9061
9122
|
* @tags integrations
|
|
9062
9123
|
* @name UpdateIntegrationSpaceInstallation
|
|
9063
|
-
* @summary Update
|
|
9124
|
+
* @summary Update an integration space installation
|
|
9064
9125
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9065
9126
|
* @secure
|
|
9066
9127
|
*/
|
|
@@ -9070,23 +9131,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9070
9131
|
* @default false
|
|
9071
9132
|
*/
|
|
9072
9133
|
extended?: boolean;
|
|
9073
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation,
|
|
9134
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSpaceInstallation, any>>;
|
|
9074
9135
|
/**
|
|
9075
9136
|
* No description
|
|
9076
9137
|
*
|
|
9077
9138
|
* @tags integrations
|
|
9078
9139
|
* @name UninstallIntegrationFromSpace
|
|
9079
|
-
* @summary Uninstall
|
|
9140
|
+
* @summary Uninstall an integration from a space
|
|
9080
9141
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
9081
9142
|
* @secure
|
|
9082
9143
|
*/
|
|
9083
|
-
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9144
|
+
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9084
9145
|
/**
|
|
9085
9146
|
* No description
|
|
9086
9147
|
*
|
|
9087
9148
|
* @tags integrations
|
|
9088
9149
|
* @name ListIntegrationInstallationSites
|
|
9089
|
-
* @summary List
|
|
9150
|
+
* @summary List all site integration installations
|
|
9090
9151
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/sites
|
|
9091
9152
|
* @secure
|
|
9092
9153
|
*/
|
|
@@ -9106,13 +9167,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9106
9167
|
extended?: boolean;
|
|
9107
9168
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9108
9169
|
items: IntegrationSiteInstallation[];
|
|
9109
|
-
},
|
|
9170
|
+
}, any>>;
|
|
9110
9171
|
/**
|
|
9111
9172
|
* No description
|
|
9112
9173
|
*
|
|
9113
9174
|
* @tags integrations
|
|
9114
9175
|
* @name InstallIntegrationOnSite
|
|
9115
|
-
* @summary Install integration on a site
|
|
9176
|
+
* @summary Install an integration on a site
|
|
9116
9177
|
* @request POST:/integrations/{integrationName}/installations/{installationId}/sites
|
|
9117
9178
|
* @secure
|
|
9118
9179
|
*/
|
|
@@ -9125,7 +9186,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9125
9186
|
* @default false
|
|
9126
9187
|
*/
|
|
9127
9188
|
extended?: boolean;
|
|
9128
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9189
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, {
|
|
9129
9190
|
error: {
|
|
9130
9191
|
/** @format int32 */
|
|
9131
9192
|
code: 404;
|
|
@@ -9137,7 +9198,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9137
9198
|
*
|
|
9138
9199
|
* @tags integrations
|
|
9139
9200
|
* @name GetIntegrationSiteInstallation
|
|
9140
|
-
* @summary Get
|
|
9201
|
+
* @summary Get an integration site installation
|
|
9141
9202
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9142
9203
|
* @secure
|
|
9143
9204
|
*/
|
|
@@ -9147,7 +9208,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9147
9208
|
* @default false
|
|
9148
9209
|
*/
|
|
9149
9210
|
extended?: boolean;
|
|
9150
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9211
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, {
|
|
9151
9212
|
error: {
|
|
9152
9213
|
/** @format int32 */
|
|
9153
9214
|
code: 404;
|
|
@@ -9159,7 +9220,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9159
9220
|
*
|
|
9160
9221
|
* @tags integrations
|
|
9161
9222
|
* @name UpdateIntegrationSiteInstallation
|
|
9162
|
-
* @summary Update
|
|
9223
|
+
* @summary Update an integration site installation
|
|
9163
9224
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9164
9225
|
* @secure
|
|
9165
9226
|
*/
|
|
@@ -9169,17 +9230,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9169
9230
|
* @default false
|
|
9170
9231
|
*/
|
|
9171
9232
|
extended?: boolean;
|
|
9172
|
-
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation,
|
|
9233
|
+
}, params?: RequestParams) => Promise<HttpResponse<IntegrationSiteInstallation, any>>;
|
|
9173
9234
|
/**
|
|
9174
9235
|
* No description
|
|
9175
9236
|
*
|
|
9176
9237
|
* @tags integrations
|
|
9177
9238
|
* @name UninstallIntegrationFromSite
|
|
9178
|
-
* @summary Uninstall
|
|
9239
|
+
* @summary Uninstall an integration from a site
|
|
9179
9240
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
|
|
9180
9241
|
* @secure
|
|
9181
9242
|
*/
|
|
9182
|
-
uninstallIntegrationFromSite: (integrationName: string, installationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9243
|
+
uninstallIntegrationFromSite: (integrationName: string, installationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9183
9244
|
};
|
|
9184
9245
|
orgs: {
|
|
9185
9246
|
/**
|
|
@@ -9202,7 +9263,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9202
9263
|
limit?: number;
|
|
9203
9264
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9204
9265
|
items: Organization[];
|
|
9205
|
-
},
|
|
9266
|
+
}, any>>;
|
|
9206
9267
|
/**
|
|
9207
9268
|
* No description
|
|
9208
9269
|
*
|
|
@@ -9212,7 +9273,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9212
9273
|
* @request GET:/orgs/{organizationId}
|
|
9213
9274
|
* @secure
|
|
9214
9275
|
*/
|
|
9215
|
-
getOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<Organization,
|
|
9276
|
+
getOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<Organization, {
|
|
9216
9277
|
error: {
|
|
9217
9278
|
/** @format int32 */
|
|
9218
9279
|
code: 404;
|
|
@@ -9224,7 +9285,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9224
9285
|
*
|
|
9225
9286
|
* @tags organizations
|
|
9226
9287
|
* @name UpdateOrganizationById
|
|
9227
|
-
* @summary Update an organization
|
|
9288
|
+
* @summary Update an organization
|
|
9228
9289
|
* @request PATCH:/orgs/{organizationId}
|
|
9229
9290
|
* @secure
|
|
9230
9291
|
*/
|
|
@@ -9241,7 +9302,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9241
9302
|
sso?: boolean;
|
|
9242
9303
|
ai?: boolean;
|
|
9243
9304
|
inviteLinks?: boolean;
|
|
9244
|
-
}, params?: RequestParams) => Promise<HttpResponse<Organization,
|
|
9305
|
+
}, params?: RequestParams) => Promise<HttpResponse<Organization, {
|
|
9245
9306
|
error: {
|
|
9246
9307
|
/** @format int32 */
|
|
9247
9308
|
code: 400;
|
|
@@ -9249,11 +9310,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9249
9310
|
};
|
|
9250
9311
|
}>>;
|
|
9251
9312
|
/**
|
|
9252
|
-
*
|
|
9313
|
+
* No description
|
|
9253
9314
|
*
|
|
9254
|
-
* @tags
|
|
9315
|
+
* @tags organization-members
|
|
9255
9316
|
* @name ListMembersInOrganizationById
|
|
9256
|
-
* @summary List organization members
|
|
9317
|
+
* @summary List all organization members
|
|
9257
9318
|
* @request GET:/orgs/{organizationId}/members
|
|
9258
9319
|
* @secure
|
|
9259
9320
|
*/
|
|
@@ -9282,69 +9343,69 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9282
9343
|
sort?: "joinedAt" | "lastSeenAt";
|
|
9283
9344
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9284
9345
|
items: OrganizationMember[];
|
|
9285
|
-
},
|
|
9346
|
+
}, any>>;
|
|
9286
9347
|
/**
|
|
9287
|
-
*
|
|
9348
|
+
* No description
|
|
9288
9349
|
*
|
|
9289
|
-
* @tags
|
|
9350
|
+
* @tags organization-members
|
|
9290
9351
|
* @name GetMemberInOrganizationById
|
|
9291
|
-
* @summary Get
|
|
9352
|
+
* @summary Get an organization member by its ID
|
|
9292
9353
|
* @request GET:/orgs/{organizationId}/members/{userId}
|
|
9293
9354
|
* @secure
|
|
9294
9355
|
*/
|
|
9295
|
-
getMemberInOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9356
|
+
getMemberInOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9296
9357
|
/**
|
|
9297
|
-
*
|
|
9358
|
+
* No description
|
|
9298
9359
|
*
|
|
9299
|
-
* @tags
|
|
9360
|
+
* @tags organization-members
|
|
9300
9361
|
* @name UpdateMemberInOrganizationById
|
|
9301
|
-
* @summary Update
|
|
9362
|
+
* @summary Update an organization member
|
|
9302
9363
|
* @request PATCH:/orgs/{organizationId}/members/{userId}
|
|
9303
9364
|
* @secure
|
|
9304
9365
|
*/
|
|
9305
9366
|
updateMemberInOrganizationById: (organizationId: string, userId: string, data: {
|
|
9306
9367
|
/** The role of a member in an organization, null for guests */
|
|
9307
9368
|
role?: MemberRoleOrGuest;
|
|
9308
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9369
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9309
9370
|
/**
|
|
9310
|
-
*
|
|
9371
|
+
* No description
|
|
9311
9372
|
*
|
|
9312
|
-
* @tags
|
|
9373
|
+
* @tags organization-members
|
|
9313
9374
|
* @name RemoveMemberFromOrganizationById
|
|
9314
|
-
* @summary Delete
|
|
9375
|
+
* @summary Delete an organization member
|
|
9315
9376
|
* @request DELETE:/orgs/{organizationId}/members/{userId}
|
|
9316
9377
|
* @secure
|
|
9317
9378
|
*/
|
|
9318
|
-
removeMemberFromOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9379
|
+
removeMemberFromOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9319
9380
|
/**
|
|
9320
|
-
*
|
|
9381
|
+
* No description
|
|
9321
9382
|
*
|
|
9322
|
-
* @tags
|
|
9383
|
+
* @tags organization-members
|
|
9323
9384
|
* @name UpdateOrganizationMemberLastSeenAt
|
|
9324
|
-
* @summary Update organization member
|
|
9385
|
+
* @summary Update an organization member last seen at
|
|
9325
9386
|
* @request POST:/orgs/{organizationId}/ping
|
|
9326
9387
|
* @secure
|
|
9327
9388
|
*/
|
|
9328
9389
|
updateOrganizationMemberLastSeenAt: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9329
9390
|
/** A JTW token containing the claims to attach to this user. */
|
|
9330
9391
|
gitbookVisitorClaims?: string;
|
|
9331
|
-
},
|
|
9392
|
+
}, any>>;
|
|
9332
9393
|
/**
|
|
9333
9394
|
* No description
|
|
9334
9395
|
*
|
|
9335
|
-
* @tags
|
|
9396
|
+
* @tags organization-members
|
|
9336
9397
|
* @name SetUserAsSsoMemberForOrganization
|
|
9337
9398
|
* @summary Set a user as an SSO member of an organization
|
|
9338
9399
|
* @request POST:/orgs/{organizationId}/members/{userId}/sso
|
|
9339
9400
|
* @secure
|
|
9340
9401
|
*/
|
|
9341
|
-
setUserAsSsoMemberForOrganization: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember,
|
|
9402
|
+
setUserAsSsoMemberForOrganization: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
9342
9403
|
/**
|
|
9343
9404
|
* No description
|
|
9344
9405
|
*
|
|
9345
|
-
* @tags
|
|
9406
|
+
* @tags organization-members
|
|
9346
9407
|
* @name ListSpacesForOrganizationMember
|
|
9347
|
-
* @summary List
|
|
9408
|
+
* @summary List an organization member space permissions
|
|
9348
9409
|
* @request GET:/orgs/{organizationId}/members/{userId}/spaces
|
|
9349
9410
|
* @secure
|
|
9350
9411
|
*/
|
|
@@ -9364,13 +9425,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9364
9425
|
order?: "asc" | "desc";
|
|
9365
9426
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9366
9427
|
items: MemberContentPermission[];
|
|
9367
|
-
},
|
|
9428
|
+
}, any>>;
|
|
9368
9429
|
/**
|
|
9369
9430
|
* No description
|
|
9370
9431
|
*
|
|
9371
|
-
* @tags
|
|
9432
|
+
* @tags organization-members
|
|
9372
9433
|
* @name ListTeamsForOrganizationMember
|
|
9373
|
-
* @summary List all
|
|
9434
|
+
* @summary List all organization member teams
|
|
9374
9435
|
* @request GET:/orgs/{organizationId}/members/{userId}/teams
|
|
9375
9436
|
* @secure
|
|
9376
9437
|
*/
|
|
@@ -9390,13 +9451,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9390
9451
|
team: OrganizationTeam;
|
|
9391
9452
|
member: TeamMember;
|
|
9392
9453
|
}[];
|
|
9393
|
-
},
|
|
9454
|
+
}, any>>;
|
|
9394
9455
|
/**
|
|
9395
|
-
*
|
|
9456
|
+
* No description
|
|
9396
9457
|
*
|
|
9397
|
-
* @tags
|
|
9458
|
+
* @tags teams
|
|
9398
9459
|
* @name ListTeamsInOrganizationById
|
|
9399
|
-
* @summary List
|
|
9460
|
+
* @summary List all teams
|
|
9400
9461
|
* @request GET:/orgs/{organizationId}/teams
|
|
9401
9462
|
* @secure
|
|
9402
9463
|
*/
|
|
@@ -9415,13 +9476,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9415
9476
|
title?: string;
|
|
9416
9477
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9417
9478
|
items: OrganizationTeam[];
|
|
9418
|
-
},
|
|
9479
|
+
}, any>>;
|
|
9419
9480
|
/**
|
|
9420
|
-
*
|
|
9481
|
+
* No description
|
|
9421
9482
|
*
|
|
9422
|
-
* @tags
|
|
9483
|
+
* @tags teams
|
|
9423
9484
|
* @name CreateOrganizationTeam
|
|
9424
|
-
* @summary Create
|
|
9485
|
+
* @summary Create a team
|
|
9425
9486
|
* @request PUT:/orgs/{organizationId}/teams
|
|
9426
9487
|
* @secure
|
|
9427
9488
|
*/
|
|
@@ -9430,56 +9491,56 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9430
9491
|
title: OrganizationTeamTitle;
|
|
9431
9492
|
/** A list of organization member identifiers */
|
|
9432
9493
|
members?: string[];
|
|
9433
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9494
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9434
9495
|
/**
|
|
9435
|
-
*
|
|
9496
|
+
* No description
|
|
9436
9497
|
*
|
|
9437
|
-
* @tags
|
|
9498
|
+
* @tags teams
|
|
9438
9499
|
* @name GetTeamInOrganizationById
|
|
9439
|
-
* @summary Get
|
|
9500
|
+
* @summary Get a team
|
|
9440
9501
|
* @request GET:/orgs/{organizationId}/teams/{teamId}
|
|
9441
9502
|
* @secure
|
|
9442
9503
|
*/
|
|
9443
|
-
getTeamInOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9504
|
+
getTeamInOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9444
9505
|
/**
|
|
9445
|
-
*
|
|
9506
|
+
* No description
|
|
9446
9507
|
*
|
|
9447
|
-
* @tags
|
|
9508
|
+
* @tags teams
|
|
9448
9509
|
* @name UpdateTeamInOrganizationById
|
|
9449
|
-
* @summary Update
|
|
9510
|
+
* @summary Update a team
|
|
9450
9511
|
* @request PATCH:/orgs/{organizationId}/teams/{teamId}
|
|
9451
9512
|
* @secure
|
|
9452
9513
|
*/
|
|
9453
9514
|
updateTeamInOrganizationById: (organizationId: string, teamId: string, data: {
|
|
9454
9515
|
/** Title of the team */
|
|
9455
9516
|
title: OrganizationTeamTitle;
|
|
9456
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam,
|
|
9517
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
9457
9518
|
/**
|
|
9458
|
-
*
|
|
9519
|
+
* No description
|
|
9459
9520
|
*
|
|
9460
|
-
* @tags
|
|
9521
|
+
* @tags teams
|
|
9461
9522
|
* @name RemoveTeamFromOrganizationById
|
|
9462
|
-
* @summary Delete a team
|
|
9523
|
+
* @summary Delete a team
|
|
9463
9524
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}
|
|
9464
9525
|
* @secure
|
|
9465
9526
|
*/
|
|
9466
|
-
removeTeamFromOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9527
|
+
removeTeamFromOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9467
9528
|
/**
|
|
9468
9529
|
* @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.
|
|
9469
9530
|
*
|
|
9470
|
-
* @tags
|
|
9531
|
+
* @tags team-members
|
|
9471
9532
|
* @name UpdateMembersInOrganizationTeam
|
|
9472
|
-
* @summary Updates members of
|
|
9533
|
+
* @summary Updates members of a team
|
|
9473
9534
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members
|
|
9474
9535
|
* @secure
|
|
9475
9536
|
*/
|
|
9476
|
-
updateMembersInOrganizationTeam: (organizationId: string, teamId: string, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9537
|
+
updateMembersInOrganizationTeam: (organizationId: string, teamId: string, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9477
9538
|
/**
|
|
9478
9539
|
* @description Lists members, and their roles, for the specified organization team.
|
|
9479
9540
|
*
|
|
9480
|
-
* @tags
|
|
9541
|
+
* @tags team-members
|
|
9481
9542
|
* @name ListTeamMembersInOrganizationById
|
|
9482
|
-
* @summary List team members
|
|
9543
|
+
* @summary List all team members
|
|
9483
9544
|
* @request GET:/orgs/{organizationId}/teams/{teamId}/members
|
|
9484
9545
|
* @secure
|
|
9485
9546
|
*/
|
|
@@ -9494,13 +9555,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9494
9555
|
limit?: number;
|
|
9495
9556
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9496
9557
|
items: OrganizationTeamMember[];
|
|
9497
|
-
},
|
|
9558
|
+
}, any>>;
|
|
9498
9559
|
/**
|
|
9499
9560
|
* @description Add or updates member in the specified organization team.
|
|
9500
9561
|
*
|
|
9501
|
-
* @tags
|
|
9562
|
+
* @tags team-members
|
|
9502
9563
|
* @name AddMemberToOrganizationTeamById
|
|
9503
|
-
* @summary Add
|
|
9564
|
+
* @summary Add a team member
|
|
9504
9565
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
9505
9566
|
* @secure
|
|
9506
9567
|
*/
|
|
@@ -9511,23 +9572,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9511
9572
|
* "member": Is a member of the team.
|
|
9512
9573
|
*/
|
|
9513
9574
|
role?: TeamMemberRole;
|
|
9514
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9575
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9515
9576
|
/**
|
|
9516
9577
|
* @description Deletes member from the specified organization team.
|
|
9517
9578
|
*
|
|
9518
|
-
* @tags
|
|
9579
|
+
* @tags team-members
|
|
9519
9580
|
* @name DeleteMemberFromOrganizationTeamById
|
|
9520
|
-
* @summary Delete
|
|
9581
|
+
* @summary Delete a team member
|
|
9521
9582
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
9522
9583
|
* @secure
|
|
9523
9584
|
*/
|
|
9524
|
-
deleteMemberFromOrganizationTeamById: (organizationId: string, teamId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9585
|
+
deleteMemberFromOrganizationTeamById: (organizationId: string, teamId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9525
9586
|
/**
|
|
9526
9587
|
* No description
|
|
9527
9588
|
*
|
|
9528
|
-
* @tags
|
|
9589
|
+
* @tags organization-invites
|
|
9529
9590
|
* @name InviteUsersToOrganization
|
|
9530
|
-
* @summary Invite users
|
|
9591
|
+
* @summary Invite users in an organization
|
|
9531
9592
|
* @request POST:/orgs/{organizationId}/invites
|
|
9532
9593
|
* @secure
|
|
9533
9594
|
*/
|
|
@@ -9536,7 +9597,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9536
9597
|
/** The number of users who were added to the organization */
|
|
9537
9598
|
invited: number;
|
|
9538
9599
|
failedSSOEmails?: string[];
|
|
9539
|
-
},
|
|
9600
|
+
}, {
|
|
9540
9601
|
error: {
|
|
9541
9602
|
/** @format int32 */
|
|
9542
9603
|
code: 400;
|
|
@@ -9546,19 +9607,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9546
9607
|
/**
|
|
9547
9608
|
* No description
|
|
9548
9609
|
*
|
|
9549
|
-
* @tags
|
|
9610
|
+
* @tags organization-invites
|
|
9550
9611
|
* @name JoinOrganizationWithInvite
|
|
9551
|
-
* @summary
|
|
9612
|
+
* @summary Join an organization with an invite
|
|
9552
9613
|
* @request POST:/orgs/{organizationId}/invites/{inviteId}
|
|
9553
9614
|
* @secure
|
|
9554
9615
|
*/
|
|
9555
|
-
joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object,
|
|
9616
|
+
joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object, any>>;
|
|
9556
9617
|
/**
|
|
9557
9618
|
* No description
|
|
9558
9619
|
*
|
|
9559
|
-
* @tags
|
|
9620
|
+
* @tags organization-invites
|
|
9560
9621
|
* @name ListOrganizationInviteLinks
|
|
9561
|
-
* @summary List
|
|
9622
|
+
* @summary List organization invites
|
|
9562
9623
|
* @request GET:/orgs/{organizationId}/link-invites
|
|
9563
9624
|
* @secure
|
|
9564
9625
|
*/
|
|
@@ -9573,33 +9634,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9573
9634
|
limit?: number;
|
|
9574
9635
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9575
9636
|
items: InviteLinkToOrganization[];
|
|
9576
|
-
},
|
|
9637
|
+
}, any>>;
|
|
9577
9638
|
/**
|
|
9578
9639
|
* No description
|
|
9579
9640
|
*
|
|
9580
|
-
* @tags
|
|
9641
|
+
* @tags organization-invites
|
|
9581
9642
|
* @name CreateOrganizationInvite
|
|
9582
|
-
* @summary Create
|
|
9643
|
+
* @summary Create an organization invite
|
|
9583
9644
|
* @request POST:/orgs/{organizationId}/link-invites
|
|
9584
9645
|
* @secure
|
|
9585
9646
|
*/
|
|
9586
|
-
createOrganizationInvite: (organizationId: string, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9647
|
+
createOrganizationInvite: (organizationId: string, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9587
9648
|
/**
|
|
9588
9649
|
* No description
|
|
9589
9650
|
*
|
|
9590
|
-
* @tags
|
|
9651
|
+
* @tags organization-invites
|
|
9591
9652
|
* @name GetOrganizationInviteLink
|
|
9592
|
-
* @summary Get an
|
|
9653
|
+
* @summary Get an organization by its ID
|
|
9593
9654
|
* @request GET:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9594
9655
|
* @secure
|
|
9595
9656
|
*/
|
|
9596
|
-
getOrganizationInviteLink: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9657
|
+
getOrganizationInviteLink: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9597
9658
|
/**
|
|
9598
9659
|
* No description
|
|
9599
9660
|
*
|
|
9600
|
-
* @tags
|
|
9661
|
+
* @tags organization-invites
|
|
9601
9662
|
* @name UpdateOrganizationInviteById
|
|
9602
|
-
* @summary Update an organization invite
|
|
9663
|
+
* @summary Update an organization invite
|
|
9603
9664
|
* @request PATCH:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9604
9665
|
* @secure
|
|
9605
9666
|
*/
|
|
@@ -9609,7 +9670,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9609
9670
|
} | {
|
|
9610
9671
|
/** The role of a member in an organization, null for guests */
|
|
9611
9672
|
level: MemberRoleOrGuest;
|
|
9612
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink,
|
|
9673
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
9613
9674
|
/**
|
|
9614
9675
|
* No description
|
|
9615
9676
|
*
|
|
@@ -9619,7 +9680,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9619
9680
|
* @request DELETE:/orgs/{organizationId}/link-invites/{inviteId}
|
|
9620
9681
|
* @secure
|
|
9621
9682
|
*/
|
|
9622
|
-
deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9683
|
+
deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9623
9684
|
/**
|
|
9624
9685
|
* No description
|
|
9625
9686
|
*
|
|
@@ -9642,13 +9703,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9642
9703
|
limit?: number;
|
|
9643
9704
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9644
9705
|
items: SearchSpaceResult[];
|
|
9645
|
-
},
|
|
9706
|
+
}, any>>;
|
|
9646
9707
|
/**
|
|
9647
|
-
*
|
|
9708
|
+
* No description
|
|
9648
9709
|
*
|
|
9649
|
-
* @tags
|
|
9710
|
+
* @tags spaces
|
|
9650
9711
|
* @name ListSpacesInOrganizationById
|
|
9651
|
-
* @summary List
|
|
9712
|
+
* @summary List all spaces
|
|
9652
9713
|
* @request GET:/orgs/{organizationId}/spaces
|
|
9653
9714
|
* @secure
|
|
9654
9715
|
*/
|
|
@@ -9663,23 +9724,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9663
9724
|
limit?: number;
|
|
9664
9725
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9665
9726
|
items: Space[];
|
|
9666
|
-
},
|
|
9727
|
+
}, any>>;
|
|
9667
9728
|
/**
|
|
9668
9729
|
* No description
|
|
9669
9730
|
*
|
|
9670
9731
|
* @tags spaces
|
|
9671
9732
|
* @name CreateSpace
|
|
9672
|
-
* @summary Create
|
|
9733
|
+
* @summary Create a space
|
|
9673
9734
|
* @request POST:/orgs/{organizationId}/spaces
|
|
9674
9735
|
* @secure
|
|
9675
9736
|
*/
|
|
9676
|
-
createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space,
|
|
9737
|
+
createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
9677
9738
|
/**
|
|
9678
|
-
*
|
|
9739
|
+
* No description
|
|
9679
9740
|
*
|
|
9680
|
-
* @tags
|
|
9741
|
+
* @tags collections
|
|
9681
9742
|
* @name ListCollectionsInOrganizationById
|
|
9682
|
-
* @summary List
|
|
9743
|
+
* @summary List all collections
|
|
9683
9744
|
* @request GET:/orgs/{organizationId}/collections
|
|
9684
9745
|
* @secure
|
|
9685
9746
|
*/
|
|
@@ -9699,13 +9760,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9699
9760
|
nested?: boolean;
|
|
9700
9761
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9701
9762
|
items: Collection[];
|
|
9702
|
-
},
|
|
9763
|
+
}, any>>;
|
|
9703
9764
|
/**
|
|
9704
9765
|
* No description
|
|
9705
9766
|
*
|
|
9706
9767
|
* @tags collections
|
|
9707
9768
|
* @name CreateCollection
|
|
9708
|
-
* @summary Create
|
|
9769
|
+
* @summary Create a collection
|
|
9709
9770
|
* @request POST:/orgs/{organizationId}/collections
|
|
9710
9771
|
* @secure
|
|
9711
9772
|
*/
|
|
@@ -9714,13 +9775,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9714
9775
|
title?: string;
|
|
9715
9776
|
/** ID of a parent collection */
|
|
9716
9777
|
parent?: string;
|
|
9717
|
-
}, params?: RequestParams) => Promise<HttpResponse<Collection,
|
|
9778
|
+
}, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
9718
9779
|
/**
|
|
9719
9780
|
* No description
|
|
9720
9781
|
*
|
|
9721
|
-
* @tags
|
|
9782
|
+
* @tags custom-fields
|
|
9722
9783
|
* @name ListOrganizationCustomFields
|
|
9723
|
-
* @summary
|
|
9784
|
+
* @summary List all custom fields
|
|
9724
9785
|
* @request GET:/orgs/{organizationId}/custom-fields
|
|
9725
9786
|
* @secure
|
|
9726
9787
|
*/
|
|
@@ -9735,13 +9796,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9735
9796
|
limit?: number;
|
|
9736
9797
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9737
9798
|
items: CustomField[];
|
|
9738
|
-
},
|
|
9799
|
+
}, any>>;
|
|
9739
9800
|
/**
|
|
9740
9801
|
* No description
|
|
9741
9802
|
*
|
|
9742
|
-
* @tags
|
|
9803
|
+
* @tags custom-fields
|
|
9743
9804
|
* @name CreateOrganizationCustomField
|
|
9744
|
-
* @summary Create a
|
|
9805
|
+
* @summary Create a custom field
|
|
9745
9806
|
* @request POST:/orgs/{organizationId}/custom-fields
|
|
9746
9807
|
* @secure
|
|
9747
9808
|
*/
|
|
@@ -9752,17 +9813,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9752
9813
|
description?: CustomFieldDescription;
|
|
9753
9814
|
placeholder?: CustomFieldPlaceholder;
|
|
9754
9815
|
options?: CustomFieldOptions;
|
|
9755
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9816
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomField, any>>;
|
|
9756
9817
|
/**
|
|
9757
9818
|
* No description
|
|
9758
9819
|
*
|
|
9759
|
-
* @tags
|
|
9820
|
+
* @tags custom-fields
|
|
9760
9821
|
* @name GetOrganizationCustomFieldByName
|
|
9761
9822
|
* @summary Get a custom field by its name
|
|
9762
9823
|
* @request GET:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9763
9824
|
* @secure
|
|
9764
9825
|
*/
|
|
9765
|
-
getOrganizationCustomFieldByName: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9826
|
+
getOrganizationCustomFieldByName: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<CustomField, {
|
|
9766
9827
|
error: {
|
|
9767
9828
|
/** @format int32 */
|
|
9768
9829
|
code: 404;
|
|
@@ -9772,9 +9833,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9772
9833
|
/**
|
|
9773
9834
|
* No description
|
|
9774
9835
|
*
|
|
9775
|
-
* @tags
|
|
9836
|
+
* @tags custom-fields
|
|
9776
9837
|
* @name UpdateOrganizationCustomField
|
|
9777
|
-
* @summary Update a custom field
|
|
9838
|
+
* @summary Update a custom field
|
|
9778
9839
|
* @request PATCH:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9779
9840
|
* @secure
|
|
9780
9841
|
*/
|
|
@@ -9783,23 +9844,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9783
9844
|
description?: CustomFieldDescription;
|
|
9784
9845
|
placeholder?: CustomFieldPlaceholder;
|
|
9785
9846
|
options?: CustomFieldOptions;
|
|
9786
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomField,
|
|
9847
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomField, any>>;
|
|
9787
9848
|
/**
|
|
9788
9849
|
* No description
|
|
9789
9850
|
*
|
|
9790
|
-
* @tags
|
|
9851
|
+
* @tags custom-fields
|
|
9791
9852
|
* @name DeleteOrganizationCustomField
|
|
9792
|
-
* @summary Delete a custom field
|
|
9853
|
+
* @summary Delete a custom field
|
|
9793
9854
|
* @request DELETE:/orgs/{organizationId}/custom-fields/{fieldName}
|
|
9794
9855
|
* @secure
|
|
9795
9856
|
*/
|
|
9796
|
-
deleteOrganizationCustomField: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9857
|
+
deleteOrganizationCustomField: (organizationId: string, fieldName: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9797
9858
|
/**
|
|
9798
9859
|
* No description
|
|
9799
9860
|
*
|
|
9800
|
-
* @tags
|
|
9861
|
+
* @tags integrations
|
|
9801
9862
|
* @name ListOrganizationIntegrations
|
|
9802
|
-
* @summary List integrations
|
|
9863
|
+
* @summary List all integrations
|
|
9803
9864
|
* @request GET:/orgs/{organizationId}/integrations
|
|
9804
9865
|
* @secure
|
|
9805
9866
|
*/
|
|
@@ -9830,19 +9891,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9830
9891
|
owner?: string;
|
|
9831
9892
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9832
9893
|
items: Integration[];
|
|
9833
|
-
},
|
|
9894
|
+
}, any>>;
|
|
9834
9895
|
/**
|
|
9835
9896
|
* No description
|
|
9836
9897
|
*
|
|
9837
9898
|
* @tags integrations
|
|
9838
9899
|
* @name GetOrganizationIntegrationStatus
|
|
9839
|
-
* @summary Get the status of an integration
|
|
9900
|
+
* @summary Get the status of an integration
|
|
9840
9901
|
* @request GET:/orgs/{organizationId}/integrations/{integrationName}/installation_status
|
|
9841
9902
|
* @secure
|
|
9842
9903
|
*/
|
|
9843
9904
|
getOrganizationIntegrationStatus: (organizationId: string, integrationName: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9844
9905
|
status: IntegrationInstallationStatus;
|
|
9845
|
-
},
|
|
9906
|
+
}, {
|
|
9846
9907
|
error: {
|
|
9847
9908
|
/** @format int32 */
|
|
9848
9909
|
code: 404;
|
|
@@ -9852,9 +9913,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9852
9913
|
/**
|
|
9853
9914
|
* No description
|
|
9854
9915
|
*
|
|
9855
|
-
* @tags
|
|
9916
|
+
* @tags integrations
|
|
9856
9917
|
* @name ListOrganizationInstallations
|
|
9857
|
-
* @summary List
|
|
9918
|
+
* @summary List all integration installations
|
|
9858
9919
|
* @request GET:/orgs/{organizationId}/installations
|
|
9859
9920
|
* @secure
|
|
9860
9921
|
*/
|
|
@@ -9875,13 +9936,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9875
9936
|
installation: IntegrationInstallation;
|
|
9876
9937
|
integration: Integration;
|
|
9877
9938
|
}[];
|
|
9878
|
-
},
|
|
9939
|
+
}, any>>;
|
|
9879
9940
|
/**
|
|
9880
9941
|
* No description
|
|
9881
9942
|
*
|
|
9882
9943
|
* @tags integrations, critical
|
|
9883
9944
|
* @name ListOrganizationIntegrationsStatus
|
|
9884
|
-
* @summary List
|
|
9945
|
+
* @summary List all integration statuses
|
|
9885
9946
|
* @request GET:/orgs/{organizationId}/integrations/installations-status
|
|
9886
9947
|
* @secure
|
|
9887
9948
|
*/
|
|
@@ -9901,13 +9962,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9901
9962
|
status: IntegrationInstallationStatus;
|
|
9902
9963
|
integration: Integration;
|
|
9903
9964
|
}[];
|
|
9904
|
-
},
|
|
9965
|
+
}, any>>;
|
|
9905
9966
|
/**
|
|
9906
9967
|
* @description Lists SAML providers configured for the specified organization.
|
|
9907
9968
|
*
|
|
9908
|
-
* @tags
|
|
9969
|
+
* @tags sso
|
|
9909
9970
|
* @name ListSamlProvidersInOrganizationById
|
|
9910
|
-
* @summary List
|
|
9971
|
+
* @summary List all SAML providers
|
|
9911
9972
|
* @request GET:/orgs/{organizationId}/saml
|
|
9912
9973
|
* @secure
|
|
9913
9974
|
*/
|
|
@@ -9922,13 +9983,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9922
9983
|
limit?: number;
|
|
9923
9984
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9924
9985
|
items: OrganizationSAMLProvider[];
|
|
9925
|
-
},
|
|
9986
|
+
}, any>>;
|
|
9926
9987
|
/**
|
|
9927
9988
|
* No description
|
|
9928
9989
|
*
|
|
9929
|
-
* @tags
|
|
9990
|
+
* @tags sso
|
|
9930
9991
|
* @name CreateOrganizationSamlProvider
|
|
9931
|
-
* @summary Create a new SAML provider
|
|
9992
|
+
* @summary Create a new SAML provider
|
|
9932
9993
|
* @request POST:/orgs/{organizationId}/saml
|
|
9933
9994
|
* @secure
|
|
9934
9995
|
*/
|
|
@@ -9940,17 +10001,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9940
10001
|
defaultTeam?: string;
|
|
9941
10002
|
/** The role of a member in an organization, null for guests */
|
|
9942
10003
|
defaultRole?: MemberRoleOrGuest;
|
|
9943
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
10004
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, any>>;
|
|
9944
10005
|
/**
|
|
9945
10006
|
* No description
|
|
9946
10007
|
*
|
|
9947
|
-
* @tags
|
|
10008
|
+
* @tags sso
|
|
9948
10009
|
* @name GetOrganizationSamlProviderById
|
|
9949
|
-
* @summary Get a SAML provider
|
|
10010
|
+
* @summary Get a SAML provider by its ID
|
|
9950
10011
|
* @request GET:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9951
10012
|
* @secure
|
|
9952
10013
|
*/
|
|
9953
|
-
getOrganizationSamlProviderById: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
10014
|
+
getOrganizationSamlProviderById: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, {
|
|
9954
10015
|
error: {
|
|
9955
10016
|
/** @format int32 */
|
|
9956
10017
|
code: 404;
|
|
@@ -9960,9 +10021,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9960
10021
|
/**
|
|
9961
10022
|
* No description
|
|
9962
10023
|
*
|
|
9963
|
-
* @tags
|
|
10024
|
+
* @tags sso
|
|
9964
10025
|
* @name UpdateOrganizationSamlProvider
|
|
9965
|
-
* @summary Update a SAML provider
|
|
10026
|
+
* @summary Update a SAML provider
|
|
9966
10027
|
* @request PATCH:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9967
10028
|
* @secure
|
|
9968
10029
|
*/
|
|
@@ -9974,35 +10035,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9974
10035
|
defaultTeam?: string;
|
|
9975
10036
|
/** The role of a member in an organization, null for guests */
|
|
9976
10037
|
defaultRole?: MemberRoleOrGuest;
|
|
9977
|
-
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider,
|
|
10038
|
+
}, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, any>>;
|
|
9978
10039
|
/**
|
|
9979
10040
|
* No description
|
|
9980
10041
|
*
|
|
9981
|
-
* @tags
|
|
10042
|
+
* @tags sso
|
|
9982
10043
|
* @name DeleteOrganizationSamlProvider
|
|
9983
|
-
* @summary Delete a SAML provider
|
|
10044
|
+
* @summary Delete a SAML provider
|
|
9984
10045
|
* @request DELETE:/orgs/{organizationId}/saml/{samlProviderId}
|
|
9985
10046
|
* @secure
|
|
9986
10047
|
*/
|
|
9987
|
-
deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10048
|
+
deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9988
10049
|
/**
|
|
9989
|
-
*
|
|
10050
|
+
* No description
|
|
9990
10051
|
*
|
|
9991
|
-
* @tags
|
|
10052
|
+
* @tags sso
|
|
9992
10053
|
* @name ListSsoProviderLoginsInOrganization
|
|
9993
|
-
* @summary List
|
|
10054
|
+
* @summary List all SSO provider login infos
|
|
9994
10055
|
* @request GET:/orgs/{organizationId}/sso
|
|
9995
10056
|
* @secure
|
|
9996
10057
|
*/
|
|
9997
10058
|
listSsoProviderLoginsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
9998
10059
|
items: OrganizationSSOProviderLogin[];
|
|
9999
|
-
},
|
|
10060
|
+
}, any>>;
|
|
10000
10061
|
/**
|
|
10001
|
-
*
|
|
10062
|
+
* @description Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
10002
10063
|
*
|
|
10003
|
-
* @tags
|
|
10064
|
+
* @tags organization-ask
|
|
10004
10065
|
* @name AskInOrganization
|
|
10005
|
-
* @summary Ask a question
|
|
10066
|
+
* @summary Ask a question in an organization
|
|
10006
10067
|
* @request POST:/orgs/{organizationId}/ask
|
|
10007
10068
|
* @secure
|
|
10008
10069
|
*/
|
|
@@ -10014,33 +10075,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10014
10075
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
10015
10076
|
/** Answer from AI for a question asked on a content. */
|
|
10016
10077
|
answer?: SearchAIAnswer;
|
|
10017
|
-
},
|
|
10078
|
+
}, any>>;
|
|
10018
10079
|
/**
|
|
10019
10080
|
* No description
|
|
10020
10081
|
*
|
|
10021
|
-
* @tags
|
|
10082
|
+
* @tags organization-ask
|
|
10022
10083
|
* @name GetRecommendedQuestionsInOrganization
|
|
10023
|
-
* @summary
|
|
10084
|
+
* @summary List recommended questions to ask in an organization
|
|
10024
10085
|
* @request GET:/orgs/{organizationId}/ask/questions
|
|
10025
10086
|
* @secure
|
|
10026
10087
|
*/
|
|
10027
|
-
getRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions,
|
|
10088
|
+
getRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions, any>>;
|
|
10028
10089
|
/**
|
|
10029
10090
|
* No description
|
|
10030
10091
|
*
|
|
10031
|
-
* @tags
|
|
10092
|
+
* @tags organization-ask
|
|
10032
10093
|
* @name StreamRecommendedQuestionsInOrganization
|
|
10033
|
-
* @summary
|
|
10094
|
+
* @summary List recommended questions to ask in an organization (streamed)
|
|
10034
10095
|
* @request GET:/orgs/{organizationId}/ask/questions/stream
|
|
10035
10096
|
* @secure
|
|
10036
10097
|
*/
|
|
10037
10098
|
streamRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => EventIterator<SearchAIRecommendedQuestionStream>;
|
|
10038
10099
|
/**
|
|
10039
|
-
*
|
|
10100
|
+
* @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.
|
|
10040
10101
|
*
|
|
10041
|
-
* @tags
|
|
10102
|
+
* @tags organization-ask
|
|
10042
10103
|
* @name StreamAskInOrganization
|
|
10043
|
-
* @summary Ask a question
|
|
10104
|
+
* @summary Ask a question in an organization (streamed)
|
|
10044
10105
|
* @request GET:/orgs/{organizationId}/ask/stream
|
|
10045
10106
|
* @secure
|
|
10046
10107
|
*/
|
|
@@ -10056,7 +10117,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10056
10117
|
*
|
|
10057
10118
|
* @tags openapi
|
|
10058
10119
|
* @name ListOpenApiSpecs
|
|
10059
|
-
* @summary List all
|
|
10120
|
+
* @summary List all OpenAPI spec
|
|
10060
10121
|
* @request GET:/orgs/{organizationId}/openapi
|
|
10061
10122
|
* @secure
|
|
10062
10123
|
*/
|
|
@@ -10071,13 +10132,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10071
10132
|
limit?: number;
|
|
10072
10133
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10073
10134
|
items: OpenAPISpec[];
|
|
10074
|
-
},
|
|
10135
|
+
}, any>>;
|
|
10075
10136
|
/**
|
|
10076
10137
|
* No description
|
|
10077
10138
|
*
|
|
10078
10139
|
* @tags openapi
|
|
10079
10140
|
* @name CreateOpenApiSpec
|
|
10080
|
-
* @summary Create an
|
|
10141
|
+
* @summary Create an OpenAPI spec
|
|
10081
10142
|
* @request POST:/orgs/{organizationId}/openapi
|
|
10082
10143
|
* @secure
|
|
10083
10144
|
*/
|
|
@@ -10086,7 +10147,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10086
10147
|
slug: OpenAPISpecSlug;
|
|
10087
10148
|
/** Create a specification from an URL */
|
|
10088
10149
|
source: OpenAPISpecSource;
|
|
10089
|
-
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10150
|
+
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10090
10151
|
error: {
|
|
10091
10152
|
/** @format int32 */
|
|
10092
10153
|
code: 400;
|
|
@@ -10098,11 +10159,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10098
10159
|
*
|
|
10099
10160
|
* @tags openapi
|
|
10100
10161
|
* @name GetOpenApiSpecBySlug
|
|
10101
|
-
* @summary Get an
|
|
10162
|
+
* @summary Get an OpenAPI spec by its slug
|
|
10102
10163
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}
|
|
10103
10164
|
* @secure
|
|
10104
10165
|
*/
|
|
10105
|
-
getOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10166
|
+
getOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10106
10167
|
error: {
|
|
10107
10168
|
/** @format int32 */
|
|
10108
10169
|
code: 404;
|
|
@@ -10114,14 +10175,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10114
10175
|
*
|
|
10115
10176
|
* @tags openapi
|
|
10116
10177
|
* @name CreateOrUpdateOpenApiSpecBySlug
|
|
10117
|
-
* @summary Create or update an
|
|
10178
|
+
* @summary Create or update an OpenAPI spec
|
|
10118
10179
|
* @request PUT:/orgs/{organizationId}/openapi/{specSlug}
|
|
10119
10180
|
* @secure
|
|
10120
10181
|
*/
|
|
10121
10182
|
createOrUpdateOpenApiSpecBySlug: (organizationId: string, specSlug: string, data: {
|
|
10122
10183
|
/** Create a specification from an URL */
|
|
10123
10184
|
source: OpenAPISpecSource;
|
|
10124
|
-
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec,
|
|
10185
|
+
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
10125
10186
|
error: {
|
|
10126
10187
|
/** @format int32 */
|
|
10127
10188
|
code: 400;
|
|
@@ -10133,17 +10194,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10133
10194
|
*
|
|
10134
10195
|
* @tags openapi
|
|
10135
10196
|
* @name DeleteOpenApiSpecBySlug
|
|
10136
|
-
* @summary Delete an
|
|
10197
|
+
* @summary Delete an OpenAPI spec
|
|
10137
10198
|
* @request DELETE:/orgs/{organizationId}/openapi/{specSlug}
|
|
10138
10199
|
* @secure
|
|
10139
10200
|
*/
|
|
10140
|
-
deleteOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10201
|
+
deleteOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10141
10202
|
/**
|
|
10142
10203
|
* No description
|
|
10143
10204
|
*
|
|
10144
|
-
* @tags openapi
|
|
10205
|
+
* @tags openapi-versions
|
|
10145
10206
|
* @name ListOpenApiSpecVersions
|
|
10146
|
-
* @summary List all
|
|
10207
|
+
* @summary List all OpenAPI spec versions
|
|
10147
10208
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions
|
|
10148
10209
|
* @secure
|
|
10149
10210
|
*/
|
|
@@ -10158,7 +10219,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10158
10219
|
limit?: number;
|
|
10159
10220
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10160
10221
|
items: OpenAPISpecVersion[];
|
|
10161
|
-
},
|
|
10222
|
+
}, {
|
|
10162
10223
|
error: {
|
|
10163
10224
|
/** @format int32 */
|
|
10164
10225
|
code: 404;
|
|
@@ -10168,13 +10229,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10168
10229
|
/**
|
|
10169
10230
|
* No description
|
|
10170
10231
|
*
|
|
10171
|
-
* @tags openapi
|
|
10232
|
+
* @tags openapi-versions
|
|
10172
10233
|
* @name GetLatestOpenApiSpecVersion
|
|
10173
|
-
* @summary Get the latest OpenAPI
|
|
10234
|
+
* @summary Get the latest OpenAPI spec version
|
|
10174
10235
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest
|
|
10175
10236
|
* @secure
|
|
10176
10237
|
*/
|
|
10177
|
-
getLatestOpenApiSpecVersion: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion,
|
|
10238
|
+
getLatestOpenApiSpecVersion: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
10178
10239
|
error: {
|
|
10179
10240
|
/** @format int32 */
|
|
10180
10241
|
code: 404;
|
|
@@ -10184,13 +10245,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10184
10245
|
/**
|
|
10185
10246
|
* No description
|
|
10186
10247
|
*
|
|
10187
|
-
* @tags openapi
|
|
10248
|
+
* @tags openapi-versions
|
|
10188
10249
|
* @name GetLatestOpenApiSpecVersionContent
|
|
10189
|
-
* @summary Get the latest OpenAPI
|
|
10250
|
+
* @summary Get the latest OpenAPI spec version content
|
|
10190
10251
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content
|
|
10191
10252
|
* @secure
|
|
10192
10253
|
*/
|
|
10193
|
-
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent,
|
|
10254
|
+
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
10194
10255
|
error: {
|
|
10195
10256
|
/** @format int32 */
|
|
10196
10257
|
code: 404;
|
|
@@ -10200,13 +10261,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10200
10261
|
/**
|
|
10201
10262
|
* No description
|
|
10202
10263
|
*
|
|
10203
|
-
* @tags openapi
|
|
10264
|
+
* @tags openapi-versions
|
|
10204
10265
|
* @name GetOpenApiSpecVersionById
|
|
10205
|
-
* @summary Get an OpenAPI
|
|
10266
|
+
* @summary Get an OpenAPI spec version by its ID
|
|
10206
10267
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}
|
|
10207
10268
|
* @secure
|
|
10208
10269
|
*/
|
|
10209
|
-
getOpenApiSpecVersionById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion,
|
|
10270
|
+
getOpenApiSpecVersionById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
10210
10271
|
error: {
|
|
10211
10272
|
/** @format int32 */
|
|
10212
10273
|
code: 404;
|
|
@@ -10216,13 +10277,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10216
10277
|
/**
|
|
10217
10278
|
* No description
|
|
10218
10279
|
*
|
|
10219
|
-
* @tags openapi
|
|
10280
|
+
* @tags openapi-versions
|
|
10220
10281
|
* @name GetOpenApiSpecVersionContentById
|
|
10221
|
-
* @summary Get an OpenAPI
|
|
10282
|
+
* @summary Get an OpenAPI spec version content by its ID
|
|
10222
10283
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content
|
|
10223
10284
|
* @secure
|
|
10224
10285
|
*/
|
|
10225
|
-
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent,
|
|
10286
|
+
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
10226
10287
|
error: {
|
|
10227
10288
|
/** @format int32 */
|
|
10228
10289
|
code: 404;
|
|
@@ -10234,7 +10295,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10234
10295
|
*
|
|
10235
10296
|
* @tags translations
|
|
10236
10297
|
* @name ListTranslationSettings
|
|
10237
|
-
* @summary List all the translation settings
|
|
10298
|
+
* @summary List all the translation settings
|
|
10238
10299
|
* @request GET:/orgs/{organizationId}/translations
|
|
10239
10300
|
* @secure
|
|
10240
10301
|
*/
|
|
@@ -10249,20 +10310,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10249
10310
|
limit?: number;
|
|
10250
10311
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10251
10312
|
items: TranslationSettings[];
|
|
10252
|
-
},
|
|
10313
|
+
}, any>>;
|
|
10253
10314
|
/**
|
|
10254
10315
|
* No description
|
|
10255
10316
|
*
|
|
10256
10317
|
* @tags translations
|
|
10257
10318
|
* @name CreateTranslationSettings
|
|
10258
|
-
* @summary Create translation settings
|
|
10319
|
+
* @summary Create a translation settings
|
|
10259
10320
|
* @request POST:/orgs/{organizationId}/translations
|
|
10260
10321
|
* @secure
|
|
10261
10322
|
*/
|
|
10262
10323
|
createTranslationSettings: (organizationId: string, data: {
|
|
10263
10324
|
/** The title of the translation settings */
|
|
10264
10325
|
title: string;
|
|
10265
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10326
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10266
10327
|
error: {
|
|
10267
10328
|
/** @format int32 */
|
|
10268
10329
|
code: 400;
|
|
@@ -10274,11 +10335,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10274
10335
|
*
|
|
10275
10336
|
* @tags translations
|
|
10276
10337
|
* @name GetTranslationSettings
|
|
10277
|
-
* @summary Get
|
|
10338
|
+
* @summary Get a translation settings by its ID
|
|
10278
10339
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10279
10340
|
* @secure
|
|
10280
10341
|
*/
|
|
10281
|
-
getTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10342
|
+
getTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10282
10343
|
error: {
|
|
10283
10344
|
/** @format int32 */
|
|
10284
10345
|
code: 404;
|
|
@@ -10290,14 +10351,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10290
10351
|
*
|
|
10291
10352
|
* @tags translations
|
|
10292
10353
|
* @name UpdateTranslationSettings
|
|
10293
|
-
* @summary Update
|
|
10354
|
+
* @summary Update a translation settings
|
|
10294
10355
|
* @request PUT:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10295
10356
|
* @secure
|
|
10296
10357
|
*/
|
|
10297
10358
|
updateTranslationSettings: (organizationId: string, translationSettingsId: string, data: {
|
|
10298
10359
|
/** The title of the translation settings */
|
|
10299
10360
|
title: string;
|
|
10300
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings,
|
|
10361
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationSettings, {
|
|
10301
10362
|
error: {
|
|
10302
10363
|
/** @format int32 */
|
|
10303
10364
|
code: 400;
|
|
@@ -10309,17 +10370,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10309
10370
|
*
|
|
10310
10371
|
* @tags translations
|
|
10311
10372
|
* @name DeleteTranslationSettings
|
|
10312
|
-
* @summary Delete
|
|
10373
|
+
* @summary Delete a translation settings
|
|
10313
10374
|
* @request DELETE:/orgs/{organizationId}/translations/{translationSettingsId}
|
|
10314
10375
|
* @secure
|
|
10315
10376
|
*/
|
|
10316
|
-
deleteTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10377
|
+
deleteTranslationSettings: (organizationId: string, translationSettingsId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10317
10378
|
/**
|
|
10318
10379
|
* No description
|
|
10319
10380
|
*
|
|
10320
|
-
* @tags
|
|
10381
|
+
* @tags translation-languages
|
|
10321
10382
|
* @name ListTranslationLanguages
|
|
10322
|
-
* @summary List
|
|
10383
|
+
* @summary List all translation settings language
|
|
10323
10384
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}/languages
|
|
10324
10385
|
* @secure
|
|
10325
10386
|
*/
|
|
@@ -10334,7 +10395,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10334
10395
|
limit?: number;
|
|
10335
10396
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10336
10397
|
items: TranslationLanguageSettings[];
|
|
10337
|
-
},
|
|
10398
|
+
}, {
|
|
10338
10399
|
error: {
|
|
10339
10400
|
/** @format int32 */
|
|
10340
10401
|
code: 404;
|
|
@@ -10344,13 +10405,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10344
10405
|
/**
|
|
10345
10406
|
* No description
|
|
10346
10407
|
*
|
|
10347
|
-
* @tags
|
|
10408
|
+
* @tags translation-languages
|
|
10348
10409
|
* @name GetTranslationLanguage
|
|
10349
|
-
* @summary Get
|
|
10410
|
+
* @summary Get a translation settings language
|
|
10350
10411
|
* @request GET:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10351
10412
|
* @secure
|
|
10352
10413
|
*/
|
|
10353
|
-
getTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings,
|
|
10414
|
+
getTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings, {
|
|
10354
10415
|
error: {
|
|
10355
10416
|
/** @format int32 */
|
|
10356
10417
|
code: 404;
|
|
@@ -10360,15 +10421,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10360
10421
|
/**
|
|
10361
10422
|
* No description
|
|
10362
10423
|
*
|
|
10363
|
-
* @tags
|
|
10424
|
+
* @tags translation-languages
|
|
10364
10425
|
* @name CreateOrUpdateTranslationLanguage
|
|
10365
|
-
* @summary Create or update
|
|
10426
|
+
* @summary Create or update a translation settings language
|
|
10366
10427
|
* @request PUT:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10367
10428
|
* @secure
|
|
10368
10429
|
*/
|
|
10369
10430
|
createOrUpdateTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, data: {
|
|
10370
10431
|
instructions: JSONDocument;
|
|
10371
|
-
}, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings,
|
|
10432
|
+
}, params?: RequestParams) => Promise<HttpResponse<TranslationLanguageSettings, {
|
|
10372
10433
|
error: {
|
|
10373
10434
|
/** @format int32 */
|
|
10374
10435
|
code: 400;
|
|
@@ -10384,13 +10445,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10384
10445
|
/**
|
|
10385
10446
|
* No description
|
|
10386
10447
|
*
|
|
10387
|
-
* @tags
|
|
10448
|
+
* @tags translation-languages
|
|
10388
10449
|
* @name DeleteTranslationLanguage
|
|
10389
|
-
* @summary Remove
|
|
10450
|
+
* @summary Remove a translation settings language
|
|
10390
10451
|
* @request DELETE:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
10391
10452
|
* @secure
|
|
10392
10453
|
*/
|
|
10393
|
-
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10454
|
+
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
10394
10455
|
error: {
|
|
10395
10456
|
/** @format int32 */
|
|
10396
10457
|
code: 404;
|
|
@@ -10400,7 +10461,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10400
10461
|
/**
|
|
10401
10462
|
* @description Generate a pre-signed URL that can be used to upload a file to storage
|
|
10402
10463
|
*
|
|
10403
|
-
* @tags
|
|
10464
|
+
* @tags storage
|
|
10404
10465
|
* @name GenerateStorageUploadUrl
|
|
10405
10466
|
* @summary Create a signed URL to upload a file
|
|
10406
10467
|
* @request POST:/orgs/{organizationId}/storage/upload
|
|
@@ -10409,7 +10470,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10409
10470
|
generateStorageUploadUrl: (organizationId: string, data: {
|
|
10410
10471
|
file: StorageFileMetadata;
|
|
10411
10472
|
kind: StorageUploadKind;
|
|
10412
|
-
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL,
|
|
10473
|
+
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL, {
|
|
10413
10474
|
error: {
|
|
10414
10475
|
/** @format int32 */
|
|
10415
10476
|
code: 400;
|
|
@@ -10419,15 +10480,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10419
10480
|
/**
|
|
10420
10481
|
* No description
|
|
10421
10482
|
*
|
|
10422
|
-
* @tags
|
|
10483
|
+
* @tags custom-fonts
|
|
10423
10484
|
* @name ListCustomFonts
|
|
10424
|
-
* @summary List custom fonts
|
|
10485
|
+
* @summary List all custom fonts
|
|
10425
10486
|
* @request GET:/orgs/{organizationId}/fonts
|
|
10426
10487
|
* @secure
|
|
10427
10488
|
*/
|
|
10428
10489
|
listCustomFonts: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10429
10490
|
items: CustomizationFontDefinition[];
|
|
10430
|
-
},
|
|
10491
|
+
}, {
|
|
10431
10492
|
error: {
|
|
10432
10493
|
/** @format int32 */
|
|
10433
10494
|
code: 404;
|
|
@@ -10437,9 +10498,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10437
10498
|
/**
|
|
10438
10499
|
* No description
|
|
10439
10500
|
*
|
|
10440
|
-
* @tags
|
|
10501
|
+
* @tags custom-fonts
|
|
10441
10502
|
* @name CreateCustomFont
|
|
10442
|
-
* @summary Create a custom font
|
|
10503
|
+
* @summary Create a custom font
|
|
10443
10504
|
* @request PUT:/orgs/{organizationId}/fonts
|
|
10444
10505
|
* @secure
|
|
10445
10506
|
*/
|
|
@@ -10457,7 +10518,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10457
10518
|
/** The path of the file in the storage bucket */
|
|
10458
10519
|
storageKey: StorageFileKey;
|
|
10459
10520
|
}[];
|
|
10460
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10521
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10461
10522
|
error: {
|
|
10462
10523
|
/** @format int32 */
|
|
10463
10524
|
code: 404;
|
|
@@ -10473,13 +10534,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10473
10534
|
/**
|
|
10474
10535
|
* No description
|
|
10475
10536
|
*
|
|
10476
|
-
* @tags
|
|
10537
|
+
* @tags custom-fonts
|
|
10477
10538
|
* @name GetCustomFont
|
|
10478
|
-
* @summary Get a custom font by its
|
|
10539
|
+
* @summary Get a custom font by its ID
|
|
10479
10540
|
* @request GET:/orgs/{organizationId}/fonts/{fontId}
|
|
10480
10541
|
* @secure
|
|
10481
10542
|
*/
|
|
10482
|
-
getCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10543
|
+
getCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10483
10544
|
error: {
|
|
10484
10545
|
/** @format int32 */
|
|
10485
10546
|
code: 404;
|
|
@@ -10489,7 +10550,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10489
10550
|
/**
|
|
10490
10551
|
* No description
|
|
10491
10552
|
*
|
|
10492
|
-
* @tags
|
|
10553
|
+
* @tags custom-fonts
|
|
10493
10554
|
* @name UpdateCustomFont
|
|
10494
10555
|
* @summary Update a custom font
|
|
10495
10556
|
* @request POST:/orgs/{organizationId}/fonts/{fontId}
|
|
@@ -10504,7 +10565,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10504
10565
|
weight: FontWeight;
|
|
10505
10566
|
storageKey: StorageFileKey | null;
|
|
10506
10567
|
}[];
|
|
10507
|
-
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition,
|
|
10568
|
+
}, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
10508
10569
|
error: {
|
|
10509
10570
|
/** @format int32 */
|
|
10510
10571
|
code: 404;
|
|
@@ -10520,13 +10581,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10520
10581
|
/**
|
|
10521
10582
|
* No description
|
|
10522
10583
|
*
|
|
10523
|
-
* @tags
|
|
10584
|
+
* @tags custom-fonts
|
|
10524
10585
|
* @name DeleteCustomFont
|
|
10525
|
-
* @summary Delete a custom font
|
|
10586
|
+
* @summary Delete a custom font
|
|
10526
10587
|
* @request DELETE:/orgs/{organizationId}/fonts/{fontId}
|
|
10527
10588
|
* @secure
|
|
10528
10589
|
*/
|
|
10529
|
-
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10590
|
+
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
10530
10591
|
error: {
|
|
10531
10592
|
/** @format int32 */
|
|
10532
10593
|
code: 404;
|
|
@@ -10538,7 +10599,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10538
10599
|
*
|
|
10539
10600
|
* @tags sites, critical
|
|
10540
10601
|
* @name ListSites
|
|
10541
|
-
* @summary List all
|
|
10602
|
+
* @summary List all sites
|
|
10542
10603
|
* @request GET:/orgs/{organizationId}/sites
|
|
10543
10604
|
* @secure
|
|
10544
10605
|
*/
|
|
@@ -10561,13 +10622,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10561
10622
|
type?: SiteType[];
|
|
10562
10623
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10563
10624
|
items: Site[];
|
|
10564
|
-
},
|
|
10625
|
+
}, any>>;
|
|
10565
10626
|
/**
|
|
10566
10627
|
* No description
|
|
10567
10628
|
*
|
|
10568
10629
|
* @tags sites
|
|
10569
10630
|
* @name CreateSite
|
|
10570
|
-
* @summary Create a site
|
|
10631
|
+
* @summary Create a site
|
|
10571
10632
|
* @request POST:/orgs/{organizationId}/sites
|
|
10572
10633
|
* @secure
|
|
10573
10634
|
*/
|
|
@@ -10586,17 +10647,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10586
10647
|
visibility?: SiteVisibility;
|
|
10587
10648
|
/** ID of spaces to be added to the site */
|
|
10588
10649
|
spaces?: string[] | "sample" | "empty";
|
|
10589
|
-
}, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10650
|
+
}, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10590
10651
|
/**
|
|
10591
10652
|
* No description
|
|
10592
10653
|
*
|
|
10593
10654
|
* @tags sites
|
|
10594
10655
|
* @name GetSiteById
|
|
10595
|
-
* @summary Get
|
|
10656
|
+
* @summary Get a site by its ID
|
|
10596
10657
|
* @request GET:/orgs/{organizationId}/sites/{siteId}
|
|
10597
10658
|
* @secure
|
|
10598
10659
|
*/
|
|
10599
|
-
getSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10660
|
+
getSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, {
|
|
10600
10661
|
error: {
|
|
10601
10662
|
/** @format int32 */
|
|
10602
10663
|
code: 404;
|
|
@@ -10608,7 +10669,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10608
10669
|
*
|
|
10609
10670
|
* @tags sites
|
|
10610
10671
|
* @name UpdateSiteById
|
|
10611
|
-
* @summary Update a site
|
|
10672
|
+
* @summary Update a site
|
|
10612
10673
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}
|
|
10613
10674
|
* @secure
|
|
10614
10675
|
*/
|
|
@@ -10635,30 +10696,65 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10635
10696
|
* Use `null` to remove the proxy.
|
|
10636
10697
|
*/
|
|
10637
10698
|
proxy?: SiteProxyOrigin | null;
|
|
10638
|
-
}, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10699
|
+
}, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10639
10700
|
/**
|
|
10640
10701
|
* No description
|
|
10641
10702
|
*
|
|
10642
10703
|
* @tags sites
|
|
10643
10704
|
* @name DeleteSiteById
|
|
10644
|
-
* @summary Delete a site
|
|
10705
|
+
* @summary Delete a site
|
|
10645
10706
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}
|
|
10646
10707
|
* @secure
|
|
10647
10708
|
*/
|
|
10648
|
-
deleteSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10709
|
+
deleteSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10649
10710
|
/**
|
|
10650
10711
|
* No description
|
|
10651
10712
|
*
|
|
10652
10713
|
* @tags sites
|
|
10714
|
+
* @name GetSiteAdaptiveSchema
|
|
10715
|
+
* @summary Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
10716
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
10717
|
+
* @secure
|
|
10718
|
+
*/
|
|
10719
|
+
getSiteAdaptiveSchema: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
10720
|
+
error: {
|
|
10721
|
+
/** @format int32 */
|
|
10722
|
+
code: 404;
|
|
10723
|
+
message: string;
|
|
10724
|
+
};
|
|
10725
|
+
}>>;
|
|
10726
|
+
/**
|
|
10727
|
+
* No description
|
|
10728
|
+
*
|
|
10729
|
+
* @tags sites
|
|
10730
|
+
* @name CreateOrUpdateSiteAdaptiveSchema
|
|
10731
|
+
* @summary Create or update the JSON schema of the attributes expected for an Adaptive content site visitor.
|
|
10732
|
+
* @request PUT:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
10733
|
+
* @secure
|
|
10734
|
+
*/
|
|
10735
|
+
createOrUpdateSiteAdaptiveSchema: (organizationId: string, siteId: string, data: {
|
|
10736
|
+
/** The JSON schema to set on the site. */
|
|
10737
|
+
jsonSchema: SiteAdaptiveJSONSchema;
|
|
10738
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
10739
|
+
error: {
|
|
10740
|
+
/** @format int32 */
|
|
10741
|
+
code: 400;
|
|
10742
|
+
message: string;
|
|
10743
|
+
};
|
|
10744
|
+
}>>;
|
|
10745
|
+
/**
|
|
10746
|
+
* @description Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
10747
|
+
*
|
|
10748
|
+
* @tags sites
|
|
10653
10749
|
* @name GetPublishedContentSite
|
|
10654
|
-
* @summary Get
|
|
10750
|
+
* @summary Get a published site
|
|
10655
10751
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/published
|
|
10656
10752
|
* @secure
|
|
10657
10753
|
*/
|
|
10658
10754
|
getPublishedContentSite: (organizationId: string, siteId: string, query?: {
|
|
10659
10755
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
10660
10756
|
shareKey?: string;
|
|
10661
|
-
}, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite,
|
|
10757
|
+
}, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite, {
|
|
10662
10758
|
error: {
|
|
10663
10759
|
/** @format int32 */
|
|
10664
10760
|
code: 404;
|
|
@@ -10670,7 +10766,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10670
10766
|
*
|
|
10671
10767
|
* @tags sites
|
|
10672
10768
|
* @name PublishSite
|
|
10673
|
-
* @summary
|
|
10769
|
+
* @summary Publish a site
|
|
10674
10770
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publish
|
|
10675
10771
|
* @secure
|
|
10676
10772
|
*/
|
|
@@ -10678,23 +10774,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10678
10774
|
type: "checkout";
|
|
10679
10775
|
/** Stripe payment session ID */
|
|
10680
10776
|
sessionId: string;
|
|
10681
|
-
},
|
|
10777
|
+
}, any>>;
|
|
10682
10778
|
/**
|
|
10683
10779
|
* No description
|
|
10684
10780
|
*
|
|
10685
10781
|
* @tags sites
|
|
10686
10782
|
* @name UnpublishSite
|
|
10687
|
-
* @summary
|
|
10783
|
+
* @summary Unpublish a site
|
|
10688
10784
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/unpublish
|
|
10689
10785
|
* @secure
|
|
10690
10786
|
*/
|
|
10691
|
-
unpublishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site,
|
|
10787
|
+
unpublishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
10692
10788
|
/**
|
|
10693
10789
|
* No description
|
|
10694
10790
|
*
|
|
10695
|
-
* @tags
|
|
10791
|
+
* @tags site-share-links
|
|
10696
10792
|
* @name ListSiteShareLinks
|
|
10697
|
-
* @summary List all
|
|
10793
|
+
* @summary List all share links
|
|
10698
10794
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
10699
10795
|
* @secure
|
|
10700
10796
|
*/
|
|
@@ -10709,26 +10805,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10709
10805
|
limit?: number;
|
|
10710
10806
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10711
10807
|
items: ShareLink[];
|
|
10712
|
-
},
|
|
10808
|
+
}, any>>;
|
|
10713
10809
|
/**
|
|
10714
10810
|
* No description
|
|
10715
10811
|
*
|
|
10716
|
-
* @tags
|
|
10812
|
+
* @tags site-share-links
|
|
10717
10813
|
* @name CreateSiteShareLink
|
|
10718
|
-
* @summary Create a share link
|
|
10814
|
+
* @summary Create a share link
|
|
10719
10815
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
10720
10816
|
* @secure
|
|
10721
10817
|
*/
|
|
10722
10818
|
createSiteShareLink: (organizationId: string, siteId: string, data: {
|
|
10723
10819
|
/** Name of the share link */
|
|
10724
10820
|
name: ShareLinkName;
|
|
10725
|
-
}, params?: RequestParams) => Promise<HttpResponse<ShareLink,
|
|
10821
|
+
}, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
|
|
10726
10822
|
/**
|
|
10727
10823
|
* No description
|
|
10728
10824
|
*
|
|
10729
|
-
* @tags
|
|
10825
|
+
* @tags site-share-links
|
|
10730
10826
|
* @name UpdateSiteShareLinkById
|
|
10731
|
-
* @summary Update
|
|
10827
|
+
* @summary Update a share link
|
|
10732
10828
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
10733
10829
|
* @secure
|
|
10734
10830
|
*/
|
|
@@ -10736,30 +10832,30 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10736
10832
|
active?: boolean;
|
|
10737
10833
|
/** Name of the share link */
|
|
10738
10834
|
name?: ShareLinkName;
|
|
10739
|
-
}, params?: RequestParams) => Promise<HttpResponse<ShareLink,
|
|
10835
|
+
}, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
|
|
10740
10836
|
/**
|
|
10741
10837
|
* No description
|
|
10742
10838
|
*
|
|
10743
|
-
* @tags
|
|
10839
|
+
* @tags site-share-links
|
|
10744
10840
|
* @name DeleteSiteShareLinkById
|
|
10745
|
-
* @summary Deletes a
|
|
10841
|
+
* @summary Deletes a share link
|
|
10746
10842
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
10747
10843
|
* @secure
|
|
10748
10844
|
*/
|
|
10749
|
-
deleteSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
10845
|
+
deleteSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10750
10846
|
/**
|
|
10751
|
-
*
|
|
10847
|
+
* @description Get the complete structure of a site that includes all its site-sections and site-spaces.
|
|
10752
10848
|
*
|
|
10753
|
-
* @tags
|
|
10849
|
+
* @tags site-structure
|
|
10754
10850
|
* @name GetSiteStructure
|
|
10755
|
-
* @summary Get
|
|
10851
|
+
* @summary Get a site structure
|
|
10756
10852
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/structure
|
|
10757
10853
|
* @secure
|
|
10758
10854
|
*/
|
|
10759
10855
|
getSiteStructure: (organizationId: string, siteId: string, query?: {
|
|
10760
10856
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
10761
10857
|
shareKey?: string;
|
|
10762
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteStructure,
|
|
10858
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteStructure, {
|
|
10763
10859
|
error: {
|
|
10764
10860
|
/** @format int32 */
|
|
10765
10861
|
code: 404;
|
|
@@ -10769,13 +10865,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10769
10865
|
/**
|
|
10770
10866
|
* No description
|
|
10771
10867
|
*
|
|
10772
|
-
* @tags
|
|
10868
|
+
* @tags site-publishing-auth
|
|
10773
10869
|
* @name GetSitePublishingAuthById
|
|
10774
|
-
* @summary Get
|
|
10870
|
+
* @summary Get a site auth config
|
|
10775
10871
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
10776
10872
|
* @secure
|
|
10777
10873
|
*/
|
|
10778
|
-
getSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10874
|
+
getSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10779
10875
|
error: {
|
|
10780
10876
|
/** @format int32 */
|
|
10781
10877
|
code: 400;
|
|
@@ -10785,13 +10881,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10785
10881
|
/**
|
|
10786
10882
|
* No description
|
|
10787
10883
|
*
|
|
10788
|
-
* @tags
|
|
10884
|
+
* @tags site-publishing-auth
|
|
10789
10885
|
* @name UpdateSitePublishingAuthById
|
|
10790
|
-
* @summary Update
|
|
10886
|
+
* @summary Update a site auth config
|
|
10791
10887
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
10792
10888
|
* @secure
|
|
10793
10889
|
*/
|
|
10794
|
-
updateSitePublishingAuthById: (organizationId: string, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10890
|
+
updateSitePublishingAuthById: (organizationId: string, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10795
10891
|
error: {
|
|
10796
10892
|
/** @format int32 */
|
|
10797
10893
|
code: 400;
|
|
@@ -10799,15 +10895,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10799
10895
|
};
|
|
10800
10896
|
}>>;
|
|
10801
10897
|
/**
|
|
10802
|
-
*
|
|
10898
|
+
* @description Regenerate the publishing authentication settings for a site. This will re-generate the private key.
|
|
10803
10899
|
*
|
|
10804
|
-
* @tags
|
|
10900
|
+
* @tags site-publishing-auth
|
|
10805
10901
|
* @name RegenerateSitePublishingAuthById
|
|
10806
|
-
* @summary Regenerate
|
|
10902
|
+
* @summary Regenerate a site auth
|
|
10807
10903
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate
|
|
10808
10904
|
* @secure
|
|
10809
10905
|
*/
|
|
10810
|
-
regenerateSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth,
|
|
10906
|
+
regenerateSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
10811
10907
|
error: {
|
|
10812
10908
|
/** @format int32 */
|
|
10813
10909
|
code: 400;
|
|
@@ -10815,11 +10911,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10815
10911
|
};
|
|
10816
10912
|
}>>;
|
|
10817
10913
|
/**
|
|
10818
|
-
*
|
|
10914
|
+
* @description Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.
|
|
10819
10915
|
*
|
|
10820
|
-
* @tags
|
|
10916
|
+
* @tags site-preview
|
|
10821
10917
|
* @name GetSitePublishingPreviewById
|
|
10822
|
-
* @summary Get a
|
|
10918
|
+
* @summary Get a site preview URL
|
|
10823
10919
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/preview
|
|
10824
10920
|
* @secure
|
|
10825
10921
|
*/
|
|
@@ -10830,7 +10926,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10830
10926
|
claims?: string;
|
|
10831
10927
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
10832
10928
|
url: URL;
|
|
10833
|
-
},
|
|
10929
|
+
}, {
|
|
10834
10930
|
error: {
|
|
10835
10931
|
/** @format int32 */
|
|
10836
10932
|
code: 400;
|
|
@@ -10840,9 +10936,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10840
10936
|
/**
|
|
10841
10937
|
* No description
|
|
10842
10938
|
*
|
|
10843
|
-
* @tags
|
|
10939
|
+
* @tags site-customization
|
|
10844
10940
|
* @name GetSiteCustomizationById
|
|
10845
|
-
* @summary Get
|
|
10941
|
+
* @summary Get a site customization settings
|
|
10846
10942
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/customization
|
|
10847
10943
|
* @secure
|
|
10848
10944
|
*/
|
|
@@ -10853,7 +10949,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10853
10949
|
* @default false
|
|
10854
10950
|
*/
|
|
10855
10951
|
unmasked?: boolean;
|
|
10856
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
10952
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
10857
10953
|
error: {
|
|
10858
10954
|
/** @format int32 */
|
|
10859
10955
|
code: 400;
|
|
@@ -10863,13 +10959,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10863
10959
|
/**
|
|
10864
10960
|
* No description
|
|
10865
10961
|
*
|
|
10866
|
-
* @tags
|
|
10962
|
+
* @tags site-customization
|
|
10867
10963
|
* @name UpdateSiteCustomizationById
|
|
10868
|
-
* @summary Update
|
|
10964
|
+
* @summary Update a site customization settings
|
|
10869
10965
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/customization
|
|
10870
10966
|
* @secure
|
|
10871
10967
|
*/
|
|
10872
|
-
updateSiteCustomizationById: (organizationId: string, siteId: string, data: SiteCustomizationSettings, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
10968
|
+
updateSiteCustomizationById: (organizationId: string, siteId: string, data: SiteCustomizationSettings, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
10873
10969
|
error: {
|
|
10874
10970
|
/** @format int32 */
|
|
10875
10971
|
code: 400;
|
|
@@ -10885,7 +10981,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10885
10981
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/integration-scripts
|
|
10886
10982
|
* @secure
|
|
10887
10983
|
*/
|
|
10888
|
-
listSiteIntegrationScripts: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[],
|
|
10984
|
+
listSiteIntegrationScripts: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[], {
|
|
10889
10985
|
error: {
|
|
10890
10986
|
/** @format int32 */
|
|
10891
10987
|
code: 400;
|
|
@@ -10906,13 +11002,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10906
11002
|
search?: string;
|
|
10907
11003
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10908
11004
|
items: Integration[];
|
|
10909
|
-
},
|
|
11005
|
+
}, any>>;
|
|
10910
11006
|
/**
|
|
10911
11007
|
* No description
|
|
10912
11008
|
*
|
|
10913
|
-
* @tags
|
|
11009
|
+
* @tags site-spaces
|
|
10914
11010
|
* @name AddSpaceToSite
|
|
10915
|
-
* @summary Add a space to a site
|
|
11011
|
+
* @summary Add a space to a site
|
|
10916
11012
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
10917
11013
|
* @secure
|
|
10918
11014
|
*/
|
|
@@ -10921,13 +11017,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10921
11017
|
spaceId: string;
|
|
10922
11018
|
/** 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. */
|
|
10923
11019
|
sectionId?: string;
|
|
10924
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
11020
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
10925
11021
|
/**
|
|
10926
11022
|
* No description
|
|
10927
11023
|
*
|
|
10928
|
-
* @tags
|
|
11024
|
+
* @tags site-spaces, critical
|
|
10929
11025
|
* @name ListSiteSpaces
|
|
10930
|
-
* @summary List all the site spaces
|
|
11026
|
+
* @summary List all the site spaces
|
|
10931
11027
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
10932
11028
|
* @secure
|
|
10933
11029
|
*/
|
|
@@ -10946,13 +11042,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10946
11042
|
default?: boolean;
|
|
10947
11043
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10948
11044
|
items: SiteSpace[];
|
|
10949
|
-
},
|
|
11045
|
+
}, any>>;
|
|
10950
11046
|
/**
|
|
10951
11047
|
* No description
|
|
10952
11048
|
*
|
|
10953
|
-
* @tags
|
|
11049
|
+
* @tags site-section-groups
|
|
10954
11050
|
* @name ListSiteSectionGroups
|
|
10955
|
-
* @summary List all
|
|
11051
|
+
* @summary List all site section groups
|
|
10956
11052
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
10957
11053
|
* @secure
|
|
10958
11054
|
*/
|
|
@@ -10967,13 +11063,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10967
11063
|
limit?: number;
|
|
10968
11064
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
10969
11065
|
items: SiteSectionGroup[];
|
|
10970
|
-
},
|
|
11066
|
+
}, any>>;
|
|
10971
11067
|
/**
|
|
10972
11068
|
* No description
|
|
10973
11069
|
*
|
|
10974
|
-
* @tags
|
|
11070
|
+
* @tags site-section-groups
|
|
10975
11071
|
* @name AddSectionGroupToSite
|
|
10976
|
-
* @summary Add a section group to a site
|
|
11072
|
+
* @summary Add a section group to a site
|
|
10977
11073
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
10978
11074
|
* @secure
|
|
10979
11075
|
*/
|
|
@@ -10983,13 +11079,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10983
11079
|
icon?: Icon | null;
|
|
10984
11080
|
/** IDs of the sections to be added to the section group */
|
|
10985
11081
|
sections?: string[];
|
|
10986
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11082
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
10987
11083
|
/**
|
|
10988
11084
|
* No description
|
|
10989
11085
|
*
|
|
10990
|
-
* @tags
|
|
11086
|
+
* @tags site-section-groups
|
|
10991
11087
|
* @name UpdateSiteSectionGroupById
|
|
10992
|
-
* @summary Update a section group
|
|
11088
|
+
* @summary Update a site section group
|
|
10993
11089
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
10994
11090
|
* @secure
|
|
10995
11091
|
*/
|
|
@@ -10997,21 +11093,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10997
11093
|
/** Title of the site section group */
|
|
10998
11094
|
title?: SiteSectionGroupTitle;
|
|
10999
11095
|
icon?: Icon | null;
|
|
11000
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11096
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
11001
11097
|
/**
|
|
11002
11098
|
* No description
|
|
11003
11099
|
*
|
|
11004
|
-
* @tags
|
|
11100
|
+
* @tags site-section-groups
|
|
11005
11101
|
* @name DeleteSiteSectionGroupById
|
|
11006
|
-
* @summary Delete a section group
|
|
11102
|
+
* @summary Delete a site section group
|
|
11007
11103
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
11008
11104
|
* @secure
|
|
11009
11105
|
*/
|
|
11010
|
-
deleteSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11106
|
+
deleteSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11011
11107
|
/**
|
|
11012
11108
|
* No description
|
|
11013
11109
|
*
|
|
11014
|
-
* @tags
|
|
11110
|
+
* @tags site-section-groups
|
|
11015
11111
|
* @name AddSectionToGroup
|
|
11016
11112
|
* @summary Add a section to a section group
|
|
11017
11113
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections
|
|
@@ -11020,23 +11116,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11020
11116
|
addSectionToGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
|
|
11021
11117
|
/** ID of the section to add to the section group */
|
|
11022
11118
|
sectionId: string;
|
|
11023
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11119
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
11024
11120
|
/**
|
|
11025
11121
|
* No description
|
|
11026
11122
|
*
|
|
11027
|
-
* @tags
|
|
11123
|
+
* @tags site-section-groups
|
|
11028
11124
|
* @name RemoveSectionFromGroup
|
|
11029
11125
|
* @summary Remove a section from a section group
|
|
11030
11126
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}
|
|
11031
11127
|
* @secure
|
|
11032
11128
|
*/
|
|
11033
|
-
removeSectionFromGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11129
|
+
removeSectionFromGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11034
11130
|
/**
|
|
11035
11131
|
* No description
|
|
11036
11132
|
*
|
|
11037
|
-
* @tags
|
|
11133
|
+
* @tags site-sections
|
|
11038
11134
|
* @name AddSectionToSite
|
|
11039
|
-
* @summary Add a section to a site
|
|
11135
|
+
* @summary Add a section to a site
|
|
11040
11136
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/sections
|
|
11041
11137
|
* @secure
|
|
11042
11138
|
*/
|
|
@@ -11048,13 +11144,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11048
11144
|
* @maxLength 64
|
|
11049
11145
|
*/
|
|
11050
11146
|
title?: string;
|
|
11051
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11147
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
11052
11148
|
/**
|
|
11053
11149
|
* No description
|
|
11054
11150
|
*
|
|
11055
|
-
* @tags
|
|
11151
|
+
* @tags site-sections
|
|
11056
11152
|
* @name ListSiteSections
|
|
11057
|
-
* @summary List all
|
|
11153
|
+
* @summary List all site sections
|
|
11058
11154
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/sections
|
|
11059
11155
|
* @secure
|
|
11060
11156
|
*/
|
|
@@ -11071,13 +11167,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11071
11167
|
limit?: number;
|
|
11072
11168
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11073
11169
|
items: SiteSection[];
|
|
11074
|
-
},
|
|
11170
|
+
}, any>>;
|
|
11075
11171
|
/**
|
|
11076
11172
|
* No description
|
|
11077
11173
|
*
|
|
11078
|
-
* @tags
|
|
11174
|
+
* @tags site-sections
|
|
11079
11175
|
* @name UpdateSiteSectionById
|
|
11080
|
-
* @summary Update a
|
|
11176
|
+
* @summary Update a site section
|
|
11081
11177
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
11082
11178
|
* @secure
|
|
11083
11179
|
*/
|
|
@@ -11092,23 +11188,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11092
11188
|
condition?: Condition | null;
|
|
11093
11189
|
icon?: Icon | null;
|
|
11094
11190
|
description?: SiteSectionDescription | null;
|
|
11095
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11191
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
11096
11192
|
/**
|
|
11097
11193
|
* No description
|
|
11098
11194
|
*
|
|
11099
|
-
* @tags
|
|
11195
|
+
* @tags site-sections
|
|
11100
11196
|
* @name DeleteSiteSectionById
|
|
11101
|
-
* @summary Delete a
|
|
11197
|
+
* @summary Delete a site section
|
|
11102
11198
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
11103
11199
|
* @secure
|
|
11104
11200
|
*/
|
|
11105
|
-
deleteSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11201
|
+
deleteSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11106
11202
|
/**
|
|
11107
11203
|
* No description
|
|
11108
11204
|
*
|
|
11109
11205
|
* @tags sites
|
|
11110
11206
|
* @name SearchSiteContent
|
|
11111
|
-
* @summary Search
|
|
11207
|
+
* @summary Search in a site
|
|
11112
11208
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/search
|
|
11113
11209
|
* @secure
|
|
11114
11210
|
*/
|
|
@@ -11150,13 +11246,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11150
11246
|
limit?: number;
|
|
11151
11247
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11152
11248
|
items: SearchSpaceResult[];
|
|
11153
|
-
},
|
|
11249
|
+
}, any>>;
|
|
11154
11250
|
/**
|
|
11155
|
-
*
|
|
11251
|
+
* @description The response is streamed.
|
|
11156
11252
|
*
|
|
11157
|
-
* @tags
|
|
11253
|
+
* @tags site-ask
|
|
11158
11254
|
* @name StreamAskInSite
|
|
11159
|
-
* @summary Ask a question in a site
|
|
11255
|
+
* @summary Ask a question in a site
|
|
11160
11256
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ask
|
|
11161
11257
|
* @secure
|
|
11162
11258
|
*/
|
|
@@ -11173,11 +11269,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11173
11269
|
format?: "document" | "markdown";
|
|
11174
11270
|
}, params?: RequestParams) => EventIterator<SearchAIAnswerStream>;
|
|
11175
11271
|
/**
|
|
11176
|
-
*
|
|
11272
|
+
* @description The response is streamed.
|
|
11177
11273
|
*
|
|
11178
|
-
* @tags
|
|
11274
|
+
* @tags site-ask
|
|
11179
11275
|
* @name StreamRecommendedQuestionsInSite
|
|
11180
|
-
* @summary
|
|
11276
|
+
* @summary List recommended questions to ask in a site
|
|
11181
11277
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/ask/questions
|
|
11182
11278
|
* @secure
|
|
11183
11279
|
*/
|
|
@@ -11185,9 +11281,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11185
11281
|
/**
|
|
11186
11282
|
* No description
|
|
11187
11283
|
*
|
|
11188
|
-
* @tags
|
|
11284
|
+
* @tags site-spaces
|
|
11189
11285
|
* @name UpdateSiteSpaceById
|
|
11190
|
-
* @summary Update a
|
|
11286
|
+
* @summary Update a site space
|
|
11191
11287
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
11192
11288
|
* @secure
|
|
11193
11289
|
*/
|
|
@@ -11196,23 +11292,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11196
11292
|
path?: SiteSpacePath;
|
|
11197
11293
|
/** 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. */
|
|
11198
11294
|
condition?: Condition | null;
|
|
11199
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
11295
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
11200
11296
|
/**
|
|
11201
11297
|
* No description
|
|
11202
11298
|
*
|
|
11203
|
-
* @tags
|
|
11299
|
+
* @tags site-spaces
|
|
11204
11300
|
* @name DeleteSiteSpaceById
|
|
11205
|
-
* @summary Delete a
|
|
11301
|
+
* @summary Delete a site space
|
|
11206
11302
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
11207
11303
|
* @secure
|
|
11208
11304
|
*/
|
|
11209
|
-
deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11305
|
+
deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11210
11306
|
/**
|
|
11211
11307
|
* No description
|
|
11212
11308
|
*
|
|
11213
|
-
* @tags
|
|
11309
|
+
* @tags site-customization
|
|
11214
11310
|
* @name GetSiteSpaceCustomizationById
|
|
11215
|
-
* @summary Get
|
|
11311
|
+
* @summary Get a site space customization settings
|
|
11216
11312
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11217
11313
|
* @secure
|
|
11218
11314
|
*/
|
|
@@ -11223,7 +11319,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11223
11319
|
* @default false
|
|
11224
11320
|
*/
|
|
11225
11321
|
unmasked?: boolean;
|
|
11226
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
11322
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
11227
11323
|
error: {
|
|
11228
11324
|
/** @format int32 */
|
|
11229
11325
|
code: 400;
|
|
@@ -11233,9 +11329,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11233
11329
|
/**
|
|
11234
11330
|
* No description
|
|
11235
11331
|
*
|
|
11236
|
-
* @tags
|
|
11332
|
+
* @tags site-customization
|
|
11237
11333
|
* @name OverrideSiteSpaceCustomizationById
|
|
11238
|
-
* @summary Override
|
|
11334
|
+
* @summary Override a site space customization settings
|
|
11239
11335
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11240
11336
|
* @secure
|
|
11241
11337
|
*/
|
|
@@ -11348,7 +11444,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11348
11444
|
/** The URL for the social preview image. Set to null to reset the override. */
|
|
11349
11445
|
url?: URL | null;
|
|
11350
11446
|
};
|
|
11351
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings,
|
|
11447
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
11352
11448
|
error: {
|
|
11353
11449
|
/** @format int32 */
|
|
11354
11450
|
code: 400;
|
|
@@ -11358,13 +11454,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11358
11454
|
/**
|
|
11359
11455
|
* No description
|
|
11360
11456
|
*
|
|
11361
|
-
* @tags
|
|
11457
|
+
* @tags site-customization
|
|
11362
11458
|
* @name DeleteSiteSpaceCustomizationById
|
|
11363
|
-
* @summary
|
|
11459
|
+
* @summary Delete a site space customization settings
|
|
11364
11460
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
11365
11461
|
* @secure
|
|
11366
11462
|
*/
|
|
11367
|
-
deleteSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11463
|
+
deleteSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
11368
11464
|
error: {
|
|
11369
11465
|
/** @format int32 */
|
|
11370
11466
|
code: 400;
|
|
@@ -11374,16 +11470,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11374
11470
|
/**
|
|
11375
11471
|
* No description
|
|
11376
11472
|
*
|
|
11377
|
-
* @tags
|
|
11473
|
+
* @tags site-section-groups
|
|
11378
11474
|
* @name MoveSiteSectionGroup
|
|
11379
|
-
* @summary Move a site section group to a new position
|
|
11475
|
+
* @summary Move a site section group to a new position
|
|
11380
11476
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move
|
|
11381
11477
|
* @secure
|
|
11382
11478
|
*/
|
|
11383
11479
|
moveSiteSectionGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
|
|
11384
11480
|
/** The position where to move the site section group. When not provided the site section group is moved at the end of the site. */
|
|
11385
11481
|
position?: SiteSectionGroupMovePosition;
|
|
11386
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup,
|
|
11482
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, {
|
|
11387
11483
|
error: {
|
|
11388
11484
|
/** @format int32 */
|
|
11389
11485
|
code: 400;
|
|
@@ -11399,16 +11495,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11399
11495
|
/**
|
|
11400
11496
|
* No description
|
|
11401
11497
|
*
|
|
11402
|
-
* @tags
|
|
11498
|
+
* @tags site-sections
|
|
11403
11499
|
* @name MoveSiteSection
|
|
11404
|
-
* @summary Move a site section to a new position
|
|
11500
|
+
* @summary Move a site section to a new position
|
|
11405
11501
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move
|
|
11406
11502
|
* @secure
|
|
11407
11503
|
*/
|
|
11408
11504
|
moveSiteSection: (organizationId: string, siteId: string, siteSectionId: string, data: {
|
|
11409
11505
|
/** The position where to move the site section. When not provided the site section is moved at the end of the site. */
|
|
11410
11506
|
position?: SiteSectionMovePosition;
|
|
11411
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSection,
|
|
11507
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, {
|
|
11412
11508
|
error: {
|
|
11413
11509
|
/** @format int32 */
|
|
11414
11510
|
code: 400;
|
|
@@ -11424,16 +11520,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11424
11520
|
/**
|
|
11425
11521
|
* No description
|
|
11426
11522
|
*
|
|
11427
|
-
* @tags
|
|
11523
|
+
* @tags site-spaces
|
|
11428
11524
|
* @name MoveSiteSpace
|
|
11429
|
-
* @summary Move a site space to a new position
|
|
11525
|
+
* @summary Move a site space to a new position
|
|
11430
11526
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move
|
|
11431
11527
|
* @secure
|
|
11432
11528
|
*/
|
|
11433
11529
|
moveSiteSpace: (organizationId: string, siteId: string, siteSpaceId: string, data: {
|
|
11434
11530
|
/** The position where to move the site space. When not provided the site space is moved at the end of the site. */
|
|
11435
11531
|
position?: SiteSpaceMovePosition;
|
|
11436
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace,
|
|
11532
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, {
|
|
11437
11533
|
error: {
|
|
11438
11534
|
/** @format int32 */
|
|
11439
11535
|
code: 400;
|
|
@@ -11449,9 +11545,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11449
11545
|
/**
|
|
11450
11546
|
* No description
|
|
11451
11547
|
*
|
|
11452
|
-
* @tags
|
|
11548
|
+
* @tags site-users
|
|
11453
11549
|
* @name ListPermissionsAggregateInSite
|
|
11454
|
-
* @summary List
|
|
11550
|
+
* @summary List all sites users permissions
|
|
11455
11551
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/aggregate
|
|
11456
11552
|
* @secure
|
|
11457
11553
|
*/
|
|
@@ -11466,7 +11562,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11466
11562
|
limit?: number;
|
|
11467
11563
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11468
11564
|
items: UserSitePermission[];
|
|
11469
|
-
},
|
|
11565
|
+
}, any>>;
|
|
11470
11566
|
/**
|
|
11471
11567
|
* @description Experimental operation to generate an AI response in a site.
|
|
11472
11568
|
*
|
|
@@ -11486,23 +11582,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11486
11582
|
tools?: AIToolCapabilities;
|
|
11487
11583
|
}, params?: RequestParams) => EventIterator<AIStreamResponse>;
|
|
11488
11584
|
/**
|
|
11489
|
-
*
|
|
11585
|
+
* No description
|
|
11490
11586
|
*
|
|
11491
|
-
* @tags
|
|
11587
|
+
* @tags site-insights
|
|
11492
11588
|
* @name TrackEventsInSiteById
|
|
11493
|
-
* @summary Track events
|
|
11589
|
+
* @summary Track site events
|
|
11494
11590
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events
|
|
11495
11591
|
* @secure
|
|
11496
11592
|
*/
|
|
11497
11593
|
trackEventsInSiteById: (organizationId: string, siteId: string, data: {
|
|
11498
11594
|
events: SiteInsightsEvent[];
|
|
11499
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11595
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11500
11596
|
/**
|
|
11501
11597
|
* No description
|
|
11502
11598
|
*
|
|
11503
|
-
* @tags
|
|
11599
|
+
* @tags site-insights
|
|
11504
11600
|
* @name AggregateSiteEvents
|
|
11505
|
-
* @summary Query
|
|
11601
|
+
* @summary Query site events
|
|
11506
11602
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
|
|
11507
11603
|
* @secure
|
|
11508
11604
|
*/
|
|
@@ -11510,9 +11606,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11510
11606
|
/**
|
|
11511
11607
|
* No description
|
|
11512
11608
|
*
|
|
11513
|
-
* @tags
|
|
11609
|
+
* @tags site-insights
|
|
11514
11610
|
* @name ListSiteVisitorSegments
|
|
11515
|
-
* @summary List visitor segments
|
|
11611
|
+
* @summary List a site visitor segments
|
|
11516
11612
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments
|
|
11517
11613
|
* @secure
|
|
11518
11614
|
*/
|
|
@@ -11522,9 +11618,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11522
11618
|
/**
|
|
11523
11619
|
* No description
|
|
11524
11620
|
*
|
|
11525
|
-
* @tags
|
|
11621
|
+
* @tags site-ads
|
|
11526
11622
|
* @name UpdateSiteAdsById
|
|
11527
|
-
* @summary
|
|
11623
|
+
* @summary Update a site ads settings
|
|
11528
11624
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ads
|
|
11529
11625
|
* @secure
|
|
11530
11626
|
*/
|
|
@@ -11532,13 +11628,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11532
11628
|
status?: "in-review" | "disabled";
|
|
11533
11629
|
/** Topic of the content */
|
|
11534
11630
|
topic?: SiteAdsTopic;
|
|
11535
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11631
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11536
11632
|
/**
|
|
11537
11633
|
* No description
|
|
11538
11634
|
*
|
|
11539
|
-
* @tags
|
|
11635
|
+
* @tags site-redirects
|
|
11540
11636
|
* @name CreateSiteRedirect
|
|
11541
|
-
* @summary
|
|
11637
|
+
* @summary Create a site redirect
|
|
11542
11638
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
11543
11639
|
* @secure
|
|
11544
11640
|
*/
|
|
@@ -11546,13 +11642,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11546
11642
|
/** The source path to redirect from. */
|
|
11547
11643
|
source: SiteRedirectSourcePath;
|
|
11548
11644
|
destination: SiteRedirectDestination;
|
|
11549
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect,
|
|
11645
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect, any>>;
|
|
11550
11646
|
/**
|
|
11551
11647
|
* No description
|
|
11552
11648
|
*
|
|
11553
|
-
* @tags
|
|
11649
|
+
* @tags site-redirects
|
|
11554
11650
|
* @name ListSiteRedirects
|
|
11555
|
-
* @summary List
|
|
11651
|
+
* @summary List all site redirects
|
|
11556
11652
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
11557
11653
|
* @secure
|
|
11558
11654
|
*/
|
|
@@ -11567,13 +11663,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11567
11663
|
limit?: number;
|
|
11568
11664
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11569
11665
|
items: SiteRedirect[];
|
|
11570
|
-
},
|
|
11666
|
+
}, any>>;
|
|
11571
11667
|
/**
|
|
11572
11668
|
* No description
|
|
11573
11669
|
*
|
|
11574
|
-
* @tags
|
|
11670
|
+
* @tags site-redirects
|
|
11575
11671
|
* @name UpdateSiteRedirectById
|
|
11576
|
-
* @summary Update a redirect
|
|
11672
|
+
* @summary Update a site redirect
|
|
11577
11673
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
11578
11674
|
* @secure
|
|
11579
11675
|
*/
|
|
@@ -11581,23 +11677,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11581
11677
|
/** The source path to redirect from. */
|
|
11582
11678
|
source?: SiteRedirectSourcePath;
|
|
11583
11679
|
destination?: SiteRedirectDestination;
|
|
11584
|
-
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect,
|
|
11680
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteRedirect, any>>;
|
|
11585
11681
|
/**
|
|
11586
11682
|
* No description
|
|
11587
11683
|
*
|
|
11588
|
-
* @tags
|
|
11684
|
+
* @tags site-redirects
|
|
11589
11685
|
* @name DeleteSiteRedirectById
|
|
11590
|
-
* @summary Delete a redirect
|
|
11686
|
+
* @summary Delete a site redirect
|
|
11591
11687
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
11592
11688
|
* @secure
|
|
11593
11689
|
*/
|
|
11594
|
-
deleteSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11690
|
+
deleteSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11595
11691
|
/**
|
|
11596
11692
|
* No description
|
|
11597
11693
|
*
|
|
11598
|
-
* @tags
|
|
11694
|
+
* @tags site-redirects
|
|
11599
11695
|
* @name GetSiteRedirectBySource
|
|
11600
|
-
* @summary
|
|
11696
|
+
* @summary Get a site redirect by its source
|
|
11601
11697
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirect
|
|
11602
11698
|
* @secure
|
|
11603
11699
|
*/
|
|
@@ -11610,7 +11706,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11610
11706
|
redirect: SiteRedirect;
|
|
11611
11707
|
/** URL of the destination of the redirect. */
|
|
11612
11708
|
target: string;
|
|
11613
|
-
},
|
|
11709
|
+
}, {
|
|
11614
11710
|
error: {
|
|
11615
11711
|
/** @format int32 */
|
|
11616
11712
|
code: 404;
|
|
@@ -11624,11 +11720,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11624
11720
|
*
|
|
11625
11721
|
* @tags subdomains
|
|
11626
11722
|
* @name GetSubdomain
|
|
11627
|
-
* @summary Get
|
|
11723
|
+
* @summary Get a subdomain
|
|
11628
11724
|
* @request GET:/subdomains/{subdomain}
|
|
11629
11725
|
* @secure
|
|
11630
11726
|
*/
|
|
11631
|
-
getSubdomain: (subdomain: string, params?: RequestParams) => Promise<HttpResponse<Subdomain,
|
|
11727
|
+
getSubdomain: (subdomain: string, params?: RequestParams) => Promise<HttpResponse<Subdomain, any>>;
|
|
11632
11728
|
};
|
|
11633
11729
|
customHostnames: {
|
|
11634
11730
|
/**
|
|
@@ -11636,21 +11732,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11636
11732
|
*
|
|
11637
11733
|
* @tags custom-hostnames
|
|
11638
11734
|
* @name GetCustomHostname
|
|
11639
|
-
* @summary Get
|
|
11735
|
+
* @summary Get a custom hostname
|
|
11640
11736
|
* @request GET:/custom-hostnames/{hostname}
|
|
11641
11737
|
* @secure
|
|
11642
11738
|
*/
|
|
11643
|
-
getCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<CustomHostname,
|
|
11739
|
+
getCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<CustomHostname, any>>;
|
|
11644
11740
|
/**
|
|
11645
|
-
*
|
|
11741
|
+
* @description Revalidate DNS records and status.
|
|
11646
11742
|
*
|
|
11647
11743
|
* @tags custom-hostnames
|
|
11648
11744
|
* @name DnsRevalidateCustomHostname
|
|
11649
|
-
* @summary Revalidate a custom hostname
|
|
11745
|
+
* @summary Revalidate a custom hostname DNS
|
|
11650
11746
|
* @request PATCH:/custom-hostnames/{hostname}
|
|
11651
11747
|
* @secure
|
|
11652
11748
|
*/
|
|
11653
|
-
dnsRevalidateCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11749
|
+
dnsRevalidateCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
11654
11750
|
error: {
|
|
11655
11751
|
/** @format int32 */
|
|
11656
11752
|
code: 409;
|
|
@@ -11658,35 +11754,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11658
11754
|
};
|
|
11659
11755
|
}>>;
|
|
11660
11756
|
/**
|
|
11661
|
-
*
|
|
11757
|
+
* @description The custom hostname will continue to point to the content or organization unless it is used for another one.
|
|
11662
11758
|
*
|
|
11663
11759
|
* @tags custom-hostnames
|
|
11664
11760
|
* @name RemoveCustomHostname
|
|
11665
|
-
* @summary Remove a custom hostname
|
|
11761
|
+
* @summary Remove a custom hostname
|
|
11666
11762
|
* @request DELETE:/custom-hostnames/{hostname}
|
|
11667
11763
|
* @secure
|
|
11668
11764
|
*/
|
|
11669
|
-
removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11765
|
+
removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11670
11766
|
};
|
|
11671
11767
|
emailDomains: {
|
|
11672
11768
|
/**
|
|
11673
11769
|
* No description
|
|
11674
11770
|
*
|
|
11675
|
-
* @tags
|
|
11771
|
+
* @tags organizations
|
|
11676
11772
|
* @name GetOrganizationsForEmailDomain
|
|
11677
|
-
* @summary Get all organizations by email domain
|
|
11773
|
+
* @summary Get all organizations by email domain
|
|
11678
11774
|
* @request GET:/email-domains/{emailDomain}/orgs
|
|
11679
11775
|
* @secure
|
|
11680
11776
|
*/
|
|
11681
11777
|
getOrganizationsForEmailDomain: (emailDomain: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
11682
11778
|
organizations?: Organization[];
|
|
11683
|
-
},
|
|
11779
|
+
}, any>>;
|
|
11684
11780
|
};
|
|
11685
11781
|
ads: {
|
|
11686
11782
|
/**
|
|
11687
11783
|
* No description
|
|
11688
11784
|
*
|
|
11689
|
-
* @tags ads
|
|
11785
|
+
* @tags site-ads
|
|
11690
11786
|
* @name AdsListSites
|
|
11691
11787
|
* @summary List all the sites with ads configured
|
|
11692
11788
|
* @request GET:/ads/sites
|
|
@@ -11724,11 +11820,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11724
11820
|
/** Reason for the rejection */
|
|
11725
11821
|
reason?: string;
|
|
11726
11822
|
}))[];
|
|
11727
|
-
},
|
|
11823
|
+
}, any>>;
|
|
11728
11824
|
/**
|
|
11729
11825
|
* No description
|
|
11730
11826
|
*
|
|
11731
|
-
* @tags ads
|
|
11827
|
+
* @tags site-ads
|
|
11732
11828
|
* @name AdsUpdateSite
|
|
11733
11829
|
* @summary Update the Ads configuration for a site
|
|
11734
11830
|
* @request PATCH:/ads/sites/{siteId}
|
|
@@ -11749,7 +11845,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11749
11845
|
reason?: string;
|
|
11750
11846
|
} | {
|
|
11751
11847
|
status: "pending";
|
|
11752
|
-
}, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11848
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11753
11849
|
};
|
|
11754
11850
|
urls: {
|
|
11755
11851
|
/**
|
|
@@ -11770,7 +11866,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11770
11866
|
space: Space;
|
|
11771
11867
|
changeRequest?: ChangeRequest;
|
|
11772
11868
|
page?: RevisionPageDocument | RevisionPageGroup;
|
|
11773
|
-
},
|
|
11869
|
+
}, any>>;
|
|
11774
11870
|
/**
|
|
11775
11871
|
* No description
|
|
11776
11872
|
*
|
|
@@ -11783,7 +11879,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11783
11879
|
getEmbedByUrl: (query: {
|
|
11784
11880
|
/** URL to resolve */
|
|
11785
11881
|
url: string;
|
|
11786
|
-
}, params?: RequestParams) => Promise<HttpResponse<Embed,
|
|
11882
|
+
}, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
|
|
11787
11883
|
/**
|
|
11788
11884
|
* No description
|
|
11789
11885
|
*
|
|
@@ -11803,7 +11899,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11803
11899
|
* @default false
|
|
11804
11900
|
*/
|
|
11805
11901
|
redirectOnError?: boolean;
|
|
11806
|
-
}, params?: RequestParams) => Promise<HttpResponse<PublishedSiteContentLookup,
|
|
11902
|
+
}, params?: RequestParams) => Promise<HttpResponse<PublishedSiteContentLookup, {
|
|
11807
11903
|
error: {
|
|
11808
11904
|
/** @format int32 */
|
|
11809
11905
|
code: 404;
|