@mittwald/api-client 4.451.0 → 4.453.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/esm/generated/v2/client-react.js +10 -6
- package/dist/esm/generated/v2/client.js +20 -12
- package/dist/esm/generated/v2/descriptors.js +54 -30
- package/dist/esm/generated/v3-next/client-react.js +10 -6
- package/dist/esm/generated/v3-next/client.js +20 -12
- package/dist/esm/generated/v3-next/descriptors.js +54 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +91 -39
- package/dist/types/generated/v2/client.d.ts +726 -415
- package/dist/types/generated/v2/descriptors.d.ts +23 -15
- package/dist/types/generated/v2/types.d.ts +445 -139
- package/dist/types/generated/v3-next/client-react.d.ts +91 -39
- package/dist/types/generated/v3-next/client.d.ts +726 -415
- package/dist/types/generated/v3-next/descriptors.d.ts +23 -15
- package/dist/types/generated/v3-next/types.d.ts +445 -139
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -7,6 +7,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
7
7
|
headers?: {
|
|
8
8
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9
9
|
} | undefined;
|
|
10
|
+
queryParameters?: {
|
|
11
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
12
|
+
planId?: string | undefined;
|
|
13
|
+
} | undefined;
|
|
10
14
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
11
15
|
/** Get a key of a customer. */
|
|
12
16
|
customerGetKey: (conf: {
|
|
@@ -23,6 +27,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
23
27
|
keyId: string;
|
|
24
28
|
models: string[];
|
|
25
29
|
name: string;
|
|
30
|
+
planId: string;
|
|
31
|
+
profileId: string;
|
|
26
32
|
projectId?: string | undefined;
|
|
27
33
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
28
34
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
@@ -34,31 +40,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
34
40
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
35
41
|
} | undefined;
|
|
36
42
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
37
|
-
/** Get ai hosting plan and usages of a customer. */
|
|
38
|
-
customerGetUsage: (conf: {
|
|
39
|
-
customerId: string;
|
|
40
|
-
headers?: {
|
|
41
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
queryParameters?: {
|
|
44
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
45
|
-
topUsageCount?: number | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
48
|
-
customerId: string;
|
|
49
|
-
deletedAt?: string | undefined;
|
|
50
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
51
|
-
modelTermsApprovalRequired: boolean;
|
|
52
|
-
nextTokenReset: string;
|
|
53
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
54
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
55
|
-
topUsages?: {
|
|
56
|
-
keyId?: string;
|
|
57
|
-
name: string;
|
|
58
|
-
projectId?: string;
|
|
59
|
-
tokenUsed: number;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
}>;
|
|
62
43
|
/** Get a list of currently active models. */
|
|
63
44
|
getModels: (conf?: {
|
|
64
45
|
headers?: {
|
|
@@ -71,6 +52,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
71
52
|
headers?: {
|
|
72
53
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
73
54
|
} | undefined;
|
|
55
|
+
queryParameters?: {
|
|
56
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
57
|
+
planId?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
74
59
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
75
60
|
/** Get a key of a project. */
|
|
76
61
|
projectGetKey: (conf: {
|
|
@@ -87,6 +72,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
87
72
|
keyId: string;
|
|
88
73
|
models: string[];
|
|
89
74
|
name: string;
|
|
75
|
+
planId: string;
|
|
76
|
+
profileId: string;
|
|
90
77
|
projectId?: string | undefined;
|
|
91
78
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
92
79
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
@@ -98,20 +85,87 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
98
85
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
99
86
|
} | undefined;
|
|
100
87
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
101
|
-
/** Get ai hosting plan and usages of a
|
|
102
|
-
|
|
88
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
89
|
+
customerGetPlan: (conf: {
|
|
90
|
+
customerId: string;
|
|
91
|
+
planId: string;
|
|
92
|
+
headers?: {
|
|
93
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
queryParameters?: {
|
|
96
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
97
|
+
topUsageCount?: number | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
100
|
+
customerId: string;
|
|
101
|
+
deletedAt?: string | undefined;
|
|
102
|
+
description: string;
|
|
103
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
104
|
+
modelTermsApprovalRequired: boolean;
|
|
105
|
+
nextTokenReset: string;
|
|
106
|
+
planId: string;
|
|
107
|
+
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
108
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
109
|
+
topUsages?: {
|
|
110
|
+
keyId?: string;
|
|
111
|
+
name: string;
|
|
112
|
+
projectId?: string;
|
|
113
|
+
tokenUsed: number;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
}>;
|
|
116
|
+
/** Get all ai hosting plans of a customer. */
|
|
117
|
+
customerGetPlans: (conf: {
|
|
118
|
+
customerId: string;
|
|
119
|
+
headers?: {
|
|
120
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
queryParameters?: {
|
|
123
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
124
|
+
topUsageCount?: number | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
127
|
+
modelTermsApprovalRequired: boolean;
|
|
128
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan[];
|
|
129
|
+
}>;
|
|
130
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
131
|
+
projectGetPlan: (conf: {
|
|
103
132
|
projectId: string;
|
|
133
|
+
planId: string;
|
|
104
134
|
headers?: {
|
|
105
135
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
106
136
|
} | undefined;
|
|
107
137
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
138
|
+
description?: string | undefined;
|
|
108
139
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
109
140
|
modelTermsApprovalRequired: boolean;
|
|
110
141
|
nextTokenReset?: string | undefined;
|
|
142
|
+
planId: string;
|
|
143
|
+
projectId: string;
|
|
144
|
+
}>;
|
|
145
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
146
|
+
projectGetPlans: (conf: {
|
|
111
147
|
projectId: string;
|
|
148
|
+
headers?: {
|
|
149
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
152
|
+
modelTermsApprovalRequired: boolean;
|
|
153
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
112
154
|
}>;
|
|
113
155
|
};
|
|
114
156
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
157
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
158
|
+
getAppInstallationSystemSoftware: (conf: {
|
|
159
|
+
appInstallationId: string;
|
|
160
|
+
headers?: {
|
|
161
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
162
|
+
"x-access-token"?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
queryParameters?: {
|
|
165
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
166
|
+
tagFilter?: string | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
|
|
115
169
|
/** Get an App. */
|
|
116
170
|
getApp: (conf: {
|
|
117
171
|
appId: string;
|
|
@@ -137,6 +191,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
137
191
|
appId: string;
|
|
138
192
|
appName: string;
|
|
139
193
|
appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
194
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
140
195
|
createdAt: string;
|
|
141
196
|
customDocumentRoot?: string | undefined;
|
|
142
197
|
deletionRequested?: boolean | undefined;
|
|
@@ -348,18 +403,6 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
348
403
|
state: "running" | "stopped" | "exited";
|
|
349
404
|
uptimeSeconds?: number | undefined;
|
|
350
405
|
}>;
|
|
351
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
352
|
-
getAppInstallationSystemSoftware: (conf: {
|
|
353
|
-
appInstallationId: string;
|
|
354
|
-
headers?: {
|
|
355
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
356
|
-
"x-access-token"?: string | undefined;
|
|
357
|
-
} | undefined;
|
|
358
|
-
queryParameters?: {
|
|
359
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
360
|
-
tagFilter?: string | undefined;
|
|
361
|
-
} | undefined;
|
|
362
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
|
|
363
406
|
};
|
|
364
407
|
declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
365
408
|
/** Get an Article. */
|
|
@@ -640,6 +683,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
640
683
|
serviceId: string;
|
|
641
684
|
headers?: {
|
|
642
685
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
686
|
+
Range?: string | undefined;
|
|
687
|
+
"If-Range"?: string | undefined;
|
|
643
688
|
"x-access-token"?: string | undefined;
|
|
644
689
|
} | undefined;
|
|
645
690
|
queryParameters?: {
|
|
@@ -1051,9 +1096,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1051
1096
|
} | undefined;
|
|
1052
1097
|
queryParameters?: {
|
|
1053
1098
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1099
|
+
search?: string | undefined;
|
|
1100
|
+
baseArticleNames?: string[] | undefined;
|
|
1054
1101
|
limit?: number | undefined;
|
|
1055
1102
|
skip?: number | undefined;
|
|
1056
1103
|
page?: number | undefined;
|
|
1104
|
+
sort?: "description" | "contractNumber" | undefined;
|
|
1105
|
+
order?: "asc" | "desc" | undefined;
|
|
1057
1106
|
} | undefined;
|
|
1058
1107
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
|
|
1059
1108
|
/** Get details of an Invoice. */
|
|
@@ -1861,6 +1910,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1861
1910
|
} | undefined;
|
|
1862
1911
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1863
1912
|
message: string;
|
|
1913
|
+
recommendation?: string | undefined;
|
|
1864
1914
|
}>;
|
|
1865
1915
|
/** Get a CronjobExecution. */
|
|
1866
1916
|
getExecution: (conf: {
|
|
@@ -3708,6 +3758,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3708
3758
|
projectId: string;
|
|
3709
3759
|
headers?: {
|
|
3710
3760
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3761
|
+
Range?: string | undefined;
|
|
3762
|
+
"If-Range"?: string | undefined;
|
|
3711
3763
|
"x-access-token"?: string | undefined;
|
|
3712
3764
|
} | undefined;
|
|
3713
3765
|
queryParameters?: {
|