@mittwald/api-client 4.180.0 → 4.181.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.js +0 -2
- package/dist/esm/generated/v2/descriptors.js +0 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client.d.ts +0 -86
- package/dist/types/generated/v2/descriptors.d.ts +0 -2
- package/dist/types/generated/v2/types.d.ts +0 -65
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -295,8 +295,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
295
295
|
extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
|
|
296
296
|
/** Publish or withdraw an Extension. */
|
|
297
297
|
extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
|
|
298
|
-
/** Start a checkout process for an extension. */
|
|
299
|
-
extensionStartExtensionCheckout: this.requestFunctionFactory(descriptors.extensionStartExtensionCheckout),
|
|
300
298
|
/** Creates or Updates Pricing for an Extension. */
|
|
301
299
|
extensionUpdateExtensionPricing: this.requestFunctionFactory(descriptors.extensionUpdateExtensionPricing),
|
|
302
300
|
/** Get payment method details */
|
|
@@ -1366,12 +1366,6 @@ export const extensionSetExtensionPublishedState = {
|
|
|
1366
1366
|
method: "PUT",
|
|
1367
1367
|
operationId: "extension-set-extension-published-state",
|
|
1368
1368
|
};
|
|
1369
|
-
/** Start a checkout process for an extension. */
|
|
1370
|
-
export const extensionStartExtensionCheckout = {
|
|
1371
|
-
path: "/v2/extensions/{extensionId}/checkout",
|
|
1372
|
-
method: "POST",
|
|
1373
|
-
operationId: "extension-start-extension-checkout",
|
|
1374
|
-
};
|
|
1375
1369
|
/** Creates or Updates Pricing for an Extension. */
|
|
1376
1370
|
export const extensionUpdateExtensionPricing = {
|
|
1377
1371
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/pricing",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.180.0';
|
|
@@ -9237,92 +9237,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9237
9237
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9238
9238
|
[x: string]: unknown;
|
|
9239
9239
|
}, 429, "application/json">>>;
|
|
9240
|
-
/** Start a checkout process for an extension. */
|
|
9241
|
-
extensionStartExtensionCheckout: (request: {
|
|
9242
|
-
data: {
|
|
9243
|
-
consentedScopes: string[];
|
|
9244
|
-
customerId: string;
|
|
9245
|
-
};
|
|
9246
|
-
extensionId: string;
|
|
9247
|
-
headers?: {
|
|
9248
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9249
|
-
"x-access-token"?: string | undefined;
|
|
9250
|
-
} | undefined;
|
|
9251
|
-
} | {
|
|
9252
|
-
data: {
|
|
9253
|
-
consentedScopes: string[];
|
|
9254
|
-
projectId: string;
|
|
9255
|
-
};
|
|
9256
|
-
extensionId: string;
|
|
9257
|
-
headers?: {
|
|
9258
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9259
|
-
"x-access-token"?: string | undefined;
|
|
9260
|
-
} | undefined;
|
|
9261
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
|
|
9262
|
-
data: {
|
|
9263
|
-
consentedScopes: string[];
|
|
9264
|
-
customerId: string;
|
|
9265
|
-
};
|
|
9266
|
-
} | {
|
|
9267
|
-
data: {
|
|
9268
|
-
consentedScopes: string[];
|
|
9269
|
-
projectId: string;
|
|
9270
|
-
};
|
|
9271
|
-
}) & {
|
|
9272
|
-
pathParameters: {
|
|
9273
|
-
extensionId: string;
|
|
9274
|
-
};
|
|
9275
|
-
}) & {
|
|
9276
|
-
headers?: Partial<{
|
|
9277
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9278
|
-
}>;
|
|
9279
|
-
} & {
|
|
9280
|
-
headers: {
|
|
9281
|
-
"x-access-token"?: string | undefined;
|
|
9282
|
-
} & Partial<{
|
|
9283
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9284
|
-
}>;
|
|
9285
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
9286
|
-
checkoutUrl?: string | undefined;
|
|
9287
|
-
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9288
|
-
[x: string]: unknown;
|
|
9289
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9290
|
-
[x: string]: unknown;
|
|
9291
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9292
|
-
[x: string]: unknown;
|
|
9293
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
|
|
9294
|
-
data: {
|
|
9295
|
-
consentedScopes: string[];
|
|
9296
|
-
customerId: string;
|
|
9297
|
-
};
|
|
9298
|
-
} | {
|
|
9299
|
-
data: {
|
|
9300
|
-
consentedScopes: string[];
|
|
9301
|
-
projectId: string;
|
|
9302
|
-
};
|
|
9303
|
-
}) & {
|
|
9304
|
-
pathParameters: {
|
|
9305
|
-
extensionId: string;
|
|
9306
|
-
};
|
|
9307
|
-
}) & {
|
|
9308
|
-
headers?: Partial<{
|
|
9309
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9310
|
-
}>;
|
|
9311
|
-
} & {
|
|
9312
|
-
headers: {
|
|
9313
|
-
"x-access-token"?: string | undefined;
|
|
9314
|
-
} & Partial<{
|
|
9315
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9316
|
-
}>;
|
|
9317
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
9318
|
-
checkoutUrl?: string | undefined;
|
|
9319
|
-
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9320
|
-
[x: string]: unknown;
|
|
9321
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9322
|
-
[x: string]: unknown;
|
|
9323
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9324
|
-
[x: string]: unknown;
|
|
9325
|
-
}, 429, "application/json">>>;
|
|
9326
9240
|
/** Creates or Updates Pricing for an Extension. */
|
|
9327
9241
|
extensionUpdateExtensionPricing: (request: {
|
|
9328
9242
|
extensionId: string;
|
|
@@ -459,8 +459,6 @@ export declare const extensionRequestAssetUpload: OpenAPIOperation<RequestType<S
|
|
|
459
459
|
export declare const extensionRequestExtensionVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$204.Content.ApplicationJson>, 204, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
460
460
|
/** Publish or withdraw an Extension. */
|
|
461
461
|
export declare const extensionSetExtensionPublishedState: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
462
|
-
/** Start a checkout process for an extension. */
|
|
463
|
-
export declare const extensionStartExtensionCheckout: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionIdCheckout.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
464
462
|
/** Creates or Updates Pricing for an Extension. */
|
|
465
463
|
export declare const extensionUpdateExtensionPricing: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPricing.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
466
464
|
/** Create a File. */
|
|
@@ -914,10 +914,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
914
914
|
type RequestData = InferredRequestData<typeof descriptors.extensionSetExtensionPublishedState>;
|
|
915
915
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionSetExtensionPublishedState, TStatus>;
|
|
916
916
|
}
|
|
917
|
-
namespace ExtensionStartExtensionCheckout {
|
|
918
|
-
type RequestData = InferredRequestData<typeof descriptors.extensionStartExtensionCheckout>;
|
|
919
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionStartExtensionCheckout, TStatus>;
|
|
920
|
-
}
|
|
921
917
|
namespace ExtensionUpdateExtensionPricing {
|
|
922
918
|
type RequestData = InferredRequestData<typeof descriptors.extensionUpdateExtensionPricing>;
|
|
923
919
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionUpdateExtensionPricing, TStatus>;
|
|
@@ -16590,67 +16586,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
16590
16586
|
}
|
|
16591
16587
|
}
|
|
16592
16588
|
}
|
|
16593
|
-
namespace V2ExtensionsExtensionIdCheckout {
|
|
16594
|
-
namespace Post {
|
|
16595
|
-
namespace Parameters {
|
|
16596
|
-
type Path = {
|
|
16597
|
-
extensionId: string;
|
|
16598
|
-
};
|
|
16599
|
-
type RequestBody = {
|
|
16600
|
-
consentedScopes: string[];
|
|
16601
|
-
/**
|
|
16602
|
-
* The customer the extension should be booked for. Either customerId or projectId is required.
|
|
16603
|
-
*/
|
|
16604
|
-
customerId: string;
|
|
16605
|
-
} | {
|
|
16606
|
-
consentedScopes: string[];
|
|
16607
|
-
/**
|
|
16608
|
-
* The project the extension should be installed in. Either customerId or projectId is required.
|
|
16609
|
-
*/
|
|
16610
|
-
projectId: string;
|
|
16611
|
-
};
|
|
16612
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
16613
|
-
type Query = {};
|
|
16614
|
-
}
|
|
16615
|
-
namespace Responses {
|
|
16616
|
-
namespace $201 {
|
|
16617
|
-
namespace Content {
|
|
16618
|
-
interface ApplicationJson {
|
|
16619
|
-
checkoutUrl?: string;
|
|
16620
|
-
}
|
|
16621
|
-
}
|
|
16622
|
-
}
|
|
16623
|
-
namespace $400 {
|
|
16624
|
-
namespace Content {
|
|
16625
|
-
interface ApplicationJson {
|
|
16626
|
-
[k: string]: unknown;
|
|
16627
|
-
}
|
|
16628
|
-
}
|
|
16629
|
-
}
|
|
16630
|
-
namespace $404 {
|
|
16631
|
-
namespace Content {
|
|
16632
|
-
interface ApplicationJson {
|
|
16633
|
-
[k: string]: unknown;
|
|
16634
|
-
}
|
|
16635
|
-
}
|
|
16636
|
-
}
|
|
16637
|
-
namespace $429 {
|
|
16638
|
-
namespace Content {
|
|
16639
|
-
interface ApplicationJson {
|
|
16640
|
-
[k: string]: unknown;
|
|
16641
|
-
}
|
|
16642
|
-
}
|
|
16643
|
-
}
|
|
16644
|
-
namespace Default {
|
|
16645
|
-
namespace Content {
|
|
16646
|
-
interface ApplicationJson {
|
|
16647
|
-
[k: string]: unknown;
|
|
16648
|
-
}
|
|
16649
|
-
}
|
|
16650
|
-
}
|
|
16651
|
-
}
|
|
16652
|
-
}
|
|
16653
|
-
}
|
|
16654
16589
|
namespace V2ContributorsContributorIdExtensionsExtensionIdPricing {
|
|
16655
16590
|
namespace Put {
|
|
16656
16591
|
namespace Parameters {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.180.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.181.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": "2ba9ea38cf0d2cd9c073cf10edfdcfe3f060ad7c"
|
|
84
84
|
}
|