@mittwald/api-client 0.0.0-development-32b0259-20260106 → 0.0.0-development-3c2e654-20260107

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.
@@ -400,8 +400,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
400
400
  };
401
401
  /** The cronjob API allows you to manage cronjobs within a project. */
402
402
  cronjob = {
403
- /** Abort a CronjobExecution. */
404
- abortExecution: this.requestFunctionFactory(descriptors.cronjobAbortExecution),
405
403
  /** List Cronjobs belonging to a Project. */
406
404
  listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
407
405
  /** Create a Cronjob. */
@@ -1,30 +1,30 @@
1
1
  /** Get a list of already created keys. */
2
2
  export const aiHostingCustomerGetKeys = {
3
- path: "/v2/customers/{customerId}/ai-hosting/keys",
3
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
4
4
  method: "GET",
5
5
  operationId: "ai-hosting-customer-get-keys",
6
6
  };
7
7
  /** Creates a new key. */
8
8
  export const aiHostingCustomerCreateKey = {
9
- path: "/v2/customers/{customerId}/ai-hosting/keys",
9
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
10
10
  method: "POST",
11
11
  operationId: "ai-hosting-customer-create-key",
12
12
  };
13
13
  /** Get a key of a customer. */
14
14
  export const aiHostingCustomerGetKey = {
15
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
15
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
16
16
  method: "GET",
17
17
  operationId: "ai-hosting-customer-get-key",
18
18
  };
19
19
  /** Update a key for a customer. */
20
20
  export const aiHostingCustomerUpdateKey = {
21
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
21
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
22
22
  method: "PUT",
23
23
  operationId: "ai-hosting-customer-update-key",
24
24
  };
25
25
  /** Delete a key for a customer. */
26
26
  export const aiHostingCustomerDeleteKey = {
27
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
27
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
28
28
  method: "DELETE",
29
29
  operationId: "ai-hosting-customer-delete-key",
30
30
  };
@@ -42,31 +42,31 @@ export const aiHostingGetModels = {
42
42
  };
43
43
  /** Get a list of keys of a project. */
44
44
  export const aiHostingProjectGetKeys = {
45
- path: "/v2/projects/{projectId}/ai-hosting/keys",
45
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
46
46
  method: "GET",
47
47
  operationId: "ai-hosting-project-get-keys",
48
48
  };
49
49
  /** Creates a new key for a project. */
50
50
  export const aiHostingProjectCreateKey = {
51
- path: "/v2/projects/{projectId}/ai-hosting/keys",
51
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
52
52
  method: "POST",
53
53
  operationId: "ai-hosting-project-create-key",
54
54
  };
55
55
  /** Get a key of a project. */
56
56
  export const aiHostingProjectGetKey = {
57
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
57
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
58
58
  method: "GET",
59
59
  operationId: "ai-hosting-project-get-key",
60
60
  };
61
61
  /** Update a key for a project. */
62
62
  export const aiHostingProjectUpdateKey = {
63
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
63
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
64
64
  method: "PUT",
65
65
  operationId: "ai-hosting-project-update-key",
66
66
  };
67
67
  /** Delete a key for a project. */
68
68
  export const aiHostingProjectDeleteKey = {
69
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
69
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
70
70
  method: "DELETE",
71
71
  operationId: "ai-hosting-project-delete-key",
72
72
  };
@@ -742,12 +742,6 @@ export const conversationUpdateMessage = {
742
742
  method: "PATCH",
743
743
  operationId: "conversation-update-message",
744
744
  };
745
- /** Abort a CronjobExecution. */
746
- export const cronjobAbortExecution = {
747
- path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/actions/abort",
748
- method: "POST",
749
- operationId: "cronjob-abort-execution",
750
- };
751
745
  /** List Cronjobs belonging to a Project. */
752
746
  export const cronjobListCronjobs = {
753
747
  path: "/v2/projects/{projectId}/cronjobs",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-1011833-20260105';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-32b0259-20260106';
@@ -1624,9 +1624,8 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1624
1624
  id: string;
1625
1625
  logPath?: string | undefined;
1626
1626
  start?: string | undefined;
1627
- status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
1627
+ status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut" | "Error" | "Suspended";
1628
1628
  successful: boolean;
1629
- summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
1630
1629
  triggeredBy?: {
1631
1630
  id?: string;
1632
1631
  } | undefined;
@@ -2166,7 +2165,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2166
2165
  commonName?: string | undefined;
2167
2166
  contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
2168
2167
  dnsCertSpec?: {
2169
- cNameTarget?: string;
2168
+ cnameTarget?: string;
2170
2169
  } | undefined;
2171
2170
  dnsNames?: string[] | undefined;
2172
2171
  id: string;
@@ -12615,53 +12615,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12615
12615
  };
12616
12616
  /** The cronjob API allows you to manage cronjobs within a project. */
12617
12617
  readonly cronjob: {
12618
- /** Abort a CronjobExecution. */
12619
- abortExecution: (request: {
12620
- cronjobId: string;
12621
- executionId: string;
12622
- headers?: {
12623
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12624
- "x-access-token"?: string | undefined;
12625
- } | undefined;
12626
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12627
- headers?: Partial<{
12628
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12629
- }>;
12630
- } & {
12631
- pathParameters: {
12632
- cronjobId: string;
12633
- executionId: string;
12634
- };
12635
- } & {
12636
- headers: {
12637
- "x-access-token"?: string | undefined;
12638
- } & Partial<{
12639
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12640
- }>;
12641
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12642
- [x: string]: unknown;
12643
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12644
- [x: string]: unknown;
12645
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12646
- headers?: Partial<{
12647
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12648
- }>;
12649
- } & {
12650
- pathParameters: {
12651
- cronjobId: string;
12652
- executionId: string;
12653
- };
12654
- } & {
12655
- headers: {
12656
- "x-access-token"?: string | undefined;
12657
- } & Partial<{
12658
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12659
- }>;
12660
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12661
- [x: string]: unknown;
12662
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12663
- [x: string]: unknown;
12664
- }, 429, "application/json">>>;
12665
12618
  /** List Cronjobs belonging to a Project. */
12666
12619
  listCronjobs: (request: {
12667
12620
  projectId: string;
@@ -13273,9 +13226,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13273
13226
  id: string;
13274
13227
  logPath?: string | undefined;
13275
13228
  start?: string | undefined;
13276
- status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
13229
+ status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut" | "Error" | "Suspended";
13277
13230
  successful: boolean;
13278
- summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
13279
13231
  triggeredBy?: {
13280
13232
  id?: string;
13281
13233
  } | undefined;
@@ -13311,9 +13263,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13311
13263
  id: string;
13312
13264
  logPath?: string | undefined;
13313
13265
  start?: string | undefined;
13314
- status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
13266
+ status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut" | "Error" | "Suspended";
13315
13267
  successful: boolean;
13316
- summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
13317
13268
  triggeredBy?: {
13318
13269
  id?: string;
13319
13270
  } | undefined;
@@ -19014,7 +18965,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19014
18965
  commonName?: string | undefined;
19015
18966
  contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
19016
18967
  dnsCertSpec?: {
19017
- cNameTarget?: string;
18968
+ cnameTarget?: string;
19018
18969
  } | undefined;
19019
18970
  dnsNames?: string[] | undefined;
19020
18971
  id: string;
@@ -19051,7 +19002,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19051
19002
  commonName?: string | undefined;
19052
19003
  contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
19053
19004
  dnsCertSpec?: {
19054
- cNameTarget?: string;
19005
+ cnameTarget?: string;
19055
19006
  } | undefined;
19056
19007
  dnsNames?: string[] | undefined;
19057
19008
  id: string;
@@ -251,8 +251,6 @@ export declare const conversationRequestFileUpload: OpenAPIOperation<RequestType
251
251
  export declare const conversationSetConversationStatus: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdStatus.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
252
252
  /** Update the content of the message */
253
253
  export declare const conversationUpdateMessage: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMessagesMessageId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
254
- /** Abort a CronjobExecution. */
255
- export declare const cronjobAbortExecution: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
256
254
  /** List Cronjobs belonging to a Project. */
257
255
  export declare const cronjobListCronjobs: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdCronjobs.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
258
256
  /** Create a Cronjob. */
@@ -498,10 +498,6 @@ export declare namespace MittwaldAPIV2 {
498
498
  type RequestData = InferredRequestData<typeof descriptors.conversationUpdateMessage>;
499
499
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationUpdateMessage, TStatus>;
500
500
  }
501
- namespace CronjobAbortExecution {
502
- type RequestData = InferredRequestData<typeof descriptors.cronjobAbortExecution>;
503
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.cronjobAbortExecution, TStatus>;
504
- }
505
501
  namespace CronjobListCronjobs {
506
502
  type RequestData = InferredRequestData<typeof descriptors.cronjobListCronjobs>;
507
503
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.cronjobListCronjobs, TStatus>;
@@ -3004,9 +3000,8 @@ export declare namespace MittwaldAPIV2 {
3004
3000
  id: string;
3005
3001
  logPath?: string;
3006
3002
  start?: string;
3007
- status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
3003
+ status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut" | "Error" | "Suspended";
3008
3004
  successful: boolean;
3009
- summary?: MittwaldAPIV2.Components.Schemas.CronjobStatusSummary;
3010
3005
  triggeredBy?: {
3011
3006
  id?: string;
3012
3007
  };
@@ -5361,7 +5356,7 @@ export declare namespace MittwaldAPIV2 {
5361
5356
  commonName?: string;
5362
5357
  contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5363
5358
  dnsCertSpec?: {
5364
- cNameTarget?: string;
5359
+ cnameTarget?: string;
5365
5360
  };
5366
5361
  dnsNames?: string[];
5367
5362
  id: string;
@@ -5723,7 +5718,6 @@ export declare namespace MittwaldAPIV2 {
5723
5718
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5724
5719
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5725
5720
  type CronjobConcurrencyPolicy = "allow" | "forbid" | "replace";
5726
- type CronjobStatusSummary = "unspecified" | "active" | "complete" | "suspended" | "failed" | "orphaned" | "timeout" | "error";
5727
5721
  interface BackupProjectBackupRestore {
5728
5722
  databaseRestores?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabase[];
5729
5723
  pathRestore?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
@@ -12416,46 +12410,6 @@ export declare namespace MittwaldAPIV2 {
12416
12410
  }
12417
12411
  }
12418
12412
  }
12419
- namespace V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort {
12420
- namespace Post {
12421
- namespace Parameters {
12422
- type Path = {
12423
- cronjobId: string;
12424
- executionId: string;
12425
- };
12426
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12427
- type Query = {};
12428
- }
12429
- namespace Responses {
12430
- namespace $204 {
12431
- namespace Content {
12432
- type Empty = unknown;
12433
- }
12434
- }
12435
- namespace $404 {
12436
- namespace Content {
12437
- interface ApplicationJson {
12438
- [k: string]: unknown;
12439
- }
12440
- }
12441
- }
12442
- namespace $429 {
12443
- namespace Content {
12444
- interface ApplicationJson {
12445
- [k: string]: unknown;
12446
- }
12447
- }
12448
- }
12449
- namespace Default {
12450
- namespace Content {
12451
- interface ApplicationJson {
12452
- [k: string]: unknown;
12453
- }
12454
- }
12455
- }
12456
- }
12457
- }
12458
- }
12459
12413
  namespace V2ProjectsProjectIdCronjobs {
12460
12414
  namespace Get {
12461
12415
  namespace Parameters {
@@ -29262,5 +29216,6 @@ export declare namespace MittwaldAPIV2 {
29262
29216
  }
29263
29217
  }
29264
29218
  }
29219
+ namespace V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort { }
29265
29220
  }
29266
29221
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '0.0.0-development-1011833-20260105';
1
+ export declare const MittwaldAPIClientVersion = '0.0.0-development-32b0259-20260106';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "0.0.0-development-32b0259-20260106",
3
+ "version": "0.0.0-development-3c2e654-20260107",
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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^0.0.0-development-32b0259-20260106",
49
+ "@mittwald/api-client-commons": "^0.0.0-development-3c2e654-20260107",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^0.0.0-development-32b0259-20260106",
53
+ "@mittwald/api-code-generator": "^0.0.0-development-3c2e654-20260107",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "c30ba8cfa79b1dba6e41d423982fc0e09cfe7dc2"
83
+ "gitHead": "00bbb1c71f2ceabd65c8e182c698a4765cc7957f"
84
84
  }