@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.
@@ -7421,6 +7421,78 @@ export declare namespace MittwaldAPIV2 {
7421
7421
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7422
7422
  }
7423
7423
  }
7424
+ namespace RequestSchemas {
7425
+ /**
7426
+ * PricePlan with Variants.
7427
+ */
7428
+ interface ExtensionPricePlan {
7429
+ /**
7430
+ * Indicates whether downgrading between variants is allowed.
7431
+ */
7432
+ isDowngradeAllowed?: boolean;
7433
+ /**
7434
+ * Indicates whether upgrading between variants is allowed.
7435
+ */
7436
+ isUpgradeAllowed?: boolean;
7437
+ variants: MittwaldAPIV2.Components.RequestSchemas.ExtensionVariant[];
7438
+ }
7439
+ interface ExtensionVariant {
7440
+ /**
7441
+ * deadline for scheduled deletion of extension variant
7442
+ */
7443
+ deletionDeadline?: string | Date;
7444
+ /**
7445
+ * Description of Variant.
7446
+ */
7447
+ description?: string;
7448
+ /**
7449
+ * DescriptionChangeType defines how the description change should be handled. Values:
7450
+ * - FEATURE_SET_MODIFIED: The users have to confirm to the new contract details equal as price changes.
7451
+ * - FEATURE_SET_UNCHANGED: The changes are only wording updates and do not impact the contract details, so no confirm is required.
7452
+ *
7453
+ */
7454
+ descriptionChangeType?: "FEATURE_SET_MODIFIED" | "FEATURE_SET_UNCHANGED";
7455
+ /**
7456
+ * stop extension variant from being booked
7457
+ */
7458
+ isBookingStopped?: boolean;
7459
+ /**
7460
+ * deletion of extension variant is scheduled
7461
+ */
7462
+ isDeletionScheduled?: boolean;
7463
+ /**
7464
+ * Key that needs to be unique in Variant.
7465
+ */
7466
+ key: string;
7467
+ /**
7468
+ * Name of Variant.
7469
+ */
7470
+ name?: string;
7471
+ /**
7472
+ * Price in cents.
7473
+ */
7474
+ priceInCents: number;
7475
+ }
7476
+ /**
7477
+ * The Extension is deprecated by the contributor and will expire at the given date.
7478
+ */
7479
+ interface MarketplaceExtensionDeprecation {
7480
+ deprecatedAt: string | Date;
7481
+ note?: string;
7482
+ /**
7483
+ * The ID of the successor extension.
7484
+ */
7485
+ successorId?: string;
7486
+ }
7487
+ interface IngressTlsAcme {
7488
+ /**
7489
+ * Has to be `true`, as ssl cannot be deactivated.
7490
+ */
7491
+ acme: boolean;
7492
+ isCreated: boolean;
7493
+ requestDeadline?: string | Date;
7494
+ }
7495
+ }
7424
7496
  namespace Parameters { }
7425
7497
  namespace RequestBodies { }
7426
7498
  namespace Responses {
@@ -10240,7 +10312,7 @@ export declare namespace MittwaldAPIV2 {
10240
10312
  /**
10241
10313
  * Time when to expire the Backup. Must be at least 7 days and no more than one year in the future.
10242
10314
  */
10243
- expirationTime: string;
10315
+ expirationTime: string | Date;
10244
10316
  }
10245
10317
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10246
10318
  type Query = {};
@@ -10539,7 +10611,7 @@ export declare namespace MittwaldAPIV2 {
10539
10611
  /**
10540
10612
  * Time when to expire the Backup. Must be no more than one year in the future.
10541
10613
  */
10542
- expirationTime?: string;
10614
+ expirationTime?: string | Date;
10543
10615
  }
10544
10616
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10545
10617
  type Query = {};
@@ -12981,7 +13053,7 @@ export declare namespace MittwaldAPIV2 {
12981
13053
  /**
12982
13054
  * 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.
12983
13055
  */
12984
- terminationTargetDate?: string;
13056
+ terminationTargetDate?: string | Date;
12985
13057
  }
12986
13058
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12987
13059
  type Query = {};
@@ -13144,7 +13216,7 @@ export declare namespace MittwaldAPIV2 {
13144
13216
  /**
13145
13217
  * 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.
13146
13218
  */
13147
- terminationTargetDate?: string;
13219
+ terminationTargetDate?: string | Date;
13148
13220
  }
13149
13221
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
13150
13222
  type Query = {};
@@ -15452,8 +15524,8 @@ export declare namespace MittwaldAPIV2 {
15452
15524
  };
15453
15525
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
15454
15526
  type Query = {
15455
- since?: string;
15456
- until?: string;
15527
+ since?: string | Date;
15528
+ until?: string | Date;
15457
15529
  status?: string;
15458
15530
  triggeredByUser?: boolean;
15459
15531
  sortOrder?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecutionSortOrder;
@@ -15907,7 +15979,7 @@ export declare namespace MittwaldAPIV2 {
15907
15979
  /**
15908
15980
  * Time the resulting CustomerMembership should expire at.
15909
15981
  */
15910
- membershipExpiresAt?: string;
15982
+ membershipExpiresAt?: string | Date;
15911
15983
  /**
15912
15984
  * Message contained in the CustomerInvite.
15913
15985
  */
@@ -16418,7 +16490,7 @@ export declare namespace MittwaldAPIV2 {
16418
16490
  /**
16419
16491
  * Time the CustomerMembership should expire at.
16420
16492
  */
16421
- expiresAt?: string;
16493
+ expiresAt?: string | Date;
16422
16494
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
16423
16495
  }
16424
16496
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -18316,7 +18388,7 @@ export declare namespace MittwaldAPIV2 {
18316
18388
  * @deprecated
18317
18389
  * Was added by mistake. Never did anything.
18318
18390
  */
18319
- requestDeadline?: string;
18391
+ requestDeadline?: string | Date;
18320
18392
  } | {
18321
18393
  certificateId: string;
18322
18394
  };
@@ -18384,9 +18456,9 @@ export declare namespace MittwaldAPIV2 {
18384
18456
  interface RequestBody {
18385
18457
  autoResponder: {
18386
18458
  active: boolean;
18387
- expiresAt?: string;
18459
+ expiresAt?: string | Date;
18388
18460
  message: string;
18389
- startsAt?: string;
18461
+ startsAt?: string | Date;
18390
18462
  };
18391
18463
  }
18392
18464
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -19292,7 +19364,7 @@ export declare namespace MittwaldAPIV2 {
19292
19364
  * Whether to also delete the corresponding Ingress and subdomain Ingresses.
19293
19365
  */
19294
19366
  deleteIngresses?: boolean;
19295
- deletionDate: string;
19367
+ deletionDate: string | Date;
19296
19368
  }
19297
19369
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19298
19370
  type Query = {};
@@ -20996,7 +21068,7 @@ export declare namespace MittwaldAPIV2 {
20996
21068
  * Used to patch asset order.
20997
21069
  */
20998
21070
  assets?: string[];
20999
- deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
21071
+ deprecation?: MittwaldAPIV2.Components.RequestSchemas.MarketplaceExtensionDeprecation;
21000
21072
  description?: string;
21001
21073
  detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
21002
21074
  externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
@@ -21110,7 +21182,7 @@ export declare namespace MittwaldAPIV2 {
21110
21182
  contextId?: string;
21111
21183
  scopes?: string[];
21112
21184
  instanceDisabled?: boolean;
21113
- createdAt?: string;
21185
+ createdAt?: string | Date;
21114
21186
  secret?: string;
21115
21187
  };
21116
21188
  }
@@ -22428,7 +22500,7 @@ export declare namespace MittwaldAPIV2 {
22428
22500
  * If set to true, the request will be validated but not executed.
22429
22501
  */
22430
22502
  dryRun?: boolean;
22431
- pricePlan: MittwaldAPIV2.Components.Schemas.ExtensionPricePlan;
22503
+ pricePlan: MittwaldAPIV2.Components.RequestSchemas.ExtensionPricePlan;
22432
22504
  };
22433
22505
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
22434
22506
  type Query = {};
@@ -27046,7 +27118,7 @@ export declare namespace MittwaldAPIV2 {
27046
27118
  /**
27047
27119
  * Time the resulting ProjectMembership should expire at.
27048
27120
  */
27049
- membershipExpiresAt?: string;
27121
+ membershipExpiresAt?: string | Date;
27050
27122
  /**
27051
27123
  * Message contained in the ProjectInvite.
27052
27124
  */
@@ -27425,7 +27497,7 @@ export declare namespace MittwaldAPIV2 {
27425
27497
  /**
27426
27498
  * Time the ProjectMembership should expire at.
27427
27499
  */
27428
- expiresAt?: string;
27500
+ expiresAt?: string | Date;
27429
27501
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27430
27502
  }
27431
27503
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -28314,8 +28386,8 @@ export declare namespace MittwaldAPIV2 {
28314
28386
  aggregateName?: string;
28315
28387
  aggregateDomain?: string;
28316
28388
  aggregateId?: string;
28317
- startTime?: string;
28318
- endTime?: string;
28389
+ startTime?: string | Date;
28390
+ endTime?: string | Date;
28319
28391
  fulltextSearch?: string;
28320
28392
  limit?: number;
28321
28393
  skip?: number;
@@ -28819,7 +28891,7 @@ export declare namespace MittwaldAPIV2 {
28819
28891
  * @minItems 1
28820
28892
  */
28821
28893
  directories: [string, ...string[]];
28822
- expiresAt?: string;
28894
+ expiresAt?: string | Date;
28823
28895
  }
28824
28896
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
28825
28897
  type Query = {};
@@ -28956,7 +29028,7 @@ export declare namespace MittwaldAPIV2 {
28956
29028
  * @minItems 1
28957
29029
  */
28958
29030
  directories?: [string, ...string[]];
28959
- expiresAt?: string;
29031
+ expiresAt?: string | Date;
28960
29032
  password?: string;
28961
29033
  publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
28962
29034
  }
@@ -29058,7 +29130,7 @@ export declare namespace MittwaldAPIV2 {
29058
29130
  interface RequestBody {
29059
29131
  authentication: MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29060
29132
  description: string;
29061
- expiresAt?: string;
29133
+ expiresAt?: string | Date;
29062
29134
  }
29063
29135
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29064
29136
  type Query = {};
@@ -29190,7 +29262,7 @@ export declare namespace MittwaldAPIV2 {
29190
29262
  interface RequestBody {
29191
29263
  active?: boolean;
29192
29264
  description?: string;
29193
- expiresAt?: string;
29265
+ expiresAt?: string | Date;
29194
29266
  password?: string;
29195
29267
  publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
29196
29268
  }
@@ -30578,7 +30650,7 @@ export declare namespace MittwaldAPIV2 {
30578
30650
  type Path = {};
30579
30651
  interface RequestBody {
30580
30652
  description: string;
30581
- expiresAt?: string;
30653
+ expiresAt?: string | Date;
30582
30654
  /**
30583
30655
  * Determines the access rights of the ApiToken.
30584
30656
  *
@@ -30731,7 +30803,7 @@ export declare namespace MittwaldAPIV2 {
30731
30803
  namespace Parameters {
30732
30804
  type Path = {};
30733
30805
  interface RequestBody {
30734
- expiresAt?: string;
30806
+ expiresAt?: string | Date;
30735
30807
  publicKey: string;
30736
30808
  }
30737
30809
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -30813,7 +30885,7 @@ export declare namespace MittwaldAPIV2 {
30813
30885
  };
30814
30886
  interface RequestBody {
30815
30887
  description: string;
30816
- expiresAt?: string;
30888
+ expiresAt?: string | Date;
30817
30889
  }
30818
30890
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30819
30891
  type Query = {};
@@ -30932,7 +31004,7 @@ export declare namespace MittwaldAPIV2 {
30932
31004
  };
30933
31005
  interface RequestBody {
30934
31006
  comment: string;
30935
- expiresAt?: string;
31007
+ expiresAt?: string | Date;
30936
31008
  }
30937
31009
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30938
31010
  type Query = {};