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