@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-a0108d5-20260909
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 +6 -10
- package/dist/esm/generated/v2/client.js +8 -14
- package/dist/esm/generated/v2/descriptors.js +22 -40
- package/dist/esm/generated/v3-next/client-react.js +6 -10
- package/dist/esm/generated/v3-next/client.js +8 -14
- package/dist/esm/generated/v3-next/descriptors.js +22 -40
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +64 -115
- package/dist/types/generated/v2/client.d.ts +215 -482
- package/dist/types/generated/v2/descriptors.d.ts +8 -14
- package/dist/types/generated/v2/types.d.ts +276 -531
- package/dist/types/generated/v3-next/client-react.d.ts +64 -114
- package/dist/types/generated/v3-next/client.d.ts +213 -478
- package/dist/types/generated/v3-next/descriptors.d.ts +8 -14
- package/dist/types/generated/v3-next/types.d.ts +276 -531
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
|
@@ -94,6 +94,62 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
94
94
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
95
95
|
} | undefined;
|
|
96
96
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingModel[]>;
|
|
97
|
+
/** List the contract months of an ai hosting plan. */
|
|
98
|
+
planGetBillingPeriods: (conf: {
|
|
99
|
+
customerId: string;
|
|
100
|
+
planId: string;
|
|
101
|
+
headers?: {
|
|
102
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
105
|
+
customerId: string;
|
|
106
|
+
nextTokenReset?: string | undefined;
|
|
107
|
+
periods: {
|
|
108
|
+
end: string;
|
|
109
|
+
isCurrent: boolean;
|
|
110
|
+
shortenedByUpgrade: boolean;
|
|
111
|
+
start: string;
|
|
112
|
+
tokenLimit: number;
|
|
113
|
+
}[];
|
|
114
|
+
planId: string;
|
|
115
|
+
}>;
|
|
116
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
117
|
+
planGetUsageStats: (conf: {
|
|
118
|
+
queryParameters: {
|
|
119
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
120
|
+
startDate: string;
|
|
121
|
+
endDate: string;
|
|
122
|
+
keyId?: string | undefined;
|
|
123
|
+
};
|
|
124
|
+
customerId: string;
|
|
125
|
+
planId: string;
|
|
126
|
+
headers?: {
|
|
127
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
130
|
+
customerId: string;
|
|
131
|
+
daily: {
|
|
132
|
+
byKey: {
|
|
133
|
+
[k: string]: number;
|
|
134
|
+
};
|
|
135
|
+
date: string;
|
|
136
|
+
totalTokens: number;
|
|
137
|
+
}[];
|
|
138
|
+
keys: {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
}[];
|
|
142
|
+
modelShare: {
|
|
143
|
+
model: string;
|
|
144
|
+
tokens: number;
|
|
145
|
+
}[];
|
|
146
|
+
planId: string;
|
|
147
|
+
timeframe: {
|
|
148
|
+
end: string;
|
|
149
|
+
start: string;
|
|
150
|
+
};
|
|
151
|
+
totalTokens: number;
|
|
152
|
+
}>;
|
|
97
153
|
/** Get a list of keys of a project. */
|
|
98
154
|
projectGetKeys: (conf: {
|
|
99
155
|
projectId: string;
|
|
@@ -167,74 +223,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
167
223
|
modelTermsApprovalRequired: boolean;
|
|
168
224
|
plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
|
|
169
225
|
}>;
|
|
170
|
-
/** List the contract months of an ai hosting plan. */
|
|
171
|
-
planGetBillingPeriods: (conf: {
|
|
172
|
-
customerId: string;
|
|
173
|
-
planId: string;
|
|
174
|
-
headers?: {
|
|
175
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
178
|
-
customerId: string;
|
|
179
|
-
nextTokenReset?: string | undefined;
|
|
180
|
-
periods: {
|
|
181
|
-
end: string;
|
|
182
|
-
isCurrent: boolean;
|
|
183
|
-
shortenedByUpgrade: boolean;
|
|
184
|
-
start: string;
|
|
185
|
-
tokenLimit: number;
|
|
186
|
-
}[];
|
|
187
|
-
planId: string;
|
|
188
|
-
}>;
|
|
189
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
190
|
-
planGetUsageStats: (conf: {
|
|
191
|
-
queryParameters: {
|
|
192
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
193
|
-
startDate: string;
|
|
194
|
-
endDate: string;
|
|
195
|
-
detailed?: boolean | undefined;
|
|
196
|
-
};
|
|
197
|
-
customerId: string;
|
|
198
|
-
planId: string;
|
|
199
|
-
headers?: {
|
|
200
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
203
|
-
customerId: string;
|
|
204
|
-
daily: {
|
|
205
|
-
byKey: {
|
|
206
|
-
[k: string]: number;
|
|
207
|
-
};
|
|
208
|
-
date: string;
|
|
209
|
-
totalTokens: number;
|
|
210
|
-
}[];
|
|
211
|
-
detailed?: {
|
|
212
|
-
[k: string]: {
|
|
213
|
-
byKey?: {
|
|
214
|
-
[k: string]: {
|
|
215
|
-
byModel?: {
|
|
216
|
-
[k: string]: number;
|
|
217
|
-
};
|
|
218
|
-
tokens?: number;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
} | undefined;
|
|
223
|
-
keys: {
|
|
224
|
-
id: string;
|
|
225
|
-
name: string;
|
|
226
|
-
}[];
|
|
227
|
-
modelShare: {
|
|
228
|
-
model: string;
|
|
229
|
-
tokens: number;
|
|
230
|
-
}[];
|
|
231
|
-
planId: string;
|
|
232
|
-
timeframe: {
|
|
233
|
-
end: string;
|
|
234
|
-
start: string;
|
|
235
|
-
};
|
|
236
|
-
totalTokens: number;
|
|
237
|
-
}>;
|
|
238
226
|
};
|
|
239
227
|
declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
240
228
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -2163,7 +2151,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2163
2151
|
owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | undefined;
|
|
2164
2152
|
projectCount: number;
|
|
2165
2153
|
vatId?: string | undefined;
|
|
2166
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
2154
|
+
vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
|
|
2167
2155
|
}>;
|
|
2168
2156
|
/** Get a CustomerInvite by token. */
|
|
2169
2157
|
getCustomerTokenInvite: (conf: {
|
|
@@ -2399,30 +2387,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2399
2387
|
page?: number | undefined;
|
|
2400
2388
|
} | undefined;
|
|
2401
2389
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainListItem[]>;
|
|
2402
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2403
|
-
dnsListDnsZoneFileImports: (conf: {
|
|
2404
|
-
projectId: string;
|
|
2405
|
-
headers?: {
|
|
2406
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2407
|
-
"x-access-token"?: string | undefined;
|
|
2408
|
-
} | undefined;
|
|
2409
|
-
queryParameters?: {
|
|
2410
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2411
|
-
limit?: number | undefined;
|
|
2412
|
-
skip?: number | undefined;
|
|
2413
|
-
page?: number | undefined;
|
|
2414
|
-
sort?: "createdAt" | undefined;
|
|
2415
|
-
order?: "asc" | "desc" | undefined;
|
|
2416
|
-
} | undefined;
|
|
2417
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
|
|
2418
|
-
/** List DNSZones belonging to a Project. */
|
|
2419
|
-
dnsListDnsZones: (conf: {
|
|
2420
|
-
projectId: string;
|
|
2421
|
-
headers?: {
|
|
2422
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2423
|
-
"x-access-token"?: string | undefined;
|
|
2424
|
-
} | undefined;
|
|
2425
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
|
|
2426
2390
|
/** Get a DNSZone. */
|
|
2427
2391
|
dnsGetDnsZone: (conf: {
|
|
2428
2392
|
dnsZoneId: string;
|
|
@@ -2442,36 +2406,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2442
2406
|
txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
|
|
2443
2407
|
};
|
|
2444
2408
|
}>;
|
|
2445
|
-
/** Get
|
|
2446
|
-
|
|
2447
|
-
|
|
2409
|
+
/** Get a zone file for a DNSZone. */
|
|
2410
|
+
dnsGetZoneFile: (conf: {
|
|
2411
|
+
dnsZoneId: string;
|
|
2448
2412
|
headers?: {
|
|
2449
2413
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2450
2414
|
"x-access-token"?: string | undefined;
|
|
2451
2415
|
} | undefined;
|
|
2452
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
error: string;
|
|
2456
|
-
name: string;
|
|
2457
|
-
}[];
|
|
2458
|
-
id: string;
|
|
2459
|
-
importedZones: string[];
|
|
2416
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2417
|
+
/** List DNSZones belonging to a Project. */
|
|
2418
|
+
dnsListDnsZones: (conf: {
|
|
2460
2419
|
projectId: string;
|
|
2461
|
-
skippedZones: {
|
|
2462
|
-
name: string;
|
|
2463
|
-
reason: string;
|
|
2464
|
-
}[];
|
|
2465
|
-
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2466
|
-
}>;
|
|
2467
|
-
/** Get a zone file for a DNSZone. */
|
|
2468
|
-
dnsGetZoneFile: (conf: {
|
|
2469
|
-
dnsZoneId: string;
|
|
2470
2420
|
headers?: {
|
|
2471
2421
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2472
2422
|
"x-access-token"?: string | undefined;
|
|
2473
2423
|
} | undefined;
|
|
2474
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2424
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
|
|
2475
2425
|
/** Get a domain. */
|
|
2476
2426
|
serviceNextGetDomain: (conf: {
|
|
2477
2427
|
domainId: string;
|