@growi/sdk-typescript 1.7.0 → 1.10.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/CHANGELOG.md +25 -0
- package/README.md +81 -29
- package/README_JP.md +81 -29
- package/dist/apiv1/index.d.ts +19 -19
- package/dist/apiv3/index.d.ts +239 -235
- package/dist/apiv3/index.d.ts.map +1 -1
- package/dist/generated/v1/index.d.ts +1 -1
- package/dist/generated/v1/index.schemas.d.ts +47 -2
- package/dist/generated/v1/index.schemas.d.ts.map +1 -1
- package/dist/generated/v1/index.schemas.js.map +1 -1
- package/dist/generated/v3/index.d.ts +21 -13
- package/dist/generated/v3/index.d.ts.map +1 -1
- package/dist/generated/v3/index.js +65 -35
- package/dist/generated/v3/index.js.map +1 -1
- package/dist/generated/v3/index.schemas.d.ts +217 -105
- package/dist/generated/v3/index.schemas.d.ts.map +1 -1
- package/dist/generated/v3/index.schemas.js +11 -0
- package/dist/generated/v3/index.schemas.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/axios-instance-manager.d.ts +33 -0
- package/dist/utils/axios-instance-manager.d.ts.map +1 -0
- package/dist/utils/axios-instance-manager.js +59 -0
- package/dist/utils/axios-instance-manager.js.map +1 -0
- package/dist/utils/types/custom-instance.d.ts +6 -0
- package/dist/utils/types/custom-instance.d.ts.map +1 -0
- package/dist/utils/types/custom-instance.js +2 -0
- package/dist/utils/types/custom-instance.js.map +1 -0
- package/dist/utils/v1/axios-instance.d.ts +2 -1
- package/dist/utils/v1/axios-instance.d.ts.map +1 -1
- package/dist/utils/v1/axios-instance.js +9 -5
- package/dist/utils/v1/axios-instance.js.map +1 -1
- package/dist/utils/v3/axios-instance.d.ts +2 -1
- package/dist/utils/v3/axios-instance.d.ts.map +1 -1
- package/dist/utils/v3/axios-instance.js +9 -5
- package/dist/utils/v3/axios-instance.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1/index.schemas.ts +49 -2
- package/src/generated/v1/index.ts +1 -1
- package/src/generated/v3/index.schemas.ts +238 -112
- package/src/generated/v3/index.ts +106 -54
- package/src/index.ts +1 -1
- package/src/utils/axios-instance-manager.test.ts +185 -0
- package/src/utils/axios-instance-manager.ts +61 -0
- package/src/utils/types/custom-instance.ts +6 -0
- package/src/utils/v1/axios-instance.test.ts +26 -15
- package/src/utils/v1/axios-instance.ts +13 -6
- package/src/utils/v3/axios-instance.test.ts +43 -25
- package/src/utils/v3/axios-instance.ts +13 -6
- package/dist/utils/axios-default-instance.d.ts +0 -14
- package/dist/utils/axios-default-instance.d.ts.map +0 -1
- package/dist/utils/axios-default-instance.js +0 -22
- package/dist/utils/axios-default-instance.js.map +0 -1
- package/src/utils/axios-default-instance.test.ts +0 -108
- package/src/utils/axios-default-instance.ts +0 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axios-instance.js","sourceRoot":"","sources":["../../../src/utils/v3/axios-instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"axios-instance.js","sourceRoot":"","sources":["../../../src/utils/v3/axios-instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGpE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAI,MAA0B,EAAE,OAA+B,EAAc,EAAE;IAC3G,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,OAAO,IAAI,EAAE,CAAC;IAEhD,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAED,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC;IAE1C,MAAM,QAAQ,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAChE,MAAM,OAAO,GAAG,GAAG,YAAY,EAAE,OAAO,IAAI,MAAM,EAAE,OAAO,IAAI,QAAQ,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,UAAU,CAAC;IAEzG,MAAM,OAAO,GAAG,QAAQ,CAAC;QACvB,GAAG,MAAM;QACT,GAAG,YAAY;QACf,OAAO;QACP,WAAW,EAAE,MAAM,CAAC,KAAK;KAC1B,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;IAE5B,aAAa;IACb,OAAO,CAAC,MAAM,GAAG,GAAG,EAAE;QACpB,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval v7.9.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* GROWI REST API v1
|
|
5
|
-
* OpenAPI spec version: 7.
|
|
5
|
+
* OpenAPI spec version: 7.5.5-RC.0
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* The type for Comment.comment
|
|
@@ -186,11 +186,58 @@ export interface ErrorV3 {
|
|
|
186
186
|
*/
|
|
187
187
|
export type ObjectId = string;
|
|
188
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Page
|
|
191
|
+
*/
|
|
192
|
+
export interface PageForTreeItem {
|
|
193
|
+
_id?: ObjectId;
|
|
194
|
+
path?: PagePath;
|
|
195
|
+
parent?: PagePath;
|
|
196
|
+
grant?: PageGrant;
|
|
197
|
+
lastUpdateUser?: User;
|
|
198
|
+
descendantCount?: number;
|
|
199
|
+
isEmpty?: boolean;
|
|
200
|
+
wip?: boolean;
|
|
201
|
+
/** date created at */
|
|
202
|
+
createdAt?: string;
|
|
203
|
+
/** date updated at */
|
|
204
|
+
updatedAt?: string;
|
|
205
|
+
}
|
|
206
|
+
|
|
189
207
|
/**
|
|
190
208
|
* Page path
|
|
191
209
|
*/
|
|
192
210
|
export type PagePath = string;
|
|
193
211
|
|
|
212
|
+
/**
|
|
213
|
+
* @nullable
|
|
214
|
+
*/
|
|
215
|
+
export type GetPageResponsePage = (Page & unknown) | null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Metadata about the page request
|
|
219
|
+
* @nullable
|
|
220
|
+
*/
|
|
221
|
+
export type GetPageResponseMeta = { [key: string]: unknown } | null;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Response for GET /page endpoint
|
|
225
|
+
*/
|
|
226
|
+
export interface GetPageResponse {
|
|
227
|
+
/** @nullable */
|
|
228
|
+
page?: GetPageResponsePage;
|
|
229
|
+
/**
|
|
230
|
+
* Array of pages when findAll parameter is used. Null otherwise.
|
|
231
|
+
* @nullable
|
|
232
|
+
*/
|
|
233
|
+
pages?: Page[] | null;
|
|
234
|
+
/**
|
|
235
|
+
* Metadata about the page request
|
|
236
|
+
* @nullable
|
|
237
|
+
*/
|
|
238
|
+
meta?: GetPageResponseMeta;
|
|
239
|
+
}
|
|
240
|
+
|
|
194
241
|
/**
|
|
195
242
|
* Grant for page
|
|
196
243
|
*/
|
|
@@ -277,7 +324,7 @@ export type PageInfoForListing = PageInfoForEntity & PageInfoForListingAllOf;
|
|
|
277
324
|
/**
|
|
278
325
|
* Page information (union of all page info types)
|
|
279
326
|
*/
|
|
280
|
-
export type
|
|
327
|
+
export type PageInfoExt = PageInfo | PageInfoForEntity | PageInfoForOperation | PageInfoForListing;
|
|
281
328
|
|
|
282
329
|
/**
|
|
283
330
|
* extend data
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval v7.9.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* GROWI REST API v3
|
|
5
|
-
* OpenAPI spec version: 7.
|
|
5
|
+
* OpenAPI spec version: 7.5.5-RC.0
|
|
6
6
|
*/
|
|
7
7
|
export interface SyncStatus {
|
|
8
8
|
isExecutingSync?: boolean;
|
|
@@ -10,6 +10,48 @@ export interface SyncStatus {
|
|
|
10
10
|
count?: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The type of suggestion
|
|
15
|
+
*/
|
|
16
|
+
export type PathSuggestionType = (typeof PathSuggestionType)[keyof typeof PathSuggestionType];
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
19
|
+
export const PathSuggestionType = {
|
|
20
|
+
memo: 'memo',
|
|
21
|
+
search: 'search',
|
|
22
|
+
category: 'category',
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Whether the content is flow (time-based) or stock (reference)
|
|
27
|
+
*/
|
|
28
|
+
export type PathSuggestionInformationType = (typeof PathSuggestionInformationType)[keyof typeof PathSuggestionInformationType];
|
|
29
|
+
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31
|
+
export const PathSuggestionInformationType = {
|
|
32
|
+
flow: 'flow',
|
|
33
|
+
stock: 'stock',
|
|
34
|
+
} as const;
|
|
35
|
+
|
|
36
|
+
export interface PathSuggestion {
|
|
37
|
+
/** The type of suggestion */
|
|
38
|
+
type: PathSuggestionType;
|
|
39
|
+
/** Suggested page path */
|
|
40
|
+
path: string;
|
|
41
|
+
/** Human-readable label for the suggestion */
|
|
42
|
+
label: string;
|
|
43
|
+
/** Explanation of why this path is suggested */
|
|
44
|
+
description: string;
|
|
45
|
+
/** Page grant (1=public, 4=owner_only, 5=user_group) */
|
|
46
|
+
grant: number;
|
|
47
|
+
/** Whether the content is flow (time-based) or stock (reference) */
|
|
48
|
+
informationType?: PathSuggestionInformationType;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface SuggestPathResponse {
|
|
52
|
+
suggestions?: PathSuggestion[];
|
|
53
|
+
}
|
|
54
|
+
|
|
13
55
|
export type ActivityResponseSerializedPaginationResultDocsItemSnapshot = {
|
|
14
56
|
username?: string;
|
|
15
57
|
_id?: string;
|
|
@@ -543,8 +585,6 @@ export interface ThemesMetadata {
|
|
|
543
585
|
export interface CustomizeSidebar {
|
|
544
586
|
/** The flag whether sidebar is collapsed mode or not. */
|
|
545
587
|
isSidebarCollapsedMode?: boolean;
|
|
546
|
-
/** The flag whether sidebar is closed at dock mode or not. */
|
|
547
|
-
isSidebarClosedAtDockMode?: boolean;
|
|
548
588
|
}
|
|
549
589
|
|
|
550
590
|
/**
|
|
@@ -1109,6 +1149,8 @@ export interface GeneralSetting {
|
|
|
1109
1149
|
isAllGroupMembershipRequiredForPageCompleteDeletion?: boolean;
|
|
1110
1150
|
/** type of pageDeletionAuthority */
|
|
1111
1151
|
pageCompleteDeletionAuthority?: string;
|
|
1152
|
+
/** hide all user pages from general users */
|
|
1153
|
+
disableUserPages?: boolean;
|
|
1112
1154
|
/** enable hide by owner */
|
|
1113
1155
|
hideRestrictedByOwner?: boolean;
|
|
1114
1156
|
/** enable hide by group */
|
|
@@ -1187,51 +1229,6 @@ export interface LdapAuthSetting {
|
|
|
1187
1229
|
ldapGroupDnProperty?: string;
|
|
1188
1230
|
}
|
|
1189
1231
|
|
|
1190
|
-
export interface SamlAuthSetting {
|
|
1191
|
-
/** array of missing mandatory config keys */
|
|
1192
|
-
missingMandatoryConfigKeys?: string[];
|
|
1193
|
-
/** use only env vars for some options */
|
|
1194
|
-
useOnlyEnvVarsForSomeOptions?: boolean;
|
|
1195
|
-
/** entry point for saml */
|
|
1196
|
-
samlEntryPoint?: string;
|
|
1197
|
-
/** issuer for saml */
|
|
1198
|
-
samlIssuer?: string;
|
|
1199
|
-
/** issuer for saml */
|
|
1200
|
-
samlEnvVarIssuer?: string;
|
|
1201
|
-
/** certificate for saml */
|
|
1202
|
-
samlCert?: string;
|
|
1203
|
-
/** certificate for saml */
|
|
1204
|
-
samlEnvVarCert?: string;
|
|
1205
|
-
/** attribute mapping id for saml */
|
|
1206
|
-
samlAttrMapId?: string;
|
|
1207
|
-
/** attribute mapping user name for saml */
|
|
1208
|
-
samlAttrMapUserName?: string;
|
|
1209
|
-
/** attribute mapping mail for saml */
|
|
1210
|
-
samlAttrMapMail?: string;
|
|
1211
|
-
/** attribute mapping id for saml */
|
|
1212
|
-
samlEnvVarAttrMapId?: string;
|
|
1213
|
-
/** attribute mapping user name for saml */
|
|
1214
|
-
samlEnvVarAttrMapUserName?: string;
|
|
1215
|
-
/** attribute mapping mail for saml */
|
|
1216
|
-
samlEnvVarAttrMapMail?: string;
|
|
1217
|
-
/** attribute mapping first name for saml */
|
|
1218
|
-
samlAttrMapFirstName?: string;
|
|
1219
|
-
/** attribute mapping last name for saml */
|
|
1220
|
-
samlAttrMapLastName?: string;
|
|
1221
|
-
/** attribute mapping first name for saml */
|
|
1222
|
-
samlEnvVarAttrMapFirstName?: string;
|
|
1223
|
-
/** attribute mapping last name for saml */
|
|
1224
|
-
samlEnvVarAttrMapLastName?: string;
|
|
1225
|
-
/** local account automatically linked the user name matched */
|
|
1226
|
-
isSameUsernameTreatedAsIdenticalUser?: boolean;
|
|
1227
|
-
/** local account automatically linked the email matched */
|
|
1228
|
-
isSameEmailTreatedAsIdenticalUser?: boolean;
|
|
1229
|
-
/** ABLCRule for saml */
|
|
1230
|
-
samlABLCRule?: string;
|
|
1231
|
-
/** ABLCRule for saml */
|
|
1232
|
-
samlEnvVarABLCRule?: string;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
1232
|
export interface OidcAuthSetting {
|
|
1236
1233
|
/** provider name for oidc */
|
|
1237
1234
|
oidcProviderName?: string;
|
|
@@ -1289,6 +1286,51 @@ export interface GoogleOAuthSetting {
|
|
|
1289
1286
|
isSameUsernameTreatedAsIdenticalUser?: boolean;
|
|
1290
1287
|
}
|
|
1291
1288
|
|
|
1289
|
+
export interface SamlAuthSetting {
|
|
1290
|
+
/** array of missing mandatory config keys */
|
|
1291
|
+
missingMandatoryConfigKeys?: string[];
|
|
1292
|
+
/** use only env vars for some options */
|
|
1293
|
+
useOnlyEnvVarsForSomeOptions?: boolean;
|
|
1294
|
+
/** entry point for saml */
|
|
1295
|
+
samlEntryPoint?: string;
|
|
1296
|
+
/** issuer for saml */
|
|
1297
|
+
samlIssuer?: string;
|
|
1298
|
+
/** issuer for saml */
|
|
1299
|
+
samlEnvVarIssuer?: string;
|
|
1300
|
+
/** certificate for saml */
|
|
1301
|
+
samlCert?: string;
|
|
1302
|
+
/** certificate for saml */
|
|
1303
|
+
samlEnvVarCert?: string;
|
|
1304
|
+
/** attribute mapping id for saml */
|
|
1305
|
+
samlAttrMapId?: string;
|
|
1306
|
+
/** attribute mapping user name for saml */
|
|
1307
|
+
samlAttrMapUserName?: string;
|
|
1308
|
+
/** attribute mapping mail for saml */
|
|
1309
|
+
samlAttrMapMail?: string;
|
|
1310
|
+
/** attribute mapping id for saml */
|
|
1311
|
+
samlEnvVarAttrMapId?: string;
|
|
1312
|
+
/** attribute mapping user name for saml */
|
|
1313
|
+
samlEnvVarAttrMapUserName?: string;
|
|
1314
|
+
/** attribute mapping mail for saml */
|
|
1315
|
+
samlEnvVarAttrMapMail?: string;
|
|
1316
|
+
/** attribute mapping first name for saml */
|
|
1317
|
+
samlAttrMapFirstName?: string;
|
|
1318
|
+
/** attribute mapping last name for saml */
|
|
1319
|
+
samlAttrMapLastName?: string;
|
|
1320
|
+
/** attribute mapping first name for saml */
|
|
1321
|
+
samlEnvVarAttrMapFirstName?: string;
|
|
1322
|
+
/** attribute mapping last name for saml */
|
|
1323
|
+
samlEnvVarAttrMapLastName?: string;
|
|
1324
|
+
/** local account automatically linked the user name matched */
|
|
1325
|
+
isSameUsernameTreatedAsIdenticalUser?: boolean;
|
|
1326
|
+
/** local account automatically linked the email matched */
|
|
1327
|
+
isSameEmailTreatedAsIdenticalUser?: boolean;
|
|
1328
|
+
/** ABLCRule for saml */
|
|
1329
|
+
samlABLCRule?: string;
|
|
1330
|
+
/** ABLCRule for saml */
|
|
1331
|
+
samlEnvVarABLCRule?: string;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1292
1334
|
export type ShareLinkRelatedPage = {
|
|
1293
1335
|
/** The unique identifier of the related page */
|
|
1294
1336
|
_id?: string;
|
|
@@ -1428,11 +1470,58 @@ export interface ErrorV3 {
|
|
|
1428
1470
|
*/
|
|
1429
1471
|
export type ObjectId = string;
|
|
1430
1472
|
|
|
1473
|
+
/**
|
|
1474
|
+
* Page
|
|
1475
|
+
*/
|
|
1476
|
+
export interface PageForTreeItem {
|
|
1477
|
+
_id?: ObjectId;
|
|
1478
|
+
path?: PagePath;
|
|
1479
|
+
parent?: PagePath;
|
|
1480
|
+
grant?: PageGrant;
|
|
1481
|
+
lastUpdateUser?: User;
|
|
1482
|
+
descendantCount?: number;
|
|
1483
|
+
isEmpty?: boolean;
|
|
1484
|
+
wip?: boolean;
|
|
1485
|
+
/** date created at */
|
|
1486
|
+
createdAt?: string;
|
|
1487
|
+
/** date updated at */
|
|
1488
|
+
updatedAt?: string;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1431
1491
|
/**
|
|
1432
1492
|
* Page path
|
|
1433
1493
|
*/
|
|
1434
1494
|
export type PagePath = string;
|
|
1435
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* @nullable
|
|
1498
|
+
*/
|
|
1499
|
+
export type GetPageResponsePage = (Page & unknown) | null;
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Metadata about the page request
|
|
1503
|
+
* @nullable
|
|
1504
|
+
*/
|
|
1505
|
+
export type GetPageResponseMeta = { [key: string]: unknown } | null;
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Response for GET /page endpoint
|
|
1509
|
+
*/
|
|
1510
|
+
export interface GetPageResponse {
|
|
1511
|
+
/** @nullable */
|
|
1512
|
+
page?: GetPageResponsePage;
|
|
1513
|
+
/**
|
|
1514
|
+
* Array of pages when findAll parameter is used. Null otherwise.
|
|
1515
|
+
* @nullable
|
|
1516
|
+
*/
|
|
1517
|
+
pages?: Page[] | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Metadata about the page request
|
|
1520
|
+
* @nullable
|
|
1521
|
+
*/
|
|
1522
|
+
meta?: GetPageResponseMeta;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1436
1525
|
/**
|
|
1437
1526
|
* Grant for page
|
|
1438
1527
|
*/
|
|
@@ -1519,7 +1608,7 @@ export type PageInfoForListing = PageInfoForEntity & PageInfoForListingAllOf;
|
|
|
1519
1608
|
/**
|
|
1520
1609
|
* Page information (union of all page info types)
|
|
1521
1610
|
*/
|
|
1522
|
-
export type
|
|
1611
|
+
export type PageInfoExt = PageInfo | PageInfoForEntity | PageInfoForOperation | PageInfoForListing;
|
|
1523
1612
|
|
|
1524
1613
|
/**
|
|
1525
1614
|
* extend data
|
|
@@ -1925,6 +2014,14 @@ export type GetPluginTemplatesByLocaleByTemplateIdByReposIdByOrganizationIdForTe
|
|
|
1925
2014
|
markdown?: string;
|
|
1926
2015
|
};
|
|
1927
2016
|
|
|
2017
|
+
export type PostSuggestPathForAiToolsBody = {
|
|
2018
|
+
/**
|
|
2019
|
+
* The page content to analyze for path suggestions
|
|
2020
|
+
* @maxLength 50000
|
|
2021
|
+
*/
|
|
2022
|
+
body: string;
|
|
2023
|
+
};
|
|
2024
|
+
|
|
1928
2025
|
export type PostPluginsBodyPluginInstallerForm = {
|
|
1929
2026
|
url?: string;
|
|
1930
2027
|
ghBranch?: string;
|
|
@@ -1960,6 +2057,10 @@ export type GetAdminHome200 = {
|
|
|
1960
2057
|
adminHomeParams?: SystemInformationParams;
|
|
1961
2058
|
};
|
|
1962
2059
|
|
|
2060
|
+
export type PutFileUploadSettingsForAppSettings200 = {
|
|
2061
|
+
responseParams?: FileUploadSettingParams;
|
|
2062
|
+
};
|
|
2063
|
+
|
|
1963
2064
|
export type GetAppSettings200 = {
|
|
1964
2065
|
appSettingsParams?: AppSettingParams;
|
|
1965
2066
|
};
|
|
@@ -1986,8 +2087,25 @@ export type PutSmtpSettingForAppSettings200 = {
|
|
|
1986
2087
|
*/
|
|
1987
2088
|
export type PostSmtpTestForAppSettings200 = { [key: string]: unknown };
|
|
1988
2089
|
|
|
1989
|
-
export type
|
|
1990
|
-
|
|
2090
|
+
export type PutOauth2SettingForAppSettingsBody = {
|
|
2091
|
+
/** e-mail address used as from address */
|
|
2092
|
+
fromAddress?: string;
|
|
2093
|
+
/** transmission method */
|
|
2094
|
+
transmissionMethod?: string;
|
|
2095
|
+
/** OAuth 2.0 Client ID */
|
|
2096
|
+
oauth2ClientId?: string;
|
|
2097
|
+
/** OAuth 2.0 Client Secret */
|
|
2098
|
+
oauth2ClientSecret?: string;
|
|
2099
|
+
/** OAuth 2.0 Refresh Token */
|
|
2100
|
+
oauth2RefreshToken?: string;
|
|
2101
|
+
/** Email address of the authorized account */
|
|
2102
|
+
oauth2User?: string;
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
export type PutOauth2SettingForAppSettings200MailSettingParams = { [key: string]: unknown };
|
|
2106
|
+
|
|
2107
|
+
export type PutOauth2SettingForAppSettings200 = {
|
|
2108
|
+
mailSettingParams?: PutOauth2SettingForAppSettings200MailSettingParams;
|
|
1991
2109
|
};
|
|
1992
2110
|
|
|
1993
2111
|
export type PostV5SchemaMigrationForAppSettings200 = {
|
|
@@ -2132,6 +2250,28 @@ export type PutBookmarks200 = {
|
|
|
2132
2250
|
bookmark?: Bookmark;
|
|
2133
2251
|
};
|
|
2134
2252
|
|
|
2253
|
+
export type PutContentDispositionSettings200CurrentDispositionSettings = {
|
|
2254
|
+
/** The list of MIME types set to inline. */
|
|
2255
|
+
inlineMimeTypes?: string[];
|
|
2256
|
+
/** The list of MIME types set to attachment. */
|
|
2257
|
+
attachmentMimeTypes?: string[];
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2260
|
+
export type PutContentDispositionSettings200 = {
|
|
2261
|
+
currentDispositionSettings?: PutContentDispositionSettings200CurrentDispositionSettings;
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
export type GetContentDispositionSettings200CurrentDispositionSettings = {
|
|
2265
|
+
/** The list of MIME types set to inline. */
|
|
2266
|
+
inlineMimeTypes?: string[];
|
|
2267
|
+
/** The list of MIME types set to attachment. */
|
|
2268
|
+
attachmentMimeTypes?: string[];
|
|
2269
|
+
};
|
|
2270
|
+
|
|
2271
|
+
export type GetContentDispositionSettings200 = {
|
|
2272
|
+
currentDispositionSettings?: GetContentDispositionSettings200CurrentDispositionSettings;
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2135
2275
|
export type GetCustomizeSetting200 = {
|
|
2136
2276
|
/** customize params */
|
|
2137
2277
|
customizeParams?: CustomizeSetting;
|
|
@@ -2377,23 +2517,8 @@ export type GetHealthcheck503 = {
|
|
|
2377
2517
|
info?: HealthcheckInfo;
|
|
2378
2518
|
};
|
|
2379
2519
|
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
*/
|
|
2383
|
-
export type GetImport200ImportSettingsParams = {
|
|
2384
|
-
/** the team name of esa.io */
|
|
2385
|
-
esaTeamName?: string;
|
|
2386
|
-
/** the access token of esa.io */
|
|
2387
|
-
esaAccessToken?: string;
|
|
2388
|
-
/** the team name of qiita.com */
|
|
2389
|
-
qiitaTeamName?: string;
|
|
2390
|
-
/** the access token of qiita.com */
|
|
2391
|
-
qiitaAccessToken?: string;
|
|
2392
|
-
};
|
|
2393
|
-
|
|
2394
|
-
export type GetImport200 = {
|
|
2395
|
-
/** import settings params */
|
|
2396
|
-
importSettingsParams?: GetImport200ImportSettingsParams;
|
|
2520
|
+
export type GetStatusForImport200 = {
|
|
2521
|
+
status?: ImportStatus;
|
|
2397
2522
|
};
|
|
2398
2523
|
|
|
2399
2524
|
/**
|
|
@@ -2412,10 +2537,6 @@ export type PostImportBody = {
|
|
|
2412
2537
|
options?: PostImportBodyOptions;
|
|
2413
2538
|
};
|
|
2414
2539
|
|
|
2415
|
-
export type GetStatusForImport200 = {
|
|
2416
|
-
status?: ImportStatus;
|
|
2417
|
-
};
|
|
2418
|
-
|
|
2419
2540
|
export type PostUploadForImportBody = {
|
|
2420
2541
|
file?: Blob;
|
|
2421
2542
|
};
|
|
@@ -2545,35 +2666,7 @@ export type PutEnabledByIdForNotificationSettingGlobalNotification200 = {
|
|
|
2545
2666
|
};
|
|
2546
2667
|
|
|
2547
2668
|
export type GetRootForPageListing200 = {
|
|
2548
|
-
rootPage?:
|
|
2549
|
-
};
|
|
2550
|
-
|
|
2551
|
-
export type GetAncestorsChildrenForPageListingParams = {
|
|
2552
|
-
path: string;
|
|
2553
|
-
};
|
|
2554
|
-
|
|
2555
|
-
export type GetAncestorsChildrenForPageListing200AncestorsChildren = {
|
|
2556
|
-
[key: string]: {
|
|
2557
|
-
/** Document ID */
|
|
2558
|
-
_id?: string;
|
|
2559
|
-
/** Number of descendants */
|
|
2560
|
-
descendantCount?: number;
|
|
2561
|
-
/** Indicates if the node is empty */
|
|
2562
|
-
isEmpty?: boolean;
|
|
2563
|
-
/** Access level */
|
|
2564
|
-
grant?: number;
|
|
2565
|
-
/** Path string */
|
|
2566
|
-
path?: string;
|
|
2567
|
-
/**
|
|
2568
|
-
* Revision ID (nullable)
|
|
2569
|
-
* @nullable
|
|
2570
|
-
*/
|
|
2571
|
-
revision?: string | null;
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
|
|
2575
|
-
export type GetAncestorsChildrenForPageListing200 = {
|
|
2576
|
-
ancestorsChildren?: GetAncestorsChildrenForPageListing200AncestorsChildren;
|
|
2669
|
+
rootPage?: PageForTreeItem;
|
|
2577
2670
|
};
|
|
2578
2671
|
|
|
2579
2672
|
export type GetChildrenForPageListingParams = {
|
|
@@ -2582,7 +2675,7 @@ export type GetChildrenForPageListingParams = {
|
|
|
2582
2675
|
};
|
|
2583
2676
|
|
|
2584
2677
|
export type GetChildrenForPageListing200 = {
|
|
2585
|
-
children?:
|
|
2678
|
+
children?: PageForTreeItem[];
|
|
2586
2679
|
};
|
|
2587
2680
|
|
|
2588
2681
|
export type GetInfoForPageListingParams = {
|
|
@@ -2598,7 +2691,37 @@ export type GetInfoForPageListingParams = {
|
|
|
2598
2691
|
attachShortBody?: boolean;
|
|
2599
2692
|
};
|
|
2600
2693
|
|
|
2601
|
-
export type GetInfoForPageListing200 = { [key: string]:
|
|
2694
|
+
export type GetInfoForPageListing200 = { [key: string]: PageInfoExt };
|
|
2695
|
+
|
|
2696
|
+
export type GetItemForPageListingParams = {
|
|
2697
|
+
id: string;
|
|
2698
|
+
};
|
|
2699
|
+
|
|
2700
|
+
export type GetItemForPageListing200 = {
|
|
2701
|
+
item?: PageForTreeItem;
|
|
2702
|
+
};
|
|
2703
|
+
|
|
2704
|
+
export type GetSharedForPageParams = {
|
|
2705
|
+
/**
|
|
2706
|
+
* share link ID
|
|
2707
|
+
*/
|
|
2708
|
+
shareLinkId: ObjectId;
|
|
2709
|
+
/**
|
|
2710
|
+
* page ID
|
|
2711
|
+
*/
|
|
2712
|
+
pageId: ObjectId;
|
|
2713
|
+
};
|
|
2714
|
+
|
|
2715
|
+
export type GetInfoForPageParams = {
|
|
2716
|
+
/**
|
|
2717
|
+
* page id
|
|
2718
|
+
*/
|
|
2719
|
+
pageId: ObjectId;
|
|
2720
|
+
/**
|
|
2721
|
+
* share link id for shared page access
|
|
2722
|
+
*/
|
|
2723
|
+
shareLinkId?: ObjectId;
|
|
2724
|
+
};
|
|
2602
2725
|
|
|
2603
2726
|
export type GetPageParams = {
|
|
2604
2727
|
/**
|
|
@@ -2609,6 +2732,18 @@ export type GetPageParams = {
|
|
|
2609
2732
|
* page path
|
|
2610
2733
|
*/
|
|
2611
2734
|
path?: PagePath;
|
|
2735
|
+
/**
|
|
2736
|
+
* If set, returns all pages matching the path (returns pages array instead of single page)
|
|
2737
|
+
*/
|
|
2738
|
+
findAll?: boolean;
|
|
2739
|
+
/**
|
|
2740
|
+
* Specific revision ID to retrieve
|
|
2741
|
+
*/
|
|
2742
|
+
revisionId?: ObjectId;
|
|
2743
|
+
/**
|
|
2744
|
+
* Include empty pages in results when using findAll
|
|
2745
|
+
*/
|
|
2746
|
+
includeEmpty?: boolean;
|
|
2612
2747
|
};
|
|
2613
2748
|
|
|
2614
2749
|
export type PostPageBodyGrantUserGroupIdsItem = {
|
|
@@ -2674,13 +2809,6 @@ export type GetExistForPage200 = {
|
|
|
2674
2809
|
isExist?: boolean;
|
|
2675
2810
|
};
|
|
2676
2811
|
|
|
2677
|
-
export type GetInfoForPageParams = {
|
|
2678
|
-
/**
|
|
2679
|
-
* page id
|
|
2680
|
-
*/
|
|
2681
|
-
pageId: ObjectId;
|
|
2682
|
-
};
|
|
2683
|
-
|
|
2684
2812
|
export type GetGrantDataForPageParams = {
|
|
2685
2813
|
/**
|
|
2686
2814
|
* page id
|
|
@@ -2802,8 +2930,6 @@ export type GetRecentForPagesParams = {
|
|
|
2802
2930
|
export type PutRenameForPagesBody = {
|
|
2803
2931
|
pageId: ObjectId;
|
|
2804
2932
|
path?: PagePath;
|
|
2805
|
-
/** revision ID */
|
|
2806
|
-
revisionId: string;
|
|
2807
2933
|
/** new path */
|
|
2808
2934
|
newPagePath?: string;
|
|
2809
2935
|
/** whether redirect page */
|