@mittwald/api-client 4.466.0 → 4.467.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.
@@ -7425,6 +7425,78 @@ export declare namespace MittwaldAPIV3Next {
7425
7425
  validationErrors: MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
7426
7426
  }
7427
7427
  }
7428
+ namespace RequestSchemas {
7429
+ /**
7430
+ * PricePlan with Variants.
7431
+ */
7432
+ interface DeMittwaldExtensionPricePlan {
7433
+ /**
7434
+ * Indicates whether downgrading between variants is allowed.
7435
+ */
7436
+ isDowngradeAllowed?: boolean;
7437
+ /**
7438
+ * Indicates whether upgrading between variants is allowed.
7439
+ */
7440
+ isUpgradeAllowed?: boolean;
7441
+ variants: MittwaldAPIV3Next.Components.RequestSchemas.DeMittwaldExtensionVariant[];
7442
+ }
7443
+ interface DeMittwaldExtensionVariant {
7444
+ /**
7445
+ * deadline for scheduled deletion of extension variant
7446
+ */
7447
+ deletionDeadline?: string | Date;
7448
+ /**
7449
+ * Description of Variant.
7450
+ */
7451
+ description?: string;
7452
+ /**
7453
+ * DescriptionChangeType defines how the description change should be handled. Values:
7454
+ * - FEATURE_SET_MODIFIED: The users have to confirm to the new contract details equal as price changes.
7455
+ * - FEATURE_SET_UNCHANGED: The changes are only wording updates and do not impact the contract details, so no confirm is required.
7456
+ *
7457
+ */
7458
+ descriptionChangeType?: "FEATURE_SET_MODIFIED" | "FEATURE_SET_UNCHANGED";
7459
+ /**
7460
+ * stop extension variant from being booked
7461
+ */
7462
+ isBookingStopped?: boolean;
7463
+ /**
7464
+ * deletion of extension variant is scheduled
7465
+ */
7466
+ isDeletionScheduled?: boolean;
7467
+ /**
7468
+ * Key that needs to be unique in Variant.
7469
+ */
7470
+ key: string;
7471
+ /**
7472
+ * Name of Variant.
7473
+ */
7474
+ name?: string;
7475
+ /**
7476
+ * Price in cents.
7477
+ */
7478
+ priceInCents: number;
7479
+ }
7480
+ /**
7481
+ * The Extension is deprecated by the contributor and will expire at the given date.
7482
+ */
7483
+ interface DeMittwaldMarketplaceExtensionDeprecation {
7484
+ deprecatedAt: string | Date;
7485
+ note?: string;
7486
+ /**
7487
+ * The ID of the successor extension.
7488
+ */
7489
+ successorId?: string;
7490
+ }
7491
+ interface DeMittwaldIngressTlsAcme {
7492
+ /**
7493
+ * Has to be `true`, as ssl cannot be deactivated.
7494
+ */
7495
+ acme: boolean;
7496
+ isCreated: boolean;
7497
+ requestDeadline?: string | Date;
7498
+ }
7499
+ }
7428
7500
  namespace Parameters { }
7429
7501
  namespace RequestBodies { }
7430
7502
  namespace Responses {
@@ -10232,7 +10304,7 @@ export declare namespace MittwaldAPIV3Next {
10232
10304
  /**
10233
10305
  * Time when to expire the Backup. Must be at least 7 days and no more than one year in the future.
10234
10306
  */
10235
- expirationTime: string;
10307
+ expirationTime: string | Date;
10236
10308
  }
10237
10309
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
10238
10310
  type Query = {};
@@ -10531,7 +10603,7 @@ export declare namespace MittwaldAPIV3Next {
10531
10603
  /**
10532
10604
  * Time when to expire the Backup. Must be no more than one year in the future.
10533
10605
  */
10534
- expirationTime?: string;
10606
+ expirationTime?: string | Date;
10535
10607
  }
10536
10608
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
10537
10609
  type Query = {};
@@ -12973,7 +13045,7 @@ export declare namespace MittwaldAPIV3Next {
12973
13045
  /**
12974
13046
  * The termination date has to be a valid date according to activation and contract period of the ContractItem. If none given, the next possible termination date will be used.
12975
13047
  */
12976
- terminationTargetDate?: string;
13048
+ terminationTargetDate?: string | Date;
12977
13049
  }
12978
13050
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
12979
13051
  type Query = {};
@@ -13136,7 +13208,7 @@ export declare namespace MittwaldAPIV3Next {
13136
13208
  /**
13137
13209
  * The termination date has to be a valid date according to activation and contract period of the base ContractItem. If none given, the next possible termination date will be used.
13138
13210
  */
13139
- terminationTargetDate?: string;
13211
+ terminationTargetDate?: string | Date;
13140
13212
  }
13141
13213
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
13142
13214
  type Query = {};
@@ -15444,8 +15516,8 @@ export declare namespace MittwaldAPIV3Next {
15444
15516
  };
15445
15517
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
15446
15518
  type Query = {
15447
- since?: string;
15448
- until?: string;
15519
+ since?: string | Date;
15520
+ until?: string | Date;
15449
15521
  status?: string;
15450
15522
  triggeredByUser?: boolean;
15451
15523
  sortOrder?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecutionSortOrder;
@@ -15898,7 +15970,7 @@ export declare namespace MittwaldAPIV3Next {
15898
15970
  /**
15899
15971
  * Time the resulting CustomerMembership should expire at.
15900
15972
  */
15901
- membershipExpiresAt?: string;
15973
+ membershipExpiresAt?: string | Date;
15902
15974
  /**
15903
15975
  * Message contained in the CustomerInvite.
15904
15976
  */
@@ -16409,7 +16481,7 @@ export declare namespace MittwaldAPIV3Next {
16409
16481
  /**
16410
16482
  * Time the CustomerMembership should expire at.
16411
16483
  */
16412
- expiresAt?: string;
16484
+ expiresAt?: string | Date;
16413
16485
  role: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles;
16414
16486
  }
16415
16487
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
@@ -18304,7 +18376,7 @@ export declare namespace MittwaldAPIV3Next {
18304
18376
  * @deprecated
18305
18377
  * Was added by mistake. Never did anything.
18306
18378
  */
18307
- requestDeadline?: string;
18379
+ requestDeadline?: string | Date;
18308
18380
  } | {
18309
18381
  certificateId: string;
18310
18382
  };
@@ -18371,9 +18443,9 @@ export declare namespace MittwaldAPIV3Next {
18371
18443
  interface RequestBody {
18372
18444
  autoResponder: {
18373
18445
  active: boolean;
18374
- expiresAt?: string;
18446
+ expiresAt?: string | Date;
18375
18447
  message: string;
18376
- startsAt?: string;
18448
+ startsAt?: string | Date;
18377
18449
  };
18378
18450
  }
18379
18451
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
@@ -19269,7 +19341,7 @@ export declare namespace MittwaldAPIV3Next {
19269
19341
  * Whether to also delete the corresponding Ingress and subdomain Ingresses.
19270
19342
  */
19271
19343
  deleteIngresses?: boolean;
19272
- deletionDate: string;
19344
+ deletionDate: string | Date;
19273
19345
  }
19274
19346
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
19275
19347
  type Query = {};
@@ -20970,7 +21042,7 @@ export declare namespace MittwaldAPIV3Next {
20970
21042
  * Used to patch asset order.
20971
21043
  */
20972
21044
  assets?: string[];
20973
- deprecation?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionDeprecation;
21045
+ deprecation?: MittwaldAPIV3Next.Components.RequestSchemas.DeMittwaldMarketplaceExtensionDeprecation;
20974
21046
  description?: string;
20975
21047
  detailedDescriptions?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceDetailedDescriptions;
20976
21048
  externalFrontends?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExternalComponent[];
@@ -21084,7 +21156,7 @@ export declare namespace MittwaldAPIV3Next {
21084
21156
  contextId?: string;
21085
21157
  scopes?: string[];
21086
21158
  instanceDisabled?: boolean;
21087
- createdAt?: string;
21159
+ createdAt?: string | Date;
21088
21160
  secret?: string;
21089
21161
  };
21090
21162
  }
@@ -22401,7 +22473,7 @@ export declare namespace MittwaldAPIV3Next {
22401
22473
  * If set to true, the request will be validated but not executed.
22402
22474
  */
22403
22475
  dryRun?: boolean;
22404
- pricePlan: MittwaldAPIV3Next.Components.Schemas.DeMittwaldExtensionPricePlan;
22476
+ pricePlan: MittwaldAPIV3Next.Components.RequestSchemas.DeMittwaldExtensionPricePlan;
22405
22477
  };
22406
22478
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
22407
22479
  type Query = {};
@@ -26988,7 +27060,7 @@ export declare namespace MittwaldAPIV3Next {
26988
27060
  /**
26989
27061
  * Time the resulting ProjectMembership should expire at.
26990
27062
  */
26991
- membershipExpiresAt?: string;
27063
+ membershipExpiresAt?: string | Date;
26992
27064
  /**
26993
27065
  * Message contained in the ProjectInvite.
26994
27066
  */
@@ -27367,7 +27439,7 @@ export declare namespace MittwaldAPIV3Next {
27367
27439
  /**
27368
27440
  * Time the ProjectMembership should expire at.
27369
27441
  */
27370
- expiresAt?: string;
27442
+ expiresAt?: string | Date;
27371
27443
  role: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
27372
27444
  }
27373
27445
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
@@ -28252,8 +28324,8 @@ export declare namespace MittwaldAPIV3Next {
28252
28324
  aggregateName?: string;
28253
28325
  aggregateDomain?: string;
28254
28326
  aggregateId?: string;
28255
- startTime?: string;
28256
- endTime?: string;
28327
+ startTime?: string | Date;
28328
+ endTime?: string | Date;
28257
28329
  fulltextSearch?: string;
28258
28330
  limit?: number;
28259
28331
  skip?: number;
@@ -28757,7 +28829,7 @@ export declare namespace MittwaldAPIV3Next {
28757
28829
  * @minItems 1
28758
28830
  */
28759
28831
  directories: [string, ...string[]];
28760
- expiresAt?: string;
28832
+ expiresAt?: string | Date;
28761
28833
  }
28762
28834
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
28763
28835
  type Query = {};
@@ -28894,7 +28966,7 @@ export declare namespace MittwaldAPIV3Next {
28894
28966
  * @minItems 1
28895
28967
  */
28896
28968
  directories?: [string, ...string[]];
28897
- expiresAt?: string;
28969
+ expiresAt?: string | Date;
28898
28970
  password?: string;
28899
28971
  publicKeys?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserPublicKey[];
28900
28972
  }
@@ -28995,7 +29067,7 @@ export declare namespace MittwaldAPIV3Next {
28995
29067
  interface RequestBody {
28996
29068
  authentication: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserAuthentication;
28997
29069
  description: string;
28998
- expiresAt?: string;
29070
+ expiresAt?: string | Date;
28999
29071
  }
29000
29072
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
29001
29073
  type Query = {};
@@ -29127,7 +29199,7 @@ export declare namespace MittwaldAPIV3Next {
29127
29199
  interface RequestBody {
29128
29200
  active?: boolean;
29129
29201
  description?: string;
29130
- expiresAt?: string;
29202
+ expiresAt?: string | Date;
29131
29203
  password?: string;
29132
29204
  publicKeys?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserPublicKey[];
29133
29205
  }
@@ -30509,7 +30581,7 @@ export declare namespace MittwaldAPIV3Next {
30509
30581
  type Path = {};
30510
30582
  interface RequestBody {
30511
30583
  description: string;
30512
- expiresAt?: string;
30584
+ expiresAt?: string | Date;
30513
30585
  /**
30514
30586
  * Determines the access rights of the ApiToken.
30515
30587
  *
@@ -30661,7 +30733,7 @@ export declare namespace MittwaldAPIV3Next {
30661
30733
  namespace Parameters {
30662
30734
  type Path = {};
30663
30735
  interface RequestBody {
30664
- expiresAt?: string;
30736
+ expiresAt?: string | Date;
30665
30737
  publicKey: string;
30666
30738
  }
30667
30739
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
@@ -30743,7 +30815,7 @@ export declare namespace MittwaldAPIV3Next {
30743
30815
  };
30744
30816
  interface RequestBody {
30745
30817
  description: string;
30746
- expiresAt?: string;
30818
+ expiresAt?: string | Date;
30747
30819
  }
30748
30820
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
30749
30821
  type Query = {};
@@ -30862,7 +30934,7 @@ export declare namespace MittwaldAPIV3Next {
30862
30934
  };
30863
30935
  interface RequestBody {
30864
30936
  comment: string;
30865
- expiresAt?: string;
30937
+ expiresAt?: string | Date;
30866
30938
  }
30867
30939
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
30868
30940
  type Query = {};
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.465.0';
1
+ export declare const MittwaldAPIClientVersion = '4.466.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.466.0",
3
+ "version": "4.467.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",
@@ -72,11 +72,11 @@
72
72
  "test:compile": "run tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@mittwald/api-client-commons": "^4.466.0",
75
+ "@mittwald/api-client-commons": "^4.467.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.466.0",
79
+ "@mittwald/api-code-generator": "^4.467.0",
80
80
  "@mittwald/react-use-promise": "^4.2.3",
81
81
  "@types/node": "^22.18.11",
82
82
  "@types/react": "^18.3.26",
@@ -106,5 +106,5 @@
106
106
  "optional": true
107
107
  }
108
108
  },
109
- "gitHead": "58405d84af2171a4f823242baa066bfad61dfcff"
109
+ "gitHead": "431a6868c29f099dd308451100c59d41f0745eb7"
110
110
  }