@mittwald/api-client 4.222.0 → 4.223.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.221.0';
1
+ export const MittwaldAPIClientVersion = '4.222.0';
@@ -423,6 +423,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
423
423
  } | undefined;
424
424
  }) => import("@mittwald/react-use-promise").AsyncResource<{
425
425
  command?: string[] | undefined;
426
+ digest: string;
426
427
  entrypoint?: string[] | undefined;
427
428
  env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
428
429
  exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
@@ -2399,7 +2400,7 @@ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2399
2400
  headers?: {
2400
2401
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2401
2402
  } | undefined;
2402
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2403
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
2403
2404
  };
2404
2405
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2405
2406
  /** Getting the subscription status of the subscription. */
@@ -2729,7 +2730,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2729
2730
  headers?: {
2730
2731
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2731
2732
  } | undefined;
2732
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2733
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
2733
2734
  /** List Invites belonging to a Project. */
2734
2735
  listInvitesForProject: (conf: {
2735
2736
  projectId: string;
@@ -2830,11 +2831,15 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2830
2831
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2831
2832
  } | undefined;
2832
2833
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2833
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2834
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
2834
2835
  customerId?: string | undefined;
2835
2836
  isBlocked: boolean;
2836
2837
  licenceId: string;
2837
2838
  licenceKey: string;
2839
+ limit: {
2840
+ allowedRequestsPerUnit: number;
2841
+ unit: "minute" | "hour";
2842
+ };
2838
2843
  models: string[];
2839
2844
  name: string;
2840
2845
  projectId?: string | undefined;
@@ -3161,6 +3161,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3161
3161
  }>;
3162
3162
  }, import("@mittwald/api-client-commons").Response<{
3163
3163
  command?: string[] | undefined;
3164
+ digest: string;
3164
3165
  entrypoint?: string[] | undefined;
3165
3166
  env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
3166
3167
  exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
@@ -3204,6 +3205,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3204
3205
  }>;
3205
3206
  }, import("@mittwald/api-client-commons").Response<{
3206
3207
  command?: string[] | undefined;
3208
+ digest: string;
3207
3209
  entrypoint?: string[] | undefined;
3208
3210
  env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
3209
3211
  exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
@@ -9511,6 +9513,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9511
9513
  data: {
9512
9514
  consentedScopes: string[];
9513
9515
  customerId: string;
9516
+ variantKey?: string | undefined;
9514
9517
  };
9515
9518
  extensionId: string;
9516
9519
  headers?: {
@@ -9521,6 +9524,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9521
9524
  data: {
9522
9525
  consentedScopes: string[];
9523
9526
  projectId: string;
9527
+ variantKey?: string | undefined;
9524
9528
  };
9525
9529
  extensionId: string;
9526
9530
  headers?: {
@@ -9531,11 +9535,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9531
9535
  data: {
9532
9536
  consentedScopes: string[];
9533
9537
  customerId: string;
9538
+ variantKey?: string | undefined;
9534
9539
  };
9535
9540
  } | {
9536
9541
  data: {
9537
9542
  consentedScopes: string[];
9538
9543
  projectId: string;
9544
+ variantKey?: string | undefined;
9539
9545
  };
9540
9546
  }) & {
9541
9547
  pathParameters: {
@@ -9563,11 +9569,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9563
9569
  data: {
9564
9570
  consentedScopes: string[];
9565
9571
  customerId: string;
9572
+ variantKey?: string | undefined;
9566
9573
  };
9567
9574
  } | {
9568
9575
  data: {
9569
9576
  consentedScopes: string[];
9570
9577
  projectId: string;
9578
+ variantKey?: string | undefined;
9571
9579
  };
9572
9580
  }) & {
9573
9581
  pathParameters: {
@@ -23371,7 +23379,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23371
23379
  headers?: Partial<{
23372
23380
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23373
23381
  }>;
23374
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23382
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23375
23383
  [x: string]: unknown;
23376
23384
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23377
23385
  [x: string]: unknown;
@@ -23383,7 +23391,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23383
23391
  headers?: Partial<{
23384
23392
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23385
23393
  }>;
23386
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23394
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23387
23395
  [x: string]: unknown;
23388
23396
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23389
23397
  [x: string]: unknown;
@@ -23968,7 +23976,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23968
23976
  pathParameters: {
23969
23977
  projectId: string;
23970
23978
  };
23971
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23979
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23972
23980
  [x: string]: unknown;
23973
23981
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23974
23982
  [x: string]: unknown;
@@ -23984,7 +23992,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23984
23992
  pathParameters: {
23985
23993
  projectId: string;
23986
23994
  };
23987
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23995
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
23988
23996
  [x: string]: unknown;
23989
23997
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
23990
23998
  [x: string]: unknown;
@@ -24017,11 +24025,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24017
24025
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24018
24026
  }>;
24019
24027
  }, import("@mittwald/api-client-commons").Response<{
24020
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24028
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
24021
24029
  customerId?: string | undefined;
24022
24030
  isBlocked: boolean;
24023
24031
  licenceId: string;
24024
24032
  licenceKey: string;
24033
+ limit: {
24034
+ allowedRequestsPerUnit: number;
24035
+ unit: "minute" | "hour";
24036
+ };
24025
24037
  models: string[];
24026
24038
  name: string;
24027
24039
  projectId?: string | undefined;
@@ -24052,11 +24064,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24052
24064
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24053
24065
  }>;
24054
24066
  }, import("@mittwald/api-client-commons").Response<{
24055
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24067
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
24056
24068
  customerId?: string | undefined;
24057
24069
  isBlocked: boolean;
24058
24070
  licenceId: string;
24059
24071
  licenceKey: string;
24072
+ limit: {
24073
+ allowedRequestsPerUnit: number;
24074
+ unit: "minute" | "hour";
24075
+ };
24060
24076
  models: string[];
24061
24077
  name: string;
24062
24078
  projectId?: string | undefined;
@@ -24985,11 +25001,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24985
25001
  licenceId: string;
24986
25002
  };
24987
25003
  }, import("@mittwald/api-client-commons").Response<{
24988
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
25004
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
24989
25005
  customerId?: string | undefined;
24990
25006
  isBlocked: boolean;
24991
25007
  licenceId: string;
24992
25008
  licenceKey: string;
25009
+ limit: {
25010
+ allowedRequestsPerUnit: number;
25011
+ unit: "minute" | "hour";
25012
+ };
24993
25013
  models: string[];
24994
25014
  name: string;
24995
25015
  projectId?: string | undefined;
@@ -25012,11 +25032,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25012
25032
  licenceId: string;
25013
25033
  };
25014
25034
  }, import("@mittwald/api-client-commons").Response<{
25015
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
25035
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
25016
25036
  customerId?: string | undefined;
25017
25037
  isBlocked: boolean;
25018
25038
  licenceId: string;
25019
25039
  licenceKey: string;
25040
+ limit: {
25041
+ allowedRequestsPerUnit: number;
25042
+ unit: "minute" | "hour";
25043
+ };
25020
25044
  models: string[];
25021
25045
  name: string;
25022
25046
  projectId?: string | undefined;
@@ -25056,11 +25080,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25056
25080
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25057
25081
  }>;
25058
25082
  }, import("@mittwald/api-client-commons").Response<{
25059
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
25083
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
25060
25084
  customerId?: string | undefined;
25061
25085
  isBlocked: boolean;
25062
25086
  licenceId: string;
25063
25087
  licenceKey: string;
25088
+ limit: {
25089
+ allowedRequestsPerUnit: number;
25090
+ unit: "minute" | "hour";
25091
+ };
25064
25092
  models: string[];
25065
25093
  name: string;
25066
25094
  projectId?: string | undefined;
@@ -25092,11 +25120,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25092
25120
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25093
25121
  }>;
25094
25122
  }, import("@mittwald/api-client-commons").Response<{
25095
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
25123
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
25096
25124
  customerId?: string | undefined;
25097
25125
  isBlocked: boolean;
25098
25126
  licenceId: string;
25099
25127
  licenceKey: string;
25128
+ limit: {
25129
+ allowedRequestsPerUnit: number;
25130
+ unit: "minute" | "hour";
25131
+ };
25100
25132
  models: string[];
25101
25133
  name: string;
25102
25134
  projectId?: string | undefined;
@@ -1747,7 +1747,7 @@ export declare namespace MittwaldAPIV2 {
1747
1747
  /**
1748
1748
  * Phase describes the current phase/state of an AppInstallation in its lifecycle.
1749
1749
  */
1750
- type AppPhase = "pending" | "installing" | "upgrading" | "ready" | "disabled";
1750
+ type AppPhase = "pending" | "installing" | "upgrading" | "ready" | "disabled" | "reconfiguring";
1751
1751
  /**
1752
1752
  * AppUpdatePolicy describes which updates should be applied automatically by our systems.
1753
1753
  */
@@ -2022,6 +2022,10 @@ export declare namespace MittwaldAPIV2 {
2022
2022
  * Command of the container image.
2023
2023
  */
2024
2024
  command?: string[];
2025
+ /**
2026
+ * The image digest.
2027
+ */
2028
+ digest: string;
2025
2029
  /**
2026
2030
  * Entrypoint of the container image.
2027
2031
  */
@@ -4674,28 +4678,48 @@ export declare namespace MittwaldAPIV2 {
4674
4678
  memory?: string;
4675
4679
  storage: string;
4676
4680
  }
4677
- interface LlmlocksmithContainerMeta {
4681
+ interface AihostingContainerMeta {
4678
4682
  containerId?: string;
4679
4683
  errorMessage?: string;
4680
4684
  ingressId?: string;
4681
4685
  stackId?: string;
4682
4686
  status: "created" | "requested" | "failed";
4683
4687
  }
4684
- interface LlmlocksmithLicence {
4685
- containerMeta?: MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta;
4688
+ interface AihostingLicence {
4689
+ containerMeta?: MittwaldAPIV2.Components.Schemas.AihostingContainerMeta;
4686
4690
  customerId?: string;
4687
4691
  /**
4688
4692
  * Indicates whether the licence is blocked.
4689
4693
  */
4690
4694
  isBlocked: boolean;
4695
+ /**
4696
+ * Auto generated uuid to identify licences in requests.
4697
+ */
4691
4698
  licenceId: string;
4699
+ /**
4700
+ * The secret API key which is required for authentication with the LLM hosting.
4701
+ */
4692
4702
  licenceKey: string;
4703
+ /**
4704
+ * The number of allowed requests per unit. Limits are shared across all licences within the same project.
4705
+ */
4706
+ limit: {
4707
+ allowedRequestsPerUnit: number;
4708
+ unit: "minute" | "hour";
4709
+ };
4710
+ /**
4711
+ * An array of LLM model identifiers enabled for this licence.
4712
+ */
4693
4713
  models: string[];
4694
4714
  name: string;
4695
4715
  projectId?: string;
4716
+ /**
4717
+ * @deprecated
4718
+ * Deprecated, please us limit.allowedRequestsPerUnit
4719
+ */
4696
4720
  rateLimit: number;
4697
4721
  }
4698
- interface LlmlocksmithModel {
4722
+ interface AihostingModel {
4699
4723
  displayName: string;
4700
4724
  docLink: string;
4701
4725
  name: string;
@@ -16880,12 +16904,20 @@ export declare namespace MittwaldAPIV2 {
16880
16904
  * The customer the extension should be booked for. Either customerId or projectId is required.
16881
16905
  */
16882
16906
  customerId: string;
16907
+ /**
16908
+ * The Variant Key of the selected Variant of the Extension. This is only required if the Extension has multiple Variants.
16909
+ */
16910
+ variantKey?: string;
16883
16911
  } | {
16884
16912
  consentedScopes: string[];
16885
16913
  /**
16886
16914
  * The project the extension should be installed in. Either customerId or projectId is required.
16887
16915
  */
16888
16916
  projectId: string;
16917
+ /**
16918
+ * The Variant Key of the selected Variant of the Extension. This is only required if the Extension has multiple Variants.
16919
+ */
16920
+ variantKey?: string;
16889
16921
  };
16890
16922
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
16891
16923
  type Query = {};
@@ -20267,7 +20299,7 @@ export declare namespace MittwaldAPIV2 {
20267
20299
  namespace Responses {
20268
20300
  namespace $200 {
20269
20301
  namespace Content {
20270
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[];
20302
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingModel[];
20271
20303
  }
20272
20304
  }
20273
20305
  namespace $400 {
@@ -21202,7 +21234,7 @@ export declare namespace MittwaldAPIV2 {
21202
21234
  namespace Responses {
21203
21235
  namespace $200 {
21204
21236
  namespace Content {
21205
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[];
21237
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingLicence[];
21206
21238
  }
21207
21239
  }
21208
21240
  namespace $400 {
@@ -21257,7 +21289,7 @@ export declare namespace MittwaldAPIV2 {
21257
21289
  namespace Responses {
21258
21290
  namespace $201 {
21259
21291
  namespace Content {
21260
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence;
21292
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingLicence;
21261
21293
  }
21262
21294
  }
21263
21295
  namespace $400 {
@@ -22289,7 +22321,7 @@ export declare namespace MittwaldAPIV2 {
22289
22321
  namespace Responses {
22290
22322
  namespace $200 {
22291
22323
  namespace Content {
22292
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence;
22324
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingLicence;
22293
22325
  }
22294
22326
  }
22295
22327
  namespace $400 {
@@ -22345,7 +22377,7 @@ export declare namespace MittwaldAPIV2 {
22345
22377
  namespace Responses {
22346
22378
  namespace $200 {
22347
22379
  namespace Content {
22348
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence;
22380
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingLicence;
22349
22381
  }
22350
22382
  }
22351
22383
  namespace $400 {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.221.0';
1
+ export declare const MittwaldAPIClientVersion = '4.222.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.222.0",
3
+ "version": "4.223.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "ecae05c43a02ef4ccdc1643b536fa065cfa08aac"
83
+ "gitHead": "9c911c8ed79bb8b809ae73b5fc89d71969713fa5"
84
84
  }