@mittwald/api-client 0.0.0-experimental-dev-bd6e53b-20260706 → 0.0.0-experimental-dev-8fc4091-20260706

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.
@@ -7,6 +7,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
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
+ subscriptionId?: string | undefined;
13
+ } | undefined;
10
14
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[]>;
11
15
  /** Get a key of a customer. */
12
16
  customerGetKey: (conf: {
@@ -25,6 +29,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
25
29
  name: string;
26
30
  projectId?: string | undefined;
27
31
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
32
+ subscriptionId?: string | undefined;
28
33
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
29
34
  }>;
30
35
  /** Get a list of currently active models. */
@@ -43,6 +48,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
43
48
  queryParameters?: {
44
49
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
45
50
  topUsageCount?: number | undefined;
51
+ subscriptionId?: string | undefined;
46
52
  } | undefined;
47
53
  }) => import("@mittwald/react-use-promise").AsyncResource<{
48
54
  customerId: string;
@@ -51,6 +57,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
51
57
  modelTermsApprovalRequired: boolean;
52
58
  nextTokenReset: string;
53
59
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
60
+ subscriptionId?: string | undefined;
54
61
  tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
55
62
  topUsages?: {
56
63
  keyId?: string;
@@ -71,6 +78,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
71
78
  headers?: {
72
79
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
73
80
  } | undefined;
81
+ queryParameters?: {
82
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
83
+ subscriptionId?: string | undefined;
84
+ } | undefined;
74
85
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[]>;
75
86
  /** Get a key of a project. */
76
87
  projectGetKey: (conf: {
@@ -89,6 +100,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
89
100
  name: string;
90
101
  projectId?: string | undefined;
91
102
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
103
+ subscriptionId?: string | undefined;
92
104
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
93
105
  }>;
94
106
  /** Get a list of currently active models. */
@@ -104,12 +116,25 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
104
116
  headers?: {
105
117
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
106
118
  } | undefined;
119
+ queryParameters?: {
120
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
121
+ subscriptionId?: string | undefined;
122
+ } | undefined;
107
123
  }) => import("@mittwald/react-use-promise").AsyncResource<{
108
124
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
109
125
  modelTermsApprovalRequired: boolean;
110
126
  nextTokenReset?: string | undefined;
111
127
  projectId: string;
112
128
  }>;
129
+ /** Get ai hosting subscriptions of a customer. */
130
+ customerGetSubscriptions: (conf: {
131
+ customerId: string;
132
+ headers?: {
133
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
134
+ } | undefined;
135
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
136
+ subscriptionIds: string[];
137
+ }>;
113
138
  };
114
139
  declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
115
140
  /** Get an App. */
@@ -615,6 +640,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
615
640
  };
616
641
  headers?: {
617
642
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
643
+ "Accept-Language"?: "de" | "en" | undefined;
618
644
  "x-access-token"?: string | undefined;
619
645
  } | undefined;
620
646
  }) => import("@mittwald/react-use-promise").AsyncResource<{
@@ -668,6 +694,13 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
668
694
  status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceStatus;
669
695
  statusSetAt: string;
670
696
  }>;
697
+ /** Get a Container Template icon. */
698
+ getTemplateIcon: (conf: {
699
+ templateId: string;
700
+ headers?: {
701
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
702
+ } | undefined;
703
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
671
704
  /** Get a Container Template by ID. */
672
705
  getTemplate: (conf: {
673
706
  templateId: string;
@@ -711,6 +744,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
711
744
  userInputs?: {
712
745
  dataSource?: string;
713
746
  defaultValue?: string;
747
+ label?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
714
748
  name: string;
715
749
  required: boolean;
716
750
  validationSchema?: string;
@@ -799,13 +833,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
799
833
  page?: number | undefined;
800
834
  } | undefined;
801
835
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
802
- /** Get a Container Template icon. */
803
- getTemplateIcon: (conf: {
804
- templateId: string;
805
- headers?: {
806
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
807
- } | undefined;
808
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
809
836
  };
810
837
  declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
811
838
  /** Return the BaseItem of the Contract with the given ID. */
@@ -2168,8 +2195,8 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV3NextClient) => {
2168
2195
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseRedisVersion[]>;
2169
2196
  };
2170
2197
  declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2171
- /** List Domains */
2172
- listDomains: (conf?: {
2198
+ /** List domains. */
2199
+ serviceNextListDomains: (conf?: {
2173
2200
  headers?: {
2174
2201
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2175
2202
  "x-access-token"?: string | undefined;
@@ -2177,13 +2204,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2177
2204
  queryParameters?: {
2178
2205
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2179
2206
  projectId?: string | undefined;
2180
- domainSearchName?: string | undefined;
2181
- contactHash?: string | undefined;
2207
+ search?: string | undefined;
2208
+ sort?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextSortOrder | undefined;
2209
+ type?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainType[] | undefined;
2182
2210
  limit?: number | undefined;
2183
2211
  skip?: number | undefined;
2184
2212
  page?: number | undefined;
2185
2213
  } | undefined;
2186
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainDomain[]>;
2214
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainListItem[]>;
2187
2215
  /** Get a DNSZone. */
2188
2216
  dnsGetDnsZone: (conf: {
2189
2217
  dnsZoneId: string;
@@ -2219,31 +2247,27 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2219
2247
  "x-access-token"?: string | undefined;
2220
2248
  } | undefined;
2221
2249
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2222
- /** Get a Domain. */
2223
- getDomain: (conf: {
2250
+ /** Get a domain. */
2251
+ serviceNextGetDomain: (conf: {
2224
2252
  domainId: string;
2225
2253
  headers?: {
2226
2254
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2227
2255
  "x-access-token"?: string | undefined;
2228
2256
  } | undefined;
2229
2257
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2230
- authCode?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainAuthCode | undefined;
2231
- authCode2?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainAuthCode2 | undefined;
2232
- connected: boolean;
2233
- contactHash?: string | undefined;
2234
- deleted: boolean;
2235
- domain: string;
2236
- domainId: string;
2237
- handles: {
2238
- adminC?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainHandleReadable;
2239
- ownerC: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainHandleReadable;
2240
- };
2241
- nameservers: string[];
2242
- processes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainProcess[] | undefined;
2258
+ dns: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDns;
2259
+ dnsValidationErrors: string[];
2260
+ hostname: string;
2261
+ id?: string | undefined;
2262
+ ips: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextIps;
2263
+ isDefault: boolean;
2264
+ isEnabled: boolean;
2265
+ ownership: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextOwnership;
2266
+ paths: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextPath[];
2243
2267
  projectId: string;
2244
- scheduledDeletionDate?: string | undefined;
2245
- transferInAuthCode?: string | undefined;
2246
- usesDefaultNameserver: boolean;
2268
+ registrarData: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextRegistrarData;
2269
+ tls: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextTls;
2270
+ type: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainType;
2247
2271
  }>;
2248
2272
  /** Get a Contact-Verification. */
2249
2273
  getContactVerification: (conf: {
@@ -2298,6 +2322,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2298
2322
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2299
2323
  } | undefined;
2300
2324
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainTopLevel[]>;
2325
+ /** List Domain-Migrations belonging to a pAccount. */
2326
+ migrationListMigrationsByPaccount: (conf: {
2327
+ headers: {
2328
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2329
+ Authorization: string;
2330
+ };
2331
+ pAccount: string;
2332
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainmigrationMigration[]>;
2301
2333
  /** List Domain-Migrations belonging to a Project. */
2302
2334
  migrationListMigrationsByProjectId: (conf: {
2303
2335
  projectId: string;
@@ -2856,6 +2888,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2856
2888
  isBackupInProgress: boolean;
2857
2889
  isCatchAll: boolean;
2858
2890
  mailbox?: {
2891
+ mailsystemSettings: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailMailsystemSettings;
2859
2892
  name: string;
2860
2893
  passwordUpdatedAt: string;
2861
2894
  sendingEnabled: boolean;
@@ -2874,9 +2907,22 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2874
2907
  };
2875
2908
  } | undefined;
2876
2909
  projectId: string;
2910
+ rateLimitChangeRequest?: {
2911
+ rateLimitId: string;
2912
+ } | undefined;
2877
2913
  receivingDisabled: boolean;
2878
2914
  updatedAt: string;
2879
2915
  }>;
2916
+ /** Get a Mail RateLimit. */
2917
+ getMailRateLimit: (conf: {
2918
+ mailRateLimitId: string;
2919
+ headers?: {
2920
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2921
+ } | undefined;
2922
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2923
+ id: string;
2924
+ rateLimit: number;
2925
+ }>;
2880
2926
  /** List backups belonging to a MailAddress. */
2881
2927
  listBackupsForMailAddress: (conf: {
2882
2928
  mailAddressId: string;
@@ -2906,6 +2952,12 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2906
2952
  order?: ("asc" | "desc")[] | undefined;
2907
2953
  } | undefined;
2908
2954
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailMailAddress[]>;
2955
+ /** List Mail RateLimits. */
2956
+ listMailRateLimits: (conf?: {
2957
+ headers?: {
2958
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2959
+ } | undefined;
2960
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailsystemRateLimit[]>;
2909
2961
  /** List mail settings of a Project. */
2910
2962
  listProjectMailSettings: (conf: {
2911
2963
  projectId: string;
@@ -2918,6 +2970,36 @@ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2918
2970
  projectId: string;
2919
2971
  whitelist: string[];
2920
2972
  }>;
2973
+ /** Get a Migration. */
2974
+ migrationGetMigration: (conf: {
2975
+ migrationId: string;
2976
+ headers?: {
2977
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2978
+ "x-access-token"?: string | undefined;
2979
+ } | undefined;
2980
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2981
+ aborted: boolean;
2982
+ addresses: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailmigrationMigrationMailAddress[];
2983
+ finalizers: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailmigrationMigrationFinalizeJob;
2984
+ finished: boolean;
2985
+ id: string;
2986
+ mailboxes: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailmigrationMigrationMailbox[];
2987
+ sourceCoabProjectId: string;
2988
+ targetNexusProjectId: string;
2989
+ }>;
2990
+ /** List Migrations belonging to a Project in customer center or mStudio. */
2991
+ migrationListMigrations: (conf: {
2992
+ headers: {
2993
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2994
+ Authorization: string;
2995
+ "x-access-token"?: string | undefined;
2996
+ };
2997
+ queryParameters?: {
2998
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2999
+ pAccountName?: string | undefined;
3000
+ projectId?: string | undefined;
3001
+ } | undefined;
3002
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailmigrationMigration[]>;
2921
3003
  };
2922
3004
  declare const buildMiscApi: (baseClient: MittwaldAPIV3NextClient) => {
2923
3005
  /** List valid time zones. */