@gitbook/api 0.152.0 → 0.153.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 +37 -16
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +74 -53
- package/spec/openapi.yaml +50 -33
package/dist/client.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export type MergeRule = {
|
|
|
117
117
|
/** List of user IDs. */
|
|
118
118
|
users: string[];
|
|
119
119
|
} | {
|
|
120
|
-
rule: 'require_at_least_one_review' | 'require_all_reviews_approved' | 'require_agent_review' | 'require_up_to_date_change_request' | 'require_change_request_subject' | 'require_change_request_description';
|
|
120
|
+
rule: 'require_at_least_one_review' | 'require_all_reviews_approved' | 'require_agent_review' | 'require_up_to_date_change_request' | 'require_change_request_subject' | 'require_change_request_description' | 'require_author_to_merge';
|
|
121
121
|
} | {
|
|
122
122
|
rule: 'custom';
|
|
123
123
|
/** Expression to evaluate */
|
|
@@ -532,6 +532,12 @@ export interface RevisionPageBase {
|
|
|
532
532
|
* @minLength 1
|
|
533
533
|
*/
|
|
534
534
|
title: string;
|
|
535
|
+
/**
|
|
536
|
+
* Optional custom title for the page ToC and mention entries instead of the page title.
|
|
537
|
+
* @minLength 1
|
|
538
|
+
* @maxLength 100
|
|
539
|
+
*/
|
|
540
|
+
linkTitle?: string;
|
|
535
541
|
/** Emoji of the page, if one has been set. */
|
|
536
542
|
emoji?: Emoji;
|
|
537
543
|
/** Icon of the page, if one has been set. */
|
|
@@ -1896,6 +1902,12 @@ export interface OrganizationBilling {
|
|
|
1896
1902
|
pricing: OrganizationPricing;
|
|
1897
1903
|
/** Configuration for the usage-based addons */
|
|
1898
1904
|
usageAddons: Record<string, BillingMeterAddon>;
|
|
1905
|
+
/** The minimum number of members allowed for this organization. */
|
|
1906
|
+
minUsers?: number;
|
|
1907
|
+
/** The maximum number of members allowed for this organization */
|
|
1908
|
+
maxUsers?: number;
|
|
1909
|
+
/** The number of paid members on the current subscription. */
|
|
1910
|
+
paidMembers?: number;
|
|
1899
1911
|
}
|
|
1900
1912
|
/** - notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended and the user has choosen to stay on the free plan or has upgraded to a paid plan. - expired, the trial has ended but the user hasn't deciced yet what to do. */
|
|
1901
1913
|
export declare enum BillingTrialStatus {
|
|
@@ -2970,6 +2982,11 @@ export interface OrganizationTarget {
|
|
|
2970
2982
|
organization: string;
|
|
2971
2983
|
}
|
|
2972
2984
|
export type IntegrationInstallationTarget = OrganizationTarget;
|
|
2985
|
+
/** Network configuration for the installation */
|
|
2986
|
+
export interface IntegrationNetwork {
|
|
2987
|
+
/** Whether the installation is proxied through the backend */
|
|
2988
|
+
proxy?: boolean;
|
|
2989
|
+
}
|
|
2973
2990
|
/** Installation of an integration on an account */
|
|
2974
2991
|
export interface IntegrationInstallation {
|
|
2975
2992
|
id: string;
|
|
@@ -3006,6 +3023,8 @@ export interface IntegrationInstallation {
|
|
|
3006
3023
|
externalIds: IntegrationInstallationExternalIds;
|
|
3007
3024
|
/** Target of the integration installation */
|
|
3008
3025
|
target: IntegrationInstallationTarget;
|
|
3026
|
+
/** Network configuration for the installation */
|
|
3027
|
+
network?: IntegrationNetwork;
|
|
3009
3028
|
}
|
|
3010
3029
|
/** Common properties for all events. */
|
|
3011
3030
|
export interface BaseEvent {
|
|
@@ -3168,6 +3187,12 @@ export type SpaceVisibilityUpdatedEvent = SpaceEvent & {
|
|
|
3168
3187
|
*/
|
|
3169
3188
|
visibility: ContentVisibility;
|
|
3170
3189
|
};
|
|
3190
|
+
/** Event representing a background task trigger for an integration. */
|
|
3191
|
+
export type TaskEvent = BaseEvent & {
|
|
3192
|
+
type: 'task';
|
|
3193
|
+
/** Payload associated with the integration task. */
|
|
3194
|
+
task: object;
|
|
3195
|
+
};
|
|
3171
3196
|
export interface FetchRequest {
|
|
3172
3197
|
method: 'post' | 'get' | 'put' | 'delete';
|
|
3173
3198
|
url: string;
|
|
@@ -3311,7 +3336,7 @@ export type PageFeedbackEvent = BaseEvent & {
|
|
|
3311
3336
|
referrer: string;
|
|
3312
3337
|
};
|
|
3313
3338
|
/** Any event that can be received from GitBook. */
|
|
3314
|
-
export type Event = InstallationSetupEvent | InstallationDeletedEvent | SpaceInstallationSetupEvent | SpaceInstallationDeletedEvent | SiteInstallationSetupEvent | SiteInstallationDeletedEvent | SiteViewEvent | SpaceContentUpdatedEvent | SpaceGitSyncCompletedEvent | SpaceGitSyncStartedEvent | SpaceVisibilityUpdatedEvent | FetchEvent | FetchPublishedScriptEvent | FetchVisitorAuthenticationEvent | UIRenderEvent | ContentComputeDocumentEvent | ContentComputeRevisionEvent | PageFeedbackEvent;
|
|
3339
|
+
export type Event = InstallationSetupEvent | InstallationDeletedEvent | SpaceInstallationSetupEvent | SpaceInstallationDeletedEvent | SiteInstallationSetupEvent | SiteInstallationDeletedEvent | SiteViewEvent | SpaceContentUpdatedEvent | SpaceGitSyncCompletedEvent | SpaceGitSyncStartedEvent | SpaceVisibilityUpdatedEvent | TaskEvent | FetchEvent | FetchPublishedScriptEvent | FetchVisitorAuthenticationEvent | UIRenderEvent | ContentComputeDocumentEvent | ContentComputeRevisionEvent | PageFeedbackEvent;
|
|
3315
3340
|
export interface IntegrationEvent {
|
|
3316
3341
|
/** Unique ID of the event. */
|
|
3317
3342
|
id: string;
|
|
@@ -6834,6 +6859,12 @@ export type InputPageBase = {
|
|
|
6834
6859
|
id?: string;
|
|
6835
6860
|
/** @minLength 1 */
|
|
6836
6861
|
title: string;
|
|
6862
|
+
/**
|
|
6863
|
+
* Optional custom title for the page ToC and mention entries instead of the page title.
|
|
6864
|
+
* @minLength 1
|
|
6865
|
+
* @maxLength 100
|
|
6866
|
+
*/
|
|
6867
|
+
linkTitle?: string;
|
|
6837
6868
|
} & ({
|
|
6838
6869
|
/** Emoji of the page. */
|
|
6839
6870
|
emoji: Emoji;
|
|
@@ -6996,6 +7027,8 @@ export interface IntegrationEnvironment {
|
|
|
6996
7027
|
/** API authentication token representing the current installation. */
|
|
6997
7028
|
installation?: string;
|
|
6998
7029
|
};
|
|
7030
|
+
/** Network configuration for the integration environment */
|
|
7031
|
+
network?: IntegrationNetwork;
|
|
6999
7032
|
}
|
|
7000
7033
|
export interface SpaceIntegrationScript {
|
|
7001
7034
|
/** Script URL to load. */
|
|
@@ -7201,11 +7234,6 @@ export interface OrganizationSitesChannel {
|
|
|
7201
7234
|
channel: 'organization-sites';
|
|
7202
7235
|
organization: string;
|
|
7203
7236
|
}
|
|
7204
|
-
/** Channel for messages everytime a space is indexed by the AI in an organization */
|
|
7205
|
-
export interface OrganizationAIIndexationChannel {
|
|
7206
|
-
channel: 'organization-ai-indexation';
|
|
7207
|
-
organization: string;
|
|
7208
|
-
}
|
|
7209
7237
|
/** Subscription channel for changes in OpenAPI specifications in an organization. */
|
|
7210
7238
|
export interface OrganizationOpenAPISpecsChannel {
|
|
7211
7239
|
channel: 'organization-openapi-specs';
|
|
@@ -7383,7 +7411,7 @@ export interface ImportRunChannel {
|
|
|
7383
7411
|
runId: string;
|
|
7384
7412
|
}
|
|
7385
7413
|
/** Channel to subscribe to for realtime updates. */
|
|
7386
|
-
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationAgentDataChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel |
|
|
7414
|
+
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationAgentDataChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationOpenAPISpecsChannel | OrganizationTranslationsChannel | OrganizationTranslationsGlossaryChannel | OrganizationCustomFontsChannel | OrganizationAgentInstructionsChannel | OrganizationChangeRequestsChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SiteAdaptiveSchemaChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteMcpServersChannel | SiteMcpServerChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncOperationChannel | OpenAPISpecChannel | SubdomainChannel | TranslationChannel | TranslationRunChannel | ImportRunChannel;
|
|
7387
7415
|
export interface TranslationRunChannelData {
|
|
7388
7416
|
channel: 'translation-run';
|
|
7389
7417
|
data: {
|
|
@@ -7419,13 +7447,6 @@ export interface ChangeRequestContentRefsChannelData {
|
|
|
7419
7447
|
updatedAt: number;
|
|
7420
7448
|
};
|
|
7421
7449
|
}
|
|
7422
|
-
export interface OrganizationAIIndexationChannelData {
|
|
7423
|
-
channel: 'organization-ai-indexation';
|
|
7424
|
-
data: {
|
|
7425
|
-
/** The space that was indexed */
|
|
7426
|
-
space: string;
|
|
7427
|
-
};
|
|
7428
|
-
}
|
|
7429
7450
|
export interface APIChannelMutationData {
|
|
7430
7451
|
channel: '*';
|
|
7431
7452
|
/** Data passed on the channels associated to API endpoints. */
|
|
@@ -7435,7 +7456,7 @@ export interface APIChannelMutationData {
|
|
|
7435
7456
|
};
|
|
7436
7457
|
}
|
|
7437
7458
|
/** Data passed through a realtime channel */
|
|
7438
|
-
export type SubscriptionChannelData = GitSyncOperationChannelData | SpaceContentRefsChannelData | ChangeRequestContentRefsChannelData |
|
|
7459
|
+
export type SubscriptionChannelData = GitSyncOperationChannelData | SpaceContentRefsChannelData | ChangeRequestContentRefsChannelData | TranslationRunChannelData | ImportRunChannelData | APIChannelMutationData;
|
|
7439
7460
|
export type SiteAdaptiveDeterministicJSONSchemaClaimsProperties = SiteAdaptiveDeterministicJSONSchemaPrimitives | {
|
|
7440
7461
|
type: 'object';
|
|
7441
7462
|
description: string;
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -17773,7 +17773,8 @@
|
|
|
17773
17773
|
"require_agent_review",
|
|
17774
17774
|
"require_up_to_date_change_request",
|
|
17775
17775
|
"require_change_request_subject",
|
|
17776
|
-
"require_change_request_description"
|
|
17776
|
+
"require_change_request_description",
|
|
17777
|
+
"require_author_to_merge"
|
|
17777
17778
|
]
|
|
17778
17779
|
}
|
|
17779
17780
|
},
|
|
@@ -18791,6 +18792,12 @@
|
|
|
18791
18792
|
"type": "string",
|
|
18792
18793
|
"minLength": 1
|
|
18793
18794
|
},
|
|
18795
|
+
"linkTitle": {
|
|
18796
|
+
"description": "Optional custom title for the page ToC and mention entries instead of the page title.",
|
|
18797
|
+
"type": "string",
|
|
18798
|
+
"minLength": 1,
|
|
18799
|
+
"maxLength": 100
|
|
18800
|
+
},
|
|
18794
18801
|
"emoji": {
|
|
18795
18802
|
"description": "Emoji of the page, if one has been set.",
|
|
18796
18803
|
"$ref": "#/components/schemas/Emoji"
|
|
@@ -24671,6 +24678,18 @@
|
|
|
24671
24678
|
"additionalProperties": {
|
|
24672
24679
|
"$ref": "#/components/schemas/BillingMeterAddon"
|
|
24673
24680
|
}
|
|
24681
|
+
},
|
|
24682
|
+
"minUsers": {
|
|
24683
|
+
"description": "The minimum number of members allowed for this organization.",
|
|
24684
|
+
"type": "number"
|
|
24685
|
+
},
|
|
24686
|
+
"maxUsers": {
|
|
24687
|
+
"description": "The maximum number of members allowed for this organization",
|
|
24688
|
+
"type": "number"
|
|
24689
|
+
},
|
|
24690
|
+
"paidMembers": {
|
|
24691
|
+
"description": "The number of paid members on the current subscription.",
|
|
24692
|
+
"type": "number"
|
|
24674
24693
|
}
|
|
24675
24694
|
},
|
|
24676
24695
|
"required": [
|
|
@@ -27599,6 +27618,16 @@
|
|
|
27599
27618
|
}
|
|
27600
27619
|
]
|
|
27601
27620
|
},
|
|
27621
|
+
"IntegrationNetwork": {
|
|
27622
|
+
"type": "object",
|
|
27623
|
+
"description": "Network configuration for the installation",
|
|
27624
|
+
"properties": {
|
|
27625
|
+
"proxy": {
|
|
27626
|
+
"type": "boolean",
|
|
27627
|
+
"description": "Whether the installation is proxied through the backend"
|
|
27628
|
+
}
|
|
27629
|
+
}
|
|
27630
|
+
},
|
|
27602
27631
|
"IntegrationInstallation": {
|
|
27603
27632
|
"type": "object",
|
|
27604
27633
|
"description": "Installation of an integration on an account",
|
|
@@ -27660,6 +27689,10 @@
|
|
|
27660
27689
|
"target": {
|
|
27661
27690
|
"$ref": "#/components/schemas/IntegrationInstallationTarget",
|
|
27662
27691
|
"description": "Target of the integration installation"
|
|
27692
|
+
},
|
|
27693
|
+
"network": {
|
|
27694
|
+
"$ref": "#/components/schemas/IntegrationNetwork",
|
|
27695
|
+
"description": "Network configuration for the installation"
|
|
27663
27696
|
}
|
|
27664
27697
|
},
|
|
27665
27698
|
"required": [
|
|
@@ -28192,6 +28225,33 @@
|
|
|
28192
28225
|
}
|
|
28193
28226
|
]
|
|
28194
28227
|
},
|
|
28228
|
+
"TaskEvent": {
|
|
28229
|
+
"allOf": [
|
|
28230
|
+
{
|
|
28231
|
+
"$ref": "#/components/schemas/BaseEvent"
|
|
28232
|
+
},
|
|
28233
|
+
{
|
|
28234
|
+
"type": "object",
|
|
28235
|
+
"description": "Event representing a background task trigger for an integration.",
|
|
28236
|
+
"properties": {
|
|
28237
|
+
"type": {
|
|
28238
|
+
"type": "string",
|
|
28239
|
+
"enum": [
|
|
28240
|
+
"task"
|
|
28241
|
+
]
|
|
28242
|
+
},
|
|
28243
|
+
"task": {
|
|
28244
|
+
"type": "object",
|
|
28245
|
+
"description": "Payload associated with the integration task."
|
|
28246
|
+
}
|
|
28247
|
+
},
|
|
28248
|
+
"required": [
|
|
28249
|
+
"type",
|
|
28250
|
+
"task"
|
|
28251
|
+
]
|
|
28252
|
+
}
|
|
28253
|
+
]
|
|
28254
|
+
},
|
|
28195
28255
|
"FetchRequest": {
|
|
28196
28256
|
"type": "object",
|
|
28197
28257
|
"properties": {
|
|
@@ -28754,6 +28814,9 @@
|
|
|
28754
28814
|
{
|
|
28755
28815
|
"$ref": "#/components/schemas/SpaceVisibilityUpdatedEvent"
|
|
28756
28816
|
},
|
|
28817
|
+
{
|
|
28818
|
+
"$ref": "#/components/schemas/TaskEvent"
|
|
28819
|
+
},
|
|
28757
28820
|
{
|
|
28758
28821
|
"$ref": "#/components/schemas/FetchEvent"
|
|
28759
28822
|
},
|
|
@@ -39912,6 +39975,12 @@
|
|
|
39912
39975
|
"title": {
|
|
39913
39976
|
"type": "string",
|
|
39914
39977
|
"minLength": 1
|
|
39978
|
+
},
|
|
39979
|
+
"linkTitle": {
|
|
39980
|
+
"description": "Optional custom title for the page ToC and mention entries instead of the page title.",
|
|
39981
|
+
"type": "string",
|
|
39982
|
+
"minLength": 1,
|
|
39983
|
+
"maxLength": 100
|
|
39915
39984
|
}
|
|
39916
39985
|
},
|
|
39917
39986
|
"required": [
|
|
@@ -40340,6 +40409,10 @@
|
|
|
40340
40409
|
"required": [
|
|
40341
40410
|
"integration"
|
|
40342
40411
|
]
|
|
40412
|
+
},
|
|
40413
|
+
"network": {
|
|
40414
|
+
"$ref": "#/components/schemas/IntegrationNetwork",
|
|
40415
|
+
"description": "Network configuration for the integration environment"
|
|
40343
40416
|
}
|
|
40344
40417
|
},
|
|
40345
40418
|
"required": [
|
|
@@ -41162,25 +41235,6 @@
|
|
|
41162
41235
|
"organization"
|
|
41163
41236
|
]
|
|
41164
41237
|
},
|
|
41165
|
-
"OrganizationAIIndexationChannel": {
|
|
41166
|
-
"type": "object",
|
|
41167
|
-
"description": "Channel for messages everytime a space is indexed by the AI in an organization",
|
|
41168
|
-
"properties": {
|
|
41169
|
-
"channel": {
|
|
41170
|
-
"type": "string",
|
|
41171
|
-
"enum": [
|
|
41172
|
-
"organization-ai-indexation"
|
|
41173
|
-
]
|
|
41174
|
-
},
|
|
41175
|
-
"organization": {
|
|
41176
|
-
"type": "string"
|
|
41177
|
-
}
|
|
41178
|
-
},
|
|
41179
|
-
"required": [
|
|
41180
|
-
"channel",
|
|
41181
|
-
"organization"
|
|
41182
|
-
]
|
|
41183
|
-
},
|
|
41184
41238
|
"OrganizationOpenAPISpecsChannel": {
|
|
41185
41239
|
"type": "object",
|
|
41186
41240
|
"description": "Subscription channel for changes in OpenAPI specifications in an organization.",
|
|
@@ -42030,9 +42084,6 @@
|
|
|
42030
42084
|
{
|
|
42031
42085
|
"$ref": "#/components/schemas/OrganizationSitesChannel"
|
|
42032
42086
|
},
|
|
42033
|
-
{
|
|
42034
|
-
"$ref": "#/components/schemas/OrganizationAIIndexationChannel"
|
|
42035
|
-
},
|
|
42036
42087
|
{
|
|
42037
42088
|
"$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
42038
42089
|
},
|
|
@@ -42287,33 +42338,6 @@
|
|
|
42287
42338
|
"data"
|
|
42288
42339
|
]
|
|
42289
42340
|
},
|
|
42290
|
-
"OrganizationAIIndexationChannelData": {
|
|
42291
|
-
"type": "object",
|
|
42292
|
-
"properties": {
|
|
42293
|
-
"channel": {
|
|
42294
|
-
"type": "string",
|
|
42295
|
-
"enum": [
|
|
42296
|
-
"organization-ai-indexation"
|
|
42297
|
-
]
|
|
42298
|
-
},
|
|
42299
|
-
"data": {
|
|
42300
|
-
"type": "object",
|
|
42301
|
-
"properties": {
|
|
42302
|
-
"space": {
|
|
42303
|
-
"type": "string",
|
|
42304
|
-
"description": "The space that was indexed"
|
|
42305
|
-
}
|
|
42306
|
-
},
|
|
42307
|
-
"required": [
|
|
42308
|
-
"space"
|
|
42309
|
-
]
|
|
42310
|
-
}
|
|
42311
|
-
},
|
|
42312
|
-
"required": [
|
|
42313
|
-
"channel",
|
|
42314
|
-
"data"
|
|
42315
|
-
]
|
|
42316
|
-
},
|
|
42317
42341
|
"APIChannelMutationData": {
|
|
42318
42342
|
"type": "object",
|
|
42319
42343
|
"properties": {
|
|
@@ -42354,9 +42378,6 @@
|
|
|
42354
42378
|
{
|
|
42355
42379
|
"$ref": "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
42356
42380
|
},
|
|
42357
|
-
{
|
|
42358
|
-
"$ref": "#/components/schemas/OrganizationAIIndexationChannelData"
|
|
42359
|
-
},
|
|
42360
42381
|
{
|
|
42361
42382
|
"$ref": "#/components/schemas/TranslationRunChannelData"
|
|
42362
42383
|
},
|
package/spec/openapi.yaml
CHANGED
|
@@ -10250,6 +10250,7 @@ components:
|
|
|
10250
10250
|
- require_up_to_date_change_request
|
|
10251
10251
|
- require_change_request_subject
|
|
10252
10252
|
- require_change_request_description
|
|
10253
|
+
- require_author_to_merge
|
|
10253
10254
|
required:
|
|
10254
10255
|
- rule
|
|
10255
10256
|
- type: object
|
|
@@ -10964,6 +10965,11 @@ components:
|
|
|
10964
10965
|
description: Title of the page
|
|
10965
10966
|
type: string
|
|
10966
10967
|
minLength: 1
|
|
10968
|
+
linkTitle:
|
|
10969
|
+
description: Optional custom title for the page ToC and mention entries instead of the page title.
|
|
10970
|
+
type: string
|
|
10971
|
+
minLength: 1
|
|
10972
|
+
maxLength: 100
|
|
10967
10973
|
emoji:
|
|
10968
10974
|
description: Emoji of the page, if one has been set.
|
|
10969
10975
|
$ref: "#/components/schemas/Emoji"
|
|
@@ -14630,6 +14636,15 @@ components:
|
|
|
14630
14636
|
type: object
|
|
14631
14637
|
additionalProperties:
|
|
14632
14638
|
$ref: "#/components/schemas/BillingMeterAddon"
|
|
14639
|
+
minUsers:
|
|
14640
|
+
description: The minimum number of members allowed for this organization.
|
|
14641
|
+
type: number
|
|
14642
|
+
maxUsers:
|
|
14643
|
+
description: The maximum number of members allowed for this organization
|
|
14644
|
+
type: number
|
|
14645
|
+
paidMembers:
|
|
14646
|
+
description: The number of paid members on the current subscription.
|
|
14647
|
+
type: number
|
|
14633
14648
|
required:
|
|
14634
14649
|
- interval
|
|
14635
14650
|
- endDate
|
|
@@ -16652,6 +16667,13 @@ components:
|
|
|
16652
16667
|
IntegrationInstallationTarget:
|
|
16653
16668
|
oneOf:
|
|
16654
16669
|
- $ref: "#/components/schemas/OrganizationTarget"
|
|
16670
|
+
IntegrationNetwork:
|
|
16671
|
+
type: object
|
|
16672
|
+
description: Network configuration for the installation
|
|
16673
|
+
properties:
|
|
16674
|
+
proxy:
|
|
16675
|
+
type: boolean
|
|
16676
|
+
description: Whether the installation is proxied through the backend
|
|
16655
16677
|
IntegrationInstallation:
|
|
16656
16678
|
type: object
|
|
16657
16679
|
description: Installation of an integration on an account
|
|
@@ -16698,6 +16720,9 @@ components:
|
|
|
16698
16720
|
target:
|
|
16699
16721
|
$ref: "#/components/schemas/IntegrationInstallationTarget"
|
|
16700
16722
|
description: Target of the integration installation
|
|
16723
|
+
network:
|
|
16724
|
+
$ref: "#/components/schemas/IntegrationNetwork"
|
|
16725
|
+
description: Network configuration for the installation
|
|
16701
16726
|
required:
|
|
16702
16727
|
- id
|
|
16703
16728
|
- status
|
|
@@ -17033,6 +17058,22 @@ components:
|
|
|
17033
17058
|
- type
|
|
17034
17059
|
- previousVisibility
|
|
17035
17060
|
- visibility
|
|
17061
|
+
TaskEvent:
|
|
17062
|
+
allOf:
|
|
17063
|
+
- $ref: "#/components/schemas/BaseEvent"
|
|
17064
|
+
- type: object
|
|
17065
|
+
description: Event representing a background task trigger for an integration.
|
|
17066
|
+
properties:
|
|
17067
|
+
type:
|
|
17068
|
+
type: string
|
|
17069
|
+
enum:
|
|
17070
|
+
- task
|
|
17071
|
+
task:
|
|
17072
|
+
type: object
|
|
17073
|
+
description: Payload associated with the integration task.
|
|
17074
|
+
required:
|
|
17075
|
+
- type
|
|
17076
|
+
- task
|
|
17036
17077
|
FetchRequest:
|
|
17037
17078
|
type: object
|
|
17038
17079
|
properties:
|
|
@@ -17374,6 +17415,7 @@ components:
|
|
|
17374
17415
|
- $ref: "#/components/schemas/SpaceGitSyncCompletedEvent"
|
|
17375
17416
|
- $ref: "#/components/schemas/SpaceGitSyncStartedEvent"
|
|
17376
17417
|
- $ref: "#/components/schemas/SpaceVisibilityUpdatedEvent"
|
|
17418
|
+
- $ref: "#/components/schemas/TaskEvent"
|
|
17377
17419
|
- $ref: "#/components/schemas/FetchEvent"
|
|
17378
17420
|
- $ref: "#/components/schemas/FetchPublishedScriptEvent"
|
|
17379
17421
|
- $ref: "#/components/schemas/FetchVisitorAuthenticationEvent"
|
|
@@ -24881,6 +24923,11 @@ components:
|
|
|
24881
24923
|
title:
|
|
24882
24924
|
type: string
|
|
24883
24925
|
minLength: 1
|
|
24926
|
+
linkTitle:
|
|
24927
|
+
description: Optional custom title for the page ToC and mention entries instead of the page title.
|
|
24928
|
+
type: string
|
|
24929
|
+
minLength: 1
|
|
24930
|
+
maxLength: 100
|
|
24884
24931
|
required:
|
|
24885
24932
|
- title
|
|
24886
24933
|
- oneOf:
|
|
@@ -25157,6 +25204,9 @@ components:
|
|
|
25157
25204
|
description: API authentication token representing the current installation.
|
|
25158
25205
|
required:
|
|
25159
25206
|
- integration
|
|
25207
|
+
network:
|
|
25208
|
+
$ref: "#/components/schemas/IntegrationNetwork"
|
|
25209
|
+
description: Network configuration for the integration environment
|
|
25160
25210
|
required:
|
|
25161
25211
|
- apiEndpoint
|
|
25162
25212
|
- apiTokens
|
|
@@ -25703,19 +25753,6 @@ components:
|
|
|
25703
25753
|
required:
|
|
25704
25754
|
- channel
|
|
25705
25755
|
- organization
|
|
25706
|
-
OrganizationAIIndexationChannel:
|
|
25707
|
-
type: object
|
|
25708
|
-
description: Channel for messages everytime a space is indexed by the AI in an organization
|
|
25709
|
-
properties:
|
|
25710
|
-
channel:
|
|
25711
|
-
type: string
|
|
25712
|
-
enum:
|
|
25713
|
-
- organization-ai-indexation
|
|
25714
|
-
organization:
|
|
25715
|
-
type: string
|
|
25716
|
-
required:
|
|
25717
|
-
- channel
|
|
25718
|
-
- organization
|
|
25719
25756
|
OrganizationOpenAPISpecsChannel:
|
|
25720
25757
|
type: object
|
|
25721
25758
|
description: Subscription channel for changes in OpenAPI specifications in an organization.
|
|
@@ -26260,7 +26297,6 @@ components:
|
|
|
26260
26297
|
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
26261
26298
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
26262
26299
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
26263
|
-
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
26264
26300
|
- $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
26265
26301
|
- $ref: "#/components/schemas/OrganizationTranslationsChannel"
|
|
26266
26302
|
- $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
|
|
@@ -26393,24 +26429,6 @@ components:
|
|
|
26393
26429
|
required:
|
|
26394
26430
|
- channel
|
|
26395
26431
|
- data
|
|
26396
|
-
OrganizationAIIndexationChannelData:
|
|
26397
|
-
type: object
|
|
26398
|
-
properties:
|
|
26399
|
-
channel:
|
|
26400
|
-
type: string
|
|
26401
|
-
enum:
|
|
26402
|
-
- organization-ai-indexation
|
|
26403
|
-
data:
|
|
26404
|
-
type: object
|
|
26405
|
-
properties:
|
|
26406
|
-
space:
|
|
26407
|
-
type: string
|
|
26408
|
-
description: The space that was indexed
|
|
26409
|
-
required:
|
|
26410
|
-
- space
|
|
26411
|
-
required:
|
|
26412
|
-
- channel
|
|
26413
|
-
- data
|
|
26414
26432
|
APIChannelMutationData:
|
|
26415
26433
|
type: object
|
|
26416
26434
|
properties:
|
|
@@ -26436,7 +26454,6 @@ components:
|
|
|
26436
26454
|
- $ref: "#/components/schemas/GitSyncOperationChannelData"
|
|
26437
26455
|
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
26438
26456
|
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
26439
|
-
- $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
|
|
26440
26457
|
- $ref: "#/components/schemas/TranslationRunChannelData"
|
|
26441
26458
|
- $ref: "#/components/schemas/ImportRunChannelData"
|
|
26442
26459
|
- $ref: "#/components/schemas/APIChannelMutationData"
|