@mittwald/api-client 4.328.0 → 4.330.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.
@@ -13663,224 +13663,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13663
13663
  };
13664
13664
  /** The customer API allows you to manage your own organizations and users. */
13665
13665
  readonly customer: {
13666
- /** Accept a CustomerInvite. */
13667
- acceptCustomerInvite: (request: {
13668
- customerInviteId: string;
13669
- data?: {
13670
- invitationToken?: string | undefined;
13671
- } | undefined;
13672
- headers?: {
13673
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13674
- "x-access-token"?: string | undefined;
13675
- } | undefined;
13676
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13677
- data: {
13678
- invitationToken?: string | undefined;
13679
- };
13680
- } & {
13681
- pathParameters: {
13682
- customerInviteId: string;
13683
- };
13684
- } & {
13685
- headers?: Partial<{
13686
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13687
- }>;
13688
- } & {
13689
- headers: {
13690
- "x-access-token"?: string | undefined;
13691
- } & Partial<{
13692
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13693
- }>;
13694
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13695
- [x: string]: unknown;
13696
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13697
- [x: string]: unknown;
13698
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13699
- [x: string]: unknown;
13700
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
13701
- [x: string]: unknown;
13702
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13703
- data: {
13704
- invitationToken?: string | undefined;
13705
- };
13706
- } & {
13707
- pathParameters: {
13708
- customerInviteId: string;
13709
- };
13710
- } & {
13711
- headers?: Partial<{
13712
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13713
- }>;
13714
- } & {
13715
- headers: {
13716
- "x-access-token"?: string | undefined;
13717
- } & Partial<{
13718
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13719
- }>;
13720
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13721
- [x: string]: unknown;
13722
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13723
- [x: string]: unknown;
13724
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13725
- [x: string]: unknown;
13726
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
13727
- [x: string]: unknown;
13728
- }, 429, "application/json">>>;
13729
- /** List Invites belonging to a Customer. */
13730
- listInvitesForCustomer: (request: {
13731
- customerId: string;
13732
- headers?: {
13733
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13734
- "x-access-token"?: string | undefined;
13735
- } | undefined;
13736
- queryParameters?: {
13737
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13738
- limit?: number | undefined;
13739
- skip?: number | undefined;
13740
- } | undefined;
13741
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13742
- headers?: Partial<{
13743
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13744
- }>;
13745
- } & {
13746
- pathParameters: {
13747
- customerId: string;
13748
- };
13749
- } & {
13750
- queryParameters: {
13751
- limit?: number | undefined;
13752
- skip?: number | undefined;
13753
- } & Partial<{
13754
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13755
- }>;
13756
- } & {
13757
- headers: {
13758
- "x-access-token"?: string | undefined;
13759
- } & Partial<{
13760
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13761
- }>;
13762
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13763
- [x: string]: unknown;
13764
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13765
- [x: string]: unknown;
13766
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13767
- headers?: Partial<{
13768
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13769
- }>;
13770
- } & {
13771
- pathParameters: {
13772
- customerId: string;
13773
- };
13774
- } & {
13775
- queryParameters: {
13776
- limit?: number | undefined;
13777
- skip?: number | undefined;
13778
- } & Partial<{
13779
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13780
- }>;
13781
- } & {
13782
- headers: {
13783
- "x-access-token"?: string | undefined;
13784
- } & Partial<{
13785
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13786
- }>;
13787
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13788
- [x: string]: unknown;
13789
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13790
- [x: string]: unknown;
13791
- }, 429, "application/json">>>;
13792
- /** Create a CustomerInvite. */
13793
- createCustomerInvite: (request: {
13794
- data: {
13795
- mailAddress: string;
13796
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
13797
- membershipExpiresAt?: string | undefined;
13798
- message?: string | undefined;
13799
- };
13800
- customerId: string;
13801
- headers?: {
13802
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13803
- "x-access-token"?: string | undefined;
13804
- } | undefined;
13805
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13806
- data: {
13807
- mailAddress: string;
13808
- membershipExpiresAt?: string | undefined;
13809
- message?: string | undefined;
13810
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
13811
- };
13812
- } & {
13813
- pathParameters: {
13814
- customerId: string;
13815
- };
13816
- } & {
13817
- headers?: Partial<{
13818
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13819
- }>;
13820
- } & {
13821
- headers: {
13822
- "x-access-token"?: string | undefined;
13823
- } & Partial<{
13824
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13825
- }>;
13826
- }, import("@mittwald/api-client-commons").Response<{
13827
- avatarRefId?: string | undefined;
13828
- customerId: string;
13829
- customerName: string;
13830
- id: string;
13831
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
13832
- mailAddress: string;
13833
- membershipExpiresAt?: string | undefined;
13834
- message?: string | undefined;
13835
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
13836
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13837
- [x: string]: unknown;
13838
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13839
- [x: string]: unknown;
13840
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13841
- [x: string]: unknown;
13842
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
13843
- [x: string]: unknown;
13844
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13845
- data: {
13846
- mailAddress: string;
13847
- membershipExpiresAt?: string | undefined;
13848
- message?: string | undefined;
13849
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
13850
- };
13851
- } & {
13852
- pathParameters: {
13853
- customerId: string;
13854
- };
13855
- } & {
13856
- headers?: Partial<{
13857
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13858
- }>;
13859
- } & {
13860
- headers: {
13861
- "x-access-token"?: string | undefined;
13862
- } & Partial<{
13863
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13864
- }>;
13865
- }, import("@mittwald/api-client-commons").Response<{
13866
- avatarRefId?: string | undefined;
13867
- customerId: string;
13868
- customerName: string;
13869
- id: string;
13870
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
13871
- mailAddress: string;
13872
- membershipExpiresAt?: string | undefined;
13873
- message?: string | undefined;
13874
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
13875
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13876
- [x: string]: unknown;
13877
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13878
- [x: string]: unknown;
13879
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13880
- [x: string]: unknown;
13881
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
13882
- [x: string]: unknown;
13883
- }, 429, "application/json">>>;
13884
13666
  /** Get all customer profiles the authenticated user has access to. */
13885
13667
  listCustomers: (request?: {
13886
13668
  headers?: {
@@ -14218,9 +14000,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14218
14000
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14219
14001
  [x: string]: unknown;
14220
14002
  }, 429, "application/json">>>;
14221
- /** Decline a CustomerInvite. */
14222
- declineCustomerInvite: (request: {
14223
- customerInviteId: string;
14003
+ /** Get a customer profile. */
14004
+ getCustomer: (request: {
14005
+ customerId: string;
14224
14006
  headers?: {
14225
14007
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14226
14008
  "x-access-token"?: string | undefined;
@@ -14231,23 +14013,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14231
14013
  }>;
14232
14014
  } & {
14233
14015
  pathParameters: {
14234
- customerInviteId: string;
14235
- };
14236
- } & {
14237
- headers: {
14238
- "x-access-token"?: string | undefined;
14239
- } & Partial<{
14240
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14241
- }>;
14242
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14243
- [x: string]: unknown;
14244
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14245
- headers?: Partial<{
14246
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14247
- }>;
14248
- } & {
14249
- pathParameters: {
14250
- customerInviteId: string;
14016
+ customerId: string;
14251
14017
  };
14252
14018
  } & {
14253
14019
  headers: {
@@ -14255,42 +14021,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14255
14021
  } & Partial<{
14256
14022
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14257
14023
  }>;
14258
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14259
- [x: string]: unknown;
14260
- }, 429, "application/json">>>;
14261
- /** Get a CustomerInvite. */
14262
- getCustomerInvite: (request: {
14263
- customerInviteId: string;
14264
- headers?: {
14265
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14266
- "x-access-token"?: string | undefined;
14024
+ }, import("@mittwald/api-client-commons").Response<{
14025
+ activeSuspension?: {
14026
+ createdAt: string;
14267
14027
  } | undefined;
14268
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14269
- headers?: Partial<{
14270
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14271
- }>;
14272
- } & {
14273
- pathParameters: {
14274
- customerInviteId: string;
14275
- };
14276
- } & {
14277
- headers: {
14278
- "x-access-token"?: string | undefined;
14279
- } & Partial<{
14280
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14281
- }>;
14282
- }, import("@mittwald/api-client-commons").Response<{
14283
14028
  avatarRefId?: string | undefined;
14029
+ categoryId?: string | undefined;
14030
+ creationDate: string;
14284
14031
  customerId: string;
14285
- customerName: string;
14286
- id: string;
14287
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14288
- mailAddress: string;
14289
- membershipExpiresAt?: string | undefined;
14290
- message?: string | undefined;
14291
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14032
+ customerNumber: string;
14033
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
14034
+ executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
14035
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
14036
+ isAllowedToPlaceOrders?: boolean | undefined;
14037
+ isBanned?: boolean | undefined;
14038
+ isInDefaultOfPayment?: boolean | undefined;
14039
+ isMailAddressInvalid?: boolean | undefined;
14040
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
14041
+ memberCount: number;
14042
+ name: string;
14043
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14044
+ projectCount: number;
14045
+ vatId?: string | undefined;
14046
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
14292
14047
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14293
14048
  [x: string]: unknown;
14049
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14050
+ [x: string]: unknown;
14051
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14052
+ [x: string]: unknown;
14294
14053
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14295
14054
  [x: string]: unknown;
14296
14055
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -14299,7 +14058,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14299
14058
  }>;
14300
14059
  } & {
14301
14060
  pathParameters: {
14302
- customerInviteId: string;
14061
+ customerId: string;
14303
14062
  };
14304
14063
  } & {
14305
14064
  headers: {
@@ -14308,63 +14067,133 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14308
14067
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14309
14068
  }>;
14310
14069
  }, import("@mittwald/api-client-commons").Response<{
14070
+ activeSuspension?: {
14071
+ createdAt: string;
14072
+ } | undefined;
14311
14073
  avatarRefId?: string | undefined;
14074
+ categoryId?: string | undefined;
14075
+ creationDate: string;
14312
14076
  customerId: string;
14313
- customerName: string;
14314
- id: string;
14315
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14316
- mailAddress: string;
14317
- membershipExpiresAt?: string | undefined;
14318
- message?: string | undefined;
14319
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14077
+ customerNumber: string;
14078
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
14079
+ executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
14080
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
14081
+ isAllowedToPlaceOrders?: boolean | undefined;
14082
+ isBanned?: boolean | undefined;
14083
+ isInDefaultOfPayment?: boolean | undefined;
14084
+ isMailAddressInvalid?: boolean | undefined;
14085
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
14086
+ memberCount: number;
14087
+ name: string;
14088
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14089
+ projectCount: number;
14090
+ vatId?: string | undefined;
14091
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
14320
14092
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14321
14093
  [x: string]: unknown;
14094
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14095
+ [x: string]: unknown;
14096
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14097
+ [x: string]: unknown;
14322
14098
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14323
14099
  [x: string]: unknown;
14324
14100
  }, 429, "application/json">>>;
14325
- /** Delete a CustomerInvite. */
14326
- deleteCustomerInvite: (request: {
14327
- customerInviteId: string;
14101
+ /** Update a customer profile. */
14102
+ updateCustomer: (request: {
14103
+ data: {
14104
+ customerId: string;
14105
+ name: string;
14106
+ owner?: {
14107
+ address: {
14108
+ street: string;
14109
+ houseNumber: string;
14110
+ city: string;
14111
+ zip: string;
14112
+ countryCode: string;
14113
+ addressPrefix?: string | undefined;
14114
+ };
14115
+ salutation: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation;
14116
+ company?: string | undefined;
14117
+ emailAddress?: string | undefined;
14118
+ firstName?: string | undefined;
14119
+ lastName?: string | undefined;
14120
+ phoneNumbers?: string[] | undefined;
14121
+ title?: string | undefined;
14122
+ useFormalTerm?: boolean | undefined;
14123
+ } | undefined;
14124
+ vatId?: string | undefined;
14125
+ };
14126
+ customerId: string;
14328
14127
  headers?: {
14329
14128
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14330
14129
  "x-access-token"?: string | undefined;
14331
14130
  } | undefined;
14332
14131
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14333
- headers?: Partial<{
14334
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14335
- }>;
14132
+ data: {
14133
+ customerId: string;
14134
+ name: string;
14135
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14136
+ vatId?: string | undefined;
14137
+ };
14336
14138
  } & {
14337
14139
  pathParameters: {
14338
- customerInviteId: string;
14140
+ customerId: string;
14339
14141
  };
14142
+ } & {
14143
+ headers?: Partial<{
14144
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14145
+ }>;
14340
14146
  } & {
14341
14147
  headers: {
14342
14148
  "x-access-token"?: string | undefined;
14343
14149
  } & Partial<{
14344
14150
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14345
14151
  }>;
14346
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14152
+ }, import("@mittwald/api-client-commons").Response<{
14153
+ customerId: string;
14154
+ customerNumber: string;
14155
+ name: string;
14156
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14157
+ [x: string]: unknown;
14158
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14159
+ [x: string]: unknown;
14160
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14347
14161
  [x: string]: unknown;
14348
14162
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14349
- headers?: Partial<{
14350
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14351
- }>;
14163
+ data: {
14164
+ customerId: string;
14165
+ name: string;
14166
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14167
+ vatId?: string | undefined;
14168
+ };
14352
14169
  } & {
14353
14170
  pathParameters: {
14354
- customerInviteId: string;
14171
+ customerId: string;
14355
14172
  };
14173
+ } & {
14174
+ headers?: Partial<{
14175
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14176
+ }>;
14356
14177
  } & {
14357
14178
  headers: {
14358
14179
  "x-access-token"?: string | undefined;
14359
14180
  } & Partial<{
14360
14181
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14361
14182
  }>;
14362
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14183
+ }, import("@mittwald/api-client-commons").Response<{
14184
+ customerId: string;
14185
+ customerNumber: string;
14186
+ name: string;
14187
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14188
+ [x: string]: unknown;
14189
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14190
+ [x: string]: unknown;
14191
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14363
14192
  [x: string]: unknown;
14364
14193
  }, 429, "application/json">>>;
14365
- /** Get a CustomerMembership. */
14366
- getCustomerMembership: (request: {
14367
- customerMembershipId: string;
14194
+ /** Delete a customer profile. */
14195
+ deleteCustomer: (request: {
14196
+ customerId: string;
14368
14197
  headers?: {
14369
14198
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14370
14199
  "x-access-token"?: string | undefined;
@@ -14375,7 +14204,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14375
14204
  }>;
14376
14205
  } & {
14377
14206
  pathParameters: {
14378
- customerMembershipId: string;
14207
+ customerId: string;
14379
14208
  };
14380
14209
  } & {
14381
14210
  headers: {
@@ -14384,29 +14213,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14384
14213
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14385
14214
  }>;
14386
14215
  }, import("@mittwald/api-client-commons").Response<{
14387
- avatarRef?: string | undefined;
14388
- customerId: string;
14389
- email: string;
14390
- expiresAt?: string | undefined;
14391
- firstName: string;
14392
- id: string;
14393
- inviteId?: string | undefined;
14394
- lastName: string;
14395
- memberSince?: string | undefined;
14396
- mfa: boolean;
14397
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14398
- userId: string;
14216
+ customerId?: string | undefined;
14399
14217
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14400
14218
  [x: string]: unknown;
14401
14219
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14402
14220
  [x: string]: unknown;
14221
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14222
+ [x: string]: unknown;
14403
14223
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14404
14224
  headers?: Partial<{
14405
14225
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14406
14226
  }>;
14407
14227
  } & {
14408
14228
  pathParameters: {
14409
- customerMembershipId: string;
14229
+ customerId: string;
14410
14230
  };
14411
14231
  } & {
14412
14232
  headers: {
@@ -14415,26 +14235,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14415
14235
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14416
14236
  }>;
14417
14237
  }, import("@mittwald/api-client-commons").Response<{
14418
- avatarRef?: string | undefined;
14419
- customerId: string;
14420
- email: string;
14421
- expiresAt?: string | undefined;
14422
- firstName: string;
14423
- id: string;
14424
- inviteId?: string | undefined;
14425
- lastName: string;
14426
- memberSince?: string | undefined;
14427
- mfa: boolean;
14428
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14429
- userId: string;
14238
+ customerId?: string | undefined;
14430
14239
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14431
14240
  [x: string]: unknown;
14432
14241
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14433
14242
  [x: string]: unknown;
14243
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14244
+ [x: string]: unknown;
14434
14245
  }, 429, "application/json">>>;
14435
- /** Delete a CustomerMembership. */
14436
- deleteCustomerMembership: (request: {
14437
- customerMembershipId: string;
14246
+ /** Check if the customer profile has a valid contract partner configured. */
14247
+ isCustomerLegallyCompetent: (request: {
14248
+ customerId: string;
14438
14249
  headers?: {
14439
14250
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14440
14251
  "x-access-token"?: string | undefined;
@@ -14445,7 +14256,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14445
14256
  }>;
14446
14257
  } & {
14447
14258
  pathParameters: {
14448
- customerMembershipId: string;
14259
+ customerId: string;
14449
14260
  };
14450
14261
  } & {
14451
14262
  headers: {
@@ -14453,7 +14264,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14453
14264
  } & Partial<{
14454
14265
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14455
14266
  }>;
14456
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14267
+ }, import("@mittwald/api-client-commons").Response<{
14268
+ isLegallyCompetent?: boolean | undefined;
14269
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14270
+ [x: string]: unknown;
14271
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14272
+ [x: string]: unknown;
14273
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14457
14274
  [x: string]: unknown;
14458
14275
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14459
14276
  headers?: Partial<{
@@ -14461,7 +14278,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14461
14278
  }>;
14462
14279
  } & {
14463
14280
  pathParameters: {
14464
- customerMembershipId: string;
14281
+ customerId: string;
14465
14282
  };
14466
14283
  } & {
14467
14284
  headers: {
@@ -14469,65 +14286,97 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14469
14286
  } & Partial<{
14470
14287
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14471
14288
  }>;
14472
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14289
+ }, import("@mittwald/api-client-commons").Response<{
14290
+ isLegallyCompetent?: boolean | undefined;
14291
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14292
+ [x: string]: unknown;
14293
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14294
+ [x: string]: unknown;
14295
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14473
14296
  [x: string]: unknown;
14474
14297
  }, 429, "application/json">>>;
14475
- /** Update a CustomerMembership. */
14476
- updateCustomerMembership: (request: {
14477
- data: {
14478
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14479
- expiresAt?: string | undefined;
14480
- };
14481
- customerMembershipId: string;
14298
+ /** Request a new avatar upload for the customer profile. */
14299
+ requestAvatarUpload: (request: {
14300
+ customerId: string;
14482
14301
  headers?: {
14483
14302
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14484
14303
  "x-access-token"?: string | undefined;
14485
14304
  } | undefined;
14486
14305
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14487
- data: {
14488
- expiresAt?: string | undefined;
14489
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14490
- };
14491
- } & {
14492
- pathParameters: {
14493
- customerMembershipId: string;
14494
- };
14495
- } & {
14496
14306
  headers?: Partial<{
14497
14307
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14498
14308
  }>;
14309
+ } & {
14310
+ pathParameters: {
14311
+ customerId: string;
14312
+ };
14499
14313
  } & {
14500
14314
  headers: {
14501
14315
  "x-access-token"?: string | undefined;
14502
14316
  } & Partial<{
14503
14317
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14504
14318
  }>;
14505
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14506
- [x: string]: unknown;
14507
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14508
- data: {
14509
- expiresAt?: string | undefined;
14510
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14511
- };
14512
- } & {
14513
- pathParameters: {
14514
- customerMembershipId: string;
14515
- };
14516
- } & {
14517
- headers?: Partial<{
14518
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14319
+ }, import("@mittwald/api-client-commons").Response<{
14320
+ refId: string;
14321
+ rules: {
14322
+ maxSizeInKB: number;
14323
+ mimeTypes: string[];
14324
+ properties?: {
14325
+ imageDimensions?: {
14326
+ max?: {
14327
+ height?: number;
14328
+ width?: number;
14329
+ };
14330
+ min?: {
14331
+ height?: number;
14332
+ width?: number;
14333
+ };
14334
+ };
14335
+ };
14336
+ };
14337
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14338
+ [x: string]: unknown;
14339
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14340
+ [x: string]: unknown;
14341
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14342
+ headers?: Partial<{
14343
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14519
14344
  }>;
14345
+ } & {
14346
+ pathParameters: {
14347
+ customerId: string;
14348
+ };
14520
14349
  } & {
14521
14350
  headers: {
14522
14351
  "x-access-token"?: string | undefined;
14523
14352
  } & Partial<{
14524
14353
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14525
14354
  }>;
14526
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14355
+ }, import("@mittwald/api-client-commons").Response<{
14356
+ refId: string;
14357
+ rules: {
14358
+ maxSizeInKB: number;
14359
+ mimeTypes: string[];
14360
+ properties?: {
14361
+ imageDimensions?: {
14362
+ max?: {
14363
+ height?: number;
14364
+ width?: number;
14365
+ };
14366
+ min?: {
14367
+ height?: number;
14368
+ width?: number;
14369
+ };
14370
+ };
14371
+ };
14372
+ };
14373
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14527
14374
  [x: string]: unknown;
14528
- }, 429, "application/json">>>;
14529
- /** Get a customer profile. */
14530
- getCustomer: (request: {
14375
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14376
+ [x: string]: unknown;
14377
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "application/json">>>;
14378
+ /** Remove the avatar picture of the customer profile. */
14379
+ removeAvatar: (request: {
14531
14380
  customerId: string;
14532
14381
  headers?: {
14533
14382
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -14547,38 +14396,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14547
14396
  } & Partial<{
14548
14397
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14549
14398
  }>;
14550
- }, import("@mittwald/api-client-commons").Response<{
14551
- activeSuspension?: {
14552
- createdAt: string;
14553
- } | undefined;
14554
- avatarRefId?: string | undefined;
14555
- categoryId?: string | undefined;
14556
- creationDate: string;
14557
- customerId: string;
14558
- customerNumber: string;
14559
- deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
14560
- executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
14561
- flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
14562
- isAllowedToPlaceOrders?: boolean | undefined;
14563
- isBanned?: boolean | undefined;
14564
- isInDefaultOfPayment?: boolean | undefined;
14565
- isMailAddressInvalid?: boolean | undefined;
14566
- levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
14567
- memberCount: number;
14568
- name: string;
14569
- owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14570
- projectCount: number;
14571
- vatId?: string | undefined;
14572
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
14573
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14574
- [x: string]: unknown;
14575
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14399
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14576
14400
  [x: string]: unknown;
14577
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14401
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14578
14402
  [x: string]: unknown;
14579
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14403
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14580
14404
  [x: string]: unknown;
14581
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14405
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14582
14406
  headers?: Partial<{
14583
14407
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14584
14408
  }>;
@@ -14592,83 +14416,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14592
14416
  } & Partial<{
14593
14417
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14594
14418
  }>;
14595
- }, import("@mittwald/api-client-commons").Response<{
14596
- activeSuspension?: {
14597
- createdAt: string;
14598
- } | undefined;
14599
- avatarRefId?: string | undefined;
14600
- categoryId?: string | undefined;
14601
- creationDate: string;
14602
- customerId: string;
14603
- customerNumber: string;
14604
- deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
14605
- executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
14606
- flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
14607
- isAllowedToPlaceOrders?: boolean | undefined;
14608
- isBanned?: boolean | undefined;
14609
- isInDefaultOfPayment?: boolean | undefined;
14610
- isMailAddressInvalid?: boolean | undefined;
14611
- levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
14612
- memberCount: number;
14613
- name: string;
14614
- owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14615
- projectCount: number;
14616
- vatId?: string | undefined;
14617
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
14618
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14619
- [x: string]: unknown;
14620
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14419
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14621
14420
  [x: string]: unknown;
14622
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14421
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14623
14422
  [x: string]: unknown;
14624
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14423
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14625
14424
  [x: string]: unknown;
14626
- }, 429, "application/json">>>;
14627
- /** Update a customer profile. */
14628
- updateCustomer: (request: {
14629
- data: {
14630
- customerId: string;
14631
- name: string;
14632
- owner?: {
14633
- address: {
14634
- street: string;
14635
- houseNumber: string;
14636
- city: string;
14637
- zip: string;
14638
- countryCode: string;
14639
- addressPrefix?: string | undefined;
14640
- };
14641
- salutation: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation;
14642
- company?: string | undefined;
14643
- emailAddress?: string | undefined;
14644
- firstName?: string | undefined;
14645
- lastName?: string | undefined;
14646
- phoneNumbers?: string[] | undefined;
14647
- title?: string | undefined;
14648
- useFormalTerm?: boolean | undefined;
14649
- } | undefined;
14650
- vatId?: string | undefined;
14651
- };
14652
- customerId: string;
14425
+ }, 500, "application/json">>>;
14426
+ /** Get a CustomerInvite. */
14427
+ getCustomerInvite: (request: {
14428
+ customerInviteId: string;
14653
14429
  headers?: {
14654
14430
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14655
14431
  "x-access-token"?: string | undefined;
14656
14432
  } | undefined;
14657
14433
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14658
- data: {
14659
- customerId: string;
14660
- name: string;
14661
- owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14662
- vatId?: string | undefined;
14663
- };
14664
- } & {
14665
- pathParameters: {
14666
- customerId: string;
14667
- };
14668
- } & {
14669
14434
  headers?: Partial<{
14670
14435
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14671
14436
  }>;
14437
+ } & {
14438
+ pathParameters: {
14439
+ customerInviteId: string;
14440
+ };
14672
14441
  } & {
14673
14442
  headers: {
14674
14443
  "x-access-token"?: string | undefined;
@@ -14676,30 +14445,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14676
14445
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14677
14446
  }>;
14678
14447
  }, import("@mittwald/api-client-commons").Response<{
14448
+ avatarRefId?: string | undefined;
14679
14449
  customerId: string;
14680
- customerNumber: string;
14681
- name: string;
14450
+ customerName: string;
14451
+ id: string;
14452
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14453
+ mailAddress: string;
14454
+ membershipExpiresAt?: string | undefined;
14455
+ message?: string | undefined;
14456
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14682
14457
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14683
14458
  [x: string]: unknown;
14684
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14685
- [x: string]: unknown;
14686
14459
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14687
14460
  [x: string]: unknown;
14688
14461
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14689
- data: {
14690
- customerId: string;
14691
- name: string;
14692
- owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
14693
- vatId?: string | undefined;
14694
- };
14695
- } & {
14696
- pathParameters: {
14697
- customerId: string;
14698
- };
14699
- } & {
14700
14462
  headers?: Partial<{
14701
14463
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14702
14464
  }>;
14465
+ } & {
14466
+ pathParameters: {
14467
+ customerInviteId: string;
14468
+ };
14703
14469
  } & {
14704
14470
  headers: {
14705
14471
  "x-access-token"?: string | undefined;
@@ -14707,19 +14473,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14707
14473
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14708
14474
  }>;
14709
14475
  }, import("@mittwald/api-client-commons").Response<{
14476
+ avatarRefId?: string | undefined;
14710
14477
  customerId: string;
14711
- customerNumber: string;
14712
- name: string;
14478
+ customerName: string;
14479
+ id: string;
14480
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14481
+ mailAddress: string;
14482
+ membershipExpiresAt?: string | undefined;
14483
+ message?: string | undefined;
14484
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14713
14485
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14714
14486
  [x: string]: unknown;
14715
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14716
- [x: string]: unknown;
14717
14487
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14718
14488
  [x: string]: unknown;
14719
14489
  }, 429, "application/json">>>;
14720
- /** Delete a customer profile. */
14721
- deleteCustomer: (request: {
14722
- customerId: string;
14490
+ /** Delete a CustomerInvite. */
14491
+ deleteCustomerInvite: (request: {
14492
+ customerInviteId: string;
14723
14493
  headers?: {
14724
14494
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14725
14495
  "x-access-token"?: string | undefined;
@@ -14730,7 +14500,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14730
14500
  }>;
14731
14501
  } & {
14732
14502
  pathParameters: {
14733
- customerId: string;
14503
+ customerInviteId: string;
14734
14504
  };
14735
14505
  } & {
14736
14506
  headers: {
@@ -14738,13 +14508,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14738
14508
  } & Partial<{
14739
14509
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14740
14510
  }>;
14741
- }, import("@mittwald/api-client-commons").Response<{
14742
- customerId?: string | undefined;
14743
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14744
- [x: string]: unknown;
14745
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14746
- [x: string]: unknown;
14747
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14511
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14748
14512
  [x: string]: unknown;
14749
14513
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14750
14514
  headers?: Partial<{
@@ -14752,7 +14516,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14752
14516
  }>;
14753
14517
  } & {
14754
14518
  pathParameters: {
14755
- customerId: string;
14519
+ customerInviteId: string;
14756
14520
  };
14757
14521
  } & {
14758
14522
  headers: {
@@ -14760,43 +14524,43 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14760
14524
  } & Partial<{
14761
14525
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14762
14526
  }>;
14763
- }, import("@mittwald/api-client-commons").Response<{
14764
- customerId?: string | undefined;
14765
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14766
- [x: string]: unknown;
14767
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14768
- [x: string]: unknown;
14769
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14527
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14770
14528
  [x: string]: unknown;
14771
14529
  }, 429, "application/json">>>;
14772
- /** Get a CustomerInvite by token. */
14773
- getCustomerTokenInvite: (request: {
14774
- headers: {
14530
+ /** Get a CustomerMembership. */
14531
+ getCustomerMembership: (request: {
14532
+ customerMembershipId: string;
14533
+ headers?: {
14775
14534
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14776
- token: string;
14777
14535
  "x-access-token"?: string | undefined;
14778
- };
14536
+ } | undefined;
14779
14537
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14780
14538
  headers?: Partial<{
14781
14539
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14782
14540
  }>;
14541
+ } & {
14542
+ pathParameters: {
14543
+ customerMembershipId: string;
14544
+ };
14783
14545
  } & {
14784
14546
  headers: {
14785
- token: string;
14786
14547
  "x-access-token"?: string | undefined;
14787
14548
  } & Partial<{
14788
14549
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14789
14550
  }>;
14790
14551
  }, import("@mittwald/api-client-commons").Response<{
14791
- avatarRefId?: string | undefined;
14552
+ avatarRef?: string | undefined;
14792
14553
  customerId: string;
14793
- customerName: string;
14554
+ email: string;
14555
+ expiresAt?: string | undefined;
14556
+ firstName: string;
14794
14557
  id: string;
14795
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14796
- mailAddress: string;
14797
- membershipExpiresAt?: string | undefined;
14798
- message?: string | undefined;
14558
+ inviteId?: string | undefined;
14559
+ lastName: string;
14560
+ memberSince?: string | undefined;
14561
+ mfa: boolean;
14799
14562
  role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14563
+ userId: string;
14800
14564
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14801
14565
  [x: string]: unknown;
14802
14566
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -14805,31 +14569,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14805
14569
  headers?: Partial<{
14806
14570
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14807
14571
  }>;
14572
+ } & {
14573
+ pathParameters: {
14574
+ customerMembershipId: string;
14575
+ };
14808
14576
  } & {
14809
14577
  headers: {
14810
- token: string;
14811
14578
  "x-access-token"?: string | undefined;
14812
14579
  } & Partial<{
14813
14580
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14814
14581
  }>;
14815
14582
  }, import("@mittwald/api-client-commons").Response<{
14816
- avatarRefId?: string | undefined;
14583
+ avatarRef?: string | undefined;
14817
14584
  customerId: string;
14818
- customerName: string;
14585
+ email: string;
14586
+ expiresAt?: string | undefined;
14587
+ firstName: string;
14819
14588
  id: string;
14820
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14821
- mailAddress: string;
14822
- membershipExpiresAt?: string | undefined;
14823
- message?: string | undefined;
14589
+ inviteId?: string | undefined;
14590
+ lastName: string;
14591
+ memberSince?: string | undefined;
14592
+ mfa: boolean;
14824
14593
  role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14594
+ userId: string;
14825
14595
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14826
14596
  [x: string]: unknown;
14827
14597
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14828
14598
  [x: string]: unknown;
14829
14599
  }, 429, "application/json">>>;
14830
- /** Check if the customer profile has a valid contract partner configured. */
14831
- isCustomerLegallyCompetent: (request: {
14832
- customerId: string;
14600
+ /** Delete a CustomerMembership. */
14601
+ deleteCustomerMembership: (request: {
14602
+ customerMembershipId: string;
14833
14603
  headers?: {
14834
14604
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14835
14605
  "x-access-token"?: string | undefined;
@@ -14840,7 +14610,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14840
14610
  }>;
14841
14611
  } & {
14842
14612
  pathParameters: {
14843
- customerId: string;
14613
+ customerMembershipId: string;
14844
14614
  };
14845
14615
  } & {
14846
14616
  headers: {
@@ -14848,13 +14618,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14848
14618
  } & Partial<{
14849
14619
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14850
14620
  }>;
14851
- }, import("@mittwald/api-client-commons").Response<{
14852
- isLegallyCompetent?: boolean | undefined;
14853
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14854
- [x: string]: unknown;
14855
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14856
- [x: string]: unknown;
14857
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14621
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14858
14622
  [x: string]: unknown;
14859
14623
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14860
14624
  headers?: Partial<{
@@ -14862,7 +14626,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14862
14626
  }>;
14863
14627
  } & {
14864
14628
  pathParameters: {
14865
- customerId: string;
14629
+ customerMembershipId: string;
14866
14630
  };
14867
14631
  } & {
14868
14632
  headers: {
@@ -14870,37 +14634,31 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14870
14634
  } & Partial<{
14871
14635
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14872
14636
  }>;
14873
- }, import("@mittwald/api-client-commons").Response<{
14874
- isLegallyCompetent?: boolean | undefined;
14875
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14876
- [x: string]: unknown;
14877
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14878
- [x: string]: unknown;
14879
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14637
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14880
14638
  [x: string]: unknown;
14881
14639
  }, 429, "application/json">>>;
14882
- /** List CustomerInvites belonging to the executing user. */
14883
- listCustomerInvites: (request?: {
14640
+ /** Update a CustomerMembership. */
14641
+ updateCustomerMembership: (request: {
14642
+ data: {
14643
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14644
+ expiresAt?: string | undefined;
14645
+ };
14646
+ customerMembershipId: string;
14884
14647
  headers?: {
14885
14648
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14886
14649
  "x-access-token"?: string | undefined;
14887
14650
  } | undefined;
14888
- queryParameters?: {
14889
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14890
- limit?: number | undefined;
14891
- skip?: number | undefined;
14892
- page?: number | undefined;
14893
- } | undefined;
14894
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14895
- headers?: Partial<{
14896
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14897
- }>;
14651
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14652
+ data: {
14653
+ expiresAt?: string | undefined;
14654
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14655
+ };
14898
14656
  } & {
14899
- queryParameters: {
14900
- limit?: number | undefined;
14901
- skip?: number | undefined;
14902
- page?: number | undefined;
14903
- } & Partial<{
14657
+ pathParameters: {
14658
+ customerMembershipId: string;
14659
+ };
14660
+ } & {
14661
+ headers?: Partial<{
14904
14662
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14905
14663
  }>;
14906
14664
  } & {
@@ -14909,22 +14667,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14909
14667
  } & Partial<{
14910
14668
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14911
14669
  }>;
14912
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14913
- [x: string]: unknown;
14914
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14915
- [x: string]: unknown;
14916
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14670
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14917
14671
  [x: string]: unknown;
14918
14672
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14919
- headers?: Partial<{
14920
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14921
- }>;
14673
+ data: {
14674
+ expiresAt?: string | undefined;
14675
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14676
+ };
14922
14677
  } & {
14923
- queryParameters: {
14924
- limit?: number | undefined;
14925
- skip?: number | undefined;
14926
- page?: number | undefined;
14927
- } & Partial<{
14678
+ pathParameters: {
14679
+ customerMembershipId: string;
14680
+ };
14681
+ } & {
14682
+ headers?: Partial<{
14928
14683
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14929
14684
  }>;
14930
14685
  } & {
@@ -14933,15 +14688,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14933
14688
  } & Partial<{
14934
14689
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14935
14690
  }>;
14936
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14937
- [x: string]: unknown;
14938
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14939
- [x: string]: unknown;
14940
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14691
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14941
14692
  [x: string]: unknown;
14942
14693
  }, 429, "application/json">>>;
14943
- /** List CustomerMemberships belonging to the executing user. */
14944
- listCustomerMemberships: (request?: {
14694
+ /** List Invites belonging to a Customer. */
14695
+ listInvitesForCustomer: (request: {
14696
+ customerId: string;
14945
14697
  headers?: {
14946
14698
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14947
14699
  "x-access-token"?: string | undefined;
@@ -14950,21 +14702,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14950
14702
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14951
14703
  limit?: number | undefined;
14952
14704
  skip?: number | undefined;
14953
- page?: number | undefined;
14954
- hasExpiry?: boolean | undefined;
14955
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
14956
14705
  } | undefined;
14957
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14706
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14958
14707
  headers?: Partial<{
14959
14708
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14960
14709
  }>;
14710
+ } & {
14711
+ pathParameters: {
14712
+ customerId: string;
14713
+ };
14961
14714
  } & {
14962
14715
  queryParameters: {
14963
14716
  limit?: number | undefined;
14964
14717
  skip?: number | undefined;
14965
- page?: number | undefined;
14966
- hasExpiry?: boolean | undefined;
14967
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
14968
14718
  } & Partial<{
14969
14719
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14970
14720
  }>;
@@ -14974,9 +14724,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14974
14724
  } & Partial<{
14975
14725
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14976
14726
  }>;
14977
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14978
- [x: string]: unknown;
14979
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14727
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14980
14728
  [x: string]: unknown;
14981
14729
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14982
14730
  [x: string]: unknown;
@@ -14984,13 +14732,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14984
14732
  headers?: Partial<{
14985
14733
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14986
14734
  }>;
14735
+ } & {
14736
+ pathParameters: {
14737
+ customerId: string;
14738
+ };
14987
14739
  } & {
14988
14740
  queryParameters: {
14989
14741
  limit?: number | undefined;
14990
14742
  skip?: number | undefined;
14991
- page?: number | undefined;
14992
- hasExpiry?: boolean | undefined;
14993
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
14994
14743
  } & Partial<{
14995
14744
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14996
14745
  }>;
@@ -15000,42 +14749,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15000
14749
  } & Partial<{
15001
14750
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15002
14751
  }>;
15003
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15004
- [x: string]: unknown;
15005
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14752
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15006
14753
  [x: string]: unknown;
15007
14754
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15008
14755
  [x: string]: unknown;
15009
14756
  }, 429, "application/json">>>;
15010
- /** List Memberships belonging to a Customer. */
15011
- listMembershipsForCustomer: (request: {
14757
+ /** Create a CustomerInvite. */
14758
+ createCustomerInvite: (request: {
14759
+ data: {
14760
+ mailAddress: string;
14761
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14762
+ membershipExpiresAt?: string | undefined;
14763
+ message?: string | undefined;
14764
+ };
15012
14765
  customerId: string;
15013
14766
  headers?: {
15014
14767
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15015
14768
  "x-access-token"?: string | undefined;
15016
14769
  } | undefined;
15017
- queryParameters?: {
15018
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15019
- limit?: number | undefined;
15020
- skip?: number | undefined;
15021
- hasExpiry?: boolean | undefined;
15022
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15023
- } | undefined;
15024
14770
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15025
- headers?: Partial<{
15026
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15027
- }>;
14771
+ data: {
14772
+ mailAddress: string;
14773
+ membershipExpiresAt?: string | undefined;
14774
+ message?: string | undefined;
14775
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14776
+ };
15028
14777
  } & {
15029
14778
  pathParameters: {
15030
14779
  customerId: string;
15031
14780
  };
15032
14781
  } & {
15033
- queryParameters: {
15034
- limit?: number | undefined;
15035
- skip?: number | undefined;
15036
- hasExpiry?: boolean | undefined;
15037
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15038
- } & Partial<{
14782
+ headers?: Partial<{
15039
14783
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15040
14784
  }>;
15041
14785
  } & {
@@ -15044,25 +14788,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15044
14788
  } & Partial<{
15045
14789
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15046
14790
  }>;
15047
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14791
+ }, import("@mittwald/api-client-commons").Response<{
14792
+ avatarRefId?: string | undefined;
14793
+ customerId: string;
14794
+ customerName: string;
14795
+ id: string;
14796
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14797
+ mailAddress: string;
14798
+ membershipExpiresAt?: string | undefined;
14799
+ message?: string | undefined;
14800
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14801
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15048
14802
  [x: string]: unknown;
15049
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14803
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14804
+ [x: string]: unknown;
14805
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14806
+ [x: string]: unknown;
14807
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
15050
14808
  [x: string]: unknown;
15051
14809
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15052
- headers?: Partial<{
15053
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15054
- }>;
14810
+ data: {
14811
+ mailAddress: string;
14812
+ membershipExpiresAt?: string | undefined;
14813
+ message?: string | undefined;
14814
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14815
+ };
15055
14816
  } & {
15056
14817
  pathParameters: {
15057
14818
  customerId: string;
15058
14819
  };
15059
14820
  } & {
15060
- queryParameters: {
15061
- limit?: number | undefined;
15062
- skip?: number | undefined;
15063
- hasExpiry?: boolean | undefined;
15064
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15065
- } & Partial<{
14821
+ headers?: Partial<{
15066
14822
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15067
14823
  }>;
15068
14824
  } & {
@@ -15071,141 +14827,148 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15071
14827
  } & Partial<{
15072
14828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15073
14829
  }>;
15074
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14830
+ }, import("@mittwald/api-client-commons").Response<{
14831
+ avatarRefId?: string | undefined;
14832
+ customerId: string;
14833
+ customerName: string;
14834
+ id: string;
14835
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14836
+ mailAddress: string;
14837
+ membershipExpiresAt?: string | undefined;
14838
+ message?: string | undefined;
14839
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14840
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15075
14841
  [x: string]: unknown;
15076
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14842
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14843
+ [x: string]: unknown;
14844
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14845
+ [x: string]: unknown;
14846
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
15077
14847
  [x: string]: unknown;
15078
14848
  }, 429, "application/json">>>;
15079
- /** Request a new avatar upload for the customer profile. */
15080
- requestAvatarUpload: (request: {
15081
- customerId: string;
14849
+ /** Accept a CustomerInvite. */
14850
+ acceptCustomerInvite: (request: {
14851
+ customerInviteId: string;
14852
+ data?: {
14853
+ invitationToken?: string | undefined;
14854
+ } | undefined;
15082
14855
  headers?: {
15083
14856
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15084
14857
  "x-access-token"?: string | undefined;
15085
14858
  } | undefined;
15086
14859
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15087
- headers?: Partial<{
15088
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15089
- }>;
14860
+ data: {
14861
+ invitationToken?: string | undefined;
14862
+ };
15090
14863
  } & {
15091
14864
  pathParameters: {
15092
- customerId: string;
14865
+ customerInviteId: string;
15093
14866
  };
14867
+ } & {
14868
+ headers?: Partial<{
14869
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14870
+ }>;
15094
14871
  } & {
15095
14872
  headers: {
15096
14873
  "x-access-token"?: string | undefined;
15097
14874
  } & Partial<{
15098
14875
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15099
14876
  }>;
15100
- }, import("@mittwald/api-client-commons").Response<{
15101
- refId: string;
15102
- rules: {
15103
- maxSizeInKB: number;
15104
- mimeTypes: string[];
15105
- properties?: {
15106
- imageDimensions?: {
15107
- max?: {
15108
- height?: number;
15109
- width?: number;
15110
- };
15111
- min?: {
15112
- height?: number;
15113
- width?: number;
15114
- };
15115
- };
15116
- };
15117
- };
15118
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14877
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15119
14878
  [x: string]: unknown;
15120
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14879
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15121
14880
  [x: string]: unknown;
15122
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15123
- headers?: Partial<{
15124
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15125
- }>;
14881
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14882
+ [x: string]: unknown;
14883
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14884
+ [x: string]: unknown;
14885
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14886
+ data: {
14887
+ invitationToken?: string | undefined;
14888
+ };
15126
14889
  } & {
15127
14890
  pathParameters: {
15128
- customerId: string;
14891
+ customerInviteId: string;
15129
14892
  };
14893
+ } & {
14894
+ headers?: Partial<{
14895
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14896
+ }>;
15130
14897
  } & {
15131
14898
  headers: {
15132
14899
  "x-access-token"?: string | undefined;
15133
14900
  } & Partial<{
15134
14901
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15135
14902
  }>;
15136
- }, import("@mittwald/api-client-commons").Response<{
15137
- refId: string;
15138
- rules: {
15139
- maxSizeInKB: number;
15140
- mimeTypes: string[];
15141
- properties?: {
15142
- imageDimensions?: {
15143
- max?: {
15144
- height?: number;
15145
- width?: number;
15146
- };
15147
- min?: {
15148
- height?: number;
15149
- width?: number;
15150
- };
15151
- };
15152
- };
15153
- };
15154
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14903
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15155
14904
  [x: string]: unknown;
15156
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14905
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15157
14906
  [x: string]: unknown;
15158
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "application/json">>>;
15159
- /** Remove the avatar picture of the customer profile. */
15160
- removeAvatar: (request: {
15161
- customerId: string;
15162
- headers?: {
14907
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14908
+ [x: string]: unknown;
14909
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
14910
+ [x: string]: unknown;
14911
+ }, 429, "application/json">>>;
14912
+ /** Get a CustomerInvite by token. */
14913
+ getCustomerTokenInvite: (request: {
14914
+ headers: {
15163
14915
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14916
+ token: string;
15164
14917
  "x-access-token"?: string | undefined;
15165
- } | undefined;
14918
+ };
15166
14919
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15167
14920
  headers?: Partial<{
15168
14921
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15169
14922
  }>;
15170
- } & {
15171
- pathParameters: {
15172
- customerId: string;
15173
- };
15174
14923
  } & {
15175
14924
  headers: {
14925
+ token: string;
15176
14926
  "x-access-token"?: string | undefined;
15177
14927
  } & Partial<{
15178
14928
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15179
14929
  }>;
15180
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15181
- [x: string]: unknown;
15182
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14930
+ }, import("@mittwald/api-client-commons").Response<{
14931
+ avatarRefId?: string | undefined;
14932
+ customerId: string;
14933
+ customerName: string;
14934
+ id: string;
14935
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14936
+ mailAddress: string;
14937
+ membershipExpiresAt?: string | undefined;
14938
+ message?: string | undefined;
14939
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14940
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15183
14941
  [x: string]: unknown;
15184
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14942
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15185
14943
  [x: string]: unknown;
15186
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14944
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15187
14945
  headers?: Partial<{
15188
14946
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15189
14947
  }>;
15190
- } & {
15191
- pathParameters: {
15192
- customerId: string;
15193
- };
15194
14948
  } & {
15195
14949
  headers: {
14950
+ token: string;
15196
14951
  "x-access-token"?: string | undefined;
15197
14952
  } & Partial<{
15198
14953
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15199
14954
  }>;
15200
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15201
- [x: string]: unknown;
15202
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14955
+ }, import("@mittwald/api-client-commons").Response<{
14956
+ avatarRefId?: string | undefined;
14957
+ customerId: string;
14958
+ customerName: string;
14959
+ id: string;
14960
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
14961
+ mailAddress: string;
14962
+ membershipExpiresAt?: string | undefined;
14963
+ message?: string | undefined;
14964
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
14965
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15203
14966
  [x: string]: unknown;
15204
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14967
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15205
14968
  [x: string]: unknown;
15206
- }, 500, "application/json">>>;
15207
- /** Resend the mail for a CustomerInvite. */
15208
- resendCustomerInviteMail: (request: {
14969
+ }, 429, "application/json">>>;
14970
+ /** Decline a CustomerInvite. */
14971
+ declineCustomerInvite: (request: {
15209
14972
  customerInviteId: string;
15210
14973
  headers?: {
15211
14974
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -15227,8 +14990,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15227
14990
  }>;
15228
14991
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15229
14992
  [x: string]: unknown;
15230
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15231
- [x: string]: unknown;
15232
14993
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15233
14994
  headers?: Partial<{
15234
14995
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -15245,109 +15006,112 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15245
15006
  }>;
15246
15007
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15247
15008
  [x: string]: unknown;
15248
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15249
- [x: string]: unknown;
15250
15009
  }, 429, "application/json">>>;
15251
- };
15252
- /** The database API allows you to manage your databases, like MySQL and Redis databases. */
15253
- readonly database: {
15254
- /** Copy a MySQLDatabase with a MySQLUser. */
15255
- copyMysqlDatabase: (request: {
15256
- data: {
15257
- description: string;
15258
- user: {
15259
- accessLevel: "full";
15260
- password: string;
15261
- accessIpMask?: string | undefined;
15262
- externalAccess?: boolean | undefined;
15263
- };
15264
- };
15265
- mysqlDatabaseId: string;
15010
+ /** List CustomerMemberships belonging to the executing user. */
15011
+ listCustomerMemberships: (request?: {
15266
15012
  headers?: {
15267
15013
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15268
15014
  "x-access-token"?: string | undefined;
15269
15015
  } | undefined;
15270
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15271
- data: {
15272
- description: string;
15273
- user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
15274
- };
15275
- } & {
15276
- pathParameters: {
15277
- mysqlDatabaseId: string;
15278
- };
15279
- } & {
15016
+ queryParameters?: {
15017
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15018
+ limit?: number | undefined;
15019
+ skip?: number | undefined;
15020
+ page?: number | undefined;
15021
+ hasExpiry?: boolean | undefined;
15022
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15023
+ } | undefined;
15024
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15280
15025
  headers?: Partial<{
15281
15026
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15282
15027
  }>;
15028
+ } & {
15029
+ queryParameters: {
15030
+ limit?: number | undefined;
15031
+ skip?: number | undefined;
15032
+ page?: number | undefined;
15033
+ hasExpiry?: boolean | undefined;
15034
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15035
+ } & Partial<{
15036
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15037
+ }>;
15283
15038
  } & {
15284
15039
  headers: {
15285
15040
  "x-access-token"?: string | undefined;
15286
15041
  } & Partial<{
15287
15042
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15288
15043
  }>;
15289
- }, import("@mittwald/api-client-commons").Response<{
15290
- id: string;
15291
- userId: string;
15292
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15044
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15293
15045
  [x: string]: unknown;
15294
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15046
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15295
15047
  [x: string]: unknown;
15296
15048
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15297
15049
  [x: string]: unknown;
15298
15050
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15299
- data: {
15300
- description: string;
15301
- user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
15302
- };
15303
- } & {
15304
- pathParameters: {
15305
- mysqlDatabaseId: string;
15306
- };
15307
- } & {
15308
15051
  headers?: Partial<{
15309
15052
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15310
15053
  }>;
15054
+ } & {
15055
+ queryParameters: {
15056
+ limit?: number | undefined;
15057
+ skip?: number | undefined;
15058
+ page?: number | undefined;
15059
+ hasExpiry?: boolean | undefined;
15060
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15061
+ } & Partial<{
15062
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15063
+ }>;
15311
15064
  } & {
15312
15065
  headers: {
15313
15066
  "x-access-token"?: string | undefined;
15314
15067
  } & Partial<{
15315
15068
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15316
15069
  }>;
15317
- }, import("@mittwald/api-client-commons").Response<{
15318
- id: string;
15319
- userId: string;
15320
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15070
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15321
15071
  [x: string]: unknown;
15322
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15072
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15323
15073
  [x: string]: unknown;
15324
15074
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15325
15075
  [x: string]: unknown;
15326
15076
  }, 429, "application/json">>>;
15327
- /** List MySQLDatabases belonging to a Project. */
15328
- listMysqlDatabases: (request: {
15329
- projectId: string;
15077
+ /** List Memberships belonging to a Customer. */
15078
+ listMembershipsForCustomer: (request: {
15079
+ customerId: string;
15330
15080
  headers?: {
15331
15081
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15332
15082
  "x-access-token"?: string | undefined;
15333
15083
  } | undefined;
15084
+ queryParameters?: {
15085
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15086
+ limit?: number | undefined;
15087
+ skip?: number | undefined;
15088
+ hasExpiry?: boolean | undefined;
15089
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15090
+ } | undefined;
15334
15091
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15335
15092
  headers?: Partial<{
15336
15093
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15337
15094
  }>;
15338
15095
  } & {
15339
15096
  pathParameters: {
15340
- projectId: string;
15097
+ customerId: string;
15341
15098
  };
15099
+ } & {
15100
+ queryParameters: {
15101
+ limit?: number | undefined;
15102
+ skip?: number | undefined;
15103
+ hasExpiry?: boolean | undefined;
15104
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15105
+ } & Partial<{
15106
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15107
+ }>;
15342
15108
  } & {
15343
15109
  headers: {
15344
15110
  "x-access-token"?: string | undefined;
15345
15111
  } & Partial<{
15346
15112
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15347
15113
  }>;
15348
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15349
- [x: string]: unknown;
15350
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15114
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15351
15115
  [x: string]: unknown;
15352
15116
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15353
15117
  [x: string]: unknown;
@@ -15357,26 +15121,262 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15357
15121
  }>;
15358
15122
  } & {
15359
15123
  pathParameters: {
15360
- projectId: string;
15124
+ customerId: string;
15361
15125
  };
15126
+ } & {
15127
+ queryParameters: {
15128
+ limit?: number | undefined;
15129
+ skip?: number | undefined;
15130
+ hasExpiry?: boolean | undefined;
15131
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
15132
+ } & Partial<{
15133
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15134
+ }>;
15362
15135
  } & {
15363
15136
  headers: {
15364
15137
  "x-access-token"?: string | undefined;
15365
15138
  } & Partial<{
15366
15139
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15367
15140
  }>;
15368
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15369
- [x: string]: unknown;
15370
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15141
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15371
15142
  [x: string]: unknown;
15372
15143
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15373
15144
  [x: string]: unknown;
15374
15145
  }, 429, "application/json">>>;
15375
- /** Create a MySQLDatabase with a MySQLUser. */
15376
- createMysqlDatabase: (request: {
15377
- data: {
15378
- database: {
15379
- description: string;
15146
+ /** List CustomerInvites belonging to the executing user. */
15147
+ listCustomerInvites: (request?: {
15148
+ headers?: {
15149
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15150
+ "x-access-token"?: string | undefined;
15151
+ } | undefined;
15152
+ queryParameters?: {
15153
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15154
+ limit?: number | undefined;
15155
+ skip?: number | undefined;
15156
+ page?: number | undefined;
15157
+ } | undefined;
15158
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15159
+ headers?: Partial<{
15160
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15161
+ }>;
15162
+ } & {
15163
+ queryParameters: {
15164
+ limit?: number | undefined;
15165
+ skip?: number | undefined;
15166
+ page?: number | undefined;
15167
+ } & Partial<{
15168
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15169
+ }>;
15170
+ } & {
15171
+ headers: {
15172
+ "x-access-token"?: string | undefined;
15173
+ } & Partial<{
15174
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15175
+ }>;
15176
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15177
+ [x: string]: unknown;
15178
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15179
+ [x: string]: unknown;
15180
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15181
+ [x: string]: unknown;
15182
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15183
+ headers?: Partial<{
15184
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15185
+ }>;
15186
+ } & {
15187
+ queryParameters: {
15188
+ limit?: number | undefined;
15189
+ skip?: number | undefined;
15190
+ page?: number | undefined;
15191
+ } & Partial<{
15192
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15193
+ }>;
15194
+ } & {
15195
+ headers: {
15196
+ "x-access-token"?: string | undefined;
15197
+ } & Partial<{
15198
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15199
+ }>;
15200
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15201
+ [x: string]: unknown;
15202
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15203
+ [x: string]: unknown;
15204
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15205
+ [x: string]: unknown;
15206
+ }, 429, "application/json">>>;
15207
+ /** Resend the mail for a CustomerInvite. */
15208
+ resendCustomerInviteMail: (request: {
15209
+ customerInviteId: string;
15210
+ headers?: {
15211
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15212
+ "x-access-token"?: string | undefined;
15213
+ } | undefined;
15214
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15215
+ headers?: Partial<{
15216
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15217
+ }>;
15218
+ } & {
15219
+ pathParameters: {
15220
+ customerInviteId: string;
15221
+ };
15222
+ } & {
15223
+ headers: {
15224
+ "x-access-token"?: string | undefined;
15225
+ } & Partial<{
15226
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15227
+ }>;
15228
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15229
+ [x: string]: unknown;
15230
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15231
+ [x: string]: unknown;
15232
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15233
+ headers?: Partial<{
15234
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15235
+ }>;
15236
+ } & {
15237
+ pathParameters: {
15238
+ customerInviteId: string;
15239
+ };
15240
+ } & {
15241
+ headers: {
15242
+ "x-access-token"?: string | undefined;
15243
+ } & Partial<{
15244
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15245
+ }>;
15246
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
15247
+ [x: string]: unknown;
15248
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
15249
+ [x: string]: unknown;
15250
+ }, 429, "application/json">>>;
15251
+ };
15252
+ /** The database API allows you to manage your databases, like MySQL and Redis databases. */
15253
+ readonly database: {
15254
+ /** Copy a MySQLDatabase with a MySQLUser. */
15255
+ copyMysqlDatabase: (request: {
15256
+ data: {
15257
+ description: string;
15258
+ user: {
15259
+ accessLevel: "full";
15260
+ password: string;
15261
+ accessIpMask?: string | undefined;
15262
+ externalAccess?: boolean | undefined;
15263
+ };
15264
+ };
15265
+ mysqlDatabaseId: string;
15266
+ headers?: {
15267
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15268
+ "x-access-token"?: string | undefined;
15269
+ } | undefined;
15270
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15271
+ data: {
15272
+ description: string;
15273
+ user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
15274
+ };
15275
+ } & {
15276
+ pathParameters: {
15277
+ mysqlDatabaseId: string;
15278
+ };
15279
+ } & {
15280
+ headers?: Partial<{
15281
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15282
+ }>;
15283
+ } & {
15284
+ headers: {
15285
+ "x-access-token"?: string | undefined;
15286
+ } & Partial<{
15287
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15288
+ }>;
15289
+ }, import("@mittwald/api-client-commons").Response<{
15290
+ id: string;
15291
+ userId: string;
15292
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15293
+ [x: string]: unknown;
15294
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15295
+ [x: string]: unknown;
15296
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15297
+ [x: string]: unknown;
15298
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15299
+ data: {
15300
+ description: string;
15301
+ user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
15302
+ };
15303
+ } & {
15304
+ pathParameters: {
15305
+ mysqlDatabaseId: string;
15306
+ };
15307
+ } & {
15308
+ headers?: Partial<{
15309
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15310
+ }>;
15311
+ } & {
15312
+ headers: {
15313
+ "x-access-token"?: string | undefined;
15314
+ } & Partial<{
15315
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15316
+ }>;
15317
+ }, import("@mittwald/api-client-commons").Response<{
15318
+ id: string;
15319
+ userId: string;
15320
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
15321
+ [x: string]: unknown;
15322
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15323
+ [x: string]: unknown;
15324
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15325
+ [x: string]: unknown;
15326
+ }, 429, "application/json">>>;
15327
+ /** List MySQLDatabases belonging to a Project. */
15328
+ listMysqlDatabases: (request: {
15329
+ projectId: string;
15330
+ headers?: {
15331
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
15332
+ "x-access-token"?: string | undefined;
15333
+ } | undefined;
15334
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15335
+ headers?: Partial<{
15336
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15337
+ }>;
15338
+ } & {
15339
+ pathParameters: {
15340
+ projectId: string;
15341
+ };
15342
+ } & {
15343
+ headers: {
15344
+ "x-access-token"?: string | undefined;
15345
+ } & Partial<{
15346
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15347
+ }>;
15348
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15349
+ [x: string]: unknown;
15350
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15351
+ [x: string]: unknown;
15352
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15353
+ [x: string]: unknown;
15354
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
15355
+ headers?: Partial<{
15356
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15357
+ }>;
15358
+ } & {
15359
+ pathParameters: {
15360
+ projectId: string;
15361
+ };
15362
+ } & {
15363
+ headers: {
15364
+ "x-access-token"?: string | undefined;
15365
+ } & Partial<{
15366
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
15367
+ }>;
15368
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
15369
+ [x: string]: unknown;
15370
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15371
+ [x: string]: unknown;
15372
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
15373
+ [x: string]: unknown;
15374
+ }, 429, "application/json">>>;
15375
+ /** Create a MySQLDatabase with a MySQLUser. */
15376
+ createMysqlDatabase: (request: {
15377
+ data: {
15378
+ database: {
15379
+ description: string;
15380
15380
  version: string;
15381
15381
  characterSettings?: {
15382
15382
  characterSet: string;
@@ -26771,23 +26771,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26771
26771
  };
26772
26772
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
26773
26773
  readonly project: {
26774
- /** Accept a ProjectInvite. */
26775
- acceptProjectInvite: (request: {
26776
- projectInviteId: string;
26777
- data?: {
26778
- invitationToken?: string | undefined;
26779
- } | undefined;
26774
+ /** Create a Project belonging to a Server. */
26775
+ createProject: (request: {
26776
+ data: {
26777
+ description: string;
26778
+ };
26779
+ serverId: string;
26780
26780
  headers?: {
26781
26781
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26782
26782
  "x-access-token"?: string | undefined;
26783
26783
  } | undefined;
26784
26784
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26785
26785
  data: {
26786
- invitationToken?: string | undefined;
26786
+ description: string;
26787
26787
  };
26788
26788
  } & {
26789
26789
  pathParameters: {
26790
- projectInviteId: string;
26790
+ serverId: string;
26791
26791
  };
26792
26792
  } & {
26793
26793
  headers?: Partial<{
@@ -26799,7 +26799,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26799
26799
  } & Partial<{
26800
26800
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26801
26801
  }>;
26802
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26802
+ }, import("@mittwald/api-client-commons").Response<{
26803
+ id: string;
26804
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26803
26805
  [x: string]: unknown;
26804
26806
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26805
26807
  [x: string]: unknown;
@@ -26809,11 +26811,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26809
26811
  [x: string]: unknown;
26810
26812
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26811
26813
  data: {
26812
- invitationToken?: string | undefined;
26814
+ description: string;
26813
26815
  };
26814
26816
  } & {
26815
26817
  pathParameters: {
26816
- projectInviteId: string;
26818
+ serverId: string;
26817
26819
  };
26818
26820
  } & {
26819
26821
  headers?: Partial<{
@@ -26825,7 +26827,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26825
26827
  } & Partial<{
26826
26828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26827
26829
  }>;
26828
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26830
+ }, import("@mittwald/api-client-commons").Response<{
26831
+ id: string;
26832
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26829
26833
  [x: string]: unknown;
26830
26834
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26831
26835
  [x: string]: unknown;
@@ -26834,18 +26838,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26834
26838
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26835
26839
  [x: string]: unknown;
26836
26840
  }, 429, "application/json">>>;
26837
- /** List Invites belonging to a Project. */
26838
- listInvitesForProject: (request: {
26841
+ /** Request a Project avatar upload. */
26842
+ requestProjectAvatarUpload: (request: {
26839
26843
  projectId: string;
26840
26844
  headers?: {
26841
26845
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26842
26846
  "x-access-token"?: string | undefined;
26843
26847
  } | undefined;
26844
- queryParameters?: {
26845
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26846
- limit?: number | undefined;
26847
- skip?: number | undefined;
26848
- } | undefined;
26849
26848
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26850
26849
  headers?: Partial<{
26851
26850
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -26854,22 +26853,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26854
26853
  pathParameters: {
26855
26854
  projectId: string;
26856
26855
  };
26857
- } & {
26858
- queryParameters: {
26859
- limit?: number | undefined;
26860
- skip?: number | undefined;
26861
- } & Partial<{
26862
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26863
- }>;
26864
26856
  } & {
26865
26857
  headers: {
26866
26858
  "x-access-token"?: string | undefined;
26867
26859
  } & Partial<{
26868
26860
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26869
26861
  }>;
26870
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26862
+ }, import("@mittwald/api-client-commons").Response<{
26863
+ refId: string;
26864
+ rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
26865
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26871
26866
  [x: string]: unknown;
26872
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26867
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26868
+ [x: string]: unknown;
26869
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26873
26870
  [x: string]: unknown;
26874
26871
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26875
26872
  headers?: Partial<{
@@ -26879,134 +26876,85 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26879
26876
  pathParameters: {
26880
26877
  projectId: string;
26881
26878
  };
26882
- } & {
26883
- queryParameters: {
26884
- limit?: number | undefined;
26885
- skip?: number | undefined;
26886
- } & Partial<{
26887
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26888
- }>;
26889
26879
  } & {
26890
26880
  headers: {
26891
26881
  "x-access-token"?: string | undefined;
26892
26882
  } & Partial<{
26893
26883
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26894
26884
  }>;
26895
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26885
+ }, import("@mittwald/api-client-commons").Response<{
26886
+ refId: string;
26887
+ rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
26888
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26896
26889
  [x: string]: unknown;
26897
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26890
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26891
+ [x: string]: unknown;
26892
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26898
26893
  [x: string]: unknown;
26899
26894
  }, 429, "application/json">>>;
26900
- /** Create a ProjectInvite. */
26901
- createProjectInvite: (request: {
26902
- data: {
26903
- mailAddress: string;
26904
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
26905
- membershipExpiresAt?: string | undefined;
26906
- message?: string | undefined;
26907
- };
26895
+ /** Delete a Project's avatar. */
26896
+ deleteProjectAvatar: (request: {
26908
26897
  projectId: string;
26909
26898
  headers?: {
26910
26899
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26911
26900
  "x-access-token"?: string | undefined;
26912
26901
  } | undefined;
26913
26902
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26914
- data: {
26915
- mailAddress: string;
26916
- membershipExpiresAt?: string | undefined;
26917
- message?: string | undefined;
26918
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
26919
- };
26903
+ headers?: Partial<{
26904
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26905
+ }>;
26920
26906
  } & {
26921
26907
  pathParameters: {
26922
26908
  projectId: string;
26923
26909
  };
26924
- } & {
26925
- headers?: Partial<{
26926
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26927
- }>;
26928
26910
  } & {
26929
26911
  headers: {
26930
26912
  "x-access-token"?: string | undefined;
26931
26913
  } & Partial<{
26932
26914
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26933
26915
  }>;
26934
- }, import("@mittwald/api-client-commons").Response<{
26935
- avatarRefId?: string | undefined;
26936
- id: string;
26937
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
26938
- mailAddress: string;
26939
- membershipExpiresAt?: string | undefined;
26940
- message?: string | undefined;
26941
- projectDescription: string;
26942
- projectId: string;
26943
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
26944
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26916
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26945
26917
  [x: string]: unknown;
26946
26918
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26947
26919
  [x: string]: unknown;
26948
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
26920
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26949
26921
  [x: string]: unknown;
26950
26922
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26951
- data: {
26952
- mailAddress: string;
26953
- membershipExpiresAt?: string | undefined;
26954
- message?: string | undefined;
26955
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
26956
- };
26923
+ headers?: Partial<{
26924
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26925
+ }>;
26957
26926
  } & {
26958
26927
  pathParameters: {
26959
26928
  projectId: string;
26960
26929
  };
26961
- } & {
26962
- headers?: Partial<{
26963
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26964
- }>;
26965
26930
  } & {
26966
26931
  headers: {
26967
26932
  "x-access-token"?: string | undefined;
26968
26933
  } & Partial<{
26969
26934
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26970
26935
  }>;
26971
- }, import("@mittwald/api-client-commons").Response<{
26972
- avatarRefId?: string | undefined;
26973
- id: string;
26974
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
26975
- mailAddress: string;
26976
- membershipExpiresAt?: string | undefined;
26977
- message?: string | undefined;
26978
- projectDescription: string;
26979
- projectId: string;
26980
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
26981
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26936
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26982
26937
  [x: string]: unknown;
26983
26938
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26984
26939
  [x: string]: unknown;
26985
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
26940
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26986
26941
  [x: string]: unknown;
26987
26942
  }, 429, "application/json">>>;
26988
- /** Create a Project belonging to a Server. */
26989
- createProject: (request: {
26990
- data: {
26991
- description: string;
26992
- };
26993
- serverId: string;
26943
+ /** Get a Project. */
26944
+ getProject: (request: {
26945
+ projectId: string;
26994
26946
  headers?: {
26995
26947
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26996
26948
  "x-access-token"?: string | undefined;
26997
26949
  } | undefined;
26998
26950
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26999
- data: {
27000
- description: string;
27001
- };
27002
- } & {
27003
- pathParameters: {
27004
- serverId: string;
27005
- };
27006
- } & {
27007
26951
  headers?: Partial<{
27008
26952
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27009
26953
  }>;
26954
+ } & {
26955
+ pathParameters: {
26956
+ projectId: string;
26957
+ };
27010
26958
  } & {
27011
26959
  headers: {
27012
26960
  "x-access-token"?: string | undefined;
@@ -27014,27 +26962,49 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27014
26962
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27015
26963
  }>;
27016
26964
  }, import("@mittwald/api-client-commons").Response<{
26965
+ backupStorageUsageInBytes: number;
26966
+ backupStorageUsageInBytesSetAt: string;
26967
+ clusterDomain?: string | undefined;
26968
+ clusterID?: string | undefined;
26969
+ clusterId?: string | undefined;
26970
+ createdAt: string;
26971
+ customerId: string;
26972
+ deletionRequested?: boolean | undefined;
26973
+ description: string;
26974
+ directories: {
26975
+ [k: string]: string;
26976
+ };
26977
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
26978
+ disabledAt?: string | undefined;
26979
+ enabled: boolean;
26980
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
27017
26981
  id: string;
27018
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27019
- [x: string]: unknown;
27020
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26982
+ imageRefId?: string | undefined;
26983
+ isReady: boolean;
26984
+ projectHostingId?: string | undefined;
26985
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
26986
+ serverId?: string | undefined;
26987
+ serverShortId?: string | undefined;
26988
+ shortId: string;
26989
+ spec?: (import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec) | undefined;
26990
+ statisticsBaseDomain?: string | undefined;
26991
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
26992
+ statusSetAt: string;
26993
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
26994
+ webStorageUsageInBytes: number;
26995
+ webStorageUsageInBytesSetAt: string;
26996
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27021
26997
  [x: string]: unknown;
27022
26998
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27023
26999
  [x: string]: unknown;
27024
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27025
- [x: string]: unknown;
27026
27000
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27027
- data: {
27028
- description: string;
27029
- };
27030
- } & {
27031
- pathParameters: {
27032
- serverId: string;
27033
- };
27034
- } & {
27035
27001
  headers?: Partial<{
27036
27002
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27037
27003
  }>;
27004
+ } & {
27005
+ pathParameters: {
27006
+ projectId: string;
27007
+ };
27038
27008
  } & {
27039
27009
  headers: {
27040
27010
  "x-access-token"?: string | undefined;
@@ -27042,19 +27012,45 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27042
27012
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27043
27013
  }>;
27044
27014
  }, import("@mittwald/api-client-commons").Response<{
27015
+ backupStorageUsageInBytes: number;
27016
+ backupStorageUsageInBytesSetAt: string;
27017
+ clusterDomain?: string | undefined;
27018
+ clusterID?: string | undefined;
27019
+ clusterId?: string | undefined;
27020
+ createdAt: string;
27021
+ customerId: string;
27022
+ deletionRequested?: boolean | undefined;
27023
+ description: string;
27024
+ directories: {
27025
+ [k: string]: string;
27026
+ };
27027
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
27028
+ disabledAt?: string | undefined;
27029
+ enabled: boolean;
27030
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
27045
27031
  id: string;
27046
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27047
- [x: string]: unknown;
27048
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27032
+ imageRefId?: string | undefined;
27033
+ isReady: boolean;
27034
+ projectHostingId?: string | undefined;
27035
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
27036
+ serverId?: string | undefined;
27037
+ serverShortId?: string | undefined;
27038
+ shortId: string;
27039
+ spec?: (import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec) | undefined;
27040
+ statisticsBaseDomain?: string | undefined;
27041
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
27042
+ statusSetAt: string;
27043
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27044
+ webStorageUsageInBytes: number;
27045
+ webStorageUsageInBytesSetAt: string;
27046
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27049
27047
  [x: string]: unknown;
27050
27048
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27051
27049
  [x: string]: unknown;
27052
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27053
- [x: string]: unknown;
27054
27050
  }, 429, "application/json">>>;
27055
- /** Decline a ProjectInvite. */
27056
- declineProjectInvite: (request: {
27057
- projectInviteId: string;
27051
+ /** Delete a Project. */
27052
+ deleteProject: (request: {
27053
+ projectId: string;
27058
27054
  headers?: {
27059
27055
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27060
27056
  "x-access-token"?: string | undefined;
@@ -27065,7 +27061,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27065
27061
  }>;
27066
27062
  } & {
27067
27063
  pathParameters: {
27068
- projectInviteId: string;
27064
+ projectId: string;
27069
27065
  };
27070
27066
  } & {
27071
27067
  headers: {
@@ -27075,13 +27071,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27075
27071
  }>;
27076
27072
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27077
27073
  [x: string]: unknown;
27078
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27074
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27075
+ [x: string]: unknown;
27076
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27077
+ [x: string]: unknown;
27078
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27079
+ [x: string]: unknown;
27080
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27081
+ [x: string]: unknown;
27082
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27079
27083
  headers?: Partial<{
27080
27084
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27081
27085
  }>;
27082
27086
  } & {
27083
27087
  pathParameters: {
27084
- projectInviteId: string;
27088
+ projectId: string;
27085
27089
  };
27086
27090
  } & {
27087
27091
  headers: {
@@ -27091,10 +27095,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27091
27095
  }>;
27092
27096
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27093
27097
  [x: string]: unknown;
27094
- }, 429, "application/json">>>;
27095
- /** Request a Project avatar upload. */
27096
- requestProjectAvatarUpload: (request: {
27097
- projectId: string;
27098
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27099
+ [x: string]: unknown;
27100
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27101
+ [x: string]: unknown;
27102
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27103
+ [x: string]: unknown;
27104
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27105
+ [x: string]: unknown;
27106
+ }, 500, "application/json">>>;
27107
+ /** Request a Server avatar upload. */
27108
+ requestServerAvatarUpload: (request: {
27109
+ serverId: string;
27098
27110
  headers?: {
27099
27111
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27100
27112
  "x-access-token"?: string | undefined;
@@ -27105,7 +27117,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27105
27117
  }>;
27106
27118
  } & {
27107
27119
  pathParameters: {
27108
- projectId: string;
27120
+ serverId: string;
27109
27121
  };
27110
27122
  } & {
27111
27123
  headers: {
@@ -27128,7 +27140,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27128
27140
  }>;
27129
27141
  } & {
27130
27142
  pathParameters: {
27131
- projectId: string;
27143
+ serverId: string;
27132
27144
  };
27133
27145
  } & {
27134
27146
  headers: {
@@ -27146,9 +27158,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27146
27158
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27147
27159
  [x: string]: unknown;
27148
27160
  }, 429, "application/json">>>;
27149
- /** Delete a Project's avatar. */
27150
- deleteProjectAvatar: (request: {
27151
- projectId: string;
27161
+ /** Delete a Server's avatar. */
27162
+ deleteServerAvatar: (request: {
27163
+ serverId: string;
27152
27164
  headers?: {
27153
27165
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27154
27166
  "x-access-token"?: string | undefined;
@@ -27159,7 +27171,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27159
27171
  }>;
27160
27172
  } & {
27161
27173
  pathParameters: {
27162
- projectId: string;
27174
+ serverId: string;
27163
27175
  };
27164
27176
  } & {
27165
27177
  headers: {
@@ -27179,7 +27191,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27179
27191
  }>;
27180
27192
  } & {
27181
27193
  pathParameters: {
27182
- projectId: string;
27194
+ serverId: string;
27183
27195
  };
27184
27196
  } & {
27185
27197
  headers: {
@@ -27194,9 +27206,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27194
27206
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27195
27207
  [x: string]: unknown;
27196
27208
  }, 429, "application/json">>>;
27197
- /** Get a ProjectInvite. */
27198
- getProjectInvite: (request: {
27199
- projectInviteId: string;
27209
+ /** Get a Server. */
27210
+ getServer: (request: {
27211
+ serverId: string;
27200
27212
  headers?: {
27201
27213
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27202
27214
  "x-access-token"?: string | undefined;
@@ -27207,7 +27219,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27207
27219
  }>;
27208
27220
  } & {
27209
27221
  pathParameters: {
27210
- projectInviteId: string;
27222
+ serverId: string;
27211
27223
  };
27212
27224
  } & {
27213
27225
  headers: {
@@ -27216,17 +27228,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27216
27228
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27217
27229
  }>;
27218
27230
  }, import("@mittwald/api-client-commons").Response<{
27219
- avatarRefId?: string | undefined;
27231
+ clusterName: string;
27232
+ createdAt: string;
27233
+ customerId: string;
27234
+ description: string;
27235
+ disabledReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason | undefined;
27220
27236
  id: string;
27221
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
27222
- mailAddress: string;
27223
- membershipExpiresAt?: string | undefined;
27224
- message?: string | undefined;
27225
- projectDescription: string;
27226
- projectId: string;
27227
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27237
+ imageRefId?: string | undefined;
27238
+ isReady: boolean;
27239
+ machineType: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectMachineType;
27240
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
27241
+ shortId: string;
27242
+ statisticsBaseDomain?: string | undefined;
27243
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
27244
+ storage: string;
27228
27245
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27229
27246
  [x: string]: unknown;
27247
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27248
+ [x: string]: unknown;
27230
27249
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27231
27250
  [x: string]: unknown;
27232
27251
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -27235,7 +27254,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27235
27254
  }>;
27236
27255
  } & {
27237
27256
  pathParameters: {
27238
- projectInviteId: string;
27257
+ serverId: string;
27239
27258
  };
27240
27259
  } & {
27241
27260
  headers: {
@@ -27244,147 +27263,244 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27244
27263
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27245
27264
  }>;
27246
27265
  }, import("@mittwald/api-client-commons").Response<{
27247
- avatarRefId?: string | undefined;
27266
+ clusterName: string;
27267
+ createdAt: string;
27268
+ customerId: string;
27269
+ description: string;
27270
+ disabledReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason | undefined;
27248
27271
  id: string;
27249
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
27250
- mailAddress: string;
27251
- membershipExpiresAt?: string | undefined;
27252
- message?: string | undefined;
27253
- projectDescription: string;
27254
- projectId: string;
27255
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27272
+ imageRefId?: string | undefined;
27273
+ isReady: boolean;
27274
+ machineType: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectMachineType;
27275
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
27276
+ shortId: string;
27277
+ statisticsBaseDomain?: string | undefined;
27278
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
27279
+ storage: string;
27256
27280
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27257
27281
  [x: string]: unknown;
27282
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27283
+ [x: string]: unknown;
27258
27284
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27259
27285
  [x: string]: unknown;
27260
27286
  }, 429, "application/json">>>;
27261
- /** Delete a ProjectInvite. */
27262
- deleteProjectInvite: (request: {
27263
- projectInviteId: string;
27287
+ /** List Projects belonging to the executing user. */
27288
+ listProjects: (request?: {
27264
27289
  headers?: {
27265
27290
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27266
27291
  "x-access-token"?: string | undefined;
27267
27292
  } | undefined;
27268
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27293
+ queryParameters?: {
27294
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27295
+ customerId?: string | undefined;
27296
+ serverId?: string | undefined;
27297
+ searchTerm?: string | undefined;
27298
+ limit?: number | undefined;
27299
+ skip?: number | undefined;
27300
+ page?: number | undefined;
27301
+ sort?: "createdAt" | "description" | undefined;
27302
+ order?: "asc" | "desc" | undefined;
27303
+ } | undefined;
27304
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27269
27305
  headers?: Partial<{
27270
27306
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27271
27307
  }>;
27272
27308
  } & {
27273
- pathParameters: {
27274
- projectInviteId: string;
27275
- };
27309
+ queryParameters: {
27310
+ customerId?: string | undefined;
27311
+ serverId?: string | undefined;
27312
+ searchTerm?: string | undefined;
27313
+ limit?: number | undefined;
27314
+ skip?: number | undefined;
27315
+ page?: number | undefined;
27316
+ sort?: "createdAt" | "description" | undefined;
27317
+ order?: "asc" | "desc" | undefined;
27318
+ } & Partial<{
27319
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27320
+ }>;
27276
27321
  } & {
27277
27322
  headers: {
27278
27323
  "x-access-token"?: string | undefined;
27279
27324
  } & Partial<{
27280
27325
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27281
27326
  }>;
27282
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27327
+ }, import("@mittwald/api-client-commons").Response<{
27328
+ backupStorageUsageInBytes: number;
27329
+ backupStorageUsageInBytesSetAt: string;
27330
+ createdAt: string;
27331
+ customerId: string;
27332
+ customerMeta: {
27333
+ id: string;
27334
+ };
27335
+ description: string;
27336
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
27337
+ disabledAt?: string;
27338
+ enabled: boolean;
27339
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27340
+ id: string;
27341
+ imageRefId?: string;
27342
+ isReady: boolean;
27343
+ projectHostingId?: string;
27344
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
27345
+ serverId?: string;
27346
+ shortId: string;
27347
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
27348
+ statusSetAt: string;
27349
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27350
+ webStorageUsageInBytes: number;
27351
+ webStorageUsageInBytesSetAt: string;
27352
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27353
+ [x: string]: unknown;
27354
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27355
+ [x: string]: unknown;
27356
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27283
27357
  [x: string]: unknown;
27284
27358
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27285
27359
  headers?: Partial<{
27286
27360
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27287
27361
  }>;
27288
27362
  } & {
27289
- pathParameters: {
27290
- projectInviteId: string;
27291
- };
27363
+ queryParameters: {
27364
+ customerId?: string | undefined;
27365
+ serverId?: string | undefined;
27366
+ searchTerm?: string | undefined;
27367
+ limit?: number | undefined;
27368
+ skip?: number | undefined;
27369
+ page?: number | undefined;
27370
+ sort?: "createdAt" | "description" | undefined;
27371
+ order?: "asc" | "desc" | undefined;
27372
+ } & Partial<{
27373
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27374
+ }>;
27292
27375
  } & {
27293
27376
  headers: {
27294
27377
  "x-access-token"?: string | undefined;
27295
27378
  } & Partial<{
27296
27379
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27297
27380
  }>;
27298
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27381
+ }, import("@mittwald/api-client-commons").Response<{
27382
+ backupStorageUsageInBytes: number;
27383
+ backupStorageUsageInBytesSetAt: string;
27384
+ createdAt: string;
27385
+ customerId: string;
27386
+ customerMeta: {
27387
+ id: string;
27388
+ };
27389
+ description: string;
27390
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
27391
+ disabledAt?: string;
27392
+ enabled: boolean;
27393
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27394
+ id: string;
27395
+ imageRefId?: string;
27396
+ isReady: boolean;
27397
+ projectHostingId?: string;
27398
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
27399
+ serverId?: string;
27400
+ shortId: string;
27401
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
27402
+ statusSetAt: string;
27403
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27404
+ webStorageUsageInBytes: number;
27405
+ webStorageUsageInBytesSetAt: string;
27406
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27407
+ [x: string]: unknown;
27408
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27409
+ [x: string]: unknown;
27410
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27299
27411
  [x: string]: unknown;
27300
27412
  }, 429, "application/json">>>;
27301
- /** Get a ProjectMembership */
27302
- getProjectMembership: (request: {
27303
- projectMembershipId: string;
27413
+ /** List Servers belonging to the executing user. */
27414
+ listServers: (request?: {
27304
27415
  headers?: {
27305
27416
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27306
27417
  "x-access-token"?: string | undefined;
27307
27418
  } | undefined;
27308
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27419
+ queryParameters?: {
27420
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27421
+ customerId?: string | undefined;
27422
+ searchTerm?: string | undefined;
27423
+ limit?: number | undefined;
27424
+ skip?: number | undefined;
27425
+ page?: number | undefined;
27426
+ sort?: "createdAt" | "description" | undefined;
27427
+ order?: "asc" | "desc" | undefined;
27428
+ } | undefined;
27429
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27309
27430
  headers?: Partial<{
27310
27431
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27311
27432
  }>;
27312
27433
  } & {
27313
- pathParameters: {
27314
- projectMembershipId: string;
27315
- };
27434
+ queryParameters: {
27435
+ customerId?: string | undefined;
27436
+ searchTerm?: string | undefined;
27437
+ limit?: number | undefined;
27438
+ skip?: number | undefined;
27439
+ page?: number | undefined;
27440
+ sort?: "createdAt" | "description" | undefined;
27441
+ order?: "asc" | "desc" | undefined;
27442
+ } & Partial<{
27443
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27444
+ }>;
27316
27445
  } & {
27317
27446
  headers: {
27318
27447
  "x-access-token"?: string | undefined;
27319
27448
  } & Partial<{
27320
27449
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27321
27450
  }>;
27322
- }, import("@mittwald/api-client-commons").Response<{
27323
- avatarRef?: string | undefined;
27324
- email: string;
27325
- expiresAt?: string | undefined;
27326
- firstName: string;
27327
- id: string;
27328
- inherited: boolean;
27329
- inviteId?: string | undefined;
27330
- lastName: string;
27331
- memberSince?: string | undefined;
27332
- mfa: boolean;
27333
- projectId: string;
27334
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27335
- userId: string;
27336
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27451
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27337
27452
  [x: string]: unknown;
27338
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27453
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27339
27454
  [x: string]: unknown;
27340
27455
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27341
27456
  headers?: Partial<{
27342
27457
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27343
27458
  }>;
27344
27459
  } & {
27345
- pathParameters: {
27346
- projectMembershipId: string;
27347
- };
27460
+ queryParameters: {
27461
+ customerId?: string | undefined;
27462
+ searchTerm?: string | undefined;
27463
+ limit?: number | undefined;
27464
+ skip?: number | undefined;
27465
+ page?: number | undefined;
27466
+ sort?: "createdAt" | "description" | undefined;
27467
+ order?: "asc" | "desc" | undefined;
27468
+ } & Partial<{
27469
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27470
+ }>;
27348
27471
  } & {
27349
27472
  headers: {
27350
27473
  "x-access-token"?: string | undefined;
27351
27474
  } & Partial<{
27352
27475
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27353
27476
  }>;
27354
- }, import("@mittwald/api-client-commons").Response<{
27355
- avatarRef?: string | undefined;
27356
- email: string;
27357
- expiresAt?: string | undefined;
27358
- firstName: string;
27359
- id: string;
27360
- inherited: boolean;
27361
- inviteId?: string | undefined;
27362
- lastName: string;
27363
- memberSince?: string | undefined;
27364
- mfa: boolean;
27365
- projectId: string;
27366
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27367
- userId: string;
27368
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27477
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27369
27478
  [x: string]: unknown;
27370
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27479
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27371
27480
  [x: string]: unknown;
27372
27481
  }, 429, "application/json">>>;
27373
- /** Delete a ProjectMembership. */
27374
- deleteProjectMembership: (request: {
27375
- projectMembershipId: string;
27482
+ /** Update a Project's description. */
27483
+ updateProjectDescription: (request: {
27484
+ data: {
27485
+ description: string;
27486
+ };
27487
+ projectId: string;
27376
27488
  headers?: {
27377
27489
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27378
27490
  "x-access-token"?: string | undefined;
27379
27491
  } | undefined;
27380
27492
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27381
- headers?: Partial<{
27382
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27383
- }>;
27493
+ data: {
27494
+ description: string;
27495
+ };
27384
27496
  } & {
27385
27497
  pathParameters: {
27386
- projectMembershipId: string;
27498
+ projectId: string;
27387
27499
  };
27500
+ } & {
27501
+ headers?: Partial<{
27502
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27503
+ }>;
27388
27504
  } & {
27389
27505
  headers: {
27390
27506
  "x-access-token"?: string | undefined;
@@ -27393,14 +27509,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27393
27509
  }>;
27394
27510
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27395
27511
  [x: string]: unknown;
27512
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27513
+ [x: string]: unknown;
27514
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27515
+ [x: string]: unknown;
27396
27516
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27397
- headers?: Partial<{
27398
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27399
- }>;
27517
+ data: {
27518
+ description: string;
27519
+ };
27400
27520
  } & {
27401
27521
  pathParameters: {
27402
- projectMembershipId: string;
27522
+ projectId: string;
27403
27523
  };
27524
+ } & {
27525
+ headers?: Partial<{
27526
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27527
+ }>;
27404
27528
  } & {
27405
27529
  headers: {
27406
27530
  "x-access-token"?: string | undefined;
@@ -27409,26 +27533,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27409
27533
  }>;
27410
27534
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27411
27535
  [x: string]: unknown;
27536
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27537
+ [x: string]: unknown;
27538
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27539
+ [x: string]: unknown;
27412
27540
  }, 429, "application/json">>>;
27413
- /** Update a ProjectMembership. */
27414
- updateProjectMembership: (request: {
27541
+ /** Update a Servers's description. */
27542
+ updateServerDescription: (request: {
27415
27543
  data: {
27416
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27417
- expiresAt?: string | undefined;
27544
+ description: string;
27418
27545
  };
27419
- projectMembershipId: string;
27546
+ serverId: string;
27420
27547
  headers?: {
27421
27548
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27422
27549
  "x-access-token"?: string | undefined;
27423
27550
  } | undefined;
27424
27551
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27425
27552
  data: {
27426
- expiresAt?: string | undefined;
27427
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27553
+ description: string;
27428
27554
  };
27429
27555
  } & {
27430
27556
  pathParameters: {
27431
- projectMembershipId: string;
27557
+ serverId: string;
27432
27558
  };
27433
27559
  } & {
27434
27560
  headers?: Partial<{
@@ -27442,14 +27568,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27442
27568
  }>;
27443
27569
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27444
27570
  [x: string]: unknown;
27571
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27572
+ [x: string]: unknown;
27573
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27574
+ [x: string]: unknown;
27445
27575
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27446
27576
  data: {
27447
- expiresAt?: string | undefined;
27448
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
27577
+ description: string;
27449
27578
  };
27450
27579
  } & {
27451
27580
  pathParameters: {
27452
- projectMembershipId: string;
27581
+ serverId: string;
27453
27582
  };
27454
27583
  } & {
27455
27584
  headers?: Partial<{
@@ -27463,9 +27592,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27463
27592
  }>;
27464
27593
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27465
27594
  [x: string]: unknown;
27595
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27596
+ [x: string]: unknown;
27597
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27598
+ [x: string]: unknown;
27466
27599
  }, 429, "application/json">>>;
27467
- /** Get a Project. */
27468
- getProject: (request: {
27600
+ /** Get storage space Statistics belonging to a Project. */
27601
+ storagespaceGetProjectStatistics: (request: {
27469
27602
  projectId: string;
27470
27603
  headers?: {
27471
27604
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -27486,42 +27619,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27486
27619
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27487
27620
  }>;
27488
27621
  }, import("@mittwald/api-client-commons").Response<{
27489
- backupStorageUsageInBytes: number;
27490
- backupStorageUsageInBytesSetAt: string;
27491
- clusterDomain?: string | undefined;
27492
- clusterID?: string | undefined;
27493
- clusterId?: string | undefined;
27494
- createdAt: string;
27495
- customerId: string;
27496
- deletionRequested?: boolean | undefined;
27497
- description: string;
27498
- directories: {
27499
- [k: string]: string;
27500
- };
27501
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
27502
- disabledAt?: string | undefined;
27503
- enabled: boolean;
27504
- features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
27622
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
27623
+ description?: string | undefined;
27505
27624
  id: string;
27506
- imageRefId?: string | undefined;
27507
- isReady: boolean;
27508
- projectHostingId?: string | undefined;
27509
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
27510
- serverId?: string | undefined;
27511
- serverShortId?: string | undefined;
27512
- shortId: string;
27513
- spec?: (import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec) | undefined;
27514
- statisticsBaseDomain?: string | undefined;
27515
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
27516
- statusSetAt: string;
27517
- supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27518
- webStorageUsageInBytes: number;
27519
- webStorageUsageInBytesSetAt: string;
27625
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
27626
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
27627
+ name: string;
27628
+ notificationThresholdInBytes?: number | undefined;
27629
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
27520
27630
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27521
27631
  [x: string]: unknown;
27632
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27633
+ [x: string]: unknown;
27522
27634
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27523
27635
  [x: string]: unknown;
27524
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27636
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27637
+ [x: string]: unknown;
27638
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27639
+ [x: string]: unknown;
27640
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27525
27641
  headers?: Partial<{
27526
27642
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27527
27643
  }>;
@@ -27536,45 +27652,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27536
27652
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27537
27653
  }>;
27538
27654
  }, import("@mittwald/api-client-commons").Response<{
27539
- backupStorageUsageInBytes: number;
27540
- backupStorageUsageInBytesSetAt: string;
27541
- clusterDomain?: string | undefined;
27542
- clusterID?: string | undefined;
27543
- clusterId?: string | undefined;
27544
- createdAt: string;
27545
- customerId: string;
27546
- deletionRequested?: boolean | undefined;
27547
- description: string;
27548
- directories: {
27549
- [k: string]: string;
27550
- };
27551
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
27552
- disabledAt?: string | undefined;
27553
- enabled: boolean;
27554
- features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
27655
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
27656
+ description?: string | undefined;
27555
27657
  id: string;
27556
- imageRefId?: string | undefined;
27557
- isReady: boolean;
27558
- projectHostingId?: string | undefined;
27559
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
27560
- serverId?: string | undefined;
27561
- serverShortId?: string | undefined;
27562
- shortId: string;
27563
- spec?: (import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec) | undefined;
27564
- statisticsBaseDomain?: string | undefined;
27565
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
27566
- statusSetAt: string;
27567
- supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
27568
- webStorageUsageInBytes: number;
27569
- webStorageUsageInBytesSetAt: string;
27658
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
27659
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
27660
+ name: string;
27661
+ notificationThresholdInBytes?: number | undefined;
27662
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
27570
27663
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27571
27664
  [x: string]: unknown;
27665
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27666
+ [x: string]: unknown;
27572
27667
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27573
27668
  [x: string]: unknown;
27574
- }, 429, "application/json">>>;
27575
- /** Delete a Project. */
27576
- deleteProject: (request: {
27577
- projectId: string;
27669
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27670
+ [x: string]: unknown;
27671
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27672
+ [x: string]: unknown;
27673
+ }, 500, "application/json">>>;
27674
+ /** Get storage space Statistics belonging to a Server. */
27675
+ storagespaceGetServerStatistics: (request: {
27676
+ serverId: string;
27578
27677
  headers?: {
27579
27678
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27580
27679
  "x-access-token"?: string | undefined;
@@ -27585,7 +27684,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27585
27684
  }>;
27586
27685
  } & {
27587
27686
  pathParameters: {
27588
- projectId: string;
27687
+ serverId: string;
27589
27688
  };
27590
27689
  } & {
27591
27690
  headers: {
@@ -27593,13 +27692,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27593
27692
  } & Partial<{
27594
27693
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27595
27694
  }>;
27596
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27695
+ }, import("@mittwald/api-client-commons").Response<{
27696
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
27697
+ description?: string | undefined;
27698
+ id: string;
27699
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
27700
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
27701
+ name: string;
27702
+ notificationThresholdInBytes?: number | undefined;
27703
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
27704
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27597
27705
  [x: string]: unknown;
27598
27706
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27599
27707
  [x: string]: unknown;
27600
27708
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27601
27709
  [x: string]: unknown;
27602
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27710
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27603
27711
  [x: string]: unknown;
27604
27712
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27605
27713
  [x: string]: unknown;
@@ -27609,7 +27717,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27609
27717
  }>;
27610
27718
  } & {
27611
27719
  pathParameters: {
27612
- projectId: string;
27720
+ serverId: string;
27613
27721
  };
27614
27722
  } & {
27615
27723
  headers: {
@@ -27617,86 +27725,131 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27617
27725
  } & Partial<{
27618
27726
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27619
27727
  }>;
27620
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27728
+ }, import("@mittwald/api-client-commons").Response<{
27729
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
27730
+ description?: string | undefined;
27731
+ id: string;
27732
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
27733
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
27734
+ name: string;
27735
+ notificationThresholdInBytes?: number | undefined;
27736
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
27737
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27621
27738
  [x: string]: unknown;
27622
27739
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27623
27740
  [x: string]: unknown;
27624
27741
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27625
27742
  [x: string]: unknown;
27626
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27743
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27627
27744
  [x: string]: unknown;
27628
27745
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27629
27746
  [x: string]: unknown;
27630
27747
  }, 500, "application/json">>>;
27631
- /** Request a Server avatar upload. */
27632
- requestServerAvatarUpload: (request: {
27633
- serverId: string;
27748
+ /** Update a Project's storage space notification threshold. */
27749
+ storagespaceReplaceProjectNotificationThreshold: (request: {
27750
+ projectId: string;
27751
+ data?: {
27752
+ notificationThresholdInBytes?: number | undefined;
27753
+ } | undefined;
27634
27754
  headers?: {
27635
27755
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27636
27756
  "x-access-token"?: string | undefined;
27637
27757
  } | undefined;
27638
27758
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27639
- headers?: Partial<{
27640
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27641
- }>;
27759
+ data: {
27760
+ notificationThresholdInBytes?: number | undefined;
27761
+ };
27642
27762
  } & {
27643
27763
  pathParameters: {
27644
- serverId: string;
27764
+ projectId: string;
27645
27765
  };
27766
+ } & {
27767
+ headers?: Partial<{
27768
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27769
+ }>;
27646
27770
  } & {
27647
27771
  headers: {
27648
27772
  "x-access-token"?: string | undefined;
27649
27773
  } & Partial<{
27650
27774
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27651
27775
  }>;
27652
- }, import("@mittwald/api-client-commons").Response<{
27653
- refId: string;
27654
- rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
27655
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27656
- [x: string]: unknown;
27657
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27776
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27658
27777
  [x: string]: unknown;
27659
27778
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27660
27779
  [x: string]: unknown;
27661
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27662
- headers?: Partial<{
27663
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27664
- }>;
27780
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27781
+ [x: string]: unknown;
27782
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27783
+ data: {
27784
+ notificationThresholdInBytes?: number | undefined;
27785
+ };
27665
27786
  } & {
27666
27787
  pathParameters: {
27667
- serverId: string;
27788
+ projectId: string;
27668
27789
  };
27790
+ } & {
27791
+ headers?: Partial<{
27792
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27793
+ }>;
27669
27794
  } & {
27670
27795
  headers: {
27671
27796
  "x-access-token"?: string | undefined;
27672
27797
  } & Partial<{
27673
27798
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27674
27799
  }>;
27675
- }, import("@mittwald/api-client-commons").Response<{
27676
- refId: string;
27677
- rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
27678
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27679
- [x: string]: unknown;
27680
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27800
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27681
27801
  [x: string]: unknown;
27682
27802
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27683
27803
  [x: string]: unknown;
27684
- }, 429, "application/json">>>;
27685
- /** Delete a Server's avatar. */
27686
- deleteServerAvatar: (request: {
27687
- serverId: string;
27688
- headers?: {
27689
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27804
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27805
+ [x: string]: unknown;
27806
+ }, 500, "application/json">>>;
27807
+ /** Update a Server's storage space notification threshold. */
27808
+ storagespaceReplaceServerNotificationThreshold: (request: {
27809
+ serverId: string;
27810
+ data?: {
27811
+ notificationThresholdInBytes?: number | undefined;
27812
+ } | undefined;
27813
+ headers?: {
27814
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27690
27815
  "x-access-token"?: string | undefined;
27691
27816
  } | undefined;
27692
27817
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27818
+ data: {
27819
+ notificationThresholdInBytes?: number | undefined;
27820
+ };
27821
+ } & {
27822
+ pathParameters: {
27823
+ serverId: string;
27824
+ };
27825
+ } & {
27693
27826
  headers?: Partial<{
27694
27827
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27695
27828
  }>;
27829
+ } & {
27830
+ headers: {
27831
+ "x-access-token"?: string | undefined;
27832
+ } & Partial<{
27833
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27834
+ }>;
27835
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27836
+ [x: string]: unknown;
27837
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27838
+ [x: string]: unknown;
27839
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27840
+ [x: string]: unknown;
27841
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27842
+ data: {
27843
+ notificationThresholdInBytes?: number | undefined;
27844
+ };
27696
27845
  } & {
27697
27846
  pathParameters: {
27698
27847
  serverId: string;
27699
27848
  };
27849
+ } & {
27850
+ headers?: Partial<{
27851
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27852
+ }>;
27700
27853
  } & {
27701
27854
  headers: {
27702
27855
  "x-access-token"?: string | undefined;
@@ -27705,7 +27858,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27705
27858
  }>;
27706
27859
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27707
27860
  [x: string]: unknown;
27708
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27861
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27862
+ [x: string]: unknown;
27863
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27864
+ [x: string]: unknown;
27865
+ }, 500, "application/json">>>;
27866
+ /** Resend the mail for a ProjectInvite. */
27867
+ resendProjectInviteMail: (request: {
27868
+ projectInviteId: string;
27869
+ headers?: {
27870
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27871
+ "x-access-token"?: string | undefined;
27872
+ } | undefined;
27873
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27874
+ headers?: Partial<{
27875
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27876
+ }>;
27877
+ } & {
27878
+ pathParameters: {
27879
+ projectInviteId: string;
27880
+ };
27881
+ } & {
27882
+ headers: {
27883
+ "x-access-token"?: string | undefined;
27884
+ } & Partial<{
27885
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27886
+ }>;
27887
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27709
27888
  [x: string]: unknown;
27710
27889
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27711
27890
  [x: string]: unknown;
@@ -27715,7 +27894,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27715
27894
  }>;
27716
27895
  } & {
27717
27896
  pathParameters: {
27718
- serverId: string;
27897
+ projectInviteId: string;
27719
27898
  };
27720
27899
  } & {
27721
27900
  headers: {
@@ -27725,25 +27904,26 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27725
27904
  }>;
27726
27905
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27727
27906
  [x: string]: unknown;
27728
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27729
- [x: string]: unknown;
27730
27907
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27731
27908
  [x: string]: unknown;
27732
27909
  }, 429, "application/json">>>;
27733
- /** Get a ProjectInvite by token. */
27734
- getProjectTokenInvite: (request: {
27735
- headers: {
27910
+ /** Get a ProjectInvite. */
27911
+ getProjectInvite: (request: {
27912
+ projectInviteId: string;
27913
+ headers?: {
27736
27914
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27737
- token: string;
27738
27915
  "x-access-token"?: string | undefined;
27739
- };
27916
+ } | undefined;
27740
27917
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27741
27918
  headers?: Partial<{
27742
27919
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27743
27920
  }>;
27921
+ } & {
27922
+ pathParameters: {
27923
+ projectInviteId: string;
27924
+ };
27744
27925
  } & {
27745
27926
  headers: {
27746
- token: string;
27747
27927
  "x-access-token"?: string | undefined;
27748
27928
  } & Partial<{
27749
27929
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -27766,9 +27946,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27766
27946
  headers?: Partial<{
27767
27947
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27768
27948
  }>;
27949
+ } & {
27950
+ pathParameters: {
27951
+ projectInviteId: string;
27952
+ };
27769
27953
  } & {
27770
27954
  headers: {
27771
- token: string;
27772
27955
  "x-access-token"?: string | undefined;
27773
27956
  } & Partial<{
27774
27957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -27788,6 +27971,86 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27788
27971
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27789
27972
  [x: string]: unknown;
27790
27973
  }, 429, "application/json">>>;
27974
+ /** Delete a ProjectInvite. */
27975
+ deleteProjectInvite: (request: {
27976
+ projectInviteId: string;
27977
+ headers?: {
27978
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27979
+ "x-access-token"?: string | undefined;
27980
+ } | undefined;
27981
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27982
+ headers?: Partial<{
27983
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27984
+ }>;
27985
+ } & {
27986
+ pathParameters: {
27987
+ projectInviteId: string;
27988
+ };
27989
+ } & {
27990
+ headers: {
27991
+ "x-access-token"?: string | undefined;
27992
+ } & Partial<{
27993
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27994
+ }>;
27995
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27996
+ [x: string]: unknown;
27997
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27998
+ headers?: Partial<{
27999
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28000
+ }>;
28001
+ } & {
28002
+ pathParameters: {
28003
+ projectInviteId: string;
28004
+ };
28005
+ } & {
28006
+ headers: {
28007
+ "x-access-token"?: string | undefined;
28008
+ } & Partial<{
28009
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28010
+ }>;
28011
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28012
+ [x: string]: unknown;
28013
+ }, 429, "application/json">>>;
28014
+ /** Decline a ProjectInvite. */
28015
+ declineProjectInvite: (request: {
28016
+ projectInviteId: string;
28017
+ headers?: {
28018
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28019
+ "x-access-token"?: string | undefined;
28020
+ } | undefined;
28021
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28022
+ headers?: Partial<{
28023
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28024
+ }>;
28025
+ } & {
28026
+ pathParameters: {
28027
+ projectInviteId: string;
28028
+ };
28029
+ } & {
28030
+ headers: {
28031
+ "x-access-token"?: string | undefined;
28032
+ } & Partial<{
28033
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28034
+ }>;
28035
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28036
+ [x: string]: unknown;
28037
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28038
+ headers?: Partial<{
28039
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28040
+ }>;
28041
+ } & {
28042
+ pathParameters: {
28043
+ projectInviteId: string;
28044
+ };
28045
+ } & {
28046
+ headers: {
28047
+ "x-access-token"?: string | undefined;
28048
+ } & Partial<{
28049
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28050
+ }>;
28051
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28052
+ [x: string]: unknown;
28053
+ }, 429, "application/json">>>;
27791
28054
  /** Get the executing user's membership in a Project. */
27792
28055
  getSelfMembershipForProject: (request: {
27793
28056
  projectId: string;
@@ -27864,126 +28127,105 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27864
28127
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27865
28128
  [x: string]: unknown;
27866
28129
  }, 429, "application/json">>>;
27867
- /** Get a Server. */
27868
- getServer: (request: {
27869
- serverId: string;
28130
+ /** Accept a ProjectInvite. */
28131
+ acceptProjectInvite: (request: {
28132
+ projectInviteId: string;
28133
+ data?: {
28134
+ invitationToken?: string | undefined;
28135
+ } | undefined;
27870
28136
  headers?: {
27871
28137
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27872
28138
  "x-access-token"?: string | undefined;
27873
28139
  } | undefined;
27874
28140
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27875
- headers?: Partial<{
27876
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27877
- }>;
28141
+ data: {
28142
+ invitationToken?: string | undefined;
28143
+ };
27878
28144
  } & {
27879
28145
  pathParameters: {
27880
- serverId: string;
28146
+ projectInviteId: string;
27881
28147
  };
28148
+ } & {
28149
+ headers?: Partial<{
28150
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28151
+ }>;
27882
28152
  } & {
27883
28153
  headers: {
27884
28154
  "x-access-token"?: string | undefined;
27885
28155
  } & Partial<{
27886
28156
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27887
28157
  }>;
27888
- }, import("@mittwald/api-client-commons").Response<{
27889
- clusterName: string;
27890
- createdAt: string;
27891
- customerId: string;
27892
- description: string;
27893
- disabledReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason | undefined;
27894
- id: string;
27895
- imageRefId?: string | undefined;
27896
- isReady: boolean;
27897
- machineType: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectMachineType;
27898
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
27899
- shortId: string;
27900
- statisticsBaseDomain?: string | undefined;
27901
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
27902
- storage: string;
27903
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28158
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28159
+ [x: string]: unknown;
28160
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27904
28161
  [x: string]: unknown;
27905
28162
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27906
28163
  [x: string]: unknown;
27907
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28164
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27908
28165
  [x: string]: unknown;
27909
28166
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27910
- headers?: Partial<{
27911
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27912
- }>;
28167
+ data: {
28168
+ invitationToken?: string | undefined;
28169
+ };
27913
28170
  } & {
27914
28171
  pathParameters: {
27915
- serverId: string;
28172
+ projectInviteId: string;
27916
28173
  };
28174
+ } & {
28175
+ headers?: Partial<{
28176
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28177
+ }>;
27917
28178
  } & {
27918
28179
  headers: {
27919
28180
  "x-access-token"?: string | undefined;
27920
28181
  } & Partial<{
27921
28182
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27922
28183
  }>;
27923
- }, import("@mittwald/api-client-commons").Response<{
27924
- clusterName: string;
27925
- createdAt: string;
27926
- customerId: string;
27927
- description: string;
27928
- disabledReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason | undefined;
27929
- id: string;
27930
- imageRefId?: string | undefined;
27931
- isReady: boolean;
27932
- machineType: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectMachineType;
27933
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
27934
- shortId: string;
27935
- statisticsBaseDomain?: string | undefined;
27936
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
27937
- storage: string;
27938
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28184
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28185
+ [x: string]: unknown;
28186
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27939
28187
  [x: string]: unknown;
27940
28188
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
27941
28189
  [x: string]: unknown;
27942
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28190
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27943
28191
  [x: string]: unknown;
27944
28192
  }, 429, "application/json">>>;
27945
- /** List Memberships belonging to a Project. */
27946
- listMembershipsForProject: (request: {
27947
- projectId: string;
28193
+ /** Get a ProjectMembership */
28194
+ getProjectMembership: (request: {
28195
+ projectMembershipId: string;
27948
28196
  headers?: {
27949
28197
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27950
28198
  "x-access-token"?: string | undefined;
27951
28199
  } | undefined;
27952
- queryParameters?: {
27953
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
27954
- limit?: number | undefined;
27955
- skip?: number | undefined;
27956
- hasExpiry?: boolean | undefined;
27957
- isInherited?: boolean | undefined;
27958
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
27959
- hasMfa?: boolean | undefined;
27960
- } | undefined;
27961
28200
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27962
28201
  headers?: Partial<{
27963
28202
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27964
28203
  }>;
27965
28204
  } & {
27966
28205
  pathParameters: {
27967
- projectId: string;
28206
+ projectMembershipId: string;
27968
28207
  };
27969
- } & {
27970
- queryParameters: {
27971
- limit?: number | undefined;
27972
- skip?: number | undefined;
27973
- hasExpiry?: boolean | undefined;
27974
- isInherited?: boolean | undefined;
27975
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
27976
- hasMfa?: boolean | undefined;
27977
- } & Partial<{
27978
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27979
- }>;
27980
28208
  } & {
27981
28209
  headers: {
27982
28210
  "x-access-token"?: string | undefined;
27983
28211
  } & Partial<{
27984
28212
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
27985
28213
  }>;
27986
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28214
+ }, import("@mittwald/api-client-commons").Response<{
28215
+ avatarRef?: string | undefined;
28216
+ email: string;
28217
+ expiresAt?: string | undefined;
28218
+ firstName: string;
28219
+ id: string;
28220
+ inherited: boolean;
28221
+ inviteId?: string | undefined;
28222
+ lastName: string;
28223
+ memberSince?: string | undefined;
28224
+ mfa: boolean;
28225
+ projectId: string;
28226
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28227
+ userId: string;
28228
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27987
28229
  [x: string]: unknown;
27988
28230
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27989
28231
  [x: string]: unknown;
@@ -27993,119 +28235,95 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27993
28235
  }>;
27994
28236
  } & {
27995
28237
  pathParameters: {
27996
- projectId: string;
28238
+ projectMembershipId: string;
27997
28239
  };
27998
- } & {
27999
- queryParameters: {
28000
- limit?: number | undefined;
28001
- skip?: number | undefined;
28002
- hasExpiry?: boolean | undefined;
28003
- isInherited?: boolean | undefined;
28004
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28005
- hasMfa?: boolean | undefined;
28006
- } & Partial<{
28007
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28008
- }>;
28009
28240
  } & {
28010
28241
  headers: {
28011
28242
  "x-access-token"?: string | undefined;
28012
28243
  } & Partial<{
28013
28244
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28014
28245
  }>;
28015
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28246
+ }, import("@mittwald/api-client-commons").Response<{
28247
+ avatarRef?: string | undefined;
28248
+ email: string;
28249
+ expiresAt?: string | undefined;
28250
+ firstName: string;
28251
+ id: string;
28252
+ inherited: boolean;
28253
+ inviteId?: string | undefined;
28254
+ lastName: string;
28255
+ memberSince?: string | undefined;
28256
+ mfa: boolean;
28257
+ projectId: string;
28258
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28259
+ userId: string;
28260
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28016
28261
  [x: string]: unknown;
28017
28262
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28018
28263
  [x: string]: unknown;
28019
28264
  }, 429, "application/json">>>;
28020
- /** List ProjectInvites belonging to the executing user. */
28021
- listProjectInvites: (request?: {
28265
+ /** Delete a ProjectMembership. */
28266
+ deleteProjectMembership: (request: {
28267
+ projectMembershipId: string;
28022
28268
  headers?: {
28023
28269
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28024
28270
  "x-access-token"?: string | undefined;
28025
28271
  } | undefined;
28026
- queryParameters?: {
28027
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28028
- limit?: number | undefined;
28029
- skip?: number | undefined;
28030
- page?: number | undefined;
28031
- } | undefined;
28032
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28272
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28033
28273
  headers?: Partial<{
28034
28274
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28035
28275
  }>;
28036
28276
  } & {
28037
- queryParameters: {
28038
- limit?: number | undefined;
28039
- skip?: number | undefined;
28040
- page?: number | undefined;
28041
- } & Partial<{
28042
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28043
- }>;
28277
+ pathParameters: {
28278
+ projectMembershipId: string;
28279
+ };
28044
28280
  } & {
28045
28281
  headers: {
28046
28282
  "x-access-token"?: string | undefined;
28047
28283
  } & Partial<{
28048
28284
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28049
28285
  }>;
28050
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28051
- [x: string]: unknown;
28052
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28053
- [x: string]: unknown;
28054
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28286
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28055
28287
  [x: string]: unknown;
28056
28288
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28057
28289
  headers?: Partial<{
28058
28290
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28059
28291
  }>;
28060
28292
  } & {
28061
- queryParameters: {
28062
- limit?: number | undefined;
28063
- skip?: number | undefined;
28064
- page?: number | undefined;
28065
- } & Partial<{
28066
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28067
- }>;
28293
+ pathParameters: {
28294
+ projectMembershipId: string;
28295
+ };
28068
28296
  } & {
28069
28297
  headers: {
28070
28298
  "x-access-token"?: string | undefined;
28071
28299
  } & Partial<{
28072
28300
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28073
28301
  }>;
28074
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28075
- [x: string]: unknown;
28076
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28077
- [x: string]: unknown;
28078
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28302
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28079
28303
  [x: string]: unknown;
28080
28304
  }, 429, "application/json">>>;
28081
- /** List ProjectMemberships belonging to the executing user. */
28082
- listProjectMemberships: (request?: {
28305
+ /** Update a ProjectMembership. */
28306
+ updateProjectMembership: (request: {
28307
+ data: {
28308
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28309
+ expiresAt?: string | undefined;
28310
+ };
28311
+ projectMembershipId: string;
28083
28312
  headers?: {
28084
28313
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28085
28314
  "x-access-token"?: string | undefined;
28086
28315
  } | undefined;
28087
- queryParameters?: {
28088
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28089
- limit?: number | undefined;
28090
- skip?: number | undefined;
28091
- page?: number | undefined;
28092
- hasExpiry?: boolean | undefined;
28093
- isInherited?: boolean | undefined;
28094
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28095
- } | undefined;
28096
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28097
- headers?: Partial<{
28098
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28099
- }>;
28316
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28317
+ data: {
28318
+ expiresAt?: string | undefined;
28319
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28320
+ };
28100
28321
  } & {
28101
- queryParameters: {
28102
- limit?: number | undefined;
28103
- skip?: number | undefined;
28104
- page?: number | undefined;
28105
- hasExpiry?: boolean | undefined;
28106
- isInherited?: boolean | undefined;
28107
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28108
- } & Partial<{
28322
+ pathParameters: {
28323
+ projectMembershipId: string;
28324
+ };
28325
+ } & {
28326
+ headers?: Partial<{
28109
28327
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28110
28328
  }>;
28111
28329
  } & {
@@ -28114,25 +28332,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28114
28332
  } & Partial<{
28115
28333
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28116
28334
  }>;
28117
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28118
- [x: string]: unknown;
28119
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28120
- [x: string]: unknown;
28121
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28335
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28122
28336
  [x: string]: unknown;
28123
28337
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28124
- headers?: Partial<{
28125
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28126
- }>;
28338
+ data: {
28339
+ expiresAt?: string | undefined;
28340
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28341
+ };
28127
28342
  } & {
28128
- queryParameters: {
28129
- limit?: number | undefined;
28130
- skip?: number | undefined;
28131
- page?: number | undefined;
28132
- hasExpiry?: boolean | undefined;
28133
- isInherited?: boolean | undefined;
28134
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28135
- } & Partial<{
28343
+ pathParameters: {
28344
+ projectMembershipId: string;
28345
+ };
28346
+ } & {
28347
+ headers?: Partial<{
28136
28348
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28137
28349
  }>;
28138
28350
  } & {
@@ -28141,44 +28353,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28141
28353
  } & Partial<{
28142
28354
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28143
28355
  }>;
28144
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28145
- [x: string]: unknown;
28146
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28147
- [x: string]: unknown;
28148
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28356
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28149
28357
  [x: string]: unknown;
28150
28358
  }, 429, "application/json">>>;
28151
- /** List Projects belonging to the executing user. */
28152
- listProjects: (request?: {
28359
+ /** List Invites belonging to a Project. */
28360
+ listInvitesForProject: (request: {
28361
+ projectId: string;
28153
28362
  headers?: {
28154
28363
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28155
28364
  "x-access-token"?: string | undefined;
28156
28365
  } | undefined;
28157
28366
  queryParameters?: {
28158
28367
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28159
- customerId?: string | undefined;
28160
- serverId?: string | undefined;
28161
- searchTerm?: string | undefined;
28162
28368
  limit?: number | undefined;
28163
28369
  skip?: number | undefined;
28164
- page?: number | undefined;
28165
- sort?: "createdAt" | "description" | undefined;
28166
- order?: "asc" | "desc" | undefined;
28167
28370
  } | undefined;
28168
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28371
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28169
28372
  headers?: Partial<{
28170
28373
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28171
28374
  }>;
28375
+ } & {
28376
+ pathParameters: {
28377
+ projectId: string;
28378
+ };
28172
28379
  } & {
28173
28380
  queryParameters: {
28174
- customerId?: string | undefined;
28175
- serverId?: string | undefined;
28176
- searchTerm?: string | undefined;
28177
28381
  limit?: number | undefined;
28178
28382
  skip?: number | undefined;
28179
- page?: number | undefined;
28180
- sort?: "createdAt" | "description" | undefined;
28181
- order?: "asc" | "desc" | undefined;
28182
28383
  } & Partial<{
28183
28384
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28184
28385
  }>;
@@ -28188,51 +28389,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28188
28389
  } & Partial<{
28189
28390
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28190
28391
  }>;
28191
- }, import("@mittwald/api-client-commons").Response<{
28192
- backupStorageUsageInBytes: number;
28193
- backupStorageUsageInBytesSetAt: string;
28194
- createdAt: string;
28195
- customerId: string;
28196
- customerMeta: {
28197
- id: string;
28198
- };
28199
- description: string;
28200
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
28201
- disabledAt?: string;
28202
- enabled: boolean;
28203
- features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
28204
- id: string;
28205
- imageRefId?: string;
28206
- isReady: boolean;
28207
- projectHostingId?: string;
28208
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
28209
- serverId?: string;
28210
- shortId: string;
28211
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
28212
- statusSetAt: string;
28213
- supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
28214
- webStorageUsageInBytes: number;
28215
- webStorageUsageInBytesSetAt: string;
28216
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28217
- [x: string]: unknown;
28218
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28392
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28219
28393
  [x: string]: unknown;
28220
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28394
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28221
28395
  [x: string]: unknown;
28222
28396
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28223
28397
  headers?: Partial<{
28224
28398
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28225
28399
  }>;
28400
+ } & {
28401
+ pathParameters: {
28402
+ projectId: string;
28403
+ };
28226
28404
  } & {
28227
28405
  queryParameters: {
28228
- customerId?: string | undefined;
28229
- serverId?: string | undefined;
28230
- searchTerm?: string | undefined;
28231
28406
  limit?: number | undefined;
28232
28407
  skip?: number | undefined;
28233
- page?: number | undefined;
28234
- sort?: "createdAt" | "description" | undefined;
28235
- order?: "asc" | "desc" | undefined;
28236
28408
  } & Partial<{
28237
28409
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28238
28410
  }>;
@@ -28242,155 +28414,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28242
28414
  } & Partial<{
28243
28415
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28244
28416
  }>;
28245
- }, import("@mittwald/api-client-commons").Response<{
28246
- backupStorageUsageInBytes: number;
28247
- backupStorageUsageInBytesSetAt: string;
28248
- createdAt: string;
28249
- customerId: string;
28250
- customerMeta: {
28251
- id: string;
28252
- };
28253
- description: string;
28254
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
28255
- disabledAt?: string;
28256
- enabled: boolean;
28257
- features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
28258
- id: string;
28259
- imageRefId?: string;
28260
- isReady: boolean;
28261
- projectHostingId?: string;
28262
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
28263
- serverId?: string;
28264
- shortId: string;
28265
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
28266
- statusSetAt: string;
28267
- supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
28268
- webStorageUsageInBytes: number;
28269
- webStorageUsageInBytesSetAt: string;
28270
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28271
- [x: string]: unknown;
28272
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28273
- [x: string]: unknown;
28274
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28275
- [x: string]: unknown;
28276
- }, 429, "application/json">>>;
28277
- /** List Servers belonging to the executing user. */
28278
- listServers: (request?: {
28279
- headers?: {
28280
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28281
- "x-access-token"?: string | undefined;
28282
- } | undefined;
28283
- queryParameters?: {
28284
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28285
- customerId?: string | undefined;
28286
- searchTerm?: string | undefined;
28287
- limit?: number | undefined;
28288
- skip?: number | undefined;
28289
- page?: number | undefined;
28290
- sort?: "createdAt" | "description" | undefined;
28291
- order?: "asc" | "desc" | undefined;
28292
- } | undefined;
28293
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28294
- headers?: Partial<{
28295
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28296
- }>;
28297
- } & {
28298
- queryParameters: {
28299
- customerId?: string | undefined;
28300
- searchTerm?: string | undefined;
28301
- limit?: number | undefined;
28302
- skip?: number | undefined;
28303
- page?: number | undefined;
28304
- sort?: "createdAt" | "description" | undefined;
28305
- order?: "asc" | "desc" | undefined;
28306
- } & Partial<{
28307
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28308
- }>;
28309
- } & {
28310
- headers: {
28311
- "x-access-token"?: string | undefined;
28312
- } & Partial<{
28313
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28314
- }>;
28315
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28316
- [x: string]: unknown;
28317
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28318
- [x: string]: unknown;
28319
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28320
- headers?: Partial<{
28321
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28322
- }>;
28323
- } & {
28324
- queryParameters: {
28325
- customerId?: string | undefined;
28326
- searchTerm?: string | undefined;
28327
- limit?: number | undefined;
28328
- skip?: number | undefined;
28329
- page?: number | undefined;
28330
- sort?: "createdAt" | "description" | undefined;
28331
- order?: "asc" | "desc" | undefined;
28332
- } & Partial<{
28333
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28334
- }>;
28335
- } & {
28336
- headers: {
28337
- "x-access-token"?: string | undefined;
28338
- } & Partial<{
28339
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28340
- }>;
28341
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28342
- [x: string]: unknown;
28343
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28344
- [x: string]: unknown;
28345
- }, 429, "application/json">>>;
28346
- /** Resend the mail for a ProjectInvite. */
28347
- resendProjectInviteMail: (request: {
28348
- projectInviteId: string;
28349
- headers?: {
28350
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28351
- "x-access-token"?: string | undefined;
28352
- } | undefined;
28353
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28354
- headers?: Partial<{
28355
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28356
- }>;
28357
- } & {
28358
- pathParameters: {
28359
- projectInviteId: string;
28360
- };
28361
- } & {
28362
- headers: {
28363
- "x-access-token"?: string | undefined;
28364
- } & Partial<{
28365
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28366
- }>;
28367
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28368
- [x: string]: unknown;
28369
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28370
- [x: string]: unknown;
28371
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28372
- headers?: Partial<{
28373
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28374
- }>;
28375
- } & {
28376
- pathParameters: {
28377
- projectInviteId: string;
28378
- };
28379
- } & {
28380
- headers: {
28381
- "x-access-token"?: string | undefined;
28382
- } & Partial<{
28383
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28384
- }>;
28385
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28417
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28386
28418
  [x: string]: unknown;
28387
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28419
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28388
28420
  [x: string]: unknown;
28389
28421
  }, 429, "application/json">>>;
28390
- /** Update a Project's description. */
28391
- updateProjectDescription: (request: {
28422
+ /** Create a ProjectInvite. */
28423
+ createProjectInvite: (request: {
28392
28424
  data: {
28393
- description: string;
28425
+ mailAddress: string;
28426
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28427
+ membershipExpiresAt?: string | undefined;
28428
+ message?: string | undefined;
28394
28429
  };
28395
28430
  projectId: string;
28396
28431
  headers?: {
@@ -28399,7 +28434,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28399
28434
  } | undefined;
28400
28435
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28401
28436
  data: {
28402
- description: string;
28437
+ mailAddress: string;
28438
+ membershipExpiresAt?: string | undefined;
28439
+ message?: string | undefined;
28440
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28403
28441
  };
28404
28442
  } & {
28405
28443
  pathParameters: {
@@ -28415,15 +28453,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28415
28453
  } & Partial<{
28416
28454
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28417
28455
  }>;
28418
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28456
+ }, import("@mittwald/api-client-commons").Response<{
28457
+ avatarRefId?: string | undefined;
28458
+ id: string;
28459
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
28460
+ mailAddress: string;
28461
+ membershipExpiresAt?: string | undefined;
28462
+ message?: string | undefined;
28463
+ projectDescription: string;
28464
+ projectId: string;
28465
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28466
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
28419
28467
  [x: string]: unknown;
28420
28468
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28421
28469
  [x: string]: unknown;
28422
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28470
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
28423
28471
  [x: string]: unknown;
28424
28472
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28425
28473
  data: {
28426
- description: string;
28474
+ mailAddress: string;
28475
+ membershipExpiresAt?: string | undefined;
28476
+ message?: string | undefined;
28477
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28427
28478
  };
28428
28479
  } & {
28429
28480
  pathParameters: {
@@ -28439,264 +28490,245 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28439
28490
  } & Partial<{
28440
28491
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28441
28492
  }>;
28442
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28493
+ }, import("@mittwald/api-client-commons").Response<{
28494
+ avatarRefId?: string | undefined;
28495
+ id: string;
28496
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
28497
+ mailAddress: string;
28498
+ membershipExpiresAt?: string | undefined;
28499
+ message?: string | undefined;
28500
+ projectDescription: string;
28501
+ projectId: string;
28502
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28503
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
28443
28504
  [x: string]: unknown;
28444
28505
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28445
28506
  [x: string]: unknown;
28446
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28507
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
28447
28508
  [x: string]: unknown;
28448
28509
  }, 429, "application/json">>>;
28449
- /** Update a Servers's description. */
28450
- updateServerDescription: (request: {
28451
- data: {
28452
- description: string;
28453
- };
28454
- serverId: string;
28455
- headers?: {
28510
+ /** Get a ProjectInvite by token. */
28511
+ getProjectTokenInvite: (request: {
28512
+ headers: {
28456
28513
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28514
+ token: string;
28457
28515
  "x-access-token"?: string | undefined;
28458
- } | undefined;
28459
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28460
- data: {
28461
- description: string;
28462
28516
  };
28463
- } & {
28464
- pathParameters: {
28465
- serverId: string;
28466
- };
28467
- } & {
28517
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28468
28518
  headers?: Partial<{
28469
28519
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28470
28520
  }>;
28471
28521
  } & {
28472
28522
  headers: {
28523
+ token: string;
28473
28524
  "x-access-token"?: string | undefined;
28474
28525
  } & Partial<{
28475
28526
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28476
28527
  }>;
28477
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28478
- [x: string]: unknown;
28479
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28528
+ }, import("@mittwald/api-client-commons").Response<{
28529
+ avatarRefId?: string | undefined;
28530
+ id: string;
28531
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
28532
+ mailAddress: string;
28533
+ membershipExpiresAt?: string | undefined;
28534
+ message?: string | undefined;
28535
+ projectDescription: string;
28536
+ projectId: string;
28537
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28538
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28480
28539
  [x: string]: unknown;
28481
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28540
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28482
28541
  [x: string]: unknown;
28483
28542
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28484
- data: {
28485
- description: string;
28486
- };
28487
- } & {
28488
- pathParameters: {
28489
- serverId: string;
28490
- };
28491
- } & {
28492
28543
  headers?: Partial<{
28493
28544
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28494
28545
  }>;
28495
28546
  } & {
28496
28547
  headers: {
28548
+ token: string;
28497
28549
  "x-access-token"?: string | undefined;
28498
28550
  } & Partial<{
28499
28551
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28500
28552
  }>;
28501
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28502
- [x: string]: unknown;
28503
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28553
+ }, import("@mittwald/api-client-commons").Response<{
28554
+ avatarRefId?: string | undefined;
28555
+ id: string;
28556
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
28557
+ mailAddress: string;
28558
+ membershipExpiresAt?: string | undefined;
28559
+ message?: string | undefined;
28560
+ projectDescription: string;
28561
+ projectId: string;
28562
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
28563
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28504
28564
  [x: string]: unknown;
28505
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28565
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28506
28566
  [x: string]: unknown;
28507
28567
  }, 429, "application/json">>>;
28508
- /** Get storage space Statistics belonging to a Project. */
28509
- storagespaceGetProjectStatistics: (request: {
28510
- projectId: string;
28568
+ /** List ProjectMemberships belonging to the executing user. */
28569
+ listProjectMemberships: (request?: {
28511
28570
  headers?: {
28512
28571
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28513
28572
  "x-access-token"?: string | undefined;
28514
28573
  } | undefined;
28515
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28574
+ queryParameters?: {
28575
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28576
+ limit?: number | undefined;
28577
+ skip?: number | undefined;
28578
+ page?: number | undefined;
28579
+ hasExpiry?: boolean | undefined;
28580
+ isInherited?: boolean | undefined;
28581
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28582
+ } | undefined;
28583
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28516
28584
  headers?: Partial<{
28517
28585
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28518
28586
  }>;
28519
28587
  } & {
28520
- pathParameters: {
28521
- projectId: string;
28522
- };
28588
+ queryParameters: {
28589
+ limit?: number | undefined;
28590
+ skip?: number | undefined;
28591
+ page?: number | undefined;
28592
+ hasExpiry?: boolean | undefined;
28593
+ isInherited?: boolean | undefined;
28594
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28595
+ } & Partial<{
28596
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28597
+ }>;
28523
28598
  } & {
28524
28599
  headers: {
28525
28600
  "x-access-token"?: string | undefined;
28526
28601
  } & Partial<{
28527
28602
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28528
28603
  }>;
28529
- }, import("@mittwald/api-client-commons").Response<{
28530
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
28531
- description?: string | undefined;
28532
- id: string;
28533
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
28534
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
28535
- name: string;
28536
- notificationThresholdInBytes?: number | undefined;
28537
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
28538
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28539
- [x: string]: unknown;
28540
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28604
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28541
28605
  [x: string]: unknown;
28542
28606
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28543
28607
  [x: string]: unknown;
28544
28608
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28545
28609
  [x: string]: unknown;
28546
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28547
- [x: string]: unknown;
28548
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28610
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28549
28611
  headers?: Partial<{
28550
28612
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28551
28613
  }>;
28552
28614
  } & {
28553
- pathParameters: {
28554
- projectId: string;
28555
- };
28615
+ queryParameters: {
28616
+ limit?: number | undefined;
28617
+ skip?: number | undefined;
28618
+ page?: number | undefined;
28619
+ hasExpiry?: boolean | undefined;
28620
+ isInherited?: boolean | undefined;
28621
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28622
+ } & Partial<{
28623
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28624
+ }>;
28556
28625
  } & {
28557
28626
  headers: {
28558
28627
  "x-access-token"?: string | undefined;
28559
28628
  } & Partial<{
28560
28629
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28561
28630
  }>;
28562
- }, import("@mittwald/api-client-commons").Response<{
28563
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
28564
- description?: string | undefined;
28565
- id: string;
28566
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
28567
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
28568
- name: string;
28569
- notificationThresholdInBytes?: number | undefined;
28570
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
28571
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28572
- [x: string]: unknown;
28573
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28631
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28574
28632
  [x: string]: unknown;
28575
28633
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28576
28634
  [x: string]: unknown;
28577
28635
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28578
28636
  [x: string]: unknown;
28579
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28580
- [x: string]: unknown;
28581
- }, 500, "application/json">>>;
28582
- /** Get storage space Statistics belonging to a Server. */
28583
- storagespaceGetServerStatistics: (request: {
28584
- serverId: string;
28637
+ }, 429, "application/json">>>;
28638
+ /** List ProjectInvites belonging to the executing user. */
28639
+ listProjectInvites: (request?: {
28585
28640
  headers?: {
28586
28641
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28587
28642
  "x-access-token"?: string | undefined;
28588
28643
  } | undefined;
28589
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28644
+ queryParameters?: {
28645
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28646
+ limit?: number | undefined;
28647
+ skip?: number | undefined;
28648
+ page?: number | undefined;
28649
+ } | undefined;
28650
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28590
28651
  headers?: Partial<{
28591
28652
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28592
28653
  }>;
28593
28654
  } & {
28594
- pathParameters: {
28595
- serverId: string;
28596
- };
28655
+ queryParameters: {
28656
+ limit?: number | undefined;
28657
+ skip?: number | undefined;
28658
+ page?: number | undefined;
28659
+ } & Partial<{
28660
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28661
+ }>;
28597
28662
  } & {
28598
28663
  headers: {
28599
28664
  "x-access-token"?: string | undefined;
28600
28665
  } & Partial<{
28601
28666
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28602
28667
  }>;
28603
- }, import("@mittwald/api-client-commons").Response<{
28604
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
28605
- description?: string | undefined;
28606
- id: string;
28607
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
28608
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
28609
- name: string;
28610
- notificationThresholdInBytes?: number | undefined;
28611
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
28612
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28613
- [x: string]: unknown;
28614
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28668
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28615
28669
  [x: string]: unknown;
28616
28670
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28617
28671
  [x: string]: unknown;
28618
28672
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28619
28673
  [x: string]: unknown;
28620
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28621
- [x: string]: unknown;
28622
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28674
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28623
28675
  headers?: Partial<{
28624
28676
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28625
28677
  }>;
28626
28678
  } & {
28627
- pathParameters: {
28628
- serverId: string;
28629
- };
28679
+ queryParameters: {
28680
+ limit?: number | undefined;
28681
+ skip?: number | undefined;
28682
+ page?: number | undefined;
28683
+ } & Partial<{
28684
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28685
+ }>;
28630
28686
  } & {
28631
28687
  headers: {
28632
28688
  "x-access-token"?: string | undefined;
28633
28689
  } & Partial<{
28634
28690
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28635
28691
  }>;
28636
- }, import("@mittwald/api-client-commons").Response<{
28637
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
28638
- description?: string | undefined;
28639
- id: string;
28640
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
28641
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
28642
- name: string;
28643
- notificationThresholdInBytes?: number | undefined;
28644
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
28645
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28646
- [x: string]: unknown;
28647
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
28692
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28648
28693
  [x: string]: unknown;
28649
28694
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28650
28695
  [x: string]: unknown;
28651
28696
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28652
28697
  [x: string]: unknown;
28653
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28654
- [x: string]: unknown;
28655
- }, 500, "application/json">>>;
28656
- /** Update a Project's storage space notification threshold. */
28657
- storagespaceReplaceProjectNotificationThreshold: (request: {
28698
+ }, 429, "application/json">>>;
28699
+ /** List Memberships belonging to a Project. */
28700
+ listMembershipsForProject: (request: {
28658
28701
  projectId: string;
28659
- data?: {
28660
- notificationThresholdInBytes?: number | undefined;
28661
- } | undefined;
28662
28702
  headers?: {
28663
28703
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28664
28704
  "x-access-token"?: string | undefined;
28665
28705
  } | undefined;
28706
+ queryParameters?: {
28707
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28708
+ limit?: number | undefined;
28709
+ skip?: number | undefined;
28710
+ hasExpiry?: boolean | undefined;
28711
+ isInherited?: boolean | undefined;
28712
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28713
+ hasMfa?: boolean | undefined;
28714
+ } | undefined;
28666
28715
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28667
- data: {
28668
- notificationThresholdInBytes?: number | undefined;
28669
- };
28670
- } & {
28671
- pathParameters: {
28672
- projectId: string;
28673
- };
28674
- } & {
28675
28716
  headers?: Partial<{
28676
28717
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28677
28718
  }>;
28678
- } & {
28679
- headers: {
28680
- "x-access-token"?: string | undefined;
28681
- } & Partial<{
28682
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28683
- }>;
28684
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28685
- [x: string]: unknown;
28686
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28687
- [x: string]: unknown;
28688
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28689
- [x: string]: unknown;
28690
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28691
- data: {
28692
- notificationThresholdInBytes?: number | undefined;
28693
- };
28694
28719
  } & {
28695
28720
  pathParameters: {
28696
28721
  projectId: string;
28697
28722
  };
28698
28723
  } & {
28699
- headers?: Partial<{
28724
+ queryParameters: {
28725
+ limit?: number | undefined;
28726
+ skip?: number | undefined;
28727
+ hasExpiry?: boolean | undefined;
28728
+ isInherited?: boolean | undefined;
28729
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28730
+ hasMfa?: boolean | undefined;
28731
+ } & Partial<{
28700
28732
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28701
28733
  }>;
28702
28734
  } & {
@@ -28705,57 +28737,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28705
28737
  } & Partial<{
28706
28738
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28707
28739
  }>;
28708
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28709
- [x: string]: unknown;
28710
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28740
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28711
28741
  [x: string]: unknown;
28712
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28742
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28713
28743
  [x: string]: unknown;
28714
- }, 500, "application/json">>>;
28715
- /** Update a Server's storage space notification threshold. */
28716
- storagespaceReplaceServerNotificationThreshold: (request: {
28717
- serverId: string;
28718
- data?: {
28719
- notificationThresholdInBytes?: number | undefined;
28720
- } | undefined;
28721
- headers?: {
28722
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
28723
- "x-access-token"?: string | undefined;
28724
- } | undefined;
28725
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
28726
- data: {
28727
- notificationThresholdInBytes?: number | undefined;
28728
- };
28729
- } & {
28730
- pathParameters: {
28731
- serverId: string;
28732
- };
28733
- } & {
28744
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28734
28745
  headers?: Partial<{
28735
28746
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28736
28747
  }>;
28737
- } & {
28738
- headers: {
28739
- "x-access-token"?: string | undefined;
28740
- } & Partial<{
28741
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28742
- }>;
28743
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28744
- [x: string]: unknown;
28745
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28746
- [x: string]: unknown;
28747
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28748
- [x: string]: unknown;
28749
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
28750
- data: {
28751
- notificationThresholdInBytes?: number | undefined;
28752
- };
28753
28748
  } & {
28754
28749
  pathParameters: {
28755
- serverId: string;
28750
+ projectId: string;
28756
28751
  };
28757
28752
  } & {
28758
- headers?: Partial<{
28753
+ queryParameters: {
28754
+ limit?: number | undefined;
28755
+ skip?: number | undefined;
28756
+ hasExpiry?: boolean | undefined;
28757
+ isInherited?: boolean | undefined;
28758
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
28759
+ hasMfa?: boolean | undefined;
28760
+ } & Partial<{
28759
28761
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28760
28762
  }>;
28761
28763
  } & {
@@ -28764,13 +28766,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
28764
28766
  } & Partial<{
28765
28767
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
28766
28768
  }>;
28767
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
28768
- [x: string]: unknown;
28769
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
28769
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
28770
28770
  [x: string]: unknown;
28771
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
28771
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
28772
28772
  [x: string]: unknown;
28773
- }, 500, "application/json">>>;
28773
+ }, 429, "application/json">>>;
28774
28774
  };
28775
28775
  /** The filesystem API allows you to directly access the filesystem of your project. */
28776
28776
  readonly projectFileSystem: {