@mittwald/api-client 4.215.0 → 4.216.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 +10 -4
- package/dist/esm/generated/v2/descriptors.js +30 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +12 -8
- package/dist/types/generated/v2/client.d.ts +342 -135
- package/dist/types/generated/v2/descriptors.d.ts +10 -4
- package/dist/types/generated/v2/types.d.ts +235 -53
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -155,6 +155,12 @@ export declare const contractGetDetailOfContractItem: OpenAPIOperation<RequestTy
|
|
|
155
155
|
export declare const contractGetDetailOfContract: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
156
156
|
/** Return a list of Contracts for the given Customer. */
|
|
157
157
|
export declare const contractListContracts: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContracts.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
158
|
+
/** Get a Contributor. */
|
|
159
|
+
export declare const extensionGetContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
160
|
+
/** Delete a Contributor. */
|
|
161
|
+
export declare const contributorDeleteContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
162
|
+
/** Patch Contributor. */
|
|
163
|
+
export declare const contributorPatchContributor: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
158
164
|
/** Express interest to be a contributor. */
|
|
159
165
|
export declare const contributorExpressInterestToContribute: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdContributor.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
160
166
|
/** Get Contributor Billing Information. */
|
|
@@ -171,12 +177,12 @@ export declare const contributorListContractPartnersOfContributor: OpenAPIOperat
|
|
|
171
177
|
export declare const contributorListIncomingInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
172
178
|
/** List all invoices on behalf of a contributor. */
|
|
173
179
|
export declare const contributorListOnbehalfInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
174
|
-
/** Get a Contributor. */
|
|
175
|
-
export declare const extensionGetContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
176
|
-
/** Patch Contributor. */
|
|
177
|
-
export declare const contributorPatchContributor: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
178
180
|
/** Request an Access Token for the Incoming Invoice file. */
|
|
179
181
|
export declare const contributorReceiptGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
182
|
+
/** Add a deviating avatar to a Contributor. */
|
|
183
|
+
export declare const contributorRequestDeviatingContributorAvatarUpload: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
184
|
+
/** Delete deviating contributor avatar und return to the inherited customer avatar. */
|
|
185
|
+
export declare const contributorResetContributorAvatar: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdAvatar.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
180
186
|
/** Rotate the secret for an extension instance. */
|
|
181
187
|
export declare const contributorRotateSecretForExtensionInstance: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
182
188
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -306,6 +306,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
306
306
|
type RequestData = InferredRequestData<typeof descriptors.contractListContracts>;
|
|
307
307
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractListContracts, TStatus>;
|
|
308
308
|
}
|
|
309
|
+
namespace ExtensionGetContributor {
|
|
310
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionGetContributor>;
|
|
311
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetContributor, TStatus>;
|
|
312
|
+
}
|
|
313
|
+
namespace ContributorDeleteContributor {
|
|
314
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorDeleteContributor>;
|
|
315
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorDeleteContributor, TStatus>;
|
|
316
|
+
}
|
|
317
|
+
namespace ContributorPatchContributor {
|
|
318
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorPatchContributor>;
|
|
319
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorPatchContributor, TStatus>;
|
|
320
|
+
}
|
|
309
321
|
namespace ContributorExpressInterestToContribute {
|
|
310
322
|
type RequestData = InferredRequestData<typeof descriptors.contributorExpressInterestToContribute>;
|
|
311
323
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorExpressInterestToContribute, TStatus>;
|
|
@@ -338,18 +350,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
338
350
|
type RequestData = InferredRequestData<typeof descriptors.contributorListOnbehalfInvoices>;
|
|
339
351
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListOnbehalfInvoices, TStatus>;
|
|
340
352
|
}
|
|
341
|
-
namespace ExtensionGetContributor {
|
|
342
|
-
type RequestData = InferredRequestData<typeof descriptors.extensionGetContributor>;
|
|
343
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetContributor, TStatus>;
|
|
344
|
-
}
|
|
345
|
-
namespace ContributorPatchContributor {
|
|
346
|
-
type RequestData = InferredRequestData<typeof descriptors.contributorPatchContributor>;
|
|
347
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorPatchContributor, TStatus>;
|
|
348
|
-
}
|
|
349
353
|
namespace ContributorReceiptGetFileAccessToken {
|
|
350
354
|
type RequestData = InferredRequestData<typeof descriptors.contributorReceiptGetFileAccessToken>;
|
|
351
355
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorReceiptGetFileAccessToken, TStatus>;
|
|
352
356
|
}
|
|
357
|
+
namespace ContributorRequestDeviatingContributorAvatarUpload {
|
|
358
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorRequestDeviatingContributorAvatarUpload>;
|
|
359
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRequestDeviatingContributorAvatarUpload, TStatus>;
|
|
360
|
+
}
|
|
361
|
+
namespace ContributorResetContributorAvatar {
|
|
362
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorResetContributorAvatar>;
|
|
363
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorResetContributorAvatar, TStatus>;
|
|
364
|
+
}
|
|
353
365
|
namespace ContributorRotateSecretForExtensionInstance {
|
|
354
366
|
type RequestData = InferredRequestData<typeof descriptors.contributorRotateSecretForExtensionInstance>;
|
|
355
367
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRotateSecretForExtensionInstance, TStatus>;
|
|
@@ -3275,6 +3287,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
3275
3287
|
homepage?: string;
|
|
3276
3288
|
id: string;
|
|
3277
3289
|
imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
|
|
3290
|
+
logoInherited?: boolean;
|
|
3278
3291
|
logoRefId?: string;
|
|
3279
3292
|
name: string;
|
|
3280
3293
|
nameInherited: boolean;
|
|
@@ -3363,15 +3376,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
3363
3376
|
*/
|
|
3364
3377
|
priceInCents: number;
|
|
3365
3378
|
}[];
|
|
3366
|
-
/**
|
|
3367
|
-
* A strategy for pricing that occurs monthly.
|
|
3368
|
-
*/
|
|
3369
|
-
interface MarketplaceMonthlyPricingStrategy {
|
|
3370
|
-
/**
|
|
3371
|
-
* The monthly price in Euro Cents before tax.
|
|
3372
|
-
*/
|
|
3373
|
-
netPrice: number;
|
|
3374
|
-
}
|
|
3375
3379
|
interface MarketplacePublicKey {
|
|
3376
3380
|
algorithm: string;
|
|
3377
3381
|
key: string;
|
|
@@ -9338,6 +9342,140 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9338
9342
|
}
|
|
9339
9343
|
}
|
|
9340
9344
|
}
|
|
9345
|
+
namespace V2ContributorsContributorId {
|
|
9346
|
+
namespace Get {
|
|
9347
|
+
namespace Parameters {
|
|
9348
|
+
type Path = {
|
|
9349
|
+
contributorId: string;
|
|
9350
|
+
};
|
|
9351
|
+
type Header = {};
|
|
9352
|
+
type Query = {};
|
|
9353
|
+
}
|
|
9354
|
+
namespace Responses {
|
|
9355
|
+
namespace $200 {
|
|
9356
|
+
namespace Content {
|
|
9357
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceContributor | MittwaldAPIV2.Components.Schemas.MarketplaceOwnContributor;
|
|
9358
|
+
}
|
|
9359
|
+
}
|
|
9360
|
+
namespace $404 {
|
|
9361
|
+
namespace Content {
|
|
9362
|
+
interface ApplicationJson {
|
|
9363
|
+
[k: string]: unknown;
|
|
9364
|
+
}
|
|
9365
|
+
}
|
|
9366
|
+
}
|
|
9367
|
+
namespace $429 {
|
|
9368
|
+
namespace Content {
|
|
9369
|
+
interface ApplicationJson {
|
|
9370
|
+
[k: string]: unknown;
|
|
9371
|
+
}
|
|
9372
|
+
}
|
|
9373
|
+
}
|
|
9374
|
+
namespace Default {
|
|
9375
|
+
namespace Content {
|
|
9376
|
+
interface ApplicationJson {
|
|
9377
|
+
[k: string]: unknown;
|
|
9378
|
+
}
|
|
9379
|
+
}
|
|
9380
|
+
}
|
|
9381
|
+
}
|
|
9382
|
+
}
|
|
9383
|
+
namespace Delete {
|
|
9384
|
+
namespace Parameters {
|
|
9385
|
+
type Path = {
|
|
9386
|
+
contributorId: string;
|
|
9387
|
+
};
|
|
9388
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9389
|
+
type Query = {};
|
|
9390
|
+
}
|
|
9391
|
+
namespace Responses {
|
|
9392
|
+
namespace $204 {
|
|
9393
|
+
namespace Content {
|
|
9394
|
+
type Empty = unknown;
|
|
9395
|
+
}
|
|
9396
|
+
}
|
|
9397
|
+
namespace $404 {
|
|
9398
|
+
namespace Content {
|
|
9399
|
+
interface ApplicationJson {
|
|
9400
|
+
[k: string]: unknown;
|
|
9401
|
+
}
|
|
9402
|
+
}
|
|
9403
|
+
}
|
|
9404
|
+
namespace $412 {
|
|
9405
|
+
namespace Content {
|
|
9406
|
+
type Empty = unknown;
|
|
9407
|
+
}
|
|
9408
|
+
}
|
|
9409
|
+
namespace $429 {
|
|
9410
|
+
namespace Content {
|
|
9411
|
+
interface ApplicationJson {
|
|
9412
|
+
[k: string]: unknown;
|
|
9413
|
+
}
|
|
9414
|
+
}
|
|
9415
|
+
}
|
|
9416
|
+
namespace Default {
|
|
9417
|
+
namespace Content {
|
|
9418
|
+
interface ApplicationJson {
|
|
9419
|
+
[k: string]: unknown;
|
|
9420
|
+
}
|
|
9421
|
+
}
|
|
9422
|
+
}
|
|
9423
|
+
}
|
|
9424
|
+
}
|
|
9425
|
+
namespace Patch {
|
|
9426
|
+
namespace Parameters {
|
|
9427
|
+
type Path = {
|
|
9428
|
+
contributorId: string;
|
|
9429
|
+
};
|
|
9430
|
+
interface RequestBody {
|
|
9431
|
+
contactPersonUserId?: string;
|
|
9432
|
+
descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
|
|
9433
|
+
deviatingContractOwner?: MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
|
|
9434
|
+
deviatingName?: string;
|
|
9435
|
+
deviatingSupportInformation?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
|
|
9436
|
+
homepage?: string;
|
|
9437
|
+
imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
|
|
9438
|
+
}
|
|
9439
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9440
|
+
type Query = {};
|
|
9441
|
+
}
|
|
9442
|
+
namespace Responses {
|
|
9443
|
+
namespace $200 {
|
|
9444
|
+
namespace Content {
|
|
9445
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnContributor;
|
|
9446
|
+
}
|
|
9447
|
+
}
|
|
9448
|
+
namespace $400 {
|
|
9449
|
+
namespace Content {
|
|
9450
|
+
interface ApplicationJson {
|
|
9451
|
+
[k: string]: unknown;
|
|
9452
|
+
}
|
|
9453
|
+
}
|
|
9454
|
+
}
|
|
9455
|
+
namespace $404 {
|
|
9456
|
+
namespace Content {
|
|
9457
|
+
interface ApplicationJson {
|
|
9458
|
+
[k: string]: unknown;
|
|
9459
|
+
}
|
|
9460
|
+
}
|
|
9461
|
+
}
|
|
9462
|
+
namespace $429 {
|
|
9463
|
+
namespace Content {
|
|
9464
|
+
interface ApplicationJson {
|
|
9465
|
+
[k: string]: unknown;
|
|
9466
|
+
}
|
|
9467
|
+
}
|
|
9468
|
+
}
|
|
9469
|
+
namespace Default {
|
|
9470
|
+
namespace Content {
|
|
9471
|
+
interface ApplicationJson {
|
|
9472
|
+
[k: string]: unknown;
|
|
9473
|
+
}
|
|
9474
|
+
}
|
|
9475
|
+
}
|
|
9476
|
+
}
|
|
9477
|
+
}
|
|
9478
|
+
}
|
|
9341
9479
|
namespace V2CustomersCustomerIdContributor {
|
|
9342
9480
|
namespace Post {
|
|
9343
9481
|
namespace Parameters {
|
|
@@ -9739,19 +9877,30 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9739
9877
|
}
|
|
9740
9878
|
}
|
|
9741
9879
|
}
|
|
9742
|
-
namespace
|
|
9880
|
+
namespace V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken {
|
|
9743
9881
|
namespace Get {
|
|
9744
9882
|
namespace Parameters {
|
|
9745
9883
|
type Path = {
|
|
9746
9884
|
contributorId: string;
|
|
9885
|
+
contributorReceiptId: string;
|
|
9747
9886
|
};
|
|
9748
|
-
type Header = {};
|
|
9887
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9749
9888
|
type Query = {};
|
|
9750
9889
|
}
|
|
9751
9890
|
namespace Responses {
|
|
9752
9891
|
namespace $200 {
|
|
9753
9892
|
namespace Content {
|
|
9754
|
-
|
|
9893
|
+
interface ApplicationJson {
|
|
9894
|
+
accessToken: string;
|
|
9895
|
+
expiresAt: string;
|
|
9896
|
+
}
|
|
9897
|
+
}
|
|
9898
|
+
}
|
|
9899
|
+
namespace $400 {
|
|
9900
|
+
namespace Content {
|
|
9901
|
+
interface ApplicationJson {
|
|
9902
|
+
[k: string]: unknown;
|
|
9903
|
+
}
|
|
9755
9904
|
}
|
|
9756
9905
|
}
|
|
9757
9906
|
namespace $404 {
|
|
@@ -9777,33 +9926,48 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9777
9926
|
}
|
|
9778
9927
|
}
|
|
9779
9928
|
}
|
|
9780
|
-
|
|
9929
|
+
}
|
|
9930
|
+
namespace V2ContributorsContributorIdAvatar {
|
|
9931
|
+
namespace Post {
|
|
9781
9932
|
namespace Parameters {
|
|
9782
9933
|
type Path = {
|
|
9783
9934
|
contributorId: string;
|
|
9784
9935
|
};
|
|
9785
|
-
interface RequestBody {
|
|
9786
|
-
contactPersonUserId?: string;
|
|
9787
|
-
descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
|
|
9788
|
-
deviatingContractOwner?: MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
|
|
9789
|
-
deviatingName?: string;
|
|
9790
|
-
deviatingSupportInformation?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
|
|
9791
|
-
homepage?: string;
|
|
9792
|
-
imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
|
|
9793
|
-
}
|
|
9794
9936
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9795
9937
|
type Query = {};
|
|
9796
9938
|
}
|
|
9797
9939
|
namespace Responses {
|
|
9798
9940
|
namespace $200 {
|
|
9799
|
-
namespace Content {
|
|
9800
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnContributor;
|
|
9801
|
-
}
|
|
9802
|
-
}
|
|
9803
|
-
namespace $400 {
|
|
9804
9941
|
namespace Content {
|
|
9805
9942
|
interface ApplicationJson {
|
|
9806
|
-
|
|
9943
|
+
/**
|
|
9944
|
+
* Use the avatarRefId as updload token at `/v2/files/{logoRefId}`.
|
|
9945
|
+
*/
|
|
9946
|
+
avatarRefId: string;
|
|
9947
|
+
/**
|
|
9948
|
+
* Constraints for the logo image upload.
|
|
9949
|
+
*/
|
|
9950
|
+
rules: {
|
|
9951
|
+
extensions: string[];
|
|
9952
|
+
fileTypes: {
|
|
9953
|
+
extensions: string[];
|
|
9954
|
+
mimeType: string;
|
|
9955
|
+
}[];
|
|
9956
|
+
maxSizeInBytes: number;
|
|
9957
|
+
mimeTypes: string[];
|
|
9958
|
+
properties?: {
|
|
9959
|
+
imageDimensions?: {
|
|
9960
|
+
max: {
|
|
9961
|
+
height?: number;
|
|
9962
|
+
width?: number;
|
|
9963
|
+
};
|
|
9964
|
+
min: {
|
|
9965
|
+
height?: number;
|
|
9966
|
+
width?: number;
|
|
9967
|
+
};
|
|
9968
|
+
};
|
|
9969
|
+
};
|
|
9970
|
+
};
|
|
9807
9971
|
}
|
|
9808
9972
|
}
|
|
9809
9973
|
}
|
|
@@ -9830,31 +9994,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9830
9994
|
}
|
|
9831
9995
|
}
|
|
9832
9996
|
}
|
|
9833
|
-
|
|
9834
|
-
namespace V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken {
|
|
9835
|
-
namespace Get {
|
|
9997
|
+
namespace Delete {
|
|
9836
9998
|
namespace Parameters {
|
|
9837
9999
|
type Path = {
|
|
9838
10000
|
contributorId: string;
|
|
9839
|
-
contributorReceiptId: string;
|
|
9840
10001
|
};
|
|
9841
10002
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9842
10003
|
type Query = {};
|
|
9843
10004
|
}
|
|
9844
10005
|
namespace Responses {
|
|
9845
|
-
namespace $
|
|
9846
|
-
namespace Content {
|
|
9847
|
-
interface ApplicationJson {
|
|
9848
|
-
accessToken: string;
|
|
9849
|
-
expiresAt: string;
|
|
9850
|
-
}
|
|
9851
|
-
}
|
|
9852
|
-
}
|
|
9853
|
-
namespace $400 {
|
|
10006
|
+
namespace $204 {
|
|
9854
10007
|
namespace Content {
|
|
9855
|
-
|
|
9856
|
-
[k: string]: unknown;
|
|
9857
|
-
}
|
|
10008
|
+
type Empty = unknown;
|
|
9858
10009
|
}
|
|
9859
10010
|
}
|
|
9860
10011
|
namespace $404 {
|
|
@@ -16068,7 +16219,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
16068
16219
|
namespace $200 {
|
|
16069
16220
|
namespace Content {
|
|
16070
16221
|
type ApplicationJson = {
|
|
16222
|
+
context?: "project" | "customer";
|
|
16071
16223
|
extensionId?: string;
|
|
16224
|
+
referencedId?: string;
|
|
16072
16225
|
}[];
|
|
16073
16226
|
}
|
|
16074
16227
|
}
|
|
@@ -16328,7 +16481,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
16328
16481
|
namespace $200 {
|
|
16329
16482
|
namespace Content {
|
|
16330
16483
|
type ApplicationJson = {
|
|
16484
|
+
context?: "project" | "customer";
|
|
16331
16485
|
extensionId?: string;
|
|
16486
|
+
referencedId?: string;
|
|
16332
16487
|
}[];
|
|
16333
16488
|
}
|
|
16334
16489
|
}
|
|
@@ -17064,6 +17219,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
17064
17219
|
contributorId: string;
|
|
17065
17220
|
};
|
|
17066
17221
|
interface RequestBody {
|
|
17222
|
+
/**
|
|
17223
|
+
* If set to true, the request will be validated but not executed.
|
|
17224
|
+
*/
|
|
17225
|
+
dryRun?: boolean;
|
|
17067
17226
|
/**
|
|
17068
17227
|
* Price in cents.
|
|
17069
17228
|
*/
|
|
@@ -17077,6 +17236,29 @@ export declare namespace MittwaldAPIV2 {
|
|
|
17077
17236
|
namespace Content {
|
|
17078
17237
|
interface ApplicationJson {
|
|
17079
17238
|
extensionId?: string;
|
|
17239
|
+
priceChangeConsequence?: {
|
|
17240
|
+
/**
|
|
17241
|
+
* Description of the consequence for the Extension from the perspective of the contributor. Values: * "NONE": No consequence. * "EDIT_BLOCK": The Extension will be blocked for editing by the contributor for 30 days.
|
|
17242
|
+
*
|
|
17243
|
+
*/
|
|
17244
|
+
contributorConsequence: "NONE" | "EDIT_BLOCK";
|
|
17245
|
+
/**
|
|
17246
|
+
* Description of the consequence for all Customers of the Extension. Values: * "NONE": No consequence. * "INFO": Customers will be informed about the upcoming changes to their contracts. * "CONFIRM_REQUIRED": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.
|
|
17247
|
+
*
|
|
17248
|
+
*/
|
|
17249
|
+
globalCustomerConsequence: "NONE" | "INFO" | "CONFIRM_REQUIRED";
|
|
17250
|
+
variantConsequences: {
|
|
17251
|
+
/**
|
|
17252
|
+
* The individual consequence for customers of a specific variant of the Extension. Values: * "NONE": No consequence. * "INFO": Customers will be informed about the upcoming changes to their contracts. * "CONFIRM_REQUIRED": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.
|
|
17253
|
+
*
|
|
17254
|
+
*/
|
|
17255
|
+
consequence?: "NONE" | "INFO" | "CONFIRM_REQUIRED";
|
|
17256
|
+
/**
|
|
17257
|
+
* The key of the variant of the Extension.
|
|
17258
|
+
*/
|
|
17259
|
+
variantKey?: string;
|
|
17260
|
+
}[];
|
|
17261
|
+
};
|
|
17080
17262
|
}
|
|
17081
17263
|
}
|
|
17082
17264
|
}
|
|
@@ -18662,7 +18844,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
18662
18844
|
limit?: number;
|
|
18663
18845
|
skip?: number;
|
|
18664
18846
|
page?: number;
|
|
18665
|
-
sort?: "potential" | "relevance";
|
|
18847
|
+
sort?: "potential" | "relevance" | "company";
|
|
18666
18848
|
order?: "asc" | "desc";
|
|
18667
18849
|
};
|
|
18668
18850
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.215.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.216.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": "8df6cff658b9f87e2664595eebd379180df231a1"
|
|
84
84
|
}
|