@mittwald/api-client 4.67.0 → 4.69.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.
@@ -114,6 +114,8 @@ const buildCronjobApi = (baseClient) => ({
114
114
  getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
115
115
  });
116
116
  const buildCustomerApi = (baseClient) => ({
117
+ /** List Invites belonging to a Customer. */
118
+ listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
117
119
  /** Get all customer profiles the authenticated user has access to. */
118
120
  listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
119
121
  /** Gets the Wallet of the Customer. */
@@ -132,8 +134,6 @@ const buildCustomerApi = (baseClient) => ({
132
134
  listCustomerInvites: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerInvites, baseClient.customer.listCustomerInvites).getApiResource,
133
135
  /** List CustomerMemberships belonging to the executing user. */
134
136
  listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
135
- /** List Invites belonging to a Customer. */
136
- listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
137
137
  /** List Memberships belonging to a Customer. */
138
138
  listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
139
139
  });
@@ -239,6 +239,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
239
239
  customer = {
240
240
  /** Accept a CustomerInvite. */
241
241
  acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
242
+ /** List Invites belonging to a Customer. */
243
+ listInvitesForCustomer: this.requestFunctionFactory(descriptors.customerListInvitesForCustomer),
242
244
  /** Create a CustomerInvite. */
243
245
  createCustomerInvite: this.requestFunctionFactory(descriptors.customerCreateCustomerInvite),
244
246
  /** Get all customer profiles the authenticated user has access to. */
@@ -279,8 +281,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
279
281
  listCustomerInvites: this.requestFunctionFactory(descriptors.customerListCustomerInvites),
280
282
  /** List CustomerMemberships belonging to the executing user. */
281
283
  listCustomerMemberships: this.requestFunctionFactory(descriptors.customerListCustomerMemberships),
282
- /** List Invites belonging to a Customer. */
283
- listInvitesForCustomer: this.requestFunctionFactory(descriptors.customerListInvitesForCustomer),
284
284
  /** List Memberships belonging to a Customer. */
285
285
  listMembershipsForCustomer: this.requestFunctionFactory(descriptors.customerListMembershipsForCustomer),
286
286
  /** Request a new avatar upload for the customer profile. */
@@ -466,9 +466,15 @@ export const customerAcceptCustomerInvite = {
466
466
  method: "POST",
467
467
  operationId: "customer-accept-customer-invite",
468
468
  };
469
+ /** List Invites belonging to a Customer. */
470
+ export const customerListInvitesForCustomer = {
471
+ path: "/v2/customers/{customerId}/invites",
472
+ method: "GET",
473
+ operationId: "customer-list-invites-for-customer",
474
+ };
469
475
  /** Create a CustomerInvite. */
470
476
  export const customerCreateCustomerInvite = {
471
- path: "/v2/customer/{customerId}/invites",
477
+ path: "/v2/customers/{customerId}/invites",
472
478
  method: "POST",
473
479
  operationId: "customer-create-customer-invite",
474
480
  };
@@ -570,7 +576,7 @@ export const customerIsCustomerLegallyCompetent = {
570
576
  };
571
577
  /** Leave a Customer. */
572
578
  export const customerLeaveCustomer = {
573
- path: "/v2/customer/{customerId}/actions/leave",
579
+ path: "/v2/customers/{customerId}/actions/leave",
574
580
  method: "POST",
575
581
  operationId: "customer-leave-customer",
576
582
  };
@@ -586,12 +592,6 @@ export const customerListCustomerMemberships = {
586
592
  method: "GET",
587
593
  operationId: "customer-list-customer-memberships",
588
594
  };
589
- /** List Invites belonging to a Customer. */
590
- export const customerListInvitesForCustomer = {
591
- path: "/v2/customers/{customerId}/invites",
592
- method: "GET",
593
- operationId: "customer-list-invites-for-customer",
594
- };
595
595
  /** List Memberships belonging to a Customer. */
596
596
  export const customerListMembershipsForCustomer = {
597
597
  path: "/v2/customers/{customerId}/memberships",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.66.0';
1
+ export const MittwaldAPIClientVersion = '4.68.0';
@@ -818,6 +818,19 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
818
818
  }>;
819
819
  };
820
820
  declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
821
+ /** List Invites belonging to a Customer. */
822
+ listInvitesForCustomer: (conf: {
823
+ customerId: string;
824
+ headers?: {
825
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
826
+ "x-access-token"?: string | undefined;
827
+ } | undefined;
828
+ queryParameters?: {
829
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
830
+ limit?: number | undefined;
831
+ skip?: number | undefined;
832
+ } | undefined;
833
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
821
834
  /** Get all customer profiles the authenticated user has access to. */
822
835
  listCustomers: (conf?: {
823
836
  headers?: {
@@ -960,19 +973,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
960
973
  skip?: number | undefined;
961
974
  } | undefined;
962
975
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
963
- /** List Invites belonging to a Customer. */
964
- listInvitesForCustomer: (conf: {
965
- customerId: string;
966
- headers?: {
967
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
968
- "x-access-token"?: string | undefined;
969
- } | undefined;
970
- queryParameters?: {
971
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
972
- limit?: number | undefined;
973
- skip?: number | undefined;
974
- } | undefined;
975
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
976
976
  /** List Memberships belonging to a Customer. */
977
977
  listMembershipsForCustomer: (conf: {
978
978
  customerId: string;
@@ -1546,6 +1546,8 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1546
1546
  } | undefined;
1547
1547
  queryParameters?: {
1548
1548
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1549
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
1550
+ "content-disposition"?: ("inline" | "attachment") | undefined;
1549
1551
  token?: string | undefined;
1550
1552
  } | undefined;
1551
1553
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
@@ -1561,6 +1563,8 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1561
1563
  } | undefined;
1562
1564
  queryParameters?: {
1563
1565
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1566
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
1567
+ "content-disposition"?: ("inline" | "attachment") | undefined;
1564
1568
  token?: string | undefined;
1565
1569
  } | undefined;
1566
1570
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
@@ -2042,6 +2046,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2042
2046
  "x-access-token"?: string | undefined;
2043
2047
  } | undefined;
2044
2048
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2049
+ backupStorageUsageInBytes: number;
2050
+ backupStorageUsageInBytesSetAt: string;
2045
2051
  clusterDomain?: string | undefined;
2046
2052
  clusterID?: string | undefined;
2047
2053
  clusterId?: string | undefined;
@@ -2181,6 +2187,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2181
2187
  page?: number | undefined;
2182
2188
  } | undefined;
2183
2189
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
2190
+ backupStorageUsageInBytes: number;
2191
+ backupStorageUsageInBytesSetAt: string;
2184
2192
  createdAt: string;
2185
2193
  customerId: string;
2186
2194
  customerMeta: {
@@ -6586,6 +6586,69 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6586
6586
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
6587
6587
  [x: string]: unknown;
6588
6588
  }, 429, "application/json">>>;
6589
+ /** List Invites belonging to a Customer. */
6590
+ listInvitesForCustomer: (request: {
6591
+ customerId: string;
6592
+ headers?: {
6593
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6594
+ "x-access-token"?: string | undefined;
6595
+ } | undefined;
6596
+ queryParameters?: {
6597
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6598
+ limit?: number | undefined;
6599
+ skip?: number | undefined;
6600
+ } | undefined;
6601
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6602
+ headers?: Partial<{
6603
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6604
+ }> | undefined;
6605
+ } & {
6606
+ pathParameters: {
6607
+ customerId: string;
6608
+ };
6609
+ } & {
6610
+ queryParameters: {
6611
+ limit?: number | undefined;
6612
+ skip?: number | undefined;
6613
+ } & Partial<{
6614
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6615
+ }>;
6616
+ } & {
6617
+ headers: {
6618
+ "x-access-token"?: string | undefined;
6619
+ } & Partial<{
6620
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6621
+ }>;
6622
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6623
+ [x: string]: unknown;
6624
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6625
+ [x: string]: unknown;
6626
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6627
+ headers?: Partial<{
6628
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6629
+ }> | undefined;
6630
+ } & {
6631
+ pathParameters: {
6632
+ customerId: string;
6633
+ };
6634
+ } & {
6635
+ queryParameters: {
6636
+ limit?: number | undefined;
6637
+ skip?: number | undefined;
6638
+ } & Partial<{
6639
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6640
+ }>;
6641
+ } & {
6642
+ headers: {
6643
+ "x-access-token"?: string | undefined;
6644
+ } & Partial<{
6645
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6646
+ }>;
6647
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6648
+ [x: string]: unknown;
6649
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6650
+ [x: string]: unknown;
6651
+ }, 429, "application/json">>>;
6589
6652
  /** Create a CustomerInvite. */
6590
6653
  createCustomerInvite: (request: {
6591
6654
  data: {
@@ -7838,69 +7901,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7838
7901
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7839
7902
  [x: string]: unknown;
7840
7903
  }, 429, "application/json">>>;
7841
- /** List Invites belonging to a Customer. */
7842
- listInvitesForCustomer: (request: {
7843
- customerId: string;
7844
- headers?: {
7845
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7846
- "x-access-token"?: string | undefined;
7847
- } | undefined;
7848
- queryParameters?: {
7849
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7850
- limit?: number | undefined;
7851
- skip?: number | undefined;
7852
- } | undefined;
7853
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7854
- headers?: Partial<{
7855
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7856
- }> | undefined;
7857
- } & {
7858
- pathParameters: {
7859
- customerId: string;
7860
- };
7861
- } & {
7862
- queryParameters: {
7863
- limit?: number | undefined;
7864
- skip?: number | undefined;
7865
- } & Partial<{
7866
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7867
- }>;
7868
- } & {
7869
- headers: {
7870
- "x-access-token"?: string | undefined;
7871
- } & Partial<{
7872
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7873
- }>;
7874
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7875
- [x: string]: unknown;
7876
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7877
- [x: string]: unknown;
7878
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7879
- headers?: Partial<{
7880
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7881
- }> | undefined;
7882
- } & {
7883
- pathParameters: {
7884
- customerId: string;
7885
- };
7886
- } & {
7887
- queryParameters: {
7888
- limit?: number | undefined;
7889
- skip?: number | undefined;
7890
- } & Partial<{
7891
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7892
- }>;
7893
- } & {
7894
- headers: {
7895
- "x-access-token"?: string | undefined;
7896
- } & Partial<{
7897
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7898
- }>;
7899
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7900
- [x: string]: unknown;
7901
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7902
- [x: string]: unknown;
7903
- }, 429, "application/json">>>;
7904
7904
  /** List Memberships belonging to a Customer. */
7905
7905
  listMembershipsForCustomer: (request: {
7906
7906
  customerId: string;
@@ -12743,6 +12743,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12743
12743
  } | undefined;
12744
12744
  queryParameters?: {
12745
12745
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12746
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12747
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12746
12748
  token?: string | undefined;
12747
12749
  } | undefined;
12748
12750
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -12755,6 +12757,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12755
12757
  };
12756
12758
  } & {
12757
12759
  queryParameters: {
12760
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12761
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12758
12762
  token?: string | undefined;
12759
12763
  } & Partial<{
12760
12764
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -12791,6 +12795,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12791
12795
  };
12792
12796
  } & {
12793
12797
  queryParameters: {
12798
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12799
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12794
12800
  token?: string | undefined;
12795
12801
  } & Partial<{
12796
12802
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -12830,6 +12836,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12830
12836
  } | undefined;
12831
12837
  queryParameters?: {
12832
12838
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12839
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12840
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12833
12841
  token?: string | undefined;
12834
12842
  } | undefined;
12835
12843
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -12843,6 +12851,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12843
12851
  };
12844
12852
  } & {
12845
12853
  queryParameters: {
12854
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12855
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12846
12856
  token?: string | undefined;
12847
12857
  } & Partial<{
12848
12858
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -12880,6 +12890,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12880
12890
  };
12881
12891
  } & {
12882
12892
  queryParameters: {
12893
+ accept?: ("application/octet-stream" | "text/plain;base64") | undefined;
12894
+ "content-disposition"?: ("inline" | "attachment") | undefined;
12883
12895
  token?: string | undefined;
12884
12896
  } & Partial<{
12885
12897
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -18224,6 +18236,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18224
18236
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18225
18237
  }>;
18226
18238
  }, import("@mittwald/api-client-commons").Response<{
18239
+ backupStorageUsageInBytes: number;
18240
+ backupStorageUsageInBytesSetAt: string;
18227
18241
  clusterDomain?: string | undefined;
18228
18242
  clusterID?: string | undefined;
18229
18243
  clusterId?: string | undefined;
@@ -18269,6 +18283,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18269
18283
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18270
18284
  }>;
18271
18285
  }, import("@mittwald/api-client-commons").Response<{
18286
+ backupStorageUsageInBytes: number;
18287
+ backupStorageUsageInBytesSetAt: string;
18272
18288
  clusterDomain?: string | undefined;
18273
18289
  clusterID?: string | undefined;
18274
18290
  clusterId?: string | undefined;
@@ -18929,6 +18945,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18929
18945
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18930
18946
  }>;
18931
18947
  }, import("@mittwald/api-client-commons").Response<{
18948
+ backupStorageUsageInBytes: number;
18949
+ backupStorageUsageInBytesSetAt: string;
18932
18950
  createdAt: string;
18933
18951
  customerId: string;
18934
18952
  customerMeta: {
@@ -18976,6 +18994,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18976
18994
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18977
18995
  }>;
18978
18996
  }, import("@mittwald/api-client-commons").Response<{
18997
+ backupStorageUsageInBytes: number;
18998
+ backupStorageUsageInBytesSetAt: string;
18979
18999
  createdAt: string;
18980
19000
  customerId: string;
18981
19001
  customerMeta: {
@@ -159,8 +159,10 @@ export declare const cronjobGetExecution: OpenAPIOperation<RequestType<Simplify<
159
159
  export declare const cronjobUpdateCronjobAppId: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CronjobsCronjobIdAppId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
160
160
  /** Accept a CustomerInvite. */
161
161
  export declare const customerAcceptCustomerInvite: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesCustomerInviteIdActionsAccept.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
162
+ /** List Invites belonging to a Customer. */
163
+ export declare const customerListInvitesForCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
162
164
  /** Create a CustomerInvite. */
163
- export declare const customerCreateCustomerInvite: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
165
+ export declare const customerCreateCustomerInvite: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
164
166
  /** Get all customer profiles the authenticated user has access to. */
165
167
  export declare const customerListCustomers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
166
168
  /** Create a new customer profile. */
@@ -194,13 +196,11 @@ export declare const customerGetCustomerTokenInvite: OpenAPIOperation<RequestTyp
194
196
  /** Check if the customer profile has a valid contract partner configured. */
195
197
  export declare const customerIsCustomerLegallyCompetent: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLegallyCompetent.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
196
198
  /** Leave a Customer. */
197
- export declare const customerLeaveCustomer: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdActionsLeave.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
199
+ export declare const customerLeaveCustomer: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdActionsLeave.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
198
200
  /** List CustomerInvites belonging to the executing user. */
199
201
  export declare const customerListCustomerInvites: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvites.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
200
202
  /** List CustomerMemberships belonging to the executing user. */
201
203
  export declare const customerListCustomerMemberships: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerMemberships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
202
- /** List Invites belonging to a Customer. */
203
- export declare const customerListInvitesForCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
204
204
  /** List Memberships belonging to a Customer. */
205
205
  export declare const customerListMembershipsForCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
206
206
  /** Request a new avatar upload for the customer profile. */
@@ -314,6 +314,10 @@ export declare namespace MittwaldAPIV2 {
314
314
  type RequestData = InferredRequestData<typeof descriptors.customerAcceptCustomerInvite>;
315
315
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerAcceptCustomerInvite, TStatus>;
316
316
  }
317
+ namespace CustomerListInvitesForCustomer {
318
+ type RequestData = InferredRequestData<typeof descriptors.customerListInvitesForCustomer>;
319
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerListInvitesForCustomer, TStatus>;
320
+ }
317
321
  namespace CustomerCreateCustomerInvite {
318
322
  type RequestData = InferredRequestData<typeof descriptors.customerCreateCustomerInvite>;
319
323
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateCustomerInvite, TStatus>;
@@ -394,10 +398,6 @@ export declare namespace MittwaldAPIV2 {
394
398
  type RequestData = InferredRequestData<typeof descriptors.customerListCustomerMemberships>;
395
399
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerListCustomerMemberships, TStatus>;
396
400
  }
397
- namespace CustomerListInvitesForCustomer {
398
- type RequestData = InferredRequestData<typeof descriptors.customerListInvitesForCustomer>;
399
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerListInvitesForCustomer, TStatus>;
400
- }
401
401
  namespace CustomerListMembershipsForCustomer {
402
402
  type RequestData = InferredRequestData<typeof descriptors.customerListMembershipsForCustomer>;
403
403
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerListMembershipsForCustomer, TStatus>;
@@ -3435,6 +3435,8 @@ export declare namespace MittwaldAPIV2 {
3435
3435
  type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
3436
3436
  type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
3437
3437
  interface ProjectProject {
3438
+ backupStorageUsageInBytes: number;
3439
+ backupStorageUsageInBytesSetAt: string;
3438
3440
  clusterDomain?: string;
3439
3441
  /**
3440
3442
  * @deprecated
@@ -7720,7 +7722,48 @@ export declare namespace MittwaldAPIV2 {
7720
7722
  }
7721
7723
  }
7722
7724
  }
7723
- namespace V2CustomerCustomerIdInvites {
7725
+ namespace V2CustomerCustomerIdInvites { }
7726
+ namespace V2CustomersCustomerIdInvites {
7727
+ namespace Get {
7728
+ namespace Parameters {
7729
+ type Path = {
7730
+ customerId: string;
7731
+ };
7732
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7733
+ type Query = {
7734
+ limit?: number;
7735
+ skip?: number;
7736
+ };
7737
+ }
7738
+ namespace Responses {
7739
+ namespace $200 {
7740
+ namespace Content {
7741
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[];
7742
+ }
7743
+ }
7744
+ namespace $404 {
7745
+ namespace Content {
7746
+ interface ApplicationJson {
7747
+ [k: string]: unknown;
7748
+ }
7749
+ }
7750
+ }
7751
+ namespace $429 {
7752
+ namespace Content {
7753
+ interface ApplicationJson {
7754
+ [k: string]: unknown;
7755
+ }
7756
+ }
7757
+ }
7758
+ namespace Default {
7759
+ namespace Content {
7760
+ interface ApplicationJson {
7761
+ [k: string]: unknown;
7762
+ }
7763
+ }
7764
+ }
7765
+ }
7766
+ }
7724
7767
  namespace Post {
7725
7768
  namespace Parameters {
7726
7769
  type Path = {
@@ -8517,7 +8560,8 @@ export declare namespace MittwaldAPIV2 {
8517
8560
  }
8518
8561
  }
8519
8562
  }
8520
- namespace V2CustomerCustomerIdActionsLeave {
8563
+ namespace V2CustomerCustomerIdActionsLeave { }
8564
+ namespace V2CustomersCustomerIdActionsLeave {
8521
8565
  namespace Post {
8522
8566
  namespace Parameters {
8523
8567
  type Path = {
@@ -8646,48 +8690,6 @@ export declare namespace MittwaldAPIV2 {
8646
8690
  }
8647
8691
  }
8648
8692
  }
8649
- namespace V2CustomersCustomerIdInvites {
8650
- namespace Get {
8651
- namespace Parameters {
8652
- type Path = {
8653
- customerId: string;
8654
- };
8655
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8656
- type Query = {
8657
- limit?: number;
8658
- skip?: number;
8659
- };
8660
- }
8661
- namespace Responses {
8662
- namespace $200 {
8663
- namespace Content {
8664
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[];
8665
- }
8666
- }
8667
- namespace $404 {
8668
- namespace Content {
8669
- interface ApplicationJson {
8670
- [k: string]: unknown;
8671
- }
8672
- }
8673
- }
8674
- namespace $429 {
8675
- namespace Content {
8676
- interface ApplicationJson {
8677
- [k: string]: unknown;
8678
- }
8679
- }
8680
- }
8681
- namespace Default {
8682
- namespace Content {
8683
- interface ApplicationJson {
8684
- [k: string]: unknown;
8685
- }
8686
- }
8687
- }
8688
- }
8689
- }
8690
- }
8691
8693
  namespace V2CustomersCustomerIdMemberships {
8692
8694
  namespace Get {
8693
8695
  namespace Parameters {
@@ -12016,6 +12018,8 @@ export declare namespace MittwaldAPIV2 {
12016
12018
  Token?: string;
12017
12019
  };
12018
12020
  type Query = {
12021
+ accept?: "application/octet-stream" | "text/plain;base64";
12022
+ "content-disposition"?: "inline" | "attachment";
12019
12023
  token?: string;
12020
12024
  };
12021
12025
  }
@@ -12098,6 +12102,8 @@ export declare namespace MittwaldAPIV2 {
12098
12102
  Token?: string;
12099
12103
  };
12100
12104
  type Query = {
12105
+ accept?: "application/octet-stream" | "text/plain;base64";
12106
+ "content-disposition"?: "inline" | "attachment";
12101
12107
  token?: string;
12102
12108
  };
12103
12109
  }
@@ -16325,6 +16331,8 @@ export declare namespace MittwaldAPIV2 {
16325
16331
  namespace $200 {
16326
16332
  namespace Content {
16327
16333
  type ApplicationJson = {
16334
+ backupStorageUsageInBytes: number;
16335
+ backupStorageUsageInBytesSetAt: string;
16328
16336
  createdAt: string;
16329
16337
  customerId: string;
16330
16338
  customerMeta: {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.66.0';
1
+ export declare const MittwaldAPIClientVersion = '4.68.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.67.0",
3
+ "version": "4.69.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "fb291b211f7d8954cf425a2f12f52d20b58cfe16"
83
+ "gitHead": "6538ee683d184e39c00614bace0f3ef882eb976d"
84
84
  }