@mittwald/api-client 4.66.0 → 4.68.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.
- package/dist/esm/generated/v2/client-react.js +2 -2
- package/dist/esm/generated/v2/client.js +2 -2
- package/dist/esm/generated/v2/descriptors.js +8 -8
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +17 -13
- package/dist/types/generated/v2/client.d.ts +71 -63
- package/dist/types/generated/v2/descriptors.d.ts +4 -4
- package/dist/types/generated/v2/types.d.ts +52 -48
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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/
|
|
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/
|
|
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",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.67.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;
|
|
@@ -2042,6 +2042,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2042
2042
|
"x-access-token"?: string | undefined;
|
|
2043
2043
|
} | undefined;
|
|
2044
2044
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2045
|
+
backupStorageUsageInBytes: number;
|
|
2046
|
+
backupStorageUsageInBytesSetAt: string;
|
|
2045
2047
|
clusterDomain?: string | undefined;
|
|
2046
2048
|
clusterID?: string | undefined;
|
|
2047
2049
|
clusterId?: string | undefined;
|
|
@@ -2181,6 +2183,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2181
2183
|
page?: number | undefined;
|
|
2182
2184
|
} | undefined;
|
|
2183
2185
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2186
|
+
backupStorageUsageInBytes: number;
|
|
2187
|
+
backupStorageUsageInBytesSetAt: string;
|
|
2184
2188
|
createdAt: string;
|
|
2185
2189
|
customerId: string;
|
|
2186
2190
|
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;
|
|
@@ -18224,6 +18224,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18224
18224
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
18225
18225
|
}>;
|
|
18226
18226
|
}, import("@mittwald/api-client-commons").Response<{
|
|
18227
|
+
backupStorageUsageInBytes: number;
|
|
18228
|
+
backupStorageUsageInBytesSetAt: string;
|
|
18227
18229
|
clusterDomain?: string | undefined;
|
|
18228
18230
|
clusterID?: string | undefined;
|
|
18229
18231
|
clusterId?: string | undefined;
|
|
@@ -18269,6 +18271,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18269
18271
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
18270
18272
|
}>;
|
|
18271
18273
|
}, import("@mittwald/api-client-commons").Response<{
|
|
18274
|
+
backupStorageUsageInBytes: number;
|
|
18275
|
+
backupStorageUsageInBytesSetAt: string;
|
|
18272
18276
|
clusterDomain?: string | undefined;
|
|
18273
18277
|
clusterID?: string | undefined;
|
|
18274
18278
|
clusterId?: string | undefined;
|
|
@@ -18929,6 +18933,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18929
18933
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
18930
18934
|
}>;
|
|
18931
18935
|
}, import("@mittwald/api-client-commons").Response<{
|
|
18936
|
+
backupStorageUsageInBytes: number;
|
|
18937
|
+
backupStorageUsageInBytesSetAt: string;
|
|
18932
18938
|
createdAt: string;
|
|
18933
18939
|
customerId: string;
|
|
18934
18940
|
customerMeta: {
|
|
@@ -18976,6 +18982,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18976
18982
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
18977
18983
|
}>;
|
|
18978
18984
|
}, import("@mittwald/api-client-commons").Response<{
|
|
18985
|
+
backupStorageUsageInBytes: number;
|
|
18986
|
+
backupStorageUsageInBytesSetAt: string;
|
|
18979
18987
|
createdAt: string;
|
|
18980
18988
|
customerId: string;
|
|
18981
18989
|
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.
|
|
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.
|
|
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 {
|
|
@@ -16325,6 +16327,8 @@ export declare namespace MittwaldAPIV2 {
|
|
|
16325
16327
|
namespace $200 {
|
|
16326
16328
|
namespace Content {
|
|
16327
16329
|
type ApplicationJson = {
|
|
16330
|
+
backupStorageUsageInBytes: number;
|
|
16331
|
+
backupStorageUsageInBytesSetAt: string;
|
|
16328
16332
|
createdAt: string;
|
|
16329
16333
|
customerId: string;
|
|
16330
16334
|
customerMeta: {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.67.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.68.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": "
|
|
83
|
+
"gitHead": "b46380b8e23d27cfe6a1bcc33415c6c615894f49"
|
|
84
84
|
}
|