@gitbook/api 0.130.0 → 0.131.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
@@ -93,6 +93,45 @@ export declare enum SpaceEditMode {
93
93
  Live = "live",
94
94
  Locked = "locked"
95
95
  }
96
+ export declare enum TranslationLanguage {
97
+ En = "en",
98
+ Fr = "fr",
99
+ De = "de",
100
+ Es = "es",
101
+ It = "it",
102
+ Pt = "pt",
103
+ PtBr = "pt-br",
104
+ Ru = "ru",
105
+ Ja = "ja",
106
+ Zh = "zh",
107
+ Ko = "ko",
108
+ Ar = "ar",
109
+ Hi = "hi",
110
+ Nl = "nl",
111
+ Pl = "pl",
112
+ Tr = "tr",
113
+ Sv = "sv",
114
+ No = "no",
115
+ Da = "da",
116
+ Fi = "fi",
117
+ El = "el",
118
+ Cs = "cs",
119
+ Hu = "hu",
120
+ Ro = "ro",
121
+ Th = "th",
122
+ Vi = "vi",
123
+ Id = "id",
124
+ Ms = "ms",
125
+ He = "he",
126
+ Uk = "uk",
127
+ Sk = "sk",
128
+ Bg = "bg",
129
+ Hr = "hr",
130
+ Lt = "lt",
131
+ Lv = "lv",
132
+ Et = "et",
133
+ Sl = "sl"
134
+ }
96
135
  /** The provider of the Git Sync installation. */
97
136
  export declare enum GitSyncProvider {
98
137
  Github = "github",
@@ -203,6 +242,7 @@ export interface Space {
203
242
  organization: string;
204
243
  /** ID of the parent collection. */
205
244
  parent?: string;
245
+ language?: TranslationLanguage;
206
246
  gitSync?: GitSyncState;
207
247
  visitorAuth?: VisitorAuth;
208
248
  /** ID of the active revision in the space. */
@@ -1814,6 +1854,8 @@ export interface Organization {
1814
1854
  listTeams: boolean;
1815
1855
  /** Can the user list the integrations in the organization. */
1816
1856
  listIntegrations: boolean;
1857
+ /** Can the user list the integration installations in the organization. */
1858
+ listInstallations: boolean;
1817
1859
  };
1818
1860
  }
1819
1861
  export interface ContentLocationRevisionContext {
@@ -4114,6 +4156,7 @@ export type CreateSpace = {
4114
4156
  emoji?: Emoji;
4115
4157
  /** ID of a parent collection */
4116
4158
  parent?: string;
4159
+ language?: TranslationLanguage;
4117
4160
  /** The edit mode of the space */
4118
4161
  editMode?: SpaceEditMode;
4119
4162
  } & (Record<string, any> | ({
@@ -4551,44 +4594,6 @@ export declare enum TranslationStatus {
4551
4594
  Running = "running",
4552
4595
  Completed = "completed"
4553
4596
  }
4554
- export declare enum TranslationLanguage {
4555
- En = "en",
4556
- Fr = "fr",
4557
- De = "de",
4558
- Es = "es",
4559
- It = "it",
4560
- Pt = "pt",
4561
- Ru = "ru",
4562
- Ja = "ja",
4563
- Zh = "zh",
4564
- Ko = "ko",
4565
- Ar = "ar",
4566
- Hi = "hi",
4567
- Nl = "nl",
4568
- Pl = "pl",
4569
- Tr = "tr",
4570
- Sv = "sv",
4571
- No = "no",
4572
- Da = "da",
4573
- Fi = "fi",
4574
- El = "el",
4575
- Cs = "cs",
4576
- Hu = "hu",
4577
- Ro = "ro",
4578
- Th = "th",
4579
- Vi = "vi",
4580
- Id = "id",
4581
- Ms = "ms",
4582
- He = "he",
4583
- Uk = "uk",
4584
- Sk = "sk",
4585
- Bg = "bg",
4586
- Hr = "hr",
4587
- Lt = "lt",
4588
- Lv = "lv",
4589
- Et = "et",
4590
- Sl = "sl"
4591
- }
4592
4597
  export interface TranslationSource {
4593
4598
  /** ID of the source space */
4594
4599
  space: string;
@@ -4940,7 +4945,8 @@ export declare enum CustomizationLocale {
4940
4945
  De = "de",
4941
4946
  Nl = "nl",
4942
4947
  No = "no",
4943
- PtBr = "pt-br"
4948
+ PtBr = "pt-br",
4949
+ Ru = "ru"
4944
4950
  }
4945
4951
  /**
4946
4952
  * The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead.
@@ -7274,6 +7280,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7274
7280
  title?: SpaceTitle;
7275
7281
  /** Default level for a piece of content */
7276
7282
  defaultLevel?: DefaultLevel;
7283
+ language?: TranslationLanguage;
7277
7284
  } & ({
7278
7285
  /** Unicode codepoint or character of the emoji */
7279
7286
  emoji: Emoji;
@@ -12730,7 +12737,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12730
12737
  * @secure
12731
12738
  */
12732
12739
  getOrganizationsForEmailDomain: (emailDomain: string, params?: RequestParams) => Promise<HttpResponse<{
12733
- organizations?: Organization[];
12740
+ organizations: Organization[];
12734
12741
  }, any>>;
12735
12742
  };
12736
12743
  ads: {
package/dist/index.cjs CHANGED
@@ -279,7 +279,7 @@ module.exports = __toCommonJS(src_exports);
279
279
 
280
280
  // package.json
281
281
  var name = "@gitbook/api";
282
- var version = "0.130.0";
282
+ var version = "0.131.0";
283
283
 
284
284
  // src/client.ts
285
285
  var import_event_iterator = __toESM(require_node(), 1);
@@ -393,6 +393,46 @@ var SpaceEditMode = /* @__PURE__ */ ((SpaceEditMode2) => {
393
393
  SpaceEditMode2["Locked"] = "locked";
394
394
  return SpaceEditMode2;
395
395
  })(SpaceEditMode || {});
396
+ var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
397
+ TranslationLanguage2["En"] = "en";
398
+ TranslationLanguage2["Fr"] = "fr";
399
+ TranslationLanguage2["De"] = "de";
400
+ TranslationLanguage2["Es"] = "es";
401
+ TranslationLanguage2["It"] = "it";
402
+ TranslationLanguage2["Pt"] = "pt";
403
+ TranslationLanguage2["PtBr"] = "pt-br";
404
+ TranslationLanguage2["Ru"] = "ru";
405
+ TranslationLanguage2["Ja"] = "ja";
406
+ TranslationLanguage2["Zh"] = "zh";
407
+ TranslationLanguage2["Ko"] = "ko";
408
+ TranslationLanguage2["Ar"] = "ar";
409
+ TranslationLanguage2["Hi"] = "hi";
410
+ TranslationLanguage2["Nl"] = "nl";
411
+ TranslationLanguage2["Pl"] = "pl";
412
+ TranslationLanguage2["Tr"] = "tr";
413
+ TranslationLanguage2["Sv"] = "sv";
414
+ TranslationLanguage2["No"] = "no";
415
+ TranslationLanguage2["Da"] = "da";
416
+ TranslationLanguage2["Fi"] = "fi";
417
+ TranslationLanguage2["El"] = "el";
418
+ TranslationLanguage2["Cs"] = "cs";
419
+ TranslationLanguage2["Hu"] = "hu";
420
+ TranslationLanguage2["Ro"] = "ro";
421
+ TranslationLanguage2["Th"] = "th";
422
+ TranslationLanguage2["Vi"] = "vi";
423
+ TranslationLanguage2["Id"] = "id";
424
+ TranslationLanguage2["Ms"] = "ms";
425
+ TranslationLanguage2["He"] = "he";
426
+ TranslationLanguage2["Uk"] = "uk";
427
+ TranslationLanguage2["Sk"] = "sk";
428
+ TranslationLanguage2["Bg"] = "bg";
429
+ TranslationLanguage2["Hr"] = "hr";
430
+ TranslationLanguage2["Lt"] = "lt";
431
+ TranslationLanguage2["Lv"] = "lv";
432
+ TranslationLanguage2["Et"] = "et";
433
+ TranslationLanguage2["Sl"] = "sl";
434
+ return TranslationLanguage2;
435
+ })(TranslationLanguage || {});
396
436
  var GitSyncProvider = /* @__PURE__ */ ((GitSyncProvider2) => {
397
437
  GitSyncProvider2["Github"] = "github";
398
438
  GitSyncProvider2["Gitlab"] = "gitlab";
@@ -728,45 +768,6 @@ var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
728
768
  TranslationStatus2["Completed"] = "completed";
729
769
  return TranslationStatus2;
730
770
  })(TranslationStatus || {});
731
- var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
732
- TranslationLanguage2["En"] = "en";
733
- TranslationLanguage2["Fr"] = "fr";
734
- TranslationLanguage2["De"] = "de";
735
- TranslationLanguage2["Es"] = "es";
736
- TranslationLanguage2["It"] = "it";
737
- TranslationLanguage2["Pt"] = "pt";
738
- TranslationLanguage2["Ru"] = "ru";
739
- TranslationLanguage2["Ja"] = "ja";
740
- TranslationLanguage2["Zh"] = "zh";
741
- TranslationLanguage2["Ko"] = "ko";
742
- TranslationLanguage2["Ar"] = "ar";
743
- TranslationLanguage2["Hi"] = "hi";
744
- TranslationLanguage2["Nl"] = "nl";
745
- TranslationLanguage2["Pl"] = "pl";
746
- TranslationLanguage2["Tr"] = "tr";
747
- TranslationLanguage2["Sv"] = "sv";
748
- TranslationLanguage2["No"] = "no";
749
- TranslationLanguage2["Da"] = "da";
750
- TranslationLanguage2["Fi"] = "fi";
751
- TranslationLanguage2["El"] = "el";
752
- TranslationLanguage2["Cs"] = "cs";
753
- TranslationLanguage2["Hu"] = "hu";
754
- TranslationLanguage2["Ro"] = "ro";
755
- TranslationLanguage2["Th"] = "th";
756
- TranslationLanguage2["Vi"] = "vi";
757
- TranslationLanguage2["Id"] = "id";
758
- TranslationLanguage2["Ms"] = "ms";
759
- TranslationLanguage2["He"] = "he";
760
- TranslationLanguage2["Uk"] = "uk";
761
- TranslationLanguage2["Sk"] = "sk";
762
- TranslationLanguage2["Bg"] = "bg";
763
- TranslationLanguage2["Hr"] = "hr";
764
- TranslationLanguage2["Lt"] = "lt";
765
- TranslationLanguage2["Lv"] = "lv";
766
- TranslationLanguage2["Et"] = "et";
767
- TranslationLanguage2["Sl"] = "sl";
768
- return TranslationLanguage2;
769
- })(TranslationLanguage || {});
770
771
  var StorageUploadKind = /* @__PURE__ */ ((StorageUploadKind2) => {
771
772
  StorageUploadKind2["CustomizationFont"] = "customization_font";
772
773
  return StorageUploadKind2;
@@ -862,6 +863,7 @@ var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
862
863
  CustomizationLocale2["Nl"] = "nl";
863
864
  CustomizationLocale2["No"] = "no";
864
865
  CustomizationLocale2["PtBr"] = "pt-br";
866
+ CustomizationLocale2["Ru"] = "ru";
865
867
  return CustomizationLocale2;
866
868
  })(CustomizationLocale || {});
867
869
  var CustomizationHeaderPreset = /* @__PURE__ */ ((CustomizationHeaderPreset2) => {
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.130.0";
175
+ var version = "0.131.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -286,6 +286,46 @@ var SpaceEditMode = /* @__PURE__ */ ((SpaceEditMode2) => {
286
286
  SpaceEditMode2["Locked"] = "locked";
287
287
  return SpaceEditMode2;
288
288
  })(SpaceEditMode || {});
289
+ var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
290
+ TranslationLanguage2["En"] = "en";
291
+ TranslationLanguage2["Fr"] = "fr";
292
+ TranslationLanguage2["De"] = "de";
293
+ TranslationLanguage2["Es"] = "es";
294
+ TranslationLanguage2["It"] = "it";
295
+ TranslationLanguage2["Pt"] = "pt";
296
+ TranslationLanguage2["PtBr"] = "pt-br";
297
+ TranslationLanguage2["Ru"] = "ru";
298
+ TranslationLanguage2["Ja"] = "ja";
299
+ TranslationLanguage2["Zh"] = "zh";
300
+ TranslationLanguage2["Ko"] = "ko";
301
+ TranslationLanguage2["Ar"] = "ar";
302
+ TranslationLanguage2["Hi"] = "hi";
303
+ TranslationLanguage2["Nl"] = "nl";
304
+ TranslationLanguage2["Pl"] = "pl";
305
+ TranslationLanguage2["Tr"] = "tr";
306
+ TranslationLanguage2["Sv"] = "sv";
307
+ TranslationLanguage2["No"] = "no";
308
+ TranslationLanguage2["Da"] = "da";
309
+ TranslationLanguage2["Fi"] = "fi";
310
+ TranslationLanguage2["El"] = "el";
311
+ TranslationLanguage2["Cs"] = "cs";
312
+ TranslationLanguage2["Hu"] = "hu";
313
+ TranslationLanguage2["Ro"] = "ro";
314
+ TranslationLanguage2["Th"] = "th";
315
+ TranslationLanguage2["Vi"] = "vi";
316
+ TranslationLanguage2["Id"] = "id";
317
+ TranslationLanguage2["Ms"] = "ms";
318
+ TranslationLanguage2["He"] = "he";
319
+ TranslationLanguage2["Uk"] = "uk";
320
+ TranslationLanguage2["Sk"] = "sk";
321
+ TranslationLanguage2["Bg"] = "bg";
322
+ TranslationLanguage2["Hr"] = "hr";
323
+ TranslationLanguage2["Lt"] = "lt";
324
+ TranslationLanguage2["Lv"] = "lv";
325
+ TranslationLanguage2["Et"] = "et";
326
+ TranslationLanguage2["Sl"] = "sl";
327
+ return TranslationLanguage2;
328
+ })(TranslationLanguage || {});
289
329
  var GitSyncProvider = /* @__PURE__ */ ((GitSyncProvider2) => {
290
330
  GitSyncProvider2["Github"] = "github";
291
331
  GitSyncProvider2["Gitlab"] = "gitlab";
@@ -621,45 +661,6 @@ var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
621
661
  TranslationStatus2["Completed"] = "completed";
622
662
  return TranslationStatus2;
623
663
  })(TranslationStatus || {});
624
- var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
625
- TranslationLanguage2["En"] = "en";
626
- TranslationLanguage2["Fr"] = "fr";
627
- TranslationLanguage2["De"] = "de";
628
- TranslationLanguage2["Es"] = "es";
629
- TranslationLanguage2["It"] = "it";
630
- TranslationLanguage2["Pt"] = "pt";
631
- TranslationLanguage2["Ru"] = "ru";
632
- TranslationLanguage2["Ja"] = "ja";
633
- TranslationLanguage2["Zh"] = "zh";
634
- TranslationLanguage2["Ko"] = "ko";
635
- TranslationLanguage2["Ar"] = "ar";
636
- TranslationLanguage2["Hi"] = "hi";
637
- TranslationLanguage2["Nl"] = "nl";
638
- TranslationLanguage2["Pl"] = "pl";
639
- TranslationLanguage2["Tr"] = "tr";
640
- TranslationLanguage2["Sv"] = "sv";
641
- TranslationLanguage2["No"] = "no";
642
- TranslationLanguage2["Da"] = "da";
643
- TranslationLanguage2["Fi"] = "fi";
644
- TranslationLanguage2["El"] = "el";
645
- TranslationLanguage2["Cs"] = "cs";
646
- TranslationLanguage2["Hu"] = "hu";
647
- TranslationLanguage2["Ro"] = "ro";
648
- TranslationLanguage2["Th"] = "th";
649
- TranslationLanguage2["Vi"] = "vi";
650
- TranslationLanguage2["Id"] = "id";
651
- TranslationLanguage2["Ms"] = "ms";
652
- TranslationLanguage2["He"] = "he";
653
- TranslationLanguage2["Uk"] = "uk";
654
- TranslationLanguage2["Sk"] = "sk";
655
- TranslationLanguage2["Bg"] = "bg";
656
- TranslationLanguage2["Hr"] = "hr";
657
- TranslationLanguage2["Lt"] = "lt";
658
- TranslationLanguage2["Lv"] = "lv";
659
- TranslationLanguage2["Et"] = "et";
660
- TranslationLanguage2["Sl"] = "sl";
661
- return TranslationLanguage2;
662
- })(TranslationLanguage || {});
663
664
  var StorageUploadKind = /* @__PURE__ */ ((StorageUploadKind2) => {
664
665
  StorageUploadKind2["CustomizationFont"] = "customization_font";
665
666
  return StorageUploadKind2;
@@ -755,6 +756,7 @@ var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
755
756
  CustomizationLocale2["Nl"] = "nl";
756
757
  CustomizationLocale2["No"] = "no";
757
758
  CustomizationLocale2["PtBr"] = "pt-br";
759
+ CustomizationLocale2["Ru"] = "ru";
758
760
  return CustomizationLocale2;
759
761
  })(CustomizationLocale || {});
760
762
  var CustomizationHeaderPreset = /* @__PURE__ */ ((CustomizationHeaderPreset2) => {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.130.0",
7
+ "version": "0.131.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -643,6 +643,9 @@
643
643
  },
644
644
  "defaultLevel": {
645
645
  "$ref": "#/components/schemas/DefaultLevel"
646
+ },
647
+ "language": {
648
+ "$ref": "#/components/schemas/TranslationLanguage"
646
649
  }
647
650
  }
648
651
  },
@@ -5202,8 +5205,7 @@
5202
5205
  {
5203
5206
  "type": "object",
5204
5207
  "required": [
5205
- "items",
5206
- "total"
5208
+ "items"
5207
5209
  ],
5208
5210
  "properties": {
5209
5211
  "items": {
@@ -5262,8 +5264,7 @@
5262
5264
  {
5263
5265
  "type": "object",
5264
5266
  "required": [
5265
- "items",
5266
- "total"
5267
+ "items"
5267
5268
  ],
5268
5269
  "properties": {
5269
5270
  "items": {
@@ -15915,7 +15916,7 @@
15915
15916
  }
15916
15917
  },
15917
15918
  "required": [
15918
- "organizaitons"
15919
+ "organizations"
15919
15920
  ]
15920
15921
  }
15921
15922
  }
@@ -17156,6 +17157,48 @@
17156
17157
  "locked"
17157
17158
  ]
17158
17159
  },
17160
+ "TranslationLanguage": {
17161
+ "type": "string",
17162
+ "enum": [
17163
+ "en",
17164
+ "fr",
17165
+ "de",
17166
+ "es",
17167
+ "it",
17168
+ "pt",
17169
+ "pt-br",
17170
+ "ru",
17171
+ "ja",
17172
+ "zh",
17173
+ "ko",
17174
+ "ar",
17175
+ "hi",
17176
+ "nl",
17177
+ "pl",
17178
+ "tr",
17179
+ "sv",
17180
+ "no",
17181
+ "da",
17182
+ "fi",
17183
+ "el",
17184
+ "cs",
17185
+ "hu",
17186
+ "ro",
17187
+ "th",
17188
+ "vi",
17189
+ "id",
17190
+ "ms",
17191
+ "he",
17192
+ "uk",
17193
+ "sk",
17194
+ "bg",
17195
+ "hr",
17196
+ "lt",
17197
+ "lv",
17198
+ "et",
17199
+ "sl"
17200
+ ]
17201
+ },
17159
17202
  "GitSyncProvider": {
17160
17203
  "type": "string",
17161
17204
  "description": "The provider of the Git Sync installation.",
@@ -17366,6 +17409,9 @@
17366
17409
  "type": "string",
17367
17410
  "description": "ID of the parent collection."
17368
17411
  },
17412
+ "language": {
17413
+ "$ref": "#/components/schemas/TranslationLanguage"
17414
+ },
17369
17415
  "gitSync": {
17370
17416
  "$ref": "#/components/schemas/GitSyncState"
17371
17417
  },
@@ -17452,7 +17498,6 @@
17452
17498
  "required": [
17453
17499
  "object",
17454
17500
  "id",
17455
- "type",
17456
17501
  "title",
17457
17502
  "emoji",
17458
17503
  "organization",
@@ -22207,7 +22252,6 @@
22207
22252
  "required": [
22208
22253
  "object",
22209
22254
  "id",
22210
- "organizationId",
22211
22255
  "slug"
22212
22256
  ]
22213
22257
  }
@@ -23808,6 +23852,10 @@
23808
23852
  "listIntegrations": {
23809
23853
  "type": "boolean",
23810
23854
  "description": "Can the user list the integrations in the organization."
23855
+ },
23856
+ "listInstallations": {
23857
+ "type": "boolean",
23858
+ "description": "Can the user list the integration installations in the organization."
23811
23859
  }
23812
23860
  },
23813
23861
  "required": [
@@ -23820,7 +23868,8 @@
23820
23868
  "viewBilling",
23821
23869
  "listMembers",
23822
23870
  "listTeams",
23823
- "listIntegrations"
23871
+ "listIntegrations",
23872
+ "listInstallations"
23824
23873
  ]
23825
23874
  }
23826
23875
  },
@@ -24292,7 +24341,6 @@
24292
24341
  "description": "The set of permissions for the OpenAPI specification.",
24293
24342
  "required": [
24294
24343
  "view",
24295
- "delete",
24296
24344
  "edit"
24297
24345
  ],
24298
24346
  "properties": {
@@ -24683,7 +24731,6 @@
24683
24731
  "required": [
24684
24732
  "view",
24685
24733
  "edit",
24686
- "react",
24687
24734
  "delete"
24688
24735
  ]
24689
24736
  }
@@ -25014,7 +25061,6 @@
25014
25061
  "required": [
25015
25062
  "view",
25016
25063
  "edit",
25017
- "react",
25018
25064
  "delete"
25019
25065
  ]
25020
25066
  }
@@ -27920,8 +27966,7 @@
27920
27966
  "type": "object",
27921
27967
  "required": [
27922
27968
  "status",
27923
- "topic",
27924
- "accountEmail"
27969
+ "topic"
27925
27970
  ],
27926
27971
  "properties": {
27927
27972
  "status": {
@@ -28170,7 +28215,6 @@
28170
28215
  "published",
28171
28216
  "createdAt",
28172
28217
  "siteSpaces",
28173
- "defaultSpace",
28174
28218
  "features",
28175
28219
  "agentsContext",
28176
28220
  "urls"
@@ -29691,10 +29735,7 @@
29691
29735
  "description": "URL of the published version of the site-space. Only defined when site is published.",
29692
29736
  "format": "uri"
29693
29737
  }
29694
- },
29695
- "required": [
29696
- "location"
29697
- ]
29738
+ }
29698
29739
  }
29699
29740
  },
29700
29741
  "required": [
@@ -29756,10 +29797,7 @@
29756
29797
  "description": "URL of the published version of the site section. Only defined when site is published.",
29757
29798
  "format": "uri"
29758
29799
  }
29759
- },
29760
- "required": [
29761
- "location"
29762
- ]
29800
+ }
29763
29801
  },
29764
29802
  "icon": {
29765
29803
  "$ref": "#/components/schemas/Icon"
@@ -30121,7 +30159,6 @@
30121
30159
  "required": [
30122
30160
  "object",
30123
30161
  "id",
30124
- "target",
30125
30162
  "level",
30126
30163
  "redundant",
30127
30164
  "collection"
@@ -30158,7 +30195,6 @@
30158
30195
  "required": [
30159
30196
  "object",
30160
30197
  "id",
30161
- "target",
30162
30198
  "level",
30163
30199
  "redundant",
30164
30200
  "space"
@@ -30733,6 +30769,9 @@
30733
30769
  "type": "string",
30734
30770
  "description": "ID of a parent collection"
30735
30771
  },
30772
+ "language": {
30773
+ "$ref": "#/components/schemas/TranslationLanguage"
30774
+ },
30736
30775
  "editMode": {
30737
30776
  "$ref": "#/components/schemas/SpaceEditMode",
30738
30777
  "description": "The edit mode of the space"
@@ -31215,7 +31254,6 @@
31215
31254
  }
31216
31255
  },
31217
31256
  "required": [
31218
- "pages",
31219
31257
  "sources",
31220
31258
  "followupQuestions"
31221
31259
  ]
@@ -31863,47 +31901,6 @@
31863
31901
  "completed"
31864
31902
  ]
31865
31903
  },
31866
- "TranslationLanguage": {
31867
- "type": "string",
31868
- "enum": [
31869
- "en",
31870
- "fr",
31871
- "de",
31872
- "es",
31873
- "it",
31874
- "pt",
31875
- "ru",
31876
- "ja",
31877
- "zh",
31878
- "ko",
31879
- "ar",
31880
- "hi",
31881
- "nl",
31882
- "pl",
31883
- "tr",
31884
- "sv",
31885
- "no",
31886
- "da",
31887
- "fi",
31888
- "el",
31889
- "cs",
31890
- "hu",
31891
- "ro",
31892
- "th",
31893
- "vi",
31894
- "id",
31895
- "ms",
31896
- "he",
31897
- "uk",
31898
- "sk",
31899
- "bg",
31900
- "hr",
31901
- "lt",
31902
- "lv",
31903
- "et",
31904
- "sl"
31905
- ]
31906
- },
31907
31904
  "TranslationSource": {
31908
31905
  "type": "object",
31909
31906
  "required": [
@@ -32833,7 +32830,8 @@
32833
32830
  "de",
32834
32831
  "nl",
32835
32832
  "no",
32836
- "pt-br"
32833
+ "pt-br",
32834
+ "ru"
32837
32835
  ]
32838
32836
  },
32839
32837
  "CustomizationHeaderPreset": {
@@ -37590,10 +37588,7 @@
37590
37588
  "type": "object",
37591
37589
  "additionalProperties": {
37592
37590
  "$ref": "#/components/schemas/UserOrganizationsTeamsPermissions"
37593
- },
37594
- "required": [
37595
- "role"
37596
- ]
37591
+ }
37597
37592
  },
37598
37593
  "disabled": {
37599
37594
  "type": "boolean"
package/spec/openapi.yaml CHANGED
@@ -612,6 +612,8 @@ paths:
612
612
  $ref: "#/components/schemas/SpaceTitle"
613
613
  defaultLevel:
614
614
  $ref: "#/components/schemas/DefaultLevel"
615
+ language:
616
+ $ref: "#/components/schemas/TranslationLanguage"
615
617
  - oneOf:
616
618
  - type: object
617
619
  title: Emoji
@@ -3039,7 +3041,6 @@ paths:
3039
3041
  - type: object
3040
3042
  required:
3041
3043
  - items
3042
- - total
3043
3044
  properties:
3044
3045
  items:
3045
3046
  type: array
@@ -3070,7 +3071,6 @@ paths:
3070
3071
  - type: object
3071
3072
  required:
3072
3073
  - items
3073
- - total
3074
3074
  properties:
3075
3075
  items:
3076
3076
  type: array
@@ -8992,7 +8992,7 @@ paths:
8992
8992
  items:
8993
8993
  $ref: "#/components/schemas/Organization"
8994
8994
  required:
8995
- - organizaitons
8995
+ - organizations
8996
8996
  /ads/sites:
8997
8997
  get:
8998
8998
  operationId: adsListSites
@@ -9869,6 +9869,46 @@ components:
9869
9869
  enum:
9870
9870
  - live
9871
9871
  - locked
9872
+ TranslationLanguage:
9873
+ type: string
9874
+ enum:
9875
+ - en
9876
+ - fr
9877
+ - de
9878
+ - es
9879
+ - it
9880
+ - pt
9881
+ - pt-br
9882
+ - ru
9883
+ - ja
9884
+ - zh
9885
+ - ko
9886
+ - ar
9887
+ - hi
9888
+ - nl
9889
+ - pl
9890
+ - tr
9891
+ - sv
9892
+ - no
9893
+ - da
9894
+ - fi
9895
+ - el
9896
+ - cs
9897
+ - hu
9898
+ - ro
9899
+ - th
9900
+ - vi
9901
+ - id
9902
+ - ms
9903
+ - he
9904
+ - uk
9905
+ - sk
9906
+ - bg
9907
+ - hr
9908
+ - lt
9909
+ - lv
9910
+ - et
9911
+ - sl
9872
9912
  GitSyncProvider:
9873
9913
  type: string
9874
9914
  description: The provider of the Git Sync installation.
@@ -10017,6 +10057,8 @@ components:
10017
10057
  parent:
10018
10058
  type: string
10019
10059
  description: ID of the parent collection.
10060
+ language:
10061
+ $ref: "#/components/schemas/TranslationLanguage"
10020
10062
  gitSync:
10021
10063
  $ref: "#/components/schemas/GitSyncState"
10022
10064
  visitorAuth:
@@ -10082,7 +10124,6 @@ components:
10082
10124
  required:
10083
10125
  - object
10084
10126
  - id
10085
- - type
10086
10127
  - title
10087
10128
  - emoji
10088
10129
  - organization
@@ -13064,7 +13105,6 @@ components:
13064
13105
  required:
13065
13106
  - object
13066
13107
  - id
13067
- - organizationId
13068
13108
  - slug
13069
13109
  required:
13070
13110
  - ref
@@ -14125,6 +14165,9 @@ components:
14125
14165
  listIntegrations:
14126
14166
  type: boolean
14127
14167
  description: Can the user list the integrations in the organization.
14168
+ listInstallations:
14169
+ type: boolean
14170
+ description: Can the user list the integration installations in the organization.
14128
14171
  required:
14129
14172
  - view
14130
14173
  - admin
@@ -14136,6 +14179,7 @@ components:
14136
14179
  - listMembers
14137
14180
  - listTeams
14138
14181
  - listIntegrations
14182
+ - listInstallations
14139
14183
  required:
14140
14184
  - object
14141
14185
  - id
@@ -14463,7 +14507,6 @@ components:
14463
14507
  description: The set of permissions for the OpenAPI specification.
14464
14508
  required:
14465
14509
  - view
14466
- - delete
14467
14510
  - edit
14468
14511
  properties:
14469
14512
  view:
@@ -14738,7 +14781,6 @@ components:
14738
14781
  required:
14739
14782
  - view
14740
14783
  - edit
14741
- - react
14742
14784
  - delete
14743
14785
  required:
14744
14786
  - object
@@ -14966,7 +15008,6 @@ components:
14966
15008
  required:
14967
15009
  - view
14968
15010
  - edit
14969
- - react
14970
15011
  - delete
14971
15012
  required:
14972
15013
  - object
@@ -16873,7 +16914,6 @@ components:
16873
16914
  required:
16874
16915
  - status
16875
16916
  - topic
16876
- - accountEmail
16877
16917
  properties:
16878
16918
  status:
16879
16919
  type: string
@@ -17058,7 +17098,6 @@ components:
17058
17098
  - published
17059
17099
  - createdAt
17060
17100
  - siteSpaces
17061
- - defaultSpace
17062
17101
  - features
17063
17102
  - agentsContext
17064
17103
  - urls
@@ -18024,8 +18063,6 @@ components:
18024
18063
  type: string
18025
18064
  description: URL of the published version of the site-space. Only defined when site is published.
18026
18065
  format: uri
18027
- required:
18028
- - location
18029
18066
  required:
18030
18067
  - object
18031
18068
  - id
@@ -18071,8 +18108,6 @@ components:
18071
18108
  type: string
18072
18109
  description: URL of the published version of the site section. Only defined when site is published.
18073
18110
  format: uri
18074
- required:
18075
- - location
18076
18111
  icon:
18077
18112
  $ref: "#/components/schemas/Icon"
18078
18113
  required:
@@ -18313,7 +18348,6 @@ components:
18313
18348
  required:
18314
18349
  - object
18315
18350
  - id
18316
- - target
18317
18351
  - level
18318
18352
  - redundant
18319
18353
  - collection
@@ -18341,7 +18375,6 @@ components:
18341
18375
  required:
18342
18376
  - object
18343
18377
  - id
18344
- - target
18345
18378
  - level
18346
18379
  - redundant
18347
18380
  - space
@@ -18732,6 +18765,8 @@ components:
18732
18765
  parent:
18733
18766
  type: string
18734
18767
  description: ID of a parent collection
18768
+ language:
18769
+ $ref: "#/components/schemas/TranslationLanguage"
18735
18770
  editMode:
18736
18771
  $ref: "#/components/schemas/SpaceEditMode"
18737
18772
  description: The edit mode of the space
@@ -19075,7 +19110,6 @@ components:
19075
19110
  items:
19076
19111
  $ref: "#/components/schemas/SearchAIAnswerSource"
19077
19112
  required:
19078
- - pages
19079
19113
  - sources
19080
19114
  - followupQuestions
19081
19115
  SearchAIRecommendedQuestions:
@@ -19543,45 +19577,6 @@ components:
19543
19577
  - pending
19544
19578
  - running
19545
19579
  - completed
19546
- TranslationLanguage:
19547
- type: string
19548
- enum:
19549
- - en
19550
- - fr
19551
- - de
19552
- - es
19553
- - it
19554
- - pt
19555
- - ru
19556
- - ja
19557
- - zh
19558
- - ko
19559
- - ar
19560
- - hi
19561
- - nl
19562
- - pl
19563
- - tr
19564
- - sv
19565
- - no
19566
- - da
19567
- - fi
19568
- - el
19569
- - cs
19570
- - hu
19571
- - ro
19572
- - th
19573
- - vi
19574
- - id
19575
- - ms
19576
- - he
19577
- - uk
19578
- - sk
19579
- - bg
19580
- - hr
19581
- - lt
19582
- - lv
19583
- - et
19584
- - sl
19585
19580
  TranslationSource:
19586
19581
  type: object
19587
19582
  required:
@@ -20247,6 +20242,7 @@ components:
20247
20242
  - nl
20248
20243
  - no
20249
20244
  - pt-br
20245
+ - ru
20250
20246
  CustomizationHeaderPreset:
20251
20247
  type: string
20252
20248
  deprecated: true
@@ -23362,8 +23358,6 @@ components:
23362
23358
  type: object
23363
23359
  additionalProperties:
23364
23360
  $ref: "#/components/schemas/UserOrganizationsTeamsPermissions"
23365
- required:
23366
- - role
23367
23361
  disabled:
23368
23362
  type: boolean
23369
23363
  required: