@mittwald/api-client 4.126.0 → 4.127.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 +0 -2
- package/dist/esm/generated/v2/client.js +7 -9
- package/dist/esm/generated/v2/descriptors.js +19 -25
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +5 -13
- package/dist/types/generated/v2/client.d.ts +175 -199
- package/dist/types/generated/v2/descriptors.d.ts +8 -10
- package/dist/types/generated/v2/types.d.ts +138 -229
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -136,8 +136,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
136
136
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
137
137
|
/** List Memberships belonging to a Customer. */
|
|
138
138
|
listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
|
|
139
|
-
/** Gets the status of a agency verification request.. */
|
|
140
|
-
getOpenAgencyVerification: new ApiCallAsyncResourceFactory(descriptors.customerGetOpenAgencyVerification, baseClient.customer.getOpenAgencyVerification).getApiResource,
|
|
141
139
|
});
|
|
142
140
|
const buildDatabaseApi = (baseClient) => ({
|
|
143
141
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -152,8 +152,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
152
152
|
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
153
153
|
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
154
154
|
extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
|
|
155
|
-
/** Authenticate your external application using
|
|
155
|
+
/** Authenticate your external application using a session token and an extension secret */
|
|
156
156
|
extensionAuthenticateWithSessionToken: this.requestFunctionFactory(descriptors.extensionAuthenticateWithSessionToken),
|
|
157
|
+
/** Change the context of an Extension. */
|
|
158
|
+
extensionChangeContext: this.requestFunctionFactory(descriptors.extensionChangeContext),
|
|
157
159
|
/** Consent to extension scopes. */
|
|
158
160
|
extensionConsentToExtensionScopes: this.requestFunctionFactory(descriptors.extensionConsentToExtensionScopes),
|
|
159
161
|
/** List ExtensionInstances. */
|
|
@@ -200,12 +202,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
200
202
|
extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
|
|
201
203
|
/** Remove an asset of an extension. */
|
|
202
204
|
extensionRemoveAsset: this.requestFunctionFactory(descriptors.extensionRemoveAsset),
|
|
205
|
+
/** Add a logo to an extension. */
|
|
206
|
+
extensionRequestLogoUpload: this.requestFunctionFactory(descriptors.extensionRequestLogoUpload),
|
|
207
|
+
/** Remove the logo of an extension. */
|
|
208
|
+
extensionRemoveLogo: this.requestFunctionFactory(descriptors.extensionRemoveLogo),
|
|
203
209
|
/** Add an asset to an extension. */
|
|
204
210
|
extensionRequestAssetUpload: this.requestFunctionFactory(descriptors.extensionRequestAssetUpload),
|
|
205
211
|
/** Start the verification process of an Extension. */
|
|
206
212
|
extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
|
|
207
|
-
/** Add a logo to an extension. */
|
|
208
|
-
extensionRequestLogoUpload: this.requestFunctionFactory(descriptors.extensionRequestLogoUpload),
|
|
209
213
|
/** Publish or withdraw an Extension. */
|
|
210
214
|
extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
|
|
211
215
|
};
|
|
@@ -315,12 +319,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
315
319
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
316
320
|
/** Resend the mail for a CustomerInvite. */
|
|
317
321
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
318
|
-
/** Gets the status of a agency verification request.. */
|
|
319
|
-
getOpenAgencyVerification: this.requestFunctionFactory(descriptors.customerGetOpenAgencyVerification),
|
|
320
|
-
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
321
|
-
createAgencyVerification: this.requestFunctionFactory(descriptors.customerCreateAgencyVerification),
|
|
322
|
-
/** Abort an open agency verification process */
|
|
323
|
-
abortAgencyVerification: this.requestFunctionFactory(descriptors.customerAbortAgencyVerification),
|
|
324
322
|
};
|
|
325
323
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
326
324
|
database = {
|
|
@@ -946,12 +946,18 @@ export const extensionAuthenticateInstance = {
|
|
|
946
946
|
method: "POST",
|
|
947
947
|
operationId: "extension-authenticate-instance",
|
|
948
948
|
};
|
|
949
|
-
/** Authenticate your external application using
|
|
949
|
+
/** Authenticate your external application using a session token and an extension secret */
|
|
950
950
|
export const extensionAuthenticateWithSessionToken = {
|
|
951
951
|
path: "/v2/authenticate-session-token",
|
|
952
952
|
method: "POST",
|
|
953
953
|
operationId: "extension-authenticate-with-session-token",
|
|
954
954
|
};
|
|
955
|
+
/** Change the context of an Extension. */
|
|
956
|
+
export const extensionChangeContext = {
|
|
957
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
|
|
958
|
+
method: "PUT",
|
|
959
|
+
operationId: "extension-change-context",
|
|
960
|
+
};
|
|
955
961
|
/** Consent to extension scopes. */
|
|
956
962
|
export const extensionConsentToExtensionScopes = {
|
|
957
963
|
path: "/v2/extension-instances/{extensionInstanceId}/scopes",
|
|
@@ -1090,6 +1096,18 @@ export const extensionRemoveAsset = {
|
|
|
1090
1096
|
method: "DELETE",
|
|
1091
1097
|
operationId: "extension-remove-asset",
|
|
1092
1098
|
};
|
|
1099
|
+
/** Add a logo to an extension. */
|
|
1100
|
+
export const extensionRequestLogoUpload = {
|
|
1101
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1102
|
+
method: "POST",
|
|
1103
|
+
operationId: "extension-request-logo-upload",
|
|
1104
|
+
};
|
|
1105
|
+
/** Remove the logo of an extension. */
|
|
1106
|
+
export const extensionRemoveLogo = {
|
|
1107
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1108
|
+
method: "DELETE",
|
|
1109
|
+
operationId: "extension-remove-logo",
|
|
1110
|
+
};
|
|
1093
1111
|
/** Add an asset to an extension. */
|
|
1094
1112
|
export const extensionRequestAssetUpload = {
|
|
1095
1113
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
|
|
@@ -1102,12 +1120,6 @@ export const extensionRequestExtensionVerification = {
|
|
|
1102
1120
|
method: "POST",
|
|
1103
1121
|
operationId: "extension-request-extension-verification",
|
|
1104
1122
|
};
|
|
1105
|
-
/** Add a logo to an extension. */
|
|
1106
|
-
export const extensionRequestLogoUpload = {
|
|
1107
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1108
|
-
method: "POST",
|
|
1109
|
-
operationId: "extension-request-logo-upload",
|
|
1110
|
-
};
|
|
1111
1123
|
/** Publish or withdraw an Extension. */
|
|
1112
1124
|
export const extensionSetExtensionPublishedState = {
|
|
1113
1125
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
|
|
@@ -2092,21 +2104,3 @@ export const verificationVerifyCompany = {
|
|
|
2092
2104
|
method: "POST",
|
|
2093
2105
|
operationId: "verification-verify-company",
|
|
2094
2106
|
};
|
|
2095
|
-
/** Gets the status of a agency verification request.. */
|
|
2096
|
-
export const customerGetOpenAgencyVerification = {
|
|
2097
|
-
path: "/v2/customers/{customerId}/agency-verification",
|
|
2098
|
-
method: "GET",
|
|
2099
|
-
operationId: "customer-get-open-agency-verification",
|
|
2100
|
-
};
|
|
2101
|
-
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
2102
|
-
export const customerCreateAgencyVerification = {
|
|
2103
|
-
path: "/v2/customers/{customerId}/agency-verification",
|
|
2104
|
-
method: "POST",
|
|
2105
|
-
operationId: "customer-create-agency-verification",
|
|
2106
|
-
};
|
|
2107
|
-
/** Abort an open agency verification process */
|
|
2108
|
-
export const customerAbortAgencyVerification = {
|
|
2109
|
-
path: "/v2/customers/{customerId}/agency-verification",
|
|
2110
|
-
method: "DELETE",
|
|
2111
|
-
operationId: "customer-abort-agency-verification",
|
|
2112
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.126.0';
|
|
@@ -130,6 +130,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
130
130
|
} | undefined;
|
|
131
131
|
queryParameters?: {
|
|
132
132
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
133
|
+
appIds?: string[] | undefined;
|
|
134
|
+
searchTerm?: string | undefined;
|
|
133
135
|
limit?: number | undefined;
|
|
134
136
|
skip?: number | undefined;
|
|
135
137
|
page?: number | undefined;
|
|
@@ -144,6 +146,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
144
146
|
} | undefined;
|
|
145
147
|
queryParameters?: {
|
|
146
148
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
149
|
+
appIds?: string[] | undefined;
|
|
150
|
+
searchTerm?: string | undefined;
|
|
147
151
|
limit?: number | undefined;
|
|
148
152
|
skip?: number | undefined;
|
|
149
153
|
page?: number | undefined;
|
|
@@ -931,6 +935,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
931
935
|
customerNumber: string;
|
|
932
936
|
executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
933
937
|
flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
938
|
+
isAllowedToPlaceOrders?: boolean | undefined;
|
|
934
939
|
isBanned?: boolean | undefined;
|
|
935
940
|
isInDefaultOfPayment?: boolean | undefined;
|
|
936
941
|
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
@@ -1006,19 +1011,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1006
1011
|
skip?: number | undefined;
|
|
1007
1012
|
} | undefined;
|
|
1008
1013
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1009
|
-
/** Gets the status of a agency verification request.. */
|
|
1010
|
-
getOpenAgencyVerification: (conf: {
|
|
1011
|
-
customerId: string;
|
|
1012
|
-
headers?: {
|
|
1013
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1014
|
-
} | undefined;
|
|
1015
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1016
|
-
customerId: string;
|
|
1017
|
-
domain: string;
|
|
1018
|
-
email: string;
|
|
1019
|
-
requestedOn: string;
|
|
1020
|
-
verificationId: string;
|
|
1021
|
-
}>;
|
|
1022
1014
|
};
|
|
1023
1015
|
declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1024
1016
|
/** List MySQLDatabases belonging to a Project. */
|