UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

38 lines 1.41 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { internalCreateDeployment } from "../funcs/internalCreateDeployment.js"; import { internalGetDeployment } from "../funcs/internalGetDeployment.js"; import { ClientSDK } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; export class Internal extends ClientSDK { /** * Create deployment * * @remarks * **INTERNAL** - This endpoint is internal and may change without notice. * Not recommended for production use. * * Creates a new deployment for a project using either a pre-built Docker image or build context. * * **Authentication**: Requires a valid root key with appropriate permissions. */ async createDeployment(request, options) { return unwrapAsync(internalCreateDeployment(this, request, options)); } /** * Get deployment * * @remarks * **INTERNAL** - This endpoint is internal and may change without notice. * Not recommended for production use. * * Retrieves deployment information including status, error messages, and steps. * * **Authentication**: Requires a valid root key with appropriate permissions. */ async getDeployment(request, options) { return unwrapAsync(internalGetDeployment(this, request, options)); } } //# sourceMappingURL=internal.js.map