@gitbook/api 0.112.0 → 0.113.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 +64 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +172 -6
- package/spec/openapi.yaml +122 -3
package/dist/client.d.ts
CHANGED
|
@@ -217,12 +217,18 @@ export interface Space {
|
|
|
217
217
|
changeRequestsDraft: number;
|
|
218
218
|
/** The set of permissions for the space */
|
|
219
219
|
permissions: {
|
|
220
|
+
/** Can the user view the space content. */
|
|
221
|
+
view: boolean;
|
|
220
222
|
/** Can the user access the space in the application. */
|
|
221
223
|
access: boolean;
|
|
222
224
|
/** Can the user edit the title, install integrations, and manage the space. */
|
|
223
225
|
admin: boolean;
|
|
226
|
+
/** Can the user view the invite links of the space. */
|
|
227
|
+
viewInviteLinks: boolean;
|
|
224
228
|
/** Can the user edit the content of the space by creating a change request. */
|
|
225
229
|
edit: boolean;
|
|
230
|
+
/** Can the user trigger a git sync. */
|
|
231
|
+
triggerGitSync: boolean;
|
|
226
232
|
/** Can the user comment on the content. */
|
|
227
233
|
comment: boolean;
|
|
228
234
|
/** Can the user merge change requests. */
|
|
@@ -412,6 +418,13 @@ export interface OrganizationTeam {
|
|
|
412
418
|
spaces: number;
|
|
413
419
|
/** Date at which the team was created. */
|
|
414
420
|
createdAt: Timestamp;
|
|
421
|
+
/** The set of permissions for the team */
|
|
422
|
+
permissions: {
|
|
423
|
+
/** Can the user manage the team */
|
|
424
|
+
admin: boolean;
|
|
425
|
+
/** Can the user view the team and list its members */
|
|
426
|
+
view: boolean;
|
|
427
|
+
};
|
|
415
428
|
}
|
|
416
429
|
/**
|
|
417
430
|
* Name of the icon
|
|
@@ -880,6 +893,10 @@ export interface DocumentBlockReusableContent {
|
|
|
880
893
|
ref: ContentRefReusableContent;
|
|
881
894
|
};
|
|
882
895
|
isVoid: true;
|
|
896
|
+
meta?: {
|
|
897
|
+
/** A content token that can be used to fetch the reusable content from the API. */
|
|
898
|
+
token?: string;
|
|
899
|
+
};
|
|
883
900
|
}
|
|
884
901
|
export interface DocumentBlockExpandable {
|
|
885
902
|
object: 'block';
|
|
@@ -1703,10 +1720,22 @@ export interface Organization {
|
|
|
1703
1720
|
};
|
|
1704
1721
|
/** The set of permissions for the organization */
|
|
1705
1722
|
permissions: {
|
|
1723
|
+
/** Can the user view the organization. */
|
|
1724
|
+
view: boolean;
|
|
1706
1725
|
/** Can the user manage the title, members, etc. */
|
|
1707
1726
|
admin: boolean;
|
|
1708
|
-
/**
|
|
1727
|
+
/** Is the user a team owner. */
|
|
1728
|
+
ownTeam: boolean;
|
|
1729
|
+
/** Can the user view the billing details of the organization. */
|
|
1730
|
+
viewBilling?: boolean;
|
|
1731
|
+
/** Can the user list the members of the organization. */
|
|
1732
|
+
listMembers?: boolean;
|
|
1733
|
+
/** Can the user list the teams in the organization. */
|
|
1734
|
+
listTeams?: boolean;
|
|
1735
|
+
/** Can the user create new spaces/collections in the organization. */
|
|
1709
1736
|
createContent: boolean;
|
|
1737
|
+
/** Can the user list the integrations in the organization. */
|
|
1738
|
+
listIntegrations?: boolean;
|
|
1710
1739
|
};
|
|
1711
1740
|
}
|
|
1712
1741
|
export interface ContentLocationRevisionContext {
|
|
@@ -1791,8 +1820,12 @@ export interface Collection {
|
|
|
1791
1820
|
};
|
|
1792
1821
|
/** The set of permissions for the collection */
|
|
1793
1822
|
permissions: {
|
|
1823
|
+
/** Can the user view the collection. */
|
|
1824
|
+
view: boolean;
|
|
1794
1825
|
/** Can the user edit the title/description. */
|
|
1795
1826
|
admin: boolean;
|
|
1827
|
+
/** Can the user view the invite links of the collection. */
|
|
1828
|
+
viewInviteLinks: boolean;
|
|
1796
1829
|
/** Can the user create spaces/collections in this collection. */
|
|
1797
1830
|
create: boolean;
|
|
1798
1831
|
};
|
|
@@ -1855,8 +1888,10 @@ export interface OpenAPISpec {
|
|
|
1855
1888
|
lastProcessErrorCode?: OpenAPISpecProcessingErrorCode;
|
|
1856
1889
|
/** The set of permissions for the OpenAPI specification. */
|
|
1857
1890
|
permissions: {
|
|
1891
|
+
/** Can the user view the specification. */
|
|
1892
|
+
view: boolean;
|
|
1858
1893
|
/** Can the user edit the specification. */
|
|
1859
|
-
edit
|
|
1894
|
+
edit: boolean;
|
|
1860
1895
|
};
|
|
1861
1896
|
/** URLs associated with the object */
|
|
1862
1897
|
urls: {
|
|
@@ -2678,6 +2713,12 @@ export interface CustomField {
|
|
|
2678
2713
|
*/
|
|
2679
2714
|
location: string;
|
|
2680
2715
|
};
|
|
2716
|
+
permissions?: {
|
|
2717
|
+
/** Whether the user can view the object */
|
|
2718
|
+
view: boolean;
|
|
2719
|
+
/** Whether the user can edit the object */
|
|
2720
|
+
edit: boolean;
|
|
2721
|
+
};
|
|
2681
2722
|
}
|
|
2682
2723
|
export type CustomFieldValues = {
|
|
2683
2724
|
/** Custom field */
|
|
@@ -3855,6 +3896,11 @@ export interface OrganizationTeamMember {
|
|
|
3855
3896
|
organization: OrganizationMember;
|
|
3856
3897
|
/** User information as a team member */
|
|
3857
3898
|
team: TeamMember;
|
|
3899
|
+
/** The set of permissions for the team member */
|
|
3900
|
+
permissions: {
|
|
3901
|
+
/** Can the user view the team member */
|
|
3902
|
+
view: boolean;
|
|
3903
|
+
};
|
|
3858
3904
|
}
|
|
3859
3905
|
export interface UpdateMembersInOrganizationTeam {
|
|
3860
3906
|
add?: string[];
|
|
@@ -4191,6 +4237,11 @@ export interface OrganizationUsage {
|
|
|
4191
4237
|
members: OrganizationUsageMembers;
|
|
4192
4238
|
/** Team members usage metrics of an organization */
|
|
4193
4239
|
teamMembers: OrganizationUsageTeamMembers;
|
|
4240
|
+
/** The set of permissions for the organization's usage. */
|
|
4241
|
+
permissions: {
|
|
4242
|
+
/** Can the user view the organization's usage. */
|
|
4243
|
+
view: boolean;
|
|
4244
|
+
};
|
|
4194
4245
|
}
|
|
4195
4246
|
export interface SearchAIQuery {
|
|
4196
4247
|
query: string;
|
|
@@ -4285,6 +4336,8 @@ export interface TranslationSettings {
|
|
|
4285
4336
|
/** @format date-time */
|
|
4286
4337
|
updatedAt: string;
|
|
4287
4338
|
permissions: {
|
|
4339
|
+
/** Whether the user can view the object */
|
|
4340
|
+
view: boolean;
|
|
4288
4341
|
/** Whether the user can edit the object */
|
|
4289
4342
|
edit: boolean;
|
|
4290
4343
|
};
|
|
@@ -4359,7 +4412,7 @@ export interface FontFace {
|
|
|
4359
4412
|
sources: FontSource[];
|
|
4360
4413
|
}
|
|
4361
4414
|
/** Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules. */
|
|
4362
|
-
export interface
|
|
4415
|
+
export interface CustomizationFontDefinitionInput {
|
|
4363
4416
|
/** A globally unique identifier for the font definition. */
|
|
4364
4417
|
id: string;
|
|
4365
4418
|
/** Whether the font is a custom font. If false, this font is provided by GitBook. */
|
|
@@ -4372,6 +4425,13 @@ export interface CustomizationFontDefinition {
|
|
|
4372
4425
|
*/
|
|
4373
4426
|
fontFaces: FontFace[];
|
|
4374
4427
|
}
|
|
4428
|
+
export type CustomizationFontDefinition = CustomizationFontDefinitionInput & {
|
|
4429
|
+
/** The set of permissions for the font definition */
|
|
4430
|
+
permissions: {
|
|
4431
|
+
/** Can the user edit the font definition */
|
|
4432
|
+
edit: boolean;
|
|
4433
|
+
};
|
|
4434
|
+
};
|
|
4375
4435
|
/**
|
|
4376
4436
|
* The path of the file in the storage bucket
|
|
4377
4437
|
* @minLength 1
|
|
@@ -4491,7 +4551,7 @@ export declare enum CustomizationDefaultFont {
|
|
|
4491
4551
|
Poppins = "Poppins",
|
|
4492
4552
|
FiraSans = "FiraSans"
|
|
4493
4553
|
}
|
|
4494
|
-
export type CustomizationFont = CustomizationDefaultFont |
|
|
4554
|
+
export type CustomizationFont = CustomizationDefaultFont | CustomizationFontDefinitionInput;
|
|
4495
4555
|
/**
|
|
4496
4556
|
* The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead.
|
|
4497
4557
|
* @deprecated
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -16198,6 +16198,10 @@
|
|
|
16198
16198
|
"type": "object",
|
|
16199
16199
|
"description": "The set of permissions for the space",
|
|
16200
16200
|
"properties": {
|
|
16201
|
+
"view": {
|
|
16202
|
+
"type": "boolean",
|
|
16203
|
+
"description": "Can the user view the space content."
|
|
16204
|
+
},
|
|
16201
16205
|
"access": {
|
|
16202
16206
|
"type": "boolean",
|
|
16203
16207
|
"description": "Can the user access the space in the application."
|
|
@@ -16206,10 +16210,18 @@
|
|
|
16206
16210
|
"type": "boolean",
|
|
16207
16211
|
"description": "Can the user edit the title, install integrations, and manage the space."
|
|
16208
16212
|
},
|
|
16213
|
+
"viewInviteLinks": {
|
|
16214
|
+
"type": "boolean",
|
|
16215
|
+
"description": "Can the user view the invite links of the space."
|
|
16216
|
+
},
|
|
16209
16217
|
"edit": {
|
|
16210
16218
|
"type": "boolean",
|
|
16211
16219
|
"description": "Can the user edit the content of the space by creating a change request."
|
|
16212
16220
|
},
|
|
16221
|
+
"triggerGitSync": {
|
|
16222
|
+
"type": "boolean",
|
|
16223
|
+
"description": "Can the user trigger a git sync."
|
|
16224
|
+
},
|
|
16213
16225
|
"comment": {
|
|
16214
16226
|
"type": "boolean",
|
|
16215
16227
|
"description": "Can the user comment on the content."
|
|
@@ -16224,9 +16236,12 @@
|
|
|
16224
16236
|
}
|
|
16225
16237
|
},
|
|
16226
16238
|
"required": [
|
|
16239
|
+
"view",
|
|
16227
16240
|
"access",
|
|
16228
16241
|
"admin",
|
|
16242
|
+
"viewInviteLinks",
|
|
16229
16243
|
"edit",
|
|
16244
|
+
"triggerGitSync",
|
|
16230
16245
|
"comment",
|
|
16231
16246
|
"merge",
|
|
16232
16247
|
"review"
|
|
@@ -16753,6 +16768,24 @@
|
|
|
16753
16768
|
"createdAt": {
|
|
16754
16769
|
"description": "Date at which the team was created.",
|
|
16755
16770
|
"$ref": "#/components/schemas/Timestamp"
|
|
16771
|
+
},
|
|
16772
|
+
"permissions": {
|
|
16773
|
+
"type": "object",
|
|
16774
|
+
"description": "The set of permissions for the team",
|
|
16775
|
+
"properties": {
|
|
16776
|
+
"admin": {
|
|
16777
|
+
"type": "boolean",
|
|
16778
|
+
"description": "Can the user manage the team"
|
|
16779
|
+
},
|
|
16780
|
+
"view": {
|
|
16781
|
+
"type": "boolean",
|
|
16782
|
+
"description": "Can the user view the team and list its members"
|
|
16783
|
+
}
|
|
16784
|
+
},
|
|
16785
|
+
"required": [
|
|
16786
|
+
"admin",
|
|
16787
|
+
"view"
|
|
16788
|
+
]
|
|
16756
16789
|
}
|
|
16757
16790
|
},
|
|
16758
16791
|
"required": [
|
|
@@ -16761,7 +16794,8 @@
|
|
|
16761
16794
|
"title",
|
|
16762
16795
|
"members",
|
|
16763
16796
|
"spaces",
|
|
16764
|
-
"createdAt"
|
|
16797
|
+
"createdAt",
|
|
16798
|
+
"permissions"
|
|
16765
16799
|
]
|
|
16766
16800
|
},
|
|
16767
16801
|
"Icon": {
|
|
@@ -19111,6 +19145,15 @@
|
|
|
19111
19145
|
"enum": [
|
|
19112
19146
|
true
|
|
19113
19147
|
]
|
|
19148
|
+
},
|
|
19149
|
+
"meta": {
|
|
19150
|
+
"type": "object",
|
|
19151
|
+
"properties": {
|
|
19152
|
+
"token": {
|
|
19153
|
+
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
19154
|
+
"type": "string"
|
|
19155
|
+
}
|
|
19156
|
+
}
|
|
19114
19157
|
}
|
|
19115
19158
|
},
|
|
19116
19159
|
"required": [
|
|
@@ -22095,17 +22138,43 @@
|
|
|
22095
22138
|
"type": "object",
|
|
22096
22139
|
"description": "The set of permissions for the organization",
|
|
22097
22140
|
"properties": {
|
|
22141
|
+
"view": {
|
|
22142
|
+
"type": "boolean",
|
|
22143
|
+
"description": "Can the user view the organization."
|
|
22144
|
+
},
|
|
22098
22145
|
"admin": {
|
|
22099
22146
|
"type": "boolean",
|
|
22100
22147
|
"description": "Can the user manage the title, members, etc."
|
|
22101
22148
|
},
|
|
22149
|
+
"ownTeam": {
|
|
22150
|
+
"type": "boolean",
|
|
22151
|
+
"description": "Is the user a team owner."
|
|
22152
|
+
},
|
|
22153
|
+
"viewBilling": {
|
|
22154
|
+
"type": "boolean",
|
|
22155
|
+
"description": "Can the user view the billing details of the organization."
|
|
22156
|
+
},
|
|
22157
|
+
"listMembers": {
|
|
22158
|
+
"type": "boolean",
|
|
22159
|
+
"description": "Can the user list the members of the organization."
|
|
22160
|
+
},
|
|
22161
|
+
"listTeams": {
|
|
22162
|
+
"type": "boolean",
|
|
22163
|
+
"description": "Can the user list the teams in the organization."
|
|
22164
|
+
},
|
|
22102
22165
|
"createContent": {
|
|
22103
22166
|
"type": "boolean",
|
|
22104
|
-
"description": "Can the user create new spaces/collections in the organization"
|
|
22167
|
+
"description": "Can the user create new spaces/collections in the organization."
|
|
22168
|
+
},
|
|
22169
|
+
"listIntegrations": {
|
|
22170
|
+
"type": "boolean",
|
|
22171
|
+
"description": "Can the user list the integrations in the organization."
|
|
22105
22172
|
}
|
|
22106
22173
|
},
|
|
22107
22174
|
"required": [
|
|
22175
|
+
"view",
|
|
22108
22176
|
"admin",
|
|
22177
|
+
"ownTeam",
|
|
22109
22178
|
"createContent"
|
|
22110
22179
|
]
|
|
22111
22180
|
}
|
|
@@ -22382,17 +22451,27 @@
|
|
|
22382
22451
|
"type": "object",
|
|
22383
22452
|
"description": "The set of permissions for the collection",
|
|
22384
22453
|
"properties": {
|
|
22454
|
+
"view": {
|
|
22455
|
+
"type": "boolean",
|
|
22456
|
+
"description": "Can the user view the collection."
|
|
22457
|
+
},
|
|
22385
22458
|
"admin": {
|
|
22386
22459
|
"type": "boolean",
|
|
22387
22460
|
"description": "Can the user edit the title/description."
|
|
22388
22461
|
},
|
|
22462
|
+
"viewInviteLinks": {
|
|
22463
|
+
"type": "boolean",
|
|
22464
|
+
"description": "Can the user view the invite links of the collection."
|
|
22465
|
+
},
|
|
22389
22466
|
"create": {
|
|
22390
22467
|
"type": "boolean",
|
|
22391
22468
|
"description": "Can the user create spaces/collections in this collection."
|
|
22392
22469
|
}
|
|
22393
22470
|
},
|
|
22394
22471
|
"required": [
|
|
22472
|
+
"view",
|
|
22395
22473
|
"admin",
|
|
22474
|
+
"viewInviteLinks",
|
|
22396
22475
|
"create"
|
|
22397
22476
|
]
|
|
22398
22477
|
}
|
|
@@ -22555,7 +22634,16 @@
|
|
|
22555
22634
|
"permissions": {
|
|
22556
22635
|
"type": "object",
|
|
22557
22636
|
"description": "The set of permissions for the OpenAPI specification.",
|
|
22637
|
+
"required": [
|
|
22638
|
+
"view",
|
|
22639
|
+
"delete",
|
|
22640
|
+
"edit"
|
|
22641
|
+
],
|
|
22558
22642
|
"properties": {
|
|
22643
|
+
"view": {
|
|
22644
|
+
"type": "boolean",
|
|
22645
|
+
"description": "Can the user view the specification."
|
|
22646
|
+
},
|
|
22559
22647
|
"edit": {
|
|
22560
22648
|
"type": "boolean",
|
|
22561
22649
|
"description": "Can the user edit the specification."
|
|
@@ -24901,6 +24989,23 @@
|
|
|
24901
24989
|
"required": [
|
|
24902
24990
|
"location"
|
|
24903
24991
|
]
|
|
24992
|
+
},
|
|
24993
|
+
"permissions": {
|
|
24994
|
+
"type": "object",
|
|
24995
|
+
"properties": {
|
|
24996
|
+
"view": {
|
|
24997
|
+
"type": "boolean",
|
|
24998
|
+
"description": "Whether the user can view the object"
|
|
24999
|
+
},
|
|
25000
|
+
"edit": {
|
|
25001
|
+
"type": "boolean",
|
|
25002
|
+
"description": "Whether the user can edit the object"
|
|
25003
|
+
}
|
|
25004
|
+
},
|
|
25005
|
+
"required": [
|
|
25006
|
+
"view",
|
|
25007
|
+
"edit"
|
|
25008
|
+
]
|
|
24904
25009
|
}
|
|
24905
25010
|
},
|
|
24906
25011
|
"required": [
|
|
@@ -28621,11 +28726,25 @@
|
|
|
28621
28726
|
"team": {
|
|
28622
28727
|
"description": "User information as a team member",
|
|
28623
28728
|
"$ref": "#/components/schemas/TeamMember"
|
|
28729
|
+
},
|
|
28730
|
+
"permissions": {
|
|
28731
|
+
"type": "object",
|
|
28732
|
+
"description": "The set of permissions for the team member",
|
|
28733
|
+
"properties": {
|
|
28734
|
+
"view": {
|
|
28735
|
+
"type": "boolean",
|
|
28736
|
+
"description": "Can the user view the team member"
|
|
28737
|
+
}
|
|
28738
|
+
},
|
|
28739
|
+
"required": [
|
|
28740
|
+
"view"
|
|
28741
|
+
]
|
|
28624
28742
|
}
|
|
28625
28743
|
},
|
|
28626
28744
|
"required": [
|
|
28627
28745
|
"organization",
|
|
28628
|
-
"team"
|
|
28746
|
+
"team",
|
|
28747
|
+
"permissions"
|
|
28629
28748
|
]
|
|
28630
28749
|
},
|
|
28631
28750
|
"UpdateMembersInOrganizationTeam": {
|
|
@@ -29637,6 +29756,19 @@
|
|
|
29637
29756
|
},
|
|
29638
29757
|
"teamMembers": {
|
|
29639
29758
|
"$ref": "#/components/schemas/OrganizationUsageTeamMembers"
|
|
29759
|
+
},
|
|
29760
|
+
"permissions": {
|
|
29761
|
+
"type": "object",
|
|
29762
|
+
"description": "The set of permissions for the organization's usage.",
|
|
29763
|
+
"required": [
|
|
29764
|
+
"view"
|
|
29765
|
+
],
|
|
29766
|
+
"properties": {
|
|
29767
|
+
"view": {
|
|
29768
|
+
"type": "boolean",
|
|
29769
|
+
"description": "Can the user view the organization's usage."
|
|
29770
|
+
}
|
|
29771
|
+
}
|
|
29640
29772
|
}
|
|
29641
29773
|
},
|
|
29642
29774
|
"required": [
|
|
@@ -29645,7 +29777,8 @@
|
|
|
29645
29777
|
"sites",
|
|
29646
29778
|
"teams",
|
|
29647
29779
|
"members",
|
|
29648
|
-
"teamMembers"
|
|
29780
|
+
"teamMembers",
|
|
29781
|
+
"permissions"
|
|
29649
29782
|
]
|
|
29650
29783
|
},
|
|
29651
29784
|
"SearchAIQuery": {
|
|
@@ -29910,12 +30043,17 @@
|
|
|
29910
30043
|
"permissions": {
|
|
29911
30044
|
"type": "object",
|
|
29912
30045
|
"properties": {
|
|
30046
|
+
"view": {
|
|
30047
|
+
"type": "boolean",
|
|
30048
|
+
"description": "Whether the user can view the object"
|
|
30049
|
+
},
|
|
29913
30050
|
"edit": {
|
|
29914
30051
|
"type": "boolean",
|
|
29915
30052
|
"description": "Whether the user can edit the object"
|
|
29916
30053
|
}
|
|
29917
30054
|
},
|
|
29918
30055
|
"required": [
|
|
30056
|
+
"view",
|
|
29919
30057
|
"edit"
|
|
29920
30058
|
]
|
|
29921
30059
|
},
|
|
@@ -30089,7 +30227,7 @@
|
|
|
30089
30227
|
"sources"
|
|
30090
30228
|
]
|
|
30091
30229
|
},
|
|
30092
|
-
"
|
|
30230
|
+
"CustomizationFontDefinitionInput": {
|
|
30093
30231
|
"type": "object",
|
|
30094
30232
|
"description": "Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.",
|
|
30095
30233
|
"properties": {
|
|
@@ -30120,6 +30258,34 @@
|
|
|
30120
30258
|
"fontFaces"
|
|
30121
30259
|
]
|
|
30122
30260
|
},
|
|
30261
|
+
"CustomizationFontDefinition": {
|
|
30262
|
+
"allOf": [
|
|
30263
|
+
{
|
|
30264
|
+
"$ref": "#/components/schemas/CustomizationFontDefinitionInput"
|
|
30265
|
+
},
|
|
30266
|
+
{
|
|
30267
|
+
"type": "object",
|
|
30268
|
+
"properties": {
|
|
30269
|
+
"permissions": {
|
|
30270
|
+
"type": "object",
|
|
30271
|
+
"description": "The set of permissions for the font definition",
|
|
30272
|
+
"properties": {
|
|
30273
|
+
"edit": {
|
|
30274
|
+
"type": "boolean",
|
|
30275
|
+
"description": "Can the user edit the font definition"
|
|
30276
|
+
}
|
|
30277
|
+
},
|
|
30278
|
+
"required": [
|
|
30279
|
+
"edit"
|
|
30280
|
+
]
|
|
30281
|
+
}
|
|
30282
|
+
},
|
|
30283
|
+
"required": [
|
|
30284
|
+
"permissions"
|
|
30285
|
+
]
|
|
30286
|
+
}
|
|
30287
|
+
]
|
|
30288
|
+
},
|
|
30123
30289
|
"StorageFileKey": {
|
|
30124
30290
|
"type": "string",
|
|
30125
30291
|
"description": "The path of the file in the storage bucket",
|
|
@@ -30518,7 +30684,7 @@
|
|
|
30518
30684
|
"$ref": "#/components/schemas/CustomizationDefaultFont"
|
|
30519
30685
|
},
|
|
30520
30686
|
{
|
|
30521
|
-
"$ref": "#/components/schemas/
|
|
30687
|
+
"$ref": "#/components/schemas/CustomizationFontDefinitionInput"
|
|
30522
30688
|
}
|
|
30523
30689
|
]
|
|
30524
30690
|
},
|
package/spec/openapi.yaml
CHANGED
|
@@ -9344,15 +9344,24 @@ components:
|
|
|
9344
9344
|
type: object
|
|
9345
9345
|
description: The set of permissions for the space
|
|
9346
9346
|
properties:
|
|
9347
|
+
view:
|
|
9348
|
+
type: boolean
|
|
9349
|
+
description: Can the user view the space content.
|
|
9347
9350
|
access:
|
|
9348
9351
|
type: boolean
|
|
9349
9352
|
description: Can the user access the space in the application.
|
|
9350
9353
|
admin:
|
|
9351
9354
|
type: boolean
|
|
9352
9355
|
description: Can the user edit the title, install integrations, and manage the space.
|
|
9356
|
+
viewInviteLinks:
|
|
9357
|
+
type: boolean
|
|
9358
|
+
description: Can the user view the invite links of the space.
|
|
9353
9359
|
edit:
|
|
9354
9360
|
type: boolean
|
|
9355
9361
|
description: Can the user edit the content of the space by creating a change request.
|
|
9362
|
+
triggerGitSync:
|
|
9363
|
+
type: boolean
|
|
9364
|
+
description: Can the user trigger a git sync.
|
|
9356
9365
|
comment:
|
|
9357
9366
|
type: boolean
|
|
9358
9367
|
description: Can the user comment on the content.
|
|
@@ -9363,9 +9372,12 @@ components:
|
|
|
9363
9372
|
type: boolean
|
|
9364
9373
|
description: Can the user review change requests.
|
|
9365
9374
|
required:
|
|
9375
|
+
- view
|
|
9366
9376
|
- access
|
|
9367
9377
|
- admin
|
|
9378
|
+
- viewInviteLinks
|
|
9368
9379
|
- edit
|
|
9380
|
+
- triggerGitSync
|
|
9369
9381
|
- comment
|
|
9370
9382
|
- merge
|
|
9371
9383
|
- review
|
|
@@ -9729,6 +9741,19 @@ components:
|
|
|
9729
9741
|
createdAt:
|
|
9730
9742
|
description: Date at which the team was created.
|
|
9731
9743
|
$ref: "#/components/schemas/Timestamp"
|
|
9744
|
+
permissions:
|
|
9745
|
+
type: object
|
|
9746
|
+
description: The set of permissions for the team
|
|
9747
|
+
properties:
|
|
9748
|
+
admin:
|
|
9749
|
+
type: boolean
|
|
9750
|
+
description: Can the user manage the team
|
|
9751
|
+
view:
|
|
9752
|
+
type: boolean
|
|
9753
|
+
description: Can the user view the team and list its members
|
|
9754
|
+
required:
|
|
9755
|
+
- admin
|
|
9756
|
+
- view
|
|
9732
9757
|
required:
|
|
9733
9758
|
- object
|
|
9734
9759
|
- id
|
|
@@ -9736,6 +9761,7 @@ components:
|
|
|
9736
9761
|
- members
|
|
9737
9762
|
- spaces
|
|
9738
9763
|
- createdAt
|
|
9764
|
+
- permissions
|
|
9739
9765
|
Icon:
|
|
9740
9766
|
type: string
|
|
9741
9767
|
maxLength: 50
|
|
@@ -11226,6 +11252,12 @@ components:
|
|
|
11226
11252
|
type: boolean
|
|
11227
11253
|
enum:
|
|
11228
11254
|
- true
|
|
11255
|
+
meta:
|
|
11256
|
+
type: object
|
|
11257
|
+
properties:
|
|
11258
|
+
token:
|
|
11259
|
+
description: A content token that can be used to fetch the reusable content from the API.
|
|
11260
|
+
type: string
|
|
11229
11261
|
required:
|
|
11230
11262
|
- object
|
|
11231
11263
|
- type
|
|
@@ -13102,14 +13134,34 @@ components:
|
|
|
13102
13134
|
type: object
|
|
13103
13135
|
description: The set of permissions for the organization
|
|
13104
13136
|
properties:
|
|
13137
|
+
view:
|
|
13138
|
+
type: boolean
|
|
13139
|
+
description: Can the user view the organization.
|
|
13105
13140
|
admin:
|
|
13106
13141
|
type: boolean
|
|
13107
13142
|
description: Can the user manage the title, members, etc.
|
|
13143
|
+
ownTeam:
|
|
13144
|
+
type: boolean
|
|
13145
|
+
description: Is the user a team owner.
|
|
13146
|
+
viewBilling:
|
|
13147
|
+
type: boolean
|
|
13148
|
+
description: Can the user view the billing details of the organization.
|
|
13149
|
+
listMembers:
|
|
13150
|
+
type: boolean
|
|
13151
|
+
description: Can the user list the members of the organization.
|
|
13152
|
+
listTeams:
|
|
13153
|
+
type: boolean
|
|
13154
|
+
description: Can the user list the teams in the organization.
|
|
13108
13155
|
createContent:
|
|
13109
13156
|
type: boolean
|
|
13110
|
-
description: Can the user create new spaces/collections in the organization
|
|
13157
|
+
description: Can the user create new spaces/collections in the organization.
|
|
13158
|
+
listIntegrations:
|
|
13159
|
+
type: boolean
|
|
13160
|
+
description: Can the user list the integrations in the organization.
|
|
13111
13161
|
required:
|
|
13162
|
+
- view
|
|
13112
13163
|
- admin
|
|
13164
|
+
- ownTeam
|
|
13113
13165
|
- createContent
|
|
13114
13166
|
required:
|
|
13115
13167
|
- object
|
|
@@ -13296,14 +13348,22 @@ components:
|
|
|
13296
13348
|
type: object
|
|
13297
13349
|
description: The set of permissions for the collection
|
|
13298
13350
|
properties:
|
|
13351
|
+
view:
|
|
13352
|
+
type: boolean
|
|
13353
|
+
description: Can the user view the collection.
|
|
13299
13354
|
admin:
|
|
13300
13355
|
type: boolean
|
|
13301
13356
|
description: Can the user edit the title/description.
|
|
13357
|
+
viewInviteLinks:
|
|
13358
|
+
type: boolean
|
|
13359
|
+
description: Can the user view the invite links of the collection.
|
|
13302
13360
|
create:
|
|
13303
13361
|
type: boolean
|
|
13304
13362
|
description: Can the user create spaces/collections in this collection.
|
|
13305
13363
|
required:
|
|
13364
|
+
- view
|
|
13306
13365
|
- admin
|
|
13366
|
+
- viewInviteLinks
|
|
13307
13367
|
- create
|
|
13308
13368
|
required:
|
|
13309
13369
|
- object
|
|
@@ -13417,7 +13477,14 @@ components:
|
|
|
13417
13477
|
permissions:
|
|
13418
13478
|
type: object
|
|
13419
13479
|
description: The set of permissions for the OpenAPI specification.
|
|
13480
|
+
required:
|
|
13481
|
+
- view
|
|
13482
|
+
- delete
|
|
13483
|
+
- edit
|
|
13420
13484
|
properties:
|
|
13485
|
+
view:
|
|
13486
|
+
type: boolean
|
|
13487
|
+
description: Can the user view the specification.
|
|
13421
13488
|
edit:
|
|
13422
13489
|
type: boolean
|
|
13423
13490
|
description: Can the user edit the specification.
|
|
@@ -15011,6 +15078,18 @@ components:
|
|
|
15011
15078
|
format: uri
|
|
15012
15079
|
required:
|
|
15013
15080
|
- location
|
|
15081
|
+
permissions:
|
|
15082
|
+
type: object
|
|
15083
|
+
properties:
|
|
15084
|
+
view:
|
|
15085
|
+
type: boolean
|
|
15086
|
+
description: Whether the user can view the object
|
|
15087
|
+
edit:
|
|
15088
|
+
type: boolean
|
|
15089
|
+
description: Whether the user can edit the object
|
|
15090
|
+
required:
|
|
15091
|
+
- view
|
|
15092
|
+
- edit
|
|
15014
15093
|
required:
|
|
15015
15094
|
- id
|
|
15016
15095
|
- name
|
|
@@ -17422,9 +17501,19 @@ components:
|
|
|
17422
17501
|
team:
|
|
17423
17502
|
description: User information as a team member
|
|
17424
17503
|
$ref: "#/components/schemas/TeamMember"
|
|
17504
|
+
permissions:
|
|
17505
|
+
type: object
|
|
17506
|
+
description: The set of permissions for the team member
|
|
17507
|
+
properties:
|
|
17508
|
+
view:
|
|
17509
|
+
type: boolean
|
|
17510
|
+
description: Can the user view the team member
|
|
17511
|
+
required:
|
|
17512
|
+
- view
|
|
17425
17513
|
required:
|
|
17426
17514
|
- organization
|
|
17427
17515
|
- team
|
|
17516
|
+
- permissions
|
|
17428
17517
|
UpdateMembersInOrganizationTeam:
|
|
17429
17518
|
type: object
|
|
17430
17519
|
properties:
|
|
@@ -18122,6 +18211,15 @@ components:
|
|
|
18122
18211
|
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
18123
18212
|
teamMembers:
|
|
18124
18213
|
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
18214
|
+
permissions:
|
|
18215
|
+
type: object
|
|
18216
|
+
description: The set of permissions for the organization's usage.
|
|
18217
|
+
required:
|
|
18218
|
+
- view
|
|
18219
|
+
properties:
|
|
18220
|
+
view:
|
|
18221
|
+
type: boolean
|
|
18222
|
+
description: Can the user view the organization's usage.
|
|
18125
18223
|
required:
|
|
18126
18224
|
- spaces
|
|
18127
18225
|
- collections
|
|
@@ -18129,6 +18227,7 @@ components:
|
|
|
18129
18227
|
- teams
|
|
18130
18228
|
- members
|
|
18131
18229
|
- teamMembers
|
|
18230
|
+
- permissions
|
|
18132
18231
|
SearchAIQuery:
|
|
18133
18232
|
type: object
|
|
18134
18233
|
properties:
|
|
@@ -18313,10 +18412,14 @@ components:
|
|
|
18313
18412
|
permissions:
|
|
18314
18413
|
type: object
|
|
18315
18414
|
properties:
|
|
18415
|
+
view:
|
|
18416
|
+
type: boolean
|
|
18417
|
+
description: Whether the user can view the object
|
|
18316
18418
|
edit:
|
|
18317
18419
|
type: boolean
|
|
18318
18420
|
description: Whether the user can edit the object
|
|
18319
18421
|
required:
|
|
18422
|
+
- view
|
|
18320
18423
|
- edit
|
|
18321
18424
|
urls:
|
|
18322
18425
|
type: object
|
|
@@ -18441,7 +18544,7 @@ components:
|
|
|
18441
18544
|
required:
|
|
18442
18545
|
- weight
|
|
18443
18546
|
- sources
|
|
18444
|
-
|
|
18547
|
+
CustomizationFontDefinitionInput:
|
|
18445
18548
|
type: object
|
|
18446
18549
|
description: Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
|
|
18447
18550
|
properties:
|
|
@@ -18464,6 +18567,22 @@ components:
|
|
|
18464
18567
|
- custom
|
|
18465
18568
|
- fontFamily
|
|
18466
18569
|
- fontFaces
|
|
18570
|
+
CustomizationFontDefinition:
|
|
18571
|
+
allOf:
|
|
18572
|
+
- $ref: "#/components/schemas/CustomizationFontDefinitionInput"
|
|
18573
|
+
- type: object
|
|
18574
|
+
properties:
|
|
18575
|
+
permissions:
|
|
18576
|
+
type: object
|
|
18577
|
+
description: The set of permissions for the font definition
|
|
18578
|
+
properties:
|
|
18579
|
+
edit:
|
|
18580
|
+
type: boolean
|
|
18581
|
+
description: Can the user edit the font definition
|
|
18582
|
+
required:
|
|
18583
|
+
- edit
|
|
18584
|
+
required:
|
|
18585
|
+
- permissions
|
|
18467
18586
|
StorageFileKey:
|
|
18468
18587
|
type: string
|
|
18469
18588
|
description: The path of the file in the storage bucket
|
|
@@ -18739,7 +18858,7 @@ components:
|
|
|
18739
18858
|
CustomizationFont:
|
|
18740
18859
|
oneOf:
|
|
18741
18860
|
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
18742
|
-
- $ref: "#/components/schemas/
|
|
18861
|
+
- $ref: "#/components/schemas/CustomizationFontDefinitionInput"
|
|
18743
18862
|
CustomizationBackground:
|
|
18744
18863
|
type: string
|
|
18745
18864
|
enum:
|