import { PublishableApiKey, SalesChannel } from "../../../../models"; import { DeleteResponse, PaginatedResponse } from "../../../../types/common"; declare const _default: (app: any) => void; export default _default; /** * @schema AdminPublishableApiKeysRes * type: object * required: * - publishable_api_key * properties: * publishable_api_key: * description: "Publishable API key details." * $ref: "#/components/schemas/PublishableApiKey" */ export type AdminPublishableApiKeysRes = { publishable_api_key: PublishableApiKey; }; /** * @schema AdminPublishableApiKeysListRes * type: object * required: * - publishable_api_keys * - count * - offset * - limit * properties: * publishable_api_keys: * type: array * description: "An array of publishable API keys details." * items: * $ref: "#/components/schemas/PublishableApiKey" * count: * type: integer * description: The total number of items available * offset: * type: integer * description: The number of publishable API keys skipped when retrieving the publishable API keys. * limit: * type: integer * description: The number of items per page */ export type AdminPublishableApiKeysListRes = PaginatedResponse & { publishable_api_keys: PublishableApiKey[]; }; /** * @schema AdminPublishableApiKeyDeleteRes * type: object * required: * - id * - object * - deleted * properties: * id: * type: string * description: The ID of the deleted publishable API key. * object: * type: string * description: The type of the object that was deleted. * default: publishable_api_key * deleted: * type: boolean * description: Whether the publishable API key was deleted. * default: true */ export type AdminPublishableApiKeyDeleteRes = DeleteResponse; /** * @schema AdminPublishableApiKeysListSalesChannelsRes * type: object * required: * - sales_channels * properties: * sales_channels: * description: "An array of sales channels details." * type: array * items: * $ref: "#/components/schemas/SalesChannel" */ export type AdminPublishableApiKeysListSalesChannelsRes = { sales_channels: SalesChannel[]; }; export * from "./add-channels-batch"; export * from "./delete-channels-batch"; export * from "./list-publishable-api-keys"; export * from "./list-publishable-api-key-sales-channels"; export * from "./create-publishable-api-key"; export * from "./update-publishable-api-key";