@gitbook/api 0.166.0 → 0.168.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 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. */
@@ -4317,6 +4334,11 @@ export interface Site {
4317
4334
  * @format uri
4318
4335
  */
4319
4336
  published?: string;
4337
+ /**
4338
+ * URL of the preview version of the site.
4339
+ * @format uri
4340
+ */
4341
+ preview: string;
4320
4342
  };
4321
4343
  }
4322
4344
  export type IntegrationSiteInstallation = IntegrationContentInstallationBase & {
@@ -5326,7 +5348,12 @@ export interface OpenAPISpecVersion {
5326
5348
  export interface OpenAPISpecContent {
5327
5349
  /** Filesystem containing all specifications. */
5328
5350
  filesystem: object;
5329
- url: URL;
5351
+ /** URLs associated with the specification content. */
5352
+ urls: {
5353
+ source: URL;
5354
+ /** 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. */
5355
+ public: null | URL;
5356
+ };
5330
5357
  }
5331
5358
  export interface OrganizationAgentInstructions {
5332
5359
  object: "agent-instructions";
@@ -6058,6 +6085,14 @@ export interface SiteIssue {
6058
6085
  topic: string;
6059
6086
  /** Short issue title */
6060
6087
  title: SiteIssueTitle;
6088
+ /** Number of change requests linked to the issue */
6089
+ changeRequests: number;
6090
+ /** Number of pages linked to the issue */
6091
+ pages: number;
6092
+ /** Number of records linked to the issue */
6093
+ records: number;
6094
+ /** Number of questions linked to the issue */
6095
+ questions: number;
6061
6096
  /** Status of a site issue. */
6062
6097
  status: SiteIssueStatus;
6063
6098
  /**
@@ -6084,6 +6119,90 @@ export interface SiteIssue {
6084
6119
  location: string;
6085
6120
  };
6086
6121
  }
6122
+ export interface SiteIssuePage {
6123
+ object: "site-issue-page";
6124
+ /** The space ID containing the linked page. */
6125
+ spaceId: string;
6126
+ page: ChangedRevisionPage;
6127
+ }
6128
+ /** Aggregated feedback for answers linked to a site question. */
6129
+ export interface SiteQuestionStatsFeedback {
6130
+ /** Count of answers with positive feedback. */
6131
+ positive: number;
6132
+ /** Count of answers with negative feedback. */
6133
+ negative: number;
6134
+ /** Count of answers without feedback. */
6135
+ unrated: number;
6136
+ }
6137
+ /** Aggregated answered assessment for answers linked to a site question. */
6138
+ export interface SiteQuestionStatsAnswered {
6139
+ /** Count of answers assessed as fully answered. */
6140
+ yes: number;
6141
+ /** Count of answers assessed as partially answered. */
6142
+ partially: number;
6143
+ /** Count of answers assessed as not answered. */
6144
+ no: number;
6145
+ }
6146
+ export interface SiteQuestionStatsRelevance {
6147
+ relevant: number;
6148
+ spam: number;
6149
+ "off-topic": number;
6150
+ unclear: number;
6151
+ }
6152
+ export interface SiteQuestionStatsTypes {
6153
+ exploring: number;
6154
+ "how-to": number;
6155
+ troubleshooting: number;
6156
+ reference: number;
6157
+ unknown: number;
6158
+ }
6159
+ /** Count of answers by site channel type, including core channels. */
6160
+ export type SiteQuestionStatsChannelTypes = Record<string, number>;
6161
+ /** Count of answers by site channel ID. */
6162
+ export type SiteQuestionStatsChannels = Record<string, number>;
6163
+ /** Aggregated stats for questions and linked answers. */
6164
+ export interface SiteQuestionStats {
6165
+ /** Total count of questions included in the aggregation. */
6166
+ total: number;
6167
+ /** Total count of answers linked to the questions. */
6168
+ answers: number;
6169
+ /** Aggregated feedback for answers linked to a site question. */
6170
+ feedback: SiteQuestionStatsFeedback;
6171
+ /** Aggregated answered assessment for answers linked to a site question. */
6172
+ answered: SiteQuestionStatsAnswered;
6173
+ relevance: SiteQuestionStatsRelevance;
6174
+ types: SiteQuestionStatsTypes;
6175
+ /** Count of answers by site channel type, including core channels. */
6176
+ channelTypes: SiteQuestionStatsChannelTypes;
6177
+ /** Count of answers by site channel ID. */
6178
+ channels: SiteQuestionStatsChannels;
6179
+ /**
6180
+ * Weekly count of related question answers for the past 3 months.
6181
+ * @maxItems 13
6182
+ * @minItems 13
6183
+ */
6184
+ weeklyPulse: number[];
6185
+ }
6186
+ export interface SiteQuestion {
6187
+ object: "site-question";
6188
+ /** The ID of the site question. */
6189
+ id: string;
6190
+ /** Canonical text for the unique site question. */
6191
+ question: string;
6192
+ /** Type classification of the user question. */
6193
+ type: SiteQuestionType;
6194
+ createdAt: Timestamp;
6195
+ /** Aggregated stats for questions and linked answers. */
6196
+ stats: SiteQuestionStats;
6197
+ /** URLs associated with the site question. */
6198
+ urls: {
6199
+ /**
6200
+ * URL of the site question in the API.
6201
+ * @format uri
6202
+ */
6203
+ location: string;
6204
+ };
6205
+ }
6087
6206
  /**
6088
6207
  * Optional label for the connection
6089
6208
  * @minLength 0
@@ -6095,6 +6214,8 @@ export interface ContextUsageSettings {
6095
6214
  changeRequests: boolean;
6096
6215
  /** Whether to expose records in search results */
6097
6216
  search: boolean;
6217
+ /** Relative score adjustment applied to records from a connection when searching. */
6218
+ searchBoost: ContextSearchBoost;
6098
6219
  }
6099
6220
  export type ContextConnectorSetup = {
6100
6221
  connector: "builtin:email";
@@ -6169,63 +6290,9 @@ export type ContextConnection = {
6169
6290
  location: string;
6170
6291
  };
6171
6292
  } & ContextConnectorSetup;
6172
- /** Aggregated feedback for answers linked to a site question. */
6173
- export interface SiteQuestionStatsFeedback {
6174
- /** Count of answers with positive feedback. */
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[];
6293
+ export interface SiteTopicUsageSettings {
6294
+ /** Whether to use context to propose change requests */
6295
+ changeRequests: boolean;
6229
6296
  }
6230
6297
  export interface SiteTopic {
6231
6298
  object: "context-topic";
@@ -6245,7 +6312,7 @@ export interface SiteTopic {
6245
6312
  /** Name of the icon */
6246
6313
  icon: Icon;
6247
6314
  summary: JSONDocument;
6248
- usageSettings: ContextUsageSettings;
6315
+ usageSettings: SiteTopicUsageSettings;
6249
6316
  /** The number of pages associated with the topic */
6250
6317
  pages: number;
6251
6318
  /** The number of records in the topic */
@@ -6261,26 +6328,6 @@ export interface SiteTopic {
6261
6328
  location: string;
6262
6329
  };
6263
6330
  }
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
6331
  /** Identifiers for a GitBook site session, used for analytics and adaptive content. */
6285
6332
  export interface SiteInsightsSession {
6286
6333
  /** GitBook's unique identifier of the visitor. */
@@ -7604,6 +7651,8 @@ export interface PublishedSiteContent {
7604
7651
  contextId?: string;
7605
7652
  /** The canonical URL of the resolution. */
7606
7653
  canonicalUrl: string;
7654
+ /** Whether the URL is a preview URL */
7655
+ preview?: boolean;
7607
7656
  }
7608
7657
  export type PublishedSiteContentLookup = PublishedContentRedirect | PublishedSiteContent;
7609
7658
  /** An object that describes the payload of site visitor info. It can include a jwt token with signed claims and/or a record of its unsigned claims. */
@@ -7906,6 +7955,11 @@ export type SiteAPIToken = ContentAPIBaseToken & {
7906
7955
  siteSection?: string;
7907
7956
  /** ID of the space to be used when using this token for rendering published content. */
7908
7957
  space: string;
7958
+ /**
7959
+ * 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.
7960
+ * @default false
7961
+ */
7962
+ draft?: boolean;
7909
7963
  };
7910
7964
  /** Content properties stored in a Content API token. */
7911
7965
  export type ContentAPITokenPayload = SpaceAPIToken | CollectionAPIToken | SiteAPIToken;
@@ -8498,7 +8552,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8498
8552
  * @request GET:/spaces/{spaceId}
8499
8553
  * @secure
8500
8554
  */
8501
- getSpaceById: (spaceId: string, query?: {
8555
+ getSpaceById: (spaceId: EntityId, query?: {
8502
8556
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
8503
8557
  shareKey?: string;
8504
8558
  }, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
@@ -8511,7 +8565,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8511
8565
  * @request PATCH:/spaces/{spaceId}
8512
8566
  * @secure
8513
8567
  */
8514
- updateSpaceById: (spaceId: string, data: {
8568
+ updateSpaceById: (spaceId: EntityId, data: {
8515
8569
  /**
8516
8570
  * Determines how a Space can be edited.
8517
8571
  * * `live`: Users can directly edit the space
@@ -8542,7 +8596,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8542
8596
  * @request DELETE:/spaces/{spaceId}
8543
8597
  * @secure
8544
8598
  */
8545
- deleteSpaceById: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8599
+ deleteSpaceById: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8546
8600
  /**
8547
8601
  * No description
8548
8602
  *
@@ -8552,7 +8606,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8552
8606
  * @request POST:/spaces/{spaceId}/duplicate
8553
8607
  * @secure
8554
8608
  */
8555
- duplicateSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
8609
+ duplicateSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
8556
8610
  /**
8557
8611
  * @description Only spaces deleted in the last 7 days can be restored.
8558
8612
  *
@@ -8562,7 +8616,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8562
8616
  * @request POST:/spaces/{spaceId}/restore
8563
8617
  * @secure
8564
8618
  */
8565
- restoreSpace: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
8619
+ restoreSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
8566
8620
  /**
8567
8621
  * No description
8568
8622
  *
@@ -8572,7 +8626,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8572
8626
  * @request POST:/spaces/{spaceId}/move
8573
8627
  * @secure
8574
8628
  */
8575
- moveSpace: (spaceId: string, data: {
8629
+ moveSpace: (spaceId: EntityId, data: {
8576
8630
  /** The unique id of the parent collection */
8577
8631
  parent?: string | null;
8578
8632
  /** Where to move the space. By default, it will be moved at the end. */
@@ -8605,7 +8659,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8605
8659
  * @request POST:/spaces/{spaceId}/transfer
8606
8660
  * @secure
8607
8661
  */
8608
- transferSpace: (spaceId: string, data: {
8662
+ transferSpace: (spaceId: EntityId, data: {
8609
8663
  /** The unique id of the target organization */
8610
8664
  organization: string;
8611
8665
  }, params?: RequestParams) => Promise<HttpResponse<Space, {
@@ -8636,7 +8690,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8636
8690
  * @request GET:/spaces/{spaceId}/embed
8637
8691
  * @secure
8638
8692
  */
8639
- getEmbedByUrlInSpace: (spaceId: string, query: {
8693
+ getEmbedByUrlInSpace: (spaceId: EntityId, query: {
8640
8694
  /** URL to resolve */
8641
8695
  url: string;
8642
8696
  }, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
@@ -8649,7 +8703,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8649
8703
  * @request GET:/spaces/{spaceId}/search
8650
8704
  * @secure
8651
8705
  */
8652
- searchSpaceContent: (spaceId: string, query: {
8706
+ searchSpaceContent: (spaceId: EntityId, query: {
8653
8707
  /** @maxLength 512 */
8654
8708
  query: string;
8655
8709
  /** Identifier of the page results to fetch. */
@@ -8672,7 +8726,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8672
8726
  * @request POST:/spaces/{spaceId}/git/import
8673
8727
  * @secure
8674
8728
  */
8675
- importGitRepository: (spaceId: string, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8729
+ importGitRepository: (spaceId: EntityId, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8676
8730
  /**
8677
8731
  * No description
8678
8732
  *
@@ -8682,7 +8736,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8682
8736
  * @request POST:/spaces/{spaceId}/git/export
8683
8737
  * @secure
8684
8738
  */
8685
- exportToGitRepository: (spaceId: string, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8739
+ exportToGitRepository: (spaceId: EntityId, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8686
8740
  /**
8687
8741
  * @description Get metadata about the Git Sync provider currently set up on the space.
8688
8742
  *
@@ -8692,7 +8746,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8692
8746
  * @request GET:/spaces/{spaceId}/git/info
8693
8747
  * @secure
8694
8748
  */
8695
- getSpaceGitInfo: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<GitSyncState, {
8749
+ getSpaceGitInfo: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<GitSyncState, {
8696
8750
  error: {
8697
8751
  /** @format int32 */
8698
8752
  code: 404;
@@ -8708,7 +8762,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8708
8762
  * @request DELETE:/spaces/{spaceId}/git/legacy-installation
8709
8763
  * @secure
8710
8764
  */
8711
- deleteLegacyGitInstallation: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8765
+ deleteLegacyGitInstallation: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8712
8766
  /**
8713
8767
  * No description
8714
8768
  *
@@ -8718,7 +8772,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8718
8772
  * @request POST:/spaces/{spaceId}/permissions
8719
8773
  * @secure
8720
8774
  */
8721
- inviteToSpace: (spaceId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
8775
+ inviteToSpace: (spaceId: EntityId, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
8722
8776
  error: {
8723
8777
  /** @format int32 */
8724
8778
  code: 404;
@@ -8734,7 +8788,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8734
8788
  * @request PATCH:/spaces/{spaceId}/permissions/teams/{teamId}
8735
8789
  * @secure
8736
8790
  */
8737
- updateTeamPermissionInSpace: (spaceId: string, teamId: string, data: {
8791
+ updateTeamPermissionInSpace: (spaceId: EntityId, teamId: EntityId, data: {
8738
8792
  /** The role of a member in an organization, null for guests */
8739
8793
  role?: MemberRoleOrGuest;
8740
8794
  }, params?: RequestParams) => Promise<HttpResponse<void, {
@@ -8753,7 +8807,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8753
8807
  * @request DELETE:/spaces/{spaceId}/permissions/teams/{teamId}
8754
8808
  * @secure
8755
8809
  */
8756
- removeTeamFromSpace: (spaceId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, {
8810
+ removeTeamFromSpace: (spaceId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, {
8757
8811
  error: {
8758
8812
  /** @format int32 */
8759
8813
  code: 400;
@@ -8769,7 +8823,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8769
8823
  * @request GET:/spaces/{spaceId}/permissions/users
8770
8824
  * @secure
8771
8825
  */
8772
- listUserPermissionsInSpace: (spaceId: string, query?: {
8826
+ listUserPermissionsInSpace: (spaceId: EntityId, query?: {
8773
8827
  /** Identifier of the page results to fetch. */
8774
8828
  page?: string;
8775
8829
  /**
@@ -8796,7 +8850,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8796
8850
  * @request PATCH:/spaces/{spaceId}/permissions/users/{userId}
8797
8851
  * @secure
8798
8852
  */
8799
- updateUserPermissionInSpace: (spaceId: string, userId: string, data: {
8853
+ updateUserPermissionInSpace: (spaceId: EntityId, userId: string, data: {
8800
8854
  /** The role of a member in an organization, null for guests */
8801
8855
  role?: MemberRoleOrGuest;
8802
8856
  }, params?: RequestParams) => Promise<HttpResponse<void, {
@@ -8815,7 +8869,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8815
8869
  * @request DELETE:/spaces/{spaceId}/permissions/users/{userId}
8816
8870
  * @secure
8817
8871
  */
8818
- removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8872
+ removeUserFromSpace: (spaceId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
8819
8873
  /**
8820
8874
  * No description
8821
8875
  *
@@ -8825,7 +8879,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8825
8879
  * @request GET:/spaces/{spaceId}/permissions/teams
8826
8880
  * @secure
8827
8881
  */
8828
- listTeamPermissionsInSpace: (spaceId: string, query?: {
8882
+ listTeamPermissionsInSpace: (spaceId: EntityId, query?: {
8829
8883
  /** Identifier of the page results to fetch. */
8830
8884
  page?: string;
8831
8885
  /**
@@ -8864,7 +8918,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8864
8918
  * @request GET:/spaces/{spaceId}/content
8865
8919
  * @secure
8866
8920
  */
8867
- getCurrentRevision: (spaceId: string, query?: {
8921
+ getCurrentRevision: (spaceId: EntityId, query?: {
8868
8922
  /**
8869
8923
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
8870
8924
  * @default true
@@ -8885,7 +8939,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8885
8939
  * @request POST:/spaces/{spaceId}/content/template
8886
8940
  * @secure
8887
8941
  */
8888
- applyTemplateToSpace: (spaceId: string, data: ApplySpaceTemplate & {
8942
+ applyTemplateToSpace: (spaceId: EntityId, data: ApplySpaceTemplate & {
8889
8943
  /** The ID of the change request to apply the template to. If not provided, the template is applied to the main content. */
8890
8944
  changeRequestId?: string;
8891
8945
  }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
@@ -8898,7 +8952,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8898
8952
  * @request GET:/spaces/{spaceId}/content/pages
8899
8953
  * @secure
8900
8954
  */
8901
- listPages: (spaceId: string, query?: {
8955
+ listPages: (spaceId: EntityId, query?: {
8902
8956
  /**
8903
8957
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
8904
8958
  * @default true
@@ -8921,7 +8975,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8921
8975
  * @request GET:/spaces/{spaceId}/content/files
8922
8976
  * @secure
8923
8977
  */
8924
- listFiles: (spaceId: string, query?: {
8978
+ listFiles: (spaceId: EntityId, query?: {
8925
8979
  /** Identifier of the page results to fetch. */
8926
8980
  page?: string;
8927
8981
  /**
@@ -8952,7 +9006,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8952
9006
  * @request GET:/spaces/{spaceId}/content/files/{fileId}
8953
9007
  * @secure
8954
9008
  */
8955
- getFileById: (spaceId: string, fileId: string, query?: {
9009
+ getFileById: (spaceId: EntityId, fileId: EntityId, query?: {
8956
9010
  /**
8957
9011
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
8958
9012
  * @default true
@@ -8973,7 +9027,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8973
9027
  * @request GET:/spaces/{spaceId}/content/files/{fileId}/backlinks
8974
9028
  * @secure
8975
9029
  */
8976
- listSpaceFileBacklinks: (spaceId: string, fileId: string, query?: {
9030
+ listSpaceFileBacklinks: (spaceId: EntityId, fileId: EntityId, query?: {
8977
9031
  /** Identifier of the page results to fetch. */
8978
9032
  page?: string;
8979
9033
  /**
@@ -8994,7 +9048,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8994
9048
  * @request GET:/spaces/{spaceId}/content/page/{pageId}
8995
9049
  * @secure
8996
9050
  */
8997
- getPageById: (spaceId: string, pageId: string, query?: {
9051
+ getPageById: (spaceId: EntityId, pageId: EntityId, query?: {
8998
9052
  /** Output format for the content. */
8999
9053
  format?: "document" | "markdown";
9000
9054
  /**
@@ -9032,7 +9086,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9032
9086
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/links
9033
9087
  * @secure
9034
9088
  */
9035
- listPageLinksInSpace: (spaceId: string, pageId: string, query?: {
9089
+ listPageLinksInSpace: (spaceId: EntityId, pageId: EntityId, query?: {
9036
9090
  /** Identifier of the page results to fetch. */
9037
9091
  page?: string;
9038
9092
  /**
@@ -9061,7 +9115,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9061
9115
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/backlinks
9062
9116
  * @secure
9063
9117
  */
9064
- listSpacePageBacklinks: (spaceId: string, pageId: string, query?: {
9118
+ listSpacePageBacklinks: (spaceId: EntityId, pageId: EntityId, query?: {
9065
9119
  /** Identifier of the page results to fetch. */
9066
9120
  page?: string;
9067
9121
  /**
@@ -9082,7 +9136,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9082
9136
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/meta-links
9083
9137
  * @secure
9084
9138
  */
9085
- listSpacePageMetaLinks: (spaceId: string, pageId: string, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
9139
+ listSpacePageMetaLinks: (spaceId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
9086
9140
  /**
9087
9141
  * No description
9088
9142
  *
@@ -9092,7 +9146,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9092
9146
  * @request GET:/spaces/{spaceId}/content/path/{pagePath}
9093
9147
  * @secure
9094
9148
  */
9095
- getPageByPath: (spaceId: string, pagePath: string, query?: {
9149
+ getPageByPath: (spaceId: EntityId, pagePath: string, query?: {
9096
9150
  /** Output format for the content. */
9097
9151
  format?: "document" | "markdown";
9098
9152
  /**
@@ -9130,7 +9184,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9130
9184
  * @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
9131
9185
  * @secure
9132
9186
  */
9133
- getReusableContentById: (spaceId: string, reusableContentId: string, query?: {
9187
+ getReusableContentById: (spaceId: EntityId, reusableContentId: EntityId, query?: {
9134
9188
  /**
9135
9189
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9136
9190
  * @default true
@@ -9151,7 +9205,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9151
9205
  * @request POST:/spaces/{spaceId}/content/computed/document
9152
9206
  * @secure
9153
9207
  */
9154
- getComputedDocument: (spaceId: string, data: {
9208
+ getComputedDocument: (spaceId: EntityId, data: {
9155
9209
  source: ComputedContentSourceDocument;
9156
9210
  /** Seed to use for the generation of IDs. */
9157
9211
  seed: string;
@@ -9168,7 +9222,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9168
9222
  * @request POST:/spaces/{spaceId}/content/computed/revision
9169
9223
  * @secure
9170
9224
  */
9171
- getComputedRevision: (spaceId: string, data: {
9225
+ getComputedRevision: (spaceId: EntityId, data: {
9172
9226
  source: ComputedContentSourceRevision;
9173
9227
  /** Seed to use for the generation of IDs. */
9174
9228
  seed: string;
@@ -9186,7 +9240,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9186
9240
  * @request GET:/spaces/{spaceId}/documents/{documentId}
9187
9241
  * @secure
9188
9242
  */
9189
- getDocumentById: (spaceId: string, documentId: string, query?: {
9243
+ getDocumentById: (spaceId: EntityId, documentId: string, query?: {
9190
9244
  /** Version of the schema used for the document. */
9191
9245
  schema?: "current" | "next";
9192
9246
  }, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
@@ -9199,7 +9253,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9199
9253
  * @request POST:/spaces/{spaceId}/change-requests
9200
9254
  * @secure
9201
9255
  */
9202
- createChangeRequest: (spaceId: string, data: {
9256
+ createChangeRequest: (spaceId: EntityId, data: {
9203
9257
  /** Subject of the change-request */
9204
9258
  subject?: string;
9205
9259
  /** Template to apply to the change request */
@@ -9215,7 +9269,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9215
9269
  * @request GET:/spaces/{spaceId}/change-requests
9216
9270
  * @secure
9217
9271
  */
9218
- listChangeRequestsForSpace: (spaceId: string, query?: {
9272
+ listChangeRequestsForSpace: (spaceId: EntityId, query?: {
9219
9273
  /** Identifier of the page results to fetch. */
9220
9274
  page?: string;
9221
9275
  /**
@@ -9235,6 +9289,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9235
9289
  contributor?: string;
9236
9290
  /** If defined, only change requests with a requested reviewer for this user will be returned. */
9237
9291
  requestedReviewer?: string;
9292
+ /** If defined, only change requests linked to this site topic will be returned. */
9293
+ topic?: string;
9238
9294
  /** The field to sort change requests by. Defaults to 'updatedAt'. */
9239
9295
  orderBy?: ChangeRequestOrderBy;
9240
9296
  }, params?: RequestParams) => Promise<HttpResponse<List & {
@@ -9249,7 +9305,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9249
9305
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}
9250
9306
  * @secure
9251
9307
  */
9252
- getChangeRequestById: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, {
9308
+ getChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, {
9253
9309
  error: {
9254
9310
  /** @format int32 */
9255
9311
  code: 404;
@@ -9265,7 +9321,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9265
9321
  * @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
9266
9322
  * @secure
9267
9323
  */
9268
- updateChangeRequestById: (spaceId: string, changeRequestId: string, data: {
9324
+ updateChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, data: {
9269
9325
  /** Subject of the change request */
9270
9326
  subject?: ChangeRequestSubject;
9271
9327
  description?: JSONDocument;
@@ -9280,7 +9336,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9280
9336
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
9281
9337
  * @secure
9282
9338
  */
9283
- mergeChangeRequest: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<{
9339
+ mergeChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
9284
9340
  /** ID of the resulting revision */
9285
9341
  revision: string;
9286
9342
  result: "merge" | "conflicts";
@@ -9294,7 +9350,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9294
9350
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
9295
9351
  * @secure
9296
9352
  */
9297
- updateChangeRequest: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<{
9353
+ updateChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
9298
9354
  /** ID of the resulting revision */
9299
9355
  revision: string;
9300
9356
  result: "update" | "conflicts";
@@ -9308,7 +9364,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9308
9364
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
9309
9365
  * @secure
9310
9366
  */
9311
- getReviewsByChangeRequestId: (spaceId: string, changeRequestId: string, query?: {
9367
+ getReviewsByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9312
9368
  /** Output format for the content. */
9313
9369
  format?: "document" | "markdown";
9314
9370
  /** Filter reviews marked as outdated. */
@@ -9339,7 +9395,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9339
9395
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
9340
9396
  * @secure
9341
9397
  */
9342
- submitChangeRequestReview: (spaceId: string, changeRequestId: string, data: {
9398
+ submitChangeRequestReview: (spaceId: EntityId, changeRequestId: EntityId, data: {
9343
9399
  /** The status of the submitted review. */
9344
9400
  status: ChangeRequestReviewStatus;
9345
9401
  /** Optionally, provide a comment along with the review. */
@@ -9354,7 +9410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9354
9410
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}
9355
9411
  * @secure
9356
9412
  */
9357
- getChangeRequestReviewById: (spaceId: string, changeRequestId: string, reviewId: string, query?: {
9413
+ getChangeRequestReviewById: (spaceId: EntityId, changeRequestId: EntityId, reviewId: string, query?: {
9358
9414
  /** Output format for the content. */
9359
9415
  format?: "document" | "markdown";
9360
9416
  }, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview, {
@@ -9373,7 +9429,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9373
9429
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
9374
9430
  * @secure
9375
9431
  */
9376
- getRequestedReviewersByChangeRequestId: (spaceId: string, changeRequestId: string, query?: {
9432
+ getRequestedReviewersByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9377
9433
  /** Identifier of the page results to fetch. */
9378
9434
  page?: string;
9379
9435
  /**
@@ -9394,7 +9450,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9394
9450
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
9395
9451
  * @secure
9396
9452
  */
9397
- requestReviewersForChangeRequest: (spaceId: string, changeRequestId: string, data: {
9453
+ requestReviewersForChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, data: {
9398
9454
  /** An array of user ids that will be requested. */
9399
9455
  users: string[];
9400
9456
  /** Optionally, update the subject of the change request when requesting reviewers. */
@@ -9414,7 +9470,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9414
9470
  * @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}
9415
9471
  * @secure
9416
9472
  */
9417
- removeRequestedReviewerFromChangeRequest: (spaceId: string, changeRequestId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9473
+ removeRequestedReviewerFromChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9418
9474
  /**
9419
9475
  * No description
9420
9476
  *
@@ -9424,7 +9480,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9424
9480
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
9425
9481
  * @secure
9426
9482
  */
9427
- listChangeRequestLinks: (spaceId: string, changeRequestId: string, query?: {
9483
+ listChangeRequestLinks: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9428
9484
  /** Identifier of the page results to fetch. */
9429
9485
  page?: string;
9430
9486
  /**
@@ -9460,7 +9516,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9460
9516
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
9461
9517
  * @secure
9462
9518
  */
9463
- listCommentsInChangeRequest: (spaceId: string, changeRequestId: string, query?: {
9519
+ listCommentsInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9464
9520
  /** Identifier of the page results to fetch. */
9465
9521
  page?: string;
9466
9522
  /**
@@ -9497,7 +9553,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9497
9553
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
9498
9554
  * @secure
9499
9555
  */
9500
- postCommentInChangeRequest: (spaceId: string, changeRequestId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
9556
+ postCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
9501
9557
  /**
9502
9558
  * No description
9503
9559
  *
@@ -9507,7 +9563,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9507
9563
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
9508
9564
  * @secure
9509
9565
  */
9510
- getCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, query?: {
9566
+ getCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, query?: {
9511
9567
  /** Output format for the content. */
9512
9568
  format?: "document" | "markdown";
9513
9569
  }, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
@@ -9520,7 +9576,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9520
9576
  * @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
9521
9577
  * @secure
9522
9578
  */
9523
- deleteCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9579
+ deleteCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9524
9580
  /**
9525
9581
  * No description
9526
9582
  *
@@ -9530,7 +9586,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9530
9586
  * @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
9531
9587
  * @secure
9532
9588
  */
9533
- updateCommentInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
9589
+ updateCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
9534
9590
  /**
9535
9591
  * No description
9536
9592
  *
@@ -9540,7 +9596,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9540
9596
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
9541
9597
  * @secure
9542
9598
  */
9543
- listCommentRepliesInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, query?: {
9599
+ listCommentRepliesInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, query?: {
9544
9600
  /** Identifier of the page results to fetch. */
9545
9601
  page?: string;
9546
9602
  /**
@@ -9563,7 +9619,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9563
9619
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
9564
9620
  * @secure
9565
9621
  */
9566
- postCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, data: PostCommentReplySchema, query?: {
9622
+ postCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, data: PostCommentReplySchema, query?: {
9567
9623
  /** Output format for the content. */
9568
9624
  format?: "document" | "markdown";
9569
9625
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
@@ -9576,7 +9632,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9576
9632
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
9577
9633
  * @secure
9578
9634
  */
9579
- getCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, query?: {
9635
+ getCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, query?: {
9580
9636
  /** Output format for the content. */
9581
9637
  format?: "document" | "markdown";
9582
9638
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
@@ -9589,7 +9645,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9589
9645
  * @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
9590
9646
  * @secure
9591
9647
  */
9592
- updateCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
9648
+ updateCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
9593
9649
  /**
9594
9650
  * No description
9595
9651
  *
@@ -9599,7 +9655,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9599
9655
  * @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
9600
9656
  * @secure
9601
9657
  */
9602
- deleteCommentReplyInChangeRequest: (spaceId: string, changeRequestId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9658
+ deleteCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9603
9659
  /**
9604
9660
  * No description
9605
9661
  *
@@ -9609,7 +9665,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9609
9665
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
9610
9666
  * @secure
9611
9667
  */
9612
- getContributorsByChangeRequestId: (spaceId: string, changeRequestId: string, params?: RequestParams) => Promise<HttpResponse<List & {
9668
+ getContributorsByChangeRequestId: (spaceId: EntityId, changeRequestId: EntityId, params?: RequestParams) => Promise<HttpResponse<List & {
9613
9669
  items: ChangeRequestUserContributor[];
9614
9670
  }, {
9615
9671
  error: {
@@ -9627,7 +9683,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9627
9683
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
9628
9684
  * @secure
9629
9685
  */
9630
- getRevisionOfChangeRequestById: (spaceId: string, changeRequestId: string, query?: {
9686
+ getRevisionOfChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9631
9687
  /**
9632
9688
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9633
9689
  * @default true
@@ -9648,7 +9704,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9648
9704
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
9649
9705
  * @secure
9650
9706
  */
9651
- listPagesInChangeRequest: (spaceId: string, changeRequestId: string, query?: {
9707
+ listPagesInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9652
9708
  /**
9653
9709
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9654
9710
  * @default true
@@ -9671,7 +9727,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9671
9727
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
9672
9728
  * @secure
9673
9729
  */
9674
- listFilesInChangeRequestById: (spaceId: string, changeRequestId: string, query?: {
9730
+ listFilesInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9675
9731
  /** Identifier of the page results to fetch. */
9676
9732
  page?: string;
9677
9733
  /**
@@ -9702,7 +9758,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9702
9758
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
9703
9759
  * @secure
9704
9760
  */
9705
- getFileInChangeRequestById: (spaceId: string, changeRequestId: string, fileId: string, query?: {
9761
+ getFileInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, fileId: EntityId, query?: {
9706
9762
  /**
9707
9763
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9708
9764
  * @default true
@@ -9723,7 +9779,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9723
9779
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
9724
9780
  * @secure
9725
9781
  */
9726
- listChangeRequestFileBacklinks: (spaceId: string, changeRequestId: string, fileId: string, query?: {
9782
+ listChangeRequestFileBacklinks: (spaceId: EntityId, changeRequestId: EntityId, fileId: EntityId, query?: {
9727
9783
  /** Identifier of the page results to fetch. */
9728
9784
  page?: string;
9729
9785
  /**
@@ -9744,7 +9800,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9744
9800
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
9745
9801
  * @secure
9746
9802
  */
9747
- getPageInChangeRequestById: (spaceId: string, changeRequestId: string, pageId: string, query?: {
9803
+ getPageInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
9748
9804
  /** Output format for the content. */
9749
9805
  format?: "document" | "markdown";
9750
9806
  /**
@@ -9782,7 +9838,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9782
9838
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
9783
9839
  * @secure
9784
9840
  */
9785
- listPageLinksInChangeRequest: (spaceId: string, changeRequestId: string, pageId: string, query?: {
9841
+ listPageLinksInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
9786
9842
  /** Identifier of the page results to fetch. */
9787
9843
  page?: string;
9788
9844
  /**
@@ -9804,7 +9860,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9804
9860
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
9805
9861
  * @secure
9806
9862
  */
9807
- listChangeRequestPageBacklinks: (spaceId: string, changeRequestId: string, pageId: string, query?: {
9863
+ listChangeRequestPageBacklinks: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, query?: {
9808
9864
  /** Identifier of the page results to fetch. */
9809
9865
  page?: string;
9810
9866
  /**
@@ -9825,7 +9881,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9825
9881
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links
9826
9882
  * @secure
9827
9883
  */
9828
- listChangeRequestPageMetaLinks: (spaceId: string, changeRequestId: string, pageId: string, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
9884
+ listChangeRequestPageMetaLinks: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
9829
9885
  /**
9830
9886
  * No description
9831
9887
  *
@@ -9835,7 +9891,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9835
9891
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
9836
9892
  * @secure
9837
9893
  */
9838
- getReusableContentInChangeRequestById: (spaceId: string, changeRequestId: string, reusableContentId: string, query?: {
9894
+ getReusableContentInChangeRequestById: (spaceId: EntityId, changeRequestId: EntityId, reusableContentId: EntityId, query?: {
9839
9895
  /**
9840
9896
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9841
9897
  * @default true
@@ -9856,7 +9912,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9856
9912
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/changes
9857
9913
  * @secure
9858
9914
  */
9859
- getChangeRequestChanges: (spaceId: string, changeRequestId: string, query?: {
9915
+ getChangeRequestChanges: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9860
9916
  /**
9861
9917
  * Limit the number of changes returned
9862
9918
  * @default 10
@@ -9878,7 +9934,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9878
9934
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
9879
9935
  * @secure
9880
9936
  */
9881
- getChangeRequestPdf: (spaceId: string, changeRequestId: string, query?: {
9937
+ getChangeRequestPdf: (spaceId: EntityId, changeRequestId: EntityId, query?: {
9882
9938
  /** Generate a PDF only for the provided page. */
9883
9939
  only?: boolean;
9884
9940
  /** ID of a specific page to generate a PDF for. */
@@ -9896,7 +9952,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9896
9952
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}
9897
9953
  * @secure
9898
9954
  */
9899
- getRevisionById: (spaceId: string, revisionId: string, query?: {
9955
+ getRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
9900
9956
  /**
9901
9957
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9902
9958
  * @default true
@@ -9917,7 +9973,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9917
9973
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
9918
9974
  * @secure
9919
9975
  */
9920
- getRevisionSemanticChanges: (spaceId: string, revisionId: string, query?: {
9976
+ getRevisionSemanticChanges: (spaceId: EntityId, revisionId: EntityId, query?: {
9921
9977
  /**
9922
9978
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9923
9979
  * @default true
@@ -9943,7 +9999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9943
9999
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
9944
10000
  * @secure
9945
10001
  */
9946
- listPagesInRevisionById: (spaceId: string, revisionId: string, query?: {
10002
+ listPagesInRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
9947
10003
  /**
9948
10004
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
9949
10005
  * @default true
@@ -9966,7 +10022,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9966
10022
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
9967
10023
  * @secure
9968
10024
  */
9969
- listFilesInRevisionById: (spaceId: string, revisionId: string, query?: {
10025
+ listFilesInRevisionById: (spaceId: EntityId, revisionId: EntityId, query?: {
9970
10026
  /** Identifier of the page results to fetch. */
9971
10027
  page?: string;
9972
10028
  /**
@@ -9997,7 +10053,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9997
10053
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
9998
10054
  * @secure
9999
10055
  */
10000
- getFileInRevisionById: (spaceId: string, revisionId: string, fileId: string, query?: {
10056
+ getFileInRevisionById: (spaceId: EntityId, revisionId: EntityId, fileId: EntityId, query?: {
10001
10057
  /**
10002
10058
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
10003
10059
  * @default true
@@ -10018,7 +10074,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10018
10074
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
10019
10075
  * @secure
10020
10076
  */
10021
- getPageInRevisionById: (spaceId: string, revisionId: string, pageId: string, query?: {
10077
+ getPageInRevisionById: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, query?: {
10022
10078
  /** Output format for the content. */
10023
10079
  format?: "document" | "markdown";
10024
10080
  /**
@@ -10056,7 +10112,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10056
10112
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document
10057
10113
  * @secure
10058
10114
  */
10059
- getPageDocumentInRevisionById: (spaceId: string, revisionId: string, pageId: string, query?: {
10115
+ getPageDocumentInRevisionById: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, query?: {
10060
10116
  /**
10061
10117
  * Controls whether the document should be evaluated.
10062
10118
  * - When set to `true`, the entire document will be evaluated.
@@ -10082,7 +10138,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10082
10138
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
10083
10139
  * @secure
10084
10140
  */
10085
- getPageInRevisionByPath: (spaceId: string, revisionId: string, pagePath: string, query?: {
10141
+ getPageInRevisionByPath: (spaceId: EntityId, revisionId: EntityId, pagePath: string, query?: {
10086
10142
  /** Output format for the content. */
10087
10143
  format?: "document" | "markdown";
10088
10144
  /**
@@ -10120,7 +10176,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10120
10176
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links
10121
10177
  * @secure
10122
10178
  */
10123
- listRevisionPageMetaLinks: (spaceId: string, revisionId: string, pageId: string, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
10179
+ listRevisionPageMetaLinks: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
10124
10180
  /**
10125
10181
  * No description
10126
10182
  *
@@ -10130,7 +10186,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10130
10186
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
10131
10187
  * @secure
10132
10188
  */
10133
- getPageInChangeRequestByPath: (spaceId: string, changeRequestId: string, pagePath: string, query?: {
10189
+ getPageInChangeRequestByPath: (spaceId: EntityId, changeRequestId: EntityId, pagePath: string, query?: {
10134
10190
  /** Output format for the content. */
10135
10191
  format?: "document" | "markdown";
10136
10192
  /**
@@ -10168,7 +10224,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10168
10224
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
10169
10225
  * @secure
10170
10226
  */
10171
- getReusableContentInRevisionById: (spaceId: string, revisionId: string, reusableContentId: string, query?: {
10227
+ getReusableContentInRevisionById: (spaceId: EntityId, revisionId: EntityId, reusableContentId: EntityId, query?: {
10172
10228
  /**
10173
10229
  * If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
10174
10230
  * @default true
@@ -10189,7 +10245,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10189
10245
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document
10190
10246
  * @secure
10191
10247
  */
10192
- getReusableContentDocumentInRevisionById: (spaceId: string, revisionId: string, reusableContentId: string, query?: {
10248
+ getReusableContentDocumentInRevisionById: (spaceId: EntityId, revisionId: EntityId, reusableContentId: EntityId, query?: {
10193
10249
  /**
10194
10250
  * Controls whether the document should be evaluated.
10195
10251
  * - When set to `true`, the entire document will be evaluated.
@@ -10215,7 +10271,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10215
10271
  * @request GET:/spaces/{spaceId}/comments
10216
10272
  * @secure
10217
10273
  */
10218
- listCommentsInSpace: (spaceId: string, query?: {
10274
+ listCommentsInSpace: (spaceId: EntityId, query?: {
10219
10275
  /** Identifier of the page results to fetch. */
10220
10276
  page?: string;
10221
10277
  /**
@@ -10252,7 +10308,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10252
10308
  * @request POST:/spaces/{spaceId}/comments
10253
10309
  * @secure
10254
10310
  */
10255
- postCommentInSpace: (spaceId: string, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10311
+ postCommentInSpace: (spaceId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10256
10312
  /**
10257
10313
  * No description
10258
10314
  *
@@ -10262,7 +10318,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10262
10318
  * @request GET:/spaces/{spaceId}/comments/{commentId}
10263
10319
  * @secure
10264
10320
  */
10265
- getCommentInSpace: (spaceId: string, commentId: string, query?: {
10321
+ getCommentInSpace: (spaceId: EntityId, commentId: EntityId, query?: {
10266
10322
  /** Output format for the content. */
10267
10323
  format?: "document" | "markdown";
10268
10324
  }, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
@@ -10275,7 +10331,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10275
10331
  * @request DELETE:/spaces/{spaceId}/comments/{commentId}
10276
10332
  * @secure
10277
10333
  */
10278
- deleteCommentInSpace: (spaceId: string, commentId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10334
+ deleteCommentInSpace: (spaceId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10279
10335
  /**
10280
10336
  * No description
10281
10337
  *
@@ -10285,7 +10341,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10285
10341
  * @request PUT:/spaces/{spaceId}/comments/{commentId}
10286
10342
  * @secure
10287
10343
  */
10288
- updateCommentInSpace: (spaceId: string, commentId: string, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10344
+ updateCommentInSpace: (spaceId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10289
10345
  /**
10290
10346
  * No description
10291
10347
  *
@@ -10295,7 +10351,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10295
10351
  * @request GET:/spaces/{spaceId}/comments/{commentId}/replies
10296
10352
  * @secure
10297
10353
  */
10298
- listCommentRepliesInSpace: (spaceId: string, commentId: string, query?: {
10354
+ listCommentRepliesInSpace: (spaceId: EntityId, commentId: EntityId, query?: {
10299
10355
  /** Identifier of the page results to fetch. */
10300
10356
  page?: string;
10301
10357
  /**
@@ -10318,7 +10374,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10318
10374
  * @request POST:/spaces/{spaceId}/comments/{commentId}/replies
10319
10375
  * @secure
10320
10376
  */
10321
- postCommentReplyInSpace: (spaceId: string, commentId: string, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
10377
+ postCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
10322
10378
  /**
10323
10379
  * No description
10324
10380
  *
@@ -10328,7 +10384,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10328
10384
  * @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
10329
10385
  * @secure
10330
10386
  */
10331
- getCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, query?: {
10387
+ getCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, query?: {
10332
10388
  /** Output format for the content. */
10333
10389
  format?: "document" | "markdown";
10334
10390
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
@@ -10341,7 +10397,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10341
10397
  * @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
10342
10398
  * @secure
10343
10399
  */
10344
- updateCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
10400
+ updateCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, data: UpdateCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
10345
10401
  /**
10346
10402
  * No description
10347
10403
  *
@@ -10351,7 +10407,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10351
10407
  * @request DELETE:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
10352
10408
  * @secure
10353
10409
  */
10354
- deleteCommentReplyInSpace: (spaceId: string, commentId: string, commentReplyId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10410
+ deleteCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10355
10411
  /**
10356
10412
  * No description
10357
10413
  *
@@ -10361,7 +10417,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10361
10417
  * @request GET:/spaces/{spaceId}/commenters
10362
10418
  * @secure
10363
10419
  */
10364
- listCommentersInSpace: (spaceId: string, query?: {
10420
+ listCommentersInSpace: (spaceId: EntityId, query?: {
10365
10421
  /** Identifier of the page results to fetch. */
10366
10422
  page?: string;
10367
10423
  /**
@@ -10382,7 +10438,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10382
10438
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/commenters
10383
10439
  * @secure
10384
10440
  */
10385
- listCommentersInChangeRequest: (spaceId: string, changeRequestId: string, query?: {
10441
+ listCommentersInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, query?: {
10386
10442
  /** Identifier of the page results to fetch. */
10387
10443
  page?: string;
10388
10444
  /**
@@ -10403,7 +10459,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10403
10459
  * @request GET:/spaces/{spaceId}/permissions/aggregate
10404
10460
  * @secure
10405
10461
  */
10406
- listPermissionsAggregateInSpace: (spaceId: string, query?: {
10462
+ listPermissionsAggregateInSpace: (spaceId: EntityId, query?: {
10407
10463
  /** Identifier of the page results to fetch. */
10408
10464
  page?: string;
10409
10465
  /**
@@ -10426,7 +10482,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10426
10482
  * @request GET:/spaces/{spaceId}/integrations
10427
10483
  * @secure
10428
10484
  */
10429
- listSpaceIntegrations: (spaceId: string, query?: {
10485
+ listSpaceIntegrations: (spaceId: EntityId, query?: {
10430
10486
  /** A search string to filter integrations by name */
10431
10487
  search?: string;
10432
10488
  }, params?: RequestParams) => Promise<HttpResponse<List & {
@@ -10441,7 +10497,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10441
10497
  * @request GET:/spaces/{spaceId}/integration-blocks
10442
10498
  * @secure
10443
10499
  */
10444
- listSpaceIntegrationsBlocks: (spaceId: string, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks, {
10500
+ listSpaceIntegrationsBlocks: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<SpaceIntegrationBlocks, {
10445
10501
  error: {
10446
10502
  /** @format int32 */
10447
10503
  code: 404;
@@ -10457,7 +10513,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10457
10513
  * @request GET:/spaces/{spaceId}/pdf
10458
10514
  * @secure
10459
10515
  */
10460
- getSpacePdf: (spaceId: string, query?: {
10516
+ getSpacePdf: (spaceId: EntityId, query?: {
10461
10517
  /** Generate a PDF only for the provided page. */
10462
10518
  only?: boolean;
10463
10519
  /** ID of a specific page to generate a PDF for. */
@@ -10475,7 +10531,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10475
10531
  * @request GET:/spaces/{spaceId}/links
10476
10532
  * @secure
10477
10533
  */
10478
- listSpaceLinks: (spaceId: string, query?: {
10534
+ listSpaceLinks: (spaceId: EntityId, query?: {
10479
10535
  /** Identifier of the page results to fetch. */
10480
10536
  page?: string;
10481
10537
  /**
@@ -10512,7 +10568,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10512
10568
  * @request GET:/collections/{collectionId}
10513
10569
  * @secure
10514
10570
  */
10515
- getCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
10571
+ getCollectionById: (collectionId: EntityId, params?: RequestParams) => Promise<HttpResponse<Collection, any>>;
10516
10572
  /**
10517
10573
  * No description
10518
10574
  *
@@ -10522,7 +10578,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10522
10578
  * @request PATCH:/collections/{collectionId}
10523
10579
  * @secure
10524
10580
  */
10525
- updateCollectionById: (collectionId: string, data: {
10581
+ updateCollectionById: (collectionId: EntityId, data: {
10526
10582
  /** Title of the collection */
10527
10583
  title?: CollectionTitle;
10528
10584
  /** Description of the collection */
@@ -10539,7 +10595,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10539
10595
  * @request DELETE:/collections/{collectionId}
10540
10596
  * @secure
10541
10597
  */
10542
- deleteCollectionById: (collectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10598
+ deleteCollectionById: (collectionId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10543
10599
  /**
10544
10600
  * No description
10545
10601
  *
@@ -10549,7 +10605,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10549
10605
  * @request GET:/collections/{collectionId}/spaces
10550
10606
  * @secure
10551
10607
  */
10552
- listSpacesInCollectionById: (collectionId: string, query?: {
10608
+ listSpacesInCollectionById: (collectionId: EntityId, query?: {
10553
10609
  /** Identifier of the page results to fetch. */
10554
10610
  page?: string;
10555
10611
  /**
@@ -10570,7 +10626,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10570
10626
  * @request POST:/collections/{collectionId}/move
10571
10627
  * @secure
10572
10628
  */
10573
- moveCollection: (collectionId: string, data: {
10629
+ moveCollection: (collectionId: EntityId, data: {
10574
10630
  /** The unique id of the parent collection */
10575
10631
  parent?: string | null;
10576
10632
  /** Where to move the collection. By default, it will be moved at the end. */
@@ -10603,7 +10659,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10603
10659
  * @request POST:/collections/{collectionId}/transfer
10604
10660
  * @secure
10605
10661
  */
10606
- transferCollection: (collectionId: string, data: {
10662
+ transferCollection: (collectionId: EntityId, data: {
10607
10663
  /** The unique id of the target organization */
10608
10664
  organization: string;
10609
10665
  }, params?: RequestParams) => Promise<HttpResponse<Collection, {
@@ -10634,7 +10690,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10634
10690
  * @request POST:/collections/{collectionId}/permissions
10635
10691
  * @secure
10636
10692
  */
10637
- inviteToCollection: (collectionId: string, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
10693
+ inviteToCollection: (collectionId: EntityId, data: InviteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
10638
10694
  error: {
10639
10695
  /** @format int32 */
10640
10696
  code: 404;
@@ -10650,7 +10706,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10650
10706
  * @request GET:/collections/{collectionId}/permissions/teams
10651
10707
  * @secure
10652
10708
  */
10653
- listTeamPermissionsInCollection: (collectionId: string, query?: {
10709
+ listTeamPermissionsInCollection: (collectionId: EntityId, query?: {
10654
10710
  /** Identifier of the page results to fetch. */
10655
10711
  page?: string;
10656
10712
  /**
@@ -10683,7 +10739,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10683
10739
  * @request PATCH:/collections/{collectionId}/permissions/teams/{teamId}
10684
10740
  * @secure
10685
10741
  */
10686
- updateTeamPermissionInCollection: (collectionId: string, teamId: string, data: {
10742
+ updateTeamPermissionInCollection: (collectionId: EntityId, teamId: EntityId, data: {
10687
10743
  /** The role of a member in an organization, null for guests */
10688
10744
  role?: MemberRoleOrGuest;
10689
10745
  }, params?: RequestParams) => Promise<HttpResponse<void, {
@@ -10702,7 +10758,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10702
10758
  * @request DELETE:/collections/{collectionId}/permissions/teams/{teamId}
10703
10759
  * @secure
10704
10760
  */
10705
- removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10761
+ removeTeamFromCollection: (collectionId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10706
10762
  /**
10707
10763
  * No description
10708
10764
  *
@@ -10712,7 +10768,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10712
10768
  * @request GET:/collections/{collectionId}/permissions/users
10713
10769
  * @secure
10714
10770
  */
10715
- listUserPermissionsInCollection: (collectionId: string, query?: {
10771
+ listUserPermissionsInCollection: (collectionId: EntityId, query?: {
10716
10772
  /** Identifier of the page results to fetch. */
10717
10773
  page?: string;
10718
10774
  /**
@@ -10739,7 +10795,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10739
10795
  * @request PATCH:/collections/{collectionId}/permissions/users/{userId}
10740
10796
  * @secure
10741
10797
  */
10742
- updateUserPermissionInCollection: (collectionId: string, userId: string, data: {
10798
+ updateUserPermissionInCollection: (collectionId: EntityId, userId: string, data: {
10743
10799
  /** The role of a member in an organization, null for guests */
10744
10800
  role?: MemberRoleOrGuest;
10745
10801
  }, params?: RequestParams) => Promise<HttpResponse<void, {
@@ -10758,7 +10814,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10758
10814
  * @request DELETE:/collections/{collectionId}/permissions/users/{userId}
10759
10815
  * @secure
10760
10816
  */
10761
- removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10817
+ removeUserFromCollection: (collectionId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10762
10818
  /**
10763
10819
  * No description
10764
10820
  *
@@ -10768,7 +10824,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10768
10824
  * @request GET:/collections/{collectionId}/permissions/aggregate
10769
10825
  * @secure
10770
10826
  */
10771
- listPermissionsAggregateInCollection: (collectionId: string, query?: {
10827
+ listPermissionsAggregateInCollection: (collectionId: EntityId, query?: {
10772
10828
  /** Identifier of the page results to fetch. */
10773
10829
  page?: string;
10774
10830
  /**
@@ -11199,7 +11255,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11199
11255
  * @request GET:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
11200
11256
  * @secure
11201
11257
  */
11202
- getIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: string, query?: {
11258
+ getIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: EntityId, query?: {
11203
11259
  /**
11204
11260
  * If true, returns the space object in each items. If false, returns the space ID in each items.
11205
11261
  * @default false
@@ -11221,7 +11277,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11221
11277
  * @request PATCH:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
11222
11278
  * @secure
11223
11279
  */
11224
- updateIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: string, data: UpdateIntegrationSpaceInstallation, query?: {
11280
+ updateIntegrationSpaceInstallation: (integrationName: string, installationId: string, spaceId: EntityId, data: UpdateIntegrationSpaceInstallation, query?: {
11225
11281
  /**
11226
11282
  * If true, returns the space object in each items. If false, returns the space ID in each items.
11227
11283
  * @default false
@@ -11237,7 +11293,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11237
11293
  * @request DELETE:/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
11238
11294
  * @secure
11239
11295
  */
11240
- uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11296
+ uninstallIntegrationFromSpace: (integrationName: string, installationId: string, spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11241
11297
  /**
11242
11298
  * No description
11243
11299
  *
@@ -11369,7 +11425,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11369
11425
  * @request GET:/orgs/{organizationId}
11370
11426
  * @secure
11371
11427
  */
11372
- getOrganizationById: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<Organization, {
11428
+ getOrganizationById: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<Organization, {
11373
11429
  error: {
11374
11430
  /** @format int32 */
11375
11431
  code: 404;
@@ -11385,7 +11441,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11385
11441
  * @request PATCH:/orgs/{organizationId}
11386
11442
  * @secure
11387
11443
  */
11388
- updateOrganizationById: (organizationId: string, data: {
11444
+ updateOrganizationById: (organizationId: EntityId, data: {
11389
11445
  /** Name of the organization */
11390
11446
  title?: OrganizationTitle;
11391
11447
  emailDomains?: OrganizationEmailDomains;
@@ -11415,7 +11471,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11415
11471
  * @request GET:/orgs/{organizationId}/members
11416
11472
  * @secure
11417
11473
  */
11418
- listMembersInOrganizationById: (organizationId: string, query?: {
11474
+ listMembersInOrganizationById: (organizationId: EntityId, query?: {
11419
11475
  /** Identifier of the page results to fetch. */
11420
11476
  page?: string;
11421
11477
  /**
@@ -11450,7 +11506,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11450
11506
  * @request GET:/orgs/{organizationId}/members/{userId}
11451
11507
  * @secure
11452
11508
  */
11453
- getMemberInOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
11509
+ getMemberInOrganizationById: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
11454
11510
  /**
11455
11511
  * No description
11456
11512
  *
@@ -11460,7 +11516,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11460
11516
  * @request PATCH:/orgs/{organizationId}/members/{userId}
11461
11517
  * @secure
11462
11518
  */
11463
- updateMemberInOrganizationById: (organizationId: string, userId: string, data: {
11519
+ updateMemberInOrganizationById: (organizationId: EntityId, userId: string, data: {
11464
11520
  /** The role of a member in an organization, null for guests */
11465
11521
  role?: MemberRoleOrGuest;
11466
11522
  }, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
@@ -11473,7 +11529,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11473
11529
  * @request DELETE:/orgs/{organizationId}/members/{userId}
11474
11530
  * @secure
11475
11531
  */
11476
- removeMemberFromOrganizationById: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11532
+ removeMemberFromOrganizationById: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11477
11533
  /**
11478
11534
  * No description
11479
11535
  *
@@ -11483,7 +11539,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11483
11539
  * @request POST:/orgs/{organizationId}/ping
11484
11540
  * @secure
11485
11541
  */
11486
- updateOrganizationMemberLastSeenAt: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
11542
+ updateOrganizationMemberLastSeenAt: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
11487
11543
  /** A JTW token containing the claims to attach to this user. */
11488
11544
  gitbookVisitorClaims?: string;
11489
11545
  }, any>>;
@@ -11496,7 +11552,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11496
11552
  * @request POST:/orgs/{organizationId}/members/{userId}/sso
11497
11553
  * @secure
11498
11554
  */
11499
- setUserAsSsoMemberForOrganization: (organizationId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
11555
+ setUserAsSsoMemberForOrganization: (organizationId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationMember, any>>;
11500
11556
  /**
11501
11557
  * No description
11502
11558
  *
@@ -11506,7 +11562,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11506
11562
  * @request GET:/orgs/{organizationId}/members/{userId}/spaces
11507
11563
  * @secure
11508
11564
  */
11509
- listSpacesForOrganizationMember: (organizationId: string, userId: string, query?: {
11565
+ listSpacesForOrganizationMember: (organizationId: EntityId, userId: string, query?: {
11510
11566
  /** Identifier of the page results to fetch. */
11511
11567
  page?: string;
11512
11568
  /**
@@ -11532,7 +11588,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11532
11588
  * @request GET:/orgs/{organizationId}/members/{userId}/teams
11533
11589
  * @secure
11534
11590
  */
11535
- listTeamsForOrganizationMember: (organizationId: string, userId: string, query?: {
11591
+ listTeamsForOrganizationMember: (organizationId: EntityId, userId: string, query?: {
11536
11592
  /** Identifier of the page results to fetch. */
11537
11593
  page?: string;
11538
11594
  /**
@@ -11558,7 +11614,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11558
11614
  * @request GET:/orgs/{organizationId}/teams
11559
11615
  * @secure
11560
11616
  */
11561
- listTeamsInOrganizationById: (organizationId: string, query?: {
11617
+ listTeamsInOrganizationById: (organizationId: EntityId, query?: {
11562
11618
  /** Identifier of the page results to fetch. */
11563
11619
  page?: string;
11564
11620
  /**
@@ -11583,7 +11639,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11583
11639
  * @request PUT:/orgs/{organizationId}/teams
11584
11640
  * @secure
11585
11641
  */
11586
- createOrganizationTeam: (organizationId: string, data: {
11642
+ createOrganizationTeam: (organizationId: EntityId, data: {
11587
11643
  /** Title of the team */
11588
11644
  title: OrganizationTeamTitle;
11589
11645
  /** A list of organization member identifiers */
@@ -11598,7 +11654,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11598
11654
  * @request GET:/orgs/{organizationId}/teams/{teamId}
11599
11655
  * @secure
11600
11656
  */
11601
- getTeamInOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
11657
+ getTeamInOrganizationById: (organizationId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
11602
11658
  /**
11603
11659
  * No description
11604
11660
  *
@@ -11608,7 +11664,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11608
11664
  * @request PATCH:/orgs/{organizationId}/teams/{teamId}
11609
11665
  * @secure
11610
11666
  */
11611
- updateTeamInOrganizationById: (organizationId: string, teamId: string, data: {
11667
+ updateTeamInOrganizationById: (organizationId: EntityId, teamId: EntityId, data: {
11612
11668
  /** Title of the team */
11613
11669
  title: OrganizationTeamTitle;
11614
11670
  }, params?: RequestParams) => Promise<HttpResponse<OrganizationTeam, any>>;
@@ -11621,7 +11677,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11621
11677
  * @request DELETE:/orgs/{organizationId}/teams/{teamId}
11622
11678
  * @secure
11623
11679
  */
11624
- removeTeamFromOrganizationById: (organizationId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11680
+ removeTeamFromOrganizationById: (organizationId: EntityId, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11625
11681
  /**
11626
11682
  * @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
11683
  *
@@ -11631,7 +11687,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11631
11687
  * @request PUT:/orgs/{organizationId}/teams/{teamId}/members
11632
11688
  * @secure
11633
11689
  */
11634
- updateMembersInOrganizationTeam: (organizationId: string, teamId: string, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11690
+ updateMembersInOrganizationTeam: (organizationId: EntityId, teamId: EntityId, data: UpdateMembersInOrganizationTeam, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11635
11691
  /**
11636
11692
  * @description Lists members, and their roles, for the specified organization team.
11637
11693
  *
@@ -11641,7 +11697,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11641
11697
  * @request GET:/orgs/{organizationId}/teams/{teamId}/members
11642
11698
  * @secure
11643
11699
  */
11644
- listTeamMembersInOrganizationById: (organizationId: string, teamId: string, query?: {
11700
+ listTeamMembersInOrganizationById: (organizationId: EntityId, teamId: EntityId, query?: {
11645
11701
  /** Identifier of the page results to fetch. */
11646
11702
  page?: string;
11647
11703
  /**
@@ -11662,7 +11718,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11662
11718
  * @request PUT:/orgs/{organizationId}/teams/{teamId}/members/{userId}
11663
11719
  * @secure
11664
11720
  */
11665
- addMemberToOrganizationTeamById: (organizationId: string, teamId: string, userId: string, data: {
11721
+ addMemberToOrganizationTeamById: (organizationId: EntityId, teamId: EntityId, userId: string, data: {
11666
11722
  /**
11667
11723
  * "The role of a team member.
11668
11724
  * "owner": Can manage team members.
@@ -11679,7 +11735,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11679
11735
  * @request DELETE:/orgs/{organizationId}/teams/{teamId}/members/{userId}
11680
11736
  * @secure
11681
11737
  */
11682
- deleteMemberFromOrganizationTeamById: (organizationId: string, teamId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11738
+ deleteMemberFromOrganizationTeamById: (organizationId: EntityId, teamId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11683
11739
  /**
11684
11740
  * No description
11685
11741
  *
@@ -11689,7 +11745,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11689
11745
  * @request POST:/orgs/{organizationId}/invites
11690
11746
  * @secure
11691
11747
  */
11692
- inviteUsersToOrganization: (organizationId: string, data: InviteUsersToOrganization, params?: RequestParams) => Promise<HttpResponse<{
11748
+ inviteUsersToOrganization: (organizationId: EntityId, data: InviteUsersToOrganization, params?: RequestParams) => Promise<HttpResponse<{
11693
11749
  users: string[];
11694
11750
  /** The number of users who were added to the organization */
11695
11751
  invited: number;
@@ -11710,7 +11766,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11710
11766
  * @request POST:/orgs/{organizationId}/invites/{inviteId}
11711
11767
  * @secure
11712
11768
  */
11713
- joinOrganizationWithInvite: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<object, any>>;
11769
+ joinOrganizationWithInvite: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<object, any>>;
11714
11770
  /**
11715
11771
  * No description
11716
11772
  *
@@ -11720,7 +11776,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11720
11776
  * @request GET:/orgs/{organizationId}/link-invites
11721
11777
  * @secure
11722
11778
  */
11723
- listOrganizationInviteLinks: (organizationId: string, query?: {
11779
+ listOrganizationInviteLinks: (organizationId: EntityId, query?: {
11724
11780
  /** Identifier of the page results to fetch. */
11725
11781
  page?: string;
11726
11782
  /**
@@ -11741,7 +11797,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11741
11797
  * @request POST:/orgs/{organizationId}/link-invites
11742
11798
  * @secure
11743
11799
  */
11744
- createOrganizationInvite: (organizationId: string, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
11800
+ createOrganizationInvite: (organizationId: EntityId, data: CreateOrganizationInvite, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
11745
11801
  /**
11746
11802
  * No description
11747
11803
  *
@@ -11751,7 +11807,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11751
11807
  * @request GET:/orgs/{organizationId}/link-invites/{inviteId}
11752
11808
  * @secure
11753
11809
  */
11754
- getOrganizationInviteLink: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
11810
+ getOrganizationInviteLink: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationInviteLink, any>>;
11755
11811
  /**
11756
11812
  * No description
11757
11813
  *
@@ -11761,7 +11817,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11761
11817
  * @request PATCH:/orgs/{organizationId}/link-invites/{inviteId}
11762
11818
  * @secure
11763
11819
  */
11764
- updateOrganizationInviteById: (organizationId: string, inviteId: string, data: {
11820
+ updateOrganizationInviteById: (organizationId: EntityId, inviteId: EntityId, data: {
11765
11821
  /** The role of a member in an organization, null for guests */
11766
11822
  role: MemberRoleOrGuest;
11767
11823
  } | {
@@ -11777,7 +11833,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11777
11833
  * @request DELETE:/orgs/{organizationId}/link-invites/{inviteId}
11778
11834
  * @secure
11779
11835
  */
11780
- deleteOrganizationInviteById: (organizationId: string, inviteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11836
+ deleteOrganizationInviteById: (organizationId: EntityId, inviteId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11781
11837
  /**
11782
11838
  * @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
11839
  *
@@ -11787,7 +11843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11787
11843
  * @request POST:/orgs/{organizationId}/join
11788
11844
  * @secure
11789
11845
  */
11790
- joinOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
11846
+ joinOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, {
11791
11847
  error: {
11792
11848
  /** @format int32 */
11793
11849
  code: 400;
@@ -11809,7 +11865,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11809
11865
  * @request GET:/orgs/{organizationId}/search
11810
11866
  * @secure
11811
11867
  */
11812
- searchOrganizationContent: (organizationId: string, query: {
11868
+ searchOrganizationContent: (organizationId: EntityId, query: {
11813
11869
  /** @maxLength 512 */
11814
11870
  query: string;
11815
11871
  /** Identifier of the page results to fetch. */
@@ -11832,7 +11888,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11832
11888
  * @request GET:/orgs/{organizationId}/change-requests
11833
11889
  * @secure
11834
11890
  */
11835
- listChangeRequestsForOrganization: (organizationId: string, query?: {
11891
+ listChangeRequestsForOrganization: (organizationId: EntityId, query?: {
11836
11892
  /** Identifier of the page results to fetch. */
11837
11893
  page?: string;
11838
11894
  /**
@@ -11852,6 +11908,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11852
11908
  contributor?: string;
11853
11909
  /** If defined, only change requests with a requested reviewer for this user will be returned. */
11854
11910
  requestedReviewer?: string;
11911
+ /** If defined, only change requests linked to this site topic will be returned. */
11912
+ topic?: string;
11855
11913
  /** The field to sort change requests by. Defaults to 'updatedAt'. */
11856
11914
  orderBy?: ChangeRequestOrderBy;
11857
11915
  }, params?: RequestParams) => Promise<HttpResponse<List & {
@@ -11866,7 +11924,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11866
11924
  * @request GET:/orgs/{organizationId}/spaces
11867
11925
  * @secure
11868
11926
  */
11869
- listSpacesInOrganizationById: (organizationId: string, query?: {
11927
+ listSpacesInOrganizationById: (organizationId: EntityId, query?: {
11870
11928
  /** Identifier of the page results to fetch. */
11871
11929
  page?: string;
11872
11930
  /**
@@ -11887,7 +11945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11887
11945
  * @request POST:/orgs/{organizationId}/spaces
11888
11946
  * @secure
11889
11947
  */
11890
- createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
11948
+ createSpace: (organizationId: EntityId, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
11891
11949
  /**
11892
11950
  * No description
11893
11951
  *
@@ -11897,7 +11955,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11897
11955
  * @request GET:/orgs/{organizationId}/collections
11898
11956
  * @secure
11899
11957
  */
11900
- listCollectionsInOrganizationById: (organizationId: string, query?: {
11958
+ listCollectionsInOrganizationById: (organizationId: EntityId, query?: {
11901
11959
  /** Identifier of the page results to fetch. */
11902
11960
  page?: string;
11903
11961
  /**
@@ -11923,7 +11981,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11923
11981
  * @request POST:/orgs/{organizationId}/collections
11924
11982
  * @secure
11925
11983
  */
11926
- createCollection: (organizationId: string, data: {
11984
+ createCollection: (organizationId: EntityId, data: {
11927
11985
  /** @maxLength 50 */
11928
11986
  title?: string;
11929
11987
  /** ID of a parent collection */
@@ -11938,7 +11996,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11938
11996
  * @request GET:/orgs/{organizationId}/integrations
11939
11997
  * @secure
11940
11998
  */
11941
- listOrganizationIntegrations: (organizationId: string, query?: {
11999
+ listOrganizationIntegrations: (organizationId: EntityId, query?: {
11942
12000
  /** Identifier of the page results to fetch. */
11943
12001
  page?: string;
11944
12002
  /**
@@ -11979,7 +12037,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11979
12037
  * @request GET:/orgs/{organizationId}/integrations/{integrationName}/installation_status
11980
12038
  * @secure
11981
12039
  */
11982
- getOrganizationIntegrationStatus: (organizationId: string, integrationName: string, params?: RequestParams) => Promise<HttpResponse<{
12040
+ getOrganizationIntegrationStatus: (organizationId: EntityId, integrationName: string, params?: RequestParams) => Promise<HttpResponse<{
11983
12041
  status: IntegrationInstallationStatus;
11984
12042
  }, {
11985
12043
  error: {
@@ -11997,7 +12055,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11997
12055
  * @request GET:/orgs/{organizationId}/installations
11998
12056
  * @secure
11999
12057
  */
12000
- listOrganizationInstallations: (organizationId: string, query?: {
12058
+ listOrganizationInstallations: (organizationId: EntityId, query?: {
12001
12059
  /** Identifier of the page results to fetch. */
12002
12060
  page?: string;
12003
12061
  /**
@@ -12024,7 +12082,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12024
12082
  * @request GET:/orgs/{organizationId}/integrations/installations-status
12025
12083
  * @secure
12026
12084
  */
12027
- listOrganizationIntegrationsStatus: (organizationId: string, query?: {
12085
+ listOrganizationIntegrationsStatus: (organizationId: EntityId, query?: {
12028
12086
  /** Identifier of the page results to fetch. */
12029
12087
  page?: string;
12030
12088
  /**
@@ -12050,7 +12108,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12050
12108
  * @request GET:/orgs/{organizationId}/saml
12051
12109
  * @secure
12052
12110
  */
12053
- listSamlProvidersInOrganizationById: (organizationId: string, query?: {
12111
+ listSamlProvidersInOrganizationById: (organizationId: EntityId, query?: {
12054
12112
  /** Identifier of the page results to fetch. */
12055
12113
  page?: string;
12056
12114
  /**
@@ -12071,7 +12129,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12071
12129
  * @request POST:/orgs/{organizationId}/saml
12072
12130
  * @secure
12073
12131
  */
12074
- createOrganizationSamlProvider: (organizationId: string, data: {
12132
+ createOrganizationSamlProvider: (organizationId: EntityId, data: {
12075
12133
  label: SAMLProviderLabel;
12076
12134
  entityID?: SAMLProviderEntityID;
12077
12135
  certificate?: SAMLProviderCertificate;
@@ -12089,7 +12147,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12089
12147
  * @request GET:/orgs/{organizationId}/saml/{samlProviderId}
12090
12148
  * @secure
12091
12149
  */
12092
- getOrganizationSamlProviderById: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, {
12150
+ getOrganizationSamlProviderById: (organizationId: EntityId, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationSAMLProvider, {
12093
12151
  error: {
12094
12152
  /** @format int32 */
12095
12153
  code: 404;
@@ -12105,7 +12163,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12105
12163
  * @request PATCH:/orgs/{organizationId}/saml/{samlProviderId}
12106
12164
  * @secure
12107
12165
  */
12108
- updateOrganizationSamlProvider: (organizationId: string, samlProviderId: string, data: {
12166
+ updateOrganizationSamlProvider: (organizationId: EntityId, samlProviderId: string, data: {
12109
12167
  label?: SAMLProviderLabel;
12110
12168
  entityID?: SAMLProviderEntityID;
12111
12169
  certificate?: SAMLProviderCertificate;
@@ -12123,7 +12181,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12123
12181
  * @request DELETE:/orgs/{organizationId}/saml/{samlProviderId}
12124
12182
  * @secure
12125
12183
  */
12126
- deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12184
+ deleteOrganizationSamlProvider: (organizationId: EntityId, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12127
12185
  /**
12128
12186
  * No description
12129
12187
  *
@@ -12133,7 +12191,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12133
12191
  * @request GET:/orgs/{organizationId}/sso
12134
12192
  * @secure
12135
12193
  */
12136
- listSsoProviderLoginsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
12194
+ listSsoProviderLoginsInOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<{
12137
12195
  items: OrganizationSSOProviderLogin[];
12138
12196
  }, any>>;
12139
12197
  /**
@@ -12145,7 +12203,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12145
12203
  * @request POST:/orgs/{organizationId}/ask
12146
12204
  * @secure
12147
12205
  */
12148
- askInOrganization: (organizationId: string, data: SearchAIQuery, query?: {
12206
+ askInOrganization: (organizationId: EntityId, data: SearchAIQuery, query?: {
12149
12207
  /** Output format for the content. */
12150
12208
  format?: "document" | "markdown";
12151
12209
  /** Return query details in the result */
@@ -12163,7 +12221,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12163
12221
  * @request GET:/orgs/{organizationId}/ask/questions
12164
12222
  * @secure
12165
12223
  */
12166
- getRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions, any>>;
12224
+ getRecommendedQuestionsInOrganization: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<SearchAIRecommendedQuestions, any>>;
12167
12225
  /**
12168
12226
  * No description
12169
12227
  *
@@ -12173,7 +12231,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12173
12231
  * @request GET:/orgs/{organizationId}/ask/questions/stream
12174
12232
  * @secure
12175
12233
  */
12176
- streamRecommendedQuestionsInOrganization: (organizationId: string, params?: RequestParams) => EventIterator<SearchAIRecommendedQuestionStream>;
12234
+ streamRecommendedQuestionsInOrganization: (organizationId: EntityId, params?: RequestParams) => EventIterator<SearchAIRecommendedQuestionStream>;
12177
12235
  /**
12178
12236
  * @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
12237
  *
@@ -12183,7 +12241,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12183
12241
  * @request GET:/orgs/{organizationId}/ask/stream
12184
12242
  * @secure
12185
12243
  */
12186
- streamAskInOrganization: (organizationId: string, query: {
12244
+ streamAskInOrganization: (organizationId: EntityId, query: {
12187
12245
  query: string;
12188
12246
  /** Output format for the content. */
12189
12247
  format?: "document" | "markdown";
@@ -12199,7 +12257,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12199
12257
  * @request GET:/orgs/{organizationId}/openapi
12200
12258
  * @secure
12201
12259
  */
12202
- listOpenApiSpecs: (organizationId: string, query?: {
12260
+ listOpenApiSpecs: (organizationId: EntityId, query?: {
12203
12261
  /** Identifier of the page results to fetch. */
12204
12262
  page?: string;
12205
12263
  /**
@@ -12220,7 +12278,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12220
12278
  * @request POST:/orgs/{organizationId}/openapi
12221
12279
  * @secure
12222
12280
  */
12223
- createOpenApiSpec: (organizationId: string, data: {
12281
+ createOpenApiSpec: (organizationId: EntityId, data: {
12224
12282
  /** Slug used as reference */
12225
12283
  slug: OpenAPISpecSlug;
12226
12284
  /** Create a specification from an URL */
@@ -12241,7 +12299,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12241
12299
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}
12242
12300
  * @secure
12243
12301
  */
12244
- getOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
12302
+ getOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
12245
12303
  error: {
12246
12304
  /** @format int32 */
12247
12305
  code: 404;
@@ -12257,7 +12315,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12257
12315
  * @request PUT:/orgs/{organizationId}/openapi/{specSlug}
12258
12316
  * @secure
12259
12317
  */
12260
- createOrUpdateOpenApiSpecBySlug: (organizationId: string, specSlug: string, data: {
12318
+ createOrUpdateOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, data: {
12261
12319
  /** Create a specification from an URL */
12262
12320
  source: OpenAPISpecSource;
12263
12321
  }, params?: RequestParams) => Promise<HttpResponse<OpenAPISpec, {
@@ -12276,7 +12334,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12276
12334
  * @request PATCH:/orgs/{organizationId}/openapi/{specSlug}
12277
12335
  * @secure
12278
12336
  */
12279
- updateOpenApiSpecBySlug: (organizationId: string, specSlug: string, data: {
12337
+ updateOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, data: {
12280
12338
  /**
12281
12339
  * The visibility setting of the OpenAPI spec.
12282
12340
  * * `private`: The spec is not publicly available.
@@ -12305,7 +12363,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12305
12363
  * @request DELETE:/orgs/{organizationId}/openapi/{specSlug}
12306
12364
  * @secure
12307
12365
  */
12308
- deleteOpenApiSpecBySlug: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12366
+ deleteOpenApiSpecBySlug: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12309
12367
  /**
12310
12368
  * No description
12311
12369
  *
@@ -12315,7 +12373,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12315
12373
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions
12316
12374
  * @secure
12317
12375
  */
12318
- listOpenApiSpecVersions: (organizationId: string, specSlug: string, query?: {
12376
+ listOpenApiSpecVersions: (organizationId: EntityId, specSlug: string, query?: {
12319
12377
  /** Identifier of the page results to fetch. */
12320
12378
  page?: string;
12321
12379
  /**
@@ -12342,7 +12400,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12342
12400
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest
12343
12401
  * @secure
12344
12402
  */
12345
- getLatestOpenApiSpecVersion: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
12403
+ getLatestOpenApiSpecVersion: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
12346
12404
  error: {
12347
12405
  /** @format int32 */
12348
12406
  code: 404;
@@ -12358,7 +12416,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12358
12416
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content
12359
12417
  * @secure
12360
12418
  */
12361
- getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
12419
+ getLatestOpenApiSpecVersionContent: (organizationId: EntityId, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
12362
12420
  error: {
12363
12421
  /** @format int32 */
12364
12422
  code: 404;
@@ -12374,7 +12432,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12374
12432
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}
12375
12433
  * @secure
12376
12434
  */
12377
- getOpenApiSpecVersionById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
12435
+ getOpenApiSpecVersionById: (organizationId: EntityId, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecVersion, {
12378
12436
  error: {
12379
12437
  /** @format int32 */
12380
12438
  code: 404;
@@ -12390,7 +12448,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12390
12448
  * @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content
12391
12449
  * @secure
12392
12450
  */
12393
- getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
12451
+ getOpenApiSpecVersionContentById: (organizationId: EntityId, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, {
12394
12452
  error: {
12395
12453
  /** @format int32 */
12396
12454
  code: 404;
@@ -12406,7 +12464,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12406
12464
  * @request GET:/orgs/{organizationId}/agent-instructions
12407
12465
  * @secure
12408
12466
  */
12409
- getOrganizationAgentInstructions: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
12467
+ getOrganizationAgentInstructions: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
12410
12468
  /**
12411
12469
  * No description
12412
12470
  *
@@ -12416,7 +12474,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12416
12474
  * @request PUT:/orgs/{organizationId}/agent-instructions
12417
12475
  * @secure
12418
12476
  */
12419
- updateOrganizationAgentInstructions: (organizationId: string, data: {
12477
+ updateOrganizationAgentInstructions: (organizationId: EntityId, data: {
12420
12478
  /** Document describing the Docs agent instructions. */
12421
12479
  instructions: JSONDocument;
12422
12480
  }, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
@@ -12429,7 +12487,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12429
12487
  * @request GET:/orgs/{organizationId}/translations
12430
12488
  * @secure
12431
12489
  */
12432
- listTranslations: (organizationId: string, query?: {
12490
+ listTranslations: (organizationId: EntityId, query?: {
12433
12491
  /** Identifier of the page results to fetch. */
12434
12492
  page?: string;
12435
12493
  /**
@@ -12450,7 +12508,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12450
12508
  * @request POST:/orgs/{organizationId}/translations
12451
12509
  * @secure
12452
12510
  */
12453
- createTranslation: (organizationId: string, data: {
12511
+ createTranslation: (organizationId: EntityId, data: {
12454
12512
  source: TranslationSource;
12455
12513
  language: TranslationLanguage;
12456
12514
  instructions?: JSONDocument;
@@ -12470,7 +12528,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12470
12528
  * @request GET:/orgs/{organizationId}/translations/{translationId}
12471
12529
  * @secure
12472
12530
  */
12473
- getTranslation: (organizationId: string, translationId: string, params?: RequestParams) => Promise<HttpResponse<Translation, {
12531
+ getTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<Translation, {
12474
12532
  error: {
12475
12533
  /** @format int32 */
12476
12534
  code: 404;
@@ -12486,7 +12544,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12486
12544
  * @request PUT:/orgs/{organizationId}/translations/{translationId}
12487
12545
  * @secure
12488
12546
  */
12489
- updateTranslation: (organizationId: string, translationId: string, data: {
12547
+ updateTranslation: (organizationId: EntityId, translationId: string, data: {
12490
12548
  instructions: JSONDocument;
12491
12549
  }, params?: RequestParams) => Promise<HttpResponse<Translation, {
12492
12550
  error: {
@@ -12504,7 +12562,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12504
12562
  * @request DELETE:/orgs/{organizationId}/translations/{translationId}
12505
12563
  * @secure
12506
12564
  */
12507
- deleteTranslation: (organizationId: string, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12565
+ deleteTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12508
12566
  /**
12509
12567
  * No description
12510
12568
  *
@@ -12514,7 +12572,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12514
12572
  * @request POST:/orgs/{organizationId}/translations/{translationId}/run
12515
12573
  * @secure
12516
12574
  */
12517
- runTranslation: (organizationId: string, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
12575
+ runTranslation: (organizationId: EntityId, translationId: string, params?: RequestParams) => Promise<HttpResponse<void, {
12518
12576
  error: {
12519
12577
  /** @format int32 */
12520
12578
  code: 404;
@@ -12530,7 +12588,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12530
12588
  * @request GET:/orgs/{organizationId}/translations-glossary
12531
12589
  * @secure
12532
12590
  */
12533
- listGlossaryEntries: (organizationId: string, query?: {
12591
+ listGlossaryEntries: (organizationId: EntityId, query?: {
12534
12592
  /** Identifier of the page results to fetch. */
12535
12593
  page?: string;
12536
12594
  /**
@@ -12553,7 +12611,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12553
12611
  * @request PUT:/orgs/{organizationId}/translations-glossary
12554
12612
  * @secure
12555
12613
  */
12556
- updateGlossaryEntries: (organizationId: string, data: {
12614
+ updateGlossaryEntries: (organizationId: EntityId, data: {
12557
12615
  operations: GlossaryBatchOperation[];
12558
12616
  }, params?: RequestParams) => Promise<HttpResponse<void, {
12559
12617
  error: {
@@ -12571,7 +12629,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12571
12629
  * @request GET:/orgs/{organizationId}/translations-glossary/{glossaryEntryId}
12572
12630
  * @secure
12573
12631
  */
12574
- getGlossaryEntry: (organizationId: string, glossaryEntryId: string, params?: RequestParams) => Promise<HttpResponse<GlossaryEntry, {
12632
+ getGlossaryEntry: (organizationId: EntityId, glossaryEntryId: string, params?: RequestParams) => Promise<HttpResponse<GlossaryEntry, {
12575
12633
  error: {
12576
12634
  /** @format int32 */
12577
12635
  code: 404;
@@ -12587,7 +12645,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12587
12645
  * @request POST:/orgs/{organizationId}/storage/upload
12588
12646
  * @secure
12589
12647
  */
12590
- generateStorageUploadUrl: (organizationId: string, data: {
12648
+ generateStorageUploadUrl: (organizationId: EntityId, data: {
12591
12649
  file: StorageFileMetadata;
12592
12650
  kind: StorageUploadKind;
12593
12651
  }, params?: RequestParams) => Promise<HttpResponse<StorageUploadURL, {
@@ -12606,7 +12664,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12606
12664
  * @request GET:/orgs/{organizationId}/fonts
12607
12665
  * @secure
12608
12666
  */
12609
- listCustomFonts: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<List & {
12667
+ listCustomFonts: (organizationId: EntityId, params?: RequestParams) => Promise<HttpResponse<List & {
12610
12668
  items: CustomizationFontDefinition[];
12611
12669
  }, {
12612
12670
  error: {
@@ -12624,7 +12682,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12624
12682
  * @request PUT:/orgs/{organizationId}/fonts
12625
12683
  * @secure
12626
12684
  */
12627
- createCustomFont: (organizationId: string, data: {
12685
+ createCustomFont: (organizationId: EntityId, data: {
12628
12686
  /** The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display"). */
12629
12687
  fontFamily: FontFamily;
12630
12688
  /**
@@ -12660,7 +12718,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12660
12718
  * @request GET:/orgs/{organizationId}/fonts/{fontId}
12661
12719
  * @secure
12662
12720
  */
12663
- getCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
12721
+ getCustomFont: (organizationId: EntityId, fontId: string, params?: RequestParams) => Promise<HttpResponse<CustomizationFontDefinition, {
12664
12722
  error: {
12665
12723
  /** @format int32 */
12666
12724
  code: 404;
@@ -12676,7 +12734,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12676
12734
  * @request POST:/orgs/{organizationId}/fonts/{fontId}
12677
12735
  * @secure
12678
12736
  */
12679
- updateCustomFont: (organizationId: string, fontId: string, data: {
12737
+ updateCustomFont: (organizationId: EntityId, fontId: string, data: {
12680
12738
  /** The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display"). */
12681
12739
  fontFamily?: FontFamily;
12682
12740
  /** Array of font faces specifying weights and their corresponding storage keys. Passing null as the storage key will remove that weight. */
@@ -12707,7 +12765,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12707
12765
  * @request DELETE:/orgs/{organizationId}/fonts/{fontId}
12708
12766
  * @secure
12709
12767
  */
12710
- deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12768
+ deleteCustomFont: (organizationId: EntityId, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12711
12769
  /**
12712
12770
  * No description
12713
12771
  *
@@ -12717,7 +12775,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12717
12775
  * @request GET:/orgs/{organizationId}/sites
12718
12776
  * @secure
12719
12777
  */
12720
- listSites: (organizationId: string, query?: {
12778
+ listSites: (organizationId: EntityId, query?: {
12721
12779
  /** Identifier of the page results to fetch. */
12722
12780
  page?: string;
12723
12781
  /**
@@ -12746,7 +12804,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12746
12804
  * @request POST:/orgs/{organizationId}/sites
12747
12805
  * @secure
12748
12806
  */
12749
- createSite: (organizationId: string, data: {
12807
+ createSite: (organizationId: EntityId, data: {
12750
12808
  /** The type of the site, defaults to Basic */
12751
12809
  type?: SiteType;
12752
12810
  /** Title of the site */
@@ -12771,7 +12829,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12771
12829
  * @request GET:/orgs/{organizationId}/sites/{siteId}
12772
12830
  * @secure
12773
12831
  */
12774
- getSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, {
12832
+ getSiteById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, {
12775
12833
  error: {
12776
12834
  /** @format int32 */
12777
12835
  code: 404;
@@ -12787,7 +12845,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12787
12845
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}
12788
12846
  * @secure
12789
12847
  */
12790
- updateSiteById: (organizationId: string, siteId: string, data: {
12848
+ updateSiteById: (organizationId: EntityId, siteId: string, data: {
12791
12849
  /** Title of the site */
12792
12850
  title?: SiteTitle;
12793
12851
  /**
@@ -12820,7 +12878,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12820
12878
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}
12821
12879
  * @secure
12822
12880
  */
12823
- deleteSiteById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12881
+ deleteSiteById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12824
12882
  /**
12825
12883
  * No description
12826
12884
  *
@@ -12830,7 +12888,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12830
12888
  * @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
12831
12889
  * @secure
12832
12890
  */
12833
- getSiteAdaptiveSchema: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
12891
+ getSiteAdaptiveSchema: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
12834
12892
  error: {
12835
12893
  /** @format int32 */
12836
12894
  code: 404;
@@ -12846,7 +12904,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12846
12904
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
12847
12905
  * @secure
12848
12906
  */
12849
- updateSiteAdaptiveSchema: (organizationId: string, siteId: string, data: {
12907
+ updateSiteAdaptiveSchema: (organizationId: EntityId, siteId: string, data: {
12850
12908
  /** The JSON schema to set on the site. */
12851
12909
  jsonSchema: SiteAdaptiveJSONSchema;
12852
12910
  }, params?: RequestParams) => Promise<HttpResponse<SiteAdaptiveSchema, Error | {
@@ -12865,7 +12923,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12865
12923
  * @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions
12866
12924
  * @secure
12867
12925
  */
12868
- listSiteAdaptiveTemplateConditions: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<{
12926
+ listSiteAdaptiveTemplateConditions: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<{
12869
12927
  items: SiteAdaptiveTemplateCondition[];
12870
12928
  }, any>>;
12871
12929
  /**
@@ -12877,7 +12935,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12877
12935
  * @request GET:/orgs/{organizationId}/sites/{siteId}/published
12878
12936
  * @secure
12879
12937
  */
12880
- getPublishedContentSite: (organizationId: string, siteId: string, query?: {
12938
+ getPublishedContentSite: (organizationId: EntityId, siteId: string, query?: {
12881
12939
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
12882
12940
  shareKey?: string;
12883
12941
  }, params?: RequestParams) => Promise<HttpResponse<PublishedContentSite, {
@@ -12896,7 +12954,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12896
12954
  * @request POST:/orgs/{organizationId}/sites/{siteId}/publish
12897
12955
  * @secure
12898
12956
  */
12899
- publishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site | {
12957
+ publishSite: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site | {
12900
12958
  type: "checkout";
12901
12959
  /** Stripe payment session ID */
12902
12960
  sessionId: string;
@@ -12910,7 +12968,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12910
12968
  * @request POST:/orgs/{organizationId}/sites/{siteId}/unpublish
12911
12969
  * @secure
12912
12970
  */
12913
- unpublishSite: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
12971
+ unpublishSite: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
12914
12972
  /**
12915
12973
  * No description
12916
12974
  *
@@ -12920,7 +12978,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12920
12978
  * @request GET:/orgs/{organizationId}/sites/{siteId}/share-links
12921
12979
  * @secure
12922
12980
  */
12923
- listSiteShareLinks: (organizationId: string, siteId: string, query?: {
12981
+ listSiteShareLinks: (organizationId: EntityId, siteId: string, query?: {
12924
12982
  /** Identifier of the page results to fetch. */
12925
12983
  page?: string;
12926
12984
  /**
@@ -12943,7 +13001,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12943
13001
  * @request POST:/orgs/{organizationId}/sites/{siteId}/share-links
12944
13002
  * @secure
12945
13003
  */
12946
- createSiteShareLink: (organizationId: string, siteId: string, data: {
13004
+ createSiteShareLink: (organizationId: EntityId, siteId: string, data: {
12947
13005
  /** Name of the share link */
12948
13006
  name: ShareLinkName;
12949
13007
  }, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
@@ -12956,7 +13014,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12956
13014
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
12957
13015
  * @secure
12958
13016
  */
12959
- updateSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, data: {
13017
+ updateSiteShareLinkById: (organizationId: EntityId, siteId: string, shareLinkId: string, data: {
12960
13018
  active?: boolean;
12961
13019
  /** Name of the share link */
12962
13020
  name?: ShareLinkName;
@@ -12970,7 +13028,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12970
13028
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
12971
13029
  * @secure
12972
13030
  */
12973
- deleteSiteShareLinkById: (organizationId: string, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13031
+ deleteSiteShareLinkById: (organizationId: EntityId, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
12974
13032
  /**
12975
13033
  * @description Get the complete structure of a site that includes all its site-sections and site-spaces.
12976
13034
  *
@@ -12980,7 +13038,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12980
13038
  * @request GET:/orgs/{organizationId}/sites/{siteId}/structure
12981
13039
  * @secure
12982
13040
  */
12983
- getSiteStructure: (organizationId: string, siteId: string, query?: {
13041
+ getSiteStructure: (organizationId: EntityId, siteId: string, query?: {
12984
13042
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
12985
13043
  shareKey?: string;
12986
13044
  }, params?: RequestParams) => Promise<HttpResponse<SiteStructure, {
@@ -12999,7 +13057,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12999
13057
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/structure/sort
13000
13058
  * @secure
13001
13059
  */
13002
- sortSiteStructure: (organizationId: string, siteId: string, data: {
13060
+ sortSiteStructure: (organizationId: EntityId, siteId: string, data: {
13003
13061
  /** pointer to the item (site space, site section or site section group) being moved. */
13004
13062
  item: SiteStructureItemPointer;
13005
13063
  /** The position to move the item to. When not provided the item is moved to the end of the site structure. */
@@ -13026,7 +13084,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13026
13084
  * @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/auth
13027
13085
  * @secure
13028
13086
  */
13029
- getSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13087
+ getSitePublishingAuthById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13030
13088
  error: {
13031
13089
  /** @format int32 */
13032
13090
  code: 400;
@@ -13042,7 +13100,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13042
13100
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/publishing/auth
13043
13101
  * @secure
13044
13102
  */
13045
- updateSitePublishingAuthById: (organizationId: string, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13103
+ updateSitePublishingAuthById: (organizationId: EntityId, siteId: string, data: SitePublishingAuthUpdate, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13046
13104
  error: {
13047
13105
  /** @format int32 */
13048
13106
  code: 400;
@@ -13058,7 +13116,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13058
13116
  * @request POST:/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate
13059
13117
  * @secure
13060
13118
  */
13061
- regenerateSitePublishingAuthById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13119
+ regenerateSitePublishingAuthById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SitePublishingAuth, {
13062
13120
  error: {
13063
13121
  /** @format int32 */
13064
13122
  code: 400;
@@ -13074,11 +13132,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13074
13132
  * @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/preview
13075
13133
  * @secure
13076
13134
  */
13077
- getSitePublishingPreviewById: (organizationId: string, siteId: string, query?: {
13135
+ getSitePublishingPreviewById: (organizationId: EntityId, siteId: string, query?: {
13078
13136
  /** ID of the site-space to preview. If not provided, the default site-space will be used. */
13079
13137
  siteSpace?: string;
13080
13138
  /** Rison encoded string of attributes/assertions about the visitor for which we want to preview the site. */
13081
13139
  claims?: string;
13140
+ /**
13141
+ * Whether to include draft content in the preview. Defaults to true
13142
+ * @default true
13143
+ */
13144
+ draft?: boolean;
13145
+ /** Target URL of the preview. If not provided, the default site preview URL will be used. */
13146
+ target?: string;
13082
13147
  }, params?: RequestParams) => Promise<HttpResponse<{
13083
13148
  url: URL;
13084
13149
  }, {
@@ -13097,7 +13162,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13097
13162
  * @request GET:/orgs/{organizationId}/sites/{siteId}/customization
13098
13163
  * @secure
13099
13164
  */
13100
- getSiteCustomizationById: (organizationId: string, siteId: string, query?: {
13165
+ getSiteCustomizationById: (organizationId: EntityId, siteId: string, query?: {
13101
13166
  /**
13102
13167
  * (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
13103
13168
  * @deprecated
@@ -13120,7 +13185,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13120
13185
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/customization
13121
13186
  * @secure
13122
13187
  */
13123
- updateSiteCustomizationById: (organizationId: string, siteId: string, data: SiteCustomizationSettingsInput, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
13188
+ updateSiteCustomizationById: (organizationId: EntityId, siteId: string, data: SiteCustomizationSettingsInput, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, {
13124
13189
  error: {
13125
13190
  /** @format int32 */
13126
13191
  code: 400;
@@ -13136,7 +13201,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13136
13201
  * @request GET:/orgs/{organizationId}/sites/{siteId}/integration-scripts
13137
13202
  * @secure
13138
13203
  */
13139
- listSiteIntegrationScripts: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[], {
13204
+ listSiteIntegrationScripts: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteIntegrationScript[], {
13140
13205
  error: {
13141
13206
  /** @format int32 */
13142
13207
  code: 400;
@@ -13152,7 +13217,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13152
13217
  * @request GET:/orgs/{organizationId}/sites/{siteId}/integrations
13153
13218
  * @secure
13154
13219
  */
13155
- listSiteIntegrations: (organizationId: string, siteId: string, query?: {
13220
+ listSiteIntegrations: (organizationId: EntityId, siteId: string, query?: {
13156
13221
  /** A search string to filter integrations by name */
13157
13222
  search?: string;
13158
13223
  }, params?: RequestParams) => Promise<HttpResponse<List & {
@@ -13167,7 +13232,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13167
13232
  * @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
13168
13233
  * @secure
13169
13234
  */
13170
- addSpaceToSite: (organizationId: string, siteId: string, data: {
13235
+ addSpaceToSite: (organizationId: EntityId, siteId: string, data: {
13171
13236
  /** ID of the space */
13172
13237
  spaceId: string;
13173
13238
  /** 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 +13247,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13182
13247
  * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
13183
13248
  * @secure
13184
13249
  */
13185
- listSiteSpaces: (organizationId: string, siteId: string, query?: {
13250
+ listSiteSpaces: (organizationId: EntityId, siteId: string, query?: {
13186
13251
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
13187
13252
  shareKey?: string;
13188
13253
  /** Identifier of the page results to fetch. */
@@ -13207,7 +13272,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13207
13272
  * @request GET:/orgs/{organizationId}/sites/{siteId}/section-groups
13208
13273
  * @secure
13209
13274
  */
13210
- listSiteSectionGroups: (organizationId: string, siteId: string, query?: {
13275
+ listSiteSectionGroups: (organizationId: EntityId, siteId: string, query?: {
13211
13276
  /** Identifier of the page results to fetch. */
13212
13277
  page?: string;
13213
13278
  /**
@@ -13228,7 +13293,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13228
13293
  * @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups
13229
13294
  * @secure
13230
13295
  */
13231
- addSectionGroupToSite: (organizationId: string, siteId: string, data: {
13296
+ addSectionGroupToSite: (organizationId: EntityId, siteId: string, data: {
13232
13297
  /** Title of the site section group */
13233
13298
  title: SiteSectionGroupTitle;
13234
13299
  icon?: Icon | null;
@@ -13246,7 +13311,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13246
13311
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
13247
13312
  * @secure
13248
13313
  */
13249
- updateSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
13314
+ updateSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
13250
13315
  /** Title of the site section group */
13251
13316
  title?: SiteSectionGroupTitle;
13252
13317
  icon?: Icon | null;
@@ -13260,7 +13325,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13260
13325
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
13261
13326
  * @secure
13262
13327
  */
13263
- deleteSiteSectionGroupById: (organizationId: string, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13328
+ deleteSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13264
13329
  /**
13265
13330
  * No description
13266
13331
  *
@@ -13270,7 +13335,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13270
13335
  * @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections
13271
13336
  * @secure
13272
13337
  */
13273
- addSectionToGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
13338
+ addSectionToGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
13274
13339
  /** ID of the section to add to the section group */
13275
13340
  sectionId: string;
13276
13341
  }, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
@@ -13283,7 +13348,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13283
13348
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}
13284
13349
  * @secure
13285
13350
  */
13286
- removeSectionFromGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13351
+ removeSectionFromGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13287
13352
  /**
13288
13353
  * No description
13289
13354
  *
@@ -13293,7 +13358,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13293
13358
  * @request POST:/orgs/{organizationId}/sites/{siteId}/sections
13294
13359
  * @secure
13295
13360
  */
13296
- addSectionToSite: (organizationId: string, siteId: string, data: {
13361
+ addSectionToSite: (organizationId: EntityId, siteId: string, data: {
13297
13362
  /** ID of the space to be added to the section as a site space variant */
13298
13363
  spaceId: string;
13299
13364
  title?: SiteSectionTitle | null;
@@ -13308,7 +13373,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13308
13373
  * @request GET:/orgs/{organizationId}/sites/{siteId}/sections
13309
13374
  * @secure
13310
13375
  */
13311
- listSiteSections: (organizationId: string, siteId: string, query?: {
13376
+ listSiteSections: (organizationId: EntityId, siteId: string, query?: {
13312
13377
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
13313
13378
  shareKey?: string;
13314
13379
  /** Identifier of the page results to fetch. */
@@ -13331,7 +13396,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13331
13396
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
13332
13397
  * @secure
13333
13398
  */
13334
- updateSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, data: {
13399
+ updateSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, data: {
13335
13400
  /** Title of the site section */
13336
13401
  title?: SiteSectionTitle;
13337
13402
  /** Localized string value, keyed by locale. Contains overrides for non-default languages only. */
@@ -13354,7 +13419,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13354
13419
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
13355
13420
  * @secure
13356
13421
  */
13357
- deleteSiteSectionById: (organizationId: string, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13422
+ deleteSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13358
13423
  /**
13359
13424
  * No description
13360
13425
  *
@@ -13364,7 +13429,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13364
13429
  * @request POST:/orgs/{organizationId}/sites/{siteId}/search
13365
13430
  * @secure
13366
13431
  */
13367
- searchSiteContent: (organizationId: string, siteId: string, data: {
13432
+ searchSiteContent: (organizationId: EntityId, siteId: string, data: {
13368
13433
  /** @maxLength 512 */
13369
13434
  query: string;
13370
13435
  } & ({
@@ -13412,7 +13477,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13412
13477
  * @request POST:/orgs/{organizationId}/sites/{siteId}/ask
13413
13478
  * @secure
13414
13479
  */
13415
- streamAskInSite: (organizationId: string, siteId: string, data: {
13480
+ streamAskInSite: (organizationId: EntityId, siteId: string, data: {
13416
13481
  /** @maxLength 512 */
13417
13482
  question: string;
13418
13483
  /** 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 +13498,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13433
13498
  * @request GET:/orgs/{organizationId}/sites/{siteId}/ask/questions
13434
13499
  * @secure
13435
13500
  */
13436
- streamRecommendedQuestionsInSite: (organizationId: string, siteId: string, query?: {
13501
+ streamRecommendedQuestionsInSite: (organizationId: EntityId, siteId: string, query?: {
13437
13502
  /** The ID of the site space to filter the recommended questions for. */
13438
13503
  siteSpaceId?: string;
13439
13504
  /**
@@ -13451,7 +13516,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13451
13516
  * @request GET:/orgs/{organizationId}/sites/{siteId}/context-records
13452
13517
  * @secure
13453
13518
  */
13454
- listSiteContextRecords: (organizationId: string, siteId: string, query?: {
13519
+ listSiteContextRecords: (organizationId: EntityId, siteId: string, query?: {
13455
13520
  /** Identifier of the page results to fetch. */
13456
13521
  page?: string;
13457
13522
  /**
@@ -13480,7 +13545,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13480
13545
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/context-records
13481
13546
  * @secure
13482
13547
  */
13483
- upsertSiteContextRecords: (organizationId: string, siteId: string, data: ContextRecordInput[], params?: RequestParams) => Promise<HttpResponse<void, any>>;
13548
+ upsertSiteContextRecords: (organizationId: EntityId, siteId: string, data: ContextRecordInput[], params?: RequestParams) => Promise<HttpResponse<void, any>>;
13484
13549
  /**
13485
13550
  * No description
13486
13551
  *
@@ -13490,7 +13555,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13490
13555
  * @request GET:/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}
13491
13556
  * @secure
13492
13557
  */
13493
- getSiteContextRecordById: (organizationId: string, siteId: string, siteContextRecordId: string, params?: RequestParams) => Promise<HttpResponse<ContextRecord, any>>;
13558
+ getSiteContextRecordById: (organizationId: EntityId, siteId: string, siteContextRecordId: string, params?: RequestParams) => Promise<HttpResponse<ContextRecord, any>>;
13494
13559
  /**
13495
13560
  * No description
13496
13561
  *
@@ -13500,7 +13565,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13500
13565
  * @request GET:/orgs/{organizationId}/sites/{siteId}/issues
13501
13566
  * @secure
13502
13567
  */
13503
- listSiteIssues: (organizationId: string, siteId: string, query?: {
13568
+ listSiteIssues: (organizationId: EntityId, siteId: string, query?: {
13504
13569
  /** Identifier of the page results to fetch. */
13505
13570
  page?: string;
13506
13571
  /**
@@ -13529,7 +13594,113 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13529
13594
  * @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}
13530
13595
  * @secure
13531
13596
  */
13532
- getSiteIssueById: (organizationId: string, siteId: string, siteIssueId: string, params?: RequestParams) => Promise<HttpResponse<SiteIssue, any>>;
13597
+ getSiteIssueById: (organizationId: EntityId, siteId: string, siteIssueId: string, params?: RequestParams) => Promise<HttpResponse<SiteIssue, any>>;
13598
+ /**
13599
+ * No description
13600
+ *
13601
+ * @tags site-context
13602
+ * @name UpdateSiteIssueById
13603
+ * @summary Update a site issue
13604
+ * @request PATCH:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}
13605
+ * @secure
13606
+ */
13607
+ updateSiteIssueById: (organizationId: EntityId, siteId: string, siteIssueId: string, data: {
13608
+ status: "open" | "canceled";
13609
+ }, params?: RequestParams) => Promise<HttpResponse<SiteIssue, any>>;
13610
+ /**
13611
+ * No description
13612
+ *
13613
+ * @tags site-context
13614
+ * @name ListChangeRequestsForSiteIssue
13615
+ * @summary List change requests linked to a site issue
13616
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests
13617
+ * @secure
13618
+ */
13619
+ listChangeRequestsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
13620
+ /** Identifier of the page results to fetch. */
13621
+ page?: string;
13622
+ /**
13623
+ * The number of results per page
13624
+ * @min 0
13625
+ * @max 1000
13626
+ */
13627
+ limit?: number;
13628
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
13629
+ items: ChangeRequest[];
13630
+ }, any>>;
13631
+ /**
13632
+ * No description
13633
+ *
13634
+ * @tags site-context
13635
+ * @name TriggerChangeRequestsForSiteIssue
13636
+ * @summary Process a site issue into change requests
13637
+ * @request POST:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests
13638
+ * @secure
13639
+ */
13640
+ triggerChangeRequestsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13641
+ /**
13642
+ * No description
13643
+ *
13644
+ * @tags site-context
13645
+ * @name ListPagesForSiteIssue
13646
+ * @summary List pages linked to a site issue
13647
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages
13648
+ * @secure
13649
+ */
13650
+ listPagesForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
13651
+ /** Identifier of the page results to fetch. */
13652
+ page?: string;
13653
+ /**
13654
+ * The number of results per page
13655
+ * @min 0
13656
+ * @max 1000
13657
+ */
13658
+ limit?: number;
13659
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
13660
+ items: SiteIssuePage[];
13661
+ }, any>>;
13662
+ /**
13663
+ * No description
13664
+ *
13665
+ * @tags site-context
13666
+ * @name ListQuestionsForSiteIssue
13667
+ * @summary List questions linked to a site issue
13668
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions
13669
+ * @secure
13670
+ */
13671
+ listQuestionsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
13672
+ /** Identifier of the page results to fetch. */
13673
+ page?: string;
13674
+ /**
13675
+ * The number of results per page
13676
+ * @min 0
13677
+ * @max 1000
13678
+ */
13679
+ limit?: number;
13680
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
13681
+ items: SiteQuestion[];
13682
+ }, any>>;
13683
+ /**
13684
+ * No description
13685
+ *
13686
+ * @tags site-context
13687
+ * @name ListRecordsForSiteIssue
13688
+ * @summary List records linked to a site issue
13689
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records
13690
+ * @secure
13691
+ */
13692
+ listRecordsForSiteIssue: (organizationId: EntityId, siteId: string, siteIssueId: string, query?: {
13693
+ /** Identifier of the page results to fetch. */
13694
+ page?: string;
13695
+ /**
13696
+ * The number of results per page
13697
+ * @min 0
13698
+ * @max 1000
13699
+ */
13700
+ limit?: number;
13701
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
13702
+ items: ContextRecord[];
13703
+ }, any>>;
13533
13704
  /**
13534
13705
  * No description
13535
13706
  *
@@ -13539,7 +13710,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13539
13710
  * @request GET:/orgs/{organizationId}/sites/{siteId}/context-connections
13540
13711
  * @secure
13541
13712
  */
13542
- listSiteContextConnections: (organizationId: string, siteId: string, query?: {
13713
+ listSiteContextConnections: (organizationId: EntityId, siteId: string, query?: {
13543
13714
  /** Identifier of the page results to fetch. */
13544
13715
  page?: string;
13545
13716
  /**
@@ -13560,7 +13731,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13560
13731
  * @request POST:/orgs/{organizationId}/sites/{siteId}/context-connections
13561
13732
  * @secure
13562
13733
  */
13563
- createSiteContextConnection: (organizationId: string, siteId: string, data: ContextConnectorSetup & {
13734
+ createSiteContextConnection: (organizationId: EntityId, siteId: string, data: ContextConnectorSetup & {
13564
13735
  usageSettings?: ContextUsageSettings;
13565
13736
  }, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
13566
13737
  /**
@@ -13572,7 +13743,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13572
13743
  * @request GET:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
13573
13744
  * @secure
13574
13745
  */
13575
- getSiteContextConnectionById: (organizationId: string, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
13746
+ getSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
13576
13747
  /**
13577
13748
  * No description
13578
13749
  *
@@ -13582,7 +13753,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13582
13753
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
13583
13754
  * @secure
13584
13755
  */
13585
- updateSiteContextConnectionById: (organizationId: string, siteId: string, siteContextConnectionId: string, data: ContextConnectorSetup | {
13756
+ updateSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, data: ContextConnectorSetup | {
13586
13757
  usageSettings?: ContextUsageSettings;
13587
13758
  /** Optional label for the connection */
13588
13759
  label?: ContextConnectionLabel;
@@ -13596,7 +13767,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13596
13767
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}
13597
13768
  * @secure
13598
13769
  */
13599
- deleteSiteContextConnectionById: (organizationId: string, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13770
+ deleteSiteContextConnectionById: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13600
13771
  /**
13601
13772
  * No description
13602
13773
  *
@@ -13606,7 +13777,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13606
13777
  * @request POST:/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync
13607
13778
  * @secure
13608
13779
  */
13609
- syncSiteContextConnection: (organizationId: string, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, {
13780
+ syncSiteContextConnection: (organizationId: EntityId, siteId: string, siteContextConnectionId: string, params?: RequestParams) => Promise<HttpResponse<void, {
13610
13781
  error: {
13611
13782
  /** @format int32 */
13612
13783
  code: 400;
@@ -13622,7 +13793,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13622
13793
  * @request GET:/orgs/{organizationId}/sites/{siteId}/topics
13623
13794
  * @secure
13624
13795
  */
13625
- listSiteTopics: (organizationId: string, siteId: string, query?: {
13796
+ listSiteTopics: (organizationId: EntityId, siteId: string, query?: {
13626
13797
  /** Filter stats to answers created at or after this timestamp. */
13627
13798
  from?: Timestamp;
13628
13799
  /** Filter stats to answers created at or before this timestamp. */
@@ -13639,7 +13810,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13639
13810
  * @request GET:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}
13640
13811
  * @secure
13641
13812
  */
13642
- getSiteTopicById: (organizationId: string, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<SiteTopic, any>>;
13813
+ getSiteTopicById: (organizationId: EntityId, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<SiteTopic, any>>;
13643
13814
  /**
13644
13815
  * No description
13645
13816
  *
@@ -13649,8 +13820,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13649
13820
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}
13650
13821
  * @secure
13651
13822
  */
13652
- updateSiteTopicById: (organizationId: string, siteId: string, siteTopicId: string, data: {
13653
- usageSettings: ContextUsageSettings;
13823
+ updateSiteTopicById: (organizationId: EntityId, siteId: string, siteTopicId: string, data: {
13824
+ usageSettings: SiteTopicUsageSettings;
13654
13825
  }, params?: RequestParams) => Promise<HttpResponse<SiteTopic, any>>;
13655
13826
  /**
13656
13827
  * No description
@@ -13661,7 +13832,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13661
13832
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues
13662
13833
  * @secure
13663
13834
  */
13664
- deleteSiteTopicIssues: (organizationId: string, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13835
+ deleteSiteTopicIssues: (organizationId: EntityId, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13665
13836
  /**
13666
13837
  * No description
13667
13838
  *
@@ -13671,7 +13842,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13671
13842
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions
13672
13843
  * @secure
13673
13844
  */
13674
- listSiteQuestions: (organizationId: string, siteId: string, query?: {
13845
+ listSiteQuestions: (organizationId: EntityId, siteId: string, query?: {
13675
13846
  /** Filter stats to answers created at or after this timestamp. */
13676
13847
  from?: Timestamp;
13677
13848
  /** Filter stats to answers created at or before this timestamp. */
@@ -13700,7 +13871,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13700
13871
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}
13701
13872
  * @secure
13702
13873
  */
13703
- getSiteQuestionById: (organizationId: string, siteId: string, siteQuestionId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
13874
+ getSiteQuestionById: (organizationId: EntityId, siteId: string, siteQuestionId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
13704
13875
  /**
13705
13876
  * No description
13706
13877
  *
@@ -13710,7 +13881,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13710
13881
  * @request GET:/orgs/{organizationId}/sites/{siteId}/question-stats
13711
13882
  * @secure
13712
13883
  */
13713
- getSiteQuestionStats: (organizationId: string, siteId: string, query?: {
13884
+ getSiteQuestionStats: (organizationId: EntityId, siteId: string, query?: {
13714
13885
  /** Filter stats to answers created at or after this timestamp. */
13715
13886
  from?: Timestamp;
13716
13887
  /** Filter stats to answers created at or before this timestamp. */
@@ -13729,7 +13900,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13729
13900
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers
13730
13901
  * @secure
13731
13902
  */
13732
- listSiteQuestionAnswers: (organizationId: string, siteId: string, query?: {
13903
+ listSiteQuestionAnswers: (organizationId: EntityId, siteId: string, query?: {
13733
13904
  /** Filter answers to a specific site question ID. */
13734
13905
  question?: string;
13735
13906
  /** Filter answers by ISO language code. */
@@ -13766,7 +13937,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13766
13937
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}
13767
13938
  * @secure
13768
13939
  */
13769
- getSiteQuestionAnswerById: (organizationId: string, siteId: string, siteQuestionAnswerId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestionAnswerWithResponse, any>>;
13940
+ getSiteQuestionAnswerById: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestionAnswerWithResponse, any>>;
13770
13941
  /**
13771
13942
  * No description
13772
13943
  *
@@ -13776,7 +13947,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13776
13947
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources
13777
13948
  * @secure
13778
13949
  */
13779
- listSiteQuestionAnswerSources: (organizationId: string, siteId: string, siteQuestionAnswerId: string, query?: {
13950
+ listSiteQuestionAnswerSources: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, query?: {
13780
13951
  /** Identifier of the page results to fetch. */
13781
13952
  page?: string;
13782
13953
  /**
@@ -13797,7 +13968,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13797
13968
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
13798
13969
  * @secure
13799
13970
  */
13800
- updateSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, data: {
13971
+ updateSiteSpaceById: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
13801
13972
  /** Path to the space on the site */
13802
13973
  path?: SiteSpacePath;
13803
13974
  /** 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 +13987,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13816
13987
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
13817
13988
  * @secure
13818
13989
  */
13819
- deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13990
+ deleteSiteSpaceById: (organizationId: EntityId, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13820
13991
  /**
13821
13992
  * No description
13822
13993
  *
@@ -13826,7 +13997,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13826
13997
  * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
13827
13998
  * @secure
13828
13999
  */
13829
- getSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, query?: {
14000
+ getSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, query?: {
13830
14001
  /**
13831
14002
  * (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
13832
14003
  * @deprecated
@@ -13849,7 +14020,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13849
14020
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
13850
14021
  * @secure
13851
14022
  */
13852
- overrideSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, data: {
14023
+ overrideSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
13853
14024
  /** 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
14025
  title?: SiteTitle | null;
13855
14026
  styling?: {
@@ -13977,7 +14148,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13977
14148
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
13978
14149
  * @secure
13979
14150
  */
13980
- deleteSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, {
14151
+ deleteSiteSpaceCustomizationById: (organizationId: EntityId, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, {
13981
14152
  error: {
13982
14153
  /** @format int32 */
13983
14154
  code: 400;
@@ -13994,7 +14165,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13994
14165
  * @deprecated
13995
14166
  * @secure
13996
14167
  */
13997
- moveSiteSectionGroup: (organizationId: string, siteId: string, siteSectionGroupId: string, data: {
14168
+ moveSiteSectionGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
13998
14169
  /** 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
14170
  position?: SiteSectionGroupMovePosition;
14000
14171
  }, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, {
@@ -14020,7 +14191,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14020
14191
  * @deprecated
14021
14192
  * @secure
14022
14193
  */
14023
- moveSiteSection: (organizationId: string, siteId: string, siteSectionId: string, data: {
14194
+ moveSiteSection: (organizationId: EntityId, siteId: string, siteSectionId: string, data: {
14024
14195
  /** The position where to move the site section. When not provided the site section is moved at the end of the site. */
14025
14196
  position?: SiteSectionMovePosition;
14026
14197
  }, params?: RequestParams) => Promise<HttpResponse<SiteSection, {
@@ -14046,7 +14217,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14046
14217
  * @deprecated
14047
14218
  * @secure
14048
14219
  */
14049
- moveSiteSpace: (organizationId: string, siteId: string, siteSpaceId: string, data: {
14220
+ moveSiteSpace: (organizationId: EntityId, siteId: string, siteSpaceId: string, data: {
14050
14221
  /** The position where to move the site space. When not provided the site space is moved at the end of the site. */
14051
14222
  position?: SiteSpaceMovePosition;
14052
14223
  }, params?: RequestParams) => Promise<HttpResponse<SiteSpace, {
@@ -14071,7 +14242,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14071
14242
  * @request POST:/orgs/{organizationId}/sites/{siteId}/permissions
14072
14243
  * @secure
14073
14244
  */
14074
- inviteToSite: (organizationId: string, siteId: string, data: InviteSiteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
14245
+ inviteToSite: (organizationId: EntityId, siteId: string, data: InviteSiteUsersAndTeams, params?: RequestParams) => Promise<HttpResponse<void, {
14075
14246
  error: {
14076
14247
  /** @format int32 */
14077
14248
  code: 404;
@@ -14087,7 +14258,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14087
14258
  * @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/aggregate
14088
14259
  * @secure
14089
14260
  */
14090
- listPermissionsAggregateInSite: (organizationId: string, siteId: string, query?: {
14261
+ listPermissionsAggregateInSite: (organizationId: EntityId, siteId: string, query?: {
14091
14262
  /** Identifier of the page results to fetch. */
14092
14263
  page?: string;
14093
14264
  /**
@@ -14108,7 +14279,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14108
14279
  * @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/users
14109
14280
  * @secure
14110
14281
  */
14111
- listUserPermissionsInSite: (organizationId: string, siteId: string, query?: {
14282
+ listUserPermissionsInSite: (organizationId: EntityId, siteId: string, query?: {
14112
14283
  /** Identifier of the page results to fetch. */
14113
14284
  page?: string;
14114
14285
  /**
@@ -14135,7 +14306,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14135
14306
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}
14136
14307
  * @secure
14137
14308
  */
14138
- updateUserPermissionInSite: (organizationId: string, siteId: string, userId: string, data: {
14309
+ updateUserPermissionInSite: (organizationId: EntityId, siteId: string, userId: string, data: {
14139
14310
  /**
14140
14311
  * "The role of a member in an organization.
14141
14312
  * "admin": Can administrate the content: create, delete spaces, ...
@@ -14162,7 +14333,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14162
14333
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}
14163
14334
  * @secure
14164
14335
  */
14165
- removeUserFromSite: (organizationId: string, siteId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14336
+ removeUserFromSite: (organizationId: EntityId, siteId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14166
14337
  /**
14167
14338
  * No description
14168
14339
  *
@@ -14172,7 +14343,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14172
14343
  * @request GET:/orgs/{organizationId}/sites/{siteId}/permissions/teams
14173
14344
  * @secure
14174
14345
  */
14175
- listTeamPermissionsInSite: (organizationId: string, siteId: string, query?: {
14346
+ listTeamPermissionsInSite: (organizationId: EntityId, siteId: string, query?: {
14176
14347
  /** Identifier of the page results to fetch. */
14177
14348
  page?: string;
14178
14349
  /**
@@ -14199,7 +14370,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14199
14370
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}
14200
14371
  * @secure
14201
14372
  */
14202
- updateTeamPermissionInSite: (organizationId: string, siteId: string, teamId: string, data: {
14373
+ updateTeamPermissionInSite: (organizationId: EntityId, siteId: string, teamId: EntityId, data: {
14203
14374
  /**
14204
14375
  * "The role of a member in an organization.
14205
14376
  * "admin": Can administrate the content: create, delete spaces, ...
@@ -14226,7 +14397,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14226
14397
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}
14227
14398
  * @secure
14228
14399
  */
14229
- removeTeamFromSite: (organizationId: string, siteId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14400
+ removeTeamFromSite: (organizationId: EntityId, siteId: string, teamId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14230
14401
  /**
14231
14402
  * @description Generate an AI response in a conversation.
14232
14403
  *
@@ -14236,7 +14407,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14236
14407
  * @request POST:/orgs/{organizationId}/sites/{siteId}/ai/response
14237
14408
  * @secure
14238
14409
  */
14239
- streamAiResponseInSite: (organizationId: string, siteId: string, data: {
14410
+ streamAiResponseInSite: (organizationId: EntityId, siteId: string, data: {
14240
14411
  /** The ID of the previous response to continue from */
14241
14412
  previousResponseId?: string;
14242
14413
  /** The messages to send to the AI agent. */
@@ -14262,7 +14433,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14262
14433
  * @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events
14263
14434
  * @secure
14264
14435
  */
14265
- trackEventsInSiteById: (organizationId: string, siteId: string, data: {
14436
+ trackEventsInSiteById: (organizationId: EntityId, siteId: string, data: {
14266
14437
  events: SiteInsightsEvent[];
14267
14438
  }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14268
14439
  /**
@@ -14274,7 +14445,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14274
14445
  * @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
14275
14446
  * @secure
14276
14447
  */
14277
- aggregateSiteEvents: (organizationId: string, siteId: string, data: SiteInsightsQueryEventsAggregation, params?: RequestParams) => Promise<HttpResponse<SiteInsightsQueryEventsAggregationResult, any>>;
14448
+ aggregateSiteEvents: (organizationId: EntityId, siteId: string, data: SiteInsightsQueryEventsAggregation, params?: RequestParams) => Promise<HttpResponse<SiteInsightsQueryEventsAggregationResult, any>>;
14278
14449
  /**
14279
14450
  * No description
14280
14451
  *
@@ -14284,7 +14455,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14284
14455
  * @request GET:/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments
14285
14456
  * @secure
14286
14457
  */
14287
- listSiteVisitorSegments: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<List & {
14458
+ listSiteVisitorSegments: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<List & {
14288
14459
  items: SiteInsightsVisitorSegment[];
14289
14460
  }, any>>;
14290
14461
  /**
@@ -14296,7 +14467,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14296
14467
  * @request POST:/orgs/{organizationId}/sites/{siteId}/ads
14297
14468
  * @secure
14298
14469
  */
14299
- updateSiteAdsById: (organizationId: string, siteId: string, data?: {
14470
+ updateSiteAdsById: (organizationId: EntityId, siteId: string, data?: {
14300
14471
  status?: "in-review" | "disabled";
14301
14472
  /** Topic of the content */
14302
14473
  topic?: SiteAdsTopic;
@@ -14310,7 +14481,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14310
14481
  * @request POST:/orgs/{organizationId}/sites/{siteId}/redirects
14311
14482
  * @secure
14312
14483
  */
14313
- createSiteRedirect: (organizationId: string, siteId: string, data: {
14484
+ createSiteRedirect: (organizationId: EntityId, siteId: string, data: {
14314
14485
  /** The source path to redirect from. */
14315
14486
  source: SiteRedirectSourcePath;
14316
14487
  /**
@@ -14334,7 +14505,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14334
14505
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/redirects
14335
14506
  * @secure
14336
14507
  */
14337
- bulkUpsertSiteRedirects: (organizationId: string, siteId: string, data: {
14508
+ bulkUpsertSiteRedirects: (organizationId: EntityId, siteId: string, data: {
14338
14509
  /**
14339
14510
  * @maxItems 500
14340
14511
  * @minItems 1
@@ -14417,7 +14588,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14417
14588
  * @request GET:/orgs/{organizationId}/sites/{siteId}/redirects
14418
14589
  * @secure
14419
14590
  */
14420
- listSiteRedirects: (organizationId: string, siteId: string, query?: {
14591
+ listSiteRedirects: (organizationId: EntityId, siteId: string, query?: {
14421
14592
  /** Identifier of the page results to fetch. */
14422
14593
  page?: string;
14423
14594
  /**
@@ -14445,7 +14616,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14445
14616
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
14446
14617
  * @secure
14447
14618
  */
14448
- updateSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, data: {
14619
+ updateSiteRedirectById: (organizationId: EntityId, siteId: string, siteRedirectId: string, data: {
14449
14620
  /** The source path to redirect from. */
14450
14621
  source?: SiteRedirectSourcePath;
14451
14622
  /** Capture and append the wildcard-matched suffix to the destination URL. */
@@ -14463,7 +14634,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14463
14634
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
14464
14635
  * @secure
14465
14636
  */
14466
- deleteSiteRedirectById: (organizationId: string, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14637
+ deleteSiteRedirectById: (organizationId: EntityId, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14467
14638
  /**
14468
14639
  * No description
14469
14640
  *
@@ -14473,7 +14644,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14473
14644
  * @request GET:/orgs/{organizationId}/sites/{siteId}/redirect
14474
14645
  * @secure
14475
14646
  */
14476
- getSiteRedirectBySource: (organizationId: string, siteId: string, query: {
14647
+ getSiteRedirectBySource: (organizationId: EntityId, siteId: string, query: {
14477
14648
  /** For sites published via share-links, the share key is useful to resolve published URLs. */
14478
14649
  shareKey?: string;
14479
14650
  /** The source path of the redirect. */
@@ -14498,7 +14669,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14498
14669
  * @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers
14499
14670
  * @secure
14500
14671
  */
14501
- listSiteMcpServers: (organizationId: string, siteId: string, query?: {
14672
+ listSiteMcpServers: (organizationId: EntityId, siteId: string, query?: {
14502
14673
  /** Identifier of the page results to fetch. */
14503
14674
  page?: string;
14504
14675
  /**
@@ -14519,7 +14690,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14519
14690
  * @request POST:/orgs/{organizationId}/sites/{siteId}/mcp-servers
14520
14691
  * @secure
14521
14692
  */
14522
- createSiteMcpServer: (organizationId: string, siteId: string, data: {
14693
+ createSiteMcpServer: (organizationId: EntityId, siteId: string, data: {
14523
14694
  /** Name of the MCP server */
14524
14695
  name: SiteMcpServerName;
14525
14696
  url: URL;
@@ -14535,7 +14706,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14535
14706
  * @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
14536
14707
  * @secure
14537
14708
  */
14538
- getSiteMcpServerById: (organizationId: string, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
14709
+ getSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
14539
14710
  /**
14540
14711
  * No description
14541
14712
  *
@@ -14545,7 +14716,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14545
14716
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
14546
14717
  * @secure
14547
14718
  */
14548
- updateSiteMcpServerById: (organizationId: string, siteId: string, siteMcpServerId: string, data: {
14719
+ updateSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, data: {
14549
14720
  /** Name of the MCP server */
14550
14721
  name?: SiteMcpServerName;
14551
14722
  /**
@@ -14565,7 +14736,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14565
14736
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
14566
14737
  * @secure
14567
14738
  */
14568
- deleteSiteMcpServerById: (organizationId: string, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14739
+ deleteSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14569
14740
  /**
14570
14741
  * No description
14571
14742
  *
@@ -14575,7 +14746,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14575
14746
  * @request GET:/orgs/{organizationId}/sites/{siteId}/channels
14576
14747
  * @secure
14577
14748
  */
14578
- listSiteChannels: (organizationId: string, siteId: string, query?: {
14749
+ listSiteChannels: (organizationId: EntityId, siteId: string, query?: {
14579
14750
  /** Identifier of the page results to fetch. */
14580
14751
  page?: string;
14581
14752
  /**
@@ -14596,7 +14767,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14596
14767
  * @request POST:/orgs/{organizationId}/sites/{siteId}/channels
14597
14768
  * @secure
14598
14769
  */
14599
- createSiteChannel: (organizationId: string, siteId: string, data: SiteChannelSetup & {
14770
+ createSiteChannel: (organizationId: EntityId, siteId: string, data: SiteChannelSetup & {
14600
14771
  /** Usage settings for a site channel. */
14601
14772
  usageSettings?: SiteChannelUsageSettings;
14602
14773
  }, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
@@ -14609,7 +14780,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14609
14780
  * @request GET:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
14610
14781
  * @secure
14611
14782
  */
14612
- getSiteChannelById: (organizationId: string, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
14783
+ getSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
14613
14784
  /**
14614
14785
  * No description
14615
14786
  *
@@ -14619,7 +14790,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14619
14790
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
14620
14791
  * @secure
14621
14792
  */
14622
- deleteSiteChannelById: (organizationId: string, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14793
+ deleteSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14623
14794
  };
14624
14795
  org: {
14625
14796
  /**
@@ -14631,7 +14802,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14631
14802
  * @request POST:/org/{organizationId}/imports
14632
14803
  * @secure
14633
14804
  */
14634
- startImportRun: (organizationId: string, data: {
14805
+ startImportRun: (organizationId: EntityId, data: {
14635
14806
  source: ContentImportSource;
14636
14807
  target: ContentImportTarget;
14637
14808
  /**
@@ -14661,7 +14832,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14661
14832
  * @request POST:/org/{organizationId}/imports/{importRunId}/cancel
14662
14833
  * @secure
14663
14834
  */
14664
- cancelImportRun: (organizationId: string, importRunId: string, params?: RequestParams) => Promise<HttpResponse<ContentImportRun, {
14835
+ cancelImportRun: (organizationId: EntityId, importRunId: string, params?: RequestParams) => Promise<HttpResponse<ContentImportRun, {
14665
14836
  error: {
14666
14837
  /** @format int32 */
14667
14838
  code: 400;