@mittwald/api-client 4.339.0 → 4.340.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.338.1';
1
+ export const MittwaldAPIClientVersion = '4.339.0';
@@ -1627,6 +1627,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1627
1627
  } | undefined;
1628
1628
  queryParameters?: {
1629
1629
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1630
+ includeServiceCronjobs?: boolean | undefined;
1630
1631
  limit?: number | undefined;
1631
1632
  skip?: number | undefined;
1632
1633
  page?: number | undefined;
@@ -1665,7 +1666,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1665
1666
  concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
1666
1667
  createdAt: string;
1667
1668
  description: string;
1668
- destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
1669
+ destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
1669
1670
  email?: string | undefined;
1670
1671
  failedExecutionAlertThreshold: number;
1671
1672
  id: string;
@@ -1674,6 +1675,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1674
1675
  nextExecutionTime?: string | undefined;
1675
1676
  projectId?: string | undefined;
1676
1677
  shortId: string;
1678
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTargetResponse) | undefined;
1677
1679
  timeZone?: string | undefined;
1678
1680
  timeout: number;
1679
1681
  updatedAt: string;
@@ -13174,6 +13174,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13174
13174
  } | undefined;
13175
13175
  queryParameters?: {
13176
13176
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13177
+ includeServiceCronjobs?: boolean | undefined;
13177
13178
  limit?: number | undefined;
13178
13179
  skip?: number | undefined;
13179
13180
  page?: number | undefined;
@@ -13188,6 +13189,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13188
13189
  };
13189
13190
  } & {
13190
13191
  queryParameters: {
13192
+ includeServiceCronjobs?: boolean | undefined;
13191
13193
  limit?: number | undefined;
13192
13194
  skip?: number | undefined;
13193
13195
  page?: number | undefined;
@@ -13212,6 +13214,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13212
13214
  };
13213
13215
  } & {
13214
13216
  queryParameters: {
13217
+ includeServiceCronjobs?: boolean | undefined;
13215
13218
  limit?: number | undefined;
13216
13219
  skip?: number | undefined;
13217
13220
  page?: number | undefined;
@@ -13231,21 +13234,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13231
13234
  createCronjob: (request: {
13232
13235
  data: {
13233
13236
  active: boolean;
13234
- appId: string;
13235
13237
  description: string;
13236
- destination: {
13238
+ interval: string;
13239
+ timeout: number;
13240
+ appId?: string | undefined;
13241
+ appInstallationId?: string | undefined;
13242
+ concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13243
+ destination?: {
13237
13244
  interpreter: string;
13238
13245
  path: string;
13239
13246
  parameters?: string | undefined;
13240
13247
  } | {
13241
13248
  url: string;
13242
- };
13243
- interval: string;
13244
- timeout: number;
13245
- appInstallationId?: string | undefined;
13246
- concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13249
+ } | undefined;
13247
13250
  email?: string | undefined;
13248
13251
  failedExecutionAlertThreshold?: number | undefined;
13252
+ target?: {
13253
+ appInstallationId: string;
13254
+ destination: {
13255
+ interpreter: string;
13256
+ path: string;
13257
+ parameters?: string | undefined;
13258
+ } | {
13259
+ url: string;
13260
+ };
13261
+ } | {
13262
+ command: string;
13263
+ serviceIdentifier: string;
13264
+ stackId: string;
13265
+ } | undefined;
13249
13266
  timeZone?: string | undefined;
13250
13267
  };
13251
13268
  projectId: string;
@@ -13256,14 +13273,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13256
13273
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13257
13274
  data: {
13258
13275
  active: boolean;
13259
- appId: string;
13276
+ appId?: string | undefined;
13260
13277
  appInstallationId?: string | undefined;
13261
13278
  concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13262
13279
  description: string;
13263
- destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
13280
+ destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
13264
13281
  email?: string | undefined;
13265
13282
  failedExecutionAlertThreshold?: number | undefined;
13266
13283
  interval: string;
13284
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTarget) | undefined;
13267
13285
  timeZone?: string | undefined;
13268
13286
  timeout: number;
13269
13287
  };
@@ -13292,14 +13310,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13292
13310
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13293
13311
  data: {
13294
13312
  active: boolean;
13295
- appId: string;
13313
+ appId?: string | undefined;
13296
13314
  appInstallationId?: string | undefined;
13297
13315
  concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13298
13316
  description: string;
13299
- destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
13317
+ destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
13300
13318
  email?: string | undefined;
13301
13319
  failedExecutionAlertThreshold?: number | undefined;
13302
13320
  interval: string;
13321
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTarget) | undefined;
13303
13322
  timeZone?: string | undefined;
13304
13323
  timeout: number;
13305
13324
  };
@@ -13483,7 +13502,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13483
13502
  concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13484
13503
  createdAt: string;
13485
13504
  description: string;
13486
- destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
13505
+ destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
13487
13506
  email?: string | undefined;
13488
13507
  failedExecutionAlertThreshold: number;
13489
13508
  id: string;
@@ -13492,6 +13511,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13492
13511
  nextExecutionTime?: string | undefined;
13493
13512
  projectId?: string | undefined;
13494
13513
  shortId: string;
13514
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTargetResponse) | undefined;
13495
13515
  timeZone?: string | undefined;
13496
13516
  timeout: number;
13497
13517
  updatedAt: string;
@@ -13520,7 +13540,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13520
13540
  concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
13521
13541
  createdAt: string;
13522
13542
  description: string;
13523
- destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
13543
+ destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
13524
13544
  email?: string | undefined;
13525
13545
  failedExecutionAlertThreshold: number;
13526
13546
  id: string;
@@ -13529,6 +13549,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13529
13549
  nextExecutionTime?: string | undefined;
13530
13550
  projectId?: string | undefined;
13531
13551
  shortId: string;
13552
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTargetResponse) | undefined;
13532
13553
  timeZone?: string | undefined;
13533
13554
  timeout: number;
13534
13555
  updatedAt: string;
@@ -13602,6 +13623,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13602
13623
  email?: string | undefined;
13603
13624
  failedExecutionAlertThreshold?: number | undefined;
13604
13625
  interval?: string | undefined;
13626
+ target?: {
13627
+ appInstallationId: string;
13628
+ destination: {
13629
+ interpreter: string;
13630
+ path: string;
13631
+ parameters?: string | undefined;
13632
+ } | {
13633
+ url: string;
13634
+ };
13635
+ } | {
13636
+ command: string;
13637
+ serviceIdentifier: string;
13638
+ stackId: string;
13639
+ } | undefined;
13605
13640
  timeZone?: string | undefined;
13606
13641
  timeout?: number | undefined;
13607
13642
  } | undefined;
@@ -13618,6 +13653,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13618
13653
  email?: string | undefined;
13619
13654
  failedExecutionAlertThreshold?: number | undefined;
13620
13655
  interval?: string | undefined;
13656
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTarget) | undefined;
13621
13657
  timeZone?: string | undefined;
13622
13658
  timeout?: number | undefined;
13623
13659
  };
@@ -13652,6 +13688,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13652
13688
  email?: string | undefined;
13653
13689
  failedExecutionAlertThreshold?: number | undefined;
13654
13690
  interval?: string | undefined;
13691
+ target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTarget) | undefined;
13655
13692
  timeZone?: string | undefined;
13656
13693
  timeout?: number | undefined;
13657
13694
  };
@@ -3165,11 +3165,17 @@ export declare namespace MittwaldAPIV2 {
3165
3165
  * DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.
3166
3166
  */
3167
3167
  appId: string;
3168
+ /**
3169
+ * DEPRECATED: Use 'target.appCronjob' instead. This field will be removed in a future version.
3170
+ */
3168
3171
  appInstallationId?: string;
3169
3172
  concurrencyPolicy?: MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy;
3170
3173
  createdAt: string;
3171
3174
  description: string;
3172
- destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
3175
+ /**
3176
+ * DEPRECATED: Use 'target.' instead. This field will be removed in a future version.
3177
+ */
3178
+ destination?: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
3173
3179
  email?: string;
3174
3180
  failedExecutionAlertThreshold: number;
3175
3181
  id: string;
@@ -3178,6 +3184,7 @@ export declare namespace MittwaldAPIV2 {
3178
3184
  nextExecutionTime?: string;
3179
3185
  projectId?: string;
3180
3186
  shortId: string;
3187
+ target?: MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | MittwaldAPIV2.Components.Schemas.CronjobServiceTargetResponse;
3181
3188
  timeZone?: string;
3182
3189
  timeout: number;
3183
3190
  updatedAt: string;
@@ -3215,16 +3222,23 @@ export declare namespace MittwaldAPIV2 {
3215
3222
  active: boolean;
3216
3223
  /**
3217
3224
  * @deprecated
3218
- * DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.
3225
+ * DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.
3226
+ */
3227
+ appId?: string;
3228
+ /**
3229
+ * DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.
3219
3230
  */
3220
- appId: string;
3221
3231
  appInstallationId?: string;
3222
3232
  concurrencyPolicy?: MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy;
3223
3233
  description: string;
3224
- destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
3234
+ /**
3235
+ * DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.
3236
+ */
3237
+ destination?: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
3225
3238
  email?: string;
3226
3239
  failedExecutionAlertThreshold?: number;
3227
3240
  interval: string;
3241
+ target?: MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | MittwaldAPIV2.Components.Schemas.CronjobServiceTarget;
3228
3242
  timeZone?: string;
3229
3243
  timeout: number;
3230
3244
  }
@@ -6045,7 +6059,6 @@ export declare namespace MittwaldAPIV2 {
6045
6059
  }
6046
6060
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6047
6061
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6048
- type AihostingDetailedModelStatus = "active" | "needApproval" | "deprecated";
6049
6062
  interface AihostingCustomerDetailedModel {
6050
6063
  activeAt: string;
6051
6064
  displayName: string;
@@ -6056,6 +6069,7 @@ export declare namespace MittwaldAPIV2 {
6056
6069
  status: MittwaldAPIV2.Components.Schemas.AihostingDetailedModelStatus;
6057
6070
  termsOfServiceLink: string;
6058
6071
  }
6072
+ type AihostingDetailedModelStatus = "active" | "needApproval" | "deprecated";
6059
6073
  interface AihostingProjectDetailedModel {
6060
6074
  activeAt: string;
6061
6075
  displayName: string;
@@ -6066,6 +6080,40 @@ export declare namespace MittwaldAPIV2 {
6066
6080
  status: MittwaldAPIV2.Components.Schemas.AihostingDetailedModelStatus;
6067
6081
  termsOfServiceLink: string;
6068
6082
  }
6083
+ interface CronjobAppInstallationTarget {
6084
+ appInstallationId: string;
6085
+ destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
6086
+ }
6087
+ interface CronjobAppInstallationPatchTarget {
6088
+ appInstallationId?: string;
6089
+ destination?: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
6090
+ }
6091
+ interface CronjobServicePatchTarget {
6092
+ command?: string;
6093
+ serviceIdentifier?: string;
6094
+ stackId?: string;
6095
+ }
6096
+ interface CronjobServiceCronjobRequest {
6097
+ active: boolean;
6098
+ concurrencyPolicy?: MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy;
6099
+ description: string;
6100
+ email?: string;
6101
+ failedExecutionAlertThreshold?: number;
6102
+ interval: string;
6103
+ target?: MittwaldAPIV2.Components.Schemas.CronjobServiceTarget;
6104
+ timeZone?: string;
6105
+ timeout: number;
6106
+ }
6107
+ interface CronjobServiceTarget {
6108
+ command: string;
6109
+ serviceIdentifier: string;
6110
+ stackId: string;
6111
+ }
6112
+ interface CronjobServiceTargetResponse {
6113
+ command: string;
6114
+ serviceShortId: string;
6115
+ stackId: string;
6116
+ }
6069
6117
  interface CommonsAddress {
6070
6118
  street: string;
6071
6119
  houseNumber: string;
@@ -13165,6 +13213,7 @@ export declare namespace MittwaldAPIV2 {
13165
13213
  };
13166
13214
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
13167
13215
  type Query = {
13216
+ includeServiceCronjobs?: boolean;
13168
13217
  limit?: number;
13169
13218
  skip?: number;
13170
13219
  page?: number;
@@ -13421,10 +13470,14 @@ export declare namespace MittwaldAPIV2 {
13421
13470
  active?: boolean;
13422
13471
  concurrencyPolicy?: MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy;
13423
13472
  description?: string;
13473
+ /**
13474
+ * deprecated, use target instead
13475
+ */
13424
13476
  destination?: MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
13425
13477
  email?: string;
13426
13478
  failedExecutionAlertThreshold?: number;
13427
13479
  interval?: string;
13480
+ target?: MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | MittwaldAPIV2.Components.Schemas.CronjobServiceTarget;
13428
13481
  timeZone?: string;
13429
13482
  timeout?: number;
13430
13483
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.338.1';
1
+ export declare const MittwaldAPIClientVersion = '4.339.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.339.0",
3
+ "version": "4.340.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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.339.0",
49
+ "@mittwald/api-client-commons": "^4.340.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.339.0",
53
+ "@mittwald/api-code-generator": "^4.340.0",
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": "091f821f4494a21d0ae45d752da8a708b27488af"
83
+ "gitHead": "c5b9488d7f2e03c8ebe4f1d110b14ebf7102e32e"
84
84
  }