@mittwald/api-client 0.0.0-development-38105fd-20260708 → 0.0.0-development-53640b8-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.
@@ -39,6 +39,48 @@ 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
+ name?: string | undefined;
59
+ nextTokenReset: string;
60
+ planId?: string | undefined;
61
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
62
+ tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
63
+ topUsages?: {
64
+ keyId?: string;
65
+ name: string;
66
+ projectId?: string;
67
+ tokenUsed: number;
68
+ }[] | undefined;
69
+ }>;
70
+ /** Get all ai hosting plans of a customer. */
71
+ customerGetPlans: (conf: {
72
+ customerId: string;
73
+ headers?: {
74
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
75
+ } | undefined;
76
+ queryParameters?: {
77
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
78
+ topUsageCount?: number | undefined;
79
+ } | undefined;
80
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
81
+ modelTermsApprovalRequired: boolean;
82
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanOptions[];
83
+ }>;
42
84
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
43
85
  customerGetUsage: (conf: {
44
86
  customerId: string;
@@ -54,6 +96,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
54
96
  deletedAt?: string | undefined;
55
97
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
56
98
  modelTermsApprovalRequired: boolean;
99
+ name?: string | undefined;
57
100
  nextTokenReset: string;
58
101
  planId?: string | undefined;
59
102
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
@@ -122,50 +165,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
122
165
  }) => import("@mittwald/react-use-promise").AsyncResource<{
123
166
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
124
167
  modelTermsApprovalRequired: boolean;
168
+ name?: string | undefined;
125
169
  nextTokenReset?: string | undefined;
126
170
  projectId: string;
127
171
  }>;
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
172
  };
170
173
  declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
171
174
  /** Get an App. */
@@ -603,6 +606,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
603
606
  } | undefined;
604
607
  queryParameters?: {
605
608
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
609
+ searchTerm?: string | undefined;
606
610
  limit?: number | undefined;
607
611
  skip?: number | undefined;
608
612
  page?: number | undefined;
@@ -832,6 +836,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
832
836
  page?: number | undefined;
833
837
  } | undefined;
834
838
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
839
+ /** List Container Template statistics. */
840
+ listTemplateStatistics: (conf?: {
841
+ headers?: {
842
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
843
+ } | undefined;
844
+ queryParameters?: {
845
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
846
+ templateId?: string | undefined;
847
+ category?: string | undefined;
848
+ } | undefined;
849
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
850
+ category?: string | undefined;
851
+ templates?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateStatsResponse[] | undefined;
852
+ }>;
835
853
  /** List Container Templates. */
836
854
  listTemplates: (conf?: {
837
855
  headers?: {
@@ -864,27 +882,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
864
882
  page?: number | undefined;
865
883
  } | undefined;
866
884
  }) => 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
885
  };
889
886
  declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
890
887
  /** Return the BaseItem of the Contract with the given ID. */
@@ -2976,6 +2973,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2976
2973
  mailRateLimitId: string;
2977
2974
  headers?: {
2978
2975
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2976
+ "x-access-token"?: string | undefined;
2979
2977
  } | undefined;
2980
2978
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2981
2979
  id: string;
@@ -3014,6 +3012,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
3014
3012
  listMailRateLimits: (conf?: {
3015
3013
  headers?: {
3016
3014
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3015
+ "x-access-token"?: string | undefined;
3017
3016
  } | undefined;
3018
3017
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailsystemRateLimit[]>;
3019
3018
  /** List mail settings of a Project. */