import { CreateFunctionBuilderlessProductionRequest as CreateFunctionBuilderlessProductionRequest$1, CreateFunctionBuilderlessProductionResponse as CreateFunctionBuilderlessProductionResponse$1, GetFunctionBuilderlessProductionRequest as GetFunctionBuilderlessProductionRequest$1, GetFunctionBuilderlessProductionResponse as GetFunctionBuilderlessProductionResponse$1, UpdateFunctionBuilderlessProductionRequest as UpdateFunctionBuilderlessProductionRequest$1, UpdateFunctionBuilderlessProductionResponse as UpdateFunctionBuilderlessProductionResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; /** A function builderless production defines a function and its related entities. */ interface FunctionBuilderlessProduction { /** * Function builderless production ID. This is the same as the associated function's ID. * @format GUID * @readonly */ id?: string | null; /** * App ID of the business solution that created the function type the function builderless production is based on. * @format GUID */ appId?: string; /** * Form values used to create the function. Retrieve the required form values by calling the Form Schema API's [List Forms](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/list-forms) method, specifying the following parameters: * - `namespace`: `wix.function_template.form` * - `formIds`: An array that contains the function template's `formTemplateExtensionId` * - `kind`: `EXTENSION` */ formValues?: Record; /** Function created from the function builderless production. */ function?: _Function; /** Service plugin configuration for the function. */ functionSpiConfiguration?: FunctionSpiConfiguration; /** * Automations created from the function builderless production. * @format GUID * @readonly * @maxSize 100 */ automationIds?: string[]; } interface _Function { /** * Function ID. * @format GUID * @readonly */ id?: string | null; /** * Date and time the function was created. * @readonly */ createdDate?: Date | null; /** * The function's app extension ID. * @format GUID * @readonly */ functionExtensionId?: string | null; /** * Function name. * @maxLength 100 * @readonly */ functionName?: string | null; /** * Activation status * @readonly */ activationStatus?: ActivationStatusWithLiterals; /** * ID of the app that defines the function. * @format GUID * @readonly */ appId?: string | null; /** * The function's app extension name. * @minLength 1 * @maxLength 100 * @readonly */ functionExtensionName?: string | null; /** * Function template extension id * @format GUID */ functionTemplateExtensionId?: string | null; /** * Form template extension id * @format GUID */ formTemplateExtensionId?: string | null; /** * Date and time the function was last updated. * @readonly */ updatedDate?: Date | null; /** * Revision number that increases with every update. * @readonly */ revision?: string | null; } declare enum ActivationStatus { /** Function is activated. */ ACTIVE = "ACTIVE", /** Function is deactivated. */ INACTIVE = "INACTIVE", /** Function is saved but has never been activated. */ DRAFT = "DRAFT" } /** @enumType */ type ActivationStatusWithLiterals = ActivationStatus | 'ACTIVE' | 'INACTIVE' | 'DRAFT'; /** SpiConfiguration is a spi configuration for a specific function. */ interface FunctionSpiConfiguration { /** * SpiConfiguration ID. * @format GUID * @readonly */ id?: string | null; /** * SpiConfiguration revision. * @readonly */ revision?: string | null; /** * Date and time the SpiConfiguration was created. * @readonly */ createdDate?: Date | null; /** * Date and time the SpiConfiguration was last updated. * @readonly */ updatedDate?: Date | null; /** * Function ID * @format GUID * @readonly */ functionId?: string | null; /** Function SPI configuration dev center component payload. */ configuration?: Record | null; } interface CreateFunctionBuilderlessProductionRequest { /** Function builderless production to create. */ functionBuilderlessProduction: FunctionBuilderlessProduction; } interface CreateFunctionBuilderlessProductionResponse { /** The created function builderless production. */ functionBuilderlessProduction?: FunctionBuilderlessProduction; } interface GetFunctionBuilderlessProductionRequest { /** * ID of the function to retrieve the builderless production for. * @format GUID */ functionId: string; } interface GetFunctionBuilderlessProductionResponse { /** The requested function builderless production. */ functionBuilderlessProduction?: FunctionBuilderlessProduction; } interface UpdateFunctionBuilderlessProductionRequest { /** Function builderless production to update. */ functionBuilderlessProduction: FunctionBuilderlessProduction; } interface UpdateFunctionBuilderlessProductionResponse { /** Updated function builderless production. */ functionBuilderlessProduction?: FunctionBuilderlessProduction; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function createFunctionBuilderlessProduction(): __PublicMethodMetaInfo<'POST', {}, CreateFunctionBuilderlessProductionRequest$1, CreateFunctionBuilderlessProductionRequest, CreateFunctionBuilderlessProductionResponse$1, CreateFunctionBuilderlessProductionResponse>; declare function getFunctionBuilderlessProduction(): __PublicMethodMetaInfo<'GET', { functionId: string; }, GetFunctionBuilderlessProductionRequest$1, GetFunctionBuilderlessProductionRequest, GetFunctionBuilderlessProductionResponse$1, GetFunctionBuilderlessProductionResponse>; declare function updateFunctionBuilderlessProduction(): __PublicMethodMetaInfo<'PATCH', { functionBuilderlessProductionId: string; }, UpdateFunctionBuilderlessProductionRequest$1, UpdateFunctionBuilderlessProductionRequest, UpdateFunctionBuilderlessProductionResponse$1, UpdateFunctionBuilderlessProductionResponse>; export { ActivationStatus as ActivationStatusOriginal, type ActivationStatusWithLiterals as ActivationStatusWithLiteralsOriginal, type CreateFunctionBuilderlessProductionRequest as CreateFunctionBuilderlessProductionRequestOriginal, type CreateFunctionBuilderlessProductionResponse as CreateFunctionBuilderlessProductionResponseOriginal, type FunctionBuilderlessProduction as FunctionBuilderlessProductionOriginal, type FunctionSpiConfiguration as FunctionSpiConfigurationOriginal, type GetFunctionBuilderlessProductionRequest as GetFunctionBuilderlessProductionRequestOriginal, type GetFunctionBuilderlessProductionResponse as GetFunctionBuilderlessProductionResponseOriginal, type UpdateFunctionBuilderlessProductionRequest as UpdateFunctionBuilderlessProductionRequestOriginal, type UpdateFunctionBuilderlessProductionResponse as UpdateFunctionBuilderlessProductionResponseOriginal, type _Function as _FunctionOriginal, type __PublicMethodMetaInfo, createFunctionBuilderlessProduction, getFunctionBuilderlessProduction, updateFunctionBuilderlessProduction };