@mittwald/api-client 3.0.29 → 3.1.2
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/cjs/generated/v2/client-react.d.ts +234 -176
- package/dist/cjs/generated/v2/client-react.js +53 -44
- package/dist/cjs/generated/v2/client.d.ts +1694 -1492
- package/dist/cjs/generated/v2/client.js +131 -115
- package/dist/cjs/generated/v2/descriptors.d.ts +24 -24
- package/dist/cjs/generated/v2/descriptors.js +26 -26
- package/dist/cjs/generated/v2/types.d.ts +31 -85
- package/dist/esm/generated/v2/client-react.d.ts +234 -176
- package/dist/esm/generated/v2/client-react.js +57 -46
- package/dist/esm/generated/v2/client.d.ts +1694 -1492
- package/dist/esm/generated/v2/client.js +131 -115
- package/dist/esm/generated/v2/descriptors.d.ts +24 -24
- package/dist/esm/generated/v2/descriptors.js +26 -26
- package/dist/esm/generated/v2/types.d.ts +31 -85
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MittwaldAPIV2Client from "./client.js";
|
|
2
2
|
export * from "@mittwald/react-use-promise/types";
|
|
3
3
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
4
|
-
/**
|
|
4
|
+
/** Get a specific `App`. */
|
|
5
5
|
getApp: (conf: {
|
|
6
6
|
appId: string;
|
|
7
7
|
headers?: {
|
|
@@ -14,7 +14,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
14
14
|
name: string;
|
|
15
15
|
tags: string[];
|
|
16
16
|
}>;
|
|
17
|
-
/**
|
|
17
|
+
/** Get a specific `AppInstallation`. */
|
|
18
18
|
getAppinstallation: (conf: {
|
|
19
19
|
appInstallationId: string;
|
|
20
20
|
headers?: {
|
|
@@ -39,7 +39,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
39
39
|
updatePolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy | undefined;
|
|
40
40
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[] | undefined;
|
|
41
41
|
}>;
|
|
42
|
-
/**
|
|
42
|
+
/** Get a specific `AppVersion`. */
|
|
43
43
|
getAppversion: (conf: {
|
|
44
44
|
appId: string;
|
|
45
45
|
appVersionId: string;
|
|
@@ -60,7 +60,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
60
60
|
systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
61
61
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
62
62
|
}>;
|
|
63
|
-
/**
|
|
63
|
+
/** Get the missing requirements of an appInstallation for a specific target AppVersion. */
|
|
64
64
|
getMissingDependenciesForAppinstallation: (conf: {
|
|
65
65
|
queryParameters: {
|
|
66
66
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -74,7 +74,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
74
74
|
missingSystemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
75
75
|
missingUserInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
76
76
|
}>;
|
|
77
|
-
/**
|
|
77
|
+
/** Get a specific `SystemSoftware`. */
|
|
78
78
|
getSystemsoftware: (conf: {
|
|
79
79
|
systemSoftwareId: string;
|
|
80
80
|
headers?: {
|
|
@@ -86,7 +86,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
86
86
|
name: string;
|
|
87
87
|
tags: string[];
|
|
88
88
|
}>;
|
|
89
|
-
/**
|
|
89
|
+
/** Get a specific `SystemSoftwareVersion`. */
|
|
90
90
|
getSystemsoftwareversion: (conf: {
|
|
91
91
|
systemSoftwareId: string;
|
|
92
92
|
systemSoftwareVersionId: string;
|
|
@@ -102,7 +102,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
102
102
|
systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
103
103
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
104
104
|
}>;
|
|
105
|
-
/**
|
|
105
|
+
/** Get all `AppInstallations` inside a specific `Project`. */
|
|
106
106
|
listAppinstallations: (conf: {
|
|
107
107
|
projectId: string;
|
|
108
108
|
headers?: {
|
|
@@ -116,7 +116,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
116
116
|
skip?: number | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
|
|
119
|
-
/**
|
|
119
|
+
/** Get all available `Apps`. */
|
|
120
120
|
listApps: (conf?: {
|
|
121
121
|
headers?: {
|
|
122
122
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -129,7 +129,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
129
129
|
skip?: number | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppApp[]>;
|
|
132
|
-
/**
|
|
132
|
+
/** Get all `AppVersions` of a specific `App`. */
|
|
133
133
|
listAppversions: (conf: {
|
|
134
134
|
appId: string;
|
|
135
135
|
headers?: {
|
|
@@ -137,7 +137,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
137
137
|
"x-access-token"?: string | undefined;
|
|
138
138
|
} | undefined;
|
|
139
139
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
140
|
-
/**
|
|
140
|
+
/** Get all available `SystemSoftware`. */
|
|
141
141
|
listSystemsoftwares: (conf?: {
|
|
142
142
|
headers?: {
|
|
143
143
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -150,7 +150,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
150
150
|
skip?: number | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
|
|
153
|
-
/**
|
|
153
|
+
/** Get all available `SystemSoftwareVersions` of a specific `SystemSoftware`. */
|
|
154
154
|
listSystemsoftwareversions: (conf: {
|
|
155
155
|
systemSoftwareId: string;
|
|
156
156
|
headers?: {
|
|
@@ -162,7 +162,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
162
162
|
versionRange?: string | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[]>;
|
|
165
|
-
/**
|
|
165
|
+
/** Get all update candidates for a specific `AppVersion`. */
|
|
166
166
|
listUpdateCandidatesForAppversion: (conf: {
|
|
167
167
|
appId: string;
|
|
168
168
|
baseAppVersionId: string;
|
|
@@ -171,7 +171,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
171
171
|
"x-access-token"?: string | undefined;
|
|
172
172
|
} | undefined;
|
|
173
173
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
174
|
-
/**
|
|
174
|
+
/** Get runtime status of a specific `AppInstallation`. */
|
|
175
175
|
retrieveStatus: (conf: {
|
|
176
176
|
appInstallationId: string;
|
|
177
177
|
headers?: {
|
|
@@ -1359,6 +1359,223 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1359
1359
|
} | undefined;
|
|
1360
1360
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
|
|
1361
1361
|
};
|
|
1362
|
+
declare const buildPageInsightsApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1363
|
+
/** Get detailed performance data for a given domain and path. */
|
|
1364
|
+
pageinsightsGetPerformanceData: (conf: {
|
|
1365
|
+
queryParameters: {
|
|
1366
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1367
|
+
date?: string | undefined;
|
|
1368
|
+
};
|
|
1369
|
+
headers?: {
|
|
1370
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1371
|
+
"x-access-token"?: string | undefined;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1374
|
+
createdAt?: string | undefined;
|
|
1375
|
+
domain: string;
|
|
1376
|
+
metrics?: {
|
|
1377
|
+
createdAt: string;
|
|
1378
|
+
name: string;
|
|
1379
|
+
score: number;
|
|
1380
|
+
value: number;
|
|
1381
|
+
}[] | undefined;
|
|
1382
|
+
moreDataAvailable?: string[] | undefined;
|
|
1383
|
+
path: string;
|
|
1384
|
+
performanceScore: number;
|
|
1385
|
+
screenshot?: {
|
|
1386
|
+
createdAt: string;
|
|
1387
|
+
fileRef: string;
|
|
1388
|
+
} | undefined;
|
|
1389
|
+
}>;
|
|
1390
|
+
/** List websites (specified as domain and path) from a project where performance data is available. */
|
|
1391
|
+
pageinsightsListPerformanceDataForProject: (conf: {
|
|
1392
|
+
id: string;
|
|
1393
|
+
headers?: {
|
|
1394
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1395
|
+
"x-access-token"?: string | undefined;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
queryParameters?: {
|
|
1398
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1399
|
+
domain?: string | undefined;
|
|
1400
|
+
} | undefined;
|
|
1401
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1402
|
+
domain: string;
|
|
1403
|
+
paths: {
|
|
1404
|
+
createdAt: string;
|
|
1405
|
+
path: string;
|
|
1406
|
+
performanceScore: number;
|
|
1407
|
+
screenshotFileRef?: string | undefined;
|
|
1408
|
+
}[];
|
|
1409
|
+
}[]>;
|
|
1410
|
+
};
|
|
1411
|
+
declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1412
|
+
/** Get a password policy. */
|
|
1413
|
+
passwordValidationGetPasswordPolicy: (conf: {
|
|
1414
|
+
path: string;
|
|
1415
|
+
headers?: {
|
|
1416
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1417
|
+
} | undefined;
|
|
1418
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1419
|
+
/** Get your verified Email-Address. */
|
|
1420
|
+
getOwnEmail: (conf?: {
|
|
1421
|
+
headers?: {
|
|
1422
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1423
|
+
"x-access-token"?: string | undefined;
|
|
1424
|
+
} | undefined;
|
|
1425
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1426
|
+
email: string;
|
|
1427
|
+
}>;
|
|
1428
|
+
/** Get your current multi factor auth status. */
|
|
1429
|
+
getMfaStatus: (conf?: {
|
|
1430
|
+
headers?: {
|
|
1431
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1432
|
+
"x-access-token"?: string | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1435
|
+
confirmed: boolean;
|
|
1436
|
+
initialized: boolean;
|
|
1437
|
+
}>;
|
|
1438
|
+
/** List all of your ApiTokens. */
|
|
1439
|
+
listApiTokens: (conf?: {
|
|
1440
|
+
headers?: {
|
|
1441
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1442
|
+
"x-access-token"?: string | undefined;
|
|
1443
|
+
} | undefined;
|
|
1444
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
1445
|
+
/** Get your stored ssh-keys. */
|
|
1446
|
+
listSshKeys: (conf?: {
|
|
1447
|
+
headers?: {
|
|
1448
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1449
|
+
"x-access-token"?: string | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1452
|
+
sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
|
|
1453
|
+
}>;
|
|
1454
|
+
/** Get a specific ApiToken. */
|
|
1455
|
+
getApiToken: (conf: {
|
|
1456
|
+
apiTokenId: string;
|
|
1457
|
+
headers?: {
|
|
1458
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1459
|
+
"x-access-token"?: string | undefined;
|
|
1460
|
+
} | undefined;
|
|
1461
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1462
|
+
apiTokenId: string;
|
|
1463
|
+
createdAt: string;
|
|
1464
|
+
description: string;
|
|
1465
|
+
expiresAt?: string | undefined;
|
|
1466
|
+
roles: ("api_read" | "api_write")[];
|
|
1467
|
+
}>;
|
|
1468
|
+
/** Get a specific stored ssh-key. */
|
|
1469
|
+
getSshKey: (conf: {
|
|
1470
|
+
sshKeyId: string;
|
|
1471
|
+
headers?: {
|
|
1472
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1473
|
+
"x-access-token"?: string | undefined;
|
|
1474
|
+
} | undefined;
|
|
1475
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1476
|
+
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
1477
|
+
}>;
|
|
1478
|
+
/** Get your account information. */
|
|
1479
|
+
getOwnAccount: (conf?: {
|
|
1480
|
+
headers?: {
|
|
1481
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1482
|
+
"x-access-token"?: string | undefined;
|
|
1483
|
+
} | undefined;
|
|
1484
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1485
|
+
email?: string | undefined;
|
|
1486
|
+
mfaDetails?: {
|
|
1487
|
+
mfaConfirmed?: boolean | undefined;
|
|
1488
|
+
mfaInitialized?: boolean | undefined;
|
|
1489
|
+
} | undefined;
|
|
1490
|
+
passwordUpdatedAt?: string | undefined;
|
|
1491
|
+
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
1492
|
+
userId?: string | undefined;
|
|
1493
|
+
}>;
|
|
1494
|
+
/** The timestamp of your latest password change. */
|
|
1495
|
+
getPasswordUpdatedAt: (conf?: {
|
|
1496
|
+
headers?: {
|
|
1497
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1498
|
+
"x-access-token"?: string | undefined;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1501
|
+
passwordUpdatedAt: string;
|
|
1502
|
+
}>;
|
|
1503
|
+
/** Get personalized settings. */
|
|
1504
|
+
getPersonalizedSettings: (conf: {
|
|
1505
|
+
userId: string;
|
|
1506
|
+
headers?: {
|
|
1507
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1508
|
+
"x-access-token"?: string | undefined;
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1511
|
+
settingsString?: string | undefined;
|
|
1512
|
+
}>;
|
|
1513
|
+
/** Get a specific session. */
|
|
1514
|
+
getSession: (conf: {
|
|
1515
|
+
tokenId: string;
|
|
1516
|
+
headers?: {
|
|
1517
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1518
|
+
"x-access-token"?: string | undefined;
|
|
1519
|
+
} | undefined;
|
|
1520
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1521
|
+
created: string;
|
|
1522
|
+
device: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
|
|
1523
|
+
lastAccess?: string | undefined;
|
|
1524
|
+
location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
|
|
1525
|
+
tokenId: string;
|
|
1526
|
+
}>;
|
|
1527
|
+
/** Get profile information for a user. */
|
|
1528
|
+
getUser: (conf: {
|
|
1529
|
+
userId: string;
|
|
1530
|
+
headers?: {
|
|
1531
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1532
|
+
"x-access-token"?: string | undefined;
|
|
1533
|
+
} | undefined;
|
|
1534
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1535
|
+
avatarRef?: string | undefined;
|
|
1536
|
+
email?: string | undefined;
|
|
1537
|
+
employeeInformation?: {
|
|
1538
|
+
department: string;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1541
|
+
phoneNumber?: string | undefined;
|
|
1542
|
+
registeredAt?: string | undefined;
|
|
1543
|
+
userId: string;
|
|
1544
|
+
}>;
|
|
1545
|
+
/** Submitted feedback of the given user. */
|
|
1546
|
+
listFeedback: (conf: {
|
|
1547
|
+
userId: string;
|
|
1548
|
+
headers?: {
|
|
1549
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1550
|
+
"x-access-token"?: string | undefined;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
queryParameters?: {
|
|
1553
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1554
|
+
subject?: string | undefined;
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
|
|
1557
|
+
/** List all sessions. */
|
|
1558
|
+
listSessions: (conf?: {
|
|
1559
|
+
headers?: {
|
|
1560
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1561
|
+
"x-access-token"?: string | undefined;
|
|
1562
|
+
} | undefined;
|
|
1563
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1564
|
+
/** Request a support code. */
|
|
1565
|
+
supportCodeRequest: (conf?: {
|
|
1566
|
+
headers?: {
|
|
1567
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1568
|
+
"x-access-token"?: string | undefined;
|
|
1569
|
+
} | undefined;
|
|
1570
|
+
queryParameters?: {
|
|
1571
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1572
|
+
forceRecreate?: boolean | undefined;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1575
|
+
expiresAt?: string | undefined;
|
|
1576
|
+
supportCode?: string | undefined;
|
|
1577
|
+
}>;
|
|
1578
|
+
};
|
|
1362
1579
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1363
1580
|
/** Get a ProjectInvite. */
|
|
1364
1581
|
getProjectInvite: (conf: {
|
|
@@ -1731,167 +1948,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1731
1948
|
userName: string;
|
|
1732
1949
|
}>;
|
|
1733
1950
|
};
|
|
1734
|
-
declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1735
|
-
/** Get your verified Email-Address. */
|
|
1736
|
-
getOwnEmail: (conf?: {
|
|
1737
|
-
headers?: {
|
|
1738
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1739
|
-
"x-access-token"?: string | undefined;
|
|
1740
|
-
} | undefined;
|
|
1741
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1742
|
-
email: string;
|
|
1743
|
-
}>;
|
|
1744
|
-
/** Get your current multi factor auth status. */
|
|
1745
|
-
getMfaStatus: (conf?: {
|
|
1746
|
-
headers?: {
|
|
1747
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1748
|
-
"x-access-token"?: string | undefined;
|
|
1749
|
-
} | undefined;
|
|
1750
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1751
|
-
confirmed: boolean;
|
|
1752
|
-
initialized: boolean;
|
|
1753
|
-
}>;
|
|
1754
|
-
/** List all of your ApiTokens. */
|
|
1755
|
-
listApiTokens: (conf?: {
|
|
1756
|
-
headers?: {
|
|
1757
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1758
|
-
"x-access-token"?: string | undefined;
|
|
1759
|
-
} | undefined;
|
|
1760
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
1761
|
-
/** Get your stored ssh-keys. */
|
|
1762
|
-
listSshKeys: (conf?: {
|
|
1763
|
-
headers?: {
|
|
1764
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1765
|
-
"x-access-token"?: string | undefined;
|
|
1766
|
-
} | undefined;
|
|
1767
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1768
|
-
sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
|
|
1769
|
-
}>;
|
|
1770
|
-
/** Get a specific ApiToken. */
|
|
1771
|
-
getApiToken: (conf: {
|
|
1772
|
-
apiTokenId: string;
|
|
1773
|
-
headers?: {
|
|
1774
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1775
|
-
"x-access-token"?: string | undefined;
|
|
1776
|
-
} | undefined;
|
|
1777
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1778
|
-
apiTokenId: string;
|
|
1779
|
-
createdAt: string;
|
|
1780
|
-
description: string;
|
|
1781
|
-
expiresAt?: string | undefined;
|
|
1782
|
-
roles: ("api_read" | "api_write")[];
|
|
1783
|
-
}>;
|
|
1784
|
-
/** Get a specific stored ssh-key. */
|
|
1785
|
-
getSshKey: (conf: {
|
|
1786
|
-
sshKeyId: string;
|
|
1787
|
-
headers?: {
|
|
1788
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1789
|
-
"x-access-token"?: string | undefined;
|
|
1790
|
-
} | undefined;
|
|
1791
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1792
|
-
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
1793
|
-
}>;
|
|
1794
|
-
/** Get your account information. */
|
|
1795
|
-
getOwnAccount: (conf?: {
|
|
1796
|
-
headers?: {
|
|
1797
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1798
|
-
"x-access-token"?: string | undefined;
|
|
1799
|
-
} | undefined;
|
|
1800
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1801
|
-
email?: string | undefined;
|
|
1802
|
-
mfaDetails?: {
|
|
1803
|
-
mfaConfirmed?: boolean | undefined;
|
|
1804
|
-
mfaInitialized?: boolean | undefined;
|
|
1805
|
-
} | undefined;
|
|
1806
|
-
passwordUpdatedAt?: string | undefined;
|
|
1807
|
-
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
1808
|
-
userId?: string | undefined;
|
|
1809
|
-
}>;
|
|
1810
|
-
/** The timestamp of your latest password change. */
|
|
1811
|
-
getPasswordUpdatedAt: (conf?: {
|
|
1812
|
-
headers?: {
|
|
1813
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1814
|
-
"x-access-token"?: string | undefined;
|
|
1815
|
-
} | undefined;
|
|
1816
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1817
|
-
passwordUpdatedAt: string;
|
|
1818
|
-
}>;
|
|
1819
|
-
/** Get personalized settings. */
|
|
1820
|
-
getPersonalizedSettings: (conf: {
|
|
1821
|
-
userId: string;
|
|
1822
|
-
headers?: {
|
|
1823
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1824
|
-
"x-access-token"?: string | undefined;
|
|
1825
|
-
} | undefined;
|
|
1826
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1827
|
-
settingsString?: string | undefined;
|
|
1828
|
-
}>;
|
|
1829
|
-
/** Get a specific session. */
|
|
1830
|
-
getSession: (conf: {
|
|
1831
|
-
tokenId: string;
|
|
1832
|
-
headers?: {
|
|
1833
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1834
|
-
"x-access-token"?: string | undefined;
|
|
1835
|
-
} | undefined;
|
|
1836
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1837
|
-
created: string;
|
|
1838
|
-
device: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
|
|
1839
|
-
lastAccess?: string | undefined;
|
|
1840
|
-
location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
|
|
1841
|
-
tokenId: string;
|
|
1842
|
-
}>;
|
|
1843
|
-
/** Get profile information for a user. */
|
|
1844
|
-
getUser: (conf: {
|
|
1845
|
-
userId: string;
|
|
1846
|
-
headers?: {
|
|
1847
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1848
|
-
"x-access-token"?: string | undefined;
|
|
1849
|
-
} | undefined;
|
|
1850
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1851
|
-
avatarRef?: string | undefined;
|
|
1852
|
-
email?: string | undefined;
|
|
1853
|
-
employeeInformation?: {
|
|
1854
|
-
department: string;
|
|
1855
|
-
} | undefined;
|
|
1856
|
-
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1857
|
-
phoneNumber?: string | undefined;
|
|
1858
|
-
registeredAt?: string | undefined;
|
|
1859
|
-
userId: string;
|
|
1860
|
-
}>;
|
|
1861
|
-
/** Submitted feedback of the given user. */
|
|
1862
|
-
listFeedback: (conf: {
|
|
1863
|
-
userId: string;
|
|
1864
|
-
headers?: {
|
|
1865
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1866
|
-
"x-access-token"?: string | undefined;
|
|
1867
|
-
} | undefined;
|
|
1868
|
-
queryParameters?: {
|
|
1869
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1870
|
-
subject?: string | undefined;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
|
|
1873
|
-
/** List all sessions. */
|
|
1874
|
-
listSessions: (conf?: {
|
|
1875
|
-
headers?: {
|
|
1876
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1877
|
-
"x-access-token"?: string | undefined;
|
|
1878
|
-
} | undefined;
|
|
1879
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1880
|
-
/** Request a support code. */
|
|
1881
|
-
supportCodeRequest: (conf?: {
|
|
1882
|
-
headers?: {
|
|
1883
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1884
|
-
"x-access-token"?: string | undefined;
|
|
1885
|
-
} | undefined;
|
|
1886
|
-
queryParameters?: {
|
|
1887
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1888
|
-
forceRecreate?: boolean | undefined;
|
|
1889
|
-
} | undefined;
|
|
1890
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1891
|
-
expiresAt?: string | undefined;
|
|
1892
|
-
supportCode?: string | undefined;
|
|
1893
|
-
}>;
|
|
1894
|
-
};
|
|
1895
1951
|
export declare class MittwaldAPIV2ClientReact {
|
|
1896
1952
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
1897
1953
|
readonly app: ReturnType<typeof buildAppApi>;
|
|
@@ -1917,14 +1973,16 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
1917
1973
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
1918
1974
|
/** The notification API allows you to manage your notifications. */
|
|
1919
1975
|
readonly notification: ReturnType<typeof buildNotificationApi>;
|
|
1976
|
+
/** The page insights API allows you to get page insights information. */
|
|
1977
|
+
readonly pageInsights: ReturnType<typeof buildPageInsightsApi>;
|
|
1978
|
+
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
1979
|
+
readonly user: ReturnType<typeof buildUserApi>;
|
|
1920
1980
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
1921
1981
|
readonly project: ReturnType<typeof buildProjectApi>;
|
|
1922
1982
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
1923
1983
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
1924
1984
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
1925
1985
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
1926
|
-
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
1927
|
-
readonly user: ReturnType<typeof buildUserApi>;
|
|
1928
1986
|
private constructor();
|
|
1929
1987
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
1930
1988
|
}
|
|
@@ -31,31 +31,31 @@ const react_1 = require("@mittwald/api-client-commons/react");
|
|
|
31
31
|
const descriptors = __importStar(require("./descriptors.js"));
|
|
32
32
|
__exportStar(require("@mittwald/react-use-promise/types"), exports);
|
|
33
33
|
const buildAppApi = (baseClient) => ({
|
|
34
|
-
/**
|
|
34
|
+
/** Get a specific `App`. */
|
|
35
35
|
getApp: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
36
|
-
/**
|
|
36
|
+
/** Get a specific `AppInstallation`. */
|
|
37
37
|
getAppinstallation: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
|
|
38
|
-
/**
|
|
38
|
+
/** Get a specific `AppVersion`. */
|
|
39
39
|
getAppversion: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetAppversion, baseClient.app.getAppversion).getApiResource,
|
|
40
|
-
/**
|
|
40
|
+
/** Get the missing requirements of an appInstallation for a specific target AppVersion. */
|
|
41
41
|
getMissingDependenciesForAppinstallation: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetMissingDependenciesForAppinstallation, baseClient.app.getMissingDependenciesForAppinstallation).getApiResource,
|
|
42
|
-
/**
|
|
42
|
+
/** Get a specific `SystemSoftware`. */
|
|
43
43
|
getSystemsoftware: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetSystemsoftware, baseClient.app.getSystemsoftware).getApiResource,
|
|
44
|
-
/**
|
|
44
|
+
/** Get a specific `SystemSoftwareVersion`. */
|
|
45
45
|
getSystemsoftwareversion: new react_1.ApiCallAsyncResourceFactory(descriptors.appGetSystemsoftwareversion, baseClient.app.getSystemsoftwareversion).getApiResource,
|
|
46
|
-
/**
|
|
46
|
+
/** Get all `AppInstallations` inside a specific `Project`. */
|
|
47
47
|
listAppinstallations: new react_1.ApiCallAsyncResourceFactory(descriptors.appListAppinstallations, baseClient.app.listAppinstallations).getApiResource,
|
|
48
|
-
/**
|
|
48
|
+
/** Get all available `Apps`. */
|
|
49
49
|
listApps: new react_1.ApiCallAsyncResourceFactory(descriptors.appListApps, baseClient.app.listApps).getApiResource,
|
|
50
|
-
/**
|
|
50
|
+
/** Get all `AppVersions` of a specific `App`. */
|
|
51
51
|
listAppversions: new react_1.ApiCallAsyncResourceFactory(descriptors.appListAppversions, baseClient.app.listAppversions).getApiResource,
|
|
52
|
-
/**
|
|
52
|
+
/** Get all available `SystemSoftware`. */
|
|
53
53
|
listSystemsoftwares: new react_1.ApiCallAsyncResourceFactory(descriptors.appListSystemsoftwares, baseClient.app.listSystemsoftwares).getApiResource,
|
|
54
|
-
/**
|
|
54
|
+
/** Get all available `SystemSoftwareVersions` of a specific `SystemSoftware`. */
|
|
55
55
|
listSystemsoftwareversions: new react_1.ApiCallAsyncResourceFactory(descriptors.appListSystemsoftwareversions, baseClient.app.listSystemsoftwareversions).getApiResource,
|
|
56
|
-
/**
|
|
56
|
+
/** Get all update candidates for a specific `AppVersion`. */
|
|
57
57
|
listUpdateCandidatesForAppversion: new react_1.ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
|
|
58
|
-
/**
|
|
58
|
+
/** Get runtime status of a specific `AppInstallation`. */
|
|
59
59
|
retrieveStatus: new react_1.ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
|
|
60
60
|
});
|
|
61
61
|
const buildArticleApi = (baseClient) => ({
|
|
@@ -230,6 +230,44 @@ const buildNotificationApi = (baseClient) => ({
|
|
|
230
230
|
/** List all unread notifications. */
|
|
231
231
|
slistNotifications: new react_1.ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
|
|
232
232
|
});
|
|
233
|
+
const buildPageInsightsApi = (baseClient) => ({
|
|
234
|
+
/** Get detailed performance data for a given domain and path. */
|
|
235
|
+
pageinsightsGetPerformanceData: new react_1.ApiCallAsyncResourceFactory(descriptors.pageinsightsGetPerformanceData, baseClient.pageInsights.pageinsightsGetPerformanceData).getApiResource,
|
|
236
|
+
/** List websites (specified as domain and path) from a project where performance data is available. */
|
|
237
|
+
pageinsightsListPerformanceDataForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.pageinsightsListPerformanceDataForProject, baseClient.pageInsights.pageinsightsListPerformanceDataForProject).getApiResource,
|
|
238
|
+
});
|
|
239
|
+
const buildUserApi = (baseClient) => ({
|
|
240
|
+
/** Get a password policy. */
|
|
241
|
+
passwordValidationGetPasswordPolicy: new react_1.ApiCallAsyncResourceFactory(descriptors.passwordValidationGetPasswordPolicy, baseClient.user.passwordValidationGetPasswordPolicy).getApiResource,
|
|
242
|
+
/** Get your verified Email-Address. */
|
|
243
|
+
getOwnEmail: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
|
|
244
|
+
/** Get your current multi factor auth status. */
|
|
245
|
+
getMfaStatus: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
246
|
+
/** List all of your ApiTokens. */
|
|
247
|
+
listApiTokens: new react_1.ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
248
|
+
/** Get your stored ssh-keys. */
|
|
249
|
+
listSshKeys: new react_1.ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
250
|
+
/** Get a specific ApiToken. */
|
|
251
|
+
getApiToken: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
252
|
+
/** Get a specific stored ssh-key. */
|
|
253
|
+
getSshKey: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
254
|
+
/** Get your account information. */
|
|
255
|
+
getOwnAccount: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetOwnAccount, baseClient.user.getOwnAccount).getApiResource,
|
|
256
|
+
/** The timestamp of your latest password change. */
|
|
257
|
+
getPasswordUpdatedAt: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
258
|
+
/** Get personalized settings. */
|
|
259
|
+
getPersonalizedSettings: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
260
|
+
/** Get a specific session. */
|
|
261
|
+
getSession: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
262
|
+
/** Get profile information for a user. */
|
|
263
|
+
getUser: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
264
|
+
/** Submitted feedback of the given user. */
|
|
265
|
+
listFeedback: new react_1.ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
|
|
266
|
+
/** List all sessions. */
|
|
267
|
+
listSessions: new react_1.ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
268
|
+
/** Request a support code. */
|
|
269
|
+
supportCodeRequest: new react_1.ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
270
|
+
});
|
|
233
271
|
const buildProjectApi = (baseClient) => ({
|
|
234
272
|
/** Get a ProjectInvite. */
|
|
235
273
|
getProjectInvite: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
|
|
@@ -278,36 +316,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
278
316
|
/** Get an SSHUser. */
|
|
279
317
|
sshUserGetSshUser: new react_1.ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
280
318
|
});
|
|
281
|
-
const buildUserApi = (baseClient) => ({
|
|
282
|
-
/** Get your verified Email-Address. */
|
|
283
|
-
getOwnEmail: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
|
|
284
|
-
/** Get your current multi factor auth status. */
|
|
285
|
-
getMfaStatus: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
286
|
-
/** List all of your ApiTokens. */
|
|
287
|
-
listApiTokens: new react_1.ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
288
|
-
/** Get your stored ssh-keys. */
|
|
289
|
-
listSshKeys: new react_1.ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
290
|
-
/** Get a specific ApiToken. */
|
|
291
|
-
getApiToken: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
292
|
-
/** Get a specific stored ssh-key. */
|
|
293
|
-
getSshKey: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
294
|
-
/** Get your account information. */
|
|
295
|
-
getOwnAccount: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetOwnAccount, baseClient.user.getOwnAccount).getApiResource,
|
|
296
|
-
/** The timestamp of your latest password change. */
|
|
297
|
-
getPasswordUpdatedAt: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
298
|
-
/** Get personalized settings. */
|
|
299
|
-
getPersonalizedSettings: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
300
|
-
/** Get a specific session. */
|
|
301
|
-
getSession: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
302
|
-
/** Get profile information for a user. */
|
|
303
|
-
getUser: new react_1.ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
304
|
-
/** Submitted feedback of the given user. */
|
|
305
|
-
listFeedback: new react_1.ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
|
|
306
|
-
/** List all sessions. */
|
|
307
|
-
listSessions: new react_1.ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
308
|
-
/** Request a support code. */
|
|
309
|
-
supportCodeRequest: new react_1.ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
310
|
-
});
|
|
311
319
|
class MittwaldAPIV2ClientReact {
|
|
312
320
|
constructor(baseClient) {
|
|
313
321
|
this.app = buildAppApi(baseClient);
|
|
@@ -322,10 +330,11 @@ class MittwaldAPIV2ClientReact {
|
|
|
322
330
|
this.file = buildFileApi(baseClient);
|
|
323
331
|
this.mail = buildMailApi(baseClient);
|
|
324
332
|
this.notification = buildNotificationApi(baseClient);
|
|
333
|
+
this.pageInsights = buildPageInsightsApi(baseClient);
|
|
334
|
+
this.user = buildUserApi(baseClient);
|
|
325
335
|
this.project = buildProjectApi(baseClient);
|
|
326
336
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
327
337
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
328
|
-
this.user = buildUserApi(baseClient);
|
|
329
338
|
}
|
|
330
339
|
static fromBaseClient(baseClient) {
|
|
331
340
|
return new MittwaldAPIV2ClientReact(baseClient);
|