@mittwald/api-client 0.0.0-development-38105fd-20260708 → 0.0.0-development-d575ea2-20260713
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 -8
- package/dist/esm/generated/v2/client.js +12 -10
- package/dist/esm/generated/v2/descriptors.js +36 -30
- package/dist/esm/generated/v3-next/client-react.js +6 -8
- package/dist/esm/generated/v3-next/client.js +12 -10
- package/dist/esm/generated/v3-next/descriptors.js +36 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +58 -62
- package/dist/types/generated/v2/client.d.ts +423 -277
- package/dist/types/generated/v2/descriptors.d.ts +13 -11
- package/dist/types/generated/v2/types.d.ts +541 -433
- package/dist/types/generated/v3-next/client-react.d.ts +58 -62
- package/dist/types/generated/v3-next/client.d.ts +423 -277
- package/dist/types/generated/v3-next/descriptors.d.ts +13 -11
- package/dist/types/generated/v3-next/types.d.ts +541 -433
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -39,6 +39,47 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
39
39
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
40
40
|
} | undefined;
|
|
41
41
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerDetailedModel[]>;
|
|
42
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
43
|
+
customerGetPlan: (conf: {
|
|
44
|
+
customerId: string;
|
|
45
|
+
planId: string;
|
|
46
|
+
headers?: {
|
|
47
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
queryParameters?: {
|
|
50
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
51
|
+
topUsageCount?: number | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
54
|
+
customerId: string;
|
|
55
|
+
deletedAt?: string | undefined;
|
|
56
|
+
keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
|
|
57
|
+
modelTermsApprovalRequired: boolean;
|
|
58
|
+
nextTokenReset: string;
|
|
59
|
+
planId?: string | undefined;
|
|
60
|
+
rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
|
|
61
|
+
tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
|
|
62
|
+
topUsages?: {
|
|
63
|
+
keyId?: string;
|
|
64
|
+
name: string;
|
|
65
|
+
projectId?: string;
|
|
66
|
+
tokenUsed: number;
|
|
67
|
+
}[] | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
/** Get all ai hosting plans of a customer. */
|
|
70
|
+
customerGetPlans: (conf: {
|
|
71
|
+
customerId: string;
|
|
72
|
+
headers?: {
|
|
73
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
queryParameters?: {
|
|
76
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
77
|
+
topUsageCount?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
80
|
+
modelTermsApprovalRequired: boolean;
|
|
81
|
+
plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanOptions[];
|
|
82
|
+
}>;
|
|
42
83
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
43
84
|
customerGetUsage: (conf: {
|
|
44
85
|
customerId: string;
|
|
@@ -125,47 +166,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
125
166
|
nextTokenReset?: string | undefined;
|
|
126
167
|
projectId: string;
|
|
127
168
|
}>;
|
|
128
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
129
|
-
customerGetPlan: (conf: {
|
|
130
|
-
customerId: string;
|
|
131
|
-
planId: string;
|
|
132
|
-
headers?: {
|
|
133
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
queryParameters?: {
|
|
136
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
137
|
-
topUsageCount?: number | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
140
|
-
customerId: string;
|
|
141
|
-
deletedAt?: string | undefined;
|
|
142
|
-
keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
|
|
143
|
-
modelTermsApprovalRequired: boolean;
|
|
144
|
-
nextTokenReset: string;
|
|
145
|
-
planId?: string | undefined;
|
|
146
|
-
rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
|
|
147
|
-
tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
|
|
148
|
-
topUsages?: {
|
|
149
|
-
keyId?: string;
|
|
150
|
-
name: string;
|
|
151
|
-
projectId?: string;
|
|
152
|
-
tokenUsed: number;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
}>;
|
|
155
|
-
/** Get all ai hosting plans of a customer. */
|
|
156
|
-
customerGetPlans: (conf: {
|
|
157
|
-
customerId: string;
|
|
158
|
-
headers?: {
|
|
159
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
160
|
-
} | undefined;
|
|
161
|
-
queryParameters?: {
|
|
162
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
163
|
-
topUsageCount?: number | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
166
|
-
modelTermsApprovalRequired: boolean;
|
|
167
|
-
plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanOptions[];
|
|
168
|
-
}>;
|
|
169
169
|
};
|
|
170
170
|
declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
171
171
|
/** Get an App. */
|
|
@@ -603,6 +603,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
603
603
|
} | undefined;
|
|
604
604
|
queryParameters?: {
|
|
605
605
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
606
|
+
searchTerm?: string | undefined;
|
|
606
607
|
limit?: number | undefined;
|
|
607
608
|
skip?: number | undefined;
|
|
608
609
|
page?: number | undefined;
|
|
@@ -832,6 +833,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
832
833
|
page?: number | undefined;
|
|
833
834
|
} | undefined;
|
|
834
835
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
|
|
836
|
+
/** List Container Template statistics. */
|
|
837
|
+
listTemplateStatistics: (conf?: {
|
|
838
|
+
headers?: {
|
|
839
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
840
|
+
} | undefined;
|
|
841
|
+
queryParameters?: {
|
|
842
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
843
|
+
templateId?: string | undefined;
|
|
844
|
+
category?: string | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
847
|
+
category?: string | undefined;
|
|
848
|
+
templates?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateStatsResponse[] | undefined;
|
|
849
|
+
}>;
|
|
835
850
|
/** List Container Templates. */
|
|
836
851
|
listTemplates: (conf?: {
|
|
837
852
|
headers?: {
|
|
@@ -864,27 +879,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
864
879
|
page?: number | undefined;
|
|
865
880
|
} | undefined;
|
|
866
881
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
|
|
867
|
-
/** Get Container Template statistics. */
|
|
868
|
-
getTemplateStatistics: (conf: {
|
|
869
|
-
templateId: string;
|
|
870
|
-
headers?: {
|
|
871
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
872
|
-
} | undefined;
|
|
873
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
874
|
-
id: string;
|
|
875
|
-
installations: number;
|
|
876
|
-
installations30Days: number;
|
|
877
|
-
}>;
|
|
878
|
-
/** Get Container Template statistics by category. */
|
|
879
|
-
getTemplateStatisticsByCategory: (conf: {
|
|
880
|
-
category: string;
|
|
881
|
-
headers?: {
|
|
882
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
883
|
-
} | undefined;
|
|
884
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
885
|
-
category: string;
|
|
886
|
-
templates: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateStatsResponse[];
|
|
887
|
-
}>;
|
|
888
882
|
};
|
|
889
883
|
declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
890
884
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -2976,6 +2970,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2976
2970
|
mailRateLimitId: string;
|
|
2977
2971
|
headers?: {
|
|
2978
2972
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2973
|
+
"x-access-token"?: string | undefined;
|
|
2979
2974
|
} | undefined;
|
|
2980
2975
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2981
2976
|
id: string;
|
|
@@ -3014,6 +3009,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
3014
3009
|
listMailRateLimits: (conf?: {
|
|
3015
3010
|
headers?: {
|
|
3016
3011
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3012
|
+
"x-access-token"?: string | undefined;
|
|
3017
3013
|
} | undefined;
|
|
3018
3014
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailsystemRateLimit[]>;
|
|
3019
3015
|
/** List mail settings of a Project. */
|