@mittwald/api-client 4.466.0 → 4.468.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.
@@ -969,3 +969,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
969
969
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
970
970
  /** Check if a company exists. */
971
971
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
972
+ /** Get a specific OAuth2 client. */
973
+ export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1934,6 +1934,10 @@ export declare namespace MittwaldAPIV2 {
1934
1934
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1935
1935
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1936
1936
  }
1937
+ namespace ContributorGetOauthClient {
1938
+ type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
1939
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
1940
+ }
1937
1941
  }
1938
1942
  namespace Components {
1939
1943
  namespace Schemas {
@@ -7221,6 +7225,7 @@ export declare namespace MittwaldAPIV2 {
7221
7225
  subject: string;
7222
7226
  vote: number;
7223
7227
  }
7228
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7224
7229
  interface UserProjectMembership {
7225
7230
  expiresAt?: string;
7226
7231
  id?: string;
@@ -7350,7 +7355,6 @@ export declare namespace MittwaldAPIV2 {
7350
7355
  }
7351
7356
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7352
7357
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7353
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7354
7358
  interface CommonsAddress {
7355
7359
  street: string;
7356
7360
  houseNumber: string;
@@ -7421,6 +7425,78 @@ export declare namespace MittwaldAPIV2 {
7421
7425
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7422
7426
  }
7423
7427
  }
7428
+ namespace RequestSchemas {
7429
+ /**
7430
+ * PricePlan with Variants.
7431
+ */
7432
+ interface ExtensionPricePlan {
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: MittwaldAPIV2.Components.RequestSchemas.ExtensionVariant[];
7442
+ }
7443
+ interface ExtensionVariant {
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 MarketplaceExtensionDeprecation {
7484
+ deprecatedAt: string | Date;
7485
+ note?: string;
7486
+ /**
7487
+ * The ID of the successor extension.
7488
+ */
7489
+ successorId?: string;
7490
+ }
7491
+ interface IngressTlsAcme {
7492
+ /**
7493
+ * Has to be `true`, as ssl cannot be deactivated.
7494
+ */
7495
+ acme: boolean;
7496
+ isCreated: boolean;
7497
+ requestDeadline?: string | Date;
7498
+ }
7499
+ }
7424
7500
  namespace Parameters { }
7425
7501
  namespace RequestBodies { }
7426
7502
  namespace Responses {
@@ -8290,8 +8366,8 @@ export declare namespace MittwaldAPIV2 {
8290
8366
  };
8291
8367
  type Header = {};
8292
8368
  type Query = {
8293
- startDate: string;
8294
- endDate: string;
8369
+ startDate: string | Date;
8370
+ endDate: string | Date;
8295
8371
  keyId?: string;
8296
8372
  };
8297
8373
  }
@@ -9023,7 +9099,9 @@ export declare namespace MittwaldAPIV2 {
9023
9099
  type Path = {
9024
9100
  appInstallationId: string;
9025
9101
  };
9026
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9102
+ type Header = {
9103
+ "Accept-Language"?: "de" | "en";
9104
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9027
9105
  type Query = {};
9028
9106
  }
9029
9107
  namespace Responses {
@@ -10240,7 +10318,7 @@ export declare namespace MittwaldAPIV2 {
10240
10318
  /**
10241
10319
  * Time when to expire the Backup. Must be at least 7 days and no more than one year in the future.
10242
10320
  */
10243
- expirationTime: string;
10321
+ expirationTime: string | Date;
10244
10322
  }
10245
10323
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10246
10324
  type Query = {};
@@ -10539,7 +10617,7 @@ export declare namespace MittwaldAPIV2 {
10539
10617
  /**
10540
10618
  * Time when to expire the Backup. Must be no more than one year in the future.
10541
10619
  */
10542
- expirationTime?: string;
10620
+ expirationTime?: string | Date;
10543
10621
  }
10544
10622
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10545
10623
  type Query = {};
@@ -12981,7 +13059,7 @@ export declare namespace MittwaldAPIV2 {
12981
13059
  /**
12982
13060
  * 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
13061
  */
12984
- terminationTargetDate?: string;
13062
+ terminationTargetDate?: string | Date;
12985
13063
  }
12986
13064
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12987
13065
  type Query = {};
@@ -13144,7 +13222,7 @@ export declare namespace MittwaldAPIV2 {
13144
13222
  /**
13145
13223
  * 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
13224
  */
13147
- terminationTargetDate?: string;
13225
+ terminationTargetDate?: string | Date;
13148
13226
  }
13149
13227
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
13150
13228
  type Query = {};
@@ -15452,8 +15530,8 @@ export declare namespace MittwaldAPIV2 {
15452
15530
  };
15453
15531
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
15454
15532
  type Query = {
15455
- since?: string;
15456
- until?: string;
15533
+ since?: string | Date;
15534
+ until?: string | Date;
15457
15535
  status?: string;
15458
15536
  triggeredByUser?: boolean;
15459
15537
  sortOrder?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecutionSortOrder;
@@ -15907,7 +15985,7 @@ export declare namespace MittwaldAPIV2 {
15907
15985
  /**
15908
15986
  * Time the resulting CustomerMembership should expire at.
15909
15987
  */
15910
- membershipExpiresAt?: string;
15988
+ membershipExpiresAt?: string | Date;
15911
15989
  /**
15912
15990
  * Message contained in the CustomerInvite.
15913
15991
  */
@@ -16418,7 +16496,7 @@ export declare namespace MittwaldAPIV2 {
16418
16496
  /**
16419
16497
  * Time the CustomerMembership should expire at.
16420
16498
  */
16421
- expiresAt?: string;
16499
+ expiresAt?: string | Date;
16422
16500
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
16423
16501
  }
16424
16502
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -18316,7 +18394,7 @@ export declare namespace MittwaldAPIV2 {
18316
18394
  * @deprecated
18317
18395
  * Was added by mistake. Never did anything.
18318
18396
  */
18319
- requestDeadline?: string;
18397
+ requestDeadline?: string | Date;
18320
18398
  } | {
18321
18399
  certificateId: string;
18322
18400
  };
@@ -18384,9 +18462,9 @@ export declare namespace MittwaldAPIV2 {
18384
18462
  interface RequestBody {
18385
18463
  autoResponder: {
18386
18464
  active: boolean;
18387
- expiresAt?: string;
18465
+ expiresAt?: string | Date;
18388
18466
  message: string;
18389
- startsAt?: string;
18467
+ startsAt?: string | Date;
18390
18468
  };
18391
18469
  }
18392
18470
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -19292,7 +19370,7 @@ export declare namespace MittwaldAPIV2 {
19292
19370
  * Whether to also delete the corresponding Ingress and subdomain Ingresses.
19293
19371
  */
19294
19372
  deleteIngresses?: boolean;
19295
- deletionDate: string;
19373
+ deletionDate: string | Date;
19296
19374
  }
19297
19375
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19298
19376
  type Query = {};
@@ -20996,7 +21074,7 @@ export declare namespace MittwaldAPIV2 {
20996
21074
  * Used to patch asset order.
20997
21075
  */
20998
21076
  assets?: string[];
20999
- deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
21077
+ deprecation?: MittwaldAPIV2.Components.RequestSchemas.MarketplaceExtensionDeprecation;
21000
21078
  description?: string;
21001
21079
  detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
21002
21080
  externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
@@ -21110,7 +21188,7 @@ export declare namespace MittwaldAPIV2 {
21110
21188
  contextId?: string;
21111
21189
  scopes?: string[];
21112
21190
  instanceDisabled?: boolean;
21113
- createdAt?: string;
21191
+ createdAt?: string | Date;
21114
21192
  secret?: string;
21115
21193
  };
21116
21194
  }
@@ -22428,7 +22506,7 @@ export declare namespace MittwaldAPIV2 {
22428
22506
  * If set to true, the request will be validated but not executed.
22429
22507
  */
22430
22508
  dryRun?: boolean;
22431
- pricePlan: MittwaldAPIV2.Components.Schemas.ExtensionPricePlan;
22509
+ pricePlan: MittwaldAPIV2.Components.RequestSchemas.ExtensionPricePlan;
22432
22510
  };
22433
22511
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
22434
22512
  type Query = {};
@@ -27046,7 +27124,7 @@ export declare namespace MittwaldAPIV2 {
27046
27124
  /**
27047
27125
  * Time the resulting ProjectMembership should expire at.
27048
27126
  */
27049
- membershipExpiresAt?: string;
27127
+ membershipExpiresAt?: string | Date;
27050
27128
  /**
27051
27129
  * Message contained in the ProjectInvite.
27052
27130
  */
@@ -27425,7 +27503,7 @@ export declare namespace MittwaldAPIV2 {
27425
27503
  /**
27426
27504
  * Time the ProjectMembership should expire at.
27427
27505
  */
27428
- expiresAt?: string;
27506
+ expiresAt?: string | Date;
27429
27507
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27430
27508
  }
27431
27509
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -28314,8 +28392,8 @@ export declare namespace MittwaldAPIV2 {
28314
28392
  aggregateName?: string;
28315
28393
  aggregateDomain?: string;
28316
28394
  aggregateId?: string;
28317
- startTime?: string;
28318
- endTime?: string;
28395
+ startTime?: string | Date;
28396
+ endTime?: string | Date;
28319
28397
  fulltextSearch?: string;
28320
28398
  limit?: number;
28321
28399
  skip?: number;
@@ -28819,7 +28897,7 @@ export declare namespace MittwaldAPIV2 {
28819
28897
  * @minItems 1
28820
28898
  */
28821
28899
  directories: [string, ...string[]];
28822
- expiresAt?: string;
28900
+ expiresAt?: string | Date;
28823
28901
  }
28824
28902
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
28825
28903
  type Query = {};
@@ -28956,7 +29034,7 @@ export declare namespace MittwaldAPIV2 {
28956
29034
  * @minItems 1
28957
29035
  */
28958
29036
  directories?: [string, ...string[]];
28959
- expiresAt?: string;
29037
+ expiresAt?: string | Date;
28960
29038
  password?: string;
28961
29039
  publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
28962
29040
  }
@@ -29058,7 +29136,7 @@ export declare namespace MittwaldAPIV2 {
29058
29136
  interface RequestBody {
29059
29137
  authentication: MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29060
29138
  description: string;
29061
- expiresAt?: string;
29139
+ expiresAt?: string | Date;
29062
29140
  }
29063
29141
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29064
29142
  type Query = {};
@@ -29190,7 +29268,7 @@ export declare namespace MittwaldAPIV2 {
29190
29268
  interface RequestBody {
29191
29269
  active?: boolean;
29192
29270
  description?: string;
29193
- expiresAt?: string;
29271
+ expiresAt?: string | Date;
29194
29272
  password?: string;
29195
29273
  publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
29196
29274
  }
@@ -30578,7 +30656,7 @@ export declare namespace MittwaldAPIV2 {
30578
30656
  type Path = {};
30579
30657
  interface RequestBody {
30580
30658
  description: string;
30581
- expiresAt?: string;
30659
+ expiresAt?: string | Date;
30582
30660
  /**
30583
30661
  * Determines the access rights of the ApiToken.
30584
30662
  *
@@ -30731,7 +30809,7 @@ export declare namespace MittwaldAPIV2 {
30731
30809
  namespace Parameters {
30732
30810
  type Path = {};
30733
30811
  interface RequestBody {
30734
- expiresAt?: string;
30812
+ expiresAt?: string | Date;
30735
30813
  publicKey: string;
30736
30814
  }
30737
30815
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -30813,7 +30891,7 @@ export declare namespace MittwaldAPIV2 {
30813
30891
  };
30814
30892
  interface RequestBody {
30815
30893
  description: string;
30816
- expiresAt?: string;
30894
+ expiresAt?: string | Date;
30817
30895
  }
30818
30896
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30819
30897
  type Query = {};
@@ -30932,7 +31010,7 @@ export declare namespace MittwaldAPIV2 {
30932
31010
  };
30933
31011
  interface RequestBody {
30934
31012
  comment: string;
30935
- expiresAt?: string;
31013
+ expiresAt?: string | Date;
30936
31014
  }
30937
31015
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30938
31016
  type Query = {};
@@ -32524,5 +32602,45 @@ export declare namespace MittwaldAPIV2 {
32524
32602
  }
32525
32603
  }
32526
32604
  }
32605
+ namespace V2Oauth2ClientsOauthClientId {
32606
+ namespace Get {
32607
+ namespace Parameters {
32608
+ type Path = {
32609
+ oauthClientId: string;
32610
+ };
32611
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32612
+ type Query = {};
32613
+ }
32614
+ namespace Responses {
32615
+ namespace $200 {
32616
+ namespace Content {
32617
+ interface ApplicationJson {
32618
+ allowedGrantTypes?: string[];
32619
+ allowedRedirectUris?: string[];
32620
+ allowedScopes?: string[];
32621
+ description?: string;
32622
+ humanReadableName: string;
32623
+ id: string;
32624
+ type?: "public" | "confidential";
32625
+ }
32626
+ }
32627
+ }
32628
+ namespace $429 {
32629
+ namespace Content {
32630
+ interface ApplicationJson {
32631
+ [k: string]: unknown;
32632
+ }
32633
+ }
32634
+ }
32635
+ namespace Default {
32636
+ namespace Content {
32637
+ interface ApplicationJson {
32638
+ [k: string]: unknown;
32639
+ }
32640
+ }
32641
+ }
32642
+ }
32643
+ }
32644
+ }
32527
32645
  }
32528
32646
  }