Skip to content

Commit

Permalink
feat: update generated client
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Nov 13, 2024
1 parent 5607bec commit 5deccc3
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 108 deletions.
2 changes: 1 addition & 1 deletion packages/mittwald/spec/openapi.json

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions packages/mittwald/src/generated/v2/descriptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7963,6 +7963,40 @@ export const mailUpdateProjectMailSetting: OpenAPIOperation<
operationId: "mail-update-project-mail-setting",
};

/** Get all extensions and instances health for the contributor. */
export const marketplaceGetExtensionshealth: OpenAPIOperation<
RequestType<
Simplify<null>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Path>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Query>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Header>
>,
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$200.Content.ApplicationJson>,
200,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$404.Content.ApplicationJson>,
404,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$429.Content.ApplicationJson>,
429,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.Default.Content.ApplicationJson>,
"default",
"application/json"
>
> = {
path: "/v2/marketplace/{contributorId}/extensionshealth",
method: "GET",
operationId: "marketplace-get-extensionshealth",
};

/** Getting the subscription status of the subscription. */
export const newsletterGetInfo: OpenAPIOperation<
RequestType<
Expand Down Expand Up @@ -12547,37 +12581,3 @@ export const verificationVerifyCompany: OpenAPIOperation<
method: "POST",
operationId: "verification-verify-company",
};

/** Get all extensions and instances health for the contributor. */
export const marketplaceGetExtensionshealth: OpenAPIOperation<
RequestType<
Simplify<null>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Path>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Query>,
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Parameters.Header>
>,
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$200.Content.ApplicationJson>,
200,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$404.Content.ApplicationJson>,
404,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.$429.Content.ApplicationJson>,
429,
"application/json"
>
| Response<
Simplify<MittwaldAPIV2.Paths.V2MarketplaceContributorIdExtensionshealth.Get.Responses.Default.Content.ApplicationJson>,
"default",
"application/json"
>
> = {
path: "/v2/marketplace/{contributorId}/extensionshealth",
method: "GET",
operationId: "marketplace-get-extensionshealth",
};
146 changes: 73 additions & 73 deletions packages/mittwald/src/generated/v2/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2061,6 +2061,17 @@ export declare module MittwaldAPIV2 {
>;
}

namespace MarketplaceGetExtensionshealth {
type RequestData = InferredRequestData<
typeof descriptors.marketplaceGetExtensionshealth
>;
type ResponseData<TStatus extends HttpStatus = 200> =
InferredResponseData<
typeof descriptors.marketplaceGetExtensionshealth,
TStatus
>;
}

namespace NewsletterGetInfo {
type RequestData = InferredRequestData<
typeof descriptors.newsletterGetInfo
Expand Down Expand Up @@ -3277,17 +3288,6 @@ export declare module MittwaldAPIV2 {
TStatus
>;
}

namespace MarketplaceGetExtensionshealth {
type RequestData = InferredRequestData<
typeof descriptors.marketplaceGetExtensionshealth
>;
type ResponseData<TStatus extends HttpStatus = 200> =
InferredResponseData<
typeof descriptors.marketplaceGetExtensionshealth,
TStatus
>;
}
}

namespace Components {
Expand Down Expand Up @@ -4578,6 +4578,12 @@ export declare module MittwaldAPIV2 {
en?: MittwaldAPIV2.Components.Schemas.MarketplaceDescriptionFormats;
}

export interface MarketplaceExtensionHealth {
extensionInstancesHealth?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceHealth[];
functional: boolean;
id: string;
}

export interface MarketplaceExtensionInstance {
aggregateReference: {
aggregate: string;
Expand All @@ -4593,6 +4599,14 @@ export declare module MittwaldAPIV2 {
pendingRemoval: boolean;
}

export interface MarketplaceExtensionInstanceHealth {
id: string;
pendingInstallation?: boolean;
pendingRemval?: boolean;
pendingWebhooks?: number;
webhooksHalted?: boolean;
}

export interface MarketplaceExternalComponent {
name: string;
url: string;
Expand Down Expand Up @@ -6419,20 +6433,6 @@ export declare module MittwaldAPIV2 {
value: string;
}

export interface MarketplaceExtensionHealth {
extensionInstancesHealth?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceHealth[];
functional: boolean;
id: string;
}

export interface MarketplaceExtensionInstanceHealth {
id: string;
pendingInstallation?: boolean;
pendingRemval?: boolean;
pendingWebhooks?: number;
webhooksHalted?: boolean;
}

export interface CommonsAddress {
street: string;
houseNumber: string;
Expand Down Expand Up @@ -18616,6 +18616,54 @@ export declare module MittwaldAPIV2 {

namespace V2ProjectsProjectIdMailSettingsSetting {}

namespace V2MarketplaceContributorIdExtensionshealth {
namespace Get {
namespace Parameters {
export type Path = {
contributorId: string;
};

export type Header =
{} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;

export type Query = {};
}
namespace Responses {
namespace $200 {
namespace Content {
export interface ApplicationJson {
extensionsHealth: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionHealth[];
}
}
}

namespace $404 {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}

namespace $429 {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}

namespace Default {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}
}
}
}

namespace V2NewsletterSubscriptionsSelf {
namespace Get {
namespace Parameters {
Expand Down Expand Up @@ -25700,53 +25748,5 @@ export declare module MittwaldAPIV2 {
}
}
}

namespace V2MarketplaceContributorIdExtensionshealth {
namespace Get {
namespace Parameters {
export type Path = {
contributorId: string;
};

export type Header =
{} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;

export type Query = {};
}
namespace Responses {
namespace $200 {
namespace Content {
export interface ApplicationJson {
extensionsHealth: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionHealth[];
}
}
}

namespace $404 {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}

namespace $429 {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}

namespace Default {
namespace Content {
export interface ApplicationJson {
[k: string]: unknown;
}
}
}
}
}
}
}
}

0 comments on commit 5deccc3

Please sign in to comment.