@gitbook/api 0.166.0 → 0.167.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 +539 -377
- package/dist/constants.d.ts +3 -1
- package/dist/index.cjs +70 -9
- package/dist/index.js +67 -9
- package/package.json +1 -1
- package/spec/openapi.json +702 -237
- package/spec/openapi.yaml +465 -203
package/dist/client.d.ts
CHANGED
|
@@ -261,6 +261,18 @@ export declare enum SiteQuestionAnswerResolution {
|
|
|
261
261
|
Partially = "partially",
|
|
262
262
|
Yes = "yes"
|
|
263
263
|
}
|
|
264
|
+
/** Relative score adjustment applied to records from a connection when searching. */
|
|
265
|
+
export declare enum ContextSearchBoost {
|
|
266
|
+
X08 = "x0.8",
|
|
267
|
+
X10 = "x1.0",
|
|
268
|
+
X12 = "x1.2"
|
|
269
|
+
}
|
|
270
|
+
export declare enum ContextConnectionStatus {
|
|
271
|
+
Pending = "pending",
|
|
272
|
+
Syncing = "syncing",
|
|
273
|
+
Succeeded = "succeeded",
|
|
274
|
+
Failed = "failed"
|
|
275
|
+
}
|
|
264
276
|
/** Type classification of the user question. */
|
|
265
277
|
export declare enum SiteQuestionType {
|
|
266
278
|
Exploring = "exploring",
|
|
@@ -269,12 +281,6 @@ export declare enum SiteQuestionType {
|
|
|
269
281
|
Reference = "reference",
|
|
270
282
|
Unknown = "unknown"
|
|
271
283
|
}
|
|
272
|
-
export declare enum ContextConnectionStatus {
|
|
273
|
-
Pending = "pending",
|
|
274
|
-
Syncing = "syncing",
|
|
275
|
-
Succeeded = "succeeded",
|
|
276
|
-
Failed = "failed"
|
|
277
|
-
}
|
|
278
284
|
/** Estimated end-user priority of a site issue. */
|
|
279
285
|
export declare enum SiteIssuePriority {
|
|
280
286
|
Low = "low",
|
|
@@ -1067,6 +1073,11 @@ export type UserAPITokenExtended = UserAPIToken & {
|
|
|
1067
1073
|
* @maxLength 2048
|
|
1068
1074
|
*/
|
|
1069
1075
|
export type URL = string;
|
|
1076
|
+
/**
|
|
1077
|
+
* A unique entity identifier
|
|
1078
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
1079
|
+
*/
|
|
1080
|
+
export type EntityId = string;
|
|
1070
1081
|
/**
|
|
1071
1082
|
* Title of the space
|
|
1072
1083
|
* @maxLength 50
|
|
@@ -2599,6 +2610,7 @@ export type RevisionTag = {
|
|
|
2599
2610
|
slug: string;
|
|
2600
2611
|
/** Display label for the tag. Can be renamed and differ from the slug. */
|
|
2601
2612
|
label: string;
|
|
2613
|
+
color: DocumentTextColor;
|
|
2602
2614
|
} & ({
|
|
2603
2615
|
/** Unicode codepoint or character of the emoji */
|
|
2604
2616
|
emoji: Emoji;
|
|
@@ -3077,6 +3089,11 @@ export interface OpenAPISpec {
|
|
|
3077
3089
|
/** OpenAPI processing error code */
|
|
3078
3090
|
lastProcessErrorCode?: OpenAPISpecProcessingErrorCode;
|
|
3079
3091
|
lastProcessedErrors?: OpenAPIErrorObject[];
|
|
3092
|
+
/**
|
|
3093
|
+
* Total number of processing errors before truncation of lastProcessedErrors.
|
|
3094
|
+
* @min 0
|
|
3095
|
+
*/
|
|
3096
|
+
lastProcessedErrorCount: number;
|
|
3080
3097
|
/** The set of permissions for the OpenAPI specification. */
|
|
3081
3098
|
permissions: {
|
|
3082
3099
|
/** Can the user view the specification. */
|
|
@@ -5326,7 +5343,12 @@ export interface OpenAPISpecVersion {
|
|
|
5326
5343
|
export interface OpenAPISpecContent {
|
|
5327
5344
|
/** Filesystem containing all specifications. */
|
|
5328
5345
|
filesystem: object;
|
|
5329
|
-
|
|
5346
|
+
/** URLs associated with the specification content. */
|
|
5347
|
+
urls: {
|
|
5348
|
+
source: URL;
|
|
5349
|
+
/** Publicly accessible URL for the specification. Available for public specs (proxy URL for stored specs, source URL for external specs). Null for private specs. Can be used for the "Try it" feature. */
|
|
5350
|
+
public: null | URL;
|
|
5351
|
+
};
|
|
5330
5352
|
}
|
|
5331
5353
|
export interface OrganizationAgentInstructions {
|
|
5332
5354
|
object: "agent-instructions";
|
|
@@ -6058,6 +6080,14 @@ export interface SiteIssue {
|
|
|
6058
6080
|
topic: string;
|
|
6059
6081
|
/** Short issue title */
|
|
6060
6082
|
title: SiteIssueTitle;
|
|
6083
|
+
/** Number of change requests linked to the issue */
|
|
6084
|
+
changeRequests: number;
|
|
6085
|
+
/** Number of pages linked to the issue */
|
|
6086
|
+
pages: number;
|
|
6087
|
+
/** Number of records linked to the issue */
|
|
6088
|
+
records: number;
|
|
6089
|
+
/** Number of questions linked to the issue */
|
|
6090
|
+
questions: number;
|
|
6061
6091
|
/** Status of a site issue. */
|
|
6062
6092
|
status: SiteIssueStatus;
|
|
6063
6093
|
/**
|
|
@@ -6084,6 +6114,90 @@ export interface SiteIssue {
|
|
|
6084
6114
|
location: string;
|
|
6085
6115
|
};
|
|
6086
6116
|
}
|
|
6117
|
+
export interface SiteIssuePage {
|
|
6118
|
+
object: "site-issue-page";
|
|
6119
|
+
/** The space ID containing the linked page. */
|
|
6120
|
+
spaceId: string;
|
|
6121
|
+
page: ChangedRevisionPage;
|
|
6122
|
+
}
|
|
6123
|
+
/** Aggregated feedback for answers linked to a site question. */
|
|
6124
|
+
export interface SiteQuestionStatsFeedback {
|
|
6125
|
+
/** Count of answers with positive feedback. */
|
|
6126
|
+
positive: number;
|
|
6127
|
+
/** Count of answers with negative feedback. */
|
|
6128
|
+
negative: number;
|
|
6129
|
+
/** Count of answers without feedback. */
|
|
6130
|
+
unrated: number;
|
|
6131
|
+
}
|
|
6132
|
+
/** Aggregated answered assessment for answers linked to a site question. */
|
|
6133
|
+
export interface SiteQuestionStatsAnswered {
|
|
6134
|
+
/** Count of answers assessed as fully answered. */
|
|
6135
|
+
yes: number;
|
|
6136
|
+
/** Count of answers assessed as partially answered. */
|
|
6137
|
+
partially: number;
|
|
6138
|
+
/** Count of answers assessed as not answered. */
|
|
6139
|
+
no: number;
|
|
6140
|
+
}
|
|
6141
|
+
export interface SiteQuestionStatsRelevance {
|
|
6142
|
+
relevant: number;
|
|
6143
|
+
spam: number;
|
|
6144
|
+
"off-topic": number;
|
|
6145
|
+
unclear: number;
|
|
6146
|
+
}
|
|
6147
|
+
export interface SiteQuestionStatsTypes {
|
|
6148
|
+
exploring: number;
|
|
6149
|
+
"how-to": number;
|
|
6150
|
+
troubleshooting: number;
|
|
6151
|
+
reference: number;
|
|
6152
|
+
unknown: number;
|
|
6153
|
+
}
|
|
6154
|
+
/** Count of answers by site channel type, including core channels. */
|
|
6155
|
+
export type SiteQuestionStatsChannelTypes = Record<string, number>;
|
|
6156
|
+
/** Count of answers by site channel ID. */
|
|
6157
|
+
export type SiteQuestionStatsChannels = Record<string, number>;
|
|
6158
|
+
/** Aggregated stats for questions and linked answers. */
|
|
6159
|
+
export interface SiteQuestionStats {
|
|
6160
|
+
/** Total count of questions included in the aggregation. */
|
|
6161
|
+
total: number;
|
|
6162
|
+
/** Total count of answers linked to the questions. */
|
|
6163
|
+
answers: number;
|
|
6164
|
+
/** Aggregated feedback for answers linked to a site question. */
|
|
6165
|
+
feedback: SiteQuestionStatsFeedback;
|
|
6166
|
+
/** Aggregated answered assessment for answers linked to a site question. */
|
|
6167
|
+
answered: SiteQuestionStatsAnswered;
|
|
6168
|
+
relevance: SiteQuestionStatsRelevance;
|
|
6169
|
+
types: SiteQuestionStatsTypes;
|
|
6170
|
+
/** Count of answers by site channel type, including core channels. */
|
|
6171
|
+
channelTypes: SiteQuestionStatsChannelTypes;
|
|
6172
|
+
/** Count of answers by site channel ID. */
|
|
6173
|
+
channels: SiteQuestionStatsChannels;
|
|
6174
|
+
/**
|
|
6175
|
+
* Weekly count of related question answers for the past 3 months.
|
|
6176
|
+
* @maxItems 13
|
|
6177
|
+
* @minItems 13
|
|
6178
|
+
*/
|
|
6179
|
+
weeklyPulse: number[];
|
|
6180
|
+
}
|
|
6181
|
+
export interface SiteQuestion {
|
|
6182
|
+
object: "site-question";
|
|
6183
|
+
/** The ID of the site question. */
|
|
6184
|
+
id: string;
|
|
6185
|
+
/** Canonical text for the unique site question. */
|
|
6186
|
+
question: string;
|
|
6187
|
+
/** Type classification of the user question. */
|
|
6188
|
+
type: SiteQuestionType;
|
|
6189
|
+
createdAt: Timestamp;
|
|
6190
|
+
/** Aggregated stats for questions and linked answers. */
|
|
6191
|
+
stats: SiteQuestionStats;
|
|
6192
|
+
/** URLs associated with the site question. */
|
|
6193
|
+
urls: {
|
|
6194
|
+
/**
|
|
6195
|
+
* URL of the site question in the API.
|
|
6196
|
+
* @format uri
|
|
6197
|
+
*/
|
|
6198
|
+
location: string;
|
|
6199
|
+
};
|
|
6200
|
+
}
|
|
6087
6201
|
/**
|
|
6088
6202
|
* Optional label for the connection
|
|
6089
6203
|
* @minLength 0
|
|
@@ -6095,6 +6209,8 @@ export interface ContextUsageSettings {
|
|
|
6095
6209
|
changeRequests: boolean;
|
|
6096
6210
|
/** Whether to expose records in search results */
|
|
6097
6211
|
search: boolean;
|
|
6212
|
+
/** Relative score adjustment applied to records from a connection when searching. */
|
|
6213
|
+
searchBoost: ContextSearchBoost;
|
|
6098
6214
|
}
|
|
6099
6215
|
export type ContextConnectorSetup = {
|
|
6100
6216
|
connector: "builtin:email";
|
|
@@ -6169,63 +6285,9 @@ export type ContextConnection = {
|
|
|
6169
6285
|
location: string;
|
|
6170
6286
|
};
|
|
6171
6287
|
} & ContextConnectorSetup;
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
positive: number;
|
|
6176
|
-
/** Count of answers with negative feedback. */
|
|
6177
|
-
negative: number;
|
|
6178
|
-
/** Count of answers without feedback. */
|
|
6179
|
-
unrated: number;
|
|
6180
|
-
}
|
|
6181
|
-
/** Aggregated answered assessment for answers linked to a site question. */
|
|
6182
|
-
export interface SiteQuestionStatsAnswered {
|
|
6183
|
-
/** Count of answers assessed as fully answered. */
|
|
6184
|
-
yes: number;
|
|
6185
|
-
/** Count of answers assessed as partially answered. */
|
|
6186
|
-
partially: number;
|
|
6187
|
-
/** Count of answers assessed as not answered. */
|
|
6188
|
-
no: number;
|
|
6189
|
-
}
|
|
6190
|
-
export interface SiteQuestionStatsRelevance {
|
|
6191
|
-
relevant: number;
|
|
6192
|
-
spam: number;
|
|
6193
|
-
"off-topic": number;
|
|
6194
|
-
unclear: number;
|
|
6195
|
-
}
|
|
6196
|
-
export interface SiteQuestionStatsTypes {
|
|
6197
|
-
exploring: number;
|
|
6198
|
-
"how-to": number;
|
|
6199
|
-
troubleshooting: number;
|
|
6200
|
-
reference: number;
|
|
6201
|
-
unknown: number;
|
|
6202
|
-
}
|
|
6203
|
-
/** Count of answers by site channel type, including core channels. */
|
|
6204
|
-
export type SiteQuestionStatsChannelTypes = Record<string, number>;
|
|
6205
|
-
/** Count of answers by site channel ID. */
|
|
6206
|
-
export type SiteQuestionStatsChannels = Record<string, number>;
|
|
6207
|
-
/** Aggregated stats for questions and linked answers. */
|
|
6208
|
-
export interface SiteQuestionStats {
|
|
6209
|
-
/** Total count of questions included in the aggregation. */
|
|
6210
|
-
total: number;
|
|
6211
|
-
/** Total count of answers linked to the questions. */
|
|
6212
|
-
answers: number;
|
|
6213
|
-
/** Aggregated feedback for answers linked to a site question. */
|
|
6214
|
-
feedback: SiteQuestionStatsFeedback;
|
|
6215
|
-
/** Aggregated answered assessment for answers linked to a site question. */
|
|
6216
|
-
answered: SiteQuestionStatsAnswered;
|
|
6217
|
-
relevance: SiteQuestionStatsRelevance;
|
|
6218
|
-
types: SiteQuestionStatsTypes;
|
|
6219
|
-
/** Count of answers by site channel type, including core channels. */
|
|
6220
|
-
channelTypes: SiteQuestionStatsChannelTypes;
|
|
6221
|
-
/** Count of answers by site channel ID. */
|
|
6222
|
-
channels: SiteQuestionStatsChannels;
|
|
6223
|
-
/**
|
|
6224
|
-
* Weekly count of related question answers for the past 3 months.
|
|
6225
|
-
* @maxItems 13
|
|
6226
|
-
* @minItems 13
|
|
6227
|
-
*/
|
|
6228
|
-
weeklyPulse: number[];
|
|
6288
|
+
export interface SiteTopicUsageSettings {
|
|
6289
|
+
/** Whether to use context to propose change requests */
|
|
6290
|
+
changeRequests: boolean;
|
|
6229
6291
|
}
|
|
6230
6292
|
export interface SiteTopic {
|
|
6231
6293
|
object: "context-topic";
|
|
@@ -6245,7 +6307,7 @@ export interface SiteTopic {
|
|
|
6245
6307
|
/** Name of the icon */
|
|
6246
6308
|
icon: Icon;
|
|
6247
6309
|
summary: JSONDocument;
|
|
6248
|
-
usageSettings:
|
|
6310
|
+
usageSettings: SiteTopicUsageSettings;
|
|
6249
6311
|
/** The number of pages associated with the topic */
|
|
6250
6312
|
pages: number;
|
|
6251
6313
|
/** The number of records in the topic */
|
|
@@ -6261,26 +6323,6 @@ export interface SiteTopic {
|
|
|
6261
6323
|
location: string;
|
|
6262
6324
|
};
|
|
6263
6325
|
}
|
|
6264
|
-
export interface SiteQuestion {
|
|
6265
|
-
object: "site-question";
|
|
6266
|
-
/** The ID of the site question. */
|
|
6267
|
-
id: string;
|
|
6268
|
-
/** Canonical text for the unique site question. */
|
|
6269
|
-
question: string;
|
|
6270
|
-
/** Type classification of the user question. */
|
|
6271
|
-
type: SiteQuestionType;
|
|
6272
|
-
createdAt: Timestamp;
|
|
6273
|
-
/** Aggregated stats for questions and linked answers. */
|
|
6274
|
-
stats: SiteQuestionStats;
|
|
6275
|
-
/** URLs associated with the site question. */
|
|
6276
|
-
urls: {
|
|
6277
|
-
/**
|
|
6278
|
-
* URL of the site question in the API.
|
|
6279
|
-
* @format uri
|
|
6280
|
-
*/
|
|
6281
|
-
location: string;
|
|
6282
|
-
};
|
|
6283
|
-
}
|
|
6284
6326
|
/** Identifiers for a GitBook site session, used for analytics and adaptive content. */
|
|
6285
6327
|
export interface SiteInsightsSession {
|
|
6286
6328
|
/** GitBook's unique identifier of the visitor. */
|
|
@@ -7906,6 +7948,11 @@ export type SiteAPIToken = ContentAPIBaseToken & {
|
|
|
7906
7948
|
siteSection?: string;
|
|
7907
7949
|
/** ID of the space to be used when using this token for rendering published content. */
|
|
7908
7950
|
space: string;
|
|
7951
|
+
/**
|
|
7952
|
+
* Whether to include draft data when using this token for rendering content. If false, only live data will be included when rendering content with this token.
|
|
7953
|
+
* @default false
|
|
7954
|
+
*/
|
|
7955
|
+
draft?: boolean;
|
|
7909
7956
|
};
|
|
7910
7957
|
/** Content properties stored in a Content API token. */
|
|
7911
7958
|
export type ContentAPITokenPayload = SpaceAPIToken | CollectionAPIToken | SiteAPIToken;
|
|
@@ -8498,7 +8545,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8498
8545
|
* @request GET:/spaces/{spaceId}
|
|
8499
8546
|
* @secure
|
|
8500
8547
|
*/
|
|
8501
|
-
getSpaceById: (spaceId:
|
|
8548
|
+
getSpaceById: (spaceId: EntityId, query?: {
|
|
8502
8549
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
8503
8550
|
shareKey?: string;
|
|
8504
8551
|
}, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
@@ -8511,7 +8558,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8511
8558
|
* @request PATCH:/spaces/{spaceId}
|
|
8512
8559
|
* @secure
|
|
8513
8560
|
*/
|
|
8514
|
-
updateSpaceById: (spaceId:
|
|
8561
|
+
updateSpaceById: (spaceId: EntityId, data: {
|
|
8515
8562
|
/**
|
|
8516
8563
|
* Determines how a Space can be edited.
|
|
8517
8564
|
* * `live`: Users can directly edit the space
|
|
@@ -8542,7 +8589,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8542
8589
|
* @request DELETE:/spaces/{spaceId}
|
|
8543
8590
|
* @secure
|
|
8544
8591
|
*/
|
|
8545
|
-
deleteSpaceById: (spaceId:
|
|
8592
|
+
deleteSpaceById: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8546
8593
|
/**
|
|
8547
8594
|
* No description
|
|
8548
8595
|
*
|
|
@@ -8552,7 +8599,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8552
8599
|
* @request POST:/spaces/{spaceId}/duplicate
|
|
8553
8600
|
* @secure
|
|
8554
8601
|
*/
|
|
8555
|
-
duplicateSpace: (spaceId:
|
|
8602
|
+
duplicateSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
8556
8603
|
/**
|
|
8557
8604
|
* @description Only spaces deleted in the last 7 days can be restored.
|
|
8558
8605
|
*
|
|
@@ -8562,7 +8609,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8562
8609
|
* @request POST:/spaces/{spaceId}/restore
|
|
8563
8610
|
* @secure
|
|
8564
8611
|
*/
|
|
8565
|
-
restoreSpace: (spaceId:
|
|
8612
|
+
restoreSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
8566
8613
|
/**
|
|
8567
8614
|
* No description
|
|
8568
8615
|
*
|
|
@@ -8572,7 +8619,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8572
8619
|
* @request POST:/spaces/{spaceId}/move
|
|
8573
8620
|
* @secure
|
|
8574
8621
|
*/
|
|
8575
|
-
moveSpace: (spaceId:
|
|
8622
|
+
moveSpace: (spaceId: EntityId, data: {
|
|
8576
8623
|
/** The unique id of the parent collection */
|
|
8577
8624
|
parent?: string | null;
|
|
8578
8625
|
/** Where to move the space. By default, it will be moved at the end. */
|
|
@@ -8605,7 +8652,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8605
8652
|
* @request POST:/spaces/{spaceId}/transfer
|
|
8606
8653
|
* @secure
|
|
8607
8654
|
*/
|
|
8608
|
-
transferSpace: (spaceId:
|
|
8655
|
+
transferSpace: (spaceId: EntityId, data: {
|
|
8609
8656
|
/** The unique id of the target organization */
|
|
8610
8657
|
organization: string;
|
|
8611
8658
|
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
@@ -8636,7 +8683,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8636
8683
|
* @request GET:/spaces/{spaceId}/embed
|
|
8637
8684
|
* @secure
|
|
8638
8685
|
*/
|
|
8639
|
-
getEmbedByUrlInSpace: (spaceId:
|
|
8686
|
+
getEmbedByUrlInSpace: (spaceId: EntityId, query: {
|
|
8640
8687
|
/** URL to resolve */
|
|
8641
8688
|
url: string;
|
|
8642
8689
|
}, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
|
|
@@ -8649,7 +8696,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8649
8696
|
* @request GET:/spaces/{spaceId}/search
|
|
8650
8697
|
* @secure
|
|
8651
8698
|
*/
|
|
8652
|
-
searchSpaceContent: (spaceId:
|
|
8699
|
+
searchSpaceContent: (spaceId: EntityId, query: {
|
|
8653
8700
|
/** @maxLength 512 */
|
|
8654
8701
|
query: string;
|
|
8655
8702
|
/** Identifier of the page results to fetch. */
|
|
@@ -8672,7 +8719,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8672
8719
|
* @request POST:/spaces/{spaceId}/git/import
|
|
8673
8720
|
* @secure
|
|
8674
8721
|
*/
|
|
8675
|
-
importGitRepository: (spaceId:
|
|
8722
|
+
importGitRepository: (spaceId: EntityId, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8676
8723
|
/**
|
|
8677
8724
|
* No description
|
|
8678
8725
|
*
|
|
@@ -8682,7 +8729,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8682
8729
|
* @request POST:/spaces/{spaceId}/git/export
|
|
8683
8730
|
* @secure
|
|
8684
8731
|
*/
|
|
8685
|
-
exportToGitRepository: (spaceId:
|
|
8732
|
+
exportToGitRepository: (spaceId: EntityId, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8686
8733
|
/**
|
|
8687
8734
|
* @description Get metadata about the Git Sync provider currently set up on the space.
|
|
8688
8735
|
*
|
|
@@ -8692,7 +8739,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8692
8739
|
* @request GET:/spaces/{spaceId}/git/info
|
|
8693
8740
|
* @secure
|
|
8694
8741
|
*/
|
|
8695
|
-
getSpaceGitInfo: (spaceId:
|
|
8742
|
+
getSpaceGitInfo: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<GitSyncState, {
|
|
8696
8743
|
error: {
|
|
8697
8744
|
/** @format int32 */
|
|
8698
8745
|
code: 404;
|
|
@@ -8708,7 +8755,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8708
8755
|
* @request DELETE:/spaces/{spaceId}/git/legacy-installation
|
|
8709
8756
|
* @secure
|
|
8710
8757
|
*/
|
|
8711
|
-
deleteLegacyGitInstallation: (spaceId:
|
|
8758
|
+
deleteLegacyGitInstallation: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8712
8759
|
/**
|
|
8713
8760
|
* No description
|
|
8714
8761
|
*
|
|
@@ -8718,7 +8765,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8718
8765
|
* @request POST:/spaces/{spaceId}/permissions
|
|
8719
8766
|
* @secure
|
|
8720
8767
|
*/
|
|
8721
|
-
inviteToSpace: (spaceId:
|
|
8768
|
+
inviteToSpace: (spaceId: EntityId, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8722
8769
|
error: {
|
|
8723
8770
|
/** @format int32 */
|
|
8724
8771
|
code: 404;
|
|
@@ -8734,7 +8781,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8734
8781
|
* @request PATCH:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
8735
8782
|
* @secure
|
|
8736
8783
|
*/
|
|
8737
|
-
updateTeamPermissionInSpace: (spaceId:
|
|
8784
|
+
updateTeamPermissionInSpace: (spaceId: EntityId, teamId: EntityId, data: {
|
|
8738
8785
|
/** The role of a member in an organization, null for guests */
|
|
8739
8786
|
role?: MemberRoleOrGuest;
|
|
8740
8787
|
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
@@ -8753,7 +8800,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8753
8800
|
* @request DELETE:/spaces/{spaceId}/permissions/teams/{teamId}
|
|
8754
8801
|
* @secure
|
|
8755
8802
|
*/
|
|
8756
|
-
removeTeamFromSpace: (spaceId:
|
|
8803
|
+
removeTeamFromSpace: (spaceId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
8757
8804
|
error: {
|
|
8758
8805
|
/** @format int32 */
|
|
8759
8806
|
code: 400;
|
|
@@ -8769,7 +8816,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8769
8816
|
* @request GET:/spaces/{spaceId}/permissions/users
|
|
8770
8817
|
* @secure
|
|
8771
8818
|
*/
|
|
8772
|
-
listUserPermissionsInSpace: (spaceId:
|
|
8819
|
+
listUserPermissionsInSpace: (spaceId: EntityId, query?: {
|
|
8773
8820
|
/** Identifier of the page results to fetch. */
|
|
8774
8821
|
page?: string;
|
|
8775
8822
|
/**
|
|
@@ -8796,7 +8843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8796
8843
|
* @request PATCH:/spaces/{spaceId}/permissions/users/{userId}
|
|
8797
8844
|
* @secure
|
|
8798
8845
|
*/
|
|
8799
|
-
updateUserPermissionInSpace: (spaceId:
|
|
8846
|
+
updateUserPermissionInSpace: (spaceId: EntityId, userId: string, data: {
|
|
8800
8847
|
/** The role of a member in an organization, null for guests */
|
|
8801
8848
|
role?: MemberRoleOrGuest;
|
|
8802
8849
|
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
@@ -8815,7 +8862,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8815
8862
|
* @request DELETE:/spaces/{spaceId}/permissions/users/{userId}
|
|
8816
8863
|
* @secure
|
|
8817
8864
|
*/
|
|
8818
|
-
removeUserFromSpace: (spaceId:
|
|
8865
|
+
removeUserFromSpace: (spaceId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8819
8866
|
/**
|
|
8820
8867
|
* No description
|
|
8821
8868
|
*
|
|
@@ -8825,7 +8872,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8825
8872
|
* @request GET:/spaces/{spaceId}/permissions/teams
|
|
8826
8873
|
* @secure
|
|
8827
8874
|
*/
|
|
8828
|
-
listTeamPermissionsInSpace: (spaceId:
|
|
8875
|
+
listTeamPermissionsInSpace: (spaceId: EntityId, query?: {
|
|
8829
8876
|
/** Identifier of the page results to fetch. */
|
|
8830
8877
|
page?: string;
|
|
8831
8878
|
/**
|
|
@@ -8864,7 +8911,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8864
8911
|
* @request GET:/spaces/{spaceId}/content
|
|
8865
8912
|
* @secure
|
|
8866
8913
|
*/
|
|
8867
|
-
getCurrentRevision: (spaceId:
|
|
8914
|
+
getCurrentRevision: (spaceId: EntityId, query?: {
|
|
8868
8915
|
/**
|
|
8869
8916
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8870
8917
|
* @default true
|
|
@@ -8885,7 +8932,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8885
8932
|
* @request POST:/spaces/{spaceId}/content/template
|
|
8886
8933
|
* @secure
|
|
8887
8934
|
*/
|
|
8888
|
-
applyTemplateToSpace: (spaceId:
|
|
8935
|
+
applyTemplateToSpace: (spaceId: EntityId, data: ApplySpaceTemplate & {
|
|
8889
8936
|
/** The ID of the change request to apply the template to. If not provided, the template is applied to the main content. */
|
|
8890
8937
|
changeRequestId?: string;
|
|
8891
8938
|
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
@@ -8898,7 +8945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8898
8945
|
* @request GET:/spaces/{spaceId}/content/pages
|
|
8899
8946
|
* @secure
|
|
8900
8947
|
*/
|
|
8901
|
-
listPages: (spaceId:
|
|
8948
|
+
listPages: (spaceId: EntityId, query?: {
|
|
8902
8949
|
/**
|
|
8903
8950
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8904
8951
|
* @default true
|
|
@@ -8921,7 +8968,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8921
8968
|
* @request GET:/spaces/{spaceId}/content/files
|
|
8922
8969
|
* @secure
|
|
8923
8970
|
*/
|
|
8924
|
-
listFiles: (spaceId:
|
|
8971
|
+
listFiles: (spaceId: EntityId, query?: {
|
|
8925
8972
|
/** Identifier of the page results to fetch. */
|
|
8926
8973
|
page?: string;
|
|
8927
8974
|
/**
|
|
@@ -8952,7 +8999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8952
8999
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}
|
|
8953
9000
|
* @secure
|
|
8954
9001
|
*/
|
|
8955
|
-
getFileById: (spaceId:
|
|
9002
|
+
getFileById: (spaceId: EntityId, fileId: EntityId, query?: {
|
|
8956
9003
|
/**
|
|
8957
9004
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8958
9005
|
* @default true
|
|
@@ -8973,7 +9020,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8973
9020
|
* @request GET:/spaces/{spaceId}/content/files/{fileId}/backlinks
|
|
8974
9021
|
* @secure
|
|
8975
9022
|
*/
|
|
8976
|
-
listSpaceFileBacklinks: (spaceId:
|
|
9023
|
+
listSpaceFileBacklinks: (spaceId: EntityId, fileId: EntityId, query?: {
|
|
8977
9024
|
/** Identifier of the page results to fetch. */
|
|
8978
9025
|
page?: string;
|
|
8979
9026
|
/**
|
|
@@ -8994,7 +9041,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8994
9041
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}
|
|
8995
9042
|
* @secure
|
|
8996
9043
|
*/
|
|
8997
|
-
getPageById: (spaceId:
|
|
9044
|
+
getPageById: (spaceId: EntityId, pageId: EntityId, query?: {
|
|
8998
9045
|
/** Output format for the content. */
|
|
8999
9046
|
format?: "document" | "markdown";
|
|
9000
9047
|
/**
|
|
@@ -9032,7 +9079,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9032
9079
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/links
|
|
9033
9080
|
* @secure
|
|
9034
9081
|
*/
|
|
9035
|
-
listPageLinksInSpace: (spaceId:
|
|
9082
|
+
listPageLinksInSpace: (spaceId: EntityId, pageId: EntityId, query?: {
|
|
9036
9083
|
/** Identifier of the page results to fetch. */
|
|
9037
9084
|
page?: string;
|
|
9038
9085
|
/**
|
|
@@ -9061,7 +9108,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9061
9108
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/backlinks
|
|
9062
9109
|
* @secure
|
|
9063
9110
|
*/
|
|
9064
|
-
listSpacePageBacklinks: (spaceId:
|
|
9111
|
+
listSpacePageBacklinks: (spaceId: EntityId, pageId: EntityId, query?: {
|
|
9065
9112
|
/** Identifier of the page results to fetch. */
|
|
9066
9113
|
page?: string;
|
|
9067
9114
|
/**
|
|
@@ -9082,7 +9129,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9082
9129
|
* @request GET:/spaces/{spaceId}/content/page/{pageId}/meta-links
|
|
9083
9130
|
* @secure
|
|
9084
9131
|
*/
|
|
9085
|
-
listSpacePageMetaLinks: (spaceId:
|
|
9132
|
+
listSpacePageMetaLinks: (spaceId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
|
|
9086
9133
|
/**
|
|
9087
9134
|
* No description
|
|
9088
9135
|
*
|
|
@@ -9092,7 +9139,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9092
9139
|
* @request GET:/spaces/{spaceId}/content/path/{pagePath}
|
|
9093
9140
|
* @secure
|
|
9094
9141
|
*/
|
|
9095
|
-
getPageByPath: (spaceId:
|
|
9142
|
+
getPageByPath: (spaceId: EntityId, pagePath: string, query?: {
|
|
9096
9143
|
/** Output format for the content. */
|
|
9097
9144
|
format?: "document" | "markdown";
|
|
9098
9145
|
/**
|
|
@@ -9130,7 +9177,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9130
9177
|
* @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
|
|
9131
9178
|
* @secure
|
|
9132
9179
|
*/
|
|
9133
|
-
getReusableContentById: (spaceId:
|
|
9180
|
+
getReusableContentById: (spaceId: EntityId, reusableContentId: EntityId, query?: {
|
|
9134
9181
|
/**
|
|
9135
9182
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9136
9183
|
* @default true
|
|
@@ -9151,7 +9198,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9151
9198
|
* @request POST:/spaces/{spaceId}/content/computed/document
|
|
9152
9199
|
* @secure
|
|
9153
9200
|
*/
|
|
9154
|
-
getComputedDocument: (spaceId:
|
|
9201
|
+
getComputedDocument: (spaceId: EntityId, data: {
|
|
9155
9202
|
source: ComputedContentSourceDocument;
|
|
9156
9203
|
/** Seed to use for the generation of IDs. */
|
|
9157
9204
|
seed: string;
|
|
@@ -9168,7 +9215,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9168
9215
|
* @request POST:/spaces/{spaceId}/content/computed/revision
|
|
9169
9216
|
* @secure
|
|
9170
9217
|
*/
|
|
9171
|
-
getComputedRevision: (spaceId:
|
|
9218
|
+
getComputedRevision: (spaceId: EntityId, data: {
|
|
9172
9219
|
source: ComputedContentSourceRevision;
|
|
9173
9220
|
/** Seed to use for the generation of IDs. */
|
|
9174
9221
|
seed: string;
|
|
@@ -9186,7 +9233,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9186
9233
|
* @request GET:/spaces/{spaceId}/documents/{documentId}
|
|
9187
9234
|
* @secure
|
|
9188
9235
|
*/
|
|
9189
|
-
getDocumentById: (spaceId:
|
|
9236
|
+
getDocumentById: (spaceId: EntityId, documentId: string, query?: {
|
|
9190
9237
|
/** Version of the schema used for the document. */
|
|
9191
9238
|
schema?: "current" | "next";
|
|
9192
9239
|
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
@@ -9199,7 +9246,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9199
9246
|
* @request POST:/spaces/{spaceId}/change-requests
|
|
9200
9247
|
* @secure
|
|
9201
9248
|
*/
|
|
9202
|
-
createChangeRequest: (spaceId:
|
|
9249
|
+
createChangeRequest: (spaceId: EntityId, data: {
|
|
9203
9250
|
/** Subject of the change-request */
|
|
9204
9251
|
subject?: string;
|
|
9205
9252
|
/** Template to apply to the change request */
|
|
@@ -9215,7 +9262,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9215
9262
|
* @request GET:/spaces/{spaceId}/change-requests
|
|
9216
9263
|
* @secure
|
|
9217
9264
|
*/
|
|
9218
|
-
listChangeRequestsForSpace: (spaceId:
|
|
9265
|
+
listChangeRequestsForSpace: (spaceId: EntityId, query?: {
|
|
9219
9266
|
/** Identifier of the page results to fetch. */
|
|
9220
9267
|
page?: string;
|
|
9221
9268
|
/**
|
|
@@ -9235,6 +9282,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9235
9282
|
contributor?: string;
|
|
9236
9283
|
/** If defined, only change requests with a requested reviewer for this user will be returned. */
|
|
9237
9284
|
requestedReviewer?: string;
|
|
9285
|
+
/** If defined, only change requests linked to this site topic will be returned. */
|
|
9286
|
+
topic?: string;
|
|
9238
9287
|
/** The field to sort change requests by. Defaults to 'updatedAt'. */
|
|
9239
9288
|
orderBy?: ChangeRequestOrderBy;
|
|
9240
9289
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
@@ -9249,7 +9298,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9249
9298
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
9250
9299
|
* @secure
|
|
9251
9300
|
*/
|
|
9252
|
-
getChangeRequestById: (spaceId:
|
|
9301
|
+
getChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, {
|
|
9253
9302
|
error: {
|
|
9254
9303
|
/** @format int32 */
|
|
9255
9304
|
code: 404;
|
|
@@ -9265,7 +9314,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9265
9314
|
* @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
|
|
9266
9315
|
* @secure
|
|
9267
9316
|
*/
|
|
9268
|
-
updateChangeRequestById: (spaceId:
|
|
9317
|
+
updateChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, data: {
|
|
9269
9318
|
/** Subject of the change request */
|
|
9270
9319
|
subject?: ChangeRequestSubject;
|
|
9271
9320
|
description?: JSONDocument;
|
|
@@ -9280,7 +9329,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9280
9329
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
|
|
9281
9330
|
* @secure
|
|
9282
9331
|
*/
|
|
9283
|
-
mergeChangeRequest: (spaceId:
|
|
9332
|
+
mergeChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
|
|
9284
9333
|
/** ID of the resulting revision */
|
|
9285
9334
|
revision: string;
|
|
9286
9335
|
result: "merge" | "conflicts";
|
|
@@ -9294,7 +9343,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9294
9343
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
|
|
9295
9344
|
* @secure
|
|
9296
9345
|
*/
|
|
9297
|
-
updateChangeRequest: (spaceId:
|
|
9346
|
+
updateChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
|
|
9298
9347
|
/** ID of the resulting revision */
|
|
9299
9348
|
revision: string;
|
|
9300
9349
|
result: "update" | "conflicts";
|
|
@@ -9308,7 +9357,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9308
9357
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
9309
9358
|
* @secure
|
|
9310
9359
|
*/
|
|
9311
|
-
getReviewsByChangeRequestId: (spaceId:
|
|
9360
|
+
getReviewsByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9312
9361
|
/** Output format for the content. */
|
|
9313
9362
|
format?: "document" | "markdown";
|
|
9314
9363
|
/** Filter reviews marked as outdated. */
|
|
@@ -9339,7 +9388,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9339
9388
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
|
|
9340
9389
|
* @secure
|
|
9341
9390
|
*/
|
|
9342
|
-
submitChangeRequestReview: (spaceId:
|
|
9391
|
+
submitChangeRequestReview: (spaceId: EntityId, changeRequestId: EntityId, data: {
|
|
9343
9392
|
/** The status of the submitted review. */
|
|
9344
9393
|
status: ChangeRequestReviewStatus;
|
|
9345
9394
|
/** Optionally, provide a comment along with the review. */
|
|
@@ -9354,7 +9403,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9354
9403
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}
|
|
9355
9404
|
* @secure
|
|
9356
9405
|
*/
|
|
9357
|
-
getChangeRequestReviewById: (spaceId:
|
|
9406
|
+
getChangeRequestReviewById: (spaceId: EntityId, changeRequestId: EntityId, reviewId: string, query?: {
|
|
9358
9407
|
/** Output format for the content. */
|
|
9359
9408
|
format?: "document" | "markdown";
|
|
9360
9409
|
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview, {
|
|
@@ -9373,7 +9422,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9373
9422
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
9374
9423
|
* @secure
|
|
9375
9424
|
*/
|
|
9376
|
-
getRequestedReviewersByChangeRequestId: (spaceId:
|
|
9425
|
+
getRequestedReviewersByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9377
9426
|
/** Identifier of the page results to fetch. */
|
|
9378
9427
|
page?: string;
|
|
9379
9428
|
/**
|
|
@@ -9394,7 +9443,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9394
9443
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
|
|
9395
9444
|
* @secure
|
|
9396
9445
|
*/
|
|
9397
|
-
requestReviewersForChangeRequest: (spaceId:
|
|
9446
|
+
requestReviewersForChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, data: {
|
|
9398
9447
|
/** An array of user ids that will be requested. */
|
|
9399
9448
|
users: string[];
|
|
9400
9449
|
/** Optionally, update the subject of the change request when requesting reviewers. */
|
|
@@ -9414,7 +9463,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9414
9463
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}
|
|
9415
9464
|
* @secure
|
|
9416
9465
|
*/
|
|
9417
|
-
removeRequestedReviewerFromChangeRequest: (spaceId:
|
|
9466
|
+
removeRequestedReviewerFromChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9418
9467
|
/**
|
|
9419
9468
|
* No description
|
|
9420
9469
|
*
|
|
@@ -9424,7 +9473,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9424
9473
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
|
|
9425
9474
|
* @secure
|
|
9426
9475
|
*/
|
|
9427
|
-
listChangeRequestLinks: (spaceId:
|
|
9476
|
+
listChangeRequestLinks: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9428
9477
|
/** Identifier of the page results to fetch. */
|
|
9429
9478
|
page?: string;
|
|
9430
9479
|
/**
|
|
@@ -9460,7 +9509,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9460
9509
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
9461
9510
|
* @secure
|
|
9462
9511
|
*/
|
|
9463
|
-
listCommentsInChangeRequest: (spaceId:
|
|
9512
|
+
listCommentsInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9464
9513
|
/** Identifier of the page results to fetch. */
|
|
9465
9514
|
page?: string;
|
|
9466
9515
|
/**
|
|
@@ -9497,7 +9546,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9497
9546
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
|
|
9498
9547
|
* @secure
|
|
9499
9548
|
*/
|
|
9500
|
-
postCommentInChangeRequest: (spaceId:
|
|
9549
|
+
postCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
9501
9550
|
/**
|
|
9502
9551
|
* No description
|
|
9503
9552
|
*
|
|
@@ -9507,7 +9556,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9507
9556
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
9508
9557
|
* @secure
|
|
9509
9558
|
*/
|
|
9510
|
-
getCommentInChangeRequest: (spaceId:
|
|
9559
|
+
getCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, query?: {
|
|
9511
9560
|
/** Output format for the content. */
|
|
9512
9561
|
format?: "document" | "markdown";
|
|
9513
9562
|
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
@@ -9520,7 +9569,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9520
9569
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
9521
9570
|
* @secure
|
|
9522
9571
|
*/
|
|
9523
|
-
deleteCommentInChangeRequest: (spaceId:
|
|
9572
|
+
deleteCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9524
9573
|
/**
|
|
9525
9574
|
* No description
|
|
9526
9575
|
*
|
|
@@ -9530,7 +9579,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9530
9579
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
|
|
9531
9580
|
* @secure
|
|
9532
9581
|
*/
|
|
9533
|
-
updateCommentInChangeRequest: (spaceId:
|
|
9582
|
+
updateCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
9534
9583
|
/**
|
|
9535
9584
|
* No description
|
|
9536
9585
|
*
|
|
@@ -9540,7 +9589,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9540
9589
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
9541
9590
|
* @secure
|
|
9542
9591
|
*/
|
|
9543
|
-
listCommentRepliesInChangeRequest: (spaceId:
|
|
9592
|
+
listCommentRepliesInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, query?: {
|
|
9544
9593
|
/** Identifier of the page results to fetch. */
|
|
9545
9594
|
page?: string;
|
|
9546
9595
|
/**
|
|
@@ -9563,7 +9612,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9563
9612
|
* @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
|
|
9564
9613
|
* @secure
|
|
9565
9614
|
*/
|
|
9566
|
-
postCommentReplyInChangeRequest: (spaceId:
|
|
9615
|
+
postCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, data: PostCommentReplySchema, query?: {
|
|
9567
9616
|
/** Output format for the content. */
|
|
9568
9617
|
format?: "document" | "markdown";
|
|
9569
9618
|
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
@@ -9576,7 +9625,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9576
9625
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
9577
9626
|
* @secure
|
|
9578
9627
|
*/
|
|
9579
|
-
getCommentReplyInChangeRequest: (spaceId:
|
|
9628
|
+
getCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, query?: {
|
|
9580
9629
|
/** Output format for the content. */
|
|
9581
9630
|
format?: "document" | "markdown";
|
|
9582
9631
|
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
@@ -9589,7 +9638,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9589
9638
|
* @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
9590
9639
|
* @secure
|
|
9591
9640
|
*/
|
|
9592
|
-
updateCommentReplyInChangeRequest: (spaceId:
|
|
9641
|
+
updateCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
9593
9642
|
/**
|
|
9594
9643
|
* No description
|
|
9595
9644
|
*
|
|
@@ -9599,7 +9648,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9599
9648
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
|
|
9600
9649
|
* @secure
|
|
9601
9650
|
*/
|
|
9602
|
-
deleteCommentReplyInChangeRequest: (spaceId:
|
|
9651
|
+
deleteCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9603
9652
|
/**
|
|
9604
9653
|
* No description
|
|
9605
9654
|
*
|
|
@@ -9609,7 +9658,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9609
9658
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
|
|
9610
9659
|
* @secure
|
|
9611
9660
|
*/
|
|
9612
|
-
getContributorsByChangeRequestId: (spaceId:
|
|
9661
|
+
getContributorsByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
9613
9662
|
items: ChangeRequestUserContributor[];
|
|
9614
9663
|
}, {
|
|
9615
9664
|
error: {
|
|
@@ -9627,7 +9676,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9627
9676
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
|
|
9628
9677
|
* @secure
|
|
9629
9678
|
*/
|
|
9630
|
-
getRevisionOfChangeRequestById: (spaceId:
|
|
9679
|
+
getRevisionOfChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9631
9680
|
/**
|
|
9632
9681
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9633
9682
|
* @default true
|
|
@@ -9648,7 +9697,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9648
9697
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
|
|
9649
9698
|
* @secure
|
|
9650
9699
|
*/
|
|
9651
|
-
listPagesInChangeRequest: (spaceId:
|
|
9700
|
+
listPagesInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9652
9701
|
/**
|
|
9653
9702
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9654
9703
|
* @default true
|
|
@@ -9671,7 +9720,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9671
9720
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
|
|
9672
9721
|
* @secure
|
|
9673
9722
|
*/
|
|
9674
|
-
listFilesInChangeRequestById: (spaceId:
|
|
9723
|
+
listFilesInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9675
9724
|
/** Identifier of the page results to fetch. */
|
|
9676
9725
|
page?: string;
|
|
9677
9726
|
/**
|
|
@@ -9702,7 +9751,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9702
9751
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
|
|
9703
9752
|
* @secure
|
|
9704
9753
|
*/
|
|
9705
|
-
getFileInChangeRequestById: (spaceId:
|
|
9754
|
+
getFileInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, fileId: EntityId, query?: {
|
|
9706
9755
|
/**
|
|
9707
9756
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9708
9757
|
* @default true
|
|
@@ -9723,7 +9772,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9723
9772
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
|
|
9724
9773
|
* @secure
|
|
9725
9774
|
*/
|
|
9726
|
-
listChangeRequestFileBacklinks: (spaceId:
|
|
9775
|
+
listChangeRequestFileBacklinks: (spaceId: EntityId, changeRequestId: EntityId, fileId: EntityId, query?: {
|
|
9727
9776
|
/** Identifier of the page results to fetch. */
|
|
9728
9777
|
page?: string;
|
|
9729
9778
|
/**
|
|
@@ -9744,7 +9793,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9744
9793
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
|
|
9745
9794
|
* @secure
|
|
9746
9795
|
*/
|
|
9747
|
-
getPageInChangeRequestById: (spaceId:
|
|
9796
|
+
getPageInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
|
|
9748
9797
|
/** Output format for the content. */
|
|
9749
9798
|
format?: "document" | "markdown";
|
|
9750
9799
|
/**
|
|
@@ -9782,7 +9831,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9782
9831
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
|
|
9783
9832
|
* @secure
|
|
9784
9833
|
*/
|
|
9785
|
-
listPageLinksInChangeRequest: (spaceId:
|
|
9834
|
+
listPageLinksInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
|
|
9786
9835
|
/** Identifier of the page results to fetch. */
|
|
9787
9836
|
page?: string;
|
|
9788
9837
|
/**
|
|
@@ -9804,7 +9853,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9804
9853
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
|
|
9805
9854
|
* @secure
|
|
9806
9855
|
*/
|
|
9807
|
-
listChangeRequestPageBacklinks: (spaceId:
|
|
9856
|
+
listChangeRequestPageBacklinks: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
|
|
9808
9857
|
/** Identifier of the page results to fetch. */
|
|
9809
9858
|
page?: string;
|
|
9810
9859
|
/**
|
|
@@ -9825,7 +9874,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9825
9874
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links
|
|
9826
9875
|
* @secure
|
|
9827
9876
|
*/
|
|
9828
|
-
listChangeRequestPageMetaLinks: (spaceId:
|
|
9877
|
+
listChangeRequestPageMetaLinks: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
|
|
9829
9878
|
/**
|
|
9830
9879
|
* No description
|
|
9831
9880
|
*
|
|
@@ -9835,7 +9884,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9835
9884
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
|
|
9836
9885
|
* @secure
|
|
9837
9886
|
*/
|
|
9838
|
-
getReusableContentInChangeRequestById: (spaceId:
|
|
9887
|
+
getReusableContentInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, reusableContentId: EntityId, query?: {
|
|
9839
9888
|
/**
|
|
9840
9889
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9841
9890
|
* @default true
|
|
@@ -9856,7 +9905,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9856
9905
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/changes
|
|
9857
9906
|
* @secure
|
|
9858
9907
|
*/
|
|
9859
|
-
getChangeRequestChanges: (spaceId:
|
|
9908
|
+
getChangeRequestChanges: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9860
9909
|
/**
|
|
9861
9910
|
* Limit the number of changes returned
|
|
9862
9911
|
* @default 10
|
|
@@ -9878,7 +9927,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9878
9927
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
|
|
9879
9928
|
* @secure
|
|
9880
9929
|
*/
|
|
9881
|
-
getChangeRequestPdf: (spaceId:
|
|
9930
|
+
getChangeRequestPdf: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
9882
9931
|
/** Generate a PDF only for the provided page. */
|
|
9883
9932
|
only?: boolean;
|
|
9884
9933
|
/** ID of a specific page to generate a PDF for. */
|
|
@@ -9896,7 +9945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9896
9945
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}
|
|
9897
9946
|
* @secure
|
|
9898
9947
|
*/
|
|
9899
|
-
getRevisionById: (spaceId:
|
|
9948
|
+
getRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
|
|
9900
9949
|
/**
|
|
9901
9950
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9902
9951
|
* @default true
|
|
@@ -9917,7 +9966,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9917
9966
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
|
|
9918
9967
|
* @secure
|
|
9919
9968
|
*/
|
|
9920
|
-
getRevisionSemanticChanges: (spaceId:
|
|
9969
|
+
getRevisionSemanticChanges: (spaceId: EntityId, revisionId: EntityId, query?: {
|
|
9921
9970
|
/**
|
|
9922
9971
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9923
9972
|
* @default true
|
|
@@ -9943,7 +9992,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9943
9992
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
|
|
9944
9993
|
* @secure
|
|
9945
9994
|
*/
|
|
9946
|
-
listPagesInRevisionById: (spaceId:
|
|
9995
|
+
listPagesInRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
|
|
9947
9996
|
/**
|
|
9948
9997
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9949
9998
|
* @default true
|
|
@@ -9966,7 +10015,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9966
10015
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
|
|
9967
10016
|
* @secure
|
|
9968
10017
|
*/
|
|
9969
|
-
listFilesInRevisionById: (spaceId:
|
|
10018
|
+
listFilesInRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
|
|
9970
10019
|
/** Identifier of the page results to fetch. */
|
|
9971
10020
|
page?: string;
|
|
9972
10021
|
/**
|
|
@@ -9997,7 +10046,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9997
10046
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
|
|
9998
10047
|
* @secure
|
|
9999
10048
|
*/
|
|
10000
|
-
getFileInRevisionById: (spaceId:
|
|
10049
|
+
getFileInRevisionById: (spaceId: EntityId, revisionId: EntityId, fileId: EntityId, query?: {
|
|
10001
10050
|
/**
|
|
10002
10051
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
10003
10052
|
* @default true
|
|
@@ -10018,7 +10067,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10018
10067
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
|
|
10019
10068
|
* @secure
|
|
10020
10069
|
*/
|
|
10021
|
-
getPageInRevisionById: (spaceId:
|
|
10070
|
+
getPageInRevisionById: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, query?: {
|
|
10022
10071
|
/** Output format for the content. */
|
|
10023
10072
|
format?: "document" | "markdown";
|
|
10024
10073
|
/**
|
|
@@ -10056,7 +10105,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10056
10105
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document
|
|
10057
10106
|
* @secure
|
|
10058
10107
|
*/
|
|
10059
|
-
getPageDocumentInRevisionById: (spaceId:
|
|
10108
|
+
getPageDocumentInRevisionById: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, query?: {
|
|
10060
10109
|
/**
|
|
10061
10110
|
* Controls whether the document should be evaluated.
|
|
10062
10111
|
* - When set to `true`, the entire document will be evaluated.
|
|
@@ -10082,7 +10131,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10082
10131
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
|
|
10083
10132
|
* @secure
|
|
10084
10133
|
*/
|
|
10085
|
-
getPageInRevisionByPath: (spaceId:
|
|
10134
|
+
getPageInRevisionByPath: (spaceId: EntityId, revisionId: EntityId, pagePath: string, query?: {
|
|
10086
10135
|
/** Output format for the content. */
|
|
10087
10136
|
format?: "document" | "markdown";
|
|
10088
10137
|
/**
|
|
@@ -10120,7 +10169,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10120
10169
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links
|
|
10121
10170
|
* @secure
|
|
10122
10171
|
*/
|
|
10123
|
-
listRevisionPageMetaLinks: (spaceId:
|
|
10172
|
+
listRevisionPageMetaLinks: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
|
|
10124
10173
|
/**
|
|
10125
10174
|
* No description
|
|
10126
10175
|
*
|
|
@@ -10130,7 +10179,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10130
10179
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
|
|
10131
10180
|
* @secure
|
|
10132
10181
|
*/
|
|
10133
|
-
getPageInChangeRequestByPath: (spaceId:
|
|
10182
|
+
getPageInChangeRequestByPath: (spaceId: EntityId, changeRequestId: EntityId, pagePath: string, query?: {
|
|
10134
10183
|
/** Output format for the content. */
|
|
10135
10184
|
format?: "document" | "markdown";
|
|
10136
10185
|
/**
|
|
@@ -10168,7 +10217,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10168
10217
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
|
|
10169
10218
|
* @secure
|
|
10170
10219
|
*/
|
|
10171
|
-
getReusableContentInRevisionById: (spaceId:
|
|
10220
|
+
getReusableContentInRevisionById: (spaceId: EntityId, revisionId: EntityId, reusableContentId: EntityId, query?: {
|
|
10172
10221
|
/**
|
|
10173
10222
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
10174
10223
|
* @default true
|
|
@@ -10189,7 +10238,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10189
10238
|
* @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document
|
|
10190
10239
|
* @secure
|
|
10191
10240
|
*/
|
|
10192
|
-
getReusableContentDocumentInRevisionById: (spaceId:
|
|
10241
|
+
getReusableContentDocumentInRevisionById: (spaceId: EntityId, revisionId: EntityId, reusableContentId: EntityId, query?: {
|
|
10193
10242
|
/**
|
|
10194
10243
|
* Controls whether the document should be evaluated.
|
|
10195
10244
|
* - When set to `true`, the entire document will be evaluated.
|
|
@@ -10215,7 +10264,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10215
10264
|
* @request GET:/spaces/{spaceId}/comments
|
|
10216
10265
|
* @secure
|
|
10217
10266
|
*/
|
|
10218
|
-
listCommentsInSpace: (spaceId:
|
|
10267
|
+
listCommentsInSpace: (spaceId: EntityId, query?: {
|
|
10219
10268
|
/** Identifier of the page results to fetch. */
|
|
10220
10269
|
page?: string;
|
|
10221
10270
|
/**
|
|
@@ -10252,7 +10301,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10252
10301
|
* @request POST:/spaces/{spaceId}/comments
|
|
10253
10302
|
* @secure
|
|
10254
10303
|
*/
|
|
10255
|
-
postCommentInSpace: (spaceId:
|
|
10304
|
+
postCommentInSpace: (spaceId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
10256
10305
|
/**
|
|
10257
10306
|
* No description
|
|
10258
10307
|
*
|
|
@@ -10262,7 +10311,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10262
10311
|
* @request GET:/spaces/{spaceId}/comments/{commentId}
|
|
10263
10312
|
* @secure
|
|
10264
10313
|
*/
|
|
10265
|
-
getCommentInSpace: (spaceId:
|
|
10314
|
+
getCommentInSpace: (spaceId: EntityId, commentId: EntityId, query?: {
|
|
10266
10315
|
/** Output format for the content. */
|
|
10267
10316
|
format?: "document" | "markdown";
|
|
10268
10317
|
}, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
@@ -10275,7 +10324,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10275
10324
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}
|
|
10276
10325
|
* @secure
|
|
10277
10326
|
*/
|
|
10278
|
-
deleteCommentInSpace: (spaceId:
|
|
10327
|
+
deleteCommentInSpace: (spaceId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10279
10328
|
/**
|
|
10280
10329
|
* No description
|
|
10281
10330
|
*
|
|
@@ -10285,7 +10334,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10285
10334
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}
|
|
10286
10335
|
* @secure
|
|
10287
10336
|
*/
|
|
10288
|
-
updateCommentInSpace: (spaceId:
|
|
10337
|
+
updateCommentInSpace: (spaceId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
|
|
10289
10338
|
/**
|
|
10290
10339
|
* No description
|
|
10291
10340
|
*
|
|
@@ -10295,7 +10344,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10295
10344
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies
|
|
10296
10345
|
* @secure
|
|
10297
10346
|
*/
|
|
10298
|
-
listCommentRepliesInSpace: (spaceId:
|
|
10347
|
+
listCommentRepliesInSpace: (spaceId: EntityId, commentId: EntityId, query?: {
|
|
10299
10348
|
/** Identifier of the page results to fetch. */
|
|
10300
10349
|
page?: string;
|
|
10301
10350
|
/**
|
|
@@ -10318,7 +10367,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10318
10367
|
* @request POST:/spaces/{spaceId}/comments/{commentId}/replies
|
|
10319
10368
|
* @secure
|
|
10320
10369
|
*/
|
|
10321
|
-
postCommentReplyInSpace: (spaceId:
|
|
10370
|
+
postCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
10322
10371
|
/**
|
|
10323
10372
|
* No description
|
|
10324
10373
|
*
|
|
@@ -10328,7 +10377,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10328
10377
|
* @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
10329
10378
|
* @secure
|
|
10330
10379
|
*/
|
|
10331
|
-
getCommentReplyInSpace: (spaceId:
|
|
10380
|
+
getCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, query?: {
|
|
10332
10381
|
/** Output format for the content. */
|
|
10333
10382
|
format?: "document" | "markdown";
|
|
10334
10383
|
}, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
@@ -10341,7 +10390,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10341
10390
|
* @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
10342
10391
|
* @secure
|
|
10343
10392
|
*/
|
|
10344
|
-
updateCommentReplyInSpace: (spaceId:
|
|
10393
|
+
updateCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
|
|
10345
10394
|
/**
|
|
10346
10395
|
* No description
|
|
10347
10396
|
*
|
|
@@ -10351,7 +10400,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10351
10400
|
* @request DELETE:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
|
|
10352
10401
|
* @secure
|
|
10353
10402
|
*/
|
|
10354
|
-
deleteCommentReplyInSpace: (spaceId:
|
|
10403
|
+
deleteCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10355
10404
|
/**
|
|
10356
10405
|
* No description
|
|
10357
10406
|
*
|
|
@@ -10361,7 +10410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10361
10410
|
* @request GET:/spaces/{spaceId}/commenters
|
|
10362
10411
|
* @secure
|
|
10363
10412
|
*/
|
|
10364
|
-
listCommentersInSpace: (spaceId:
|
|
10413
|
+
listCommentersInSpace: (spaceId: EntityId, query?: {
|
|
10365
10414
|
/** Identifier of the page results to fetch. */
|
|
10366
10415
|
page?: string;
|
|
10367
10416
|
/**
|
|
@@ -10382,7 +10431,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10382
10431
|
* @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/commenters
|
|
10383
10432
|
* @secure
|
|
10384
10433
|
*/
|
|
10385
|
-
listCommentersInChangeRequest: (spaceId:
|
|
10434
|
+
listCommentersInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
|
|
10386
10435
|
/** Identifier of the page results to fetch. */
|
|
10387
10436
|
page?: string;
|
|
10388
10437
|
/**
|
|
@@ -10403,7 +10452,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10403
10452
|
* @request GET:/spaces/{spaceId}/permissions/aggregate
|
|
10404
10453
|
* @secure
|
|
10405
10454
|
*/
|
|
10406
|
-
listPermissionsAggregateInSpace: (spaceId:
|
|
10455
|
+
listPermissionsAggregateInSpace: (spaceId: EntityId, query?: {
|
|
10407
10456
|
/** Identifier of the page results to fetch. */
|
|
10408
10457
|
page?: string;
|
|
10409
10458
|
/**
|
|
@@ -10426,7 +10475,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10426
10475
|
* @request GET:/spaces/{spaceId}/integrations
|
|
10427
10476
|
* @secure
|
|
10428
10477
|
*/
|
|
10429
|
-
listSpaceIntegrations: (spaceId:
|
|
10478
|
+
listSpaceIntegrations: (spaceId: EntityId, query?: {
|
|
10430
10479
|
/** A search string to filter integrations by name */
|
|
10431
10480
|
search?: string;
|
|
10432
10481
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
@@ -10441,7 +10490,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10441
10490
|
* @request GET:/spaces/{spaceId}/integration-blocks
|
|
10442
10491
|
* @secure
|
|
10443
10492
|
*/
|
|
10444
|
-
listSpaceIntegrationsBlocks: (spaceId:
|
|
10493
|
+
listSpaceIntegrationsBlocks: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks, {
|
|
10445
10494
|
error: {
|
|
10446
10495
|
/** @format int32 */
|
|
10447
10496
|
code: 404;
|
|
@@ -10457,7 +10506,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10457
10506
|
* @request GET:/spaces/{spaceId}/pdf
|
|
10458
10507
|
* @secure
|
|
10459
10508
|
*/
|
|
10460
|
-
getSpacePdf: (spaceId:
|
|
10509
|
+
getSpacePdf: (spaceId: EntityId, query?: {
|
|
10461
10510
|
/** Generate a PDF only for the provided page. */
|
|
10462
10511
|
only?: boolean;
|
|
10463
10512
|
/** ID of a specific page to generate a PDF for. */
|
|
@@ -10475,7 +10524,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10475
10524
|
* @request GET:/spaces/{spaceId}/links
|
|
10476
10525
|
* @secure
|
|
10477
10526
|
*/
|
|
10478
|
-
listSpaceLinks: (spaceId:
|
|
10527
|
+
listSpaceLinks: (spaceId: EntityId, query?: {
|
|
10479
10528
|
/** Identifier of the page results to fetch. */
|
|
10480
10529
|
page?: string;
|
|
10481
10530
|
/**
|
|
@@ -10512,7 +10561,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10512
10561
|
* @request GET:/collections/{collectionId}
|
|
10513
10562
|
* @secure
|
|
10514
10563
|
*/
|
|
10515
|
-
getCollectionById: (collectionId:
|
|
10564
|
+
getCollectionById: (collectionId: EntityId, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
|
|
10516
10565
|
/**
|
|
10517
10566
|
* No description
|
|
10518
10567
|
*
|
|
@@ -10522,7 +10571,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10522
10571
|
* @request PATCH:/collections/{collectionId}
|
|
10523
10572
|
* @secure
|
|
10524
10573
|
*/
|
|
10525
|
-
updateCollectionById: (collectionId:
|
|
10574
|
+
updateCollectionById: (collectionId: EntityId, data: {
|
|
10526
10575
|
/** Title of the collection */
|
|
10527
10576
|
title?: CollectionTitle;
|
|
10528
10577
|
/** Description of the collection */
|
|
@@ -10539,7 +10588,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10539
10588
|
* @request DELETE:/collections/{collectionId}
|
|
10540
10589
|
* @secure
|
|
10541
10590
|
*/
|
|
10542
|
-
deleteCollectionById: (collectionId:
|
|
10591
|
+
deleteCollectionById: (collectionId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10543
10592
|
/**
|
|
10544
10593
|
* No description
|
|
10545
10594
|
*
|
|
@@ -10549,7 +10598,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10549
10598
|
* @request GET:/collections/{collectionId}/spaces
|
|
10550
10599
|
* @secure
|
|
10551
10600
|
*/
|
|
10552
|
-
listSpacesInCollectionById: (collectionId:
|
|
10601
|
+
listSpacesInCollectionById: (collectionId: EntityId, query?: {
|
|
10553
10602
|
/** Identifier of the page results to fetch. */
|
|
10554
10603
|
page?: string;
|
|
10555
10604
|
/**
|
|
@@ -10570,7 +10619,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10570
10619
|
* @request POST:/collections/{collectionId}/move
|
|
10571
10620
|
* @secure
|
|
10572
10621
|
*/
|
|
10573
|
-
moveCollection: (collectionId:
|
|
10622
|
+
moveCollection: (collectionId: EntityId, data: {
|
|
10574
10623
|
/** The unique id of the parent collection */
|
|
10575
10624
|
parent?: string | null;
|
|
10576
10625
|
/** Where to move the collection. By default, it will be moved at the end. */
|
|
@@ -10603,7 +10652,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10603
10652
|
* @request POST:/collections/{collectionId}/transfer
|
|
10604
10653
|
* @secure
|
|
10605
10654
|
*/
|
|
10606
|
-
transferCollection: (collectionId:
|
|
10655
|
+
transferCollection: (collectionId: EntityId, data: {
|
|
10607
10656
|
/** The unique id of the target organization */
|
|
10608
10657
|
organization: string;
|
|
10609
10658
|
}, params?: RequestParams) => Promise<HttpResponse<Collection, {
|
|
@@ -10634,7 +10683,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10634
10683
|
* @request POST:/collections/{collectionId}/permissions
|
|
10635
10684
|
* @secure
|
|
10636
10685
|
*/
|
|
10637
|
-
inviteToCollection: (collectionId:
|
|
10686
|
+
inviteToCollection: (collectionId: EntityId, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
10638
10687
|
error: {
|
|
10639
10688
|
/** @format int32 */
|
|
10640
10689
|
code: 404;
|
|
@@ -10650,7 +10699,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10650
10699
|
* @request GET:/collections/{collectionId}/permissions/teams
|
|
10651
10700
|
* @secure
|
|
10652
10701
|
*/
|
|
10653
|
-
listTeamPermissionsInCollection: (collectionId:
|
|
10702
|
+
listTeamPermissionsInCollection: (collectionId: EntityId, query?: {
|
|
10654
10703
|
/** Identifier of the page results to fetch. */
|
|
10655
10704
|
page?: string;
|
|
10656
10705
|
/**
|
|
@@ -10683,7 +10732,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10683
10732
|
* @request PATCH:/collections/{collectionId}/permissions/teams/{teamId}
|
|
10684
10733
|
* @secure
|
|
10685
10734
|
*/
|
|
10686
|
-
updateTeamPermissionInCollection: (collectionId:
|
|
10735
|
+
updateTeamPermissionInCollection: (collectionId: EntityId, teamId: EntityId, data: {
|
|
10687
10736
|
/** The role of a member in an organization, null for guests */
|
|
10688
10737
|
role?: MemberRoleOrGuest;
|
|
10689
10738
|
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
@@ -10702,7 +10751,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10702
10751
|
* @request DELETE:/collections/{collectionId}/permissions/teams/{teamId}
|
|
10703
10752
|
* @secure
|
|
10704
10753
|
*/
|
|
10705
|
-
removeTeamFromCollection: (collectionId:
|
|
10754
|
+
removeTeamFromCollection: (collectionId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10706
10755
|
/**
|
|
10707
10756
|
* No description
|
|
10708
10757
|
*
|
|
@@ -10712,7 +10761,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10712
10761
|
* @request GET:/collections/{collectionId}/permissions/users
|
|
10713
10762
|
* @secure
|
|
10714
10763
|
*/
|
|
10715
|
-
listUserPermissionsInCollection: (collectionId:
|
|
10764
|
+
listUserPermissionsInCollection: (collectionId: EntityId, query?: {
|
|
10716
10765
|
/** Identifier of the page results to fetch. */
|
|
10717
10766
|
page?: string;
|
|
10718
10767
|
/**
|
|
@@ -10739,7 +10788,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10739
10788
|
* @request PATCH:/collections/{collectionId}/permissions/users/{userId}
|
|
10740
10789
|
* @secure
|
|
10741
10790
|
*/
|
|
10742
|
-
updateUserPermissionInCollection: (collectionId:
|
|
10791
|
+
updateUserPermissionInCollection: (collectionId: EntityId, userId: string, data: {
|
|
10743
10792
|
/** The role of a member in an organization, null for guests */
|
|
10744
10793
|
role?: MemberRoleOrGuest;
|
|
10745
10794
|
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
@@ -10758,7 +10807,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10758
10807
|
* @request DELETE:/collections/{collectionId}/permissions/users/{userId}
|
|
10759
10808
|
* @secure
|
|
10760
10809
|
*/
|
|
10761
|
-
removeUserFromCollection: (collectionId:
|
|
10810
|
+
removeUserFromCollection: (collectionId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
10762
10811
|
/**
|
|
10763
10812
|
* No description
|
|
10764
10813
|
*
|
|
@@ -10768,7 +10817,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10768
10817
|
* @request GET:/collections/{collectionId}/permissions/aggregate
|
|
10769
10818
|
* @secure
|
|
10770
10819
|
*/
|
|
10771
|
-
listPermissionsAggregateInCollection: (collectionId:
|
|
10820
|
+
listPermissionsAggregateInCollection: (collectionId: EntityId, query?: {
|
|
10772
10821
|
/** Identifier of the page results to fetch. */
|
|
10773
10822
|
page?: string;
|
|
10774
10823
|
/**
|
|
@@ -11199,7 +11248,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11199
11248
|
* @request GET:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
11200
11249
|
* @secure
|
|
11201
11250
|
*/
|
|
11202
|
-
getIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId:
|
|
11251
|
+
getIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: EntityId, query?: {
|
|
11203
11252
|
/**
|
|
11204
11253
|
* If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
11205
11254
|
* @default false
|
|
@@ -11221,7 +11270,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11221
11270
|
* @request PATCH:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
11222
11271
|
* @secure
|
|
11223
11272
|
*/
|
|
11224
|
-
updateIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId:
|
|
11273
|
+
updateIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: EntityId, data: UpdateIntegrationSpaceInstallation, query?: {
|
|
11225
11274
|
/**
|
|
11226
11275
|
* If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
11227
11276
|
* @default false
|
|
@@ -11237,7 +11286,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11237
11286
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
|
|
11238
11287
|
* @secure
|
|
11239
11288
|
*/
|
|
11240
|
-
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId:
|
|
11289
|
+
uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11241
11290
|
/**
|
|
11242
11291
|
* No description
|
|
11243
11292
|
*
|
|
@@ -11369,7 +11418,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11369
11418
|
* @request GET:/orgs/{organizationId}
|
|
11370
11419
|
* @secure
|
|
11371
11420
|
*/
|
|
11372
|
-
getOrganizationById: (organizationId:
|
|
11421
|
+
getOrganizationById: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<Organization, {
|
|
11373
11422
|
error: {
|
|
11374
11423
|
/** @format int32 */
|
|
11375
11424
|
code: 404;
|
|
@@ -11385,7 +11434,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11385
11434
|
* @request PATCH:/orgs/{organizationId}
|
|
11386
11435
|
* @secure
|
|
11387
11436
|
*/
|
|
11388
|
-
updateOrganizationById: (organizationId:
|
|
11437
|
+
updateOrganizationById: (organizationId: EntityId, data: {
|
|
11389
11438
|
/** Name of the organization */
|
|
11390
11439
|
title?: OrganizationTitle;
|
|
11391
11440
|
emailDomains?: OrganizationEmailDomains;
|
|
@@ -11415,7 +11464,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11415
11464
|
* @request GET:/orgs/{organizationId}/members
|
|
11416
11465
|
* @secure
|
|
11417
11466
|
*/
|
|
11418
|
-
listMembersInOrganizationById: (organizationId:
|
|
11467
|
+
listMembersInOrganizationById: (organizationId: EntityId, query?: {
|
|
11419
11468
|
/** Identifier of the page results to fetch. */
|
|
11420
11469
|
page?: string;
|
|
11421
11470
|
/**
|
|
@@ -11450,7 +11499,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11450
11499
|
* @request GET:/orgs/{organizationId}/members/{userId}
|
|
11451
11500
|
* @secure
|
|
11452
11501
|
*/
|
|
11453
|
-
getMemberInOrganizationById: (organizationId:
|
|
11502
|
+
getMemberInOrganizationById: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
11454
11503
|
/**
|
|
11455
11504
|
* No description
|
|
11456
11505
|
*
|
|
@@ -11460,7 +11509,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11460
11509
|
* @request PATCH:/orgs/{organizationId}/members/{userId}
|
|
11461
11510
|
* @secure
|
|
11462
11511
|
*/
|
|
11463
|
-
updateMemberInOrganizationById: (organizationId:
|
|
11512
|
+
updateMemberInOrganizationById: (organizationId: EntityId, userId: string, data: {
|
|
11464
11513
|
/** The role of a member in an organization, null for guests */
|
|
11465
11514
|
role?: MemberRoleOrGuest;
|
|
11466
11515
|
}, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
@@ -11473,7 +11522,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11473
11522
|
* @request DELETE:/orgs/{organizationId}/members/{userId}
|
|
11474
11523
|
* @secure
|
|
11475
11524
|
*/
|
|
11476
|
-
removeMemberFromOrganizationById: (organizationId:
|
|
11525
|
+
removeMemberFromOrganizationById: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11477
11526
|
/**
|
|
11478
11527
|
* No description
|
|
11479
11528
|
*
|
|
@@ -11483,7 +11532,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11483
11532
|
* @request POST:/orgs/{organizationId}/ping
|
|
11484
11533
|
* @secure
|
|
11485
11534
|
*/
|
|
11486
|
-
updateOrganizationMemberLastSeenAt: (organizationId:
|
|
11535
|
+
updateOrganizationMemberLastSeenAt: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
|
|
11487
11536
|
/** A JTW token containing the claims to attach to this user. */
|
|
11488
11537
|
gitbookVisitorClaims?: string;
|
|
11489
11538
|
}, any>>;
|
|
@@ -11496,7 +11545,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11496
11545
|
* @request POST:/orgs/{organizationId}/members/{userId}/sso
|
|
11497
11546
|
* @secure
|
|
11498
11547
|
*/
|
|
11499
|
-
setUserAsSsoMemberForOrganization: (organizationId:
|
|
11548
|
+
setUserAsSsoMemberForOrganization: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
|
|
11500
11549
|
/**
|
|
11501
11550
|
* No description
|
|
11502
11551
|
*
|
|
@@ -11506,7 +11555,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11506
11555
|
* @request GET:/orgs/{organizationId}/members/{userId}/spaces
|
|
11507
11556
|
* @secure
|
|
11508
11557
|
*/
|
|
11509
|
-
listSpacesForOrganizationMember: (organizationId:
|
|
11558
|
+
listSpacesForOrganizationMember: (organizationId: EntityId, userId: string, query?: {
|
|
11510
11559
|
/** Identifier of the page results to fetch. */
|
|
11511
11560
|
page?: string;
|
|
11512
11561
|
/**
|
|
@@ -11532,7 +11581,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11532
11581
|
* @request GET:/orgs/{organizationId}/members/{userId}/teams
|
|
11533
11582
|
* @secure
|
|
11534
11583
|
*/
|
|
11535
|
-
listTeamsForOrganizationMember: (organizationId:
|
|
11584
|
+
listTeamsForOrganizationMember: (organizationId: EntityId, userId: string, query?: {
|
|
11536
11585
|
/** Identifier of the page results to fetch. */
|
|
11537
11586
|
page?: string;
|
|
11538
11587
|
/**
|
|
@@ -11558,7 +11607,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11558
11607
|
* @request GET:/orgs/{organizationId}/teams
|
|
11559
11608
|
* @secure
|
|
11560
11609
|
*/
|
|
11561
|
-
listTeamsInOrganizationById: (organizationId:
|
|
11610
|
+
listTeamsInOrganizationById: (organizationId: EntityId, query?: {
|
|
11562
11611
|
/** Identifier of the page results to fetch. */
|
|
11563
11612
|
page?: string;
|
|
11564
11613
|
/**
|
|
@@ -11583,7 +11632,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11583
11632
|
* @request PUT:/orgs/{organizationId}/teams
|
|
11584
11633
|
* @secure
|
|
11585
11634
|
*/
|
|
11586
|
-
createOrganizationTeam: (organizationId:
|
|
11635
|
+
createOrganizationTeam: (organizationId: EntityId, data: {
|
|
11587
11636
|
/** Title of the team */
|
|
11588
11637
|
title: OrganizationTeamTitle;
|
|
11589
11638
|
/** A list of organization member identifiers */
|
|
@@ -11598,7 +11647,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11598
11647
|
* @request GET:/orgs/{organizationId}/teams/{teamId}
|
|
11599
11648
|
* @secure
|
|
11600
11649
|
*/
|
|
11601
|
-
getTeamInOrganizationById: (organizationId:
|
|
11650
|
+
getTeamInOrganizationById: (organizationId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
11602
11651
|
/**
|
|
11603
11652
|
* No description
|
|
11604
11653
|
*
|
|
@@ -11608,7 +11657,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11608
11657
|
* @request PATCH:/orgs/{organizationId}/teams/{teamId}
|
|
11609
11658
|
* @secure
|
|
11610
11659
|
*/
|
|
11611
|
-
updateTeamInOrganizationById: (organizationId:
|
|
11660
|
+
updateTeamInOrganizationById: (organizationId: EntityId, teamId: EntityId, data: {
|
|
11612
11661
|
/** Title of the team */
|
|
11613
11662
|
title: OrganizationTeamTitle;
|
|
11614
11663
|
}, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
|
|
@@ -11621,7 +11670,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11621
11670
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}
|
|
11622
11671
|
* @secure
|
|
11623
11672
|
*/
|
|
11624
|
-
removeTeamFromOrganizationById: (organizationId:
|
|
11673
|
+
removeTeamFromOrganizationById: (organizationId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11625
11674
|
/**
|
|
11626
11675
|
* @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.
|
|
11627
11676
|
*
|
|
@@ -11631,7 +11680,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11631
11680
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members
|
|
11632
11681
|
* @secure
|
|
11633
11682
|
*/
|
|
11634
|
-
updateMembersInOrganizationTeam: (organizationId:
|
|
11683
|
+
updateMembersInOrganizationTeam: (organizationId: EntityId, teamId: EntityId, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11635
11684
|
/**
|
|
11636
11685
|
* @description Lists members, and their roles, for the specified organization team.
|
|
11637
11686
|
*
|
|
@@ -11641,7 +11690,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11641
11690
|
* @request GET:/orgs/{organizationId}/teams/{teamId}/members
|
|
11642
11691
|
* @secure
|
|
11643
11692
|
*/
|
|
11644
|
-
listTeamMembersInOrganizationById: (organizationId:
|
|
11693
|
+
listTeamMembersInOrganizationById: (organizationId: EntityId, teamId: EntityId, query?: {
|
|
11645
11694
|
/** Identifier of the page results to fetch. */
|
|
11646
11695
|
page?: string;
|
|
11647
11696
|
/**
|
|
@@ -11662,7 +11711,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11662
11711
|
* @request PUT:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
11663
11712
|
* @secure
|
|
11664
11713
|
*/
|
|
11665
|
-
addMemberToOrganizationTeamById: (organizationId:
|
|
11714
|
+
addMemberToOrganizationTeamById: (organizationId: EntityId, teamId: EntityId, userId: string, data: {
|
|
11666
11715
|
/**
|
|
11667
11716
|
* "The role of a team member.
|
|
11668
11717
|
* "owner": Can manage team members.
|
|
@@ -11679,7 +11728,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11679
11728
|
* @request DELETE:/orgs/{organizationId}/teams/{teamId}/members/{userId}
|
|
11680
11729
|
* @secure
|
|
11681
11730
|
*/
|
|
11682
|
-
deleteMemberFromOrganizationTeamById: (organizationId:
|
|
11731
|
+
deleteMemberFromOrganizationTeamById: (organizationId: EntityId, teamId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11683
11732
|
/**
|
|
11684
11733
|
* No description
|
|
11685
11734
|
*
|
|
@@ -11689,7 +11738,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11689
11738
|
* @request POST:/orgs/{organizationId}/invites
|
|
11690
11739
|
* @secure
|
|
11691
11740
|
*/
|
|
11692
|
-
inviteUsersToOrganization: (organizationId:
|
|
11741
|
+
inviteUsersToOrganization: (organizationId: EntityId, data: InviteUsersToOrganization, params?: RequestParams) => Promise<HttpResponse<{
|
|
11693
11742
|
users: string[];
|
|
11694
11743
|
/** The number of users who were added to the organization */
|
|
11695
11744
|
invited: number;
|
|
@@ -11710,7 +11759,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11710
11759
|
* @request POST:/orgs/{organizationId}/invites/{inviteId}
|
|
11711
11760
|
* @secure
|
|
11712
11761
|
*/
|
|
11713
|
-
joinOrganizationWithInvite: (organizationId:
|
|
11762
|
+
joinOrganizationWithInvite: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<object, any>>;
|
|
11714
11763
|
/**
|
|
11715
11764
|
* No description
|
|
11716
11765
|
*
|
|
@@ -11720,7 +11769,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11720
11769
|
* @request GET:/orgs/{organizationId}/link-invites
|
|
11721
11770
|
* @secure
|
|
11722
11771
|
*/
|
|
11723
|
-
listOrganizationInviteLinks: (organizationId:
|
|
11772
|
+
listOrganizationInviteLinks: (organizationId: EntityId, query?: {
|
|
11724
11773
|
/** Identifier of the page results to fetch. */
|
|
11725
11774
|
page?: string;
|
|
11726
11775
|
/**
|
|
@@ -11741,7 +11790,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11741
11790
|
* @request POST:/orgs/{organizationId}/link-invites
|
|
11742
11791
|
* @secure
|
|
11743
11792
|
*/
|
|
11744
|
-
createOrganizationInvite: (organizationId:
|
|
11793
|
+
createOrganizationInvite: (organizationId: EntityId, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
11745
11794
|
/**
|
|
11746
11795
|
* No description
|
|
11747
11796
|
*
|
|
@@ -11751,7 +11800,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11751
11800
|
* @request GET:/orgs/{organizationId}/link-invites/{inviteId}
|
|
11752
11801
|
* @secure
|
|
11753
11802
|
*/
|
|
11754
|
-
getOrganizationInviteLink: (organizationId:
|
|
11803
|
+
getOrganizationInviteLink: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
|
|
11755
11804
|
/**
|
|
11756
11805
|
* No description
|
|
11757
11806
|
*
|
|
@@ -11761,7 +11810,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11761
11810
|
* @request PATCH:/orgs/{organizationId}/link-invites/{inviteId}
|
|
11762
11811
|
* @secure
|
|
11763
11812
|
*/
|
|
11764
|
-
updateOrganizationInviteById: (organizationId:
|
|
11813
|
+
updateOrganizationInviteById: (organizationId: EntityId, inviteId: EntityId, data: {
|
|
11765
11814
|
/** The role of a member in an organization, null for guests */
|
|
11766
11815
|
role: MemberRoleOrGuest;
|
|
11767
11816
|
} | {
|
|
@@ -11777,7 +11826,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11777
11826
|
* @request DELETE:/orgs/{organizationId}/link-invites/{inviteId}
|
|
11778
11827
|
* @secure
|
|
11779
11828
|
*/
|
|
11780
|
-
deleteOrganizationInviteById: (organizationId:
|
|
11829
|
+
deleteOrganizationInviteById: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11781
11830
|
/**
|
|
11782
11831
|
* @description Join an organization if the user's verified email domain matches one of the organization's allowed email domains. This endpoint allows existing users to join organizations they're eligible for based on their email domain.
|
|
11783
11832
|
*
|
|
@@ -11787,7 +11836,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11787
11836
|
* @request POST:/orgs/{organizationId}/join
|
|
11788
11837
|
* @secure
|
|
11789
11838
|
*/
|
|
11790
|
-
joinOrganization: (organizationId:
|
|
11839
|
+
joinOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
11791
11840
|
error: {
|
|
11792
11841
|
/** @format int32 */
|
|
11793
11842
|
code: 400;
|
|
@@ -11809,7 +11858,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11809
11858
|
* @request GET:/orgs/{organizationId}/search
|
|
11810
11859
|
* @secure
|
|
11811
11860
|
*/
|
|
11812
|
-
searchOrganizationContent: (organizationId:
|
|
11861
|
+
searchOrganizationContent: (organizationId: EntityId, query: {
|
|
11813
11862
|
/** @maxLength 512 */
|
|
11814
11863
|
query: string;
|
|
11815
11864
|
/** Identifier of the page results to fetch. */
|
|
@@ -11832,7 +11881,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11832
11881
|
* @request GET:/orgs/{organizationId}/change-requests
|
|
11833
11882
|
* @secure
|
|
11834
11883
|
*/
|
|
11835
|
-
listChangeRequestsForOrganization: (organizationId:
|
|
11884
|
+
listChangeRequestsForOrganization: (organizationId: EntityId, query?: {
|
|
11836
11885
|
/** Identifier of the page results to fetch. */
|
|
11837
11886
|
page?: string;
|
|
11838
11887
|
/**
|
|
@@ -11852,6 +11901,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11852
11901
|
contributor?: string;
|
|
11853
11902
|
/** If defined, only change requests with a requested reviewer for this user will be returned. */
|
|
11854
11903
|
requestedReviewer?: string;
|
|
11904
|
+
/** If defined, only change requests linked to this site topic will be returned. */
|
|
11905
|
+
topic?: string;
|
|
11855
11906
|
/** The field to sort change requests by. Defaults to 'updatedAt'. */
|
|
11856
11907
|
orderBy?: ChangeRequestOrderBy;
|
|
11857
11908
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
@@ -11866,7 +11917,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11866
11917
|
* @request GET:/orgs/{organizationId}/spaces
|
|
11867
11918
|
* @secure
|
|
11868
11919
|
*/
|
|
11869
|
-
listSpacesInOrganizationById: (organizationId:
|
|
11920
|
+
listSpacesInOrganizationById: (organizationId: EntityId, query?: {
|
|
11870
11921
|
/** Identifier of the page results to fetch. */
|
|
11871
11922
|
page?: string;
|
|
11872
11923
|
/**
|
|
@@ -11887,7 +11938,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11887
11938
|
* @request POST:/orgs/{organizationId}/spaces
|
|
11888
11939
|
* @secure
|
|
11889
11940
|
*/
|
|
11890
|
-
createSpace: (organizationId:
|
|
11941
|
+
createSpace: (organizationId: EntityId, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
|
|
11891
11942
|
/**
|
|
11892
11943
|
* No description
|
|
11893
11944
|
*
|
|
@@ -11897,7 +11948,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11897
11948
|
* @request GET:/orgs/{organizationId}/collections
|
|
11898
11949
|
* @secure
|
|
11899
11950
|
*/
|
|
11900
|
-
listCollectionsInOrganizationById: (organizationId:
|
|
11951
|
+
listCollectionsInOrganizationById: (organizationId: EntityId, query?: {
|
|
11901
11952
|
/** Identifier of the page results to fetch. */
|
|
11902
11953
|
page?: string;
|
|
11903
11954
|
/**
|
|
@@ -11923,7 +11974,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11923
11974
|
* @request POST:/orgs/{organizationId}/collections
|
|
11924
11975
|
* @secure
|
|
11925
11976
|
*/
|
|
11926
|
-
createCollection: (organizationId:
|
|
11977
|
+
createCollection: (organizationId: EntityId, data: {
|
|
11927
11978
|
/** @maxLength 50 */
|
|
11928
11979
|
title?: string;
|
|
11929
11980
|
/** ID of a parent collection */
|
|
@@ -11938,7 +11989,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11938
11989
|
* @request GET:/orgs/{organizationId}/integrations
|
|
11939
11990
|
* @secure
|
|
11940
11991
|
*/
|
|
11941
|
-
listOrganizationIntegrations: (organizationId:
|
|
11992
|
+
listOrganizationIntegrations: (organizationId: EntityId, query?: {
|
|
11942
11993
|
/** Identifier of the page results to fetch. */
|
|
11943
11994
|
page?: string;
|
|
11944
11995
|
/**
|
|
@@ -11979,7 +12030,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11979
12030
|
* @request GET:/orgs/{organizationId}/integrations/{integrationName}/installation_status
|
|
11980
12031
|
* @secure
|
|
11981
12032
|
*/
|
|
11982
|
-
getOrganizationIntegrationStatus: (organizationId:
|
|
12033
|
+
getOrganizationIntegrationStatus: (organizationId: EntityId, integrationName: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
11983
12034
|
status: IntegrationInstallationStatus;
|
|
11984
12035
|
}, {
|
|
11985
12036
|
error: {
|
|
@@ -11997,7 +12048,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11997
12048
|
* @request GET:/orgs/{organizationId}/installations
|
|
11998
12049
|
* @secure
|
|
11999
12050
|
*/
|
|
12000
|
-
listOrganizationInstallations: (organizationId:
|
|
12051
|
+
listOrganizationInstallations: (organizationId: EntityId, query?: {
|
|
12001
12052
|
/** Identifier of the page results to fetch. */
|
|
12002
12053
|
page?: string;
|
|
12003
12054
|
/**
|
|
@@ -12024,7 +12075,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12024
12075
|
* @request GET:/orgs/{organizationId}/integrations/installations-status
|
|
12025
12076
|
* @secure
|
|
12026
12077
|
*/
|
|
12027
|
-
listOrganizationIntegrationsStatus: (organizationId:
|
|
12078
|
+
listOrganizationIntegrationsStatus: (organizationId: EntityId, query?: {
|
|
12028
12079
|
/** Identifier of the page results to fetch. */
|
|
12029
12080
|
page?: string;
|
|
12030
12081
|
/**
|
|
@@ -12050,7 +12101,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12050
12101
|
* @request GET:/orgs/{organizationId}/saml
|
|
12051
12102
|
* @secure
|
|
12052
12103
|
*/
|
|
12053
|
-
listSamlProvidersInOrganizationById: (organizationId:
|
|
12104
|
+
listSamlProvidersInOrganizationById: (organizationId: EntityId, query?: {
|
|
12054
12105
|
/** Identifier of the page results to fetch. */
|
|
12055
12106
|
page?: string;
|
|
12056
12107
|
/**
|
|
@@ -12071,7 +12122,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12071
12122
|
* @request POST:/orgs/{organizationId}/saml
|
|
12072
12123
|
* @secure
|
|
12073
12124
|
*/
|
|
12074
|
-
createOrganizationSamlProvider: (organizationId:
|
|
12125
|
+
createOrganizationSamlProvider: (organizationId: EntityId, data: {
|
|
12075
12126
|
label: SAMLProviderLabel;
|
|
12076
12127
|
entityID?: SAMLProviderEntityID;
|
|
12077
12128
|
certificate?: SAMLProviderCertificate;
|
|
@@ -12089,7 +12140,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12089
12140
|
* @request GET:/orgs/{organizationId}/saml/{samlProviderId}
|
|
12090
12141
|
* @secure
|
|
12091
12142
|
*/
|
|
12092
|
-
getOrganizationSamlProviderById: (organizationId:
|
|
12143
|
+
getOrganizationSamlProviderById: (organizationId: EntityId, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, {
|
|
12093
12144
|
error: {
|
|
12094
12145
|
/** @format int32 */
|
|
12095
12146
|
code: 404;
|
|
@@ -12105,7 +12156,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12105
12156
|
* @request PATCH:/orgs/{organizationId}/saml/{samlProviderId}
|
|
12106
12157
|
* @secure
|
|
12107
12158
|
*/
|
|
12108
|
-
updateOrganizationSamlProvider: (organizationId:
|
|
12159
|
+
updateOrganizationSamlProvider: (organizationId: EntityId, samlProviderId: string, data: {
|
|
12109
12160
|
label?: SAMLProviderLabel;
|
|
12110
12161
|
entityID?: SAMLProviderEntityID;
|
|
12111
12162
|
certificate?: SAMLProviderCertificate;
|
|
@@ -12123,7 +12174,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12123
12174
|
* @request DELETE:/orgs/{organizationId}/saml/{samlProviderId}
|
|
12124
12175
|
* @secure
|
|
12125
12176
|
*/
|
|
12126
|
-
deleteOrganizationSamlProvider: (organizationId:
|
|
12177
|
+
deleteOrganizationSamlProvider: (organizationId: EntityId, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12127
12178
|
/**
|
|
12128
12179
|
* No description
|
|
12129
12180
|
*
|
|
@@ -12133,7 +12184,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12133
12184
|
* @request GET:/orgs/{organizationId}/sso
|
|
12134
12185
|
* @secure
|
|
12135
12186
|
*/
|
|
12136
|
-
listSsoProviderLoginsInOrganization: (organizationId:
|
|
12187
|
+
listSsoProviderLoginsInOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
|
|
12137
12188
|
items: OrganizationSSOProviderLogin[];
|
|
12138
12189
|
}, any>>;
|
|
12139
12190
|
/**
|
|
@@ -12145,7 +12196,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12145
12196
|
* @request POST:/orgs/{organizationId}/ask
|
|
12146
12197
|
* @secure
|
|
12147
12198
|
*/
|
|
12148
|
-
askInOrganization: (organizationId:
|
|
12199
|
+
askInOrganization: (organizationId: EntityId, data: SearchAIQuery, query?: {
|
|
12149
12200
|
/** Output format for the content. */
|
|
12150
12201
|
format?: "document" | "markdown";
|
|
12151
12202
|
/** Return query details in the result */
|
|
@@ -12163,7 +12214,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12163
12214
|
* @request GET:/orgs/{organizationId}/ask/questions
|
|
12164
12215
|
* @secure
|
|
12165
12216
|
*/
|
|
12166
|
-
getRecommendedQuestionsInOrganization: (organizationId:
|
|
12217
|
+
getRecommendedQuestionsInOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions, any>>;
|
|
12167
12218
|
/**
|
|
12168
12219
|
* No description
|
|
12169
12220
|
*
|
|
@@ -12173,7 +12224,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12173
12224
|
* @request GET:/orgs/{organizationId}/ask/questions/stream
|
|
12174
12225
|
* @secure
|
|
12175
12226
|
*/
|
|
12176
|
-
streamRecommendedQuestionsInOrganization: (organizationId:
|
|
12227
|
+
streamRecommendedQuestionsInOrganization: (organizationId: EntityId, params?: RequestParams) => EventIterator<SearchAIRecommendedQuestionStream>;
|
|
12177
12228
|
/**
|
|
12178
12229
|
* @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.
|
|
12179
12230
|
*
|
|
@@ -12183,7 +12234,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12183
12234
|
* @request GET:/orgs/{organizationId}/ask/stream
|
|
12184
12235
|
* @secure
|
|
12185
12236
|
*/
|
|
12186
|
-
streamAskInOrganization: (organizationId:
|
|
12237
|
+
streamAskInOrganization: (organizationId: EntityId, query: {
|
|
12187
12238
|
query: string;
|
|
12188
12239
|
/** Output format for the content. */
|
|
12189
12240
|
format?: "document" | "markdown";
|
|
@@ -12199,7 +12250,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12199
12250
|
* @request GET:/orgs/{organizationId}/openapi
|
|
12200
12251
|
* @secure
|
|
12201
12252
|
*/
|
|
12202
|
-
listOpenApiSpecs: (organizationId:
|
|
12253
|
+
listOpenApiSpecs: (organizationId: EntityId, query?: {
|
|
12203
12254
|
/** Identifier of the page results to fetch. */
|
|
12204
12255
|
page?: string;
|
|
12205
12256
|
/**
|
|
@@ -12220,7 +12271,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12220
12271
|
* @request POST:/orgs/{organizationId}/openapi
|
|
12221
12272
|
* @secure
|
|
12222
12273
|
*/
|
|
12223
|
-
createOpenApiSpec: (organizationId:
|
|
12274
|
+
createOpenApiSpec: (organizationId: EntityId, data: {
|
|
12224
12275
|
/** Slug used as reference */
|
|
12225
12276
|
slug: OpenAPISpecSlug;
|
|
12226
12277
|
/** Create a specification from an URL */
|
|
@@ -12241,7 +12292,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12241
12292
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}
|
|
12242
12293
|
* @secure
|
|
12243
12294
|
*/
|
|
12244
|
-
getOpenApiSpecBySlug: (organizationId:
|
|
12295
|
+
getOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
12245
12296
|
error: {
|
|
12246
12297
|
/** @format int32 */
|
|
12247
12298
|
code: 404;
|
|
@@ -12257,7 +12308,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12257
12308
|
* @request PUT:/orgs/{organizationId}/openapi/{specSlug}
|
|
12258
12309
|
* @secure
|
|
12259
12310
|
*/
|
|
12260
|
-
createOrUpdateOpenApiSpecBySlug: (organizationId:
|
|
12311
|
+
createOrUpdateOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, data: {
|
|
12261
12312
|
/** Create a specification from an URL */
|
|
12262
12313
|
source: OpenAPISpecSource;
|
|
12263
12314
|
}, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
|
|
@@ -12276,7 +12327,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12276
12327
|
* @request PATCH:/orgs/{organizationId}/openapi/{specSlug}
|
|
12277
12328
|
* @secure
|
|
12278
12329
|
*/
|
|
12279
|
-
updateOpenApiSpecBySlug: (organizationId:
|
|
12330
|
+
updateOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, data: {
|
|
12280
12331
|
/**
|
|
12281
12332
|
* The visibility setting of the OpenAPI spec.
|
|
12282
12333
|
* * `private`: The spec is not publicly available.
|
|
@@ -12305,7 +12356,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12305
12356
|
* @request DELETE:/orgs/{organizationId}/openapi/{specSlug}
|
|
12306
12357
|
* @secure
|
|
12307
12358
|
*/
|
|
12308
|
-
deleteOpenApiSpecBySlug: (organizationId:
|
|
12359
|
+
deleteOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12309
12360
|
/**
|
|
12310
12361
|
* No description
|
|
12311
12362
|
*
|
|
@@ -12315,7 +12366,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12315
12366
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions
|
|
12316
12367
|
* @secure
|
|
12317
12368
|
*/
|
|
12318
|
-
listOpenApiSpecVersions: (organizationId:
|
|
12369
|
+
listOpenApiSpecVersions: (organizationId: EntityId, specSlug: string, query?: {
|
|
12319
12370
|
/** Identifier of the page results to fetch. */
|
|
12320
12371
|
page?: string;
|
|
12321
12372
|
/**
|
|
@@ -12342,7 +12393,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12342
12393
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest
|
|
12343
12394
|
* @secure
|
|
12344
12395
|
*/
|
|
12345
|
-
getLatestOpenApiSpecVersion: (organizationId:
|
|
12396
|
+
getLatestOpenApiSpecVersion: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
12346
12397
|
error: {
|
|
12347
12398
|
/** @format int32 */
|
|
12348
12399
|
code: 404;
|
|
@@ -12358,7 +12409,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12358
12409
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content
|
|
12359
12410
|
* @secure
|
|
12360
12411
|
*/
|
|
12361
|
-
getLatestOpenApiSpecVersionContent: (organizationId:
|
|
12412
|
+
getLatestOpenApiSpecVersionContent: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
12362
12413
|
error: {
|
|
12363
12414
|
/** @format int32 */
|
|
12364
12415
|
code: 404;
|
|
@@ -12374,7 +12425,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12374
12425
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}
|
|
12375
12426
|
* @secure
|
|
12376
12427
|
*/
|
|
12377
|
-
getOpenApiSpecVersionById: (organizationId:
|
|
12428
|
+
getOpenApiSpecVersionById: (organizationId: EntityId, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
|
|
12378
12429
|
error: {
|
|
12379
12430
|
/** @format int32 */
|
|
12380
12431
|
code: 404;
|
|
@@ -12390,7 +12441,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12390
12441
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content
|
|
12391
12442
|
* @secure
|
|
12392
12443
|
*/
|
|
12393
|
-
getOpenApiSpecVersionContentById: (organizationId:
|
|
12444
|
+
getOpenApiSpecVersionContentById: (organizationId: EntityId, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
|
|
12394
12445
|
error: {
|
|
12395
12446
|
/** @format int32 */
|
|
12396
12447
|
code: 404;
|
|
@@ -12406,7 +12457,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12406
12457
|
* @request GET:/orgs/{organizationId}/agent-instructions
|
|
12407
12458
|
* @secure
|
|
12408
12459
|
*/
|
|
12409
|
-
getOrganizationAgentInstructions: (organizationId:
|
|
12460
|
+
getOrganizationAgentInstructions: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
|
|
12410
12461
|
/**
|
|
12411
12462
|
* No description
|
|
12412
12463
|
*
|
|
@@ -12416,7 +12467,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12416
12467
|
* @request PUT:/orgs/{organizationId}/agent-instructions
|
|
12417
12468
|
* @secure
|
|
12418
12469
|
*/
|
|
12419
|
-
updateOrganizationAgentInstructions: (organizationId:
|
|
12470
|
+
updateOrganizationAgentInstructions: (organizationId: EntityId, data: {
|
|
12420
12471
|
/** Document describing the Docs agent instructions. */
|
|
12421
12472
|
instructions: JSONDocument;
|
|
12422
12473
|
}, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
|
|
@@ -12429,7 +12480,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12429
12480
|
* @request GET:/orgs/{organizationId}/translations
|
|
12430
12481
|
* @secure
|
|
12431
12482
|
*/
|
|
12432
|
-
listTranslations: (organizationId:
|
|
12483
|
+
listTranslations: (organizationId: EntityId, query?: {
|
|
12433
12484
|
/** Identifier of the page results to fetch. */
|
|
12434
12485
|
page?: string;
|
|
12435
12486
|
/**
|
|
@@ -12450,7 +12501,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12450
12501
|
* @request POST:/orgs/{organizationId}/translations
|
|
12451
12502
|
* @secure
|
|
12452
12503
|
*/
|
|
12453
|
-
createTranslation: (organizationId:
|
|
12504
|
+
createTranslation: (organizationId: EntityId, data: {
|
|
12454
12505
|
source: TranslationSource;
|
|
12455
12506
|
language: TranslationLanguage;
|
|
12456
12507
|
instructions?: JSONDocument;
|
|
@@ -12470,7 +12521,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12470
12521
|
* @request GET:/orgs/{organizationId}/translations/{translationId}
|
|
12471
12522
|
* @secure
|
|
12472
12523
|
*/
|
|
12473
|
-
getTranslation: (organizationId:
|
|
12524
|
+
getTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<Translation, {
|
|
12474
12525
|
error: {
|
|
12475
12526
|
/** @format int32 */
|
|
12476
12527
|
code: 404;
|
|
@@ -12486,7 +12537,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12486
12537
|
* @request PUT:/orgs/{organizationId}/translations/{translationId}
|
|
12487
12538
|
* @secure
|
|
12488
12539
|
*/
|
|
12489
|
-
updateTranslation: (organizationId:
|
|
12540
|
+
updateTranslation: (organizationId: EntityId, translationId: string, data: {
|
|
12490
12541
|
instructions: JSONDocument;
|
|
12491
12542
|
}, params?: RequestParams) => Promise<HttpResponse<Translation, {
|
|
12492
12543
|
error: {
|
|
@@ -12504,7 +12555,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12504
12555
|
* @request DELETE:/orgs/{organizationId}/translations/{translationId}
|
|
12505
12556
|
* @secure
|
|
12506
12557
|
*/
|
|
12507
|
-
deleteTranslation: (organizationId:
|
|
12558
|
+
deleteTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12508
12559
|
/**
|
|
12509
12560
|
* No description
|
|
12510
12561
|
*
|
|
@@ -12514,7 +12565,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12514
12565
|
* @request POST:/orgs/{organizationId}/translations/{translationId}/run
|
|
12515
12566
|
* @secure
|
|
12516
12567
|
*/
|
|
12517
|
-
runTranslation: (organizationId:
|
|
12568
|
+
runTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
12518
12569
|
error: {
|
|
12519
12570
|
/** @format int32 */
|
|
12520
12571
|
code: 404;
|
|
@@ -12530,7 +12581,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12530
12581
|
* @request GET:/orgs/{organizationId}/translations-glossary
|
|
12531
12582
|
* @secure
|
|
12532
12583
|
*/
|
|
12533
|
-
listGlossaryEntries: (organizationId:
|
|
12584
|
+
listGlossaryEntries: (organizationId: EntityId, query?: {
|
|
12534
12585
|
/** Identifier of the page results to fetch. */
|
|
12535
12586
|
page?: string;
|
|
12536
12587
|
/**
|
|
@@ -12553,7 +12604,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12553
12604
|
* @request PUT:/orgs/{organizationId}/translations-glossary
|
|
12554
12605
|
* @secure
|
|
12555
12606
|
*/
|
|
12556
|
-
updateGlossaryEntries: (organizationId:
|
|
12607
|
+
updateGlossaryEntries: (organizationId: EntityId, data: {
|
|
12557
12608
|
operations: GlossaryBatchOperation[];
|
|
12558
12609
|
}, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
12559
12610
|
error: {
|
|
@@ -12571,7 +12622,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12571
12622
|
* @request GET:/orgs/{organizationId}/translations-glossary/{glossaryEntryId}
|
|
12572
12623
|
* @secure
|
|
12573
12624
|
*/
|
|
12574
|
-
getGlossaryEntry: (organizationId:
|
|
12625
|
+
getGlossaryEntry: (organizationId: EntityId, glossaryEntryId: string, params?: RequestParams) => Promise<HttpResponse<GlossaryEntry, {
|
|
12575
12626
|
error: {
|
|
12576
12627
|
/** @format int32 */
|
|
12577
12628
|
code: 404;
|
|
@@ -12587,7 +12638,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12587
12638
|
* @request POST:/orgs/{organizationId}/storage/upload
|
|
12588
12639
|
* @secure
|
|
12589
12640
|
*/
|
|
12590
|
-
generateStorageUploadUrl: (organizationId:
|
|
12641
|
+
generateStorageUploadUrl: (organizationId: EntityId, data: {
|
|
12591
12642
|
file: StorageFileMetadata;
|
|
12592
12643
|
kind: StorageUploadKind;
|
|
12593
12644
|
}, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL, {
|
|
@@ -12606,7 +12657,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12606
12657
|
* @request GET:/orgs/{organizationId}/fonts
|
|
12607
12658
|
* @secure
|
|
12608
12659
|
*/
|
|
12609
|
-
listCustomFonts: (organizationId:
|
|
12660
|
+
listCustomFonts: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
12610
12661
|
items: CustomizationFontDefinition[];
|
|
12611
12662
|
}, {
|
|
12612
12663
|
error: {
|
|
@@ -12624,7 +12675,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12624
12675
|
* @request PUT:/orgs/{organizationId}/fonts
|
|
12625
12676
|
* @secure
|
|
12626
12677
|
*/
|
|
12627
|
-
createCustomFont: (organizationId:
|
|
12678
|
+
createCustomFont: (organizationId: EntityId, data: {
|
|
12628
12679
|
/** The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display"). */
|
|
12629
12680
|
fontFamily: FontFamily;
|
|
12630
12681
|
/**
|
|
@@ -12660,7 +12711,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12660
12711
|
* @request GET:/orgs/{organizationId}/fonts/{fontId}
|
|
12661
12712
|
* @secure
|
|
12662
12713
|
*/
|
|
12663
|
-
getCustomFont: (organizationId:
|
|
12714
|
+
getCustomFont: (organizationId: EntityId, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
|
|
12664
12715
|
error: {
|
|
12665
12716
|
/** @format int32 */
|
|
12666
12717
|
code: 404;
|
|
@@ -12676,7 +12727,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12676
12727
|
* @request POST:/orgs/{organizationId}/fonts/{fontId}
|
|
12677
12728
|
* @secure
|
|
12678
12729
|
*/
|
|
12679
|
-
updateCustomFont: (organizationId:
|
|
12730
|
+
updateCustomFont: (organizationId: EntityId, fontId: string, data: {
|
|
12680
12731
|
/** The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display"). */
|
|
12681
12732
|
fontFamily?: FontFamily;
|
|
12682
12733
|
/** Array of font faces specifying weights and their corresponding storage keys. Passing null as the storage key will remove that weight. */
|
|
@@ -12707,7 +12758,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12707
12758
|
* @request DELETE:/orgs/{organizationId}/fonts/{fontId}
|
|
12708
12759
|
* @secure
|
|
12709
12760
|
*/
|
|
12710
|
-
deleteCustomFont: (organizationId:
|
|
12761
|
+
deleteCustomFont: (organizationId: EntityId, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12711
12762
|
/**
|
|
12712
12763
|
* No description
|
|
12713
12764
|
*
|
|
@@ -12717,7 +12768,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12717
12768
|
* @request GET:/orgs/{organizationId}/sites
|
|
12718
12769
|
* @secure
|
|
12719
12770
|
*/
|
|
12720
|
-
listSites: (organizationId:
|
|
12771
|
+
listSites: (organizationId: EntityId, query?: {
|
|
12721
12772
|
/** Identifier of the page results to fetch. */
|
|
12722
12773
|
page?: string;
|
|
12723
12774
|
/**
|
|
@@ -12746,7 +12797,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12746
12797
|
* @request POST:/orgs/{organizationId}/sites
|
|
12747
12798
|
* @secure
|
|
12748
12799
|
*/
|
|
12749
|
-
createSite: (organizationId:
|
|
12800
|
+
createSite: (organizationId: EntityId, data: {
|
|
12750
12801
|
/** The type of the site, defaults to Basic */
|
|
12751
12802
|
type?: SiteType;
|
|
12752
12803
|
/** Title of the site */
|
|
@@ -12771,7 +12822,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12771
12822
|
* @request GET:/orgs/{organizationId}/sites/{siteId}
|
|
12772
12823
|
* @secure
|
|
12773
12824
|
*/
|
|
12774
|
-
getSiteById: (organizationId:
|
|
12825
|
+
getSiteById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, {
|
|
12775
12826
|
error: {
|
|
12776
12827
|
/** @format int32 */
|
|
12777
12828
|
code: 404;
|
|
@@ -12787,7 +12838,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12787
12838
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}
|
|
12788
12839
|
* @secure
|
|
12789
12840
|
*/
|
|
12790
|
-
updateSiteById: (organizationId:
|
|
12841
|
+
updateSiteById: (organizationId: EntityId, siteId: string, data: {
|
|
12791
12842
|
/** Title of the site */
|
|
12792
12843
|
title?: SiteTitle;
|
|
12793
12844
|
/**
|
|
@@ -12820,7 +12871,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12820
12871
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}
|
|
12821
12872
|
* @secure
|
|
12822
12873
|
*/
|
|
12823
|
-
deleteSiteById: (organizationId:
|
|
12874
|
+
deleteSiteById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12824
12875
|
/**
|
|
12825
12876
|
* No description
|
|
12826
12877
|
*
|
|
@@ -12830,7 +12881,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12830
12881
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
12831
12882
|
* @secure
|
|
12832
12883
|
*/
|
|
12833
|
-
getSiteAdaptiveSchema: (organizationId:
|
|
12884
|
+
getSiteAdaptiveSchema: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
12834
12885
|
error: {
|
|
12835
12886
|
/** @format int32 */
|
|
12836
12887
|
code: 404;
|
|
@@ -12846,7 +12897,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12846
12897
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
|
|
12847
12898
|
* @secure
|
|
12848
12899
|
*/
|
|
12849
|
-
updateSiteAdaptiveSchema: (organizationId:
|
|
12900
|
+
updateSiteAdaptiveSchema: (organizationId: EntityId, siteId: string, data: {
|
|
12850
12901
|
/** The JSON schema to set on the site. */
|
|
12851
12902
|
jsonSchema: SiteAdaptiveJSONSchema;
|
|
12852
12903
|
}, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
|
|
@@ -12865,7 +12916,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12865
12916
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions
|
|
12866
12917
|
* @secure
|
|
12867
12918
|
*/
|
|
12868
|
-
listSiteAdaptiveTemplateConditions: (organizationId:
|
|
12919
|
+
listSiteAdaptiveTemplateConditions: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<{
|
|
12869
12920
|
items: SiteAdaptiveTemplateCondition[];
|
|
12870
12921
|
}, any>>;
|
|
12871
12922
|
/**
|
|
@@ -12877,7 +12928,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12877
12928
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/published
|
|
12878
12929
|
* @secure
|
|
12879
12930
|
*/
|
|
12880
|
-
getPublishedContentSite: (organizationId:
|
|
12931
|
+
getPublishedContentSite: (organizationId: EntityId, siteId: string, query?: {
|
|
12881
12932
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
12882
12933
|
shareKey?: string;
|
|
12883
12934
|
}, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite, {
|
|
@@ -12896,7 +12947,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12896
12947
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publish
|
|
12897
12948
|
* @secure
|
|
12898
12949
|
*/
|
|
12899
|
-
publishSite: (organizationId:
|
|
12950
|
+
publishSite: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site | {
|
|
12900
12951
|
type: "checkout";
|
|
12901
12952
|
/** Stripe payment session ID */
|
|
12902
12953
|
sessionId: string;
|
|
@@ -12910,7 +12961,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12910
12961
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/unpublish
|
|
12911
12962
|
* @secure
|
|
12912
12963
|
*/
|
|
12913
|
-
unpublishSite: (organizationId:
|
|
12964
|
+
unpublishSite: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
12914
12965
|
/**
|
|
12915
12966
|
* No description
|
|
12916
12967
|
*
|
|
@@ -12920,7 +12971,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12920
12971
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
12921
12972
|
* @secure
|
|
12922
12973
|
*/
|
|
12923
|
-
listSiteShareLinks: (organizationId:
|
|
12974
|
+
listSiteShareLinks: (organizationId: EntityId, siteId: string, query?: {
|
|
12924
12975
|
/** Identifier of the page results to fetch. */
|
|
12925
12976
|
page?: string;
|
|
12926
12977
|
/**
|
|
@@ -12943,7 +12994,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12943
12994
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/share-links
|
|
12944
12995
|
* @secure
|
|
12945
12996
|
*/
|
|
12946
|
-
createSiteShareLink: (organizationId:
|
|
12997
|
+
createSiteShareLink: (organizationId: EntityId, siteId: string, data: {
|
|
12947
12998
|
/** Name of the share link */
|
|
12948
12999
|
name: ShareLinkName;
|
|
12949
13000
|
}, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
|
|
@@ -12956,7 +13007,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12956
13007
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
12957
13008
|
* @secure
|
|
12958
13009
|
*/
|
|
12959
|
-
updateSiteShareLinkById: (organizationId:
|
|
13010
|
+
updateSiteShareLinkById: (organizationId: EntityId, siteId: string, shareLinkId: string, data: {
|
|
12960
13011
|
active?: boolean;
|
|
12961
13012
|
/** Name of the share link */
|
|
12962
13013
|
name?: ShareLinkName;
|
|
@@ -12970,7 +13021,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12970
13021
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
|
|
12971
13022
|
* @secure
|
|
12972
13023
|
*/
|
|
12973
|
-
deleteSiteShareLinkById: (organizationId:
|
|
13024
|
+
deleteSiteShareLinkById: (organizationId: EntityId, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
12974
13025
|
/**
|
|
12975
13026
|
* @description Get the complete structure of a site that includes all its site-sections and site-spaces.
|
|
12976
13027
|
*
|
|
@@ -12980,7 +13031,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12980
13031
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/structure
|
|
12981
13032
|
* @secure
|
|
12982
13033
|
*/
|
|
12983
|
-
getSiteStructure: (organizationId:
|
|
13034
|
+
getSiteStructure: (organizationId: EntityId, siteId: string, query?: {
|
|
12984
13035
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
12985
13036
|
shareKey?: string;
|
|
12986
13037
|
}, params?: RequestParams) => Promise<HttpResponse<SiteStructure, {
|
|
@@ -12999,7 +13050,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12999
13050
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/structure/sort
|
|
13000
13051
|
* @secure
|
|
13001
13052
|
*/
|
|
13002
|
-
sortSiteStructure: (organizationId:
|
|
13053
|
+
sortSiteStructure: (organizationId: EntityId, siteId: string, data: {
|
|
13003
13054
|
/** pointer to the item (site space, site section or site section group) being moved. */
|
|
13004
13055
|
item: SiteStructureItemPointer;
|
|
13005
13056
|
/** The position to move the item to. When not provided the item is moved to the end of the site structure. */
|
|
@@ -13026,7 +13077,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13026
13077
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
13027
13078
|
* @secure
|
|
13028
13079
|
*/
|
|
13029
|
-
getSitePublishingAuthById: (organizationId:
|
|
13080
|
+
getSitePublishingAuthById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
13030
13081
|
error: {
|
|
13031
13082
|
/** @format int32 */
|
|
13032
13083
|
code: 400;
|
|
@@ -13042,7 +13093,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13042
13093
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/publishing/auth
|
|
13043
13094
|
* @secure
|
|
13044
13095
|
*/
|
|
13045
|
-
updateSitePublishingAuthById: (organizationId:
|
|
13096
|
+
updateSitePublishingAuthById: (organizationId: EntityId, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
13046
13097
|
error: {
|
|
13047
13098
|
/** @format int32 */
|
|
13048
13099
|
code: 400;
|
|
@@ -13058,7 +13109,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13058
13109
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate
|
|
13059
13110
|
* @secure
|
|
13060
13111
|
*/
|
|
13061
|
-
regenerateSitePublishingAuthById: (organizationId:
|
|
13112
|
+
regenerateSitePublishingAuthById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
|
|
13062
13113
|
error: {
|
|
13063
13114
|
/** @format int32 */
|
|
13064
13115
|
code: 400;
|
|
@@ -13074,11 +13125,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13074
13125
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/preview
|
|
13075
13126
|
* @secure
|
|
13076
13127
|
*/
|
|
13077
|
-
getSitePublishingPreviewById: (organizationId:
|
|
13128
|
+
getSitePublishingPreviewById: (organizationId: EntityId, siteId: string, query?: {
|
|
13078
13129
|
/** ID of the site-space to preview. If not provided, the default site-space will be used. */
|
|
13079
13130
|
siteSpace?: string;
|
|
13080
13131
|
/** Rison encoded string of attributes/assertions about the visitor for which we want to preview the site. */
|
|
13081
13132
|
claims?: string;
|
|
13133
|
+
/**
|
|
13134
|
+
* Whether to include draft content in the preview. Defaults to true
|
|
13135
|
+
* @default true
|
|
13136
|
+
*/
|
|
13137
|
+
draft?: boolean;
|
|
13082
13138
|
}, params?: RequestParams) => Promise<HttpResponse<{
|
|
13083
13139
|
url: URL;
|
|
13084
13140
|
}, {
|
|
@@ -13097,7 +13153,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13097
13153
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/customization
|
|
13098
13154
|
* @secure
|
|
13099
13155
|
*/
|
|
13100
|
-
getSiteCustomizationById: (organizationId:
|
|
13156
|
+
getSiteCustomizationById: (organizationId: EntityId, siteId: string, query?: {
|
|
13101
13157
|
/**
|
|
13102
13158
|
* (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
|
|
13103
13159
|
* @deprecated
|
|
@@ -13120,7 +13176,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13120
13176
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/customization
|
|
13121
13177
|
* @secure
|
|
13122
13178
|
*/
|
|
13123
|
-
updateSiteCustomizationById: (organizationId:
|
|
13179
|
+
updateSiteCustomizationById: (organizationId: EntityId, siteId: string, data: SiteCustomizationSettingsInput, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
|
|
13124
13180
|
error: {
|
|
13125
13181
|
/** @format int32 */
|
|
13126
13182
|
code: 400;
|
|
@@ -13136,7 +13192,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13136
13192
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/integration-scripts
|
|
13137
13193
|
* @secure
|
|
13138
13194
|
*/
|
|
13139
|
-
listSiteIntegrationScripts: (organizationId:
|
|
13195
|
+
listSiteIntegrationScripts: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[], {
|
|
13140
13196
|
error: {
|
|
13141
13197
|
/** @format int32 */
|
|
13142
13198
|
code: 400;
|
|
@@ -13152,7 +13208,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13152
13208
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/integrations
|
|
13153
13209
|
* @secure
|
|
13154
13210
|
*/
|
|
13155
|
-
listSiteIntegrations: (organizationId:
|
|
13211
|
+
listSiteIntegrations: (organizationId: EntityId, siteId: string, query?: {
|
|
13156
13212
|
/** A search string to filter integrations by name */
|
|
13157
13213
|
search?: string;
|
|
13158
13214
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
@@ -13167,7 +13223,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13167
13223
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
13168
13224
|
* @secure
|
|
13169
13225
|
*/
|
|
13170
|
-
addSpaceToSite: (organizationId:
|
|
13226
|
+
addSpaceToSite: (organizationId: EntityId, siteId: string, data: {
|
|
13171
13227
|
/** ID of the space */
|
|
13172
13228
|
spaceId: string;
|
|
13173
13229
|
/** 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. */
|
|
@@ -13182,7 +13238,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13182
13238
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
13183
13239
|
* @secure
|
|
13184
13240
|
*/
|
|
13185
|
-
listSiteSpaces: (organizationId:
|
|
13241
|
+
listSiteSpaces: (organizationId: EntityId, siteId: string, query?: {
|
|
13186
13242
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
13187
13243
|
shareKey?: string;
|
|
13188
13244
|
/** Identifier of the page results to fetch. */
|
|
@@ -13207,7 +13263,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13207
13263
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
13208
13264
|
* @secure
|
|
13209
13265
|
*/
|
|
13210
|
-
listSiteSectionGroups: (organizationId:
|
|
13266
|
+
listSiteSectionGroups: (organizationId: EntityId, siteId: string, query?: {
|
|
13211
13267
|
/** Identifier of the page results to fetch. */
|
|
13212
13268
|
page?: string;
|
|
13213
13269
|
/**
|
|
@@ -13228,7 +13284,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13228
13284
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups
|
|
13229
13285
|
* @secure
|
|
13230
13286
|
*/
|
|
13231
|
-
addSectionGroupToSite: (organizationId:
|
|
13287
|
+
addSectionGroupToSite: (organizationId: EntityId, siteId: string, data: {
|
|
13232
13288
|
/** Title of the site section group */
|
|
13233
13289
|
title: SiteSectionGroupTitle;
|
|
13234
13290
|
icon?: Icon | null;
|
|
@@ -13246,7 +13302,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13246
13302
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
13247
13303
|
* @secure
|
|
13248
13304
|
*/
|
|
13249
|
-
updateSiteSectionGroupById: (organizationId:
|
|
13305
|
+
updateSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
|
|
13250
13306
|
/** Title of the site section group */
|
|
13251
13307
|
title?: SiteSectionGroupTitle;
|
|
13252
13308
|
icon?: Icon | null;
|
|
@@ -13260,7 +13316,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13260
13316
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
|
|
13261
13317
|
* @secure
|
|
13262
13318
|
*/
|
|
13263
|
-
deleteSiteSectionGroupById: (organizationId:
|
|
13319
|
+
deleteSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13264
13320
|
/**
|
|
13265
13321
|
* No description
|
|
13266
13322
|
*
|
|
@@ -13270,7 +13326,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13270
13326
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections
|
|
13271
13327
|
* @secure
|
|
13272
13328
|
*/
|
|
13273
|
-
addSectionToGroup: (organizationId:
|
|
13329
|
+
addSectionToGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
|
|
13274
13330
|
/** ID of the section to add to the section group */
|
|
13275
13331
|
sectionId: string;
|
|
13276
13332
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
@@ -13283,7 +13339,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13283
13339
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}
|
|
13284
13340
|
* @secure
|
|
13285
13341
|
*/
|
|
13286
|
-
removeSectionFromGroup: (organizationId:
|
|
13342
|
+
removeSectionFromGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13287
13343
|
/**
|
|
13288
13344
|
* No description
|
|
13289
13345
|
*
|
|
@@ -13293,7 +13349,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13293
13349
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/sections
|
|
13294
13350
|
* @secure
|
|
13295
13351
|
*/
|
|
13296
|
-
addSectionToSite: (organizationId:
|
|
13352
|
+
addSectionToSite: (organizationId: EntityId, siteId: string, data: {
|
|
13297
13353
|
/** ID of the space to be added to the section as a site space variant */
|
|
13298
13354
|
spaceId: string;
|
|
13299
13355
|
title?: SiteSectionTitle | null;
|
|
@@ -13308,7 +13364,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13308
13364
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/sections
|
|
13309
13365
|
* @secure
|
|
13310
13366
|
*/
|
|
13311
|
-
listSiteSections: (organizationId:
|
|
13367
|
+
listSiteSections: (organizationId: EntityId, siteId: string, query?: {
|
|
13312
13368
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
13313
13369
|
shareKey?: string;
|
|
13314
13370
|
/** Identifier of the page results to fetch. */
|
|
@@ -13331,7 +13387,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13331
13387
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
13332
13388
|
* @secure
|
|
13333
13389
|
*/
|
|
13334
|
-
updateSiteSectionById: (organizationId:
|
|
13390
|
+
updateSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, data: {
|
|
13335
13391
|
/** Title of the site section */
|
|
13336
13392
|
title?: SiteSectionTitle;
|
|
13337
13393
|
/** Localized string value, keyed by locale. Contains overrides for non-default languages only. */
|
|
@@ -13354,7 +13410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13354
13410
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
|
|
13355
13411
|
* @secure
|
|
13356
13412
|
*/
|
|
13357
|
-
deleteSiteSectionById: (organizationId:
|
|
13413
|
+
deleteSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13358
13414
|
/**
|
|
13359
13415
|
* No description
|
|
13360
13416
|
*
|
|
@@ -13364,7 +13420,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13364
13420
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/search
|
|
13365
13421
|
* @secure
|
|
13366
13422
|
*/
|
|
13367
|
-
searchSiteContent: (organizationId:
|
|
13423
|
+
searchSiteContent: (organizationId: EntityId, siteId: string, data: {
|
|
13368
13424
|
/** @maxLength 512 */
|
|
13369
13425
|
query: string;
|
|
13370
13426
|
} & ({
|
|
@@ -13412,7 +13468,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13412
13468
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ask
|
|
13413
13469
|
* @secure
|
|
13414
13470
|
*/
|
|
13415
|
-
streamAskInSite: (organizationId:
|
|
13471
|
+
streamAskInSite: (organizationId: EntityId, siteId: string, data: {
|
|
13416
13472
|
/** @maxLength 512 */
|
|
13417
13473
|
question: string;
|
|
13418
13474
|
/** You may optionally provide additional information about the context of the question. This doesn't affect the scope of the search, but GitBook may use this information to provide a better answer. Generally speaking, you should provide as much context as possible. */
|
|
@@ -13433,7 +13489,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13433
13489
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/ask/questions
|
|
13434
13490
|
* @secure
|
|
13435
13491
|
*/
|
|
13436
|
-
streamRecommendedQuestionsInSite: (organizationId:
|
|
13492
|
+
streamRecommendedQuestionsInSite: (organizationId: EntityId, siteId: string, query?: {
|
|
13437
13493
|
/** The ID of the site space to filter the recommended questions for. */
|
|
13438
13494
|
siteSpaceId?: string;
|
|
13439
13495
|
/**
|
|
@@ -13451,7 +13507,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13451
13507
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/context-records
|
|
13452
13508
|
* @secure
|
|
13453
13509
|
*/
|
|
13454
|
-
listSiteContextRecords: (organizationId:
|
|
13510
|
+
listSiteContextRecords: (organizationId: EntityId, siteId: string, query?: {
|
|
13455
13511
|
/** Identifier of the page results to fetch. */
|
|
13456
13512
|
page?: string;
|
|
13457
13513
|
/**
|
|
@@ -13480,7 +13536,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13480
13536
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/context-records
|
|
13481
13537
|
* @secure
|
|
13482
13538
|
*/
|
|
13483
|
-
upsertSiteContextRecords: (organizationId:
|
|
13539
|
+
upsertSiteContextRecords: (organizationId: EntityId, siteId: string, data: ContextRecordInput[], params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13484
13540
|
/**
|
|
13485
13541
|
* No description
|
|
13486
13542
|
*
|
|
@@ -13490,7 +13546,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13490
13546
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}
|
|
13491
13547
|
* @secure
|
|
13492
13548
|
*/
|
|
13493
|
-
getSiteContextRecordById: (organizationId:
|
|
13549
|
+
getSiteContextRecordById: (organizationId: EntityId, siteId: string, siteContextRecordId: string, params?: RequestParams) => Promise<HttpResponse<ContextRecord, any>>;
|
|
13494
13550
|
/**
|
|
13495
13551
|
* No description
|
|
13496
13552
|
*
|
|
@@ -13500,7 +13556,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13500
13556
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues
|
|
13501
13557
|
* @secure
|
|
13502
13558
|
*/
|
|
13503
|
-
listSiteIssues: (organizationId:
|
|
13559
|
+
listSiteIssues: (organizationId: EntityId, siteId: string, query?: {
|
|
13504
13560
|
/** Identifier of the page results to fetch. */
|
|
13505
13561
|
page?: string;
|
|
13506
13562
|
/**
|
|
@@ -13529,7 +13585,113 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13529
13585
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}
|
|
13530
13586
|
* @secure
|
|
13531
13587
|
*/
|
|
13532
|
-
getSiteIssueById: (organizationId:
|
|
13588
|
+
getSiteIssueById: (organizationId: EntityId, siteId: string, siteIssueId: string, params?: RequestParams) => Promise<HttpResponse<SiteIssue, any>>;
|
|
13589
|
+
/**
|
|
13590
|
+
* No description
|
|
13591
|
+
*
|
|
13592
|
+
* @tags site-context
|
|
13593
|
+
* @name UpdateSiteIssueById
|
|
13594
|
+
* @summary Update a site issue
|
|
13595
|
+
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}
|
|
13596
|
+
* @secure
|
|
13597
|
+
*/
|
|
13598
|
+
updateSiteIssueById: (organizationId: EntityId, siteId: string, siteIssueId: string, data: {
|
|
13599
|
+
status: "open" | "canceled";
|
|
13600
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteIssue, any>>;
|
|
13601
|
+
/**
|
|
13602
|
+
* No description
|
|
13603
|
+
*
|
|
13604
|
+
* @tags site-context
|
|
13605
|
+
* @name ListChangeRequestsForSiteIssue
|
|
13606
|
+
* @summary List change requests linked to a site issue
|
|
13607
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests
|
|
13608
|
+
* @secure
|
|
13609
|
+
*/
|
|
13610
|
+
listChangeRequestsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
|
|
13611
|
+
/** Identifier of the page results to fetch. */
|
|
13612
|
+
page?: string;
|
|
13613
|
+
/**
|
|
13614
|
+
* The number of results per page
|
|
13615
|
+
* @min 0
|
|
13616
|
+
* @max 1000
|
|
13617
|
+
*/
|
|
13618
|
+
limit?: number;
|
|
13619
|
+
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
13620
|
+
items: ChangeRequest[];
|
|
13621
|
+
}, any>>;
|
|
13622
|
+
/**
|
|
13623
|
+
* No description
|
|
13624
|
+
*
|
|
13625
|
+
* @tags site-context
|
|
13626
|
+
* @name TriggerChangeRequestsForSiteIssue
|
|
13627
|
+
* @summary Process a site issue into change requests
|
|
13628
|
+
* @request POST:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests
|
|
13629
|
+
* @secure
|
|
13630
|
+
*/
|
|
13631
|
+
triggerChangeRequestsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13632
|
+
/**
|
|
13633
|
+
* No description
|
|
13634
|
+
*
|
|
13635
|
+
* @tags site-context
|
|
13636
|
+
* @name ListPagesForSiteIssue
|
|
13637
|
+
* @summary List pages linked to a site issue
|
|
13638
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages
|
|
13639
|
+
* @secure
|
|
13640
|
+
*/
|
|
13641
|
+
listPagesForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
|
|
13642
|
+
/** Identifier of the page results to fetch. */
|
|
13643
|
+
page?: string;
|
|
13644
|
+
/**
|
|
13645
|
+
* The number of results per page
|
|
13646
|
+
* @min 0
|
|
13647
|
+
* @max 1000
|
|
13648
|
+
*/
|
|
13649
|
+
limit?: number;
|
|
13650
|
+
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
13651
|
+
items: SiteIssuePage[];
|
|
13652
|
+
}, any>>;
|
|
13653
|
+
/**
|
|
13654
|
+
* No description
|
|
13655
|
+
*
|
|
13656
|
+
* @tags site-context
|
|
13657
|
+
* @name ListQuestionsForSiteIssue
|
|
13658
|
+
* @summary List questions linked to a site issue
|
|
13659
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions
|
|
13660
|
+
* @secure
|
|
13661
|
+
*/
|
|
13662
|
+
listQuestionsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
|
|
13663
|
+
/** Identifier of the page results to fetch. */
|
|
13664
|
+
page?: string;
|
|
13665
|
+
/**
|
|
13666
|
+
* The number of results per page
|
|
13667
|
+
* @min 0
|
|
13668
|
+
* @max 1000
|
|
13669
|
+
*/
|
|
13670
|
+
limit?: number;
|
|
13671
|
+
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
13672
|
+
items: SiteQuestion[];
|
|
13673
|
+
}, any>>;
|
|
13674
|
+
/**
|
|
13675
|
+
* No description
|
|
13676
|
+
*
|
|
13677
|
+
* @tags site-context
|
|
13678
|
+
* @name ListRecordsForSiteIssue
|
|
13679
|
+
* @summary List records linked to a site issue
|
|
13680
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records
|
|
13681
|
+
* @secure
|
|
13682
|
+
*/
|
|
13683
|
+
listRecordsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
|
|
13684
|
+
/** Identifier of the page results to fetch. */
|
|
13685
|
+
page?: string;
|
|
13686
|
+
/**
|
|
13687
|
+
* The number of results per page
|
|
13688
|
+
* @min 0
|
|
13689
|
+
* @max 1000
|
|
13690
|
+
*/
|
|
13691
|
+
limit?: number;
|
|
13692
|
+
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
13693
|
+
items: ContextRecord[];
|
|
13694
|
+
}, any>>;
|
|
13533
13695
|
/**
|
|
13534
13696
|
* No description
|
|
13535
13697
|
*
|
|
@@ -13539,7 +13701,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13539
13701
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/context-connections
|
|
13540
13702
|
* @secure
|
|
13541
13703
|
*/
|
|
13542
|
-
listSiteContextConnections: (organizationId:
|
|
13704
|
+
listSiteContextConnections: (organizationId: EntityId, siteId: string, query?: {
|
|
13543
13705
|
/** Identifier of the page results to fetch. */
|
|
13544
13706
|
page?: string;
|
|
13545
13707
|
/**
|
|
@@ -13560,7 +13722,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13560
13722
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/context-connections
|
|
13561
13723
|
* @secure
|
|
13562
13724
|
*/
|
|
13563
|
-
createSiteContextConnection: (organizationId:
|
|
13725
|
+
createSiteContextConnection: (organizationId: EntityId, siteId: string, data: ContextConnectorSetup & {
|
|
13564
13726
|
usageSettings?: ContextUsageSettings;
|
|
13565
13727
|
}, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
|
|
13566
13728
|
/**
|
|
@@ -13572,7 +13734,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13572
13734
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
|
|
13573
13735
|
* @secure
|
|
13574
13736
|
*/
|
|
13575
|
-
getSiteContextConnectionById: (organizationId:
|
|
13737
|
+
getSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
|
|
13576
13738
|
/**
|
|
13577
13739
|
* No description
|
|
13578
13740
|
*
|
|
@@ -13582,7 +13744,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13582
13744
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
|
|
13583
13745
|
* @secure
|
|
13584
13746
|
*/
|
|
13585
|
-
updateSiteContextConnectionById: (organizationId:
|
|
13747
|
+
updateSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, data: ContextConnectorSetup | {
|
|
13586
13748
|
usageSettings?: ContextUsageSettings;
|
|
13587
13749
|
/** Optional label for the connection */
|
|
13588
13750
|
label?: ContextConnectionLabel;
|
|
@@ -13596,7 +13758,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13596
13758
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
|
|
13597
13759
|
* @secure
|
|
13598
13760
|
*/
|
|
13599
|
-
deleteSiteContextConnectionById: (organizationId:
|
|
13761
|
+
deleteSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13600
13762
|
/**
|
|
13601
13763
|
* No description
|
|
13602
13764
|
*
|
|
@@ -13606,7 +13768,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13606
13768
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync
|
|
13607
13769
|
* @secure
|
|
13608
13770
|
*/
|
|
13609
|
-
syncSiteContextConnection: (organizationId:
|
|
13771
|
+
syncSiteContextConnection: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
13610
13772
|
error: {
|
|
13611
13773
|
/** @format int32 */
|
|
13612
13774
|
code: 400;
|
|
@@ -13622,7 +13784,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13622
13784
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/topics
|
|
13623
13785
|
* @secure
|
|
13624
13786
|
*/
|
|
13625
|
-
listSiteTopics: (organizationId:
|
|
13787
|
+
listSiteTopics: (organizationId: EntityId, siteId: string, query?: {
|
|
13626
13788
|
/** Filter stats to answers created at or after this timestamp. */
|
|
13627
13789
|
from?: Timestamp;
|
|
13628
13790
|
/** Filter stats to answers created at or before this timestamp. */
|
|
@@ -13639,7 +13801,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13639
13801
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}
|
|
13640
13802
|
* @secure
|
|
13641
13803
|
*/
|
|
13642
|
-
getSiteTopicById: (organizationId:
|
|
13804
|
+
getSiteTopicById: (organizationId: EntityId, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<SiteTopic, any>>;
|
|
13643
13805
|
/**
|
|
13644
13806
|
* No description
|
|
13645
13807
|
*
|
|
@@ -13649,8 +13811,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13649
13811
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}
|
|
13650
13812
|
* @secure
|
|
13651
13813
|
*/
|
|
13652
|
-
updateSiteTopicById: (organizationId:
|
|
13653
|
-
usageSettings:
|
|
13814
|
+
updateSiteTopicById: (organizationId: EntityId, siteId: string, siteTopicId: string, data: {
|
|
13815
|
+
usageSettings: SiteTopicUsageSettings;
|
|
13654
13816
|
}, params?: RequestParams) => Promise<HttpResponse<SiteTopic, any>>;
|
|
13655
13817
|
/**
|
|
13656
13818
|
* No description
|
|
@@ -13661,7 +13823,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13661
13823
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues
|
|
13662
13824
|
* @secure
|
|
13663
13825
|
*/
|
|
13664
|
-
deleteSiteTopicIssues: (organizationId:
|
|
13826
|
+
deleteSiteTopicIssues: (organizationId: EntityId, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13665
13827
|
/**
|
|
13666
13828
|
* No description
|
|
13667
13829
|
*
|
|
@@ -13671,7 +13833,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13671
13833
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/questions
|
|
13672
13834
|
* @secure
|
|
13673
13835
|
*/
|
|
13674
|
-
listSiteQuestions: (organizationId:
|
|
13836
|
+
listSiteQuestions: (organizationId: EntityId, siteId: string, query?: {
|
|
13675
13837
|
/** Filter stats to answers created at or after this timestamp. */
|
|
13676
13838
|
from?: Timestamp;
|
|
13677
13839
|
/** Filter stats to answers created at or before this timestamp. */
|
|
@@ -13700,7 +13862,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13700
13862
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}
|
|
13701
13863
|
* @secure
|
|
13702
13864
|
*/
|
|
13703
|
-
getSiteQuestionById: (organizationId:
|
|
13865
|
+
getSiteQuestionById: (organizationId: EntityId, siteId: string, siteQuestionId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
|
|
13704
13866
|
/**
|
|
13705
13867
|
* No description
|
|
13706
13868
|
*
|
|
@@ -13710,7 +13872,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13710
13872
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/question-stats
|
|
13711
13873
|
* @secure
|
|
13712
13874
|
*/
|
|
13713
|
-
getSiteQuestionStats: (organizationId:
|
|
13875
|
+
getSiteQuestionStats: (organizationId: EntityId, siteId: string, query?: {
|
|
13714
13876
|
/** Filter stats to answers created at or after this timestamp. */
|
|
13715
13877
|
from?: Timestamp;
|
|
13716
13878
|
/** Filter stats to answers created at or before this timestamp. */
|
|
@@ -13729,7 +13891,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13729
13891
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/answers
|
|
13730
13892
|
* @secure
|
|
13731
13893
|
*/
|
|
13732
|
-
listSiteQuestionAnswers: (organizationId:
|
|
13894
|
+
listSiteQuestionAnswers: (organizationId: EntityId, siteId: string, query?: {
|
|
13733
13895
|
/** Filter answers to a specific site question ID. */
|
|
13734
13896
|
question?: string;
|
|
13735
13897
|
/** Filter answers by ISO language code. */
|
|
@@ -13766,7 +13928,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13766
13928
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}
|
|
13767
13929
|
* @secure
|
|
13768
13930
|
*/
|
|
13769
|
-
getSiteQuestionAnswerById: (organizationId:
|
|
13931
|
+
getSiteQuestionAnswerById: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestionAnswerWithResponse, any>>;
|
|
13770
13932
|
/**
|
|
13771
13933
|
* No description
|
|
13772
13934
|
*
|
|
@@ -13776,7 +13938,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13776
13938
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources
|
|
13777
13939
|
* @secure
|
|
13778
13940
|
*/
|
|
13779
|
-
listSiteQuestionAnswerSources: (organizationId:
|
|
13941
|
+
listSiteQuestionAnswerSources: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, query?: {
|
|
13780
13942
|
/** Identifier of the page results to fetch. */
|
|
13781
13943
|
page?: string;
|
|
13782
13944
|
/**
|
|
@@ -13797,7 +13959,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13797
13959
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
13798
13960
|
* @secure
|
|
13799
13961
|
*/
|
|
13800
|
-
updateSiteSpaceById: (organizationId:
|
|
13962
|
+
updateSiteSpaceById: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
|
|
13801
13963
|
/** Path to the space on the site */
|
|
13802
13964
|
path?: SiteSpacePath;
|
|
13803
13965
|
/** 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. */
|
|
@@ -13816,7 +13978,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13816
13978
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
|
|
13817
13979
|
* @secure
|
|
13818
13980
|
*/
|
|
13819
|
-
deleteSiteSpaceById: (organizationId:
|
|
13981
|
+
deleteSiteSpaceById: (organizationId: EntityId, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
13820
13982
|
/**
|
|
13821
13983
|
* No description
|
|
13822
13984
|
*
|
|
@@ -13826,7 +13988,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13826
13988
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
13827
13989
|
* @secure
|
|
13828
13990
|
*/
|
|
13829
|
-
getSiteSpaceCustomizationById: (organizationId:
|
|
13991
|
+
getSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, query?: {
|
|
13830
13992
|
/**
|
|
13831
13993
|
* (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
|
|
13832
13994
|
* @deprecated
|
|
@@ -13849,7 +14011,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13849
14011
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
13850
14012
|
* @secure
|
|
13851
14013
|
*/
|
|
13852
|
-
overrideSiteSpaceCustomizationById: (organizationId:
|
|
14014
|
+
overrideSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
|
|
13853
14015
|
/** Title to use for the published site variant. If not defined, the title will not be changed. If set to null, the title will be unset and will fallback to the content title. */
|
|
13854
14016
|
title?: SiteTitle | null;
|
|
13855
14017
|
styling?: {
|
|
@@ -13977,7 +14139,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13977
14139
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
|
|
13978
14140
|
* @secure
|
|
13979
14141
|
*/
|
|
13980
|
-
deleteSiteSpaceCustomizationById: (organizationId:
|
|
14142
|
+
deleteSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
13981
14143
|
error: {
|
|
13982
14144
|
/** @format int32 */
|
|
13983
14145
|
code: 400;
|
|
@@ -13994,7 +14156,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13994
14156
|
* @deprecated
|
|
13995
14157
|
* @secure
|
|
13996
14158
|
*/
|
|
13997
|
-
moveSiteSectionGroup: (organizationId:
|
|
14159
|
+
moveSiteSectionGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
|
|
13998
14160
|
/** The position where to move the site section group. When not provided the site section group is moved at the end of the site. */
|
|
13999
14161
|
position?: SiteSectionGroupMovePosition;
|
|
14000
14162
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, {
|
|
@@ -14020,7 +14182,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14020
14182
|
* @deprecated
|
|
14021
14183
|
* @secure
|
|
14022
14184
|
*/
|
|
14023
|
-
moveSiteSection: (organizationId:
|
|
14185
|
+
moveSiteSection: (organizationId: EntityId, siteId: string, siteSectionId: string, data: {
|
|
14024
14186
|
/** The position where to move the site section. When not provided the site section is moved at the end of the site. */
|
|
14025
14187
|
position?: SiteSectionMovePosition;
|
|
14026
14188
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, {
|
|
@@ -14046,7 +14208,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14046
14208
|
* @deprecated
|
|
14047
14209
|
* @secure
|
|
14048
14210
|
*/
|
|
14049
|
-
moveSiteSpace: (organizationId:
|
|
14211
|
+
moveSiteSpace: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
|
|
14050
14212
|
/** The position where to move the site space. When not provided the site space is moved at the end of the site. */
|
|
14051
14213
|
position?: SiteSpaceMovePosition;
|
|
14052
14214
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, {
|
|
@@ -14071,7 +14233,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14071
14233
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/permissions
|
|
14072
14234
|
* @secure
|
|
14073
14235
|
*/
|
|
14074
|
-
inviteToSite: (organizationId:
|
|
14236
|
+
inviteToSite: (organizationId: EntityId, siteId: string, data: InviteSiteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
|
|
14075
14237
|
error: {
|
|
14076
14238
|
/** @format int32 */
|
|
14077
14239
|
code: 404;
|
|
@@ -14087,7 +14249,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14087
14249
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/aggregate
|
|
14088
14250
|
* @secure
|
|
14089
14251
|
*/
|
|
14090
|
-
listPermissionsAggregateInSite: (organizationId:
|
|
14252
|
+
listPermissionsAggregateInSite: (organizationId: EntityId, siteId: string, query?: {
|
|
14091
14253
|
/** Identifier of the page results to fetch. */
|
|
14092
14254
|
page?: string;
|
|
14093
14255
|
/**
|
|
@@ -14108,7 +14270,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14108
14270
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/users
|
|
14109
14271
|
* @secure
|
|
14110
14272
|
*/
|
|
14111
|
-
listUserPermissionsInSite: (organizationId:
|
|
14273
|
+
listUserPermissionsInSite: (organizationId: EntityId, siteId: string, query?: {
|
|
14112
14274
|
/** Identifier of the page results to fetch. */
|
|
14113
14275
|
page?: string;
|
|
14114
14276
|
/**
|
|
@@ -14135,7 +14297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14135
14297
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}
|
|
14136
14298
|
* @secure
|
|
14137
14299
|
*/
|
|
14138
|
-
updateUserPermissionInSite: (organizationId:
|
|
14300
|
+
updateUserPermissionInSite: (organizationId: EntityId, siteId: string, userId: string, data: {
|
|
14139
14301
|
/**
|
|
14140
14302
|
* "The role of a member in an organization.
|
|
14141
14303
|
* "admin": Can administrate the content: create, delete spaces, ...
|
|
@@ -14162,7 +14324,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14162
14324
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}
|
|
14163
14325
|
* @secure
|
|
14164
14326
|
*/
|
|
14165
|
-
removeUserFromSite: (organizationId:
|
|
14327
|
+
removeUserFromSite: (organizationId: EntityId, siteId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14166
14328
|
/**
|
|
14167
14329
|
* No description
|
|
14168
14330
|
*
|
|
@@ -14172,7 +14334,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14172
14334
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/teams
|
|
14173
14335
|
* @secure
|
|
14174
14336
|
*/
|
|
14175
|
-
listTeamPermissionsInSite: (organizationId:
|
|
14337
|
+
listTeamPermissionsInSite: (organizationId: EntityId, siteId: string, query?: {
|
|
14176
14338
|
/** Identifier of the page results to fetch. */
|
|
14177
14339
|
page?: string;
|
|
14178
14340
|
/**
|
|
@@ -14199,7 +14361,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14199
14361
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}
|
|
14200
14362
|
* @secure
|
|
14201
14363
|
*/
|
|
14202
|
-
updateTeamPermissionInSite: (organizationId:
|
|
14364
|
+
updateTeamPermissionInSite: (organizationId: EntityId, siteId: string, teamId: EntityId, data: {
|
|
14203
14365
|
/**
|
|
14204
14366
|
* "The role of a member in an organization.
|
|
14205
14367
|
* "admin": Can administrate the content: create, delete spaces, ...
|
|
@@ -14226,7 +14388,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14226
14388
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}
|
|
14227
14389
|
* @secure
|
|
14228
14390
|
*/
|
|
14229
|
-
removeTeamFromSite: (organizationId:
|
|
14391
|
+
removeTeamFromSite: (organizationId: EntityId, siteId: string, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14230
14392
|
/**
|
|
14231
14393
|
* @description Generate an AI response in a conversation.
|
|
14232
14394
|
*
|
|
@@ -14236,7 +14398,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14236
14398
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ai/response
|
|
14237
14399
|
* @secure
|
|
14238
14400
|
*/
|
|
14239
|
-
streamAiResponseInSite: (organizationId:
|
|
14401
|
+
streamAiResponseInSite: (organizationId: EntityId, siteId: string, data: {
|
|
14240
14402
|
/** The ID of the previous response to continue from */
|
|
14241
14403
|
previousResponseId?: string;
|
|
14242
14404
|
/** The messages to send to the AI agent. */
|
|
@@ -14262,7 +14424,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14262
14424
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events
|
|
14263
14425
|
* @secure
|
|
14264
14426
|
*/
|
|
14265
|
-
trackEventsInSiteById: (organizationId:
|
|
14427
|
+
trackEventsInSiteById: (organizationId: EntityId, siteId: string, data: {
|
|
14266
14428
|
events: SiteInsightsEvent[];
|
|
14267
14429
|
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14268
14430
|
/**
|
|
@@ -14274,7 +14436,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14274
14436
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
|
|
14275
14437
|
* @secure
|
|
14276
14438
|
*/
|
|
14277
|
-
aggregateSiteEvents: (organizationId:
|
|
14439
|
+
aggregateSiteEvents: (organizationId: EntityId, siteId: string, data: SiteInsightsQueryEventsAggregation, params?: RequestParams) => Promise<HttpResponse<SiteInsightsQueryEventsAggregationResult, any>>;
|
|
14278
14440
|
/**
|
|
14279
14441
|
* No description
|
|
14280
14442
|
*
|
|
@@ -14284,7 +14446,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14284
14446
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments
|
|
14285
14447
|
* @secure
|
|
14286
14448
|
*/
|
|
14287
|
-
listSiteVisitorSegments: (organizationId:
|
|
14449
|
+
listSiteVisitorSegments: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
14288
14450
|
items: SiteInsightsVisitorSegment[];
|
|
14289
14451
|
}, any>>;
|
|
14290
14452
|
/**
|
|
@@ -14296,7 +14458,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14296
14458
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ads
|
|
14297
14459
|
* @secure
|
|
14298
14460
|
*/
|
|
14299
|
-
updateSiteAdsById: (organizationId:
|
|
14461
|
+
updateSiteAdsById: (organizationId: EntityId, siteId: string, data?: {
|
|
14300
14462
|
status?: "in-review" | "disabled";
|
|
14301
14463
|
/** Topic of the content */
|
|
14302
14464
|
topic?: SiteAdsTopic;
|
|
@@ -14310,7 +14472,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14310
14472
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
14311
14473
|
* @secure
|
|
14312
14474
|
*/
|
|
14313
|
-
createSiteRedirect: (organizationId:
|
|
14475
|
+
createSiteRedirect: (organizationId: EntityId, siteId: string, data: {
|
|
14314
14476
|
/** The source path to redirect from. */
|
|
14315
14477
|
source: SiteRedirectSourcePath;
|
|
14316
14478
|
/**
|
|
@@ -14334,7 +14496,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14334
14496
|
* @request PUT:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
14335
14497
|
* @secure
|
|
14336
14498
|
*/
|
|
14337
|
-
bulkUpsertSiteRedirects: (organizationId:
|
|
14499
|
+
bulkUpsertSiteRedirects: (organizationId: EntityId, siteId: string, data: {
|
|
14338
14500
|
/**
|
|
14339
14501
|
* @maxItems 500
|
|
14340
14502
|
* @minItems 1
|
|
@@ -14417,7 +14579,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14417
14579
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirects
|
|
14418
14580
|
* @secure
|
|
14419
14581
|
*/
|
|
14420
|
-
listSiteRedirects: (organizationId:
|
|
14582
|
+
listSiteRedirects: (organizationId: EntityId, siteId: string, query?: {
|
|
14421
14583
|
/** Identifier of the page results to fetch. */
|
|
14422
14584
|
page?: string;
|
|
14423
14585
|
/**
|
|
@@ -14445,7 +14607,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14445
14607
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
14446
14608
|
* @secure
|
|
14447
14609
|
*/
|
|
14448
|
-
updateSiteRedirectById: (organizationId:
|
|
14610
|
+
updateSiteRedirectById: (organizationId: EntityId, siteId: string, siteRedirectId: string, data: {
|
|
14449
14611
|
/** The source path to redirect from. */
|
|
14450
14612
|
source?: SiteRedirectSourcePath;
|
|
14451
14613
|
/** Capture and append the wildcard-matched suffix to the destination URL. */
|
|
@@ -14463,7 +14625,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14463
14625
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
|
|
14464
14626
|
* @secure
|
|
14465
14627
|
*/
|
|
14466
|
-
deleteSiteRedirectById: (organizationId:
|
|
14628
|
+
deleteSiteRedirectById: (organizationId: EntityId, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14467
14629
|
/**
|
|
14468
14630
|
* No description
|
|
14469
14631
|
*
|
|
@@ -14473,7 +14635,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14473
14635
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/redirect
|
|
14474
14636
|
* @secure
|
|
14475
14637
|
*/
|
|
14476
|
-
getSiteRedirectBySource: (organizationId:
|
|
14638
|
+
getSiteRedirectBySource: (organizationId: EntityId, siteId: string, query: {
|
|
14477
14639
|
/** For sites published via share-links, the share key is useful to resolve published URLs. */
|
|
14478
14640
|
shareKey?: string;
|
|
14479
14641
|
/** The source path of the redirect. */
|
|
@@ -14498,7 +14660,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14498
14660
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers
|
|
14499
14661
|
* @secure
|
|
14500
14662
|
*/
|
|
14501
|
-
listSiteMcpServers: (organizationId:
|
|
14663
|
+
listSiteMcpServers: (organizationId: EntityId, siteId: string, query?: {
|
|
14502
14664
|
/** Identifier of the page results to fetch. */
|
|
14503
14665
|
page?: string;
|
|
14504
14666
|
/**
|
|
@@ -14519,7 +14681,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14519
14681
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/mcp-servers
|
|
14520
14682
|
* @secure
|
|
14521
14683
|
*/
|
|
14522
|
-
createSiteMcpServer: (organizationId:
|
|
14684
|
+
createSiteMcpServer: (organizationId: EntityId, siteId: string, data: {
|
|
14523
14685
|
/** Name of the MCP server */
|
|
14524
14686
|
name: SiteMcpServerName;
|
|
14525
14687
|
url: URL;
|
|
@@ -14535,7 +14697,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14535
14697
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
|
|
14536
14698
|
* @secure
|
|
14537
14699
|
*/
|
|
14538
|
-
getSiteMcpServerById: (organizationId:
|
|
14700
|
+
getSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
|
|
14539
14701
|
/**
|
|
14540
14702
|
* No description
|
|
14541
14703
|
*
|
|
@@ -14545,7 +14707,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14545
14707
|
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
|
|
14546
14708
|
* @secure
|
|
14547
14709
|
*/
|
|
14548
|
-
updateSiteMcpServerById: (organizationId:
|
|
14710
|
+
updateSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, data: {
|
|
14549
14711
|
/** Name of the MCP server */
|
|
14550
14712
|
name?: SiteMcpServerName;
|
|
14551
14713
|
/**
|
|
@@ -14565,7 +14727,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14565
14727
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
|
|
14566
14728
|
* @secure
|
|
14567
14729
|
*/
|
|
14568
|
-
deleteSiteMcpServerById: (organizationId:
|
|
14730
|
+
deleteSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14569
14731
|
/**
|
|
14570
14732
|
* No description
|
|
14571
14733
|
*
|
|
@@ -14575,7 +14737,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14575
14737
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/channels
|
|
14576
14738
|
* @secure
|
|
14577
14739
|
*/
|
|
14578
|
-
listSiteChannels: (organizationId:
|
|
14740
|
+
listSiteChannels: (organizationId: EntityId, siteId: string, query?: {
|
|
14579
14741
|
/** Identifier of the page results to fetch. */
|
|
14580
14742
|
page?: string;
|
|
14581
14743
|
/**
|
|
@@ -14596,7 +14758,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14596
14758
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/channels
|
|
14597
14759
|
* @secure
|
|
14598
14760
|
*/
|
|
14599
|
-
createSiteChannel: (organizationId:
|
|
14761
|
+
createSiteChannel: (organizationId: EntityId, siteId: string, data: SiteChannelSetup & {
|
|
14600
14762
|
/** Usage settings for a site channel. */
|
|
14601
14763
|
usageSettings?: SiteChannelUsageSettings;
|
|
14602
14764
|
}, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
|
|
@@ -14609,7 +14771,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14609
14771
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
|
|
14610
14772
|
* @secure
|
|
14611
14773
|
*/
|
|
14612
|
-
getSiteChannelById: (organizationId:
|
|
14774
|
+
getSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
|
|
14613
14775
|
/**
|
|
14614
14776
|
* No description
|
|
14615
14777
|
*
|
|
@@ -14619,7 +14781,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14619
14781
|
* @request DELETE:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
|
|
14620
14782
|
* @secure
|
|
14621
14783
|
*/
|
|
14622
|
-
deleteSiteChannelById: (organizationId:
|
|
14784
|
+
deleteSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
14623
14785
|
};
|
|
14624
14786
|
org: {
|
|
14625
14787
|
/**
|
|
@@ -14631,7 +14793,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14631
14793
|
* @request POST:/org/{organizationId}/imports
|
|
14632
14794
|
* @secure
|
|
14633
14795
|
*/
|
|
14634
|
-
startImportRun: (organizationId:
|
|
14796
|
+
startImportRun: (organizationId: EntityId, data: {
|
|
14635
14797
|
source: ContentImportSource;
|
|
14636
14798
|
target: ContentImportTarget;
|
|
14637
14799
|
/**
|
|
@@ -14661,7 +14823,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14661
14823
|
* @request POST:/org/{organizationId}/imports/{importRunId}/cancel
|
|
14662
14824
|
* @secure
|
|
14663
14825
|
*/
|
|
14664
|
-
cancelImportRun: (organizationId:
|
|
14826
|
+
cancelImportRun: (organizationId: EntityId, importRunId: string, params?: RequestParams) => Promise<HttpResponse<ContentImportRun, {
|
|
14665
14827
|
error: {
|
|
14666
14828
|
/** @format int32 */
|
|
14667
14829
|
code: 400;
|