diff --git a/api/Api.ts b/api/Api.ts index dd9baa2..7af0232 100644 --- a/api/Api.ts +++ b/api/Api.ts @@ -11,2409 +11,2228 @@ */ /** @default "view" */ -export enum IV2PostsListParamsContextEnum { +export enum IV1CouponsListParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } -export enum IV2PostsListParamsSearchSemanticsEnum { - Exact = "exact", -} - /** @default "desc" */ -export enum IV2PostsListParamsOrderEnum { +export enum IV1CouponsListParamsOrderEnum { Asc = "asc", Desc = "desc", } /** @default "date" */ -export enum IV2PostsListParamsOrderbyEnum { - Author = "author", +export enum IV1CouponsListParamsOrderbyEnum { Date = "date", Id = "id", Include = "include", + Title = "title", + Slug = "slug", Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", } -export enum IV2PostsListParamsTaxRelationEnum { - AND = "AND", - OR = "OR", -} - -export enum IStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IFormatEnum { - Standard = "standard", - Aside = "aside", - Chat = "chat", - Gallery = "gallery", - Link = "link", - Image = "image", - Quote = "quote", - Status = "status", - Video = "video", - Audio = "audio", +/** @default "fixed_cart" */ +export enum IDiscountTypeEnum { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } /** @default "view" */ -export enum IV2PostsDetailParamsContextEnum { +export enum IV1CouponsDetailParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } -export enum IStatusEnum1 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", +export enum IDiscountTypeEnum1 { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } -export enum ICommentStatusEnum1 { - Open = "open", - Closed = "closed", +export enum IV1CouponsUpdateParamsDiscountTypeEnum { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } -export enum IPingStatusEnum1 { - Open = "open", - Closed = "closed", +export enum IV1CouponsPartialUpdateParamsDiscountTypeEnum { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } -export enum IFormatEnum1 { - Standard = "standard", - Aside = "aside", - Chat = "chat", - Gallery = "gallery", - Link = "link", - Image = "image", - Quote = "quote", - Status = "status", - Video = "video", - Audio = "audio", +export enum IDiscountTypeEnum2 { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } -export enum IV2PostsUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", +export enum IV1CouponsBatchUpdateParamsDiscountTypeEnum { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } -export enum IV2PostsUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PostsUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PostsUpdateParamsFormatEnum { - Standard = "standard", - Aside = "aside", - Chat = "chat", - Gallery = "gallery", - Link = "link", - Image = "image", - Quote = "quote", - Status = "status", - Video = "video", - Audio = "audio", -} - -export enum IV2PostsPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2PostsPartialUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PostsPartialUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PostsPartialUpdateParamsFormatEnum { - Standard = "standard", - Aside = "aside", - Chat = "chat", - Gallery = "gallery", - Link = "link", - Image = "image", - Quote = "quote", - Status = "status", - Video = "video", - Audio = "audio", +export enum IV1CouponsBatchPartialUpdateParamsDiscountTypeEnum { + Percent = "percent", + FixedCart = "fixed_cart", + FixedProduct = "fixed_product", } /** @default "view" */ -export enum IV2PostsRevisionsListParamsContextEnum { +export enum IV1CustomersDownloadsListParamsContextEnum { View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2PostsRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2PostsRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", } /** @default "view" */ -export enum IV2PostsDetail2ParamsContextEnum { +export enum IV1CustomersListParamsContextEnum { View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2PostsAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum2 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum2 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum2 { - Open = "open", - Closed = "closed", -} - -export enum IFormatEnum2 { - Standard = "standard", - Aside = "aside", - Chat = "chat", - Gallery = "gallery", - Link = "link", - Image = "image", - Quote = "quote", - Status = "status", - Video = "video", - Audio = "audio", -} - -/** @default "view" */ -export enum IV2PagesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2PagesListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2PagesListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2PagesListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", - MenuOrder = "menu_order", -} - -export enum IStatusEnum3 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum3 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum3 { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2PagesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum4 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum4 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum4 { - Open = "open", - Closed = "closed", -} - -export enum IV2PagesUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2PagesUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PagesUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PagesPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2PagesPartialUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2PagesPartialUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2PagesRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2PagesRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2PagesRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -/** @default "view" */ -export enum IV2PagesDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2PagesAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum5 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum5 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum5 { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2MediaListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2MediaListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2MediaListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2MediaListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -export enum IV2MediaListParamsMediaTypeEnum { - Image = "image", - Video = "video", - Text = "text", - Application = "application", - Audio = "audio", -} - -export enum IStatusEnum6 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum6 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum6 { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2MediaDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum7 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum7 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum7 { - Open = "open", - Closed = "closed", -} - -export enum IV2MediaUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2MediaUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2MediaUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2MediaPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2MediaPartialUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2MediaPartialUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IActionEnum { - CreateImageSubsizes = "create-image-subsizes", -} - -/** @default "view" */ -export enum IV2MenuItemsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2MenuItemsListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "asc" */ -export enum IV2MenuItemsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "menu_order" */ -export enum IV2MenuItemsListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", - MenuOrder = "menu_order", -} - -export enum IV2MenuItemsListParamsTaxRelationEnum { - AND = "AND", - OR = "OR", -} - -/** @default "custom" */ -export enum ITypeEnum { - Taxonomy = "taxonomy", - PostType = "post_type", - PostTypeArchive = "post_type_archive", - Custom = "custom", -} - -/** @default "publish" */ -export enum IStatusEnum8 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ITargetEnum { - Blank = "_blank", - Value = "", -} - -/** @default "view" */ -export enum IV2MenuItemsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum ITypeEnum1 { - Taxonomy = "taxonomy", - PostType = "post_type", - PostTypeArchive = "post_type_archive", - Custom = "custom", -} - -export enum IStatusEnum9 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ITargetEnum1 { - Blank = "_blank", - Value = "", -} - -export enum IV2MenuItemsUpdateParamsTypeEnum { - Taxonomy = "taxonomy", - PostType = "post_type", - PostTypeArchive = "post_type_archive", - Custom = "custom", -} - -export enum IV2MenuItemsUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2MenuItemsUpdateParamsTargetEnum { - Blank = "_blank", - Value = "", -} - -export enum IV2MenuItemsPartialUpdateParamsTypeEnum { - Taxonomy = "taxonomy", - PostType = "post_type", - PostTypeArchive = "post_type_archive", - Custom = "custom", -} - -export enum IV2MenuItemsPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2MenuItemsPartialUpdateParamsTargetEnum { - Blank = "_blank", - Value = "", -} - -/** @default "view" */ -export enum IV2MenuItemsAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum ITypeEnum2 { - Taxonomy = "taxonomy", - PostType = "post_type", - PostTypeArchive = "post_type_archive", - Custom = "custom", -} - -export enum IStatusEnum10 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ITargetEnum2 { - Blank = "_blank", - Value = "", -} - -/** @default "view" */ -export enum IV2MenuItemsDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2BlocksListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2BlocksListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2BlocksListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2BlocksListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -export enum IV2BlocksListParamsTaxRelationEnum { - AND = "AND", - OR = "OR", -} - -export enum IStatusEnum11 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2BlocksDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum12 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2BlocksUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2BlocksPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2BlocksRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2BlocksRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2BlocksRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -/** @default "view" */ -export enum IV2BlocksDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2BlocksAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum13 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatesRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2TemplatesRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2TemplatesRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -/** @default "view" */ -export enum IV2TemplatesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TemplatesAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum14 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "publish" */ -export enum IStatusEnum15 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatesDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum16 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2TemplatesUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2TemplatesPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatePartsRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2TemplatePartsRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2TemplatePartsRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -/** @default "view" */ -export enum IV2TemplatePartsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TemplatePartsAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum17 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatePartsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "publish" */ -export enum IStatusEnum18 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2TemplatePartsDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum19 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2TemplatePartsUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2TemplatePartsPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2GlobalStylesRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2GlobalStylesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2NavigationListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2NavigationListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2NavigationListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2NavigationListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -export enum IStatusEnum20 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2NavigationDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum21 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2NavigationUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2NavigationPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2NavigationRevisionsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2NavigationRevisionsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2NavigationRevisionsListParamsOrderbyEnum { - Date = "date", - Id = "id", - Include = "include", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", -} - -/** @default "view" */ -export enum IV2NavigationDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2NavigationAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum22 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -/** @default "view" */ -export enum IV2FontFamiliesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2FontFamiliesListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2FontFamiliesListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "id" */ -export enum IV2FontFamiliesListParamsOrderbyEnum { - Id = "id", - Include = "include", -} - -/** @default "view" */ -export enum IV2FontFamiliesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2FontFamiliesFontFacesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2FontFamiliesFontFacesListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2FontFamiliesFontFacesListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "id" */ -export enum IV2FontFamiliesFontFacesListParamsOrderbyEnum { - Id = "id", - Include = "include", -} - -/** @default "view" */ -export enum IV2FontFamiliesDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2ProductListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2ProductListParamsSearchSemanticsEnum { - Exact = "exact", -} - -/** @default "desc" */ -export enum IV2ProductListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date" */ -export enum IV2ProductListParamsOrderbyEnum { - Author = "author", - Date = "date", - Id = "id", - Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", - Title = "title", - Popularity = "popularity", - Rating = "rating", - PostIn = "post__in", - Price = "price", - Sales = "sales", - MenuOrder = "menu_order", - Random = "random", - Popularity1 = "popularity", - Rating2 = "rating", -} - -export enum IV2ProductListParamsTaxRelationEnum { - AND = "AND", - OR = "OR", -} - -export enum IStatusEnum23 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum8 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum8 { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2ProductDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum24 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum9 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum9 { - Open = "open", - Closed = "closed", -} - -export enum IV2ProductUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2ProductUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2ProductUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2ProductPartialUpdateParamsStatusEnum { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum IV2ProductPartialUpdateParamsCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2ProductPartialUpdateParamsPingStatusEnum { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2ProductAutosavesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum25 { - Publish = "publish", - Future = "future", - Draft = "draft", - Pending = "pending", - Private = "private", - WcPending = "wc-pending", - WcProcessing = "wc-processing", - WcOnHold = "wc-on-hold", - WcCompleted = "wc-completed", - WcCancelled = "wc-cancelled", - WcRefunded = "wc-refunded", - WcFailed = "wc-failed", - WcCheckoutDraft = "wc-checkout-draft", -} - -export enum ICommentStatusEnum10 { - Open = "open", - Closed = "closed", -} - -export enum IPingStatusEnum10 { - Open = "open", - Closed = "closed", -} - -/** @default "view" */ -export enum IV2ProductDetail2ParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TypesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TypesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2StatusesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2StatusesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TaxonomiesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TaxonomiesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2CategoriesListParamsContextEnum { - View = "view", - Embed = "embed", Edit = "edit", } /** @default "asc" */ -export enum IV2CategoriesListParamsOrderEnum { +export enum IV1CustomersListParamsOrderEnum { Asc = "asc", Desc = "desc", } /** @default "name" */ -export enum IV2CategoriesListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2CategoriesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2TagsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2TagsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2TagsListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2TagsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2MenusListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2MenusListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2MenusListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2MenusDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2WpPatternCategoryListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2WpPatternCategoryListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2WpPatternCategoryListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2WpPatternCategoryDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2ProductBrandListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2ProductBrandListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2ProductBrandListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2ProductBrandDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2ProductCatListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2ProductCatListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2ProductCatListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2ProductCatDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2ProductTagListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2ProductTagListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2ProductTagListParamsOrderbyEnum { - Id = "id", - Include = "include", - Name = "name", - Slug = "slug", - IncludeSlugs = "include_slugs", - TermGroup = "term_group", - Description = "description", - Count = "count", -} - -/** @default "view" */ -export enum IV2ProductTagDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2UsersListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "asc" */ -export enum IV2UsersListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "name" */ -export enum IV2UsersListParamsOrderbyEnum { +export enum IV1CustomersListParamsOrderbyEnum { Id = "id", Include = "include", Name = "name", RegisteredDate = "registered_date", - Slug = "slug", - IncludeSlugs = "include_slugs", - Email = "email", - Url = "url", } -export enum IV2UsersListParamsWhoEnum { - Authors = "authors", -} - -export enum ILocaleEnum { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", +/** @default "customer" */ +export enum IV1CustomersListParamsRoleEnum { + All = "all", + Administrator = "administrator", + Editor = "editor", + Author = "author", + Contributor = "contributor", + Subscriber = "subscriber", + Customer = "customer", + ShopManager = "shop_manager", } /** @default "view" */ -export enum IV2UsersDetailParamsContextEnum { +export enum IV1CustomersDetailParamsContextEnum { View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum ILocaleEnum1 { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -export enum IV2UsersUpdateParamsLocaleEnum { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -export enum IV2UsersPartialUpdateParamsLocaleEnum { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -/** @default "view" */ -export enum IV2UsersMeListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum ILocaleEnum2 { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -export enum IV2UsersMeUpdateParamsLocaleEnum { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -export enum IV2UsersMePartialUpdateParamsLocaleEnum { - Value = "", - EnUS = "en_US", - EnGB = "en_GB", -} - -/** @default "view" */ -export enum IV2UsersApplicationPasswordsListParamsContextEnum { - View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2UsersApplicationPasswordsIntrospectListParamsContextEnum { +export enum IV1OrdersNotesListParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2UsersDetail2ParamsContextEnum { +export enum IV1OrdersDetailParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2CommentsListParamsContextEnum { +export enum IV1OrdersRefundsListParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "desc" */ -export enum IV2CommentsListParamsOrderEnum { - Asc = "asc", - Desc = "desc", -} - -/** @default "date_gmt" */ -export enum IV2CommentsListParamsOrderbyEnum { - Date = "date", - DateGmt = "date_gmt", - Id = "id", - Include = "include", - Post = "post", - Parent = "parent", - Type = "type", -} - -/** @default "view" */ -export enum IV2CommentsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2SearchListParamsContextEnum { - View = "view", - Embed = "embed", -} - -/** @default "post" */ -export enum IV2SearchListParamsTypeEnum { - Post = "post", - Term = "term", - PostFormat = "post-format", -} - -/** @default "view" */ -export enum IV2BlockRendererDetailParamsContextEnum { - Edit = "edit", -} - -/** @default "view" */ -export enum IContextEnum { - Edit = "edit", -} - -/** @default "view" */ -export enum IV2BlockTypesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2BlockTypesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IDefaultPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IDefaultCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IWoocommerceDefaultCatalogOrderbyEnum { - MenuOrder = "menu_order", - Popularity = "popularity", - Rating = "rating", - Date = "date", - Price = "price", - PriceDesc = "price-desc", -} - -export enum IWoocommerceCheckoutPhoneFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IWoocommerceCheckoutCompanyFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IWoocommerceCheckoutAddress2FieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsUpdateParamsDefaultPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2SettingsUpdateParamsDefaultCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2SettingsUpdateParamsWoocommerceDefaultCatalogOrderbyEnum { - MenuOrder = "menu_order", - Popularity = "popularity", - Rating = "rating", - Date = "date", - Price = "price", - PriceDesc = "price-desc", -} - -export enum IV2SettingsUpdateParamsWoocommerceCheckoutPhoneFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsUpdateParamsWoocommerceCheckoutCompanyFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsUpdateParamsWoocommerceCheckoutAddress2FieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsPartialUpdateParamsDefaultPingStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2SettingsPartialUpdateParamsDefaultCommentStatusEnum { - Open = "open", - Closed = "closed", -} - -export enum IV2SettingsPartialUpdateParamsWoocommerceDefaultCatalogOrderbyEnum { - MenuOrder = "menu_order", - Popularity = "popularity", - Rating = "rating", - Date = "date", - Price = "price", - PriceDesc = "price-desc", -} - -export enum IV2SettingsPartialUpdateParamsWoocommerceCheckoutPhoneFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsPartialUpdateParamsWoocommerceCheckoutCompanyFieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -export enum IV2SettingsPartialUpdateParamsWoocommerceCheckoutAddress2FieldEnum { - Optional = "optional", - Required = "required", - Hidden = "hidden", -} - -/** @default "view" */ -export enum IV2PluginsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "inactive" */ -export enum IStatusEnum26 { - Inactive = "inactive", - Active = "active", -} - -/** @default "view" */ -export enum IV2PluginsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IContextEnum1 { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IStatusEnum27 { - Inactive = "inactive", - Active = "active", -} - -/** @default "view" */ -export enum IV2PluginsUpdateParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2PluginsUpdateParamsStatusEnum { - Inactive = "inactive", - Active = "active", -} - -/** @default "view" */ -export enum IV2PluginsPartialUpdateParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -export enum IV2PluginsPartialUpdateParamsStatusEnum { - Inactive = "inactive", - Active = "active", -} - -/** @default "view" */ -export enum IV2PluginsDeleteParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2SidebarsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2SidebarsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2WidgetTypesListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2WidgetTypesDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2WidgetsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2WidgetsDetailParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "view" */ -export enum IV2BlockDirectorySearchListParamsContextEnum { - View = "view", -} - -/** @default "view" */ -export enum IV2PatternDirectoryPatternsListParamsContextEnum { - View = "view", - Embed = "embed", - Edit = "edit", -} - -/** @default "desc" */ -export enum IV2PatternDirectoryPatternsListParamsOrderEnum { +export enum IV1OrdersRefundsListParamsOrderEnum { Asc = "asc", Desc = "desc", } /** @default "date" */ -export enum IV2PatternDirectoryPatternsListParamsOrderbyEnum { - Author = "author", +export enum IV1OrdersRefundsListParamsOrderbyEnum { Date = "date", Id = "id", Include = "include", - Modified = "modified", - Parent = "parent", - Relevance = "relevance", - Slug = "slug", - IncludeSlugs = "include_slugs", Title = "title", - FavoriteCount = "favorite_count", + Slug = "slug", + Modified = "modified", +} + +/** @default "any" */ +export enum IV1OrdersRefundsListParamsStatusEnum { + Any = "any", + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", } /** @default "view" */ -export enum IV2MenuLocationsListParamsContextEnum { +export enum IV1OrdersListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "desc" */ +export enum IV1OrdersListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "date" */ +export enum IV1OrdersListParamsOrderbyEnum { + Date = "date", + Id = "id", + Include = "include", + Title = "title", + Slug = "slug", + Modified = "modified", +} + +/** @default "any" */ +export enum IV1OrdersListParamsStatusEnum { + Any = "any", + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +/** @default "pending" */ +export enum IStatusEnum { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +/** @default "RUB" */ +export enum ICurrencyEnum { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +/** @default "view" */ +export enum IV1OrdersDetail2ParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum IStatusEnum1 { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum ICurrencyEnum1 { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +export enum IV1OrdersUpdateParamsStatusEnum { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum IV1OrdersUpdateParamsCurrencyEnum { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +export enum IV1OrdersPartialUpdateParamsStatusEnum { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum IV1OrdersPartialUpdateParamsCurrencyEnum { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +export enum IStatusEnum2 { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum ICurrencyEnum2 { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +export enum IV1OrdersBatchUpdateParamsStatusEnum { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum IV1OrdersBatchUpdateParamsCurrencyEnum { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +export enum IV1OrdersBatchPartialUpdateParamsStatusEnum { + Pending = "pending", + Processing = "processing", + OnHold = "on-hold", + Completed = "completed", + Cancelled = "cancelled", + Refunded = "refunded", + Failed = "failed", + CheckoutDraft = "checkout-draft", +} + +export enum IV1OrdersBatchPartialUpdateParamsCurrencyEnum { + AED = "AED", + AFN = "AFN", + ALL = "ALL", + AMD = "AMD", + ANG = "ANG", + AOA = "AOA", + ARS = "ARS", + AUD = "AUD", + AWG = "AWG", + AZN = "AZN", + BAM = "BAM", + BBD = "BBD", + BDT = "BDT", + BGN = "BGN", + BHD = "BHD", + BIF = "BIF", + BMD = "BMD", + BND = "BND", + BOB = "BOB", + BRL = "BRL", + BSD = "BSD", + BTC = "BTC", + BTN = "BTN", + BWP = "BWP", + BYR = "BYR", + BYN = "BYN", + BZD = "BZD", + CAD = "CAD", + CDF = "CDF", + CHF = "CHF", + CLP = "CLP", + CNY = "CNY", + COP = "COP", + CRC = "CRC", + CUC = "CUC", + CUP = "CUP", + CVE = "CVE", + CZK = "CZK", + DJF = "DJF", + DKK = "DKK", + DOP = "DOP", + DZD = "DZD", + EGP = "EGP", + ERN = "ERN", + ETB = "ETB", + EUR = "EUR", + FJD = "FJD", + FKP = "FKP", + GBP = "GBP", + GEL = "GEL", + GGP = "GGP", + GHS = "GHS", + GIP = "GIP", + GMD = "GMD", + GNF = "GNF", + GTQ = "GTQ", + GYD = "GYD", + HKD = "HKD", + HNL = "HNL", + HRK = "HRK", + HTG = "HTG", + HUF = "HUF", + IDR = "IDR", + ILS = "ILS", + IMP = "IMP", + INR = "INR", + IQD = "IQD", + IRR = "IRR", + IRT = "IRT", + ISK = "ISK", + JEP = "JEP", + JMD = "JMD", + JOD = "JOD", + JPY = "JPY", + KES = "KES", + KGS = "KGS", + KHR = "KHR", + KMF = "KMF", + KPW = "KPW", + KRW = "KRW", + KWD = "KWD", + KYD = "KYD", + KZT = "KZT", + LAK = "LAK", + LBP = "LBP", + LKR = "LKR", + LRD = "LRD", + LSL = "LSL", + LYD = "LYD", + MAD = "MAD", + MDL = "MDL", + MGA = "MGA", + MKD = "MKD", + MMK = "MMK", + MNT = "MNT", + MOP = "MOP", + MRU = "MRU", + MUR = "MUR", + MVR = "MVR", + MWK = "MWK", + MXN = "MXN", + MYR = "MYR", + MZN = "MZN", + NAD = "NAD", + NGN = "NGN", + NIO = "NIO", + NOK = "NOK", + NPR = "NPR", + NZD = "NZD", + OMR = "OMR", + PAB = "PAB", + PEN = "PEN", + PGK = "PGK", + PHP = "PHP", + PKR = "PKR", + PLN = "PLN", + PRB = "PRB", + PYG = "PYG", + QAR = "QAR", + RON = "RON", + RSD = "RSD", + RUB = "RUB", + RWF = "RWF", + SAR = "SAR", + SBD = "SBD", + SCR = "SCR", + SDG = "SDG", + SEK = "SEK", + SGD = "SGD", + SHP = "SHP", + SLL = "SLL", + SOS = "SOS", + SRD = "SRD", + SSP = "SSP", + STN = "STN", + SYP = "SYP", + SZL = "SZL", + THB = "THB", + TJS = "TJS", + TMT = "TMT", + TND = "TND", + TOP = "TOP", + TRY = "TRY", + TTD = "TTD", + TWD = "TWD", + TZS = "TZS", + UAH = "UAH", + UGX = "UGX", + USD = "USD", + UYU = "UYU", + UZS = "UZS", + VEF = "VEF", + VES = "VES", + VND = "VND", + VUV = "VUV", + WST = "WST", + XAF = "XAF", + XCD = "XCD", + XOF = "XOF", + XPF = "XPF", + YER = "YER", + ZAR = "ZAR", + ZMW = "ZMW", +} + +/** @default "view" */ +export enum IV1ProductsAttributesTermsListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "asc" */ +export enum IV1ProductsAttributesTermsListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "name" */ +export enum IV1ProductsAttributesTermsListParamsOrderbyEnum { + Id = "id", + Include = "include", + Name = "name", + Slug = "slug", + TermGroup = "term_group", + Description = "description", + Count = "count", +} + +/** @default "view" */ +export enum IV1ProductsAttributesDetailParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2MenuLocationsDetailParamsContextEnum { +export enum IV1ProductsAttributesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "select" */ +export enum ITypeEnum { + Select = "select", +} + +/** @default "menu_order" */ +export enum IOrderByEnum { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +/** @default "view" */ +export enum IV1ProductsAttributesDetail2ParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum ITypeEnum1 { + Select = "select", +} + +export enum IOrderByEnum1 { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +export enum IV1ProductsAttributesUpdate2ParamsTypeEnum { + Select = "select", +} + +export enum IV1ProductsAttributesUpdate2ParamsOrderByEnum { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +export enum IV1ProductsAttributesPartialUpdate2ParamsTypeEnum { + Select = "select", +} + +export enum IV1ProductsAttributesPartialUpdate2ParamsOrderByEnum { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +export enum ITypeEnum2 { + Select = "select", +} + +export enum IOrderByEnum2 { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +export enum IV1ProductsAttributesBatchUpdateParamsTypeEnum { + Select = "select", +} + +export enum IV1ProductsAttributesBatchUpdateParamsOrderByEnum { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +export enum IV1ProductsAttributesBatchPartialUpdateParamsTypeEnum { + Select = "select", +} + +export enum IV1ProductsAttributesBatchPartialUpdateParamsOrderByEnum { + MenuOrder = "menu_order", + Name = "name", + NameNum = "name_num", + Id = "id", +} + +/** @default "view" */ +export enum IV1ProductsCategoriesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "asc" */ +export enum IV1ProductsCategoriesListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "name" */ +export enum IV1ProductsCategoriesListParamsOrderbyEnum { + Id = "id", + Include = "include", + Name = "name", + Slug = "slug", + TermGroup = "term_group", + Description = "description", + Count = "count", +} + +/** @default "default" */ +export enum IDisplayEnum { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +/** @default "view" */ +export enum IV1ProductsCategoriesDetailParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum IDisplayEnum1 { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +export enum IV1ProductsCategoriesUpdateParamsDisplayEnum { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +export enum IV1ProductsCategoriesPartialUpdateParamsDisplayEnum { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +export enum IDisplayEnum2 { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +export enum IV1ProductsCategoriesBatchUpdateParamsDisplayEnum { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +export enum IV1ProductsCategoriesBatchPartialUpdateParamsDisplayEnum { + Default = "default", + Products = "products", + Subcategories = "subcategories", + Both = "both", +} + +/** @default "view" */ +export enum IV1ProductsReviewsListParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2FontCollectionsListParamsContextEnum { +export enum IV1ProductsDetailParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } /** @default "view" */ -export enum IV2FontCollectionsDetailParamsContextEnum { +export enum IV1ProductsShippingClassesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "asc" */ +export enum IV1ProductsShippingClassesListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "name" */ +export enum IV1ProductsShippingClassesListParamsOrderbyEnum { + Id = "id", + Include = "include", + Name = "name", + Slug = "slug", + TermGroup = "term_group", + Description = "description", + Count = "count", +} + +/** @default "view" */ +export enum IV1ProductsShippingClassesDetailParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "view" */ +export enum IV1ProductsTagsListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "asc" */ +export enum IV1ProductsTagsListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "name" */ +export enum IV1ProductsTagsListParamsOrderbyEnum { + Id = "id", + Include = "include", + Name = "name", + Slug = "slug", + TermGroup = "term_group", + Description = "description", + Count = "count", +} + +/** @default "view" */ +export enum IV1ProductsTagsDetailParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "view" */ +export enum IV1ProductsListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "desc" */ +export enum IV1ProductsListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "date" */ +export enum IV1ProductsListParamsOrderbyEnum { + Date = "date", + Id = "id", + Include = "include", + Title = "title", + Slug = "slug", + Modified = "modified", +} + +/** @default "any" */ +export enum IV1ProductsListParamsStatusEnum { + Any = "any", + Future = "future", + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", +} + +export enum IV1ProductsListParamsTypeEnum { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +/** @default "simple" */ +export enum ITypeEnum3 { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +/** @default "publish" */ +export enum IStatusEnum3 { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +/** @default "visible" */ +export enum ICatalogVisibilityEnum { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +/** @default "standard" */ +export enum IDownloadTypeEnum { + Standard = "standard", +} + +/** @default "taxable" */ +export enum ITaxStatusEnum { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +/** @default "no" */ +export enum IBackordersEnum { + No = "no", + Notify = "notify", + Yes = "yes", +} + +/** @default "view" */ +export enum IV1ProductsDetail2ParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum ITypeEnum4 { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IStatusEnum4 { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum ICatalogVisibilityEnum1 { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IDownloadTypeEnum1 { + Standard = "standard", +} + +export enum ITaxStatusEnum1 { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IBackordersEnum1 { + No = "no", + Notify = "notify", + Yes = "yes", +} + +export enum IV1ProductsUpdate2ParamsTypeEnum { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IV1ProductsUpdate2ParamsStatusEnum { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum IV1ProductsUpdate2ParamsCatalogVisibilityEnum { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IV1ProductsUpdate2ParamsDownloadTypeEnum { + Standard = "standard", +} + +export enum IV1ProductsUpdate2ParamsTaxStatusEnum { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IV1ProductsUpdate2ParamsBackordersEnum { + No = "no", + Notify = "notify", + Yes = "yes", +} + +export enum IV1ProductsPartialUpdate2ParamsTypeEnum { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IV1ProductsPartialUpdate2ParamsStatusEnum { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum IV1ProductsPartialUpdate2ParamsCatalogVisibilityEnum { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IV1ProductsPartialUpdate2ParamsDownloadTypeEnum { + Standard = "standard", +} + +export enum IV1ProductsPartialUpdate2ParamsTaxStatusEnum { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IV1ProductsPartialUpdate2ParamsBackordersEnum { + No = "no", + Notify = "notify", + Yes = "yes", +} + +export enum ITypeEnum5 { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IStatusEnum5 { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum ICatalogVisibilityEnum2 { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IDownloadTypeEnum2 { + Standard = "standard", +} + +export enum ITaxStatusEnum2 { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IBackordersEnum2 { + No = "no", + Notify = "notify", + Yes = "yes", +} + +export enum IV1ProductsBatchUpdateParamsTypeEnum { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IV1ProductsBatchUpdateParamsStatusEnum { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum IV1ProductsBatchUpdateParamsCatalogVisibilityEnum { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IV1ProductsBatchUpdateParamsDownloadTypeEnum { + Standard = "standard", +} + +export enum IV1ProductsBatchUpdateParamsTaxStatusEnum { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IV1ProductsBatchUpdateParamsBackordersEnum { + No = "no", + Notify = "notify", + Yes = "yes", +} + +export enum IV1ProductsBatchPartialUpdateParamsTypeEnum { + Simple = "simple", + Grouped = "grouped", + External = "external", + Variable = "variable", +} + +export enum IV1ProductsBatchPartialUpdateParamsStatusEnum { + Draft = "draft", + Pending = "pending", + Private = "private", + Publish = "publish", + Future = "future", +} + +export enum IV1ProductsBatchPartialUpdateParamsCatalogVisibilityEnum { + Visible = "visible", + Catalog = "catalog", + Search = "search", + Hidden = "hidden", +} + +export enum IV1ProductsBatchPartialUpdateParamsDownloadTypeEnum { + Standard = "standard", +} + +export enum IV1ProductsBatchPartialUpdateParamsTaxStatusEnum { + Taxable = "taxable", + Shipping = "shipping", + None = "none", +} + +export enum IV1ProductsBatchPartialUpdateParamsBackordersEnum { + No = "no", + Notify = "notify", + Yes = "yes", +} + +/** @default "view" */ +export enum IV1ReportsSalesListParamsContextEnum { + View = "view", +} + +export enum IV1ReportsSalesListParamsPeriodEnum { + Week = "week", + Month = "month", + LastMonth = "last_month", + Year = "year", +} + +/** @default "view" */ +export enum IV1ReportsTopSellersListParamsContextEnum { + View = "view", +} + +export enum IV1ReportsTopSellersListParamsPeriodEnum { + Week = "week", + Month = "month", + LastMonth = "last_month", + Year = "year", +} + +/** @default "view" */ +export enum IV1ReportsListParamsContextEnum { + View = "view", +} + +/** @default "view" */ +export enum IV1TaxesClassesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "view" */ +export enum IV1TaxesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "asc" */ +export enum IV1TaxesListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "order" */ +export enum IV1TaxesListParamsOrderbyEnum { + Id = "id", + Order = "order", + Priority = "priority", +} + +export enum IV1TaxesListParamsClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +/** @default "standard" */ +export enum IClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +/** @default "view" */ +export enum IV1TaxesDetailParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum IClassEnum1 { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +export enum IV1TaxesUpdateParamsClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +export enum IV1TaxesPartialUpdateParamsClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +export enum IClassEnum2 { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +export enum IV1TaxesBatchUpdateParamsClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +export enum IV1TaxesBatchPartialUpdateParamsClassEnum { + Standard = "standard", + ReducedRate = "reduced-rate", + ZeroRate = "zero-rate", +} + +/** @default "view" */ +export enum IV1WebhooksListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "desc" */ +export enum IV1WebhooksListParamsOrderEnum { + Asc = "asc", + Desc = "desc", +} + +/** @default "date" */ +export enum IV1WebhooksListParamsOrderbyEnum { + Date = "date", + Id = "id", + Title = "title", +} + +/** @default "all" */ +export enum IV1WebhooksListParamsStatusEnum { + All = "all", + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +/** @default "active" */ +export enum IStatusEnum6 { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +/** @default "view" */ +export enum IV1WebhooksDetailParamsContextEnum { + View = "view", + Edit = "edit", +} + +export enum IStatusEnum7 { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +export enum IV1WebhooksUpdateParamsStatusEnum { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +export enum IV1WebhooksPartialUpdateParamsStatusEnum { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +export enum IStatusEnum8 { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +export enum IV1WebhooksBatchUpdateParamsStatusEnum { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +export enum IV1WebhooksBatchPartialUpdateParamsStatusEnum { + Active = "active", + Paused = "paused", + Disabled = "disabled", +} + +/** @default "view" */ +export enum IV1WebhooksDeliveriesListParamsContextEnum { + View = "view", + Edit = "edit", +} + +/** @default "view" */ +export enum IV1WebhooksDetail2ParamsContextEnum { View = "view", - Embed = "embed", Edit = "edit", } @@ -2675,19 +2494,36 @@ export class HttpClient { export class Api< SecurityDataType extends unknown, > extends HttpClient { - wp = { + wc = { /** * No description * - * @tags posts - * @name V2PostsList - * @request GET:/wp/v2/posts + * @tags marketplace + * @name V1MarketplaceProductPreviewList + * @request GET:/wc/v1/marketplace/product-preview * @secure */ - v2PostsList: ( + v1MarketplaceProductPreviewList: (params: RequestParams = {}) => + this.request({ + path: `/wc/v1/marketplace/product-preview`, + method: "GET", + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags coupons + * @name V1CouponsList + * @request GET:/wc/v1/coupons + * @secure + */ + v1CouponsList: ( query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PostsListParamsContextEnum[]; + context?: IV1CouponsListParamsContextEnum[]; /** * Current page of the collection. * @format int64 @@ -2704,451 +2540,18 @@ export class Api< /** Limit results to those matching a string. */ search?: string; /** - * Limit response to posts published after a given ISO8601 compliant date. + * Limit response to resources published after a given ISO8601 compliant date. * @format date-time */ after?: string; /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** Limit result set to posts assigned to specific authors. */ - author?: number[]; - /** Ensure result set excludes posts assigned to specific authors. */ - author_exclude?: number[]; - /** - * Limit response to posts published before a given ISO8601 compliant date. + * Limit response to resources published before a given ISO8601 compliant date. * @format date-time */ before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; /** Ensure result set excludes specific IDs. */ exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2PostsListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2PostsListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2PostsListParamsOrderbyEnum[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - /** Limit result set based on relationship between multiple taxonomies. */ - tax_relation?: IV2PostsListParamsTaxRelationEnum[]; - /** Limit result set to items with specific terms assigned in the categories taxonomy. */ - categories?: string; - /** Limit result set to items except those with specific terms assigned in the categories taxonomy. */ - categories_exclude?: string; - /** Limit result set to items with specific terms assigned in the tags taxonomy. */ - tags?: string; - /** Limit result set to items except those with specific terms assigned in the tags taxonomy. */ - tags_exclude?: string; - /** Limit result set to items that are sticky. */ - sticky?: boolean; - /** Whether to ignore sticky posts or not. */ - ignore_sticky?: boolean; - /** Limit result set to items assigned one or more given formats. */ - format?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsCreate - * @request POST:/wp/v2/posts - * @secure - */ - v2PostsCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum[]; - /** The format for the post. */ - format?: IFormatEnum[]; - /** Meta fields. */ - meta?: string; - /** Whether or not the post should be treated as sticky. */ - sticky?: boolean; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the category taxonomy. */ - categories?: number[]; - /** The terms assigned to the post in the post_tag taxonomy. */ - tags?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsDetail - * @request GET:/wp/v2/posts/{id} - * @secure - */ - v2PostsDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PostsDetailParamsContextEnum[]; - /** - * Override the default excerpt length. - * @format int64 - */ - excerpt_length?: number; - /** The password for the post if it is password protected. */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsCreate2 - * @request POST:/wp/v2/posts/{id} - * @originalName v2PostsCreate - * @duplicate - * @secure - */ - v2PostsCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum1[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum1[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum1[]; - /** The format for the post. */ - format?: IFormatEnum1[]; - /** Meta fields. */ - meta?: string; - /** Whether or not the post should be treated as sticky. */ - sticky?: boolean; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the category taxonomy. */ - categories?: number[]; - /** The terms assigned to the post in the post_tag taxonomy. */ - tags?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsUpdate - * @request PUT:/wp/v2/posts/{id} - * @secure - */ - v2PostsUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2PostsUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2PostsUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2PostsUpdateParamsPingStatusEnum[]; - /** The format for the post. */ - format?: IV2PostsUpdateParamsFormatEnum[]; - /** Meta fields. */ - meta?: string; - /** Whether or not the post should be treated as sticky. */ - sticky?: boolean; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the category taxonomy. */ - categories?: number[]; - /** The terms assigned to the post in the post_tag taxonomy. */ - tags?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsPartialUpdate - * @request PATCH:/wp/v2/posts/{id} - * @secure - */ - v2PostsPartialUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2PostsPartialUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2PostsPartialUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2PostsPartialUpdateParamsPingStatusEnum[]; - /** The format for the post. */ - format?: IV2PostsPartialUpdateParamsFormatEnum[]; - /** Meta fields. */ - meta?: string; - /** Whether or not the post should be treated as sticky. */ - sticky?: boolean; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the category taxonomy. */ - categories?: number[]; - /** The terms assigned to the post in the post_tag taxonomy. */ - tags?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsDelete - * @request DELETE:/wp/v2/posts/{id} - * @secure - */ - v2PostsDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsRevisionsList - * @request GET:/wp/v2/posts/{parent}/revisions - * @secure - */ - v2PostsRevisionsList: ( - parent: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PostsRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ + /** Limit result set to specific ids. */ include?: number[]; /** * Offset the result set by a specific number of items. @@ -3156,14 +2559,18 @@ export class Api< */ offset?: number; /** Order sort attribute ascending or descending. */ - order?: IV2PostsRevisionsListParamsOrderEnum[]; + order?: IV1CouponsListParamsOrderEnum[]; /** Sort collection by object attribute. */ - orderby?: IV2PostsRevisionsListParamsOrderbyEnum[]; + orderby?: IV1CouponsListParamsOrderbyEnum[]; + /** Use WP Query arguments to modify the response; private query vars require appropriate authorization. */ + filter?: string; + /** Limit result set to resources with a specific code. */ + code?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/posts/${parent}/revisions`, + path: `/wc/v1/coupons`, method: "GET", query: query, secure: true, @@ -3174,134 +2581,158 @@ export class Api< /** * No description * - * @tags posts - * @name V2PostsDetail2 - * @request GET:/wp/v2/posts/{parent} - * @originalName v2PostsDetail + * @tags coupons + * @name V1CouponsCreate + * @request POST:/wc/v1/coupons + * @secure + */ + v1CouponsCreate: ( + data: { + /** Coupon code. */ + code: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IDiscountTypeEnum[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: null; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; + /** + * How many times the coupon can be used in total. + * @format int64 + */ + usage_limit?: number; + /** + * How many times the coupon can be used per customer. + * @format int64 + */ + usage_limit_per_user?: number; + /** + * Max number of items in the cart the coupon can be applied to. + * @format int64 + */ + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/coupons`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags coupons + * @name V1CouponsDetail + * @request GET:/wc/v1/coupons/{id} + * @secure + */ + v1CouponsDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1CouponsDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/coupons/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags coupons + * @name V1CouponsCreate2 + * @request POST:/wc/v1/coupons/{id} + * @originalName v1CouponsCreate * @duplicate * @secure */ - v2PostsDetail2: ( - parent: number, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PostsDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsAutosavesList - * @request GET:/wp/v2/posts/{id}/autosaves - * @secure - */ - v2PostsAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PostsAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/posts/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags posts - * @name V2PostsAutosavesCreate - * @request POST:/wp/v2/posts/{id}/autosaves - * @secure - */ - v2PostsAutosavesCreate: ( + v1CouponsCreate2: ( id: number, data: { + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IDiscountTypeEnum1[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: null; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; /** - * The ID for the parent of the autosave. + * How many times the coupon can be used in total. * @format int64 */ - parent?: number; + usage_limit?: number; /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum2[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. + * How many times the coupon can be used per customer. * @format int64 */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; + usage_limit_per_user?: number; /** - * The ID of the featured media for the post. + * Max number of items in the cart the coupon can be applied to. * @format int64 */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum2[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum2[]; - /** The format for the post. */ - format?: IFormatEnum2[]; - /** Meta fields. */ - meta?: string; - /** Whether or not the post should be treated as sticky. */ - sticky?: boolean; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the category taxonomy. */ - categories?: number[]; - /** The terms assigned to the post in the post_tag taxonomy. */ - tags?: number[]; + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/posts/${id}/autosaves`, + path: `/wc/v1/coupons/${id}`, method: "POST", body: data, secure: true, @@ -3312,341 +2743,64 @@ export class Api< /** * No description * - * @tags pages - * @name V2PagesList - * @request GET:/wp/v2/pages + * @tags coupons + * @name V1CouponsUpdate + * @request PUT:/wc/v1/coupons/{id} * @secure */ - v2PagesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PagesListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** Limit result set to posts assigned to specific authors. */ - author?: number[]; - /** Ensure result set excludes posts assigned to specific authors. */ - author_exclude?: number[]; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Limit result set to posts with a specific menu_order value. - * @format int64 - */ - menu_order?: number; - /** How to interpret the search input. */ - search_semantics?: IV2PagesListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2PagesListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2PagesListParamsOrderbyEnum[]; - /** Limit result set to items with particular parent IDs. */ - parent?: number[]; - /** Limit result set to all items except those of a particular parent ID. */ - parent_exclude?: number[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesCreate - * @request POST:/wp/v2/pages - * @secure - */ - v2PagesCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum3[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** - * The ID for the parent of the post. - * @format int64 - */ - parent?: number; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum3[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum3[]; - /** - * The order of the post in relation to other posts. - * @format int64 - */ - menu_order?: number; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesDetail - * @request GET:/wp/v2/pages/{id} - * @secure - */ - v2PagesDetail: ( + v1CouponsUpdate: ( id: number, query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PagesDetailParamsContextEnum[]; + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IV1CouponsUpdateParamsDiscountTypeEnum[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: any; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; /** - * Override the default excerpt length. + * How many times the coupon can be used in total. * @format int64 */ - excerpt_length?: number; - /** The password for the post if it is password protected. */ - password?: string; + usage_limit?: number; + /** + * How many times the coupon can be used per customer. + * @format int64 + */ + usage_limit_per_user?: number; + /** + * Max number of items in the cart the coupon can be applied to. + * @format int64 + */ + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/pages/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesCreate2 - * @request POST:/wp/v2/pages/{id} - * @originalName v2PagesCreate - * @duplicate - * @secure - */ - v2PagesCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum4[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** - * The ID for the parent of the post. - * @format int64 - */ - parent?: number; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum4[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum4[]; - /** - * The order of the post in relation to other posts. - * @format int64 - */ - menu_order?: number; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesUpdate - * @request PUT:/wp/v2/pages/{id} - * @secure - */ - v2PagesUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2PagesUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** - * The ID for the parent of the post. - * @format int64 - */ - parent?: number; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2PagesUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2PagesUpdateParamsPingStatusEnum[]; - /** - * The order of the post in relation to other posts. - * @format int64 - */ - menu_order?: number; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${id}`, + path: `/wc/v1/coupons/${id}`, method: "PUT", query: query, secure: true, @@ -3657,69 +2811,64 @@ export class Api< /** * No description * - * @tags pages - * @name V2PagesPartialUpdate - * @request PATCH:/wp/v2/pages/{id} + * @tags coupons + * @name V1CouponsPartialUpdate + * @request PATCH:/wc/v1/coupons/{id} * @secure */ - v2PagesPartialUpdate: ( + v1CouponsPartialUpdate: ( id: number, query?: { + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IV1CouponsPartialUpdateParamsDiscountTypeEnum[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: any; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2PagesPartialUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** - * The ID for the parent of the post. + * How many times the coupon can be used in total. * @format int64 */ - parent?: number; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; + usage_limit?: number; /** - * The ID for the author of the post. + * How many times the coupon can be used per customer. * @format int64 */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; + usage_limit_per_user?: number; /** - * The ID of the featured media for the post. + * Max number of items in the cart the coupon can be applied to. * @format int64 */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2PagesPartialUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2PagesPartialUpdateParamsPingStatusEnum[]; - /** - * The order of the post in relation to other posts. - * @format int64 - */ - menu_order?: number; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/pages/${id}`, + path: `/wc/v1/coupons/${id}`, method: "PATCH", query: query, secure: true, @@ -3730,21 +2879,21 @@ export class Api< /** * No description * - * @tags pages - * @name V2PagesDelete - * @request DELETE:/wp/v2/pages/{id} + * @tags coupons + * @name V1CouponsDelete + * @request DELETE:/wc/v1/coupons/{id} * @secure */ - v2PagesDelete: ( + v1CouponsDelete: ( id: number, query?: { - /** Whether to bypass Trash and force deletion. */ + /** Whether to bypass trash and force deletion. */ force?: boolean; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/pages/${id}`, + path: `/wc/v1/coupons/${id}`, method: "DELETE", query: query, secure: true, @@ -3755,16 +2904,241 @@ export class Api< /** * No description * - * @tags pages - * @name V2PagesRevisionsList - * @request GET:/wp/v2/pages/{parent}/revisions + * @tags coupons + * @name V1CouponsBatchCreate + * @request POST:/wc/v1/coupons/batch * @secure */ - v2PagesRevisionsList: ( - parent: number, + v1CouponsBatchCreate: ( + data: { + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IDiscountTypeEnum2[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: null; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; + /** + * How many times the coupon can be used in total. + * @format int64 + */ + usage_limit?: number; + /** + * How many times the coupon can be used per customer. + * @format int64 + */ + usage_limit_per_user?: number; + /** + * Max number of items in the cart the coupon can be applied to. + * @format int64 + */ + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/coupons/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags coupons + * @name V1CouponsBatchUpdate + * @request PUT:/wc/v1/coupons/batch + * @secure + */ + v1CouponsBatchUpdate: ( + query?: { + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IV1CouponsBatchUpdateParamsDiscountTypeEnum[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: any; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; + /** + * How many times the coupon can be used in total. + * @format int64 + */ + usage_limit?: number; + /** + * How many times the coupon can be used per customer. + * @format int64 + */ + usage_limit_per_user?: number; + /** + * Max number of items in the cart the coupon can be applied to. + * @format int64 + */ + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/coupons/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags coupons + * @name V1CouponsBatchPartialUpdate + * @request PATCH:/wc/v1/coupons/batch + * @secure + */ + v1CouponsBatchPartialUpdate: ( + query?: { + /** Coupon code. */ + code?: string; + /** Coupon description. */ + description?: string; + /** Determines the type of discount that will be applied. */ + discount_type?: IV1CouponsBatchPartialUpdateParamsDiscountTypeEnum[]; + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: string; + /** UTC DateTime when the coupon expires. */ + expiry_date?: any; + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individual_use?: boolean; + /** List of product IDs the coupon can be used on. */ + product_ids?: number[]; + /** List of product IDs the coupon cannot be used on. */ + exclude_product_ids?: number[]; + /** + * How many times the coupon can be used in total. + * @format int64 + */ + usage_limit?: number; + /** + * How many times the coupon can be used per customer. + * @format int64 + */ + usage_limit_per_user?: number; + /** + * Max number of items in the cart the coupon can be applied to. + * @format int64 + */ + limit_usage_to_x_items?: number; + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + free_shipping?: boolean; + /** List of category IDs the coupon applies to. */ + product_categories?: number[]; + /** List of category IDs the coupon does not apply to. */ + excluded_product_categories?: number[]; + /** If true, this coupon will not be applied to items that have sale prices. */ + exclude_sale_items?: boolean; + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimum_amount?: string; + /** Maximum order amount allowed when using the coupon. */ + maximum_amount?: string; + /** List of email addresses that can use this coupon. */ + email_restrictions?: string[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/coupons/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags customers + * @name V1CustomersDownloadsList + * @request GET:/wc/v1/customers/{customer_id}/downloads + * @secure + */ + v1CustomersDownloadsList: ( + customerId: number, query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PagesRevisionsListParamsContextEnum[]; + context?: IV1CustomersDownloadsListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/customers/${customerId}/downloads`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags customers + * @name V1CustomersList + * @request GET:/wc/v1/customers + * @secure + */ + v1CustomersList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1CustomersListParamsContextEnum[]; /** * Current page of the collection. * @format int64 @@ -3790,6216 +3164,57 @@ export class Api< */ offset?: number; /** Order sort attribute ascending or descending. */ - order?: IV2PagesRevisionsListParamsOrderEnum[]; + order?: IV1CustomersListParamsOrderEnum[]; /** Sort collection by object attribute. */ - orderby?: IV2PagesRevisionsListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesDetail2 - * @request GET:/wp/v2/pages/{parent} - * @originalName v2PagesDetail - * @duplicate - * @secure - */ - v2PagesDetail2: ( - parent: number, - query?: { + orderby?: IV1CustomersListParamsOrderbyEnum[]; /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PagesDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesAutosavesList - * @request GET:/wp/v2/pages/{id}/autosaves - * @secure - */ - v2PagesAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PagesAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pages - * @name V2PagesAutosavesCreate - * @request POST:/wp/v2/pages/{id}/autosaves - * @secure - */ - v2PagesAutosavesCreate: ( - id: number, - data: { - /** - * The ID for the parent of the post. - * @format int64 - */ - parent?: number; - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum5[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum5[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum5[]; - /** - * The order of the post in relation to other posts. - * @format int64 - */ - menu_order?: number; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/pages/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaList - * @request GET:/wp/v2/media - * @secure - */ - v2MediaList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MediaListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** Limit result set to posts assigned to specific authors. */ - author?: number[]; - /** Ensure result set excludes posts assigned to specific authors. */ - author_exclude?: number[]; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2MediaListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2MediaListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2MediaListParamsOrderbyEnum[]; - /** Limit result set to items with particular parent IDs. */ - parent?: number[]; - /** Limit result set to all items except those of a particular parent ID. */ - parent_exclude?: number[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - /** Limit result set to attachments of a particular media type. */ - media_type?: IV2MediaListParamsMediaTypeEnum[]; - /** Limit result set to attachments of a particular MIME type. */ - mime_type?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaCreate - * @request POST:/wp/v2/media - * @secure - */ - v2MediaCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum6[]; - /** The title for the post. */ - title?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum6[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum6[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** Alternative text to display when attachment is not displayed. */ - alt_text?: string; - /** The attachment caption. */ - caption?: string; - /** The attachment description. */ - description?: string; - /** - * The ID for the associated post of the attachment. - * @format int64 - */ - post?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaDetail - * @request GET:/wp/v2/media/{id} - * @secure - */ - v2MediaDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MediaDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaCreate2 - * @request POST:/wp/v2/media/{id} - * @originalName v2MediaCreate - * @duplicate - * @secure - */ - v2MediaCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum7[]; - /** The title for the post. */ - title?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum7[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum7[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** Alternative text to display when attachment is not displayed. */ - alt_text?: string; - /** The attachment caption. */ - caption?: string; - /** The attachment description. */ - description?: string; - /** - * The ID for the associated post of the attachment. - * @format int64 - */ - post?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaUpdate - * @request PUT:/wp/v2/media/{id} - * @secure - */ - v2MediaUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2MediaUpdateParamsStatusEnum[]; - /** The title for the post. */ - title?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2MediaUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2MediaUpdateParamsPingStatusEnum[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** Alternative text to display when attachment is not displayed. */ - alt_text?: string; - /** The attachment caption. */ - caption?: string; - /** The attachment description. */ - description?: string; - /** - * The ID for the associated post of the attachment. - * @format int64 - */ - post?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaPartialUpdate - * @request PATCH:/wp/v2/media/{id} - * @secure - */ - v2MediaPartialUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2MediaPartialUpdateParamsStatusEnum[]; - /** The title for the post. */ - title?: string; - /** - * The ID for the author of the post. - * @format int64 - */ - author?: number; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2MediaPartialUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2MediaPartialUpdateParamsPingStatusEnum[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** Alternative text to display when attachment is not displayed. */ - alt_text?: string; - /** The attachment caption. */ - caption?: string; - /** The attachment description. */ - description?: string; - /** - * The ID for the associated post of the attachment. - * @format int64 - */ - post?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaDelete - * @request DELETE:/wp/v2/media/{id} - * @secure - */ - v2MediaDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaPostProcessCreate - * @request POST:/wp/v2/media/{id}/post-process - * @secure - */ - v2MediaPostProcessCreate: ( - id: number, - data: { - action: IActionEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}/post-process`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags media - * @name V2MediaEditCreate - * @request POST:/wp/v2/media/{id}/edit - * @secure - */ - v2MediaEditCreate: ( - id: number, - data: { - /** - * URL to the edited image file. - * @format uri - */ - src: string; - /** Array of image edits. */ - modifiers?: object[]; - /** - * The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead. - * @format int64 - * @min 0 - * @max 360 - */ - rotation?: number; - /** - * As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead. - * @min 0 - * @max 100 - */ - x?: number; - /** - * As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead. - * @min 0 - * @max 100 - */ - y?: number; - /** - * As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead. - * @min 0 - * @max 100 - */ - width?: number; - /** - * As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead. - * @min 0 - * @max 100 - */ - height?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/media/${id}/edit`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsList - * @request GET:/wp/v2/menu-items - * @secure - */ - v2MenuItemsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuItemsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2MenuItemsListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2MenuItemsListParamsOrderEnum[]; - /** Sort collection by object attribute. */ - orderby?: IV2MenuItemsListParamsOrderbyEnum[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - /** Limit result set based on relationship between multiple taxonomies. */ - tax_relation?: IV2MenuItemsListParamsTaxRelationEnum[]; - /** Limit result set to items with specific terms assigned in the menus taxonomy. */ - menus?: string; - /** Limit result set to items except those with specific terms assigned in the menus taxonomy. */ - menus_exclude?: string; - /** - * Limit result set to posts with a specific menu_order value. - * @format int64 - */ - menu_order?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsCreate - * @request POST:/wp/v2/menu-items - * @secure - */ - v2MenuItemsCreate: ( - data: { - /** The title for the object. */ - title?: string; - /** The family of objects originally represented, such as "post_type" or "taxonomy". */ - type?: ITypeEnum[]; - /** A named status for the object. */ - status?: IStatusEnum8[]; - /** - * The ID for the parent of the object. - * @format int64 - * @min 0 - */ - parent?: number; - /** Text for the title attribute of the link element for this menu item. */ - attr_title?: string; - /** Class names for the link element of this menu item. */ - classes?: string[]; - /** The description of this menu item. */ - description?: string; - /** - * The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. - * @format int64 - * @min 1 - */ - menu_order?: number; - /** The type of object originally represented, such as "category", "post", or "attachment". */ - object?: string; - /** - * The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. - * @format int64 - * @min 0 - */ - object_id?: number; - /** The target attribute of the link element for this menu item. */ - target?: ITargetEnum[]; - /** - * The URL to which this menu item points. - * @format uri - */ - url?: string; - /** The XFN relationship expressed in the link of this menu item. */ - xfn?: string[]; - /** - * The terms assigned to the object in the nav_menu taxonomy. - * @format int64 - */ - menus?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsDetail - * @request GET:/wp/v2/menu-items/{id} - * @secure - */ - v2MenuItemsDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuItemsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsCreate2 - * @request POST:/wp/v2/menu-items/{id} - * @originalName v2MenuItemsCreate - * @duplicate - * @secure - */ - v2MenuItemsCreate2: ( - id: number, - data: { - /** The title for the object. */ - title?: string; - /** The family of objects originally represented, such as "post_type" or "taxonomy". */ - type?: ITypeEnum1[]; - /** A named status for the object. */ - status?: IStatusEnum9[]; - /** - * The ID for the parent of the object. - * @format int64 - * @min 0 - */ - parent?: number; - /** Text for the title attribute of the link element for this menu item. */ - attr_title?: string; - /** Class names for the link element of this menu item. */ - classes?: string[]; - /** The description of this menu item. */ - description?: string; - /** - * The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. - * @format int64 - * @min 1 - */ - menu_order?: number; - /** The type of object originally represented, such as "category", "post", or "attachment". */ - object?: string; - /** - * The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. - * @format int64 - * @min 0 - */ - object_id?: number; - /** The target attribute of the link element for this menu item. */ - target?: ITargetEnum1[]; - /** - * The URL to which this menu item points. - * @format uri - */ - url?: string; - /** The XFN relationship expressed in the link of this menu item. */ - xfn?: string[]; - /** - * The terms assigned to the object in the nav_menu taxonomy. - * @format int64 - */ - menus?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsUpdate - * @request PUT:/wp/v2/menu-items/{id} - * @secure - */ - v2MenuItemsUpdate: ( - id: number, - query?: { - /** The title for the object. */ - title?: string; - /** The family of objects originally represented, such as "post_type" or "taxonomy". */ - type?: IV2MenuItemsUpdateParamsTypeEnum[]; - /** A named status for the object. */ - status?: IV2MenuItemsUpdateParamsStatusEnum[]; - /** - * The ID for the parent of the object. - * @format int64 - * @min 0 - */ - parent?: number; - /** Text for the title attribute of the link element for this menu item. */ - attr_title?: string; - /** Class names for the link element of this menu item. */ - classes?: string[]; - /** The description of this menu item. */ - description?: string; - /** - * The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. - * @format int64 - * @min 1 - */ - menu_order?: number; - /** The type of object originally represented, such as "category", "post", or "attachment". */ - object?: string; - /** - * The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. - * @format int64 - * @min 0 - */ - object_id?: number; - /** The target attribute of the link element for this menu item. */ - target?: IV2MenuItemsUpdateParamsTargetEnum[]; - /** - * The URL to which this menu item points. - * @format uri - */ - url?: string; - /** The XFN relationship expressed in the link of this menu item. */ - xfn?: string[]; - /** - * The terms assigned to the object in the nav_menu taxonomy. - * @format int64 - */ - menus?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsPartialUpdate - * @request PATCH:/wp/v2/menu-items/{id} - * @secure - */ - v2MenuItemsPartialUpdate: ( - id: number, - query?: { - /** The title for the object. */ - title?: string; - /** The family of objects originally represented, such as "post_type" or "taxonomy". */ - type?: IV2MenuItemsPartialUpdateParamsTypeEnum[]; - /** A named status for the object. */ - status?: IV2MenuItemsPartialUpdateParamsStatusEnum[]; - /** - * The ID for the parent of the object. - * @format int64 - * @min 0 - */ - parent?: number; - /** Text for the title attribute of the link element for this menu item. */ - attr_title?: string; - /** Class names for the link element of this menu item. */ - classes?: string[]; - /** The description of this menu item. */ - description?: string; - /** - * The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. - * @format int64 - * @min 1 - */ - menu_order?: number; - /** The type of object originally represented, such as "category", "post", or "attachment". */ - object?: string; - /** - * The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. - * @format int64 - * @min 0 - */ - object_id?: number; - /** The target attribute of the link element for this menu item. */ - target?: IV2MenuItemsPartialUpdateParamsTargetEnum[]; - /** - * The URL to which this menu item points. - * @format uri - */ - url?: string; - /** The XFN relationship expressed in the link of this menu item. */ - xfn?: string[]; - /** - * The terms assigned to the object in the nav_menu taxonomy. - * @format int64 - */ - menus?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsDelete - * @request DELETE:/wp/v2/menu-items/{id} - * @secure - */ - v2MenuItemsDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsAutosavesList - * @request GET:/wp/v2/menu-items/{id}/autosaves - * @secure - */ - v2MenuItemsAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuItemsAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsAutosavesCreate - * @request POST:/wp/v2/menu-items/{id}/autosaves - * @secure - */ - v2MenuItemsAutosavesCreate: ( - id: number, - data: { - /** - * The ID for the parent of the object. - * @format int64 - * @min 0 - */ - parent?: number; - /** The title for the object. */ - title?: string; - /** The family of objects originally represented, such as "post_type" or "taxonomy". */ - type?: ITypeEnum2[]; - /** A named status for the object. */ - status?: IStatusEnum10[]; - /** Text for the title attribute of the link element for this menu item. */ - attr_title?: string; - /** Class names for the link element of this menu item. */ - classes?: string[]; - /** The description of this menu item. */ - description?: string; - /** - * The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. - * @format int64 - * @min 1 - */ - menu_order?: number; - /** The type of object originally represented, such as "category", "post", or "attachment". */ - object?: string; - /** - * The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. - * @format int64 - * @min 0 - */ - object_id?: number; - /** The target attribute of the link element for this menu item. */ - target?: ITargetEnum2[]; - /** - * The URL to which this menu item points. - * @format uri - */ - url?: string; - /** The XFN relationship expressed in the link of this menu item. */ - xfn?: string[]; - /** - * The terms assigned to the object in the nav_menu taxonomy. - * @format int64 - */ - menus?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags menu-items - * @name V2MenuItemsDetail2 - * @request GET:/wp/v2/menu-items/{parent} - * @originalName v2MenuItemsDetail - * @duplicate - * @secure - */ - v2MenuItemsDetail2: ( - parent: number, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuItemsDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menu-items/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksList - * @request GET:/wp/v2/blocks - * @secure - */ - v2BlocksList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlocksListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2BlocksListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2BlocksListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2BlocksListParamsOrderbyEnum[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - /** Limit result set based on relationship between multiple taxonomies. */ - tax_relation?: IV2BlocksListParamsTaxRelationEnum[]; - /** Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy. */ - wp_pattern_category?: string; - /** Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy. */ - wp_pattern_category_exclude?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksCreate - * @request POST:/wp/v2/blocks - * @secure - */ - v2BlocksCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum11[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the wp_pattern_category taxonomy. */ - wp_pattern_category?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksDetail - * @request GET:/wp/v2/blocks/{id} - * @secure - */ - v2BlocksDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlocksDetailParamsContextEnum[]; - /** - * Override the default excerpt length. - * @format int64 - */ - excerpt_length?: number; - /** The password for the post if it is password protected. */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksCreate2 - * @request POST:/wp/v2/blocks/{id} - * @originalName v2BlocksCreate - * @duplicate - * @secure - */ - v2BlocksCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum12[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the wp_pattern_category taxonomy. */ - wp_pattern_category?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksUpdate - * @request PUT:/wp/v2/blocks/{id} - * @secure - */ - v2BlocksUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2BlocksUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the wp_pattern_category taxonomy. */ - wp_pattern_category?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksPartialUpdate - * @request PATCH:/wp/v2/blocks/{id} - * @secure - */ - v2BlocksPartialUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2BlocksPartialUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the wp_pattern_category taxonomy. */ - wp_pattern_category?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksDelete - * @request DELETE:/wp/v2/blocks/{id} - * @secure - */ - v2BlocksDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksRevisionsList - * @request GET:/wp/v2/blocks/{parent}/revisions - * @secure - */ - v2BlocksRevisionsList: ( - parent: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlocksRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2BlocksRevisionsListParamsOrderEnum[]; - /** Sort collection by object attribute. */ - orderby?: IV2BlocksRevisionsListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksDetail2 - * @request GET:/wp/v2/blocks/{parent} - * @originalName v2BlocksDetail - * @duplicate - * @secure - */ - v2BlocksDetail2: ( - parent: number, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlocksDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksAutosavesList - * @request GET:/wp/v2/blocks/{id}/autosaves - * @secure - */ - v2BlocksAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlocksAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags blocks - * @name V2BlocksAutosavesCreate - * @request POST:/wp/v2/blocks/{id}/autosaves - * @secure - */ - v2BlocksAutosavesCreate: ( - id: number, - data: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum13[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the wp_pattern_category taxonomy. */ - wp_pattern_category?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/blocks/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesRevisionsList - * @request GET:/wp/v2/templates/{parent}/revisions - * @secure - */ - v2TemplatesRevisionsList: ( - parent: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatesRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2TemplatesRevisionsListParamsOrderEnum[]; - /** Sort collection by object attribute. */ - orderby?: IV2TemplatesRevisionsListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesDetail - * @request GET:/wp/v2/templates/{parent} - * @secure - */ - v2TemplatesDetail: ( - parent: string, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesAutosavesList - * @request GET:/wp/v2/templates/{id}/autosaves - * @secure - */ - v2TemplatesAutosavesList: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatesAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesAutosavesCreate - * @request POST:/wp/v2/templates/{id}/autosaves - * @secure - */ - v2TemplatesAutosavesCreate: ( - id: string, - data: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum14[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesList - * @request GET:/wp/v2/templates - * @secure - */ - v2TemplatesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatesListParamsContextEnum[]; - /** - * Limit to the specified post id. - * @format int64 - */ - wp_id?: number; - /** Limit to the specified template part area. */ - area?: string; - /** Post type to get the templates for. */ - post_type?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesCreate - * @request POST:/wp/v2/templates - * @secure - */ - v2TemplatesCreate: ( - data: { - /** Unique slug identifying the template. */ - slug: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum15[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesLookupList - * @request GET:/wp/v2/templates/lookup - * @secure - */ - v2TemplatesLookupList: ( - query: { - /** The slug of the template to get the fallback for */ - slug: string; - /** Indicates if a template is custom or part of the template hierarchy */ - is_custom?: boolean; - /** The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy` */ - template_prefix?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/lookup`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesDetail2 - * @request GET:/wp/v2/templates/{id} - * @originalName v2TemplatesDetail - * @duplicate - * @secure - */ - v2TemplatesDetail2: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatesDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesCreate2 - * @request POST:/wp/v2/templates/{id} - * @originalName v2TemplatesCreate - * @duplicate - * @secure - */ - v2TemplatesCreate2: ( - id: string, - data: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum16[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesUpdate - * @request PUT:/wp/v2/templates/{id} - * @secure - */ - v2TemplatesUpdate: ( - id: string, - query?: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IV2TemplatesUpdateParamsStatusEnum[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesPartialUpdate - * @request PATCH:/wp/v2/templates/{id} - * @secure - */ - v2TemplatesPartialUpdate: ( - id: string, - query?: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IV2TemplatesPartialUpdateParamsStatusEnum[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags templates - * @name V2TemplatesDelete - * @request DELETE:/wp/v2/templates/{id} - * @secure - */ - v2TemplatesDelete: ( - id: string, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/templates/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsRevisionsList - * @request GET:/wp/v2/template-parts/{parent}/revisions - * @secure - */ - v2TemplatePartsRevisionsList: ( - parent: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatePartsRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2TemplatePartsRevisionsListParamsOrderEnum[]; - /** Sort collection by object attribute. */ - orderby?: IV2TemplatePartsRevisionsListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsDetail - * @request GET:/wp/v2/template-parts/{parent} - * @secure - */ - v2TemplatePartsDetail: ( - parent: string, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatePartsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsAutosavesList - * @request GET:/wp/v2/template-parts/{id}/autosaves - * @secure - */ - v2TemplatePartsAutosavesList: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatePartsAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsAutosavesCreate - * @request POST:/wp/v2/template-parts/{id}/autosaves - * @secure - */ - v2TemplatePartsAutosavesCreate: ( - id: string, - data: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum17[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - /** Where the template part is intended for use (header, footer, etc.) */ - area?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsList - * @request GET:/wp/v2/template-parts - * @secure - */ - v2TemplatePartsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatePartsListParamsContextEnum[]; - /** - * Limit to the specified post id. - * @format int64 - */ - wp_id?: number; - /** Limit to the specified template part area. */ - area?: string; - /** Post type to get the templates for. */ - post_type?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsCreate - * @request POST:/wp/v2/template-parts - * @secure - */ - v2TemplatePartsCreate: ( - data: { - /** Unique slug identifying the template. */ - slug: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum18[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - /** Where the template part is intended for use (header, footer, etc.) */ - area?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsLookupList - * @request GET:/wp/v2/template-parts/lookup - * @secure - */ - v2TemplatePartsLookupList: ( - query: { - /** The slug of the template to get the fallback for */ - slug: string; - /** Indicates if a template is custom or part of the template hierarchy */ - is_custom?: boolean; - /** The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy` */ - template_prefix?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/lookup`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsDetail2 - * @request GET:/wp/v2/template-parts/{id} - * @originalName v2TemplatePartsDetail - * @duplicate - * @secure - */ - v2TemplatePartsDetail2: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TemplatePartsDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsCreate2 - * @request POST:/wp/v2/template-parts/{id} - * @originalName v2TemplatePartsCreate - * @duplicate - * @secure - */ - v2TemplatePartsCreate2: ( - id: string, - data: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IStatusEnum19[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - /** Where the template part is intended for use (header, footer, etc.) */ - area?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsUpdate - * @request PUT:/wp/v2/template-parts/{id} - * @secure - */ - v2TemplatePartsUpdate: ( - id: string, - query?: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IV2TemplatePartsUpdateParamsStatusEnum[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - /** Where the template part is intended for use (header, footer, etc.) */ - area?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsPartialUpdate - * @request PATCH:/wp/v2/template-parts/{id} - * @secure - */ - v2TemplatePartsPartialUpdate: ( - id: string, - query?: { - /** Unique slug identifying the template. */ - slug?: string; - /** Theme identifier for the template. */ - theme?: string; - /** Type of template. */ - type?: string; - /** Content of template. */ - content?: string; - /** Title of template. */ - title?: string; - /** Description of template. */ - description?: string; - /** Status of template. */ - status?: IV2TemplatePartsPartialUpdateParamsStatusEnum[]; - /** - * The ID for the author of the template. - * @format int64 - */ - author?: number; - /** Where the template part is intended for use (header, footer, etc.) */ - area?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags template-parts - * @name V2TemplatePartsDelete - * @request DELETE:/wp/v2/template-parts/{id} - * @secure - */ - v2TemplatePartsDelete: ( - id: string, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/template-parts/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesRevisionsList - * @request GET:/wp/v2/global-styles/{parent}/revisions - * @secure - */ - v2GlobalStylesRevisionsList: ( - parent: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2GlobalStylesRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesDetail - * @request GET:/wp/v2/global-styles/{parent} - * @secure - */ - v2GlobalStylesDetail: ( - parent: number, - query?: { - /** - * Unique identifier for the global styles revision. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2GlobalStylesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesThemesVariationsList - * @request GET:/wp/v2/global-styles/themes/{stylesheet}/variations - * @secure - */ - v2GlobalStylesThemesVariationsList: ( - stylesheet: string, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/themes/${stylesheet}/variations`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesThemesDetail - * @request GET:/wp/v2/global-styles/themes/{stylesheet} - * @secure - */ - v2GlobalStylesThemesDetail: ( - stylesheet: string, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/themes/${stylesheet}`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesDetail2 - * @request GET:/wp/v2/global-styles/{id} - * @originalName v2GlobalStylesDetail - * @duplicate - * @secure - */ - v2GlobalStylesDetail2: (id: string, params: RequestParams = {}) => - this.request({ - path: `/wp/v2/global-styles/${id}`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesCreate - * @request POST:/wp/v2/global-styles/{id} - * @secure - */ - v2GlobalStylesCreate: ( - id: string, - data: { - /** Global styles. */ - styles?: string; - /** Global settings. */ - settings?: string; - /** Title of the global styles variation. */ - title?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesUpdate - * @request PUT:/wp/v2/global-styles/{id} - * @secure - */ - v2GlobalStylesUpdate: ( - id: string, - query?: { - /** Global styles. */ - styles?: string; - /** Global settings. */ - settings?: string; - /** Title of the global styles variation. */ - title?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags global-styles - * @name V2GlobalStylesPartialUpdate - * @request PATCH:/wp/v2/global-styles/{id} - * @secure - */ - v2GlobalStylesPartialUpdate: ( - id: string, - query?: { - /** Global styles. */ - styles?: string; - /** Global settings. */ - settings?: string; - /** Title of the global styles variation. */ - title?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/global-styles/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationList - * @request GET:/wp/v2/navigation - * @secure - */ - v2NavigationList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2NavigationListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2NavigationListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2NavigationListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2NavigationListParamsOrderbyEnum[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationCreate - * @request POST:/wp/v2/navigation - * @secure - */ - v2NavigationCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum20[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationDetail - * @request GET:/wp/v2/navigation/{id} - * @secure - */ - v2NavigationDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2NavigationDetailParamsContextEnum[]; - /** The password for the post if it is password protected. */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationCreate2 - * @request POST:/wp/v2/navigation/{id} - * @originalName v2NavigationCreate - * @duplicate - * @secure - */ - v2NavigationCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum21[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationUpdate - * @request PUT:/wp/v2/navigation/{id} - * @secure - */ - v2NavigationUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2NavigationUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationPartialUpdate - * @request PATCH:/wp/v2/navigation/{id} - * @secure - */ - v2NavigationPartialUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2NavigationPartialUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationDelete - * @request DELETE:/wp/v2/navigation/{id} - * @secure - */ - v2NavigationDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationRevisionsList - * @request GET:/wp/v2/navigation/{parent}/revisions - * @secure - */ - v2NavigationRevisionsList: ( - parent: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2NavigationRevisionsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2NavigationRevisionsListParamsOrderEnum[]; - /** Sort collection by object attribute. */ - orderby?: IV2NavigationRevisionsListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${parent}/revisions`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationDetail2 - * @request GET:/wp/v2/navigation/{parent} - * @originalName v2NavigationDetail - * @duplicate - * @secure - */ - v2NavigationDetail2: ( - parent: number, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2NavigationDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationAutosavesList - * @request GET:/wp/v2/navigation/{id}/autosaves - * @secure - */ - v2NavigationAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2NavigationAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags navigation - * @name V2NavigationAutosavesCreate - * @request POST:/wp/v2/navigation/{id}/autosaves - * @secure - */ - v2NavigationAutosavesCreate: ( - id: number, - data: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum22[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The theme file to use to display the post. */ - template?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/navigation/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesList - * @request GET:/wp/v2/font-families - * @secure - */ - v2FontFamiliesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontFamiliesListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2FontFamiliesListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2FontFamiliesListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2FontFamiliesListParamsOrderbyEnum[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesCreate - * @request POST:/wp/v2/font-families - * @secure - */ - v2FontFamiliesCreate: ( - data: { - /** - * Version of the theme.json schema used for the typography settings. - * @format int64 - * @min 2 - * @max 3 - */ - theme_json_version?: number; - /** font-family declaration in theme.json format, encoded as a string. */ - font_family_settings: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesDetail - * @request GET:/wp/v2/font-families/{id} - * @secure - */ - v2FontFamiliesDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontFamiliesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesCreate2 - * @request POST:/wp/v2/font-families/{id} - * @originalName v2FontFamiliesCreate - * @duplicate - * @secure - */ - v2FontFamiliesCreate2: ( - id: number, - data: { - /** - * Version of the theme.json schema used for the typography settings. - * @format int64 - * @min 2 - * @max 3 - */ - theme_json_version?: number; - /** font-family declaration in theme.json format, encoded as a string. */ - font_family_settings: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesUpdate - * @request PUT:/wp/v2/font-families/{id} - * @secure - */ - v2FontFamiliesUpdate: ( - id: number, - query: { - /** - * Version of the theme.json schema used for the typography settings. - * @format int64 - * @min 2 - * @max 3 - */ - theme_json_version?: number; - /** font-family declaration in theme.json format, encoded as a string. */ - font_family_settings: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesPartialUpdate - * @request PATCH:/wp/v2/font-families/{id} - * @secure - */ - v2FontFamiliesPartialUpdate: ( - id: number, - query: { - /** - * Version of the theme.json schema used for the typography settings. - * @format int64 - * @min 2 - * @max 3 - */ - theme_json_version?: number; - /** font-family declaration in theme.json format, encoded as a string. */ - font_family_settings: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesDelete - * @request DELETE:/wp/v2/font-families/{id} - * @secure - */ - v2FontFamiliesDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesFontFacesList - * @request GET:/wp/v2/font-families/{font_family_id}/font-faces - * @secure - */ - v2FontFamiliesFontFacesList: ( - fontFamilyId: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontFamiliesFontFacesListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2FontFamiliesFontFacesListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2FontFamiliesFontFacesListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2FontFamiliesFontFacesListParamsOrderbyEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${fontFamilyId}/font-faces`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesFontFacesCreate - * @request POST:/wp/v2/font-families/{font_family_id}/font-faces - * @secure - */ - v2FontFamiliesFontFacesCreate: ( - fontFamilyId: number, - data: { - /** - * Version of the theme.json schema used for the typography settings. - * @format int64 - * @min 2 - * @max 3 - */ - theme_json_version?: number; - /** font-face declaration in theme.json format, encoded as a string. */ - font_face_settings: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${fontFamilyId}/font-faces`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesDetail2 - * @request GET:/wp/v2/font-families/{font_family_id} - * @originalName v2FontFamiliesDetail - * @duplicate - * @secure - */ - v2FontFamiliesDetail2: ( - fontFamilyId: number, - query: { - /** - * Unique identifier for the font face. - * @format int64 - */ - id: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontFamiliesDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${fontFamilyId}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags font-families - * @name V2FontFamiliesDelete2 - * @request DELETE:/wp/v2/font-families/{font_family_id} - * @originalName v2FontFamiliesDelete - * @duplicate - * @secure - */ - v2FontFamiliesDelete2: ( - fontFamilyId: number, - query: { - /** - * Unique identifier for the font face. - * @format int64 - */ - id: number; - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/font-families/${fontFamilyId}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductList - * @request GET:/wp/v2/product - * @secure - */ - v2ProductList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit response to posts published after a given ISO8601 compliant date. - * @format date-time - */ - after?: string; - /** - * Limit response to posts modified after a given ISO8601 compliant date. - * @format date-time - */ - modified_after?: string; - /** - * Limit response to posts published before a given ISO8601 compliant date. - * @format date-time - */ - before?: string; - /** - * Limit response to posts modified before a given ISO8601 compliant date. - * @format date-time - */ - modified_before?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** How to interpret the search input. */ - search_semantics?: IV2ProductListParamsSearchSemanticsEnum[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2ProductListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2ProductListParamsOrderbyEnum[]; - /** Array of column names to be searched. */ - search_columns?: string[]; - /** Limit result set to posts with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to posts assigned one or more statuses. */ - status?: string[]; - /** Limit result set based on relationship between multiple taxonomies. */ - tax_relation?: IV2ProductListParamsTaxRelationEnum[]; - /** Limit result set to items with specific terms assigned in the product_brand taxonomy. */ - product_brand?: string; - /** Limit result set to items except those with specific terms assigned in the product_brand taxonomy. */ - product_brand_exclude?: string; - /** Limit result set to items with specific terms assigned in the product_cat taxonomy. */ - product_cat?: string; - /** Limit result set to items except those with specific terms assigned in the product_cat taxonomy. */ - product_cat_exclude?: string; - /** Limit result set to items with specific terms assigned in the product_tag taxonomy. */ - product_tag?: string; - /** Limit result set to items except those with specific terms assigned in the product_tag taxonomy. */ - product_tag_exclude?: string; - /** Limit result set to products assigned a specific brand ID. */ - brand?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductCreate - * @request POST:/wp/v2/product - * @secure - */ - v2ProductCreate: ( - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum23[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum8[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum8[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the product_brand taxonomy. */ - product_brand?: number[]; - /** The terms assigned to the post in the product_cat taxonomy. */ - product_cat?: number[]; - /** The terms assigned to the post in the product_tag taxonomy. */ - product_tag?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductDetail - * @request GET:/wp/v2/product/{id} - * @secure - */ - v2ProductDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductDetailParamsContextEnum[]; - /** - * Override the default excerpt length. - * @format int64 - */ - excerpt_length?: number; - /** The password for the post if it is password protected. */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductCreate2 - * @request POST:/wp/v2/product/{id} - * @originalName v2ProductCreate - * @duplicate - * @secure - */ - v2ProductCreate2: ( - id: number, - data: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum24[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum9[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum9[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the product_brand taxonomy. */ - product_brand?: number[]; - /** The terms assigned to the post in the product_cat taxonomy. */ - product_cat?: number[]; - /** The terms assigned to the post in the product_tag taxonomy. */ - product_tag?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductUpdate - * @request PUT:/wp/v2/product/{id} - * @secure - */ - v2ProductUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2ProductUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2ProductUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2ProductUpdateParamsPingStatusEnum[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the product_brand taxonomy. */ - product_brand?: number[]; - /** The terms assigned to the post in the product_cat taxonomy. */ - product_cat?: number[]; - /** The terms assigned to the post in the product_tag taxonomy. */ - product_tag?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductPartialUpdate - * @request PATCH:/wp/v2/product/{id} - * @secure - */ - v2ProductPartialUpdate: ( - id: number, - query?: { - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IV2ProductPartialUpdateParamsStatusEnum[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: IV2ProductPartialUpdateParamsCommentStatusEnum[]; - /** Whether or not the post can be pinged. */ - ping_status?: IV2ProductPartialUpdateParamsPingStatusEnum[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the product_brand taxonomy. */ - product_brand?: number[]; - /** The terms assigned to the post in the product_cat taxonomy. */ - product_cat?: number[]; - /** The terms assigned to the post in the product_tag taxonomy. */ - product_tag?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductDelete - * @request DELETE:/wp/v2/product/{id} - * @secure - */ - v2ProductDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductAutosavesList - * @request GET:/wp/v2/product/{id}/autosaves - * @secure - */ - v2ProductAutosavesList: ( - id: number, - query?: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductAutosavesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}/autosaves`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductAutosavesCreate - * @request POST:/wp/v2/product/{id}/autosaves - * @secure - */ - v2ProductAutosavesCreate: ( - id: number, - data: { - /** - * The ID for the parent of the autosave. - * @format int64 - */ - parent?: number; - /** - * The date the post was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the post was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** An alphanumeric identifier for the post unique to its type. */ - slug?: string; - /** A named status for the post. */ - status?: IStatusEnum25[]; - /** A password to protect access to the content and excerpt. */ - password?: string; - /** The title for the post. */ - title?: string; - /** The content for the post. */ - content?: string; - /** The excerpt for the post. */ - excerpt?: string; - /** - * The ID of the featured media for the post. - * @format int64 - */ - featured_media?: number; - /** Whether or not comments are open on the post. */ - comment_status?: ICommentStatusEnum10[]; - /** Whether or not the post can be pinged. */ - ping_status?: IPingStatusEnum10[]; - /** Meta fields. */ - meta?: string; - /** The theme file to use to display the post. */ - template?: string; - /** The terms assigned to the post in the product_brand taxonomy. */ - product_brand?: number[]; - /** The terms assigned to the post in the product_cat taxonomy. */ - product_cat?: number[]; - /** The terms assigned to the post in the product_tag taxonomy. */ - product_tag?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${id}/autosaves`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags product - * @name V2ProductDetail2 - * @request GET:/wp/v2/product/{parent} - * @originalName v2ProductDetail - * @duplicate - * @secure - */ - v2ProductDetail2: ( - parent: number, - query?: { - /** - * The ID for the autosave. - * @format int64 - */ - id?: number; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product/${parent}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags types - * @name V2TypesList - * @request GET:/wp/v2/types - * @secure - */ - v2TypesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TypesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/types`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags types - * @name V2TypesDetail - * @request GET:/wp/v2/types/{type} - * @secure - */ - v2TypesDetail: ( - type: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TypesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/types/${type}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags statuses - * @name V2StatusesList - * @request GET:/wp/v2/statuses - * @secure - */ - v2StatusesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2StatusesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/statuses`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags statuses - * @name V2StatusesDetail - * @request GET:/wp/v2/statuses/{status} - * @secure - */ - v2StatusesDetail: ( - status: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2StatusesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/statuses/${status}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags taxonomies - * @name V2TaxonomiesList - * @request GET:/wp/v2/taxonomies - * @secure - */ - v2TaxonomiesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TaxonomiesListParamsContextEnum[]; - /** Limit results to taxonomies associated with a specific post type. */ - type?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/taxonomies`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags taxonomies - * @name V2TaxonomiesDetail - * @request GET:/wp/v2/taxonomies/{taxonomy} - * @secure - */ - v2TaxonomiesDetail: ( - taxonomy: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TaxonomiesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/taxonomies/${taxonomy}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesList - * @request GET:/wp/v2/categories - * @secure - */ - v2CategoriesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2CategoriesListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** Order sort attribute ascending or descending. */ - order?: IV2CategoriesListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2CategoriesListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific parent. - * @format int64 - */ - parent?: number; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesCreate - * @request POST:/wp/v2/categories - * @secure - */ - v2CategoriesCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesDetail - * @request GET:/wp/v2/categories/{id} - * @secure - */ - v2CategoriesDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2CategoriesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesCreate2 - * @request POST:/wp/v2/categories/{id} - * @originalName v2CategoriesCreate - * @duplicate - * @secure - */ - v2CategoriesCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesUpdate - * @request PUT:/wp/v2/categories/{id} - * @secure - */ - v2CategoriesUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesPartialUpdate - * @request PATCH:/wp/v2/categories/{id} - * @secure - */ - v2CategoriesPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags categories - * @name V2CategoriesDelete - * @request DELETE:/wp/v2/categories/{id} - * @secure - */ - v2CategoriesDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/categories/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsList - * @request GET:/wp/v2/tags - * @secure - */ - v2TagsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TagsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2TagsListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2TagsListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsCreate - * @request POST:/wp/v2/tags - * @secure - */ - v2TagsCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsDetail - * @request GET:/wp/v2/tags/{id} - * @secure - */ - v2TagsDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2TagsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsCreate2 - * @request POST:/wp/v2/tags/{id} - * @originalName v2TagsCreate - * @duplicate - * @secure - */ - v2TagsCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsUpdate - * @request PUT:/wp/v2/tags/{id} - * @secure - */ - v2TagsUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsPartialUpdate - * @request PATCH:/wp/v2/tags/{id} - * @secure - */ - v2TagsPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags tags - * @name V2TagsDelete - * @request DELETE:/wp/v2/tags/{id} - * @secure - */ - v2TagsDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/tags/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusList - * @request GET:/wp/v2/menus - * @secure - */ - v2MenusList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenusListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2MenusListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2MenusListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusCreate - * @request POST:/wp/v2/menus - * @secure - */ - v2MenusCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - /** The locations assigned to the menu. */ - locations?: string[]; - /** Whether to automatically add top level pages to this menu. */ - auto_add?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusDetail - * @request GET:/wp/v2/menus/{id} - * @secure - */ - v2MenusDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenusDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusCreate2 - * @request POST:/wp/v2/menus/{id} - * @originalName v2MenusCreate - * @duplicate - * @secure - */ - v2MenusCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - /** The locations assigned to the menu. */ - locations?: string[]; - /** Whether to automatically add top level pages to this menu. */ - auto_add?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusUpdate - * @request PUT:/wp/v2/menus/{id} - * @secure - */ - v2MenusUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - /** The locations assigned to the menu. */ - locations?: string[]; - /** Whether to automatically add top level pages to this menu. */ - auto_add?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusPartialUpdate - * @request PATCH:/wp/v2/menus/{id} - * @secure - */ - v2MenusPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - /** The locations assigned to the menu. */ - locations?: string[]; - /** Whether to automatically add top level pages to this menu. */ - auto_add?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menus - * @name V2MenusDelete - * @request DELETE:/wp/v2/menus/{id} - * @secure - */ - v2MenusDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/menus/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryList - * @request GET:/wp/v2/wp_pattern_category - * @secure - */ - v2WpPatternCategoryList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WpPatternCategoryListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2WpPatternCategoryListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2WpPatternCategoryListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryCreate - * @request POST:/wp/v2/wp_pattern_category - * @secure - */ - v2WpPatternCategoryCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryDetail - * @request GET:/wp/v2/wp_pattern_category/{id} - * @secure - */ - v2WpPatternCategoryDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WpPatternCategoryDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryCreate2 - * @request POST:/wp/v2/wp_pattern_category/{id} - * @originalName v2WpPatternCategoryCreate - * @duplicate - * @secure - */ - v2WpPatternCategoryCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryUpdate - * @request PUT:/wp/v2/wp_pattern_category/{id} - * @secure - */ - v2WpPatternCategoryUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryPartialUpdate - * @request PATCH:/wp/v2/wp_pattern_category/{id} - * @secure - */ - v2WpPatternCategoryPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags wp_pattern_category - * @name V2WpPatternCategoryDelete - * @request DELETE:/wp/v2/wp_pattern_category/{id} - * @secure - */ - v2WpPatternCategoryDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/wp_pattern_category/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandList - * @request GET:/wp/v2/product_brand - * @secure - */ - v2ProductBrandList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductBrandListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** Order sort attribute ascending or descending. */ - order?: IV2ProductBrandListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2ProductBrandListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific parent. - * @format int64 - */ - parent?: number; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandCreate - * @request POST:/wp/v2/product_brand - * @secure - */ - v2ProductBrandCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandDetail - * @request GET:/wp/v2/product_brand/{id} - * @secure - */ - v2ProductBrandDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductBrandDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandCreate2 - * @request POST:/wp/v2/product_brand/{id} - * @originalName v2ProductBrandCreate - * @duplicate - * @secure - */ - v2ProductBrandCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandUpdate - * @request PUT:/wp/v2/product_brand/{id} - * @secure - */ - v2ProductBrandUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandPartialUpdate - * @request PATCH:/wp/v2/product_brand/{id} - * @secure - */ - v2ProductBrandPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_brand - * @name V2ProductBrandDelete - * @request DELETE:/wp/v2/product_brand/{id} - * @secure - */ - v2ProductBrandDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_brand/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatList - * @request GET:/wp/v2/product_cat - * @secure - */ - v2ProductCatList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductCatListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** Order sort attribute ascending or descending. */ - order?: IV2ProductCatListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2ProductCatListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific parent. - * @format int64 - */ - parent?: number; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatCreate - * @request POST:/wp/v2/product_cat - * @secure - */ - v2ProductCatCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatDetail - * @request GET:/wp/v2/product_cat/{id} - * @secure - */ - v2ProductCatDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductCatDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatCreate2 - * @request POST:/wp/v2/product_cat/{id} - * @originalName v2ProductCatCreate - * @duplicate - * @secure - */ - v2ProductCatCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatUpdate - * @request PUT:/wp/v2/product_cat/{id} - * @secure - */ - v2ProductCatUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatPartialUpdate - * @request PATCH:/wp/v2/product_cat/{id} - * @secure - */ - v2ProductCatPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** - * The parent term ID. - * @format int64 - */ - parent?: number; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_cat - * @name V2ProductCatDelete - * @request DELETE:/wp/v2/product_cat/{id} - * @secure - */ - v2ProductCatDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_cat/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagList - * @request GET:/wp/v2/product_tag - * @secure - */ - v2ProductTagList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductTagListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2ProductTagListParamsOrderEnum[]; - /** Sort collection by term attribute. */ - orderby?: IV2ProductTagListParamsOrderbyEnum[]; - /** Whether to hide terms not assigned to any posts. */ - hide_empty?: boolean; - /** - * Limit result set to terms assigned to a specific post. - * @format int64 - */ - post?: number; - /** Limit result set to terms with one or more specific slugs. */ - slug?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagCreate - * @request POST:/wp/v2/product_tag - * @secure - */ - v2ProductTagCreate: ( - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagDetail - * @request GET:/wp/v2/product_tag/{id} - * @secure - */ - v2ProductTagDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2ProductTagDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagCreate2 - * @request POST:/wp/v2/product_tag/{id} - * @originalName v2ProductTagCreate - * @duplicate - * @secure - */ - v2ProductTagCreate2: ( - id: number, - data: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagUpdate - * @request PUT:/wp/v2/product_tag/{id} - * @secure - */ - v2ProductTagUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagPartialUpdate - * @request PATCH:/wp/v2/product_tag/{id} - * @secure - */ - v2ProductTagPartialUpdate: ( - id: number, - query?: { - /** HTML description of the term. */ - description?: string; - /** HTML title for the term. */ - name?: string; - /** An alphanumeric identifier for the term unique to its type. */ - slug?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags product_tag - * @name V2ProductTagDelete - * @request DELETE:/wp/v2/product_tag/{id} - * @secure - */ - v2ProductTagDelete: ( - id: number, - query?: { - /** Required to be true, as terms do not support trashing. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/product_tag/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersList - * @request GET:/wp/v2/users - * @secure - */ - v2UsersList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** Ensure result set excludes specific IDs. */ - exclude?: number[]; - /** Limit result set to specific IDs. */ - include?: number[]; - /** - * Offset the result set by a specific number of items. - * @format int64 - */ - offset?: number; - /** Order sort attribute ascending or descending. */ - order?: IV2UsersListParamsOrderEnum[]; - /** Sort collection by user attribute. */ - orderby?: IV2UsersListParamsOrderbyEnum[]; - /** Limit result set to users with one or more specific slugs. */ - slug?: string[]; - /** Limit result set to users matching at least one specific role provided. Accepts csv list or single role. */ - roles?: string[]; - /** Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability. */ - capabilities?: string[]; - /** Limit result set to users who are considered authors. */ - who?: IV2UsersListParamsWhoEnum[]; - /** Limit result set to users who have published posts. */ - has_published_posts?: boolean; - /** Array of column names to be searched. */ - search_columns?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersCreate - * @request POST:/wp/v2/users - * @secure - */ - v2UsersCreate: ( - data: { - /** Login name for the user. */ - username: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; - /** - * The email address for the user. + * Limit result set to resources with a specific email. * @format email */ + email?: string; + /** Limit result set to resources with a specific role. */ + role?: IV1CustomersListParamsRoleEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/customers`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags customers + * @name V1CustomersCreate + * @request POST:/wc/v1/customers + * @secure + */ + v1CustomersCreate: ( + data: { + /** New user email address. */ email: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: ILocaleEnum[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ - password: string; - /** Meta fields. */ - meta?: string; + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** New user username. */ + username?: string; + /** New user password. */ + password?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users`, + path: `/wc/v1/customers`, method: "POST", body: data, secure: true, @@ -10010,21 +3225,21 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersDetail - * @request GET:/wp/v2/users/{id} + * @tags customers + * @name V1CustomersDetail + * @request GET:/wc/v1/customers/{id} * @secure */ - v2UsersDetail: ( + v1CustomersDetail: ( id: number, query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersDetailParamsContextEnum[]; + context?: IV1CustomersDetailParamsContextEnum[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/${id}`, + path: `/wc/v1/customers/${id}`, method: "GET", query: query, secure: true, @@ -10035,53 +3250,38 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersCreate2 - * @request POST:/wp/v2/users/{id} - * @originalName v2UsersCreate + * @tags customers + * @name V1CustomersCreate2 + * @request POST:/wc/v1/customers/{id} + * @originalName v1CustomersCreate * @duplicate * @secure */ - v2UsersCreate2: ( + v1CustomersCreate2: ( id: number, data: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: ILocaleEnum1[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/${id}`, + path: `/wc/v1/customers/${id}`, method: "POST", body: data, secure: true, @@ -10092,51 +3292,36 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersUpdate - * @request PUT:/wp/v2/users/{id} + * @tags customers + * @name V1CustomersUpdate + * @request PUT:/wc/v1/customers/{id} * @secure */ - v2UsersUpdate: ( + v1CustomersUpdate: ( id: number, query?: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: IV2UsersUpdateParamsLocaleEnum[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/${id}`, + path: `/wc/v1/customers/${id}`, method: "PUT", query: query, secure: true, @@ -10147,51 +3332,36 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersPartialUpdate - * @request PATCH:/wp/v2/users/{id} + * @tags customers + * @name V1CustomersPartialUpdate + * @request PATCH:/wc/v1/customers/{id} * @secure */ - v2UsersPartialUpdate: ( + v1CustomersPartialUpdate: ( id: number, query?: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: IV2UsersPartialUpdateParamsLocaleEnum[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/${id}`, + path: `/wc/v1/customers/${id}`, method: "PATCH", query: query, secure: true, @@ -10202,26 +3372,26 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersDelete - * @request DELETE:/wp/v2/users/{id} + * @tags customers + * @name V1CustomersDelete + * @request DELETE:/wc/v1/customers/{id} * @secure */ - v2UsersDelete: ( + v1CustomersDelete: ( id: number, - query: { - /** Required to be true, as users do not support trashing. */ + query?: { + /** Required to be true, as resource does not support trashing. */ force?: boolean; /** - * Reassign the deleted user's posts and links to this user ID. + * ID to reassign posts to. * @format int64 */ - reassign: number; + reassign?: number; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/${id}`, + path: `/wc/v1/customers/${id}`, method: "DELETE", query: query, secure: true, @@ -10232,74 +3402,35 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersMeList - * @request GET:/wp/v2/users/me + * @tags customers + * @name V1CustomersBatchCreate + * @request POST:/wc/v1/customers/batch * @secure */ - v2UsersMeList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersMeListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/me`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersMeCreate - * @request POST:/wp/v2/users/me - * @secure - */ - v2UsersMeCreate: ( + v1CustomersBatchCreate: ( data: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: ILocaleEnum2[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/me`, + path: `/wc/v1/customers/batch`, method: "POST", body: data, secure: true, @@ -10310,50 +3441,35 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersMeUpdate - * @request PUT:/wp/v2/users/me + * @tags customers + * @name V1CustomersBatchUpdate + * @request PUT:/wc/v1/customers/batch * @secure */ - v2UsersMeUpdate: ( + v1CustomersBatchUpdate: ( query?: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: IV2UsersMeUpdateParamsLocaleEnum[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/me`, + path: `/wc/v1/customers/batch`, method: "PUT", query: query, secure: true, @@ -10364,50 +3480,35 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersMePartialUpdate - * @request PATCH:/wp/v2/users/me + * @tags customers + * @name V1CustomersBatchPartialUpdate + * @request PATCH:/wc/v1/customers/batch * @secure */ - v2UsersMePartialUpdate: ( + v1CustomersBatchPartialUpdate: ( query?: { - /** Login name for the user. */ - username?: string; - /** Display name for the user. */ - name?: string; - /** First name for the user. */ - first_name?: string; - /** Last name for the user. */ - last_name?: string; /** - * The email address for the user. + * The email address for the customer. * @format email */ email?: string; - /** - * URL of the user. - * @format uri - */ - url?: string; - /** Description of the user. */ - description?: string; - /** Locale for the user. */ - locale?: IV2UsersMePartialUpdateParamsLocaleEnum[]; - /** The nickname for the user. */ - nickname?: string; - /** An alphanumeric identifier for the user. */ - slug?: string; - /** Roles assigned to the user. */ - roles?: string[]; - /** Password for the user (never included). */ + /** Customer first name. */ + first_name?: string; + /** Customer last name. */ + last_name?: string; + /** Customer login name. */ + username?: string; + /** Customer password. */ password?: string; - /** Meta fields. */ - meta?: string; + /** List of billing address data. */ + billing?: string; + /** List of shipping address data. */ + shipping?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/me`, + path: `/wc/v1/customers/batch`, method: "PATCH", query: query, secure: true, @@ -10418,25 +3519,108 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersMeDelete - * @request DELETE:/wp/v2/users/me + * @tags orders + * @name V1OrdersNotesList + * @request GET:/wc/v1/orders/{order_id}/notes * @secure */ - v2UsersMeDelete: ( - query: { - /** Required to be true, as users do not support trashing. */ + v1OrdersNotesList: ( + orderId: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1OrdersNotesListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${orderId}/notes`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersNotesCreate + * @request POST:/wc/v1/orders/{order_id}/notes + * @secure + */ + v1OrdersNotesCreate: ( + orderId: number, + data: { + /** Order note content. */ + note: string; + /** Shows/define if the note is only for reference or for the customer (the user will be notified). */ + customer_note?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${orderId}/notes`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersDetail + * @request GET:/wc/v1/orders/{order_id} + * @secure + */ + v1OrdersDetail: ( + orderId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1OrdersDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${orderId}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersDelete + * @request DELETE:/wc/v1/orders/{order_id} + * @secure + */ + v1OrdersDelete: ( + orderId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Required to be true, as resource does not support trashing. */ force?: boolean; - /** - * Reassign the deleted user's posts and links to this user ID. - * @format int64 - */ - reassign: number; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/users/me`, + path: `/wc/v1/orders/${orderId}`, method: "DELETE", query: query, secure: true, @@ -10447,257 +3631,16 @@ export class Api< /** * No description * - * @tags users - * @name V2UsersApplicationPasswordsList - * @request GET:/wp/v2/users/{user_id}/application-passwords + * @tags orders + * @name V1OrdersRefundsList + * @request GET:/wc/v1/orders/{order_id}/refunds * @secure */ - v2UsersApplicationPasswordsList: ( - userId: number, + v1OrdersRefundsList: ( + orderId: number, query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersApplicationPasswordsListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}/application-passwords`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersApplicationPasswordsCreate - * @request POST:/wp/v2/users/{user_id}/application-passwords - * @secure - */ - v2UsersApplicationPasswordsCreate: ( - userId: number, - data: { - /** - * A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace. - * @format uuid - */ - app_id?: string; - /** The name of the application password. */ - name: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}/application-passwords`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersApplicationPasswordsDelete - * @request DELETE:/wp/v2/users/{user_id}/application-passwords - * @secure - */ - v2UsersApplicationPasswordsDelete: ( - userId: number, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}/application-passwords`, - method: "DELETE", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersApplicationPasswordsIntrospectList - * @request GET:/wp/v2/users/{user_id}/application-passwords/introspect - * @secure - */ - v2UsersApplicationPasswordsIntrospectList: ( - userId: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersApplicationPasswordsIntrospectListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}/application-passwords/introspect`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersDetail2 - * @request GET:/wp/v2/users/{user_id} - * @originalName v2UsersDetail - * @duplicate - * @secure - */ - v2UsersDetail2: ( - userId: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2UsersDetail2ParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersCreate3 - * @request POST:/wp/v2/users/{user_id} - * @originalName v2UsersCreate - * @duplicate - * @secure - */ - v2UsersCreate3: ( - userId: number, - data: { - /** - * A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace. - * @format uuid - */ - app_id?: string; - /** The name of the application password. */ - name?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersUpdate2 - * @request PUT:/wp/v2/users/{user_id} - * @originalName v2UsersUpdate - * @duplicate - * @secure - */ - v2UsersUpdate2: ( - userId: number, - query?: { - /** - * A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace. - * @format uuid - */ - app_id?: string; - /** The name of the application password. */ - name?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersPartialUpdate2 - * @request PATCH:/wp/v2/users/{user_id} - * @originalName v2UsersPartialUpdate - * @duplicate - * @secure - */ - v2UsersPartialUpdate2: ( - userId: number, - query?: { - /** - * A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace. - * @format uuid - */ - app_id?: string; - /** The name of the application password. */ - name?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/users/${userId}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags users - * @name V2UsersDelete2 - * @request DELETE:/wp/v2/users/{user_id} - * @originalName v2UsersDelete - * @duplicate - * @secure - */ - v2UsersDelete2: (userId: number, params: RequestParams = {}) => - this.request({ - path: `/wp/v2/users/${userId}`, - method: "DELETE", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags comments - * @name V2CommentsList - * @request GET:/wp/v2/comments - * @secure - */ - v2CommentsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2CommentsListParamsContextEnum[]; + context?: IV1OrdersRefundsListParamsContextEnum[]; /** * Current page of the collection. * @format int64 @@ -10714,27 +3657,18 @@ export class Api< /** Limit results to those matching a string. */ search?: string; /** - * Limit response to comments published after a given ISO8601 compliant date. + * Limit response to resources published after a given ISO8601 compliant date. * @format date-time */ after?: string; - /** Limit result set to comments assigned to specific user IDs. Requires authorization. */ - author?: number[]; - /** Ensure result set excludes comments assigned to specific user IDs. Requires authorization. */ - author_exclude?: number[]; /** - * Limit result set to that from a specific author email. Requires authorization. - * @format email - */ - author_email?: string; - /** - * Limit response to comments published before a given ISO8601 compliant date. + * Limit response to resources published before a given ISO8601 compliant date. * @format date-time */ before?: string; /** Ensure result set excludes specific IDs. */ exclude?: number[]; - /** Limit result set to specific IDs. */ + /** Limit result set to specific ids. */ include?: number[]; /** * Offset the result set by a specific number of items. @@ -10742,26 +3676,33 @@ export class Api< */ offset?: number; /** Order sort attribute ascending or descending. */ - order?: IV2CommentsListParamsOrderEnum[]; - /** Sort collection by comment attribute. */ - orderby?: IV2CommentsListParamsOrderbyEnum[]; - /** Limit result set to comments of specific parent IDs. */ - parent?: number[]; - /** Ensure result set excludes specific parent IDs. */ - parent_exclude?: number[]; - /** Limit result set to comments assigned to specific post IDs. */ - post?: number[]; - /** Limit result set to comments assigned a specific status. Requires authorization. */ - status?: string; - /** Limit result set to comments assigned a specific type. Requires authorization. */ - type?: string; - /** The password for the post if it is password protected. */ - password?: string; + order?: IV1OrdersRefundsListParamsOrderEnum[]; + /** Sort collection by object attribute. */ + orderby?: IV1OrdersRefundsListParamsOrderbyEnum[]; + /** Use WP Query arguments to modify the response; private query vars require appropriate authorization. */ + filter?: string; + /** Limit result set to orders assigned a specific status. */ + status?: IV1OrdersRefundsListParamsStatusEnum[]; + /** + * Limit result set to orders assigned a specific customer. + * @format int64 + */ + customer?: number; + /** + * Limit result set to orders assigned a specific product. + * @format int64 + */ + product?: number; + /** + * Number of decimal points to use in each resource. + * @format int64 + */ + dp?: number; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/comments`, + path: `/wc/v1/orders/${orderId}/refunds`, method: "GET", query: query, secure: true, @@ -10772,170 +3713,23 @@ export class Api< /** * No description * - * @tags comments - * @name V2CommentsCreate - * @request POST:/wp/v2/comments + * @tags orders + * @name V1OrdersRefundsCreate + * @request POST:/wc/v1/orders/{order_id}/refunds * @secure */ - v2CommentsCreate: ( + v1OrdersRefundsCreate: ( + orderId: number, data: { - /** - * The ID of the user object, if author was a user. - * @format int64 - */ - author?: number; - /** - * Email address for the comment author. - * @format email - */ - author_email?: string; - /** - * IP address for the comment author. - * @format ip - */ - author_ip?: string; - /** Display name for the comment author. */ - author_name?: string; - /** - * URL for the comment author. - * @format uri - */ - author_url?: string; - /** User agent for the comment author. */ - author_user_agent?: string; - /** The content for the comment. */ - content?: string; - /** - * The date the comment was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the comment was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** - * The ID for the parent of the comment. - * @format int64 - */ - parent?: number; - /** - * The ID of the associated post object. - * @format int64 - */ - post?: number; - /** State of the comment. */ - status?: string; - /** Meta fields. */ - meta?: string; + /** Refund amount. */ + amount?: string; + /** Reason for refund. */ + reason?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/comments`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags comments - * @name V2CommentsDetail - * @request GET:/wp/v2/comments/{id} - * @secure - */ - v2CommentsDetail: ( - id: number, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2CommentsDetailParamsContextEnum[]; - /** The password for the parent post of the comment (if the post is password protected). */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/comments/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags comments - * @name V2CommentsCreate2 - * @request POST:/wp/v2/comments/{id} - * @originalName v2CommentsCreate - * @duplicate - * @secure - */ - v2CommentsCreate2: ( - id: number, - data: { - /** - * The ID of the user object, if author was a user. - * @format int64 - */ - author?: number; - /** - * Email address for the comment author. - * @format email - */ - author_email?: string; - /** - * IP address for the comment author. - * @format ip - */ - author_ip?: string; - /** Display name for the comment author. */ - author_name?: string; - /** - * URL for the comment author. - * @format uri - */ - author_url?: string; - /** User agent for the comment author. */ - author_user_agent?: string; - /** The content for the comment. */ - content?: string; - /** - * The date the comment was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the comment was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** - * The ID for the parent of the comment. - * @format int64 - */ - parent?: number; - /** - * The ID of the associated post object. - * @format int64 - */ - post?: number; - /** State of the comment. */ - status?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/comments/${id}`, + path: `/wc/v1/orders/${orderId}/refunds`, method: "POST", body: data, secure: true, @@ -10946,188 +3740,15 @@ export class Api< /** * No description * - * @tags comments - * @name V2CommentsUpdate - * @request PUT:/wp/v2/comments/{id} + * @tags orders + * @name V1OrdersList + * @request GET:/wc/v1/orders * @secure */ - v2CommentsUpdate: ( - id: number, - query?: { - /** - * The ID of the user object, if author was a user. - * @format int64 - */ - author?: number; - /** - * Email address for the comment author. - * @format email - */ - author_email?: string; - /** - * IP address for the comment author. - * @format ip - */ - author_ip?: string; - /** Display name for the comment author. */ - author_name?: string; - /** - * URL for the comment author. - * @format uri - */ - author_url?: string; - /** User agent for the comment author. */ - author_user_agent?: string; - /** The content for the comment. */ - content?: string; - /** - * The date the comment was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the comment was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** - * The ID for the parent of the comment. - * @format int64 - */ - parent?: number; - /** - * The ID of the associated post object. - * @format int64 - */ - post?: number; - /** State of the comment. */ - status?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/comments/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags comments - * @name V2CommentsPartialUpdate - * @request PATCH:/wp/v2/comments/{id} - * @secure - */ - v2CommentsPartialUpdate: ( - id: number, - query?: { - /** - * The ID of the user object, if author was a user. - * @format int64 - */ - author?: number; - /** - * Email address for the comment author. - * @format email - */ - author_email?: string; - /** - * IP address for the comment author. - * @format ip - */ - author_ip?: string; - /** Display name for the comment author. */ - author_name?: string; - /** - * URL for the comment author. - * @format uri - */ - author_url?: string; - /** User agent for the comment author. */ - author_user_agent?: string; - /** The content for the comment. */ - content?: string; - /** - * The date the comment was published, in the site's timezone. - * @format date-time - */ - date?: string; - /** - * The date the comment was published, as GMT. - * @format date-time - */ - date_gmt?: string; - /** - * The ID for the parent of the comment. - * @format int64 - */ - parent?: number; - /** - * The ID of the associated post object. - * @format int64 - */ - post?: number; - /** State of the comment. */ - status?: string; - /** Meta fields. */ - meta?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/comments/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags comments - * @name V2CommentsDelete - * @request DELETE:/wp/v2/comments/{id} - * @secure - */ - v2CommentsDelete: ( - id: number, - query?: { - /** Whether to bypass Trash and force deletion. */ - force?: boolean; - /** The password for the parent post of the comment (if the post is password protected). */ - password?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/comments/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags search - * @name V2SearchList - * @request GET:/wp/v2/search - * @secure - */ - v2SearchList: ( + v1OrdersList: ( query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2SearchListParamsContextEnum[]; + context?: IV1OrdersListParamsContextEnum[]; /** * Current page of the collection. * @format int64 @@ -11143,1213 +3764,53 @@ export class Api< per_page?: number; /** Limit results to those matching a string. */ search?: string; - /** Limit results to items of an object type. */ - type?: IV2SearchListParamsTypeEnum[]; - /** Limit results to items of one or more object subtypes. */ - subtype?: string[]; + /** + * Limit response to resources published after a given ISO8601 compliant date. + * @format date-time + */ + after?: string; + /** + * Limit response to resources published before a given ISO8601 compliant date. + * @format date-time + */ + before?: string; /** Ensure result set excludes specific IDs. */ exclude?: number[]; - /** Limit result set to specific IDs. */ + /** Limit result set to specific ids. */ include?: number[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/search`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags block-renderer - * @name V2BlockRendererDetail - * @request GET:/wp/v2/block-renderer/{name} - * @secure - */ - v2BlockRendererDetail: ( - name: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlockRendererDetailParamsContextEnum[]; - /** Attributes for the block. */ - attributes?: string; - /** - * ID of the post context. - * @format int64 - */ - post_id?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/block-renderer/${name}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags block-renderer - * @name V2BlockRendererCreate - * @request POST:/wp/v2/block-renderer/{name} - * @secure - */ - v2BlockRendererCreate: ( - name: string, - data: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IContextEnum[]; - /** Attributes for the block. */ - attributes?: string; - /** - * ID of the post context. - * @format int64 - */ - post_id?: number; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/block-renderer/${name}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags block-types - * @name V2BlockTypesList - * @request GET:/wp/v2/block-types - * @secure - */ - v2BlockTypesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlockTypesListParamsContextEnum[]; - /** Block namespace. */ - namespace?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/block-types`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags block-types - * @name V2BlockTypesDetail - * @request GET:/wp/v2/block-types/{namespace} - * @secure - */ - v2BlockTypesDetail: ( - namespace: string, - query?: { - /** Block name. */ - name?: string; - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlockTypesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/block-types/${namespace}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags settings - * @name V2SettingsList - * @request GET:/wp/v2/settings - * @secure - */ - v2SettingsList: (params: RequestParams = {}) => - this.request({ - path: `/wp/v2/settings`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags settings - * @name V2SettingsCreate - * @request POST:/wp/v2/settings - * @secure - */ - v2SettingsCreate: ( - data: { - /** Site title. */ - title?: string; - /** Site tagline. */ - description?: string; - /** - * Site URL. - * @format uri - */ - url?: string; - /** - * This address is used for admin purposes, like new user notification. - * @format email - */ - email?: string; - /** A city in the same timezone as you. */ - timezone?: string; - /** A date format for all date strings. */ - date_format?: string; - /** A time format for all time strings. */ - time_format?: string; - /** - * A day number of the week that the week should start on. - * @format int64 - */ - start_of_week?: number; - /** WordPress locale code. */ - language?: string; - /** Convert emoticons like :-) and :-P to graphics on display. */ - use_smilies?: boolean; - /** - * Default post category. - * @format int64 - */ - default_category?: number; - /** Default post format. */ - default_post_format?: string; - /** - * Blog pages show at most. - * @format int64 - */ - posts_per_page?: number; - /** What to show on the front page */ - show_on_front?: string; - /** - * The ID of the page that should be displayed on the front page - * @format int64 - */ - page_on_front?: number; - /** - * The ID of the page that should display the latest posts - * @format int64 - */ - page_for_posts?: number; - /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ - default_ping_status?: IDefaultPingStatusEnum[]; - /** Allow people to submit comments on new posts. */ - default_comment_status?: IDefaultCommentStatusEnum[]; - /** - * Site logo. - * @format int64 - */ - site_logo?: number; - /** - * Site icon. - * @format int64 - */ - site_icon?: number; - /** WooCommerce Local Pickup Method Settings */ - pickup_location_settings?: string; - /** WooCommerce Local Pickup Locations */ - pickup_locations?: object[]; - /** How should products be sorted in the catalog by default? */ - woocommerce_default_catalog_orderby?: IWoocommerceDefaultCatalogOrderbyEnum[]; - /** Controls the display of the phone field in checkout. */ - woocommerce_checkout_phone_field?: IWoocommerceCheckoutPhoneFieldEnum[]; - /** Controls the display of the company field in checkout. */ - woocommerce_checkout_company_field?: IWoocommerceCheckoutCompanyFieldEnum[]; - /** Controls the display of the apartment (address_2) field in checkout. */ - woocommerce_checkout_address_2_field?: IWoocommerceCheckoutAddress2FieldEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/settings`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags settings - * @name V2SettingsUpdate - * @request PUT:/wp/v2/settings - * @secure - */ - v2SettingsUpdate: ( - query?: { - /** Site title. */ - title?: string; - /** Site tagline. */ - description?: string; - /** - * Site URL. - * @format uri - */ - url?: string; - /** - * This address is used for admin purposes, like new user notification. - * @format email - */ - email?: string; - /** A city in the same timezone as you. */ - timezone?: string; - /** A date format for all date strings. */ - date_format?: string; - /** A time format for all time strings. */ - time_format?: string; - /** - * A day number of the week that the week should start on. - * @format int64 - */ - start_of_week?: number; - /** WordPress locale code. */ - language?: string; - /** Convert emoticons like :-) and :-P to graphics on display. */ - use_smilies?: boolean; - /** - * Default post category. - * @format int64 - */ - default_category?: number; - /** Default post format. */ - default_post_format?: string; - /** - * Blog pages show at most. - * @format int64 - */ - posts_per_page?: number; - /** What to show on the front page */ - show_on_front?: string; - /** - * The ID of the page that should be displayed on the front page - * @format int64 - */ - page_on_front?: number; - /** - * The ID of the page that should display the latest posts - * @format int64 - */ - page_for_posts?: number; - /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ - default_ping_status?: IV2SettingsUpdateParamsDefaultPingStatusEnum[]; - /** Allow people to submit comments on new posts. */ - default_comment_status?: IV2SettingsUpdateParamsDefaultCommentStatusEnum[]; - /** - * Site logo. - * @format int64 - */ - site_logo?: number; - /** - * Site icon. - * @format int64 - */ - site_icon?: number; - /** WooCommerce Local Pickup Method Settings */ - pickup_location_settings?: string; - /** WooCommerce Local Pickup Locations */ - pickup_locations?: object[]; - /** How should products be sorted in the catalog by default? */ - woocommerce_default_catalog_orderby?: IV2SettingsUpdateParamsWoocommerceDefaultCatalogOrderbyEnum[]; - /** Controls the display of the phone field in checkout. */ - woocommerce_checkout_phone_field?: IV2SettingsUpdateParamsWoocommerceCheckoutPhoneFieldEnum[]; - /** Controls the display of the company field in checkout. */ - woocommerce_checkout_company_field?: IV2SettingsUpdateParamsWoocommerceCheckoutCompanyFieldEnum[]; - /** Controls the display of the apartment (address_2) field in checkout. */ - woocommerce_checkout_address_2_field?: IV2SettingsUpdateParamsWoocommerceCheckoutAddress2FieldEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/settings`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags settings - * @name V2SettingsPartialUpdate - * @request PATCH:/wp/v2/settings - * @secure - */ - v2SettingsPartialUpdate: ( - query?: { - /** Site title. */ - title?: string; - /** Site tagline. */ - description?: string; - /** - * Site URL. - * @format uri - */ - url?: string; - /** - * This address is used for admin purposes, like new user notification. - * @format email - */ - email?: string; - /** A city in the same timezone as you. */ - timezone?: string; - /** A date format for all date strings. */ - date_format?: string; - /** A time format for all time strings. */ - time_format?: string; - /** - * A day number of the week that the week should start on. - * @format int64 - */ - start_of_week?: number; - /** WordPress locale code. */ - language?: string; - /** Convert emoticons like :-) and :-P to graphics on display. */ - use_smilies?: boolean; - /** - * Default post category. - * @format int64 - */ - default_category?: number; - /** Default post format. */ - default_post_format?: string; - /** - * Blog pages show at most. - * @format int64 - */ - posts_per_page?: number; - /** What to show on the front page */ - show_on_front?: string; - /** - * The ID of the page that should be displayed on the front page - * @format int64 - */ - page_on_front?: number; - /** - * The ID of the page that should display the latest posts - * @format int64 - */ - page_for_posts?: number; - /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ - default_ping_status?: IV2SettingsPartialUpdateParamsDefaultPingStatusEnum[]; - /** Allow people to submit comments on new posts. */ - default_comment_status?: IV2SettingsPartialUpdateParamsDefaultCommentStatusEnum[]; - /** - * Site logo. - * @format int64 - */ - site_logo?: number; - /** - * Site icon. - * @format int64 - */ - site_icon?: number; - /** WooCommerce Local Pickup Method Settings */ - pickup_location_settings?: string; - /** WooCommerce Local Pickup Locations */ - pickup_locations?: object[]; - /** How should products be sorted in the catalog by default? */ - woocommerce_default_catalog_orderby?: IV2SettingsPartialUpdateParamsWoocommerceDefaultCatalogOrderbyEnum[]; - /** Controls the display of the phone field in checkout. */ - woocommerce_checkout_phone_field?: IV2SettingsPartialUpdateParamsWoocommerceCheckoutPhoneFieldEnum[]; - /** Controls the display of the company field in checkout. */ - woocommerce_checkout_company_field?: IV2SettingsPartialUpdateParamsWoocommerceCheckoutCompanyFieldEnum[]; - /** Controls the display of the apartment (address_2) field in checkout. */ - woocommerce_checkout_address_2_field?: IV2SettingsPartialUpdateParamsWoocommerceCheckoutAddress2FieldEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/settings`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags themes - * @name V2ThemesList - * @request GET:/wp/v2/themes - * @secure - */ - v2ThemesList: ( - query?: { - /** Limit result set to themes assigned one or more statuses. */ - status?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/themes`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags themes - * @name V2ThemesDetail - * @request GET:/wp/v2/themes/{stylesheet} - * @secure - */ - v2ThemesDetail: (stylesheet: string, params: RequestParams = {}) => - this.request({ - path: `/wp/v2/themes/${stylesheet}`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsList - * @request GET:/wp/v2/plugins - * @secure - */ - v2PluginsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PluginsListParamsContextEnum[]; - /** Limit results to those matching a string. */ - search?: string; - /** Limits results to plugins with the given status. */ - status?: string[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsCreate - * @request POST:/wp/v2/plugins - * @secure - */ - v2PluginsCreate: ( - data: { - /** WordPress.org plugin directory slug. */ - slug: string; - /** The plugin activation status. */ - status?: IStatusEnum26[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsDetail - * @request GET:/wp/v2/plugins/{plugin} - * @secure - */ - v2PluginsDetail: ( - plugin: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PluginsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins/${plugin}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsCreate2 - * @request POST:/wp/v2/plugins/{plugin} - * @originalName v2PluginsCreate - * @duplicate - * @secure - */ - v2PluginsCreate2: ( - plugin: string, - data: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IContextEnum1[]; - /** The plugin activation status. */ - status?: IStatusEnum27[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins/${plugin}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsUpdate - * @request PUT:/wp/v2/plugins/{plugin} - * @secure - */ - v2PluginsUpdate: ( - plugin: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PluginsUpdateParamsContextEnum[]; - /** The plugin activation status. */ - status?: IV2PluginsUpdateParamsStatusEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins/${plugin}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsPartialUpdate - * @request PATCH:/wp/v2/plugins/{plugin} - * @secure - */ - v2PluginsPartialUpdate: ( - plugin: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PluginsPartialUpdateParamsContextEnum[]; - /** The plugin activation status. */ - status?: IV2PluginsPartialUpdateParamsStatusEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins/${plugin}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags plugins - * @name V2PluginsDelete - * @request DELETE:/wp/v2/plugins/{plugin} - * @secure - */ - v2PluginsDelete: ( - plugin: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PluginsDeleteParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/plugins/${plugin}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags sidebars - * @name V2SidebarsList - * @request GET:/wp/v2/sidebars - * @secure - */ - v2SidebarsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2SidebarsListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/sidebars`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags sidebars - * @name V2SidebarsDetail - * @request GET:/wp/v2/sidebars/{id} - * @secure - */ - v2SidebarsDetail: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2SidebarsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/sidebars/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags sidebars - * @name V2SidebarsCreate - * @request POST:/wp/v2/sidebars/{id} - * @secure - */ - v2SidebarsCreate: ( - id: string, - data: { - /** Nested widgets. */ - widgets?: (object | string)[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/sidebars/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags sidebars - * @name V2SidebarsUpdate - * @request PUT:/wp/v2/sidebars/{id} - * @secure - */ - v2SidebarsUpdate: ( - id: string, - query?: { - /** Nested widgets. */ - widgets?: (object | string)[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/sidebars/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags sidebars - * @name V2SidebarsPartialUpdate - * @request PATCH:/wp/v2/sidebars/{id} - * @secure - */ - v2SidebarsPartialUpdate: ( - id: string, - query?: { - /** Nested widgets. */ - widgets?: (object | string)[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/sidebars/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widget-types - * @name V2WidgetTypesList - * @request GET:/wp/v2/widget-types - * @secure - */ - v2WidgetTypesList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WidgetTypesListParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widget-types`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widget-types - * @name V2WidgetTypesDetail - * @request GET:/wp/v2/widget-types/{id} - * @secure - */ - v2WidgetTypesDetail: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WidgetTypesDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widget-types/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widget-types - * @name V2WidgetTypesEncodeCreate - * @request POST:/wp/v2/widget-types/{id}/encode - * @secure - */ - v2WidgetTypesEncodeCreate: ( - id: string, - data: { - /** Current instance settings of the widget. */ - instance?: string; - /** Serialized widget form data to encode into instance settings. */ - form_data?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widget-types/${id}/encode`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags widget-types - * @name V2WidgetTypesRenderCreate - * @request POST:/wp/v2/widget-types/{id}/render - * @secure - */ - v2WidgetTypesRenderCreate: ( - id: string, - data: { - /** Current instance settings of the widget. */ - instance?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widget-types/${id}/render`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsList - * @request GET:/wp/v2/widgets - * @secure - */ - v2WidgetsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WidgetsListParamsContextEnum[]; - /** The sidebar to return widgets for. */ - sidebar?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsCreate - * @request POST:/wp/v2/widgets - * @secure - */ - v2WidgetsCreate: ( - data: { - /** Unique identifier for the widget. */ - id?: string; - /** The type of the widget. Corresponds to ID in widget-types endpoint. */ - id_base?: string; - /** The sidebar the widget belongs to. */ - sidebar: string; - /** Instance settings of the widget, if supported. */ - instance?: string; - /** URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. */ - form_data?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets`, - method: "POST", - body: data, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsDetail - * @request GET:/wp/v2/widgets/{id} - * @secure - */ - v2WidgetsDetail: ( - id: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2WidgetsDetailParamsContextEnum[]; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets/${id}`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsCreate2 - * @request POST:/wp/v2/widgets/{id} - * @originalName v2WidgetsCreate - * @duplicate - * @secure - */ - v2WidgetsCreate2: ( - id: string, - data: { - /** The type of the widget. Corresponds to ID in widget-types endpoint. */ - id_base?: string; - /** The sidebar the widget belongs to. */ - sidebar?: string; - /** Instance settings of the widget, if supported. */ - instance?: string; - /** URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. */ - form_data?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets/${id}`, - method: "POST", - body: data, - secure: true, - type: ContentType.FormData, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsUpdate - * @request PUT:/wp/v2/widgets/{id} - * @secure - */ - v2WidgetsUpdate: ( - id: string, - query?: { - /** The type of the widget. Corresponds to ID in widget-types endpoint. */ - id_base?: string; - /** The sidebar the widget belongs to. */ - sidebar?: string; - /** Instance settings of the widget, if supported. */ - instance?: string; - /** URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. */ - form_data?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets/${id}`, - method: "PUT", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsPartialUpdate - * @request PATCH:/wp/v2/widgets/{id} - * @secure - */ - v2WidgetsPartialUpdate: ( - id: string, - query?: { - /** The type of the widget. Corresponds to ID in widget-types endpoint. */ - id_base?: string; - /** The sidebar the widget belongs to. */ - sidebar?: string; - /** Instance settings of the widget, if supported. */ - instance?: string; - /** URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. */ - form_data?: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets/${id}`, - method: "PATCH", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags widgets - * @name V2WidgetsDelete - * @request DELETE:/wp/v2/widgets/{id} - * @secure - */ - v2WidgetsDelete: ( - id: string, - query?: { - /** Whether to force removal of the widget, or move it to the inactive sidebar. */ - force?: boolean; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/widgets/${id}`, - method: "DELETE", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags block-directory - * @name V2BlockDirectorySearchList - * @request GET:/wp/v2/block-directory/search - * @secure - */ - v2BlockDirectorySearchList: ( - query: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2BlockDirectorySearchListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit result set to blocks matching the search term. */ - term: string; - }, - params: RequestParams = {}, - ) => - this.request({ - path: `/wp/v2/block-directory/search`, - method: "GET", - query: query, - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags pattern-directory - * @name V2PatternDirectoryPatternsList - * @request GET:/wp/v2/pattern-directory/patterns - * @secure - */ - v2PatternDirectoryPatternsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2PatternDirectoryPatternsListParamsContextEnum[]; - /** - * Current page of the collection. - * @format int64 - * @min 1 - */ - page?: number; - /** - * Maximum number of items to be returned in result set. - * @format int64 - * @min 1 - * @max 100 - */ - per_page?: number; - /** Limit results to those matching a string. */ - search?: string; - /** - * Limit results to those matching a category ID. - * @format int64 - * @min 1 - */ - category?: number; - /** - * Limit results to those matching a keyword ID. - * @format int64 - * @min 1 - */ - keyword?: number; - /** Limit results to those matching a pattern (slug). */ - slug?: any[]; /** * Offset the result set by a specific number of items. * @format int64 */ offset?: number; /** Order sort attribute ascending or descending. */ - order?: IV2PatternDirectoryPatternsListParamsOrderEnum[]; - /** Sort collection by post attribute. */ - orderby?: IV2PatternDirectoryPatternsListParamsOrderbyEnum[]; + order?: IV1OrdersListParamsOrderEnum[]; + /** Sort collection by object attribute. */ + orderby?: IV1OrdersListParamsOrderbyEnum[]; + /** Use WP Query arguments to modify the response; private query vars require appropriate authorization. */ + filter?: string; + /** Limit result set to orders assigned a specific status. */ + status?: IV1OrdersListParamsStatusEnum[]; + /** + * Limit result set to orders assigned a specific customer. + * @format int64 + */ + customer?: number; + /** + * Limit result set to orders assigned a specific product. + * @format int64 + */ + product?: number; + /** + * Number of decimal points to use in each resource. + * @format int64 + */ + dp?: number; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/pattern-directory/patterns`, + path: `/wc/v1/orders`, method: "GET", query: query, secure: true, @@ -12360,54 +3821,81 @@ export class Api< /** * No description * - * @tags block-patterns - * @name V2BlockPatternsPatternsList - * @request GET:/wp/v2/block-patterns/patterns + * @tags orders + * @name V1OrdersCreate + * @request POST:/wc/v1/orders * @secure */ - v2BlockPatternsPatternsList: (params: RequestParams = {}) => - this.request({ - path: `/wp/v2/block-patterns/patterns`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags block-patterns - * @name V2BlockPatternsCategoriesList - * @request GET:/wp/v2/block-patterns/categories - * @secure - */ - v2BlockPatternsCategoriesList: (params: RequestParams = {}) => - this.request({ - path: `/wp/v2/block-patterns/categories`, - method: "GET", - secure: true, - type: ContentType.UrlEncoded, - ...params, - }), - - /** - * No description - * - * @tags menu-locations - * @name V2MenuLocationsList - * @request GET:/wp/v2/menu-locations - * @secure - */ - v2MenuLocationsList: ( - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuLocationsListParamsContextEnum[]; + v1OrdersCreate: ( + data: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IStatusEnum[]; + /** Currency the order was created with, in ISO format. */ + currency?: ICurrencyEnum[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/menu-locations`, + path: `/wc/v1/orders`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersDetail2 + * @request GET:/wc/v1/orders/{id} + * @originalName v1OrdersDetail + * @duplicate + * @secure + */ + v1OrdersDetail2: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1OrdersDetail2ParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${id}`, method: "GET", query: query, secure: true, @@ -12418,22 +3906,117 @@ export class Api< /** * No description * - * @tags menu-locations - * @name V2MenuLocationsDetail - * @request GET:/wp/v2/menu-locations/{location} + * @tags orders + * @name V1OrdersCreate2 + * @request POST:/wc/v1/orders/{id} + * @originalName v1OrdersCreate + * @duplicate * @secure */ - v2MenuLocationsDetail: ( - location: string, - query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2MenuLocationsDetailParamsContextEnum[]; + v1OrdersCreate2: ( + id: number, + data: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IStatusEnum1[]; + /** Currency the order was created with, in ISO format. */ + currency?: ICurrencyEnum1[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/menu-locations/${location}`, - method: "GET", + path: `/wc/v1/orders/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersUpdate + * @request PUT:/wc/v1/orders/{id} + * @secure + */ + v1OrdersUpdate: ( + id: number, + query?: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IV1OrdersUpdateParamsStatusEnum[]; + /** Currency the order was created with, in ISO format. */ + currency?: IV1OrdersUpdateParamsCurrencyEnum[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${id}`, + method: "PUT", query: query, secure: true, type: ContentType.UrlEncoded, @@ -12443,15 +4026,276 @@ export class Api< /** * No description * - * @tags font-collections - * @name V2FontCollectionsList - * @request GET:/wp/v2/font-collections + * @tags orders + * @name V1OrdersPartialUpdate + * @request PATCH:/wc/v1/orders/{id} * @secure */ - v2FontCollectionsList: ( + v1OrdersPartialUpdate: ( + id: number, + query?: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IV1OrdersPartialUpdateParamsStatusEnum[]; + /** Currency the order was created with, in ISO format. */ + currency?: IV1OrdersPartialUpdateParamsCurrencyEnum[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersDelete2 + * @request DELETE:/wc/v1/orders/{id} + * @originalName v1OrdersDelete + * @duplicate + * @secure + */ + v1OrdersDelete2: ( + id: number, + query?: { + /** Whether to bypass trash and force deletion. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersBatchCreate + * @request POST:/wc/v1/orders/batch + * @secure + */ + v1OrdersBatchCreate: ( + data: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IStatusEnum2[]; + /** Currency the order was created with, in ISO format. */ + currency?: ICurrencyEnum2[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersBatchUpdate + * @request PUT:/wc/v1/orders/batch + * @secure + */ + v1OrdersBatchUpdate: ( + query?: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IV1OrdersBatchUpdateParamsStatusEnum[]; + /** Currency the order was created with, in ISO format. */ + currency?: IV1OrdersBatchUpdateParamsCurrencyEnum[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags orders + * @name V1OrdersBatchPartialUpdate + * @request PATCH:/wc/v1/orders/batch + * @secure + */ + v1OrdersBatchPartialUpdate: ( + query?: { + /** + * Parent order ID. + * @format int64 + */ + parent_id?: number; + /** Order status. */ + status?: IV1OrdersBatchPartialUpdateParamsStatusEnum[]; + /** Currency the order was created with, in ISO format. */ + currency?: IV1OrdersBatchPartialUpdateParamsCurrencyEnum[]; + /** + * User ID who owns the order. 0 for guests. + * @format int64 + */ + customer_id?: number; + /** Billing address. */ + billing?: string; + /** Shipping address. */ + shipping?: string; + /** Payment method ID. */ + payment_method?: string; + /** Payment method title. */ + payment_method_title?: string; + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + set_paid?: boolean; + /** Unique transaction ID. */ + transaction_id?: string; + /** Note left by customer during checkout. */ + customer_note?: string; + /** Line items data. */ + line_items?: object[]; + /** Shipping lines data. */ + shipping_lines?: object[]; + /** Fee lines data. */ + fee_lines?: object[]; + /** Coupons line data. */ + coupon_lines?: object[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/orders/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesTermsList + * @request GET:/wc/v1/products/attributes/{attribute_id}/terms + * @secure + */ + v1ProductsAttributesTermsList: ( + attributeId: number, query?: { /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontCollectionsListParamsContextEnum[]; + context?: IV1ProductsAttributesTermsListParamsContextEnum[]; /** * Current page of the collection. * @format int64 @@ -12465,11 +4309,40 @@ export class Api< * @max 100 */ per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. Applies to hierarchical taxonomies only. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1ProductsAttributesTermsListParamsOrderEnum[]; + /** Sort collection by resource attribute. */ + orderby?: IV1ProductsAttributesTermsListParamsOrderbyEnum[]; + /** Whether to hide resources not assigned to any products. */ + hide_empty?: boolean; + /** + * Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only. + * @format int64 + */ + parent?: number; + /** + * Limit result set to resources assigned to a specific product. + * @format int64 + */ + product?: number; + /** Limit result set to resources with a specific slug. */ + slug?: string; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/font-collections`, + path: `/wc/v1/products/attributes/${attributeId}/terms`, method: "GET", query: query, secure: true, @@ -12480,21 +4353,3964 @@ export class Api< /** * No description * - * @tags font-collections - * @name V2FontCollectionsDetail - * @request GET:/wp/v2/font-collections/{slug} + * @tags products + * @name V1ProductsAttributesTermsCreate + * @request POST:/wc/v1/products/attributes/{attribute_id}/terms * @secure */ - v2FontCollectionsDetail: ( + v1ProductsAttributesTermsCreate: ( + attributeId: number, + data: { + /** Name for the resource. */ + name: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}/terms`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesDetail + * @request GET:/wc/v1/products/attributes/{attribute_id} + * @secure + */ + v1ProductsAttributesDetail: ( + attributeId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsAttributesDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesCreate + * @request POST:/wc/v1/products/attributes/{attribute_id} + * @secure + */ + v1ProductsAttributesCreate: ( + attributeId: number, + data: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesUpdate + * @request PUT:/wc/v1/products/attributes/{attribute_id} + * @secure + */ + v1ProductsAttributesUpdate: ( + attributeId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesPartialUpdate + * @request PATCH:/wc/v1/products/attributes/{attribute_id} + * @secure + */ + v1ProductsAttributesPartialUpdate: ( + attributeId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesDelete + * @request DELETE:/wc/v1/products/attributes/{attribute_id} + * @secure + */ + v1ProductsAttributesDelete: ( + attributeId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesTermsBatchCreate + * @request POST:/wc/v1/products/attributes/{attribute_id}/terms/batch + * @secure + */ + v1ProductsAttributesTermsBatchCreate: ( + attributeId: number, + data: { + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}/terms/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesTermsBatchUpdate + * @request PUT:/wc/v1/products/attributes/{attribute_id}/terms/batch + * @secure + */ + v1ProductsAttributesTermsBatchUpdate: ( + attributeId: number, + query?: { + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}/terms/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesTermsBatchPartialUpdate + * @request PATCH:/wc/v1/products/attributes/{attribute_id}/terms/batch + * @secure + */ + v1ProductsAttributesTermsBatchPartialUpdate: ( + attributeId: number, + query?: { + /** Term name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${attributeId}/terms/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesList + * @request GET:/wc/v1/products/attributes + * @secure + */ + v1ProductsAttributesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsAttributesListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesCreate2 + * @request POST:/wc/v1/products/attributes + * @originalName v1ProductsAttributesCreate + * @duplicate + * @secure + */ + v1ProductsAttributesCreate2: ( + data: { + /** Name for the resource. */ + name: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: ITypeEnum[]; + /** Default sort order. */ + order_by?: IOrderByEnum[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesDetail2 + * @request GET:/wc/v1/products/attributes/{id} + * @originalName v1ProductsAttributesDetail + * @duplicate + * @secure + */ + v1ProductsAttributesDetail2: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsAttributesDetail2ParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesCreate3 + * @request POST:/wc/v1/products/attributes/{id} + * @originalName v1ProductsAttributesCreate + * @duplicate + * @secure + */ + v1ProductsAttributesCreate3: ( + id: number, + data: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: ITypeEnum1[]; + /** Default sort order. */ + order_by?: IOrderByEnum1[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesUpdate2 + * @request PUT:/wc/v1/products/attributes/{id} + * @originalName v1ProductsAttributesUpdate + * @duplicate + * @secure + */ + v1ProductsAttributesUpdate2: ( + id: number, + query?: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: IV1ProductsAttributesUpdate2ParamsTypeEnum[]; + /** Default sort order. */ + order_by?: IV1ProductsAttributesUpdate2ParamsOrderByEnum[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesPartialUpdate2 + * @request PATCH:/wc/v1/products/attributes/{id} + * @originalName v1ProductsAttributesPartialUpdate + * @duplicate + * @secure + */ + v1ProductsAttributesPartialUpdate2: ( + id: number, + query?: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: IV1ProductsAttributesPartialUpdate2ParamsTypeEnum[]; + /** Default sort order. */ + order_by?: IV1ProductsAttributesPartialUpdate2ParamsOrderByEnum[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesDelete2 + * @request DELETE:/wc/v1/products/attributes/{id} + * @originalName v1ProductsAttributesDelete + * @duplicate + * @secure + */ + v1ProductsAttributesDelete2: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesBatchCreate + * @request POST:/wc/v1/products/attributes/batch + * @secure + */ + v1ProductsAttributesBatchCreate: ( + data: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: ITypeEnum2[]; + /** Default sort order. */ + order_by?: IOrderByEnum2[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesBatchUpdate + * @request PUT:/wc/v1/products/attributes/batch + * @secure + */ + v1ProductsAttributesBatchUpdate: ( + query?: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: IV1ProductsAttributesBatchUpdateParamsTypeEnum[]; + /** Default sort order. */ + order_by?: IV1ProductsAttributesBatchUpdateParamsOrderByEnum[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsAttributesBatchPartialUpdate + * @request PATCH:/wc/v1/products/attributes/batch + * @secure + */ + v1ProductsAttributesBatchPartialUpdate: ( + query?: { + /** Attribute name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** Type of attribute. */ + type?: IV1ProductsAttributesBatchPartialUpdateParamsTypeEnum[]; + /** Default sort order. */ + order_by?: IV1ProductsAttributesBatchPartialUpdateParamsOrderByEnum[]; + /** Enable/Disable attribute archives. */ + has_archives?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/attributes/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesList + * @request GET:/wc/v1/products/categories + * @secure + */ + v1ProductsCategoriesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsCategoriesListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. Applies to hierarchical taxonomies only. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1ProductsCategoriesListParamsOrderEnum[]; + /** Sort collection by resource attribute. */ + orderby?: IV1ProductsCategoriesListParamsOrderbyEnum[]; + /** Whether to hide resources not assigned to any products. */ + hide_empty?: boolean; + /** + * Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only. + * @format int64 + */ + parent?: number; + /** + * Limit result set to resources assigned to a specific product. + * @format int64 + */ + product?: number; + /** Limit result set to resources with a specific slug. */ + slug?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesCreate + * @request POST:/wc/v1/products/categories + * @secure + */ + v1ProductsCategoriesCreate: ( + data: { + /** Name for the resource. */ + name: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IDisplayEnum[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesDetail + * @request GET:/wc/v1/products/categories/{id} + * @secure + */ + v1ProductsCategoriesDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsCategoriesDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesCreate2 + * @request POST:/wc/v1/products/categories/{id} + * @originalName v1ProductsCategoriesCreate + * @duplicate + * @secure + */ + v1ProductsCategoriesCreate2: ( + id: number, + data: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IDisplayEnum1[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesUpdate + * @request PUT:/wc/v1/products/categories/{id} + * @secure + */ + v1ProductsCategoriesUpdate: ( + id: number, + query?: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IV1ProductsCategoriesUpdateParamsDisplayEnum[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesPartialUpdate + * @request PATCH:/wc/v1/products/categories/{id} + * @secure + */ + v1ProductsCategoriesPartialUpdate: ( + id: number, + query?: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IV1ProductsCategoriesPartialUpdateParamsDisplayEnum[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesDelete + * @request DELETE:/wc/v1/products/categories/{id} + * @secure + */ + v1ProductsCategoriesDelete: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesBatchCreate + * @request POST:/wc/v1/products/categories/batch + * @secure + */ + v1ProductsCategoriesBatchCreate: ( + data: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IDisplayEnum2[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesBatchUpdate + * @request PUT:/wc/v1/products/categories/batch + * @secure + */ + v1ProductsCategoriesBatchUpdate: ( + query?: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IV1ProductsCategoriesBatchUpdateParamsDisplayEnum[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCategoriesBatchPartialUpdate + * @request PATCH:/wc/v1/products/categories/batch + * @secure + */ + v1ProductsCategoriesBatchPartialUpdate: ( + query?: { + /** Category name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** + * The ID for the parent of the resource. + * @format int64 + */ + parent?: number; + /** HTML description of the resource. */ + description?: string; + /** Category archive display type. */ + display?: IV1ProductsCategoriesBatchPartialUpdateParamsDisplayEnum[]; + /** Image data. */ + image?: string; + /** + * Menu order, used to custom sort the resource. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/categories/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsReviewsList + * @request GET:/wc/v1/products/{product_id}/reviews + * @secure + */ + v1ProductsReviewsList: ( + productId: number, + query?: { + /** + * Unique identifier for the variation. + * @format int64 + */ + id?: number; + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsReviewsListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}/reviews`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsReviewsCreate + * @request POST:/wc/v1/products/{product_id}/reviews + * @secure + */ + v1ProductsReviewsCreate: ( + productId: number, + data: { + /** + * Unique identifier for the variation. + * @format int64 + */ + id?: number; + /** Review content. */ + review: string; + /** The date the review was created, in the site's timezone. */ + date_created?: null; + /** + * Review rating (0 to 5). + * @format int64 + */ + rating?: number; + /** Name of the reviewer. */ + name: string; + /** Email of the reviewer. */ + email: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}/reviews`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsDetail + * @request GET:/wc/v1/products/{product_id} + * @secure + */ + v1ProductsDetail: ( + productId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCreate + * @request POST:/wc/v1/products/{product_id} + * @secure + */ + v1ProductsCreate: ( + productId: number, + data: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** The content of the review. */ + review?: string; + /** The date the review was created, in the site's timezone. */ + date_created?: null; + /** + * Review rating (0 to 5). + * @format int64 + */ + rating?: number; + /** Reviewer name. */ + name?: string; + /** Reviewer email. */ + email?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsUpdate + * @request PUT:/wc/v1/products/{product_id} + * @secure + */ + v1ProductsUpdate: ( + productId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** The content of the review. */ + review?: string; + /** The date the review was created, in the site's timezone. */ + date_created?: any; + /** + * Review rating (0 to 5). + * @format int64 + */ + rating?: number; + /** Reviewer name. */ + name?: string; + /** Reviewer email. */ + email?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsPartialUpdate + * @request PATCH:/wc/v1/products/{product_id} + * @secure + */ + v1ProductsPartialUpdate: ( + productId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** The content of the review. */ + review?: string; + /** The date the review was created, in the site's timezone. */ + date_created?: any; + /** + * Review rating (0 to 5). + * @format int64 + */ + rating?: number; + /** Reviewer name. */ + name?: string; + /** Reviewer email. */ + email?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsDelete + * @request DELETE:/wc/v1/products/{product_id} + * @secure + */ + v1ProductsDelete: ( + productId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Whether to bypass trash and force deletion. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${productId}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesList + * @request GET:/wc/v1/products/shipping_classes + * @secure + */ + v1ProductsShippingClassesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsShippingClassesListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. Applies to hierarchical taxonomies only. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1ProductsShippingClassesListParamsOrderEnum[]; + /** Sort collection by resource attribute. */ + orderby?: IV1ProductsShippingClassesListParamsOrderbyEnum[]; + /** Whether to hide resources not assigned to any products. */ + hide_empty?: boolean; + /** + * Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only. + * @format int64 + */ + parent?: number; + /** + * Limit result set to resources assigned to a specific product. + * @format int64 + */ + product?: number; + /** Limit result set to resources with a specific slug. */ + slug?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesCreate + * @request POST:/wc/v1/products/shipping_classes + * @secure + */ + v1ProductsShippingClassesCreate: ( + data: { + /** Name for the resource. */ + name: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesDetail + * @request GET:/wc/v1/products/shipping_classes/{id} + * @secure + */ + v1ProductsShippingClassesDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsShippingClassesDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesCreate2 + * @request POST:/wc/v1/products/shipping_classes/{id} + * @originalName v1ProductsShippingClassesCreate + * @duplicate + * @secure + */ + v1ProductsShippingClassesCreate2: ( + id: number, + data: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesUpdate + * @request PUT:/wc/v1/products/shipping_classes/{id} + * @secure + */ + v1ProductsShippingClassesUpdate: ( + id: number, + query?: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesPartialUpdate + * @request PATCH:/wc/v1/products/shipping_classes/{id} + * @secure + */ + v1ProductsShippingClassesPartialUpdate: ( + id: number, + query?: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesDelete + * @request DELETE:/wc/v1/products/shipping_classes/{id} + * @secure + */ + v1ProductsShippingClassesDelete: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesBatchCreate + * @request POST:/wc/v1/products/shipping_classes/batch + * @secure + */ + v1ProductsShippingClassesBatchCreate: ( + data: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesBatchUpdate + * @request PUT:/wc/v1/products/shipping_classes/batch + * @secure + */ + v1ProductsShippingClassesBatchUpdate: ( + query?: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsShippingClassesBatchPartialUpdate + * @request PATCH:/wc/v1/products/shipping_classes/batch + * @secure + */ + v1ProductsShippingClassesBatchPartialUpdate: ( + query?: { + /** Shipping class name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/shipping_classes/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsList + * @request GET:/wc/v1/products/tags + * @secure + */ + v1ProductsTagsList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsTagsListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. Applies to hierarchical taxonomies only. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1ProductsTagsListParamsOrderEnum[]; + /** Sort collection by resource attribute. */ + orderby?: IV1ProductsTagsListParamsOrderbyEnum[]; + /** Whether to hide resources not assigned to any products. */ + hide_empty?: boolean; + /** + * Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only. + * @format int64 + */ + parent?: number; + /** + * Limit result set to resources assigned to a specific product. + * @format int64 + */ + product?: number; + /** Limit result set to resources with a specific slug. */ + slug?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsCreate + * @request POST:/wc/v1/products/tags + * @secure + */ + v1ProductsTagsCreate: ( + data: { + /** Name for the resource. */ + name: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsDetail + * @request GET:/wc/v1/products/tags/{id} + * @secure + */ + v1ProductsTagsDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsTagsDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsCreate2 + * @request POST:/wc/v1/products/tags/{id} + * @originalName v1ProductsTagsCreate + * @duplicate + * @secure + */ + v1ProductsTagsCreate2: ( + id: number, + data: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsUpdate + * @request PUT:/wc/v1/products/tags/{id} + * @secure + */ + v1ProductsTagsUpdate: ( + id: number, + query?: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsPartialUpdate + * @request PATCH:/wc/v1/products/tags/{id} + * @secure + */ + v1ProductsTagsPartialUpdate: ( + id: number, + query?: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsDelete + * @request DELETE:/wc/v1/products/tags/{id} + * @secure + */ + v1ProductsTagsDelete: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsBatchCreate + * @request POST:/wc/v1/products/tags/batch + * @secure + */ + v1ProductsTagsBatchCreate: ( + data: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsBatchUpdate + * @request PUT:/wc/v1/products/tags/batch + * @secure + */ + v1ProductsTagsBatchUpdate: ( + query?: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsTagsBatchPartialUpdate + * @request PATCH:/wc/v1/products/tags/batch + * @secure + */ + v1ProductsTagsBatchPartialUpdate: ( + query?: { + /** Tag name. */ + name?: string; + /** An alphanumeric identifier for the resource unique to its type. */ + slug?: string; + /** HTML description of the resource. */ + description?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/tags/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsList + * @request GET:/wc/v1/products + * @secure + */ + v1ProductsList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** + * Limit response to resources published after a given ISO8601 compliant date. + * @format date-time + */ + after?: string; + /** + * Limit response to resources published before a given ISO8601 compliant date. + * @format date-time + */ + before?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1ProductsListParamsOrderEnum[]; + /** Sort collection by object attribute. */ + orderby?: IV1ProductsListParamsOrderbyEnum[]; + /** Use WP Query arguments to modify the response; private query vars require appropriate authorization. */ + filter?: string; + /** Limit result set to products with a specific slug. */ + slug?: string; + /** Limit result set to products assigned a specific status. */ + status?: IV1ProductsListParamsStatusEnum[]; + /** Limit result set to products assigned a specific type. */ + type?: IV1ProductsListParamsTypeEnum[]; + /** Limit result set to products assigned a specific category ID. */ + category?: string; + /** Limit result set to products assigned a specific tag ID. */ + tag?: string; + /** Limit result set to products assigned a specific shipping class ID. */ + shipping_class?: string; + /** Limit result set to products with a specific attribute. */ + attribute?: string; + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attribute_term?: string; + /** Limit result set to products with a specific SKU. */ + sku?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCreate2 + * @request POST:/wc/v1/products + * @originalName v1ProductsCreate + * @duplicate + * @secure + */ + v1ProductsCreate2: ( + data: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: ITypeEnum3[]; + /** Product status (post status). */ + status?: IStatusEnum3[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: ICatalogVisibilityEnum[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IDownloadTypeEnum[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: ITaxStatusEnum[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IBackordersEnum[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsDetail2 + * @request GET:/wc/v1/products/{id} + * @originalName v1ProductsDetail + * @duplicate + * @secure + */ + v1ProductsDetail2: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ProductsDetail2ParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsCreate3 + * @request POST:/wc/v1/products/{id} + * @originalName v1ProductsCreate + * @duplicate + * @secure + */ + v1ProductsCreate3: ( + id: number, + data: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: ITypeEnum4[]; + /** Product status (post status). */ + status?: IStatusEnum4[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: ICatalogVisibilityEnum1[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IDownloadTypeEnum1[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: ITaxStatusEnum1[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IBackordersEnum1[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsUpdate2 + * @request PUT:/wc/v1/products/{id} + * @originalName v1ProductsUpdate + * @duplicate + * @secure + */ + v1ProductsUpdate2: ( + id: number, + query?: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: IV1ProductsUpdate2ParamsTypeEnum[]; + /** Product status (post status). */ + status?: IV1ProductsUpdate2ParamsStatusEnum[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: IV1ProductsUpdate2ParamsCatalogVisibilityEnum[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IV1ProductsUpdate2ParamsDownloadTypeEnum[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: IV1ProductsUpdate2ParamsTaxStatusEnum[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IV1ProductsUpdate2ParamsBackordersEnum[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsPartialUpdate2 + * @request PATCH:/wc/v1/products/{id} + * @originalName v1ProductsPartialUpdate + * @duplicate + * @secure + */ + v1ProductsPartialUpdate2: ( + id: number, + query?: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: IV1ProductsPartialUpdate2ParamsTypeEnum[]; + /** Product status (post status). */ + status?: IV1ProductsPartialUpdate2ParamsStatusEnum[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: IV1ProductsPartialUpdate2ParamsCatalogVisibilityEnum[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IV1ProductsPartialUpdate2ParamsDownloadTypeEnum[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: IV1ProductsPartialUpdate2ParamsTaxStatusEnum[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IV1ProductsPartialUpdate2ParamsBackordersEnum[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsDelete2 + * @request DELETE:/wc/v1/products/{id} + * @originalName v1ProductsDelete + * @duplicate + * @secure + */ + v1ProductsDelete2: ( + id: number, + query?: { + /** Whether to bypass trash and force deletion. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsBatchCreate + * @request POST:/wc/v1/products/batch + * @secure + */ + v1ProductsBatchCreate: ( + data: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: ITypeEnum5[]; + /** Product status (post status). */ + status?: IStatusEnum5[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: ICatalogVisibilityEnum2[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IDownloadTypeEnum2[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: ITaxStatusEnum2[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IBackordersEnum2[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsBatchUpdate + * @request PUT:/wc/v1/products/batch + * @secure + */ + v1ProductsBatchUpdate: ( + query?: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: IV1ProductsBatchUpdateParamsTypeEnum[]; + /** Product status (post status). */ + status?: IV1ProductsBatchUpdateParamsStatusEnum[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: IV1ProductsBatchUpdateParamsCatalogVisibilityEnum[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IV1ProductsBatchUpdateParamsDownloadTypeEnum[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: IV1ProductsBatchUpdateParamsTaxStatusEnum[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IV1ProductsBatchUpdateParamsBackordersEnum[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags products + * @name V1ProductsBatchPartialUpdate + * @request PATCH:/wc/v1/products/batch + * @secure + */ + v1ProductsBatchPartialUpdate: ( + query?: { + /** Product name. */ + name?: string; + /** Product slug. */ + slug?: string; + /** Product type. */ + type?: IV1ProductsBatchPartialUpdateParamsTypeEnum[]; + /** Product status (post status). */ + status?: IV1ProductsBatchPartialUpdateParamsStatusEnum[]; + /** Featured product. */ + featured?: boolean; + /** Catalog visibility. */ + catalog_visibility?: IV1ProductsBatchPartialUpdateParamsCatalogVisibilityEnum[]; + /** Product description. */ + description?: string; + /** Product short description. */ + short_description?: string; + /** Unique identifier. */ + sku?: string; + /** Product regular price. */ + regular_price?: string; + /** Product sale price. */ + sale_price?: string; + /** Start date of sale price. */ + date_on_sale_from?: string; + /** End date of sale price. */ + date_on_sale_to?: string; + /** If the product is virtual. */ + virtual?: boolean; + /** If the product is downloadable. */ + downloadable?: boolean; + /** List of downloadable files. */ + downloads?: object[]; + /** + * Number of times downloadable files can be downloaded after purchase. + * @format int64 + */ + download_limit?: number; + /** + * Number of days until access to downloadable files expires. + * @format int64 + */ + download_expiry?: number; + /** Download type, this controls the schema on the front-end. */ + download_type?: IV1ProductsBatchPartialUpdateParamsDownloadTypeEnum[]; + /** + * Product external URL. Only for external products. + * @format uri + */ + external_url?: string; + /** Product external button text. Only for external products. */ + button_text?: string; + /** Tax status. */ + tax_status?: IV1ProductsBatchPartialUpdateParamsTaxStatusEnum[]; + /** Tax class. */ + tax_class?: string; + /** Stock management at product level. */ + manage_stock?: boolean; + /** + * Stock quantity. + * @format int64 + */ + stock_quantity?: number; + /** Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. */ + in_stock?: boolean; + /** If managing stock, this controls if backorders are allowed. */ + backorders?: IV1ProductsBatchPartialUpdateParamsBackordersEnum[]; + /** Allow one item to be bought in a single order. */ + sold_individually?: boolean; + /** Product weight (kg). */ + weight?: string; + /** Product dimensions. */ + dimensions?: string; + /** Shipping class slug. */ + shipping_class?: string; + /** Allow reviews. */ + reviews_allowed?: boolean; + /** List of upsell products IDs. */ + upsell_ids?: number[]; + /** List of cross-sell products IDs. */ + cross_sell_ids?: number[]; + /** + * Product parent ID. + * @format int64 + */ + parent_id?: number; + /** Optional note to send the customer after purchase. */ + purchase_note?: string; + /** List of categories. */ + categories?: object[]; + /** List of tags. */ + tags?: object[]; + /** List of images. */ + images?: object[]; + /** List of attributes. */ + attributes?: object[]; + /** Defaults variation attributes. */ + default_attributes?: object[]; + /** List of variations. */ + variations?: object[]; + /** + * Menu order, used to custom sort products. + * @format int64 + */ + menu_order?: number; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/products/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags reports + * @name V1ReportsSalesList + * @request GET:/wc/v1/reports/sales + * @secure + */ + v1ReportsSalesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ReportsSalesListParamsContextEnum[]; + /** Report period. */ + period?: IV1ReportsSalesListParamsPeriodEnum[]; + /** + * Return sales for a specific start date, the date need to be in the YYYY-MM-DD format. + * @format date + */ + date_min?: string; + /** + * Return sales for a specific end date, the date need to be in the YYYY-MM-DD format. + * @format date + */ + date_max?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/reports/sales`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags reports + * @name V1ReportsTopSellersList + * @request GET:/wc/v1/reports/top_sellers + * @secure + */ + v1ReportsTopSellersList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ReportsTopSellersListParamsContextEnum[]; + /** Report period. */ + period?: IV1ReportsTopSellersListParamsPeriodEnum[]; + /** + * Return sales for a specific start date, the date need to be in the YYYY-MM-DD format. + * @format date + */ + date_min?: string; + /** + * Return sales for a specific end date, the date need to be in the YYYY-MM-DD format. + * @format date + */ + date_max?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/reports/top_sellers`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags reports + * @name V1ReportsList + * @request GET:/wc/v1/reports + * @secure + */ + v1ReportsList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1ReportsListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/reports`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesClassesList + * @request GET:/wc/v1/taxes/classes + * @secure + */ + v1TaxesClassesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1TaxesClassesListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/classes`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesClassesCreate + * @request POST:/wc/v1/taxes/classes + * @secure + */ + v1TaxesClassesCreate: ( + data: { + /** Tax class name. */ + name: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/classes`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesClassesDelete + * @request DELETE:/wc/v1/taxes/classes/{slug} + * @secure + */ + v1TaxesClassesDelete: ( slug: string, query?: { - /** Scope under which the request is made; determines fields present in response. */ - context?: IV2FontCollectionsDetailParamsContextEnum[]; + /** Required to be true, as resource does not support trashing. */ + force?: boolean; }, params: RequestParams = {}, ) => this.request({ - path: `/wp/v2/font-collections/${slug}`, + path: `/wc/v1/taxes/classes/${slug}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesList + * @request GET:/wc/v1/taxes + * @secure + */ + v1TaxesList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1TaxesListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** + * Offset the result set by a specific number of items. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1TaxesListParamsOrderEnum[]; + /** Sort collection by object attribute. */ + orderby?: IV1TaxesListParamsOrderbyEnum[]; + /** Sort by tax class. */ + class?: IV1TaxesListParamsClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesCreate + * @request POST:/wc/v1/taxes + * @secure + */ + v1TaxesCreate: ( + data: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesDetail + * @request GET:/wc/v1/taxes/{id} + * @secure + */ + v1TaxesDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1TaxesDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesCreate2 + * @request POST:/wc/v1/taxes/{id} + * @originalName v1TaxesCreate + * @duplicate + * @secure + */ + v1TaxesCreate2: ( + id: number, + data: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IClassEnum1[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesUpdate + * @request PUT:/wc/v1/taxes/{id} + * @secure + */ + v1TaxesUpdate: ( + id: number, + query?: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IV1TaxesUpdateParamsClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesPartialUpdate + * @request PATCH:/wc/v1/taxes/{id} + * @secure + */ + v1TaxesPartialUpdate: ( + id: number, + query?: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IV1TaxesPartialUpdateParamsClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesDelete + * @request DELETE:/wc/v1/taxes/{id} + * @secure + */ + v1TaxesDelete: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesBatchCreate + * @request POST:/wc/v1/taxes/batch + * @secure + */ + v1TaxesBatchCreate: ( + data: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IClassEnum2[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesBatchUpdate + * @request PUT:/wc/v1/taxes/batch + * @secure + */ + v1TaxesBatchUpdate: ( + query?: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IV1TaxesBatchUpdateParamsClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags taxes + * @name V1TaxesBatchPartialUpdate + * @request PATCH:/wc/v1/taxes/batch + * @secure + */ + v1TaxesBatchPartialUpdate: ( + query?: { + /** Country ISO 3166 code. */ + country?: string; + /** State code. */ + state?: string; + /** Postcode / ZIP. */ + postcode?: string; + /** City name. */ + city?: string; + /** Tax rate. */ + rate?: string; + /** Tax rate name. */ + name?: string; + /** + * Tax priority. + * @format int64 + */ + priority?: number; + /** Whether or not this is a compound rate. */ + compound?: boolean; + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: boolean; + /** + * Indicates the order that will appear in queries. + * @format int64 + */ + order?: number; + /** Tax class. */ + class?: IV1TaxesBatchPartialUpdateParamsClassEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/taxes/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksList + * @request GET:/wc/v1/webhooks + * @secure + */ + v1WebhooksList: ( + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1WebhooksListParamsContextEnum[]; + /** + * Current page of the collection. + * @format int64 + * @min 1 + */ + page?: number; + /** + * Maximum number of items to be returned in result set. + * @format int64 + * @min 1 + * @max 100 + */ + per_page?: number; + /** Limit results to those matching a string. */ + search?: string; + /** + * Limit response to resources published after a given ISO8601 compliant date. + * @format date-time + */ + after?: string; + /** + * Limit response to resources published before a given ISO8601 compliant date. + * @format date-time + */ + before?: string; + /** Ensure result set excludes specific IDs. */ + exclude?: number[]; + /** Limit result set to specific ids. */ + include?: number[]; + /** + * Offset the result set by a specific number of items. + * @format int64 + */ + offset?: number; + /** Order sort attribute ascending or descending. */ + order?: IV1WebhooksListParamsOrderEnum[]; + /** Sort collection by object attribute. */ + orderby?: IV1WebhooksListParamsOrderbyEnum[]; + /** Limit result set to webhooks assigned a specific status. */ + status?: IV1WebhooksListParamsStatusEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksCreate + * @request POST:/wc/v1/webhooks + * @secure + */ + v1WebhooksCreate: ( + data: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IStatusEnum6[]; + /** Webhook topic. */ + topic: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + /** Webhook delivery URL. */ + delivery_url: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksDetail + * @request GET:/wc/v1/webhooks/{id} + * @secure + */ + v1WebhooksDetail: ( + id: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1WebhooksDetailParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${id}`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksCreate2 + * @request POST:/wc/v1/webhooks/{id} + * @originalName v1WebhooksCreate + * @duplicate + * @secure + */ + v1WebhooksCreate2: ( + id: number, + data: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IStatusEnum7[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${id}`, + method: "POST", + body: data, + secure: true, + type: ContentType.FormData, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksUpdate + * @request PUT:/wc/v1/webhooks/{id} + * @secure + */ + v1WebhooksUpdate: ( + id: number, + query?: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IV1WebhooksUpdateParamsStatusEnum[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${id}`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksPartialUpdate + * @request PATCH:/wc/v1/webhooks/{id} + * @secure + */ + v1WebhooksPartialUpdate: ( + id: number, + query?: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IV1WebhooksPartialUpdateParamsStatusEnum[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${id}`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksDelete + * @request DELETE:/wc/v1/webhooks/{id} + * @secure + */ + v1WebhooksDelete: ( + id: number, + query?: { + /** Required to be true, as resource does not support trashing. */ + force?: boolean; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${id}`, + method: "DELETE", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksBatchCreate + * @request POST:/wc/v1/webhooks/batch + * @secure + */ + v1WebhooksBatchCreate: ( + data: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IStatusEnum8[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/batch`, + method: "POST", + body: data, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksBatchUpdate + * @request PUT:/wc/v1/webhooks/batch + * @secure + */ + v1WebhooksBatchUpdate: ( + query?: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IV1WebhooksBatchUpdateParamsStatusEnum[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/batch`, + method: "PUT", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksBatchPartialUpdate + * @request PATCH:/wc/v1/webhooks/batch + * @secure + */ + v1WebhooksBatchPartialUpdate: ( + query?: { + /** A friendly name for the webhook. */ + name?: string; + /** Webhook status. */ + status?: IV1WebhooksBatchPartialUpdateParamsStatusEnum[]; + /** Webhook topic. */ + topic?: string; + /** Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided. */ + secret?: string; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/batch`, + method: "PATCH", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksDeliveriesList + * @request GET:/wc/v1/webhooks/{webhook_id}/deliveries + * @secure + */ + v1WebhooksDeliveriesList: ( + webhookId: number, + query?: { + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1WebhooksDeliveriesListParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${webhookId}/deliveries`, + method: "GET", + query: query, + secure: true, + type: ContentType.UrlEncoded, + ...params, + }), + + /** + * No description + * + * @tags webhooks + * @name V1WebhooksDetail2 + * @request GET:/wc/v1/webhooks/{webhook_id} + * @originalName v1WebhooksDetail + * @duplicate + * @secure + */ + v1WebhooksDetail2: ( + webhookId: number, + query?: { + /** + * Unique identifier for the resource. + * @format int64 + */ + id?: number; + /** Scope under which the request is made; determines fields present in response. */ + context?: IV1WebhooksDetail2ParamsContextEnum[]; + }, + params: RequestParams = {}, + ) => + this.request({ + path: `/wc/v1/webhooks/${webhookId}`, method: "GET", query: query, secure: true, diff --git a/api/endpoints/getProductList.ts b/api/endpoints/getProductList.ts deleted file mode 100644 index d7e7753..0000000 --- a/api/endpoints/getProductList.ts +++ /dev/null @@ -1,4 +0,0 @@ -import api from '~/api/instance' - -export const getProductList = () => - api.wp.v2ProductList() diff --git a/api/endpoints/getProductsDetail.ts b/api/endpoints/getProductsDetail.ts new file mode 100644 index 0000000..06d3d18 --- /dev/null +++ b/api/endpoints/getProductsDetail.ts @@ -0,0 +1,4 @@ +import api from '~/api/instance' + +export const getProductsDetail = async (productId: number) => + await api.wc.v1ProductsDetail(productId) diff --git a/api/endpoints/index.ts b/api/endpoints/index.ts index 2f52795..54995b2 100644 --- a/api/endpoints/index.ts +++ b/api/endpoints/index.ts @@ -1 +1 @@ -export * from './getProductList' +export * from './getProductsDetail' diff --git a/api/instance.ts b/api/instance.ts index 65d4762..abf9db9 100644 --- a/api/instance.ts +++ b/api/instance.ts @@ -1,14 +1,77 @@ import { Api } from '~/api/Api' +const requestUrl = 'https://wp.koptilnya.xyz/wp-json' +const consumerKey = 'ck_8b5477a1573ce6038ef1367f25d95cede1de4559' +const consumerSecret = 'cs_d0ccaa93e8efe4f76eef0b70c9828a58fc53459f' + +const authString = `${consumerKey}:${consumerSecret}` +const encodedAuth = btoa(unescape(encodeURIComponent(authString))) + +// Создаем инстанс API const api = new Api({ - baseUrl: String('https://wp.koptilnya.xyz/wp-json'), + baseUrl: requestUrl, + securityWorker: (securityData) => { + return { + headers: { + 'Authorization': `Basic ${encodedAuth}`, + 'Content-Type': 'application/json', + }, + } + }, }) +// Модифицируем методы API +Object.keys(api.wc).forEach((namespace) => { + const namespaceObj = api.wc[namespace] + + Object.keys(namespaceObj).forEach((methodName) => { + const originalMethod = namespaceObj[methodName] + + namespaceObj[methodName] = async function (...args: any[]) { + try { + // Добавляем заголовки аутентификации + const lastArg = args[args.length - 1] + const options = typeof lastArg === 'object' ? lastArg : {} + + const modifiedOptions = { + ...options, + headers: { + ...(options.headers || {}), + Authorization: `Basic ${encodedAuth}`, + }, + } + + const modifiedArgs = typeof lastArg === 'object' + ? [...args.slice(0, -1), modifiedOptions] + : [...args, modifiedOptions] + + const response = await originalMethod.apply(this, modifiedArgs) + + // Получаем тело ответа и парсим JSON + const data = await response.json() + return data + } + catch (error) { + console.error(`API Error in ${namespace}.${methodName}:`, error) + throw error + } + } + }) +}) + +// Переопределяем базовый request const nativeRequest = api.request api.request = async function (...args) { - const response = await nativeRequest.call(api, ...args) - return await response.json() + try { + const response = await nativeRequest.call(api, ...args) + const data = await response.json() + return data + } + catch (error) { + console.error('API Request Error:', error) + throw error + } } export default api diff --git a/api/queries/index.ts b/api/queries/index.ts index 6347f1c..d24de3a 100644 --- a/api/queries/index.ts +++ b/api/queries/index.ts @@ -1 +1 @@ -export * from './useGetProductList' +export * from './useGetProductsDetail' diff --git a/api/queries/useGetProductList.ts b/api/queries/useGetProductList.ts deleted file mode 100644 index 204595a..0000000 --- a/api/queries/useGetProductList.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { useQuery } from '@tanstack/vue-query' -import { getProductList } from '~/api/endpoints' - -export const useGetProductList = () => { - return useQuery({ - queryKey: ['get-product-list'], - queryFn: () => getProductList(), - }) -} diff --git a/api/queries/useGetProductsDetail.ts b/api/queries/useGetProductsDetail.ts new file mode 100644 index 0000000..6095221 --- /dev/null +++ b/api/queries/useGetProductsDetail.ts @@ -0,0 +1,14 @@ +import { useQuery } from '@tanstack/vue-query' +import { unref, watch } from 'vue' +import { getProductsDetail } from '~/api/endpoints' + +export const useGetProductsDetail = (productId: MaybeRef) => { + const q = useQuery({ + queryKey: ['get-products-detail', unref(productId)], + queryFn: () => getProductsDetail(unref(productId)), + }) + + watch(() => productId, () => q.refetch()) + + return q +} diff --git a/api/useGetProduct.ts b/api/useGetProduct.ts deleted file mode 100644 index c393c72..0000000 --- a/api/useGetProduct.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { useAsyncData } from '#app' - -export function useGetProducts() { - return useAsyncData( - 'products', - async () => { - const response = await $fetch('https://wp.koptilnya.xyz/wp-json/wp/v2/product') - return response - }, - { - server: false, - }, - ) -} diff --git a/package.json b/package.json index 6df29e2..76aa2ca 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "@nuxt/ui": "3.2.0", "@tanstack/vue-query": "^5.75.5", "@vueuse/core": "^13.1.0", - "axios": "^1.10.0", "dayjs": "^1.11.13", "decimal.js": "^10.5.0", "nuxt": "^3.17.6", diff --git a/pages/index.vue b/pages/index.vue index e65c11d..e90202c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,14 +1,20 @@ diff --git a/yarn.lock b/yarn.lock index 0784f59..c30c957 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,17 +16,17 @@ "@jridgewell/trace-mapping" "^0.3.24" "@antfu/eslint-config@^4.13.2": - version "4.16.2" - resolved "https://registry.yarnpkg.com/@antfu/eslint-config/-/eslint-config-4.16.2.tgz#915120ebcbed346d98d9bfef430d8729a74f6091" - integrity sha512-5KHZR+7ne+HZnOJUKeTTdHKYA/yOygPssaJ7TZOMoBqjSMtVAa7FO5Wvu2dEtkibM6v3emYyKnQnia1S8NHQeA== + version "4.19.0" + resolved "https://registry.yarnpkg.com/@antfu/eslint-config/-/eslint-config-4.19.0.tgz#6228e5e29d659659a6df6720249c931153be3b83" + integrity sha512-IQlML0cc7qNA1Uk55raMRZjOmh26rkX3bi2MFYjhO+VOtTQt8Mz2ngxBlIwpTgZFgfuYjle6JPuOuALnEZHDFw== dependencies: "@antfu/install-pkg" "^1.1.0" "@clack/prompts" "^0.11.0" "@eslint-community/eslint-plugin-eslint-comments" "^4.5.0" - "@eslint/markdown" "^6.6.0" - "@stylistic/eslint-plugin" "^5.1.0" - "@typescript-eslint/eslint-plugin" "^8.35.1" - "@typescript-eslint/parser" "^8.35.1" + "@eslint/markdown" "^7.1.0" + "@stylistic/eslint-plugin" "^5.2.2" + "@typescript-eslint/eslint-plugin" "^8.38.0" + "@typescript-eslint/parser" "^8.38.0" "@vitest/eslint-plugin" "^1.3.4" ansis "^4.1.0" cac "^6.7.14" @@ -36,17 +36,17 @@ eslint-plugin-antfu "^3.1.1" eslint-plugin-command "^3.3.1" eslint-plugin-import-lite "^0.3.0" - eslint-plugin-jsdoc "^51.3.2" + eslint-plugin-jsdoc "^51.4.1" eslint-plugin-jsonc "^2.20.1" - eslint-plugin-n "^17.20.0" + eslint-plugin-n "^17.21.0" eslint-plugin-no-only-tests "^3.3.0" eslint-plugin-perfectionist "^4.15.0" - eslint-plugin-pnpm "^0.3.1" + eslint-plugin-pnpm "^1.1.0" eslint-plugin-regexp "^2.9.0" eslint-plugin-toml "^0.12.0" - eslint-plugin-unicorn "^59.0.1" + eslint-plugin-unicorn "^60.0.0" eslint-plugin-unused-imports "^4.1.4" - eslint-plugin-vue "^10.2.0" + eslint-plugin-vue "^10.3.0" eslint-plugin-yml "^1.18.0" eslint-processor-vue-blocks "^2.0.0" globals "^16.3.0" @@ -211,7 +211,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== -"@babel/helper-validator-identifier@^7.25.9", "@babel/helper-validator-identifier@^7.27.1": +"@babel/helper-validator-identifier@^7.27.1": version "7.27.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== @@ -222,14 +222,14 @@ integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== "@babel/helpers@^7.27.6": - version "7.27.6" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.27.6.tgz#6456fed15b2cb669d2d1fabe84b66b34991d812c" - integrity sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug== + version "7.28.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.2.tgz#80f0918fecbfebea9af856c419763230040ee850" + integrity sha512-/V9771t+EgXz62aCcyofnQhGM8DQACbRhvzKFsXKC9QM+5MadF8ZmIm0crDMaz3+o0h0zXfJnd4EhbYbxsrcFw== dependencies: "@babel/template" "^7.27.2" - "@babel/types" "^7.27.6" + "@babel/types" "^7.28.2" -"@babel/parser@^7.22.5", "@babel/parser@^7.25.4", "@babel/parser@^7.26.7", "@babel/parser@^7.26.9", "@babel/parser@^7.27.2", "@babel/parser@^7.27.5", "@babel/parser@^7.27.7", "@babel/parser@^7.28.0": +"@babel/parser@^7.22.5", "@babel/parser@^7.25.4", "@babel/parser@^7.26.7", "@babel/parser@^7.26.9", "@babel/parser@^7.27.2", "@babel/parser@^7.27.7", "@babel/parser@^7.28.0": version "7.28.0" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.0.tgz#979829fbab51a29e13901e5a80713dbcb840825e" integrity sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g== @@ -283,7 +283,7 @@ "@babel/types" "^7.28.0" debug "^4.3.1" -"@babel/types@7.28.0", "@babel/types@^7.25.4", "@babel/types@^7.26.9", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.27.6", "@babel/types@^7.28.0": +"@babel/types@7.28.0": version "7.28.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.0.tgz#2fd0159a6dc7353933920c43136335a9b264d950" integrity sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg== @@ -291,6 +291,14 @@ "@babel/helper-string-parser" "^7.27.1" "@babel/helper-validator-identifier" "^7.27.1" +"@babel/types@^7.25.4", "@babel/types@^7.26.9", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.28.0", "@babel/types@^7.28.2": + version "7.28.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" + integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== + dependencies: + "@babel/helper-string-parser" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + "@biomejs/js-api@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@biomejs/js-api/-/js-api-1.0.0.tgz#bf98b7a2124ab226bdb48d985f8718d124618fc7" @@ -377,24 +385,24 @@ integrity sha512-bZXIUjxr0LIuHWshZr/5mtUkOrnh0NKVZEF6ACojW5z7zkJu7s9sV2mMXm8XQDqN4cJzdHYUYzUyEGdfciaLJA== "@emnapi/core@^1.4.3": - version "1.4.4" - resolved "https://registry.yarnpkg.com/@emnapi/core/-/core-1.4.4.tgz#76620673f3033626c6d79b1420d69f06a6bb153c" - integrity sha512-A9CnAbC6ARNMKcIcrQwq6HeHCjpcBZ5wSx4U01WXCqEKlrzB9F9315WDNHkrs2xbx7YjjSxbUYxuN6EQzpcY2g== + version "1.4.5" + resolved "https://registry.yarnpkg.com/@emnapi/core/-/core-1.4.5.tgz#bfbb0cbbbb9f96ec4e2c4fd917b7bbe5495ceccb" + integrity sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q== dependencies: - "@emnapi/wasi-threads" "1.0.3" + "@emnapi/wasi-threads" "1.0.4" tslib "^2.4.0" "@emnapi/runtime@^1.4.3": - version "1.4.4" - resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.4.4.tgz#19a8f00719c51124e2d0fbf4aaad3fa7b0c92524" - integrity sha512-hHyapA4A3gPaDCNfiqyZUStTMqIkKRshqPIuDOXv1hcBnD4U3l8cP0T1HMCfGRxQ6V64TGCcoswChANyOAwbQg== + version "1.4.5" + resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.4.5.tgz#c67710d0661070f38418b6474584f159de38aba9" + integrity sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg== dependencies: tslib "^2.4.0" -"@emnapi/wasi-threads@1.0.3", "@emnapi/wasi-threads@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@emnapi/wasi-threads/-/wasi-threads-1.0.3.tgz#83fa228bde0e71668aad6db1af4937473d1d3ab1" - integrity sha512-8K5IFFsQqF9wQNJptGbS6FNKgUTsSRYnTqNCG1vPP8jFdjSv18n2mQfJpkt2Oibo9iBEzcDnDxNwKTzC7svlJw== +"@emnapi/wasi-threads@1.0.4", "@emnapi/wasi-threads@^1.0.2": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@emnapi/wasi-threads/-/wasi-threads-1.0.4.tgz#703fc094d969e273b1b71c292523b2f792862bf4" + integrity sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g== dependencies: tslib "^2.4.0" @@ -425,255 +433,255 @@ resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz#4e0f91776c2b340e75558f60552195f6fad09f18" integrity sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA== -"@esbuild/aix-ppc64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.6.tgz#164b19122e2ed54f85469df9dea98ddb01d5e79e" - integrity sha512-ShbM/3XxwuxjFiuVBHA+d3j5dyac0aEVVq1oluIDf71hUw0aRF59dV/efUsIwFnR6m8JNM2FjZOzmaZ8yG61kw== +"@esbuild/aix-ppc64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.8.tgz#a1414903bb38027382f85f03dda6065056757727" + integrity sha512-urAvrUedIqEiFR3FYSLTWQgLu5tb+m0qZw0NBEasUeo6wuqatkMDaRT+1uABiGXEu5vqgPd7FGE1BhsAIy9QVA== "@esbuild/android-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.5.tgz#bc766407f1718923f6b8079c8c61bf86ac3a6a4f" integrity sha512-VGzGhj4lJO+TVGV1v8ntCZWJktV7SGCs3Pn1GRWI1SBFtRALoomm8k5E9Pmwg3HOAal2VDc2F9+PM/rEY6oIDg== -"@esbuild/android-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.6.tgz#8f539e7def848f764f6432598e51cc3820fde3a5" - integrity sha512-hd5zdUarsK6strW+3Wxi5qWws+rJhCCbMiC9QZyzoxfk5uHRIE8T287giQxzVpEvCwuJ9Qjg6bEjcRJcgfLqoA== +"@esbuild/android-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.8.tgz#c859994089e9767224269884061f89dae6fb51c6" + integrity sha512-OD3p7LYzWpLhZEyATcTSJ67qB5D+20vbtr6vHlHWSQYhKtzUYrETuWThmzFpZtFsBIxRvhO07+UgVA9m0i/O1w== "@esbuild/android-arm@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.5.tgz#4290d6d3407bae3883ad2cded1081a234473ce26" integrity sha512-AdJKSPeEHgi7/ZhuIPtcQKr5RQdo6OO2IL87JkianiMYMPbCtot9fxPbrMiBADOWWm3T2si9stAiVsGbTQFkbA== -"@esbuild/android-arm@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.6.tgz#4ceb0f40113e9861169be83e2a670c260dd234ff" - integrity sha512-S8ToEOVfg++AU/bHwdksHNnyLyVM+eMVAOf6yRKFitnwnbwwPNqKr3srzFRe7nzV69RQKb5DgchIX5pt3L53xg== +"@esbuild/android-arm@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.8.tgz#96a8f2ca91c6cd29ea90b1af79d83761c8ba0059" + integrity sha512-RONsAvGCz5oWyePVnLdZY/HHwA++nxYWIX1atInlaW6SEkwq6XkP3+cb825EUcRs5Vss/lGh/2YxAb5xqc07Uw== "@esbuild/android-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.5.tgz#40c11d9cbca4f2406548c8a9895d321bc3b35eff" integrity sha512-D2GyJT1kjvO//drbRT3Hib9XPwQeWd9vZoBJn+bu/lVsOZ13cqNdDeqIF/xQ5/VmWvMduP6AmXvylO/PIc2isw== -"@esbuild/android-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.6.tgz#ad4f280057622c25fe985c08999443a195dc63a8" - integrity sha512-0Z7KpHSr3VBIO9A/1wcT3NTy7EB4oNC4upJ5ye3R7taCc2GUdeynSLArnon5G8scPwaU866d3H4BCrE5xLW25A== +"@esbuild/android-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.8.tgz#a3a626c4fec4a024a9fa8c7679c39996e92916f0" + integrity sha512-yJAVPklM5+4+9dTeKwHOaA+LQkmrKFX96BM0A/2zQrbS6ENCmxc4OVoBs5dPkCCak2roAD+jKCdnmOqKszPkjA== "@esbuild/darwin-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.5.tgz#49d8bf8b1df95f759ac81eb1d0736018006d7e34" integrity sha512-GtaBgammVvdF7aPIgH2jxMDdivezgFu6iKpmT+48+F8Hhg5J/sfnDieg0aeG/jfSvkYQU2/pceFPDKlqZzwnfQ== -"@esbuild/darwin-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.6.tgz#d1f04027396b3d6afc96bacd0d13167dfd9f01f7" - integrity sha512-FFCssz3XBavjxcFxKsGy2DYK5VSvJqa6y5HXljKzhRZ87LvEi13brPrf/wdyl/BbpbMKJNOr1Sd0jtW4Ge1pAA== +"@esbuild/darwin-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.8.tgz#a5e1252ca2983d566af1c0ea39aded65736fc66d" + integrity sha512-Jw0mxgIaYX6R8ODrdkLLPwBqHTtYHJSmzzd+QeytSugzQ0Vg4c5rDky5VgkoowbZQahCbsv1rT1KW72MPIkevw== "@esbuild/darwin-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.5.tgz#e27a5d92a14886ef1d492fd50fc61a2d4d87e418" integrity sha512-1iT4FVL0dJ76/q1wd7XDsXrSW+oLoquptvh4CLR4kITDtqi2e/xwXwdCVH8hVHU43wgJdsq7Gxuzcs6Iq/7bxQ== -"@esbuild/darwin-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.6.tgz#2b4a6cedb799f635758d7832d75b23772c8ef68f" - integrity sha512-GfXs5kry/TkGM2vKqK2oyiLFygJRqKVhawu3+DOCk7OxLy/6jYkWXhlHwOoTb0WqGnWGAS7sooxbZowy+pK9Yg== +"@esbuild/darwin-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.8.tgz#5271b0df2bb12ce8df886704bfdd1c7cc01385d2" + integrity sha512-Vh2gLxxHnuoQ+GjPNvDSDRpoBCUzY4Pu0kBqMBDlK4fuWbKgGtmDIeEC081xi26PPjn+1tct+Bh8FjyLlw1Zlg== "@esbuild/freebsd-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.5.tgz#97cede59d638840ca104e605cdb9f1b118ba0b1c" integrity sha512-nk4tGP3JThz4La38Uy/gzyXtpkPW8zSAmoUhK9xKKXdBCzKODMc2adkB2+8om9BDYugz+uGV7sLmpTYzvmz6Sw== -"@esbuild/freebsd-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.6.tgz#a26266cc97dd78dc3c3f3d6788b1b83697b1055d" - integrity sha512-aoLF2c3OvDn2XDTRvn8hN6DRzVVpDlj2B/F66clWd/FHLiHaG3aVZjxQX2DYphA5y/evbdGvC6Us13tvyt4pWg== +"@esbuild/freebsd-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.8.tgz#d0a0e7fdf19733b8bb1566b81df1aa0bb7e46ada" + integrity sha512-YPJ7hDQ9DnNe5vxOm6jaie9QsTwcKedPvizTVlqWG9GBSq+BuyWEDazlGaDTC5NGU4QJd666V0yqCBL2oWKPfA== "@esbuild/freebsd-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.5.tgz#71c77812042a1a8190c3d581e140d15b876b9c6f" integrity sha512-PrikaNjiXdR2laW6OIjlbeuCPrPaAl0IwPIaRv+SMV8CiM8i2LqVUHFC1+8eORgWyY7yhQY+2U2fA55mBzReaw== -"@esbuild/freebsd-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.6.tgz#9feb8e826735c568ebfd94859b22a3fbb6a9bdd2" - integrity sha512-2SkqTjTSo2dYi/jzFbU9Plt1vk0+nNg8YC8rOXXea+iA3hfNJWebKYPs3xnOUf9+ZWhKAaxnQNUf2X9LOpeiMQ== +"@esbuild/freebsd-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.8.tgz#2de8b2e0899d08f1cb1ef3128e159616e7e85343" + integrity sha512-MmaEXxQRdXNFsRN/KcIimLnSJrk2r5H8v+WVafRWz5xdSVmWLoITZQXcgehI2ZE6gioE6HirAEToM/RvFBeuhw== "@esbuild/linux-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.5.tgz#f7b7c8f97eff8ffd2e47f6c67eb5c9765f2181b8" integrity sha512-Z9kfb1v6ZlGbWj8EJk9T6czVEjjq2ntSYLY2cw6pAZl4oKtfgQuS4HOq41M/BcoLPzrUbNd+R4BXFyH//nHxVg== -"@esbuild/linux-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.6.tgz#c07cbed8e249f4c28e7f32781d36fc4695293d28" - integrity sha512-b967hU0gqKd9Drsh/UuAm21Khpoh6mPBSgz8mKRq4P5mVK8bpA+hQzmm/ZwGVULSNBzKdZPQBRT3+WuVavcWsQ== +"@esbuild/linux-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.8.tgz#a4209efadc0c2975716458484a4e90c237c48ae9" + integrity sha512-WIgg00ARWv/uYLU7lsuDK00d/hHSfES5BzdWAdAig1ioV5kaFNrtK8EqGcUBJhYqotlUByUKz5Qo6u8tt7iD/w== "@esbuild/linux-arm@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.5.tgz#2a0be71b6cd8201fa559aea45598dffabc05d911" integrity sha512-cPzojwW2okgh7ZlRpcBEtsX7WBuqbLrNXqLU89GxWbNt6uIg78ET82qifUy3W6OVww6ZWobWub5oqZOVtwolfw== -"@esbuild/linux-arm@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.6.tgz#d6e2cd8ef3196468065d41f13fa2a61aaa72644a" - integrity sha512-SZHQlzvqv4Du5PrKE2faN0qlbsaW/3QQfUUc6yO2EjFcA83xnwm91UbEEVx4ApZ9Z5oG8Bxz4qPE+HFwtVcfyw== +"@esbuild/linux-arm@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.8.tgz#ccd9e291c24cd8d9142d819d463e2e7200d25b19" + integrity sha512-FuzEP9BixzZohl1kLf76KEVOsxtIBFwCaLupVuk4eFVnOZfU+Wsn+x5Ryam7nILV2pkq2TqQM9EZPsOBuMC+kg== "@esbuild/linux-ia32@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.5.tgz#763414463cd9ea6fa1f96555d2762f9f84c61783" integrity sha512-sQ7l00M8bSv36GLV95BVAdhJ2QsIbCuCjh/uYrWiMQSUuV+LpXwIqhgJDcvMTj+VsQmqAHL2yYaasENvJ7CDKA== -"@esbuild/linux-ia32@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.6.tgz#3e682bd47c4eddcc4b8f1393dfc8222482f17997" - integrity sha512-aHWdQ2AAltRkLPOsKdi3xv0mZ8fUGPdlKEjIEhxCPm5yKEThcUjHpWB1idN74lfXGnZ5SULQSgtr5Qos5B0bPw== +"@esbuild/linux-ia32@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.8.tgz#006ad1536d0c2b28fb3a1cf0b53bcb85aaf92c4d" + integrity sha512-A1D9YzRX1i+1AJZuFFUMP1E9fMaYY+GnSQil9Tlw05utlE86EKTUA7RjwHDkEitmLYiFsRd9HwKBPEftNdBfjg== "@esbuild/linux-loong64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.5.tgz#428cf2213ff786a502a52c96cf29d1fcf1eb8506" integrity sha512-0ur7ae16hDUC4OL5iEnDb0tZHDxYmuQyhKhsPBV8f99f6Z9KQM02g33f93rNH5A30agMS46u2HP6qTdEt6Q1kg== -"@esbuild/linux-loong64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.6.tgz#473f5ea2e52399c08ad4cd6b12e6dbcddd630f05" - integrity sha512-VgKCsHdXRSQ7E1+QXGdRPlQ/e08bN6WMQb27/TMfV+vPjjTImuT9PmLXupRlC90S1JeNNW5lzkAEO/McKeJ2yg== +"@esbuild/linux-loong64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.8.tgz#127b3fbfb2c2e08b1397e985932f718f09a8f5c4" + integrity sha512-O7k1J/dwHkY1RMVvglFHl1HzutGEFFZ3kNiDMSOyUrB7WcoHGf96Sh+64nTRT26l3GMbCW01Ekh/ThKM5iI7hQ== "@esbuild/linux-mips64el@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.5.tgz#5cbcc7fd841b4cd53358afd33527cd394e325d96" integrity sha512-kB/66P1OsHO5zLz0i6X0RxlQ+3cu0mkxS3TKFvkb5lin6uwZ/ttOkP3Z8lfR9mJOBk14ZwZ9182SIIWFGNmqmg== -"@esbuild/linux-mips64el@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.6.tgz#9960631c9fd61605b0939c19043acf4ef2b51718" - integrity sha512-WViNlpivRKT9/py3kCmkHnn44GkGXVdXfdc4drNmRl15zVQ2+D2uFwdlGh6IuK5AAnGTo2qPB1Djppj+t78rzw== +"@esbuild/linux-mips64el@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.8.tgz#837d1449517791e3fa7d82675a2d06d9f56cb340" + integrity sha512-uv+dqfRazte3BzfMp8PAQXmdGHQt2oC/y2ovwpTteqrMx2lwaksiFZ/bdkXJC19ttTvNXBuWH53zy/aTj1FgGw== "@esbuild/linux-ppc64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.5.tgz#0d954ab39ce4f5e50f00c4f8c4fd38f976c13ad9" integrity sha512-UZCmJ7r9X2fe2D6jBmkLBMQetXPXIsZjQJCjgwpVDz+YMcS6oFR27alkgGv3Oqkv07bxdvw7fyB71/olceJhkQ== -"@esbuild/linux-ppc64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.6.tgz#477cbf8bb04aa034b94f362c32c86b5c31db8d3e" - integrity sha512-wyYKZ9NTdmAMb5730I38lBqVu6cKl4ZfYXIs31Baf8aoOtB4xSGi3THmDYt4BTFHk7/EcVixkOV2uZfwU3Q2Jw== +"@esbuild/linux-ppc64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.8.tgz#aa2e3bd93ab8df084212f1895ca4b03c42d9e0fe" + integrity sha512-GyG0KcMi1GBavP5JgAkkstMGyMholMDybAf8wF5A70CALlDM2p/f7YFE7H92eDeH/VBtFJA5MT4nRPDGg4JuzQ== "@esbuild/linux-riscv64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.5.tgz#0e7dd30730505abd8088321e8497e94b547bfb1e" integrity sha512-kTxwu4mLyeOlsVIFPfQo+fQJAV9mh24xL+y+Bm6ej067sYANjyEw1dNHmvoqxJUCMnkBdKpvOn0Ahql6+4VyeA== -"@esbuild/linux-riscv64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.6.tgz#bcdb46c8fb8e93aa779e9a0a62cd4ac00dcac626" - integrity sha512-KZh7bAGGcrinEj4qzilJ4hqTY3Dg2U82c8bv+e1xqNqZCrCyc+TL9AUEn5WGKDzm3CfC5RODE/qc96OcbIe33w== +"@esbuild/linux-riscv64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.8.tgz#a340620e31093fef72767dd28ab04214b3442083" + integrity sha512-rAqDYFv3yzMrq7GIcen3XP7TUEG/4LK86LUPMIz6RT8A6pRIDn0sDcvjudVZBiiTcZCY9y2SgYX2lgK3AF+1eg== "@esbuild/linux-s390x@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.5.tgz#5669af81327a398a336d7e40e320b5bbd6e6e72d" integrity sha512-K2dSKTKfmdh78uJ3NcWFiqyRrimfdinS5ErLSn3vluHNeHVnBAFWC8a4X5N+7FgVE1EjXS1QDZbpqZBjfrqMTQ== -"@esbuild/linux-s390x@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.6.tgz#f412cf5fdf0aea849ff51c73fd817c6c0234d46d" - integrity sha512-9N1LsTwAuE9oj6lHMyyAM+ucxGiVnEqUdp4v7IaMmrwb06ZTEVCIs3oPPplVsnjPfyjmxwHxHMF8b6vzUVAUGw== +"@esbuild/linux-s390x@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.8.tgz#ddfed266c8c13f5efb3105a0cd47f6dcd0e79e71" + integrity sha512-Xutvh6VjlbcHpsIIbwY8GVRbwoviWT19tFhgdA7DlenLGC/mbc3lBoVb7jxj9Z+eyGqvcnSyIltYUrkKzWqSvg== "@esbuild/linux-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.5.tgz#b2357dd153aa49038967ddc1ffd90c68a9d2a0d4" integrity sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw== -"@esbuild/linux-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.6.tgz#d8233c09b5ebc0c855712dc5eeb835a3a3341108" - integrity sha512-A6bJB41b4lKFWRKNrWoP2LHsjVzNiaurf7wyj/XtFNTsnPuxwEBWHLty+ZE0dWBKuSK1fvKgrKaNjBS7qbFKig== +"@esbuild/linux-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.8.tgz#9a4f78c75c051e8c060183ebb39a269ba936a2ac" + integrity sha512-ASFQhgY4ElXh3nDcOMTkQero4b1lgubskNlhIfJrsH5OKZXDpUAKBlNS0Kx81jwOBp+HCeZqmoJuihTv57/jvQ== "@esbuild/netbsd-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.5.tgz#53b4dfb8fe1cee93777c9e366893bd3daa6ba63d" integrity sha512-pwHtMP9viAy1oHPvgxtOv+OkduK5ugofNTVDilIzBLpoWAM16r7b/mxBvfpuQDpRQFMfuVr5aLcn4yveGvBZvw== -"@esbuild/netbsd-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.6.tgz#f51ae8dd1474172e73cf9cbaf8a38d1c72dd8f1a" - integrity sha512-IjA+DcwoVpjEvyxZddDqBY+uJ2Snc6duLpjmkXm/v4xuS3H+3FkLZlDm9ZsAbF9rsfP3zeA0/ArNDORZgrxR/Q== +"@esbuild/netbsd-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.8.tgz#902c80e1d678047926387230bc037e63e00697d0" + integrity sha512-d1KfruIeohqAi6SA+gENMuObDbEjn22olAR7egqnkCD9DGBG0wsEARotkLgXDu6c4ncgWTZJtN5vcgxzWRMzcw== "@esbuild/netbsd-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.5.tgz#a0206f6314ce7dc8713b7732703d0f58de1d1e79" integrity sha512-WOb5fKrvVTRMfWFNCroYWWklbnXH0Q5rZppjq0vQIdlsQKuw6mdSihwSo4RV/YdQ5UCKKvBy7/0ZZYLBZKIbwQ== -"@esbuild/netbsd-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.6.tgz#a267538602c0e50a858cf41dcfe5d8036f8da8e7" - integrity sha512-dUXuZr5WenIDlMHdMkvDc1FAu4xdWixTCRgP7RQLBOkkGgwuuzaGSYcOpW4jFxzpzL1ejb8yF620UxAqnBrR9g== +"@esbuild/netbsd-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.8.tgz#2d9eb4692add2681ff05a14ce99de54fbed7079c" + integrity sha512-nVDCkrvx2ua+XQNyfrujIG38+YGyuy2Ru9kKVNyh5jAys6n+l44tTtToqHjino2My8VAY6Lw9H7RI73XFi66Cg== "@esbuild/openbsd-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.5.tgz#2a796c87c44e8de78001d808c77d948a21ec22fd" integrity sha512-7A208+uQKgTxHd0G0uqZO8UjK2R0DDb4fDmERtARjSHWxqMTye4Erz4zZafx7Di9Cv+lNHYuncAkiGFySoD+Mw== -"@esbuild/openbsd-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.6.tgz#a51be60c425b85c216479b8c344ad0511635f2d2" - integrity sha512-l8ZCvXP0tbTJ3iaqdNf3pjaOSd5ex/e6/omLIQCVBLmHTlfXW3zAxQ4fnDmPLOB1x9xrcSi/xtCWFwCZRIaEwg== +"@esbuild/openbsd-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.8.tgz#89c3b998c6de739db38ab7fb71a8a76b3fa84a45" + integrity sha512-j8HgrDuSJFAujkivSMSfPQSAa5Fxbvk4rgNAS5i3K+r8s1X0p1uOO2Hl2xNsGFppOeHOLAVgYwDVlmxhq5h+SQ== "@esbuild/openbsd-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.5.tgz#28d0cd8909b7fa3953af998f2b2ed34f576728f0" integrity sha512-G4hE405ErTWraiZ8UiSoesH8DaCsMm0Cay4fsFWOOUcz8b8rC6uCvnagr+gnioEjWn0wC+o1/TAHt+It+MpIMg== -"@esbuild/openbsd-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.6.tgz#7e4a743c73f75562e29223ba69d0be6c9c9008da" - integrity sha512-hKrmDa0aOFOr71KQ/19JC7az1P0GWtCN1t2ahYAf4O007DHZt/dW8ym5+CUdJhQ/qkZmI1HAF8KkJbEFtCL7gw== +"@esbuild/openbsd-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.8.tgz#2f01615cf472b0e48c077045cfd96b5c149365cc" + integrity sha512-1h8MUAwa0VhNCDp6Af0HToI2TJFAn1uqT9Al6DJVzdIBAd21m/G0Yfc77KDM3uF3T/YaOgQq3qTJHPbTOInaIQ== -"@esbuild/openharmony-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.6.tgz#2087a5028f387879154ebf44bdedfafa17682e5b" - integrity sha512-+SqBcAWoB1fYKmpWoQP4pGtx+pUUC//RNYhFdbcSA16617cchuryuhOCRpPsjCblKukAckWsV+aQ3UKT/RMPcA== +"@esbuild/openharmony-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.8.tgz#a201f720cd2c3ebf9a6033fcc3feb069a54b509a" + integrity sha512-r2nVa5SIK9tSWd0kJd9HCffnDHKchTGikb//9c7HX+r+wHYCpQrSgxhlY6KWV1nFo1l4KFbsMlHk+L6fekLsUg== "@esbuild/sunos-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.5.tgz#a28164f5b997e8247d407e36c90d3fd5ddbe0dc5" integrity sha512-l+azKShMy7FxzY0Rj4RCt5VD/q8mG/e+mDivgspo+yL8zW7qEwctQ6YqKX34DTEleFAvCIUviCFX1SDZRSyMQA== -"@esbuild/sunos-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.6.tgz#56531f861723ea0dc6283a2bb8837304223cb736" - integrity sha512-dyCGxv1/Br7MiSC42qinGL8KkG4kX0pEsdb0+TKhmJZgCUDBGmyo1/ArCjNGiOLiIAgdbWgmWgib4HoCi5t7kA== +"@esbuild/sunos-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.8.tgz#07046c977985a3334667f19e6ab3a01a80862afb" + integrity sha512-zUlaP2S12YhQ2UzUfcCuMDHQFJyKABkAjvO5YSndMiIkMimPmxA+BYSBikWgsRpvyxuRnow4nS5NPnf9fpv41w== "@esbuild/win32-arm64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.5.tgz#6eadbead38e8bd12f633a5190e45eff80e24007e" integrity sha512-O2S7SNZzdcFG7eFKgvwUEZ2VG9D/sn/eIiz8XRZ1Q/DO5a3s76Xv0mdBzVM5j5R639lXQmPmSo0iRpHqUUrsxw== -"@esbuild/win32-arm64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.6.tgz#f4989f033deac6fae323acff58764fa8bc01436e" - integrity sha512-42QOgcZeZOvXfsCBJF5Afw73t4veOId//XD3i+/9gSkhSV6Gk3VPlWncctI+JcOyERv85FUo7RxuxGy+z8A43Q== +"@esbuild/win32-arm64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.8.tgz#4a5470caf0d16127c05d4833d4934213c69392d1" + integrity sha512-YEGFFWESlPva8hGL+zvj2z/SaK+pH0SwOM0Nc/d+rVnW7GSTFlLBGzZkuSU9kFIGIo8q9X3ucpZhu8PDN5A2sQ== "@esbuild/win32-ia32@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.5.tgz#bab6288005482f9ed2adb9ded7e88eba9a62cc0d" integrity sha512-onOJ02pqs9h1iMJ1PQphR+VZv8qBMQ77Klcsqv9CNW2w6yLqoURLcgERAIurY6QE63bbLuqgP9ATqajFLK5AMQ== -"@esbuild/win32-ia32@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.6.tgz#b260e9df71e3939eb33925076d39f63cec7d1525" - integrity sha512-4AWhgXmDuYN7rJI6ORB+uU9DHLq/erBbuMoAuB4VWJTu5KtCgcKYPynF0YI1VkBNuEfjNlLrFr9KZPJzrtLkrQ== +"@esbuild/win32-ia32@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.8.tgz#3de3e8470b7b328d99dbc3e9ec1eace207e5bbc4" + integrity sha512-hiGgGC6KZ5LZz58OL/+qVVoZiuZlUYlYHNAmczOm7bs2oE1XriPFi5ZHHrS8ACpV5EjySrnoCKmcbQMN+ojnHg== "@esbuild/win32-x64@0.25.5": version "0.25.5" resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.5.tgz#7fc114af5f6563f19f73324b5d5ff36ece0803d1" integrity sha512-TXv6YnJ8ZMVdX+SXWVBo/0p8LTcrUYngpWjvm91TMjjBQii7Oz11Lw5lbDV5Y0TzuhSJHwiH4hEtC1I42mMS0g== -"@esbuild/win32-x64@0.25.6": - version "0.25.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.6.tgz#4276edd5c105bc28b11c6a1f76fb9d29d1bd25c1" - integrity sha512-NgJPHHbEpLQgDH2MjQu90pzW/5vvXIZ7KOnPyNBm92A6WgZ/7b6fJyUBjoumLqeOQQGqY2QjQxRo97ah4Sj0cA== +"@esbuild/win32-x64@0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz#610d7ea539d2fcdbe39237b5cc175eb2c4451f9c" + integrity sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw== "@eslint-community/eslint-plugin-eslint-comments@^4.5.0": version "4.5.0" @@ -714,21 +722,7 @@ resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.3.0.tgz#3e09a90dfb87e0005c7694791e58e97077271286" integrity sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw== -"@eslint/core@^0.13.0": - version "0.13.0" - resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.13.0.tgz#bf02f209846d3bf996f9e8009db62df2739b458c" - integrity sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw== - dependencies: - "@types/json-schema" "^7.0.15" - -"@eslint/core@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.14.0.tgz#326289380968eaf7e96f364e1e4cf8f3adf2d003" - integrity sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg== - dependencies: - "@types/json-schema" "^7.0.15" - -"@eslint/core@^0.15.1": +"@eslint/core@^0.15.0", "@eslint/core@^0.15.1": version "0.15.1" resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.15.1.tgz#d530d44209cbfe2f82ef86d6ba08760196dd3b60" integrity sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA== @@ -750,22 +744,22 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.30.1": - version "9.30.1" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.30.1.tgz#ebe9dd52a38345784c486300175a28c6013c088d" - integrity sha512-zXhuECFlyep42KZUhWjfvsmXGX39W8K8LFb8AWXM9gSV9dQB+MrJGLKvW6Zw0Ggnbpw0VHTtrhFXYe3Gym18jg== +"@eslint/js@9.32.0": + version "9.32.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.32.0.tgz#a02916f58bd587ea276876cb051b579a3d75d091" + integrity sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg== -"@eslint/markdown@^6.6.0": - version "6.6.0" - resolved "https://registry.yarnpkg.com/@eslint/markdown/-/markdown-6.6.0.tgz#b9f226f9f464de161be7136e5c879239a4339631" - integrity sha512-IsWPy2jU3gaQDlioDC4sT4I4kG1hX1OMWs/q2sWwJrPoMASHW/Z4SDw+6Aql6EsHejGbagYuJbFq9Zvx+Y1b1Q== +"@eslint/markdown@^7.1.0": + version "7.1.0" + resolved "https://registry.yarnpkg.com/@eslint/markdown/-/markdown-7.1.0.tgz#c35be3f16d9e74077ca238ceca184ded0bac74bc" + integrity sha512-Y+X1B1j+/zupKDVJfkKc8uYMjQkGzfnd8lt7vK3y8x9Br6H5dBuhAfFrQ6ff7HAMm/1BwgecyEiRFkYCWPRxmA== dependencies: - "@eslint/core" "^0.14.0" - "@eslint/plugin-kit" "^0.3.1" + "@eslint/core" "^0.15.1" + "@eslint/plugin-kit" "^0.3.4" github-slugger "^2.0.0" mdast-util-from-markdown "^2.0.2" mdast-util-frontmatter "^2.0.1" - mdast-util-gfm "^3.0.0" + mdast-util-gfm "^3.1.0" micromark-extension-frontmatter "^2.0.0" micromark-extension-gfm "^3.0.0" @@ -774,18 +768,10 @@ resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.6.tgz#58369ab5b5b3ca117880c0f6c0b0f32f6950f24f" integrity sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA== -"@eslint/plugin-kit@^0.2.7": - version "0.2.8" - resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz#47488d8f8171b5d4613e833313f3ce708e3525f8" - integrity sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA== - dependencies: - "@eslint/core" "^0.13.0" - levn "^0.4.1" - -"@eslint/plugin-kit@^0.3.1": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.3.3.tgz#32926b59bd407d58d817941e48b2a7049359b1fd" - integrity sha512-1+WqvgNMhmlAambTvT3KPtCl/Ibr68VldY2XY40SL1CE0ZXiakFR/cbTspaF5HsnpDMvcYYoJHfl4980NBjGag== +"@eslint/plugin-kit@^0.3.3", "@eslint/plugin-kit@^0.3.4": + version "0.3.4" + resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz#c6b9f165e94bf4d9fdd493f1c028a94aaf5fc1cc" + integrity sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw== dependencies: "@eslint/core" "^0.15.1" levn "^0.4.1" @@ -863,9 +849,9 @@ integrity sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ== "@iconify/collections@^1.0.563": - version "1.0.567" - resolved "https://registry.yarnpkg.com/@iconify/collections/-/collections-1.0.567.tgz#7757d57db188c260a922d9e9a9560780030bcab6" - integrity sha512-gq17Ig4TwGKPNYrShXjQijotxlv3FeN88sB1z8Mm+tbXcbITQTN50R2GbU9yh8rUbii4jx0jJRi30eYegvTfvg== + version "1.0.573" + resolved "https://registry.yarnpkg.com/@iconify/collections/-/collections-1.0.573.tgz#89dbd3838821a71c584314c1ac027d0e1dc5cb9d" + integrity sha512-eEyZWQ223YX76w7URx+7O7xu5uTSJ9SJ1z7JB9YumWXoZOXVmNasyuOIU3JdQfCmvc1/qpT1dMhY3d65wgHs5Q== dependencies: "@iconify/types" "*" @@ -903,9 +889,9 @@ "@swc/helpers" "^0.5.0" "@internationalized/number@^3.5.0", "@internationalized/number@^3.6.3": - version "3.6.3" - resolved "https://registry.yarnpkg.com/@internationalized/number/-/number-3.6.3.tgz#4bba32e90cd8095ae7d252586c661d9c651918b4" - integrity sha512-p+Zh1sb6EfrfVaS86jlHGQ9HA66fJhV9x5LiE5vCbZtXEHAuhcmUZUdZ4WrFpUBfNalr2OkAJI5AcKEQF+Lebw== + version "3.6.4" + resolved "https://registry.yarnpkg.com/@internationalized/number/-/number-3.6.4.tgz#3ab593fec5e87654fdece0a3238cdc9d0eedff8a" + integrity sha512-P+/h+RDaiX8EGt3shB9AYM1+QgkvHmJ5rKi4/59k4sg9g58k9rqsRW0WxRO7jCoHyvVbFRRFKmVTdFYdehrxHg== dependencies: "@swc/helpers" "^0.5.0" @@ -1130,17 +1116,19 @@ fastq "^1.6.0" "@nuxt/cli@^3.25.1": - version "3.25.1" - resolved "https://registry.yarnpkg.com/@nuxt/cli/-/cli-3.25.1.tgz#aba55813b7d47be776605fe63d8084607c1d8c81" - integrity sha512-7+Ut7IvAD4b5piikJFSgIqSPbHKFT5gq05JvCsEHRM0MPA5QR9QHkicklyMqSj0D/oEkDohen8qRgdxRie3oUA== + version "3.27.0" + resolved "https://registry.yarnpkg.com/@nuxt/cli/-/cli-3.27.0.tgz#8fbb1d55641e5a832f8eed4a8b7ff3f4629e1d49" + integrity sha512-lOdzEvEbGaV06ebKKYgpumLLzbOZMFQzZfT4ZE7foa8/8aXG+GR3g8w9RX2IUyomTdSfapa3UcHDC8srQKRIEw== dependencies: - c12 "^3.0.3" - chokidar "^4.0.3" + c12 "^3.1.0" citty "^0.1.6" clipboardy "^4.0.0" + confbox "^0.2.2" consola "^3.4.2" defu "^6.1.4" + exsolve "^1.0.7" fuse.js "^7.1.0" + get-port-please "^3.2.0" giget "^2.0.0" h3 "^1.15.3" httpxy "^0.1.7" @@ -1151,13 +1139,13 @@ ohash "^2.0.11" pathe "^2.0.3" perfect-debounce "^1.0.0" - pkg-types "^2.1.0" + pkg-types "^2.2.0" scule "^1.3.0" - semver "^7.7.1" + semver "^7.7.2" std-env "^3.9.0" tinyexec "^1.0.1" ufo "^1.6.1" - youch "^4.1.0-beta.7" + youch "^4.1.0-beta.10" "@nuxt/devalue@^2.0.2": version "2.0.2" @@ -1186,7 +1174,7 @@ prompts "^2.4.2" semver "^7.7.2" -"@nuxt/devtools@^2.6.0", "@nuxt/devtools@latest": +"@nuxt/devtools@^2.6.2", "@nuxt/devtools@latest": version "2.6.2" resolved "https://registry.yarnpkg.com/@nuxt/devtools/-/devtools-2.6.2.tgz#f2476bb4ada9cd9d3f3bc28f47a54bc3c2238244" integrity sha512-pqcSDPv1I+8fxa6FvhAxVrfcN/sXYLOBe9scTLbRQOVLTO0pHzryayho678qNKiwWGgj/rcjEDr6IZCgwqOCfA== @@ -1288,10 +1276,10 @@ optionalDependencies: ipx "^2.1.0" -"@nuxt/kit@3.17.6", "@nuxt/kit@^3.13.2", "@nuxt/kit@^3.15.4", "@nuxt/kit@^3.16.0", "@nuxt/kit@^3.17.3", "@nuxt/kit@^3.17.5", "@nuxt/kit@^3.17.6": - version "3.17.6" - resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.17.6.tgz#f398f95ec026fa8bcfbf13d9b61ad60bb2433348" - integrity sha512-8PKRwoEF70IXVrpGEJZ4g4V2WtE9RjSMgSZLLa0HZCoyT+QczJcJe3kho/XKnJOnNnHep4WqciTD7p4qRRtBqw== +"@nuxt/kit@3.17.7", "@nuxt/kit@^3.13.2", "@nuxt/kit@^3.15.4", "@nuxt/kit@^3.16.0", "@nuxt/kit@^3.17.3", "@nuxt/kit@^3.17.5", "@nuxt/kit@^3.17.6": + version "3.17.7" + resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.17.7.tgz#2c6123c0495ac4b8f1c9b6207744a8d13c8da8ee" + integrity sha512-JLno3ur7Pix2o/StxIMlEHRkMawA6h7uzjZBDgxdeKXRWTYY8ID9YekSkN4PBlEFGXBfCBOcPd5+YqcyBUAMkw== dependencies: c12 "^3.0.4" consola "^3.4.2" @@ -1316,10 +1304,10 @@ unimport "^5.1.0" untyped "^2.0.0" -"@nuxt/schema@3.17.6", "@nuxt/schema@^3.17.5": - version "3.17.6" - resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.17.6.tgz#3a7662df0029a34b508a0f54f7147402a6a5b562" - integrity sha512-ahm0yz6CrSaZ4pS0iuVod9lVRXNDNIidKWLLBx2naGNM6rW+sdFV9gxjvUS3+rLW+swa4HCKE6J5bjOl//oyqQ== +"@nuxt/schema@3.17.7", "@nuxt/schema@^3.17.5": + version "3.17.7" + resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.17.7.tgz#20a8d17423c411c5d369341595d8d6455532cbe7" + integrity sha512-c22IE/ECvjUScFyOJH/0VnSf5izDLmwkrCRlZKNhHzcNZUBFe5mCE5BM28QSVRSLGcC/mqg5POyNjf2tRwf+/w== dependencies: "@vue/shared" "^3.5.17" consola "^3.4.2" @@ -1393,12 +1381,12 @@ vaul-vue "0.4.1" vue-component-type-helpers "^2.2.10" -"@nuxt/vite-builder@3.17.6": - version "3.17.6" - resolved "https://registry.yarnpkg.com/@nuxt/vite-builder/-/vite-builder-3.17.6.tgz#f83ff620fc50fc013949e32039adc0cc22171b15" - integrity sha512-D7bf0BE2nDFj23ryKuSakQFDETt5rpnMTlaoDsRElrApFRvMNzF7pYHuHjvPELsi0UmaqCb8sZn6ki0GALEu2A== +"@nuxt/vite-builder@3.17.7": + version "3.17.7" + resolved "https://registry.yarnpkg.com/@nuxt/vite-builder/-/vite-builder-3.17.7.tgz#a0886306bc8a2f7584d0e2c2fdf20436531ab8e5" + integrity sha512-XZEte9SMgONWsChKXOrK9/X8TqcSToXy6S9GzxJF199QKUpfsOJy+gZrjOWHS+WrIWdkBmiKBl11kvh8lCIpzA== dependencies: - "@nuxt/kit" "3.17.6" + "@nuxt/kit" "3.17.7" "@rollup/plugin-replace" "^6.0.2" "@vitejs/plugin-vue" "^5.2.4" "@vitejs/plugin-vue-jsx" "^4.2.0" @@ -1406,7 +1394,7 @@ consola "^3.4.2" cssnano "^7.0.7" defu "^6.1.4" - esbuild "^0.25.5" + esbuild "^0.25.6" escape-string-regexp "^5.0.0" exsolve "^1.0.7" externality "^1.0.2" @@ -1428,7 +1416,7 @@ unenv "^2.0.0-rc.18" vite "^6.3.5" vite-node "^3.2.4" - vite-plugin-checker "^0.9.3" + vite-plugin-checker "^0.10.0" vue-bundle-renderer "^2.1.1" "@nuxtjs/color-mode@^3.5.2": @@ -1441,87 +1429,87 @@ pkg-types "^1.2.1" semver "^7.6.3" -"@oxc-parser/binding-android-arm64@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.75.1.tgz#4143358ef1c22b9dbfaee49c1e1092366c9f99b3" - integrity sha512-hJt8uKPKj0R+3mKCWZLb14lIJ5o2SvVmO/0FwzbBR4Pdrlmp7mWG28Uui1VSIrFVqr47S38dswfCz5StMhGRjA== +"@oxc-parser/binding-android-arm64@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.76.0.tgz#2bf8524add42f7a399ea0da9ae8e764bb9aeb61b" + integrity sha512-1XJW/16CDmF5bHE7LAyPPmEEVnxSadDgdJz+xiLqBrmC4lfAeuAfRw3HlOygcPGr+AJsbD4Z5sFJMkwjbSZlQg== -"@oxc-parser/binding-darwin-arm64@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.75.1.tgz#29039e23b034a452f1f7ed3abc8c0c17576e3dba" - integrity sha512-uIwpwocl3ot599uPgZMfYC7wpQoL7Cpn6r4jRGss3u2g2och4JVUO8H3BTcne+l/bGGP9FEo58dlKKj27SDzvQ== +"@oxc-parser/binding-darwin-arm64@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.76.0.tgz#e253b72b235dd6600449a5907e355f167a92a986" + integrity sha512-yoQwSom8xsB+JdGsPUU0xxmxLKiF2kdlrK7I56WtGKZilixuBf/TmOwNYJYLRWkBoW5l2/pDZOhBm2luwmLiLw== -"@oxc-parser/binding-darwin-x64@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.75.1.tgz#c2c3eedad61246df9915964c4132b2552ea14d91" - integrity sha512-Mvt3miySAzXatxPiklsJoPz3yFErNg7sJKnPjBkgn4VCuJjL7Tulbdjkpx/aXGvRA6lPvaxz1hgyeSJ5CU0Arg== +"@oxc-parser/binding-darwin-x64@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.76.0.tgz#4490fd095ed0564f48938ca4f8cf3f00f7afeb1a" + integrity sha512-uRIopPLvr3pf2Xj7f5LKyCuqzIU6zOS+zEIR8UDYhcgJyZHnvBkfrYnfcztyIcrGdQehrFUi3uplmI09E7RdiQ== -"@oxc-parser/binding-freebsd-x64@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.75.1.tgz#8c550dbcb6ac45022a891a2da028c10f0de8675a" - integrity sha512-sBbrz6EGzKh7u5fzKTxQympWTvmM1u7Xm80OXAVPunZ15+Ky2Q2Xmzys8jlfRsceZwRjeziggS+ysCeT0yhyMA== +"@oxc-parser/binding-freebsd-x64@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.76.0.tgz#b1a448bfc52bec9523a7aa3958476ed8f391c367" + integrity sha512-a0EOFvnOd2FqmDSvH6uWLROSlU6KV/JDKbsYDA/zRLyKcG6HCsmFnPsp8iV7/xr9WMbNgyJi6R5IMpePQlUq7Q== -"@oxc-parser/binding-linux-arm-gnueabihf@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.75.1.tgz#358ad653740f0d5963e0dbf0e4d1f40dcdc21223" - integrity sha512-UbzXDqh4IwtF6x1NoxD44esutbe4/+dBzEHle7awCXGFKWPghP/AMGZnA2JYBGHxrxbiQpfueynyvqQThEAYtg== +"@oxc-parser/binding-linux-arm-gnueabihf@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.76.0.tgz#4a8f1fc55582bc2a045dd79242d4fb18f1af2560" + integrity sha512-ikRYDHL3fOdZwfJKmcdqjlLgkeNZ3Ez0qM8wAev5zlHZ+lY/Ig7qG5SCqPlvuTu+nNQ6zrFFaKvvt69EBKXU/g== -"@oxc-parser/binding-linux-arm-musleabihf@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.75.1.tgz#d1d8734809487526abe38aa4b280b09ba9ac471a" - integrity sha512-cVWiU+UrspdMlp/aMrt1F2l1nxZtrzIkGvIbrKL0hVjOcXvMCp+H2mL07PQ3vnaHo2mt8cPIKv9pd+FoJhgp3w== +"@oxc-parser/binding-linux-arm-musleabihf@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.76.0.tgz#bcd4f29ce158b1a817178c2e6962d1b51e9dc5ae" + integrity sha512-dtRv5J5MRCLR7x39K8ufIIW4svIc7gYFUaI0YFXmmeOBhK/K2t/CkguPnDroKtsmXIPHDRtmJ1JJYzNcgJl6Wg== -"@oxc-parser/binding-linux-arm64-gnu@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.75.1.tgz#b9defa9bcee0008221f1a44957588b7e14bbe4eb" - integrity sha512-hmCAu+bIq/4b8H07tLZNyIiWL1Prw1ILuTEPPakb1uFV943kg0ZOwEOpV1poBleZrnSjjciWyKRpDRuacBAgyQ== +"@oxc-parser/binding-linux-arm64-gnu@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.76.0.tgz#a398c29fc1d5a9cf16025a366fd2cca2a0cab097" + integrity sha512-IE4iiiggFH2snagQxHrY5bv6dDpRMMat+vdlMN/ibonA65eOmRLp8VLTXnDiNrcla/itJ1L9qGABHNKU+SnE8g== -"@oxc-parser/binding-linux-arm64-musl@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.75.1.tgz#3de9a11b6f2bf482248c5a47b170c82072874d46" - integrity sha512-8ilN7iG7Y4qvXJTuHERPKy5LKcT1ioSGRn7Yyd988tzuR9Cvp4+gJu8azYZnSUJKfNV6SGOEfVnxLabCLRkG/A== +"@oxc-parser/binding-linux-arm64-musl@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.76.0.tgz#35c3236396a70dfb071f5a92764b23acca9f6357" + integrity sha512-wi9zQPMDHrBuRuT7Iurfidc9qlZh7cKa5vfYzOWNBCaqJdgxmNOFzvYen02wVUxSWGKhpiPHxrPX0jdRyJ8Npg== -"@oxc-parser/binding-linux-riscv64-gnu@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.75.1.tgz#11a774534511c374005a5e12c6b418a359e06f85" - integrity sha512-/JPJXjT/fkG699rlxzLNvQx0URjvzdk7oHln54F159ybgVJKLLWqb8M45Nhw5z6TeaIYyhwIqMNlrA7yb1Rlrw== +"@oxc-parser/binding-linux-riscv64-gnu@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.76.0.tgz#0e3e6567e78bcab5f29376d17512c428cdd7db64" + integrity sha512-0tqqu1pqPee2lLGY8vtYlX1L415fFn89e0a3yp4q5N9f03j1rRs0R31qesTm3bt/UK8HYjECZ+56FCVPs2MEMQ== -"@oxc-parser/binding-linux-s390x-gnu@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.75.1.tgz#fe4821a606aedcbaa703ae1056af41c14cb788b4" - integrity sha512-t6/E4j+2dT7/4R5hQNX4LBtR1+wxxtJNUVBD89YuiWHPgeEoghqSa0mGMrGyOZPbHMb4V8xdT/CrMMeDpuqRaQ== +"@oxc-parser/binding-linux-s390x-gnu@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.76.0.tgz#a37496f6b9f2976c40daba44e3b521822323d210" + integrity sha512-y36Hh1a5TA+oIGtlc8lT7N9vdHXBlhBetQJW0p457KbiVQ7jF7AZkaPWhESkjHWAsTVKD2OjCa9ZqfaqhSI0FQ== -"@oxc-parser/binding-linux-x64-gnu@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.75.1.tgz#9b8aaeb8e21939070fa6dd840bf15d2bb82d89d6" - integrity sha512-zJ2t+d1rV5dcPJHxN3B1Fxc2KDN+gPgdXtlzp0/EH4iO3s5OePpPvTTZA/d1vfPoQFiFOT7VYNmaD9XjHfMQaw== +"@oxc-parser/binding-linux-x64-gnu@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.76.0.tgz#ea13a10abe105f8ef29a36ae0285de7ed69488de" + integrity sha512-7/acaG9htovp3gp/J0kHgbItQTuHctl+rbqPPqZ9DRBYTz8iV8kv3QN8t8Or8i/hOmOjfZp9McDoSU1duoR4/A== -"@oxc-parser/binding-linux-x64-musl@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.75.1.tgz#f5e94288e0df3cb12509d5721c045172e06129a9" - integrity sha512-62hG/1IoOr0hpmGtF2k1MJUzAXLH7DH3fSAttZ1vEvDThhLplqA7jcqOP0IFMIVZ0kt9cA/rW5pF4tnXjiWeSA== +"@oxc-parser/binding-linux-x64-musl@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.76.0.tgz#6733905918333044865cb4d1e42988741fc54dc0" + integrity sha512-AxFt0reY6Q2rfudABmMTFGR8tFFr58NlH2rRBQgcj+F+iEwgJ+jMwAPhXd2y1I2zaI8GspuahedUYQinqxWqjA== -"@oxc-parser/binding-wasm32-wasi@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-wasm32-wasi/-/binding-wasm32-wasi-0.75.1.tgz#a4985c99850ce0ff1172500727607e75d18e673b" - integrity sha512-txS7vK0EU/1Ey7d1pxGrlp2q/JrxkvLU+r9c3gKxW9mVgvFMQzAxQhuc9tT3ZiS793pkvZ+C1w9GS2DpJi7QYg== +"@oxc-parser/binding-wasm32-wasi@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-wasm32-wasi/-/binding-wasm32-wasi-0.76.0.tgz#c47b50591e25b63d6d2ba7c34b5a71fa39c0a608" + integrity sha512-wHdkHdhf6AWBoO8vs5cpoR6zEFY1rB+fXWtq6j/xb9j/lu1evlujRVMkh8IM/M/pOUIrNkna3nzST/mRImiveQ== dependencies: "@napi-rs/wasm-runtime" "^0.2.11" -"@oxc-parser/binding-win32-arm64-msvc@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.75.1.tgz#3d10b64888b8ea6f119d30ed99c7c8ab3941af8d" - integrity sha512-/Rw/YLuMaSo8h0QyCniv0UFby5wDTghhswDCcFT2aCCgZaXUVQZrJ+0GJHB8tK72xhe5E6u34etpw/dxxH6E3A== +"@oxc-parser/binding-win32-arm64-msvc@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.76.0.tgz#3bd03fe4bfe792e9de2e6c492036c85314593b05" + integrity sha512-G7ZlEWcb2hNwCK3qalzqJoyB6HaTigQ/GEa7CU8sAJ/WwMdG/NnPqiC9IqpEAEy1ARSo4XMALfKbKNuqbSs5mg== -"@oxc-parser/binding-win32-x64-msvc@0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.75.1.tgz#786789c8c309dda2f728dbbe42246dd3b31fff15" - integrity sha512-ThiQUpCG2nYE/bnYM3fjIpcKbxITB/a/cf5VL0VAqtpsGNCzUC7TrwMVUdfBerTBTEZpwxWBf/d1EF1ggrtVfQ== +"@oxc-parser/binding-win32-x64-msvc@0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.76.0.tgz#3dbef82283f871c9cb59325c9daf4f740d11a6e9" + integrity sha512-0jLzzmnu8/mqNhKBnNS2lFUbPEzRdj5ReiZwHGHpjma0+ullmmwP2AqSEqx3ssHDK9CpcEMdKOK2LsbCfhHKIA== -"@oxc-project/types@^0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@oxc-project/types/-/types-0.75.1.tgz#31bf80634ace9971657b7fdcd02c778003b68081" - integrity sha512-7ZJy+51qWpZRvynaQUezeYfjCtaSdiXIWFUZIlOuTSfDXpXqnSl/m1IUPLx6XrOy6s0SFv3CLE14vcZy63bz7g== +"@oxc-project/types@^0.76.0": + version "0.76.0" + resolved "https://registry.yarnpkg.com/@oxc-project/types/-/types-0.76.0.tgz#89ae800d774ccb344278fc17ab6c15348da8b995" + integrity sha512-CH3THIrSViKal8yV/Wh3FK0pFhp40nzW1MUDCik9fNuid2D/7JJXKJnfFOAvMxInGXDlvmgT6ACAzrl47TqzkQ== "@parcel/watcher-android-arm64@2.5.1": version "2.5.1" @@ -1631,10 +1619,10 @@ resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.2.tgz#1cf95080bb7072fafaa3cb13b442fab4695c3893" integrity sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ== -"@pkgr/core@^0.2.4": - version "0.2.7" - resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.2.7.tgz#eb5014dfd0b03e7f3ba2eeeff506eed89b028058" - integrity sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg== +"@pkgr/core@^0.2.9": + version "0.2.9" + resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.2.9.tgz#d229a7b7f9dac167a156992ef23c7f023653f53b" + integrity sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA== "@polka/url@^1.0.0-next.24": version "1.0.0-next.29" @@ -1663,9 +1651,9 @@ integrity sha512-m7bpKCD4QMlFCjA/nKTs23fuvoVFoA83brRKmObCUNmi/9tVu8Ve3w4YQAnJu4q3Tjf5fr685HYIC/IA2zHRSg== "@rolldown/pluginutils@^1.0.0-beta.9": - version "1.0.0-beta.26" - resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.26.tgz#8f652fa4b870818747b121bc1530d22f6430d995" - integrity sha512-r/5po89voz/QRPDmoErL10+hVuTAuz1SHvokx+yWBlOIPB5C41jC7QhLqq9kaebx/+EHyoV3z22/qBfX81Ns8A== + version "1.0.0-beta.29" + resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.29.tgz#f8fc9a8788757dccba0d3b7fee93183621773d4c" + integrity sha512-NIJgOsMjbxAXvoGq/X0gD7VPMQ8j9g0BiDaNjVNVjvl+iKXxL3Jre0v31RmBYeLEmkbj2s02v8vFTbUXi5XS2Q== "@rollup/plugin-alias@^5.1.1": version "5.1.1" @@ -1738,105 +1726,105 @@ estree-walker "^2.0.2" picomatch "^4.0.2" -"@rollup/rollup-android-arm-eabi@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.44.2.tgz#6819b7f1e41a49af566f629a1556eaeea774d043" - integrity sha512-g0dF8P1e2QYPOj1gu7s/3LVP6kze9A7m6x0BZ9iTdXK8N5c2V7cpBKHV3/9A4Zd8xxavdhK0t4PnqjkqVmUc9Q== +"@rollup/rollup-android-arm-eabi@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.0.tgz#b7783a0b32aa633fa2735e9e1ac2de0c80207313" + integrity sha512-9f3nSTFI2ivfxc7/tHBHcJ8pRnp8ROrELvsVprlQPVvcZ+j5zztYd+PTJGpyIOAdTvNwNrpCXswKSeoQcyGjMQ== -"@rollup/rollup-android-arm64@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.44.2.tgz#7bd5591af68c64a75be1779e2b20f187878daba9" - integrity sha512-Yt5MKrOosSbSaAK5Y4J+vSiID57sOvpBNBR6K7xAaQvk3MkcNVV0f9fE20T+41WYN8hDn6SGFlFrKudtx4EoxA== +"@rollup/rollup-android-arm64@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.0.tgz#d2fb87e8d352ed15a5513817978b4b89f3547556" + integrity sha512-tFZSEhqJ8Yrpe50TzOdeoYi72gi/jsnT7y8Qrozf3cNu28WX+s6I3XzEPUAqoaT9SAS8Xz9AzGTFlxxCH/w20w== -"@rollup/rollup-darwin-arm64@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.44.2.tgz#e216c333e448c67973386e46dbfe8e381aafb055" - integrity sha512-EsnFot9ZieM35YNA26nhbLTJBHD0jTwWpPwmRVDzjylQT6gkar+zenfb8mHxWpRrbn+WytRRjE0WKsfaxBkVUA== +"@rollup/rollup-darwin-arm64@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.0.tgz#a4433c387b8ebec610445b631a42c474e8bc944c" + integrity sha512-+DikIIs+p6yU2hF51UaWG8BnHbq90X0QIOt5zqSKSZxY+G3qqdLih214e9InJal21af2PuuxkDectetGfbVPJw== -"@rollup/rollup-darwin-x64@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.44.2.tgz#202f80eea3acfe3f67496fedffa006a5f1ce7f5a" - integrity sha512-dv/t1t1RkCvJdWWxQ2lWOO+b7cMsVw5YFaS04oHpZRWehI1h0fV1gF4wgGCTyQHHjJDfbNpwOi6PXEafRBBezw== +"@rollup/rollup-darwin-x64@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.0.tgz#d1f2285c9324e2a9dd284702a4e8029fae77d731" + integrity sha512-5a+NofhdEB/WimSlFMskbFQn1vqz1FWryYpA99trmZGO6qEmiS0IsX6w4B3d91U878Q2ZQdiaFF1gxX4P147og== -"@rollup/rollup-freebsd-arm64@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.44.2.tgz#4880f9769f1a7eec436b9c146e1d714338c26567" - integrity sha512-W4tt4BLorKND4qeHElxDoim0+BsprFTwb+vriVQnFFtT/P6v/xO5I99xvYnVzKWrK6j7Hb0yp3x7V5LUbaeOMg== +"@rollup/rollup-freebsd-arm64@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.46.0.tgz#5ce48e85792cb149117ebc7e77907762532d1849" + integrity sha512-igr/RlKPS3OCy4jD3XBmAmo3UAcNZkJSubRsw1JeM8bAbwf15k/3eMZXD91bnjheijJiOJcga3kfCLKjV8IXNg== -"@rollup/rollup-freebsd-x64@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.44.2.tgz#647d6e333349b1c0fb322c2827ba1a53a0f10301" - integrity sha512-tdT1PHopokkuBVyHjvYehnIe20fxibxFCEhQP/96MDSOcyjM/shlTkZZLOufV3qO6/FQOSiJTBebhVc12JyPTA== +"@rollup/rollup-freebsd-x64@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.0.tgz#29c03ae6c7dcfa49ab6e1b3bb0f95711bed6cf79" + integrity sha512-MdigWzPSHlQzB1xZ+MdFDWTAH+kcn7UxjEBoOKuaso7z1DRlnAnrknB1mTtNOQ+GdPI8xgExAGwHeqQjntR0Cg== -"@rollup/rollup-linux-arm-gnueabihf@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.44.2.tgz#7ba5c97a7224f49618861d093c4a7b40fa50867b" - integrity sha512-+xmiDGGaSfIIOXMzkhJ++Oa0Gwvl9oXUeIiwarsdRXSe27HUIvjbSIpPxvnNsRebsNdUo7uAiQVgBD1hVriwSQ== +"@rollup/rollup-linux-arm-gnueabihf@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.0.tgz#2ffe0d9e8049386d8a625803ee30bc0ea6810281" + integrity sha512-dmZseE0ZwA/4yy1+BwFrDqFTjjNg24GO9xSrb1weVbt6AFkhp5pz1gVS7IMtfIvoWy8yp6q/zN0bKnefRUImvQ== -"@rollup/rollup-linux-arm-musleabihf@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.44.2.tgz#f858dcf498299d6c625ec697a5191e0e41423905" - integrity sha512-bDHvhzOfORk3wt8yxIra8N4k/N0MnKInCW5OGZaeDYa/hMrdPaJzo7CSkjKZqX4JFUWjUGm88lI6QJLCM7lDrA== +"@rollup/rollup-linux-arm-musleabihf@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.0.tgz#ab01d5b33bf67fd5b6ec48deb812800e235501a1" + integrity sha512-fzhfn6p9Cfm3W8UrWKIa4l7Wfjs/KGdgaswMBBE3KY3Ta43jg2XsPrAtfezHpsRk0Nx+TFuS3hZk/To2N5kFPQ== -"@rollup/rollup-linux-arm64-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.44.2.tgz#c0f1fc20c50666c61f574536a00cdd486b6aaae1" - integrity sha512-NMsDEsDiYghTbeZWEGnNi4F0hSbGnsuOG+VnNvxkKg0IGDvFh7UVpM/14mnMwxRxUf9AdAVJgHPvKXf6FpMB7A== +"@rollup/rollup-linux-arm64-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.0.tgz#7eef79d5c8cd7ba0eadd3d23e9fec0d532bcd307" + integrity sha512-vVDD+iPDPmJQ5nAQ5Tifq3ywdv60FartglFI8VOCK+hcU9aoG0qlQTsDJP97O5yiTaTqlneZWoARMcVC5nyUoQ== -"@rollup/rollup-linux-arm64-musl@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.44.2.tgz#0214efc3e404ddf108e946ad5f7e4ee2792a155a" - integrity sha512-lb5bxXnxXglVq+7imxykIp5xMq+idehfl+wOgiiix0191av84OqbjUED+PRC5OA8eFJYj5xAGcpAZ0pF2MnW+A== +"@rollup/rollup-linux-arm64-musl@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.0.tgz#87bbcd241fc8a79d23be1ffd333b8e5c4e4604ee" + integrity sha512-0d0jx08fzDHCzXqrtCMEEyxKU0SvJrWmUjUDE2/KDQ2UDJql0tfiwYvEx1oHELClKO8CNdE+AGJj+RqXscZpdQ== -"@rollup/rollup-linux-loongarch64-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.44.2.tgz#8303c4ea2ae7bcbb96b2c77cfb53527d964bfceb" - integrity sha512-Yl5Rdpf9pIc4GW1PmkUGHdMtbx0fBLE1//SxDmuf3X0dUC57+zMepow2LK0V21661cjXdTn8hO2tXDdAWAqE5g== +"@rollup/rollup-linux-loongarch64-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.0.tgz#a5207714d3dca6cc4de95204901a95bcc17614e7" + integrity sha512-XBYu9oW9eKJadWn8M7hkTZsD4yG+RrsTrVEgyKwb4L72cpJjRbRboTG9Lg9fec8MxJp/cfTHAocg4mnismQR8A== -"@rollup/rollup-linux-powerpc64le-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.44.2.tgz#4197ffbc61809629094c0fccf825e43a40fbc0ca" - integrity sha512-03vUDH+w55s680YYryyr78jsO1RWU9ocRMaeV2vMniJJW/6HhoTBwyyiiTPVHNWLnhsnwcQ0oH3S9JSBEKuyqw== +"@rollup/rollup-linux-ppc64-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.0.tgz#e231fd7c5a7b18dbef04a0f93f6b7618a8e73282" + integrity sha512-wJaRvcT17PoOK6Ggcfo3nouFlybHvARBS4jzT0PC/lg17fIJHcDS2fZz3sD+iA4nRlho2zE6OGbU0HvwATdokQ== -"@rollup/rollup-linux-riscv64-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.44.2.tgz#bcb99c9004c9b91e3704a6a70c892cb0599b1f42" - integrity sha512-iYtAqBg5eEMG4dEfVlkqo05xMOk6y/JXIToRca2bAWuqjrJYJlx/I7+Z+4hSrsWU8GdJDFPL4ktV3dy4yBSrzg== +"@rollup/rollup-linux-riscv64-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.0.tgz#e4ef1760ee218cad43f441a7bb59b6131664197d" + integrity sha512-GZ5bkMFteAGkcmh8x0Ok4LSa+L62Ez0tMsHPX6JtR0wl4Xc3bQcrFHDiR5DGLEDFtGrXih4Nd/UDaFqs968/wA== -"@rollup/rollup-linux-riscv64-musl@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.44.2.tgz#3e943bae9b8b4637c573c1922392beb8a5e81acb" - integrity sha512-e6vEbgaaqz2yEHqtkPXa28fFuBGmUJ0N2dOJK8YUfijejInt9gfCSA7YDdJ4nYlv67JfP3+PSWFX4IVw/xRIPg== +"@rollup/rollup-linux-riscv64-musl@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.0.tgz#dc49cb69aee50a7135b486a5db8f47146f465f5d" + integrity sha512-7CjPw6FflFsVOUfWOrVrREiV3IYXG4RzZ1ZQUaT3BtSK8YXN6x286o+sruPZJESIaPebYuFowmg54ZdrkVBYog== -"@rollup/rollup-linux-s390x-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.44.2.tgz#dc43fb467bff9547f5b9937f38668da07fa8fa9f" - integrity sha512-evFOtkmVdY3udE+0QKrV5wBx7bKI0iHz5yEVx5WqDJkxp9YQefy4Mpx3RajIVcM6o7jxTvVd/qpC1IXUhGc1Mw== +"@rollup/rollup-linux-s390x-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.0.tgz#467c43e7c39ee519c9c76d6f75fc22c0b095768e" + integrity sha512-nmvnl0ZiuysltcB/cKjUh40Rx4FbSyueERDsl2FLvLYr6pCgSsvGr3SocUT84svSpmloS7f1DRWqtRha74Gi1w== -"@rollup/rollup-linux-x64-gnu@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.2.tgz#0699c560fa6ce6b846581a7e6c30c85c22a3f0da" - integrity sha512-/bXb0bEsWMyEkIsUL2Yt5nFB5naLAwyOWMEviQfQY1x3l5WsLKgvZf66TM7UTfED6erckUVUJQ/jJ1FSpm3pRQ== +"@rollup/rollup-linux-x64-gnu@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.0.tgz#f094a39afaa12c26e08338a2b5d6bd63cc63ec9a" + integrity sha512-Cv+moII5C8RM6gZbR3cb21o6rquVDZrN2o81maROg1LFzBz2dZUwIQSxFA8GtGZ/F2KtsqQ2z3eFPBb6akvQNg== -"@rollup/rollup-linux-x64-musl@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.44.2.tgz#9fb1becedcdc9e227d4748576eb8ba2fad8d2e29" - integrity sha512-3D3OB1vSSBXmkGEZR27uiMRNiwN08/RVAcBKwhUYPaiZ8bcvdeEwWPvbnXvvXHY+A/7xluzcN+kaiOFNiOZwWg== +"@rollup/rollup-linux-x64-musl@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.0.tgz#173ddb452911847fc2ec8387f410378fcf88a951" + integrity sha512-PHcMG8DZTM9RCIjp8QIfN0VYtX0TtBPnWOTRurFhoCDoi9zptUZL2k7pCs+5rgut7JAiUsYy+huyhVKPcmxoog== -"@rollup/rollup-win32-arm64-msvc@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.44.2.tgz#fcf3e62edd76c560252b819f69627685f65887d7" - integrity sha512-VfU0fsMK+rwdK8mwODqYeM2hDrF2WiHaSmCBrS7gColkQft95/8tphyzv2EupVxn3iE0FI78wzffoULH1G+dkw== +"@rollup/rollup-win32-arm64-msvc@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.0.tgz#91a1b3199aedc5cd51004b21f6c465d3cf74d5d0" + integrity sha512-1SI/Rd47e8aQJeFWMDg16ET+fjvCcD/CzeaRmIEPmb05hx+3cCcwIF4ebUag4yTt/D1peE+Mgp0+Po3M358cAA== -"@rollup/rollup-win32-ia32-msvc@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.44.2.tgz#45a5304491d6da4666f6159be4f739d4d43a283f" - integrity sha512-+qMUrkbUurpE6DVRjiJCNGZBGo9xM4Y0FXU5cjgudWqIBWbcLkjE3XprJUsOFgC6xjBClwVa9k6O3A7K3vxb5Q== +"@rollup/rollup-win32-ia32-msvc@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.0.tgz#da901027ad9753faa93412ed3fd9e6cacb6c8659" + integrity sha512-JwOCYxmumFDfDhx4kNyz6kTVK3gWzBIvVdMNzQMRDubcoGRDniOOmo6DDNP42qwZx3Bp9/6vWJ+kNzNqXoHmeA== -"@rollup/rollup-win32-x64-msvc@4.44.2": - version "4.44.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.44.2.tgz#660018c9696ad4f48abe8c5d56db53c81aadba25" - integrity sha512-3+QZROYfJ25PDcxFF66UEk8jGWigHJeecZILvkPkyQN7oc5BvFo4YEXFkOs154j3FTMp9mn9Ky8RCOwastduEA== +"@rollup/rollup-win32-x64-msvc@4.46.0": + version "4.46.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.0.tgz#a45b0f6f45c86e355a85ba3c753bf0f59541c2c7" + integrity sha512-IPMIfrfkG1GaEXi+JSsQEx8x9b4b+hRZXO7KYc2pKio3zO2/VDXDs6B9Ts/nnO+25Fk1tdAVtUn60HKKPPzDig== "@sindresorhus/is@^7.0.2": version "7.0.2" @@ -1858,17 +1846,17 @@ resolved "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.0.0.tgz#f193b73dc316c4170f2e82a881da0f550d551b9c" integrity sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA== -"@stylistic/eslint-plugin@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-5.1.0.tgz#98769a3e6fc68d92deba20538341b0ea7923b3ce" - integrity sha512-TJRJul4u/lmry5N/kyCU+7RWWOk0wyXN+BncRlDYBqpLFnzXkd7QGVfN7KewarFIXv0IX0jSF/Ksu7aHWEDeuw== +"@stylistic/eslint-plugin@^5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-5.2.2.tgz#a1cb24f17263e1dcb2d5c94069dc3ae7af1eb9ce" + integrity sha512-bE2DUjruqXlHYP3Q2Gpqiuj2bHq7/88FnuaS0FjeGGLCy+X6a07bGVuwtiOYnPSLHR6jmx5Bwdv+j7l8H+G97A== dependencies: "@eslint-community/eslint-utils" "^4.7.0" - "@typescript-eslint/types" "^8.34.1" + "@typescript-eslint/types" "^8.37.0" eslint-visitor-keys "^4.2.1" espree "^10.4.0" estraverse "^5.3.0" - picomatch "^4.0.2" + picomatch "^4.0.3" "@swc/helpers@^0.5.0", "@swc/helpers@^0.5.12": version "0.5.17" @@ -2005,10 +1993,10 @@ dependencies: remove-accents "0.5.0" -"@tanstack/query-core@5.82.0": - version "5.82.0" - resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.82.0.tgz#91994ad15a58cc38648e649027a0e6265196313f" - integrity sha512-JrjoVuaajBQtnoWSg8iaPHaT4mW73lK2t+exxHNOSMqy0+13eKLqJgTKXKImLejQIfdAHQ6Un0njEhOvUtOd5w== +"@tanstack/query-core@5.83.0": + version "5.83.0" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.83.0.tgz#ac3bf337007bb7ea97b1fd2e7c3ceb4240f36dbc" + integrity sha512-0M8dA+amXUkyz5cVUm/B+zSk3xkQAcuXuz5/Q/LveT4ots2rBpPTZOzd7yJa2Utsf8D2Upl5KyjhHRY+9lB/XA== "@tanstack/table-core@8.21.3": version "8.21.3" @@ -2021,12 +2009,12 @@ integrity sha512-1YBOJfRHV4sXUmWsFSf5rQor4Ss82G8dQWLRbnk3GA4jeP8hQt1hxXh0tmflpC0dz3VgEv/1+qwPyLeWkQuPFA== "@tanstack/vue-query@^5.75.5": - version "5.82.0" - resolved "https://registry.yarnpkg.com/@tanstack/vue-query/-/vue-query-5.82.0.tgz#ed5d27ef8eed540709556e7dc4777a2cadf8cb79" - integrity sha512-e+cb8OFuEetYd7q6U3g3yjqDDrAZ6rzxSlifjOy3tvJdopwTMDAyo65h4df/b+BrwcJRaPjsLk/b9H1gZrhv1g== + version "5.83.0" + resolved "https://registry.yarnpkg.com/@tanstack/vue-query/-/vue-query-5.83.0.tgz#79e9329d9a8e7ee2b317df062c0abb8408102c41" + integrity sha512-sC3nnFEyAPOV4aGgt36ILrFIoR42UzRb+kqva96tiT3c80PCX99wDnVC5P01uxw6b3PaH7AD60HFFLBMFCKYow== dependencies: "@tanstack/match-sorter-utils" "^8.19.4" - "@tanstack/query-core" "5.82.0" + "@tanstack/query-core" "5.83.0" "@vue/devtools-api" "^6.6.3" vue-demi "^0.14.10" @@ -2093,9 +2081,9 @@ integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA== "@types/node@*": - version "24.0.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.0.13.tgz#93ed8c05c7b188a59760be0ce2ee3fa7ad0f83f6" - integrity sha512-Qm9OYVOFHFYg3wJoTSrz80hoec5Lia/dPp84do3X7dZvLikQvM1YpmvTBEdIr/e+U8HTkFjLHLnl78K/qjf+jQ== + version "24.1.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.1.0.tgz#0993f7dc31ab5cc402d112315b463e383d68a49c" + integrity sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w== dependencies: undici-types "~7.8.0" @@ -2148,78 +2136,79 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@^8.35.1": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.36.0.tgz#880ce277f8a30ccf539ec027acac157088f131ae" - integrity sha512-lZNihHUVB6ZZiPBNgOQGSxUASI7UJWhT8nHyUGCnaQ28XFCw98IfrMCG3rUl1uwUWoAvodJQby2KTs79UTcrAg== +"@typescript-eslint/eslint-plugin@^8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz#6e5220d16f2691ab6d983c1737dd5b36e17641b7" + integrity sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.36.0" - "@typescript-eslint/type-utils" "8.36.0" - "@typescript-eslint/utils" "8.36.0" - "@typescript-eslint/visitor-keys" "8.36.0" + "@typescript-eslint/scope-manager" "8.38.0" + "@typescript-eslint/type-utils" "8.38.0" + "@typescript-eslint/utils" "8.38.0" + "@typescript-eslint/visitor-keys" "8.38.0" graphemer "^1.4.0" ignore "^7.0.0" natural-compare "^1.4.0" ts-api-utils "^2.1.0" -"@typescript-eslint/parser@^8.35.1": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.36.0.tgz#003007fe2030013936b6634b9cf52c457d36ed42" - integrity sha512-FuYgkHwZLuPbZjQHzJXrtXreJdFMKl16BFYyRrLxDhWr6Qr7Kbcu2s1Yhu8tsiMXw1S0W1pjfFfYEt+R604s+Q== +"@typescript-eslint/parser@^8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.38.0.tgz#6723a5ea881e1777956b1045cba30be5ea838293" + integrity sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ== dependencies: - "@typescript-eslint/scope-manager" "8.36.0" - "@typescript-eslint/types" "8.36.0" - "@typescript-eslint/typescript-estree" "8.36.0" - "@typescript-eslint/visitor-keys" "8.36.0" + "@typescript-eslint/scope-manager" "8.38.0" + "@typescript-eslint/types" "8.38.0" + "@typescript-eslint/typescript-estree" "8.38.0" + "@typescript-eslint/visitor-keys" "8.38.0" debug "^4.3.4" -"@typescript-eslint/project-service@8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.36.0.tgz#0c4acdcbe56476a43cdabaac1f08819424a379fd" - integrity sha512-JAhQFIABkWccQYeLMrHadu/fhpzmSQ1F1KXkpzqiVxA/iYI6UnRt2trqXHt1sYEcw1mxLnB9rKMsOxXPxowN/g== +"@typescript-eslint/project-service@8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.38.0.tgz#4900771f943163027fd7d2020a062892056b5e2f" + integrity sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg== dependencies: - "@typescript-eslint/tsconfig-utils" "^8.36.0" - "@typescript-eslint/types" "^8.36.0" + "@typescript-eslint/tsconfig-utils" "^8.38.0" + "@typescript-eslint/types" "^8.38.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.36.0.tgz#23e4196ed07d7ea3737a584fbebc9a79c3835168" - integrity sha512-wCnapIKnDkN62fYtTGv2+RY8FlnBYA3tNm0fm91kc2BjPhV2vIjwwozJ7LToaLAyb1ca8BxrS7vT+Pvvf7RvqA== +"@typescript-eslint/scope-manager@8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz#5a0efcb5c9cf6e4121b58f87972f567c69529226" + integrity sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ== dependencies: - "@typescript-eslint/types" "8.36.0" - "@typescript-eslint/visitor-keys" "8.36.0" + "@typescript-eslint/types" "8.38.0" + "@typescript-eslint/visitor-keys" "8.38.0" -"@typescript-eslint/tsconfig-utils@8.36.0", "@typescript-eslint/tsconfig-utils@^8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.36.0.tgz#63ef8a20ae9b5754c6ceacbe87b2fe1aab12ba13" - integrity sha512-Nhh3TIEgN18mNbdXpd5Q8mSCBnrZQeY9V7Ca3dqYvNDStNIGRmJA6dmrIPMJ0kow3C7gcQbpsG2rPzy1Ks/AnA== +"@typescript-eslint/tsconfig-utils@8.38.0", "@typescript-eslint/tsconfig-utils@^8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz#6de4ce224a779601a8df667db56527255c42c4d0" + integrity sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ== -"@typescript-eslint/type-utils@8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.36.0.tgz#16b092c2cbbb5549f6a4df1382a481586850502f" - integrity sha512-5aaGYG8cVDd6cxfk/ynpYzxBRZJk7w/ymto6uiyUFtdCozQIsQWh7M28/6r57Fwkbweng8qAzoMCPwSJfWlmsg== +"@typescript-eslint/type-utils@8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz#a56cd84765fa6ec135fe252b5db61e304403a85b" + integrity sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg== dependencies: - "@typescript-eslint/typescript-estree" "8.36.0" - "@typescript-eslint/utils" "8.36.0" + "@typescript-eslint/types" "8.38.0" + "@typescript-eslint/typescript-estree" "8.38.0" + "@typescript-eslint/utils" "8.38.0" debug "^4.3.4" ts-api-utils "^2.1.0" -"@typescript-eslint/types@8.36.0", "@typescript-eslint/types@^8.11.0", "@typescript-eslint/types@^8.34.0", "@typescript-eslint/types@^8.34.1", "@typescript-eslint/types@^8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.36.0.tgz#d3d184adc2899e2912c13b17c1590486ef37c7ac" - integrity sha512-xGms6l5cTJKQPZOKM75Dl9yBfNdGeLRsIyufewnxT4vZTrjC0ImQT4fj8QmtJK84F58uSh5HVBSANwcfiXxABQ== +"@typescript-eslint/types@8.38.0", "@typescript-eslint/types@^8.11.0", "@typescript-eslint/types@^8.34.0", "@typescript-eslint/types@^8.34.1", "@typescript-eslint/types@^8.37.0", "@typescript-eslint/types@^8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.38.0.tgz#297351c994976b93c82ac0f0e206c8143aa82529" + integrity sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw== -"@typescript-eslint/typescript-estree@8.36.0", "@typescript-eslint/typescript-estree@^8.23.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.36.0.tgz#344857fa79f71715369554a3cbb6b4ff8695a7bc" - integrity sha512-JaS8bDVrfVJX4av0jLpe4ye0BpAaUW7+tnS4Y4ETa3q7NoZgzYbN9zDQTJ8kPb5fQ4n0hliAt9tA4Pfs2zA2Hg== +"@typescript-eslint/typescript-estree@8.38.0", "@typescript-eslint/typescript-estree@^8.23.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz#82262199eb6778bba28a319e25ad05b1158957df" + integrity sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ== dependencies: - "@typescript-eslint/project-service" "8.36.0" - "@typescript-eslint/tsconfig-utils" "8.36.0" - "@typescript-eslint/types" "8.36.0" - "@typescript-eslint/visitor-keys" "8.36.0" + "@typescript-eslint/project-service" "8.38.0" + "@typescript-eslint/tsconfig-utils" "8.38.0" + "@typescript-eslint/types" "8.38.0" + "@typescript-eslint/visitor-keys" "8.38.0" debug "^4.3.4" fast-glob "^3.3.2" is-glob "^4.0.3" @@ -2227,25 +2216,25 @@ semver "^7.6.0" ts-api-utils "^2.1.0" -"@typescript-eslint/utils@8.36.0", "@typescript-eslint/utils@^8.24.1", "@typescript-eslint/utils@^8.34.1": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.36.0.tgz#2c9af5292f14e0aa4b0e9c7ac0406afafb299acf" - integrity sha512-VOqmHu42aEMT+P2qYjylw6zP/3E/HvptRwdn/PZxyV27KhZg2IOszXod4NcXisWzPAGSS4trE/g4moNj6XmH2g== +"@typescript-eslint/utils@8.38.0", "@typescript-eslint/utils@^8.24.1", "@typescript-eslint/utils@^8.34.1": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.38.0.tgz#5f10159899d30eb92ba70e642ca6f754bddbf15a" + integrity sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg== dependencies: "@eslint-community/eslint-utils" "^4.7.0" - "@typescript-eslint/scope-manager" "8.36.0" - "@typescript-eslint/types" "8.36.0" - "@typescript-eslint/typescript-estree" "8.36.0" + "@typescript-eslint/scope-manager" "8.38.0" + "@typescript-eslint/types" "8.38.0" + "@typescript-eslint/typescript-estree" "8.38.0" -"@typescript-eslint/visitor-keys@8.36.0": - version "8.36.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.36.0.tgz#7dc6ba4dd037979eb3a3bdd2093aa3604bb73674" - integrity sha512-vZrhV2lRPWDuGoxcmrzRZyxAggPL+qp3WzUrlZD+slFueDiYHxeBa34dUXPuC0RmGKzl4lS5kFJYvKCq9cnNDA== +"@typescript-eslint/visitor-keys@8.38.0": + version "8.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz#a9765a527b082cb8fc60fd8a16e47c7ad5b60ea5" + integrity sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g== dependencies: - "@typescript-eslint/types" "8.36.0" + "@typescript-eslint/types" "8.38.0" eslint-visitor-keys "^4.2.1" -"@unhead/vue@^2.0.10", "@unhead/vue@^2.0.11": +"@unhead/vue@^2.0.10", "@unhead/vue@^2.0.12": version "2.0.12" resolved "https://registry.yarnpkg.com/@unhead/vue/-/vue-2.0.12.tgz#65b4b3d61f928d6969ff33728d53311c5b31c8ee" integrity sha512-WFaiCVbBd39FK6Bx3GQskhgT9s45Vjx6dRQegYheVwU1AnF+FAfJVgWbrl21p6fRJcLAFp0xDz6wE18JYBM0eQ== @@ -2335,47 +2324,47 @@ "@babel/parser" "^7.26.9" "@vue/compiler-sfc" "^3.5.13" -"@vue/compiler-core@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.17.tgz#23d291bd01b863da3ef2e26e7db84d8e01a9b4c5" - integrity sha512-Xe+AittLbAyV0pabcN7cP7/BenRBNcteM4aSDCtRvGw0d9OL+HG1u/XHLY/kt1q4fyMeZYXyIYrsHuPSiDPosA== +"@vue/compiler-core@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.18.tgz#521a138cdd970d9bfd27e42168d12f77a04b2074" + integrity sha512-3slwjQrrV1TO8MoXgy3aynDQ7lslj5UqDxuHnrzHtpON5CBinhWjJETciPngpin/T3OuW3tXUf86tEurusnztw== dependencies: - "@babel/parser" "^7.27.5" - "@vue/shared" "3.5.17" + "@babel/parser" "^7.28.0" + "@vue/shared" "3.5.18" entities "^4.5.0" estree-walker "^2.0.2" source-map-js "^1.2.1" -"@vue/compiler-dom@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.17.tgz#7bc19a20e23b670243a64b47ce3a890239b870be" - integrity sha512-+2UgfLKoaNLhgfhV5Ihnk6wB4ljyW1/7wUIog2puUqajiC29Lp5R/IKDdkebh9jTbTogTbsgB+OY9cEWzG95JQ== +"@vue/compiler-dom@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.18.tgz#e13504492c3061ec5bbe6a2e789f15261d4f03a7" + integrity sha512-RMbU6NTU70++B1JyVJbNbeFkK+A+Q7y9XKE2EM4NLGm2WFR8x9MbAtWxPPLdm0wUkuZv9trpwfSlL6tjdIa1+A== dependencies: - "@vue/compiler-core" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/compiler-core" "3.5.18" + "@vue/shared" "3.5.18" -"@vue/compiler-sfc@3.5.17", "@vue/compiler-sfc@^3.5.13", "@vue/compiler-sfc@^3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.17.tgz#c518871276e26593612bdab36f3f5bcd053b13bf" - integrity sha512-rQQxbRJMgTqwRugtjw0cnyQv9cP4/4BxWfTdRBkqsTfLOHWykLzbOc3C4GGzAmdMDxhzU/1Ija5bTjMVrddqww== +"@vue/compiler-sfc@3.5.18", "@vue/compiler-sfc@^3.5.13", "@vue/compiler-sfc@^3.5.17": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.18.tgz#ba1e849561337d809937994cdaf900539542eeca" + integrity sha512-5aBjvGqsWs+MoxswZPoTB9nSDb3dhd1x30xrrltKujlCxo48j8HGDNj3QPhF4VIS0VQDUrA1xUfp2hEa+FNyXA== dependencies: - "@babel/parser" "^7.27.5" - "@vue/compiler-core" "3.5.17" - "@vue/compiler-dom" "3.5.17" - "@vue/compiler-ssr" "3.5.17" - "@vue/shared" "3.5.17" + "@babel/parser" "^7.28.0" + "@vue/compiler-core" "3.5.18" + "@vue/compiler-dom" "3.5.18" + "@vue/compiler-ssr" "3.5.18" + "@vue/shared" "3.5.18" estree-walker "^2.0.2" magic-string "^0.30.17" postcss "^8.5.6" source-map-js "^1.2.1" -"@vue/compiler-ssr@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.17.tgz#14ba3b7bba6e0e1fd02002316263165a5d1046c7" - integrity sha512-hkDbA0Q20ZzGgpj5uZjb9rBzQtIHLS78mMilwrlpWk2Ep37DYntUz0PonQ6kr113vfOEdM+zTBuJDaceNIW0tQ== +"@vue/compiler-ssr@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.18.tgz#aecde0b0bff268a9c9014ba66799307c4a784328" + integrity sha512-xM16Ak7rSWHkM3m22NlmcdIM+K4BMyFARAfV9hYFl+SFuRzrZ3uGMNW05kA5pmeMa0X9X963Kgou7ufdbpOP9g== dependencies: - "@vue/compiler-dom" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/compiler-dom" "3.5.18" + "@vue/shared" "3.5.18" "@vue/devtools-api@^6.6.3", "@vue/devtools-api@^6.6.4": version "6.6.4" @@ -2414,43 +2403,43 @@ dependencies: rfdc "^1.4.1" -"@vue/reactivity@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.17.tgz#169b5dcf96c7f23788e5ed9745ec8a7227f2125e" - integrity sha512-l/rmw2STIscWi7SNJp708FK4Kofs97zc/5aEPQh4bOsReD/8ICuBcEmS7KGwDj5ODQLYWVN2lNibKJL1z5b+Lw== +"@vue/reactivity@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.18.tgz#fe32166e3938832c54b4134e60e9b58ca7d9bdb4" + integrity sha512-x0vPO5Imw+3sChLM5Y+B6G1zPjwdOri9e8V21NnTnlEvkxatHEH5B5KEAJcjuzQ7BsjGrKtfzuQ5eQwXh8HXBg== dependencies: - "@vue/shared" "3.5.17" + "@vue/shared" "3.5.18" -"@vue/runtime-core@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.17.tgz#b17bd41e13011e85e9b1025545292d43f5512730" - integrity sha512-QQLXa20dHg1R0ri4bjKeGFKEkJA7MMBxrKo2G+gJikmumRS7PTD4BOU9FKrDQWMKowz7frJJGqBffYMgQYS96Q== +"@vue/runtime-core@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.18.tgz#9e9ae8b9491548b53d0cea2bf25746d27c52e191" + integrity sha512-DUpHa1HpeOQEt6+3nheUfqVXRog2kivkXHUhoqJiKR33SO4x+a5uNOMkV487WPerQkL0vUuRvq/7JhRgLW3S+w== dependencies: - "@vue/reactivity" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/reactivity" "3.5.18" + "@vue/shared" "3.5.18" -"@vue/runtime-dom@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.17.tgz#8e325e29cd03097fe179032fc8df384a426fc83a" - integrity sha512-8El0M60TcwZ1QMz4/os2MdlQECgGoVHPuLnQBU3m9h3gdNRW9xRmI8iLS4t/22OQlOE6aJvNNlBiCzPHur4H9g== +"@vue/runtime-dom@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.18.tgz#1150952d1048b5822e4f1dd8aed24665cbb22107" + integrity sha512-YwDj71iV05j4RnzZnZtGaXwPoUWeRsqinblgVJwR8XTXYZ9D5PbahHQgsbmzUvCWNF6x7siQ89HgnX5eWkr3mw== dependencies: - "@vue/reactivity" "3.5.17" - "@vue/runtime-core" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/reactivity" "3.5.18" + "@vue/runtime-core" "3.5.18" + "@vue/shared" "3.5.18" csstype "^3.1.3" -"@vue/server-renderer@3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.17.tgz#9b8fd6a40a3d55322509fafe78ac841ede649fbe" - integrity sha512-BOHhm8HalujY6lmC3DbqF6uXN/K00uWiEeF22LfEsm9Q93XeJ/plHTepGwf6tqFcF7GA5oGSSAAUock3VvzaCA== +"@vue/server-renderer@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.18.tgz#e9fa267b95b3a1d8cddca762377e5de2ae9122bd" + integrity sha512-PvIHLUoWgSbDG7zLHqSqaCoZvHi6NNmfVFOqO+OnwvqMz/tqQr3FuGWS8ufluNddk7ZLBJYMrjcw1c6XzR12mA== dependencies: - "@vue/compiler-ssr" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/compiler-ssr" "3.5.18" + "@vue/shared" "3.5.18" -"@vue/shared@3.5.17", "@vue/shared@^3.5.13", "@vue/shared@^3.5.17": - version "3.5.17" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.17.tgz#e8b3a41f0be76499882a89e8ed40d86a70fa4b70" - integrity sha512-CabR+UN630VnsJO/jHWYBC1YVXyMq94KKp6iF5MQgZJs5I8cmjw6oVMO1oDbtBkENSHSSn/UadWlW/OAgdmKrg== +"@vue/shared@3.5.18", "@vue/shared@^3.5.13", "@vue/shared@^3.5.17": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.18.tgz#529f24a88d3ed678d50fd5c07455841fbe8ac95e" + integrity sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA== "@vueuse/core@13.5.0", "@vueuse/core@^13.1.0", "@vueuse/core@^13.4.0": version "13.5.0" @@ -2532,17 +2521,17 @@ tslib "^2.6.3" "@whatwg-node/fetch@^0.10.5": - version "0.10.8" - resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.10.8.tgz#1467f9505826fa7271c67dfaf0d7251ab8c2b9cc" - integrity sha512-Rw9z3ctmeEj8QIB9MavkNJqekiu9usBCSMZa+uuAvM0lF3v70oQVCXNppMIqaV6OTZbdaHF1M2HLow58DEw+wg== + version "0.10.9" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.10.9.tgz#ac7b5fe966c7df0f124695a40dce8fc63ea97f07" + integrity sha512-2TaXKmjy53cybNtaAtzbPOzwIPkjXbzvZcimnaJxQwYXKSC8iYnWoZOyT4+CFt8w0KDieg5J5dIMNzUrW/UZ5g== dependencies: - "@whatwg-node/node-fetch" "^0.7.21" + "@whatwg-node/node-fetch" "^0.7.22" urlpattern-polyfill "^10.0.0" -"@whatwg-node/node-fetch@^0.7.21": - version "0.7.21" - resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.21.tgz#ba944eea7684047c91ac7f50097243633f6c9f5f" - integrity sha512-QC16IdsEyIW7kZd77aodrMO7zAoDyyqRCTLg+qG4wqtP4JV9AA+p7/lgqMdD29XyiYdVvIdFrfI9yh7B1QvRvw== +"@whatwg-node/node-fetch@^0.7.22": + version "0.7.22" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.22.tgz#9f56970ce0abd2a2680e5d22cff0ea871eeb4f85" + integrity sha512-h4GGjGF2vH3kGJ/fEOeg9Xfu4ncoyRwFcjGIxr/5dTBgZNVwq888byIsZ+XXRDJnNnRlzVVVQDcqrZpY2yctGA== dependencies: "@fastify/busboy" "^3.1.1" "@whatwg-node/disposablestack" "^0.0.6" @@ -2717,11 +2706,6 @@ async@^3.2.3, async@^3.2.4: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - autoprefixer@^10.4.21: version "10.4.21" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.21.tgz#77189468e7a8ad1d9a37fbc08efc9f480cf0a95d" @@ -2734,15 +2718,6 @@ autoprefixer@^10.4.21: picocolors "^1.1.1" postcss-value-parser "^4.2.0" -axios@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.10.0.tgz#af320aee8632eaf2a400b6a1979fa75856f38d54" - integrity sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - b4a@^1.6.4: version "1.6.7" resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.7.tgz#a99587d4ebbfbd5a6e3b21bdb5d5fa385767abe4" @@ -2804,9 +2779,9 @@ bindings@^1.4.0: file-uri-to-path "1.0.0" birpc@^2.3.0, birpc@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/birpc/-/birpc-2.4.0.tgz#045368a4a30d659c6c06c9215b11cb384903249c" - integrity sha512-5IdNxTyhXHv2UlgnPHQ0h+5ypVmkrYHzL8QT+DwFZ//2N/oNV8Ch+BCRmTJ3x6/z9Axo/cXYBc9eprsUVK/Jsg== + version "2.5.0" + resolved "https://registry.yarnpkg.com/birpc/-/birpc-2.5.0.tgz#3a014e54c17eceba0ce15738d484ea371dbf6527" + integrity sha512-VSWO/W6nNQdyP520F1mhf+Lc2f8pjGQOtoHHm7Ze8Go1kX7akpVIrtTa0fn+HB0QJEDVacl6aO08YE0PgXfdnQ== bl@^4.0.3: version "4.1.0" @@ -2856,7 +2831,7 @@ brotli@^1.3.2: dependencies: base64-js "^1.1.2" -browserslist@^4.0.0, browserslist@^4.24.0, browserslist@^4.24.4, browserslist@^4.24.5, browserslist@^4.25.1: +browserslist@^4.0.0, browserslist@^4.24.0, browserslist@^4.24.4, browserslist@^4.25.1: version "4.25.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.25.1.tgz#ba9e8e6f298a1d86f829c9b975e07948967bb111" integrity sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw== @@ -2914,22 +2889,22 @@ bundle-name@^4.1.0: dependencies: run-applescript "^7.0.0" -c12@^3.0.3, c12@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/c12/-/c12-3.0.4.tgz#2d65d9ba8f6958bd88f65013f54e15140332099b" - integrity sha512-t5FaZTYbbCtvxuZq9xxIruYydrAGsJ+8UdP0pZzMiK2xl/gNiSOy0OxhLzHUEEb0m1QXYqfzfvyIFEmz/g9lqg== +c12@^3.0.4, c12@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/c12/-/c12-3.1.0.tgz#9e237970e1d3b74ebae51d25945cb59664c12c89" + integrity sha512-uWoS8OU1MEIsOv8p/5a82c3H31LsWVR5qiyXVfBNOzfffjUWtPnhAb4BYI2uG2HfGmZmFjCtui5XNWaps+iFuw== dependencies: chokidar "^4.0.3" confbox "^0.2.2" defu "^6.1.4" - dotenv "^16.5.0" - exsolve "^1.0.5" + dotenv "^16.6.1" + exsolve "^1.0.7" giget "^2.0.0" jiti "^2.4.2" ohash "^2.0.11" pathe "^2.0.3" perfect-debounce "^1.0.0" - pkg-types "^2.1.0" + pkg-types "^2.2.0" rc9 "^2.1.2" cac@^6.7.14: @@ -2996,6 +2971,11 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +change-case@^5.4.4: + version "5.4.4" + resolved "https://registry.yarnpkg.com/change-case/-/change-case-5.4.4.tgz#0d52b507d8fb8f204343432381d1a6d7bff97a02" + integrity sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w== + character-entities@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" @@ -3033,7 +3013,7 @@ chownr@^3.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== -ci-info@^4.2.0: +ci-info@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-4.3.0.tgz#c39b1013f8fdbd28cd78e62318357d02da160cd7" integrity sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ== @@ -3146,18 +3126,16 @@ colortranslator@^5.0.0: resolved "https://registry.yarnpkg.com/colortranslator/-/colortranslator-5.0.0.tgz#a7590fa56702c2be75e4fec755127cb658385583" integrity sha512-Z3UPUKasUVDFCDYAjP2fmlVRf1jFHJv1izAmPjiOa0OCIw1W7iC8PZ2GsoDa8uZv+mKyWopxxStT9q05+27h7w== -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - commander@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== +commander@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906" + integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ== + commander@^12.1.0: version "12.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" @@ -3259,7 +3237,7 @@ copy-file@^11.0.0: graceful-fs "^4.2.11" p-event "^6.0.0" -core-js-compat@^3.41.0: +core-js-compat@^3.44.0: version "3.44.0" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.44.0.tgz#62b9165b97e4cbdb8bca16b14818e67428b4a0f8" integrity sha512-JepmAj2zfl6ogy34qfWtcE7nHKAJnKsQFRn++scjVS2bZFllwptzw61BZcZFYBPpUznLfAvh0LGhxKppk04ClA== @@ -3343,7 +3321,7 @@ css-tree@^2.3.1: mdn-data "2.0.30" source-map-js "^1.0.1" -css-tree@^3.0.0, css-tree@^3.1.0: +css-tree@^3.0.0, css-tree@^3.0.1, css-tree@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-3.1.0.tgz#7aabc035f4e66b5c86f54570d55e05b1346eb0fd" integrity sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w== @@ -3374,26 +3352,26 @@ cssfilter@0.0.10: resolved "https://registry.yarnpkg.com/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" integrity sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw== -cssnano-preset-default@^7.0.7: - version "7.0.7" - resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-7.0.7.tgz#1ea881837a837a4400c383d77d9e6cdf4339b6a0" - integrity sha512-jW6CG/7PNB6MufOrlovs1TvBTEVmhY45yz+bd0h6nw3h6d+1e+/TX+0fflZ+LzvZombbT5f+KC063w9VoHeHow== +cssnano-preset-default@^7.0.8: + version "7.0.8" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-7.0.8.tgz#a2e380cb73931dc817fa360217840b2e377463ee" + integrity sha512-d+3R2qwrUV3g4LEMOjnndognKirBZISylDZAF/TPeCWVjEwlXS2e4eN4ICkoobRe7pD3H6lltinKVyS1AJhdjQ== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" css-declaration-sorter "^7.2.0" cssnano-utils "^5.0.1" postcss-calc "^10.1.1" - postcss-colormin "^7.0.3" - postcss-convert-values "^7.0.5" + postcss-colormin "^7.0.4" + postcss-convert-values "^7.0.6" postcss-discard-comments "^7.0.4" postcss-discard-duplicates "^7.0.2" postcss-discard-empty "^7.0.1" postcss-discard-overridden "^7.0.1" postcss-merge-longhand "^7.0.5" - postcss-merge-rules "^7.0.5" + postcss-merge-rules "^7.0.6" postcss-minify-font-values "^7.0.1" postcss-minify-gradients "^7.0.1" - postcss-minify-params "^7.0.3" + postcss-minify-params "^7.0.4" postcss-minify-selectors "^7.0.5" postcss-normalize-charset "^7.0.1" postcss-normalize-display-values "^7.0.1" @@ -3401,13 +3379,13 @@ cssnano-preset-default@^7.0.7: postcss-normalize-repeat-style "^7.0.1" postcss-normalize-string "^7.0.1" postcss-normalize-timing-functions "^7.0.1" - postcss-normalize-unicode "^7.0.3" + postcss-normalize-unicode "^7.0.4" postcss-normalize-url "^7.0.1" postcss-normalize-whitespace "^7.0.1" postcss-ordered-values "^7.0.2" - postcss-reduce-initial "^7.0.3" + postcss-reduce-initial "^7.0.4" postcss-reduce-transforms "^7.0.1" - postcss-svgo "^7.0.2" + postcss-svgo "^7.1.0" postcss-unique-selectors "^7.0.4" cssnano-utils@^5.0.1: @@ -3416,11 +3394,11 @@ cssnano-utils@^5.0.1: integrity sha512-ZIP71eQgG9JwjVZsTPSqhc6GHgEr53uJ7tK5///VfyWj6Xp2DBmixWHqJgPno+PqATzn48pL42ww9x5SSGmhZg== cssnano@^7.0.7: - version "7.0.7" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-7.0.7.tgz#1aca487fc32d6b3b71e385c41a8cccb2f43735ac" - integrity sha512-evKu7yiDIF7oS+EIpwFlMF730ijRyLFaM2o5cTxRGJR9OKHKkc+qP443ZEVR9kZG0syaAJJCPJyfv5pbrxlSng== + version "7.1.0" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-7.1.0.tgz#f1a89ac4753982aebe5ae9583f3e9ad6645aded5" + integrity sha512-Pu3rlKkd0ZtlCUzBrKL1Z4YmhKppjC1H9jo7u1o4qaKqyhvixFgu5qLyNIAOjSTg9DjVPtUqdROq2EfpVMEe+w== dependencies: - cssnano-preset-default "^7.0.7" + cssnano-preset-default "^7.0.8" lilconfig "^3.1.3" csso@^5.0.5: @@ -3526,11 +3504,6 @@ defu@^6.1.4: resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - denque@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/denque/-/denque-2.1.0.tgz#e93e1a6569fb5e66f16a3c2a2964617d349d6ab1" @@ -3696,7 +3669,7 @@ dot-prop@9.0.0, dot-prop@^9.0.0: dependencies: type-fest "^4.18.2" -dotenv@^16.3.1, dotenv@^16.4.7, dotenv@^16.5.0: +dotenv@^16.3.1, dotenv@^16.4.7, dotenv@^16.6.1: version "16.6.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.6.1.tgz#773f0e69527a8315c7285d5ee73c4459d20a8020" integrity sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow== @@ -3726,9 +3699,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.5.173: - version "1.5.182" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.182.tgz#4ab73104f893938acb3ab9c28d7bec170c116b3e" - integrity sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA== + version "1.5.191" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.191.tgz#8ae49a471447b1ceaf1d4d183a9000082f52363c" + integrity sha512-xcwe9ELcuxYLUFqZZxL19Z6HVKcvNkIwhbHUz7L3us6u12yR+7uY89dSl570f/IqNthx8dAw3tojG7i4Ni4tDA== embla-carousel-auto-height@^8.6.0: version "8.6.0" @@ -3857,16 +3830,6 @@ es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: dependencies: es-errors "^1.3.0" -es-set-tostringtag@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" - integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== - dependencies: - es-errors "^1.3.0" - get-intrinsic "^1.2.6" - has-tostringtag "^1.0.2" - hasown "^2.0.2" - es6-promise@^3.2.1: version "3.3.1" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613" @@ -3903,37 +3866,37 @@ esbuild@0.25.5: "@esbuild/win32-ia32" "0.25.5" "@esbuild/win32-x64" "0.25.5" -esbuild@^0.25.0, esbuild@^0.25.4, esbuild@^0.25.5: - version "0.25.6" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.6.tgz#9b82a3db2fa131aec069ab040fd57ed0a880cdcd" - integrity sha512-GVuzuUwtdsghE3ocJ9Bs8PNoF13HNQ5TXbEi2AhvVb8xU1Iwt9Fos9FEamfoee+u/TOsn7GUWc04lz46n2bbTg== +esbuild@^0.25.0, esbuild@^0.25.4, esbuild@^0.25.6: + version "0.25.8" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.8.tgz#482d42198b427c9c2f3a81b63d7663aecb1dda07" + integrity sha512-vVC0USHGtMi8+R4Kz8rt6JhEWLxsv9Rnu/lGYbPR8u47B+DCBksq9JarW0zOO7bs37hyOK1l2/oqtbciutL5+Q== optionalDependencies: - "@esbuild/aix-ppc64" "0.25.6" - "@esbuild/android-arm" "0.25.6" - "@esbuild/android-arm64" "0.25.6" - "@esbuild/android-x64" "0.25.6" - "@esbuild/darwin-arm64" "0.25.6" - "@esbuild/darwin-x64" "0.25.6" - "@esbuild/freebsd-arm64" "0.25.6" - "@esbuild/freebsd-x64" "0.25.6" - "@esbuild/linux-arm" "0.25.6" - "@esbuild/linux-arm64" "0.25.6" - "@esbuild/linux-ia32" "0.25.6" - "@esbuild/linux-loong64" "0.25.6" - "@esbuild/linux-mips64el" "0.25.6" - "@esbuild/linux-ppc64" "0.25.6" - "@esbuild/linux-riscv64" "0.25.6" - "@esbuild/linux-s390x" "0.25.6" - "@esbuild/linux-x64" "0.25.6" - "@esbuild/netbsd-arm64" "0.25.6" - "@esbuild/netbsd-x64" "0.25.6" - "@esbuild/openbsd-arm64" "0.25.6" - "@esbuild/openbsd-x64" "0.25.6" - "@esbuild/openharmony-arm64" "0.25.6" - "@esbuild/sunos-x64" "0.25.6" - "@esbuild/win32-arm64" "0.25.6" - "@esbuild/win32-ia32" "0.25.6" - "@esbuild/win32-x64" "0.25.6" + "@esbuild/aix-ppc64" "0.25.8" + "@esbuild/android-arm" "0.25.8" + "@esbuild/android-arm64" "0.25.8" + "@esbuild/android-x64" "0.25.8" + "@esbuild/darwin-arm64" "0.25.8" + "@esbuild/darwin-x64" "0.25.8" + "@esbuild/freebsd-arm64" "0.25.8" + "@esbuild/freebsd-x64" "0.25.8" + "@esbuild/linux-arm" "0.25.8" + "@esbuild/linux-arm64" "0.25.8" + "@esbuild/linux-ia32" "0.25.8" + "@esbuild/linux-loong64" "0.25.8" + "@esbuild/linux-mips64el" "0.25.8" + "@esbuild/linux-ppc64" "0.25.8" + "@esbuild/linux-riscv64" "0.25.8" + "@esbuild/linux-s390x" "0.25.8" + "@esbuild/linux-x64" "0.25.8" + "@esbuild/netbsd-arm64" "0.25.8" + "@esbuild/netbsd-x64" "0.25.8" + "@esbuild/openbsd-arm64" "0.25.8" + "@esbuild/openbsd-x64" "0.25.8" + "@esbuild/openharmony-arm64" "0.25.8" + "@esbuild/sunos-x64" "0.25.8" + "@esbuild/win32-arm64" "0.25.8" + "@esbuild/win32-ia32" "0.25.8" + "@esbuild/win32-x64" "0.25.8" escalade@^3.1.1, escalade@^3.2.0: version "3.2.0" @@ -4065,10 +4028,10 @@ eslint-plugin-import-lite@^0.3.0: "@eslint-community/eslint-utils" "^4.7.0" "@typescript-eslint/types" "^8.34.0" -eslint-plugin-jsdoc@^51.3.2: - version "51.3.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-51.3.4.tgz#40cfc8e406d40a3d9fdf6e44dcccd3c39a198353" - integrity sha512-maz6qa95+sAjMr9m5oRyfejc+mnyQWsWSe9oyv9371bh4/T0kWOMryJNO4h8rEd97wo/9lbzwi3OOX4rDhnAzg== +eslint-plugin-jsdoc@^51.4.1: + version "51.4.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-51.4.1.tgz#a512460da6ba328ac3be0c3e7b2aaa4633175625" + integrity sha512-y4CA9OkachG8v5nAtrwvcvjIbdcKgSyS6U//IfQr4FZFFyeBFwZFf/tfSsMr46mWDJgidZjBTqoCRlXywfFBMg== dependencies: "@es-joy/jsdoccomment" "~0.52.0" are-docs-informative "^0.0.2" @@ -4095,18 +4058,18 @@ eslint-plugin-jsonc@^2.20.1: natural-compare "^1.4.0" synckit "^0.6.2 || ^0.7.3 || ^0.11.5" -eslint-plugin-n@^17.20.0: - version "17.21.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.21.0.tgz#6b1833e5e8fd07a69bbab2be429771ff2309db5e" - integrity sha512-1+iZ8We4ZlwVMtb/DcHG3y5/bZOdazIpa/4TySo22MLKdwrLcfrX0hbadnCvykSQCCmkAnWmIP8jZVb2AAq29A== +eslint-plugin-n@^17.21.0: + version "17.21.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.21.2.tgz#eba404bf818ea41ed2ebd12a75050a6f1a6137dc" + integrity sha512-s3ai4Msfk5mbSvOgCkYo6k5+zP3W/OK+AvLmMmx++Ki4a5CPO7luIDwOnjUZm/t+oZYP0YADTxe+u4JqnT8+Dg== dependencies: "@eslint-community/eslint-utils" "^4.5.0" enhanced-resolve "^5.17.1" eslint-plugin-es-x "^7.8.0" get-tsconfig "^4.8.1" globals "^15.11.0" + globrex "^0.1.2" ignore "^5.3.2" - minimatch "^9.0.5" semver "^7.6.3" ts-declaration-location "^1.0.6" @@ -4124,16 +4087,16 @@ eslint-plugin-perfectionist@^4.15.0: "@typescript-eslint/utils" "^8.34.1" natural-orderby "^5.0.0" -eslint-plugin-pnpm@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-pnpm/-/eslint-plugin-pnpm-0.3.1.tgz#b41c6456b6b8804c0d066a0e44a89f21a2938994" - integrity sha512-vi5iHoELIAlBbX4AW8ZGzU3tUnfxuXhC/NKo3qRcI5o9igbz6zJUqSlQ03bPeMqWIGTPatZnbWsNR1RnlNERNQ== +eslint-plugin-pnpm@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-pnpm/-/eslint-plugin-pnpm-1.1.0.tgz#bc325f1dd3ef4ef6728802e17c1030bd1cb99170" + integrity sha512-sL93w0muBtjnogzk/loDsxzMbmXQOLP5Blw3swLDBXZgfb+qQI73bPcUbjVR+ZL+K62vGJdErV+43i3r5DsZPg== dependencies: find-up-simple "^1.0.1" jsonc-eslint-parser "^2.4.0" pathe "^2.0.3" - pnpm-workspace-yaml "0.3.1" - tinyglobby "^0.2.12" + pnpm-workspace-yaml "1.1.0" + tinyglobby "^0.2.14" yaml-eslint-parser "^1.3.0" eslint-plugin-regexp@^2.9.0: @@ -4159,27 +4122,28 @@ eslint-plugin-toml@^0.12.0: lodash "^4.17.19" toml-eslint-parser "^0.10.0" -eslint-plugin-unicorn@^59.0.1: - version "59.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-59.0.1.tgz#e76ca18f6b92633440973e5442923a36544a1422" - integrity sha512-EtNXYuWPUmkgSU2E7Ttn57LbRREQesIP1BiLn7OZLKodopKfDXfBUkC/0j6mpw2JExwf43Uf3qLSvrSvppgy8Q== +eslint-plugin-unicorn@^60.0.0: + version "60.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-60.0.0.tgz#68f712bcb17e94bd176cce7312647ba1d1409c3c" + integrity sha512-QUzTefvP8stfSXsqKQ+vBQSEsXIlAiCduS/V1Em+FKgL9c21U/IIm20/e3MFy1jyCf14tHAhqC1sX8OTy6VUCg== dependencies: - "@babel/helper-validator-identifier" "^7.25.9" - "@eslint-community/eslint-utils" "^4.5.1" - "@eslint/plugin-kit" "^0.2.7" - ci-info "^4.2.0" + "@babel/helper-validator-identifier" "^7.27.1" + "@eslint-community/eslint-utils" "^4.7.0" + "@eslint/plugin-kit" "^0.3.3" + change-case "^5.4.4" + ci-info "^4.3.0" clean-regexp "^1.0.0" - core-js-compat "^3.41.0" + core-js-compat "^3.44.0" esquery "^1.6.0" find-up-simple "^1.0.1" - globals "^16.0.0" + globals "^16.3.0" indent-string "^5.0.0" is-builtin-module "^5.0.0" jsesc "^3.1.0" pluralize "^8.0.0" regexp-tree "^0.1.27" regjsparser "^0.12.0" - semver "^7.7.1" + semver "^7.7.2" strip-indent "^4.0.0" eslint-plugin-unused-imports@^4.1.4: @@ -4187,7 +4151,7 @@ eslint-plugin-unused-imports@^4.1.4: resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.1.4.tgz#62ddc7446ccbf9aa7b6f1f0b00a980423cda2738" integrity sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ== -eslint-plugin-vue@^10.2.0: +eslint-plugin-vue@^10.3.0: version "10.3.0" resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-10.3.0.tgz#d8fb96d06bc71829177fe81590489117b9540c17" integrity sha512-A0u9snqjCfYaPnqqOaH6MBLVWDUIN4trXn8J3x67uDcXvR7X6Ut8p16N+nYhMCQ9Y7edg2BIRGzfyZsY0IdqoQ== @@ -4234,18 +4198,18 @@ eslint-visitor-keys@^4.2.0, eslint-visitor-keys@^4.2.1: integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== eslint@^9.27.0: - version "9.30.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.30.1.tgz#d4107b39964412acd9b5c0744f1c6df514fa1211" - integrity sha512-zmxXPNMOXmwm9E0yQLi5uqXHs7uq2UIiqEKo3Gq+3fwo1XrJ+hijAZImyF7hclW3E6oHz43Yk3RP8at6OTKflQ== + version "9.32.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.32.0.tgz#4ea28df4a8dbc454e1251e0f3aed4bcf4ce50a47" + integrity sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.12.1" "@eslint/config-array" "^0.21.0" "@eslint/config-helpers" "^0.3.0" - "@eslint/core" "^0.14.0" + "@eslint/core" "^0.15.0" "@eslint/eslintrc" "^3.3.1" - "@eslint/js" "9.30.1" - "@eslint/plugin-kit" "^0.3.1" + "@eslint/js" "9.32.0" + "@eslint/plugin-kit" "^0.3.4" "@humanfs/node" "^0.16.6" "@humanwhocodes/module-importer" "^1.0.1" "@humanwhocodes/retry" "^0.4.2" @@ -4548,11 +4512,6 @@ fn.name@1.x.x: resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== -follow-redirects@^1.15.6: - version "1.15.9" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" - integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== - fontaine@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/fontaine/-/fontaine-0.6.0.tgz#ce90d22119935f841390b5d8d9795d9dd0e749bf" @@ -4590,17 +4549,6 @@ foreground-child@^3.1.0: cross-spawn "^7.0.6" signal-exit "^4.0.1" -form-data@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" - integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - es-set-tostringtag "^2.1.0" - hasown "^2.0.2" - mime-types "^2.1.12" - format@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" @@ -4661,7 +4609,7 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.2.5, get-intrinsic@^1.2.6, get-intrinsic@^1.3.0: +get-intrinsic@^1.2.5, get-intrinsic@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== @@ -4677,10 +4625,10 @@ get-intrinsic@^1.2.5, get-intrinsic@^1.2.6, get-intrinsic@^1.3.0: hasown "^2.0.2" math-intrinsics "^1.1.0" -get-port-please@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.1.2.tgz#502795e56217128e4183025c89a48c71652f4e49" - integrity sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ== +get-port-please@^3.1.2, get-port-please@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.2.0.tgz#0ce3cee194c448ac640ec39dc357a500f5d7d2bb" + integrity sha512-I9QVvBw5U/hw3RmWpYKRumUeaDgxTPd401x364rLmWBJcOQ753eov1eTgzDqRG9bqFIfDc7gfzcQEWrUri3o1A== get-proto@^1.0.1: version "1.0.1" @@ -4789,7 +4737,7 @@ globals@^15.11.0, globals@^15.14.0: resolved "https://registry.yarnpkg.com/globals/-/globals-15.15.0.tgz#7c4761299d41c32b075715a4ce1ede7897ff72a8" integrity sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg== -globals@^16.0.0, globals@^16.3.0: +globals@^16.3.0: version "16.3.0" resolved "https://registry.yarnpkg.com/globals/-/globals-16.3.0.tgz#66118e765ddaf9e2d880f7e17658543f93f1f667" integrity sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ== @@ -4806,6 +4754,11 @@ globby@^14.1.0: slash "^5.1.0" unicorn-magic "^0.3.0" +globrex@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098" + integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg== + gonzales-pe@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.3.0.tgz#fe9dec5f3c557eead09ff868c65826be54d067b3" @@ -4835,7 +4788,7 @@ gzip-size@^7.0.0: dependencies: duplexer "^0.1.2" -h3@^1.10.0, h3@^1.12.0, h3@^1.15.1, h3@^1.15.2, h3@^1.15.3: +h3@^1.10.0, h3@^1.12.0, h3@^1.15.1, h3@^1.15.3: version "1.15.3" resolved "https://registry.yarnpkg.com/h3/-/h3-1.15.3.tgz#e242ec6a7692a45caed3e4a73710cede4fb8d863" integrity sha512-z6GknHqyX0h9aQaTx22VZDf6QyZn+0Nh+Ym8O/u0SGSkyF5cuTJYKlc8MkzW3Nzf9LE1ivcpmYC3FUGpywhuUQ== @@ -4855,18 +4808,11 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbols@^1.0.3, has-symbols@^1.1.0: +has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -has-tostringtag@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" - integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== - dependencies: - has-symbols "^1.0.3" - hasown@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" @@ -5015,9 +4961,9 @@ ioredis@^5.6.1: standard-as-callback "^2.1.0" ipx@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ipx/-/ipx-2.1.0.tgz#235d37f789b6c5100f34a0bb3b3bef9852af4d76" - integrity sha512-AVnPGXJ8L41vjd11Z4akIF2yd14636Klxul3tBySxHA6PKfCOQPxBDkCFK5zcWh0z/keR6toh1eg8qzdBVUgdA== + version "2.1.1" + resolved "https://registry.yarnpkg.com/ipx/-/ipx-2.1.1.tgz#3c309a3ae364f2c56ddb152cb6d14ba7c5767567" + integrity sha512-XuM9FEGOT+/45mfAWZ5ykwkZ/oE7vWpd1iWjRffMWlwAYIRzb/xD6wZhQ4BzmPMX6Ov5dqK0wUyD0OEN9oWT6g== dependencies: "@fastify/accept-negotiator" "^1.1.0" citty "^0.1.5" @@ -5226,9 +5172,9 @@ jackspeak@^3.1.2: "@pkgjs/parseargs" "^0.11.0" jiti@^2.1.2, jiti@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.4.2.tgz#d19b7732ebb6116b06e2038da74a55366faef560" - integrity sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A== + version "2.5.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.5.1.tgz#bd099c1c2be1c59bbea4e5adcd127363446759d0" + integrity sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w== js-tokens@^4.0.0: version "4.0.0" @@ -5703,7 +5649,7 @@ mdast-util-gfm-task-list-item@^2.0.0: mdast-util-from-markdown "^2.0.0" mdast-util-to-markdown "^2.0.0" -mdast-util-gfm@^3.0.0: +mdast-util-gfm@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz#2cdf63b92c2a331406b0fb0db4c077c1b0331751" integrity sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ== @@ -6074,23 +6020,11 @@ micromatch@^4.0.5, micromatch@^4.0.8: braces "^3.0.3" picomatch "^2.3.1" -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - mime-db@^1.54.0: version "1.54.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== -mime-types@^2.1.12: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - mime-types@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" @@ -6137,7 +6071,7 @@ minimatch@^5.1.0: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.0, minimatch@^9.0.4, minimatch@^9.0.5: +minimatch@^9.0.0, minimatch@^9.0.4: version "9.0.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== @@ -6257,9 +6191,9 @@ netlify@^13.3.5: qs "^6.9.6" nitropack@^2.11.13: - version "2.11.13" - resolved "https://registry.yarnpkg.com/nitropack/-/nitropack-2.11.13.tgz#3db08e2b11ea6a7390534a4f5f61a426750079a8" - integrity sha512-xKng/szRZmFEsrB1Z+sFzYDhXL5KUtUkEouPCj9LiBPhJ7qV3jdOv1MSis++8H8zNI6dEurt51ZlK4VRDvedsA== + version "2.12.4" + resolved "https://registry.yarnpkg.com/nitropack/-/nitropack-2.12.4.tgz#eade37b69d2233b3068c6d11a970de6252a6f094" + integrity sha512-MPmPRJWTeH03f/NmpN4q3iI3Woik4uaaWIoX34W3gMJiW06Vm1te/lPzuu5EXpXOK7Q2m3FymGMPXcExqih96Q== dependencies: "@cloudflare/kv-asset-handler" "^0.4.0" "@netlify/functions" "^3.1.10" @@ -6272,7 +6206,7 @@ nitropack@^2.11.13: "@rollup/plugin-terser" "^0.4.4" "@vercel/nft" "^0.29.4" archiver "^7.0.1" - c12 "^3.0.4" + c12 "^3.1.0" chokidar "^4.0.3" citty "^0.1.6" compatx "^0.2.0" @@ -6285,7 +6219,7 @@ nitropack@^2.11.13: defu "^6.1.4" destr "^2.0.5" dot-prop "^9.0.0" - esbuild "^0.25.5" + esbuild "^0.25.6" escape-string-regexp "^5.0.0" etag "^1.8.1" exsolve "^1.0.7" @@ -6309,10 +6243,10 @@ nitropack@^2.11.13: ohash "^2.0.11" pathe "^2.0.3" perfect-debounce "^1.0.0" - pkg-types "^2.1.0" + pkg-types "^2.2.0" pretty-bytes "^6.1.1" radix3 "^1.1.2" - rollup "^4.44.0" + rollup "^4.45.0" rollup-plugin-visualizer "^6.0.3" scule "^1.3.0" semver "^7.7.2" @@ -6325,13 +6259,13 @@ nitropack@^2.11.13: uncrypto "^0.1.3" unctx "^2.4.1" unenv "^2.0.0-rc.18" - unimport "^5.0.1" + unimport "^5.1.0" unplugin-utils "^0.2.4" - unstorage "^1.16.0" + unstorage "^1.16.1" untyped "^2.0.0" unwasm "^0.3.9" youch "4.1.0-beta.8" - youch-core "^0.3.2" + youch-core "^0.3.3" node-abi@^3.3.0: version "3.75.0" @@ -6473,18 +6407,18 @@ nth-check@^2.0.1, nth-check@^2.1.1: boolbase "^1.0.0" nuxt@^3.17.6: - version "3.17.6" - resolved "https://registry.yarnpkg.com/nuxt/-/nuxt-3.17.6.tgz#14de3dbb8cc0fea61401f17ec53772e72490f685" - integrity sha512-kOsoJk7YvlcUChJXhCrVP18zRWKquUdrZSoJX8bCcQ54OhFOr4s2VhsxnbJVP7AtCiBSLbKuQt6ZBO7lE159Aw== + version "3.17.7" + resolved "https://registry.yarnpkg.com/nuxt/-/nuxt-3.17.7.tgz#1b5f43dbbe86052b4ca45be376ebb392ed4401d8" + integrity sha512-1xl1HcKIbDHpNMW6pXhVhSM5Po51FW14mooyw5ZK5G+wMb0P+uzI/f7xmlaRkBv5Q8ZzUIH6gVUh3KyiucLn+w== dependencies: "@nuxt/cli" "^3.25.1" "@nuxt/devalue" "^2.0.2" - "@nuxt/devtools" "^2.6.0" - "@nuxt/kit" "3.17.6" - "@nuxt/schema" "3.17.6" + "@nuxt/devtools" "^2.6.2" + "@nuxt/kit" "3.17.7" + "@nuxt/schema" "3.17.7" "@nuxt/telemetry" "^2.6.6" - "@nuxt/vite-builder" "3.17.6" - "@unhead/vue" "^2.0.11" + "@nuxt/vite-builder" "3.17.7" + "@unhead/vue" "^2.0.12" "@vue/shared" "^3.5.17" c12 "^3.0.4" chokidar "^4.0.3" @@ -6495,7 +6429,7 @@ nuxt@^3.17.6: destr "^2.0.5" devalue "^5.1.1" errx "^0.1.0" - esbuild "^0.25.5" + esbuild "^0.25.6" escape-string-regexp "^5.0.0" estree-walker "^3.0.3" exsolve "^1.0.7" @@ -6515,7 +6449,7 @@ nuxt@^3.17.6: ofetch "^1.4.1" ohash "^2.0.11" on-change "^5.0.1" - oxc-parser "^0.75.0" + oxc-parser "^0.76.0" pathe "^2.0.3" perfect-debounce "^1.0.0" pkg-types "^2.2.0" @@ -6648,15 +6582,15 @@ onetime@^6.0.0: dependencies: mimic-fn "^4.0.0" -open@^10.1.2: - version "10.1.2" - resolved "https://registry.yarnpkg.com/open/-/open-10.1.2.tgz#d5df40984755c9a9c3c93df8156a12467e882925" - integrity sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw== +open@^10.2.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/open/-/open-10.2.0.tgz#b9d855be007620e80b6fb05fac98141fe62db73c" + integrity sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA== dependencies: default-browser "^5.2.1" define-lazy-prop "^3.0.0" is-inside-container "^1.0.0" - is-wsl "^3.1.0" + wsl-utils "^0.1.0" open@^8.0.0: version "8.4.2" @@ -6679,28 +6613,28 @@ optionator@^0.9.3: type-check "^0.4.0" word-wrap "^1.2.5" -oxc-parser@^0.75.0: - version "0.75.1" - resolved "https://registry.yarnpkg.com/oxc-parser/-/oxc-parser-0.75.1.tgz#0c3d82a4c6afa81630b50ae1143437b629160941" - integrity sha512-yq4gtrBM+kitDyQEtUtskdg9lqH5o1YOcYbJDKV9XGfJTdgbUiMNbYQi7gXsfOZlUGsmwsWEtmjcjYMSjPB1pA== +oxc-parser@^0.76.0: + version "0.76.0" + resolved "https://registry.yarnpkg.com/oxc-parser/-/oxc-parser-0.76.0.tgz#041650d3be1b6f31ee74b5c0f8987a6818fa85fd" + integrity sha512-l98B2e9evuhES7zN99rb1QGhbzx25829TJFaKi2j0ib3/K/G5z1FdGYz6HZkrU3U8jdH7v2FC8mX1j2l9JrOUg== dependencies: - "@oxc-project/types" "^0.75.1" + "@oxc-project/types" "^0.76.0" optionalDependencies: - "@oxc-parser/binding-android-arm64" "0.75.1" - "@oxc-parser/binding-darwin-arm64" "0.75.1" - "@oxc-parser/binding-darwin-x64" "0.75.1" - "@oxc-parser/binding-freebsd-x64" "0.75.1" - "@oxc-parser/binding-linux-arm-gnueabihf" "0.75.1" - "@oxc-parser/binding-linux-arm-musleabihf" "0.75.1" - "@oxc-parser/binding-linux-arm64-gnu" "0.75.1" - "@oxc-parser/binding-linux-arm64-musl" "0.75.1" - "@oxc-parser/binding-linux-riscv64-gnu" "0.75.1" - "@oxc-parser/binding-linux-s390x-gnu" "0.75.1" - "@oxc-parser/binding-linux-x64-gnu" "0.75.1" - "@oxc-parser/binding-linux-x64-musl" "0.75.1" - "@oxc-parser/binding-wasm32-wasi" "0.75.1" - "@oxc-parser/binding-win32-arm64-msvc" "0.75.1" - "@oxc-parser/binding-win32-x64-msvc" "0.75.1" + "@oxc-parser/binding-android-arm64" "0.76.0" + "@oxc-parser/binding-darwin-arm64" "0.76.0" + "@oxc-parser/binding-darwin-x64" "0.76.0" + "@oxc-parser/binding-freebsd-x64" "0.76.0" + "@oxc-parser/binding-linux-arm-gnueabihf" "0.76.0" + "@oxc-parser/binding-linux-arm-musleabihf" "0.76.0" + "@oxc-parser/binding-linux-arm64-gnu" "0.76.0" + "@oxc-parser/binding-linux-arm64-musl" "0.76.0" + "@oxc-parser/binding-linux-riscv64-gnu" "0.76.0" + "@oxc-parser/binding-linux-s390x-gnu" "0.76.0" + "@oxc-parser/binding-linux-x64-gnu" "0.76.0" + "@oxc-parser/binding-linux-x64-musl" "0.76.0" + "@oxc-parser/binding-wasm32-wasi" "0.76.0" + "@oxc-parser/binding-win32-arm64-msvc" "0.76.0" + "@oxc-parser/binding-win32-x64-msvc" "0.76.0" p-event@^6.0.0: version "6.0.1" @@ -6890,10 +6824,10 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -picomatch@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab" - integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg== +picomatch@^4.0.2, picomatch@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" + integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== pkg-types@^1.0.3, pkg-types@^1.2.1, pkg-types@^1.3.0: version "1.3.1" @@ -6904,7 +6838,7 @@ pkg-types@^1.0.3, pkg-types@^1.2.1, pkg-types@^1.3.0: mlly "^1.7.4" pathe "^2.0.1" -pkg-types@^2.0.0, pkg-types@^2.0.1, pkg-types@^2.1.0, pkg-types@^2.1.1, pkg-types@^2.2.0: +pkg-types@^2.0.0, pkg-types@^2.0.1, pkg-types@^2.1.0, pkg-types@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-2.2.0.tgz#049bf404f82a66c465200149457acf0c5fb0fb2d" integrity sha512-2SM/GZGAEkPp3KWORxQZns4M+WSeXbC2HEvmOIJe3Cmiv6ieAJvdVhDldtHqM5J1Y7MrR1XhkBT/rMlhh9FdqQ== @@ -6918,12 +6852,12 @@ pluralize@^8.0.0: resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== -pnpm-workspace-yaml@0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/pnpm-workspace-yaml/-/pnpm-workspace-yaml-0.3.1.tgz#55970ecec0bf3b8b1dc16a9b50912f397b00055e" - integrity sha512-3nW5RLmREmZ8Pm8MbPsO2RM+99RRjYd25ynj3NV0cFsN7CcEl4sDFzgoFmSyduFwxFQ2Qbu3y2UdCh6HlyUOeA== +pnpm-workspace-yaml@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/pnpm-workspace-yaml/-/pnpm-workspace-yaml-1.1.0.tgz#d747d470ae33d8f588e10b4141b918b22a2b8d27" + integrity sha512-OWUzBxtitpyUV0fBYYwLAfWxn3mSzVbVB7cwgNaHvTTU9P0V2QHjyaY5i7f1hEiT9VeKsNH1Skfhe2E3lx/zhA== dependencies: - yaml "^2.7.0" + yaml "^2.8.0" postcss-calc@^10.1.1: version "10.1.1" @@ -6933,22 +6867,22 @@ postcss-calc@^10.1.1: postcss-selector-parser "^7.0.0" postcss-value-parser "^4.2.0" -postcss-colormin@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-7.0.3.tgz#602d093c6f186d5316a4516607ddf4f0073ae5a5" - integrity sha512-xZxQcSyIVZbSsl1vjoqZAcMYYdnJsIyG8OvqShuuqf12S88qQboxxEy0ohNCOLwVPXTU+hFHvJPACRL2B5ohTA== +postcss-colormin@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-7.0.4.tgz#12b5ed701bc860d58e5267a51679415939563bdb" + integrity sha512-ziQuVzQZBROpKpfeDwmrG+Vvlr0YWmY/ZAk99XD+mGEBuEojoFekL41NCsdhyNUtZI7DPOoIWIR7vQQK9xwluw== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" caniuse-api "^3.0.0" colord "^2.9.3" postcss-value-parser "^4.2.0" -postcss-convert-values@^7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-7.0.5.tgz#35263382f3197d83b865c0967ddc708cdde3115e" - integrity sha512-0VFhH8nElpIs3uXKnVtotDJJNX0OGYSZmdt4XfSfvOMrFw1jKfpwpZxfC4iN73CTM/MWakDEmsHQXkISYj4BXw== +postcss-convert-values@^7.0.6: + version "7.0.6" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-7.0.6.tgz#aece10411e05409c221263cd77deb4e6ad2c483e" + integrity sha512-MD/eb39Mr60hvgrqpXsgbiqluawYg/8K4nKsqRsuDX9f+xN1j6awZCUv/5tLH8ak3vYp/EMXwdcnXvfZYiejCQ== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" postcss-value-parser "^4.2.0" postcss-discard-comments@^7.0.4: @@ -6981,12 +6915,12 @@ postcss-merge-longhand@^7.0.5: postcss-value-parser "^4.2.0" stylehacks "^7.0.5" -postcss-merge-rules@^7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-7.0.5.tgz#08c009036172db1305f988c67b04881ee8aaa76b" - integrity sha512-ZonhuSwEaWA3+xYbOdJoEReKIBs5eDiBVLAGpYZpNFPzXZcEE5VKR7/qBEQvTZpiwjqhhqEQ+ax5O3VShBj9Wg== +postcss-merge-rules@^7.0.6: + version "7.0.6" + resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-7.0.6.tgz#f5a0cabf6423b1370ba76d5363dfe44776f1e619" + integrity sha512-2jIPT4Tzs8K87tvgCpSukRQ2jjd+hH6Bb8rEEOUDmmhOeTcqDg5fEFK8uKIu+Pvc3//sm3Uu6FRqfyv7YF7+BQ== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" caniuse-api "^3.0.0" cssnano-utils "^5.0.1" postcss-selector-parser "^7.1.0" @@ -7007,12 +6941,12 @@ postcss-minify-gradients@^7.0.1: cssnano-utils "^5.0.1" postcss-value-parser "^4.2.0" -postcss-minify-params@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-7.0.3.tgz#ff4d0f765b6cdb9aa10e805ca3012393206686c9" - integrity sha512-vUKV2+f5mtjewYieanLX0xemxIp1t0W0H/D11u+kQV/MWdygOO7xPMkbK+r9P6Lhms8MgzKARF/g5OPXhb8tgg== +postcss-minify-params@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-7.0.4.tgz#665848c0674c5ff59e054e63e052339738cbc6a3" + integrity sha512-3OqqUddfH8c2e7M35W6zIwv7jssM/3miF9cbCSb1iJiWvtguQjlxZGIHK9JRmc8XAKmE2PFGtHSM7g/VcW97sw== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" cssnano-utils "^5.0.1" postcss-value-parser "^4.2.0" @@ -7064,12 +6998,12 @@ postcss-normalize-timing-functions@^7.0.1: dependencies: postcss-value-parser "^4.2.0" -postcss-normalize-unicode@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-7.0.3.tgz#39092101a9dbe9cbac2e00e52c58a1390e9f2924" - integrity sha512-EcoA29LvG3F+EpOh03iqu+tJY3uYYKzArqKJHxDhUYLa2u58aqGq16K6/AOsXD9yqLN8O6y9mmePKN5cx6krOw== +postcss-normalize-unicode@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-7.0.4.tgz#9fd8d1d1e931b60ed946556e4d657b5879e3ee00" + integrity sha512-LvIURTi1sQoZqj8mEIE8R15yvM+OhbR1avynMtI9bUzj5gGKR/gfZFd8O7VMj0QgJaIFzxDwxGl/ASMYAkqO8g== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" postcss-value-parser "^4.2.0" postcss-normalize-url@^7.0.1: @@ -7094,12 +7028,12 @@ postcss-ordered-values@^7.0.2: cssnano-utils "^5.0.1" postcss-value-parser "^4.2.0" -postcss-reduce-initial@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-7.0.3.tgz#3ab073ecaf9e549f4c49fb0727bab09daf486672" - integrity sha512-RFvkZaqiWtGMlVjlUHpaxGqEL27lgt+Q2Ixjf83CRAzqdo+TsDyGPtJUbPx2MuYIJ+sCQc2TrOvRnhcXQfgIVA== +postcss-reduce-initial@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-7.0.4.tgz#ebe8b4c85990efaa5a1accfc77f41f23cfa66187" + integrity sha512-rdIC9IlMBn7zJo6puim58Xd++0HdbvHeHaPgXsimMfG1ijC5A9ULvNLSE0rUKVJOvNMcwewW4Ga21ngyJjY/+Q== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" caniuse-api "^3.0.0" postcss-reduce-transforms@^7.0.1: @@ -7125,13 +7059,13 @@ postcss-selector-parser@^7.0.0, postcss-selector-parser@^7.1.0: cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss-svgo@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-7.0.2.tgz#3de498299af585a5bfae28fd2a445edd1f4954f6" - integrity sha512-5Dzy66JlnRM6pkdOTF8+cGsB1fnERTE8Nc+Eed++fOWo1hdsBptCsbG8UuJkgtZt75bRtMJIrPeZmtfANixdFA== +postcss-svgo@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-7.1.0.tgz#7eb6764a643ac2699bf56eef6d2676d428ed4542" + integrity sha512-KnAlfmhtoLz6IuU3Sij2ycusNs4jPW+QoFE5kuuUOK8awR6tMxZQrs5Ey3BUz7nFCzT3eqyFgqkyrHiaU2xx3w== dependencies: postcss-value-parser "^4.2.0" - svgo "^3.3.2" + svgo "^4.0.0" postcss-unique-selectors@^7.0.4: version "7.0.4" @@ -7247,11 +7181,6 @@ protocols@^2.0.0, protocols@^2.0.1: resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.2.tgz#822e8fcdcb3df5356538b3e91bfd890b067fd0a4" integrity sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ== -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - pump@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" @@ -7455,9 +7384,9 @@ reka-ui@2.3.1: ohash "^2.0.11" reka-ui@^2.0.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/reka-ui/-/reka-ui-2.3.2.tgz#aedae51d85dcc61e418f12ffc0b013fccd5bb00c" - integrity sha512-lCysSCILH2uqShEnt93/qzlXnB7ySvK7scR0Q5C+a2iXwFVzHhvZQsMaSnbQYueoCihx6yyUZTYECepnmKrbRA== + version "2.4.0" + resolved "https://registry.yarnpkg.com/reka-ui/-/reka-ui-2.4.0.tgz#5585363ae0a3ad51c65497bd772dcc9443cb691e" + integrity sha512-5WHLEquWI5W67NnjH9F+RhpzRAcwjAEQHtHZMa5wYdhClcYDr59q0RAAcymcnfndFqv0MiBxyFfzbGSRyIZG5g== dependencies: "@floating-ui/dom" "^1.6.13" "@floating-ui/vue" "^1.1.6" @@ -7548,33 +7477,33 @@ rollup-plugin-visualizer@^6.0.3: source-map "^0.7.4" yargs "^17.5.1" -rollup@^4.34.9, rollup@^4.40.0, rollup@^4.44.0: - version "4.44.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.44.2.tgz#faedb27cb2aa6742530c39668092eecbaf78c488" - integrity sha512-PVoapzTwSEcelaWGth3uR66u7ZRo6qhPHc0f2uRO9fX6XDVNrIiGYS0Pj9+R8yIIYSD/mCx2b16Ws9itljKSPg== +rollup@^4.34.9, rollup@^4.40.0, rollup@^4.45.0: + version "4.46.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.46.0.tgz#f8b74becb74d26a703ae0ef737ff465a1feb9447" + integrity sha512-ONmkT3Ud3IfW15nl7l4qAZko5/2iZ5ALVBDh02ZSZ5IGVLJSYkRcRa3iB58VyEIyoofs9m2xdVrm+lTi97+3pw== dependencies: "@types/estree" "1.0.8" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.44.2" - "@rollup/rollup-android-arm64" "4.44.2" - "@rollup/rollup-darwin-arm64" "4.44.2" - "@rollup/rollup-darwin-x64" "4.44.2" - "@rollup/rollup-freebsd-arm64" "4.44.2" - "@rollup/rollup-freebsd-x64" "4.44.2" - "@rollup/rollup-linux-arm-gnueabihf" "4.44.2" - "@rollup/rollup-linux-arm-musleabihf" "4.44.2" - "@rollup/rollup-linux-arm64-gnu" "4.44.2" - "@rollup/rollup-linux-arm64-musl" "4.44.2" - "@rollup/rollup-linux-loongarch64-gnu" "4.44.2" - "@rollup/rollup-linux-powerpc64le-gnu" "4.44.2" - "@rollup/rollup-linux-riscv64-gnu" "4.44.2" - "@rollup/rollup-linux-riscv64-musl" "4.44.2" - "@rollup/rollup-linux-s390x-gnu" "4.44.2" - "@rollup/rollup-linux-x64-gnu" "4.44.2" - "@rollup/rollup-linux-x64-musl" "4.44.2" - "@rollup/rollup-win32-arm64-msvc" "4.44.2" - "@rollup/rollup-win32-ia32-msvc" "4.44.2" - "@rollup/rollup-win32-x64-msvc" "4.44.2" + "@rollup/rollup-android-arm-eabi" "4.46.0" + "@rollup/rollup-android-arm64" "4.46.0" + "@rollup/rollup-darwin-arm64" "4.46.0" + "@rollup/rollup-darwin-x64" "4.46.0" + "@rollup/rollup-freebsd-arm64" "4.46.0" + "@rollup/rollup-freebsd-x64" "4.46.0" + "@rollup/rollup-linux-arm-gnueabihf" "4.46.0" + "@rollup/rollup-linux-arm-musleabihf" "4.46.0" + "@rollup/rollup-linux-arm64-gnu" "4.46.0" + "@rollup/rollup-linux-arm64-musl" "4.46.0" + "@rollup/rollup-linux-loongarch64-gnu" "4.46.0" + "@rollup/rollup-linux-ppc64-gnu" "4.46.0" + "@rollup/rollup-linux-riscv64-gnu" "4.46.0" + "@rollup/rollup-linux-riscv64-musl" "4.46.0" + "@rollup/rollup-linux-s390x-gnu" "4.46.0" + "@rollup/rollup-linux-x64-gnu" "4.46.0" + "@rollup/rollup-linux-x64-musl" "4.46.0" + "@rollup/rollup-win32-arm64-msvc" "4.46.0" + "@rollup/rollup-win32-ia32-msvc" "4.46.0" + "@rollup/rollup-win32-x64-msvc" "4.46.0" fsevents "~2.3.2" run-applescript@^7.0.0: @@ -7615,6 +7544,11 @@ sass@^1.71.0: optionalDependencies: "@parcel/watcher" "^2.4.1" +sax@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f" + integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg== + scslre@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/scslre/-/scslre-0.3.0.tgz#c3211e9bfc5547fc86b1eabaa34ed1a657060155" @@ -7634,7 +7568,7 @@ semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.5, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.3, semver@^7.7.1, semver@^7.7.2: +semver@^7.3.5, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.3, semver@^7.7.2: version "7.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== @@ -7878,9 +7812,9 @@ source-map@^0.6.0, source-map@~0.6.1: integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== source-map@^0.7.4: - version "0.7.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" - integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + version "0.7.6" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.6.tgz#a3658ab87e5b6429c8a1f3ba0083d4c61ca3ef02" + integrity sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ== spdx-correct@^3.0.0: version "3.2.0" @@ -8053,11 +7987,11 @@ structured-clone-es@^1.0.0: integrity sha512-FL8EeKFFyNQv5cMnXI31CIMCsFarSVI2bF0U0ImeNE3g/F1IvJQyqzOXxPBRXiwQfyBTlbNe88jh1jFW0O/jiQ== stylehacks@^7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-7.0.5.tgz#86985a8c810f88e4a1a34804b0fe350686457ca9" - integrity sha512-5kNb7V37BNf0Q3w+1pxfa+oiNPS++/b4Jil9e/kPDgrk1zjEd6uR7SZeJiYaLYH6RRSC1XX2/37OTeU/4FvuIA== + version "7.0.6" + resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-7.0.6.tgz#b52653ec54b4d902268df4be5db5e16f18822b31" + integrity sha512-iitguKivmsueOmTO0wmxURXBP8uqOO+zikLGZ7Mm9e/94R4w5T999Js2taS/KBOnQ/wdC3jN3vNSrkGDrlnqQg== dependencies: - browserslist "^4.24.5" + browserslist "^4.25.1" postcss-selector-parser "^7.1.0" superjson@^2.2.2: @@ -8084,7 +8018,7 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -svgo@^3.2.0, svgo@^3.3.2: +svgo@^3.2.0: version "3.3.2" resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.3.2.tgz#ad58002652dffbb5986fc9716afe52d869ecbda8" integrity sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw== @@ -8097,6 +8031,19 @@ svgo@^3.2.0, svgo@^3.3.2: csso "^5.0.5" picocolors "^1.0.0" +svgo@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-4.0.0.tgz#17e0fa2eaccf429e0ec0d2179169abde9ba8ad3d" + integrity sha512-VvrHQ+9uniE+Mvx3+C9IEe/lWasXCU0nXMY2kZeLrHNICuRiC8uMPyM14UEaMOFA5mhyQqEkB02VoQ16n3DLaw== + dependencies: + commander "^11.1.0" + css-select "^5.1.0" + css-tree "^3.0.1" + css-what "^6.1.0" + csso "^5.0.5" + picocolors "^1.1.1" + sax "^1.4.1" + swagger-schema-official@2.0.0-bab6bed: version "2.0.0-bab6bed" resolved "https://registry.yarnpkg.com/swagger-schema-official/-/swagger-schema-official-2.0.0-bab6bed.tgz#70070468d6d2977ca5237b2e519ca7d06a2ea3fd" @@ -8139,11 +8086,11 @@ swagger2openapi@^7.0.8: yargs "^17.0.1" "synckit@^0.6.2 || ^0.7.3 || ^0.11.5": - version "0.11.8" - resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.11.8.tgz#b2aaae998a4ef47ded60773ad06e7cb821f55457" - integrity sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A== + version "0.11.11" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.11.11.tgz#c0b619cf258a97faa209155d9cd1699b5c998cb0" + integrity sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw== dependencies: - "@pkgr/core" "^0.2.4" + "@pkgr/core" "^0.2.9" synckit@^0.9.2: version "0.9.3" @@ -8411,9 +8358,9 @@ undici-types@~7.8.0: integrity sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw== unenv@^2.0.0-rc.18: - version "2.0.0-rc.18" - resolved "https://registry.yarnpkg.com/unenv/-/unenv-2.0.0-rc.18.tgz#967e9c797e2221a4b03879f48e3a15efaeb96c4b" - integrity sha512-O0oVQVJ2X3Q8H4HITJr4e2cWxMYBeZ+p8S25yoKCxVCgDWtIJDcgwWNonYz12tI3ylVQCRyPV/Bdq0KJeXo7AA== + version "2.0.0-rc.19" + resolved "https://registry.yarnpkg.com/unenv/-/unenv-2.0.0-rc.19.tgz#b156b05578aea6f308404aa667189e06e7848eb2" + integrity sha512-t/OMHBNAkknVCI7bVB9OWjUUAwhVv9vsPIAGnNUxnu3FxPQN11rjh0sksLMzc3g7IlTgvHmOTl4JM7JHpcv5wA== dependencies: defu "^6.1.4" exsolve "^1.0.7" @@ -8482,10 +8429,10 @@ unimport@^4.2.0: unplugin "^2.2.2" unplugin-utils "^0.2.4" -unimport@^5.0.1, unimport@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/unimport/-/unimport-5.1.0.tgz#0a57c22d685ce4063987acb7b8aa72eb87b3609a" - integrity sha512-wMmuG+wkzeHh2KCE6yiDlHmKelN8iE/maxkUYMbmrS6iV8+n6eP1TH3yKKlepuF4hrkepinEGmBXdfo9XZUvAw== +unimport@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/unimport/-/unimport-5.2.0.tgz#bb0277d268e56b2a65655e8147f5998b4cb782cf" + integrity sha512-bTuAMMOOqIAyjV4i4UH7P07pO+EsVxmhOzQ2YJ290J6mkLUdozNhb5I/YoOEheeNADC03ent3Qj07X0fWfUpmw== dependencies: acorn "^8.15.0" escape-string-regexp "^5.0.0" @@ -8494,8 +8441,8 @@ unimport@^5.0.1, unimport@^5.1.0: magic-string "^0.30.17" mlly "^1.7.4" pathe "^2.0.3" - picomatch "^4.0.2" - pkg-types "^2.1.1" + picomatch "^4.0.3" + pkg-types "^2.2.0" scule "^1.3.0" strip-literal "^3.0.0" tinyglobby "^0.2.14" @@ -8611,15 +8558,15 @@ unplugin@^2.0.0, unplugin@^2.1.0, unplugin@^2.2.2, unplugin@^2.3.2, unplugin@^2. picomatch "^4.0.2" webpack-virtual-modules "^0.6.2" -unstorage@^1.10.1, unstorage@^1.16.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/unstorage/-/unstorage-1.16.0.tgz#686e23d459532e0eccc32e15eb3b415d8f309431" - integrity sha512-WQ37/H5A7LcRPWfYOrDa1Ys02xAbpPJq6q5GkO88FBXVSQzHd7+BjEwfRqyaSWCv9MbsJy058GWjjPjcJ16GGA== +unstorage@^1.10.1, unstorage@^1.16.0, unstorage@^1.16.1: + version "1.16.1" + resolved "https://registry.yarnpkg.com/unstorage/-/unstorage-1.16.1.tgz#b2c25d05610a64de7be61e54f61ec79c5f9ba43c" + integrity sha512-gdpZ3guLDhz+zWIlYP1UwQ259tG5T5vYRzDaHMkQ1bBY1SQPutvZnrRjTFaWUUpseErJIgAZS51h6NOcZVZiqQ== dependencies: anymatch "^3.1.3" chokidar "^4.0.3" destr "^2.0.5" - h3 "^1.15.2" + h3 "^1.15.3" lru-cache "^10.4.3" node-fetch-native "^1.6.6" ofetch "^1.4.1" @@ -8738,10 +8685,10 @@ vite-node@^3.2.4: pathe "^2.0.3" vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" -vite-plugin-checker@^0.9.3: - version "0.9.3" - resolved "https://registry.yarnpkg.com/vite-plugin-checker/-/vite-plugin-checker-0.9.3.tgz#f6665dba3d6fa8ef5a559e35e546abc33e5f6074" - integrity sha512-Tf7QBjeBtG7q11zG0lvoF38/2AVUzzhMNu+Wk+mcsJ00Rk/FpJ4rmUviVJpzWkagbU13cGXvKpt7CMiqtxVTbQ== +vite-plugin-checker@^0.10.0: + version "0.10.1" + resolved "https://registry.yarnpkg.com/vite-plugin-checker/-/vite-plugin-checker-0.10.1.tgz#03ea1a341e86d9ba750ed43d8a7296cf8de0d2ee" + integrity sha512-imiBsmYTPdjQHIZiEi5BhJ7K8Z/kCjTFMn+Qa4+5ao/a4Yql4yWFcf81FDJqlMiM57iY4Q3Z7PdoEe4KydULYQ== dependencies: "@babel/code-frame" "^7.27.1" chokidar "^4.0.3" @@ -8750,19 +8697,19 @@ vite-plugin-checker@^0.9.3: picomatch "^4.0.2" strip-ansi "^7.1.0" tiny-invariant "^1.3.3" - tinyglobby "^0.2.13" + tinyglobby "^0.2.14" vscode-uri "^3.1.0" vite-plugin-inspect@^11.3.0: - version "11.3.0" - resolved "https://registry.yarnpkg.com/vite-plugin-inspect/-/vite-plugin-inspect-11.3.0.tgz#7fbd961a382942e7af5be39da1acdc0f9360f8a6" - integrity sha512-vmt7K1WVKQkuiwvsM6e5h3HDJ2pSWTnzoj+JP9Kvu3Sh2G+nFap1F1V7tqpyA4qFxM1GQ84ryffWFGQrwShERQ== + version "11.3.2" + resolved "https://registry.yarnpkg.com/vite-plugin-inspect/-/vite-plugin-inspect-11.3.2.tgz#58b129ff0bd38f18c22204ef2c36e1d590d54c6e" + integrity sha512-nzwvyFQg58XSMAmKVLr2uekAxNYvAbz1lyPmCAFVIBncCgN9S/HPM+2UM9Q9cvc4JEbC5ZBgwLAdaE2onmQuKg== dependencies: ansis "^4.1.0" debug "^4.4.1" error-stack-parser-es "^1.0.5" ohash "^2.0.11" - open "^10.1.2" + open "^10.2.0" perfect-debounce "^1.0.0" sirv "^3.0.1" unplugin-utils "^0.2.4" @@ -8780,13 +8727,13 @@ vite-plugin-vue-tracer@^1.0.0: source-map-js "^1.2.1" "vite@^5.0.0 || ^6.0.0 || ^7.0.0-0": - version "7.0.4" - resolved "https://registry.yarnpkg.com/vite/-/vite-7.0.4.tgz#481204416277cfa7c93384c55984475c4276b18f" - integrity sha512-SkaSguuS7nnmV7mfJ8l81JGBFV7Gvzp8IzgE8A8t23+AxuNX61Q5H1Tpz5efduSN7NHC8nQXD3sKQKZAu5mNEA== + version "7.0.6" + resolved "https://registry.yarnpkg.com/vite/-/vite-7.0.6.tgz#7866ccb176db4bbeec0adfb3f907f077881591d0" + integrity sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg== dependencies: esbuild "^0.25.0" fdir "^6.4.6" - picomatch "^4.0.2" + picomatch "^4.0.3" postcss "^8.5.6" rollup "^4.40.0" tinyglobby "^0.2.14" @@ -8854,15 +8801,15 @@ vue-router@^4.5.1: "@vue/devtools-api" "^6.6.4" vue@^3.4.5, vue@^3.5.13, vue@^3.5.17: - version "3.5.17" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.17.tgz#ea8a6a45abb2b0620e7d479319ce8434b55650cf" - integrity sha512-LbHV3xPN9BeljML+Xctq4lbz2lVHCR6DtbpTf5XIO6gugpXUN49j2QQPcMj086r9+AkJ0FfUT8xjulKKBkkr9g== + version "3.5.18" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.18.tgz#3d622425ad1391a2b0138323211ec784f4415686" + integrity sha512-7W4Y4ZbMiQ3SEo+m9lnoNpV9xG7QVMLa+/0RFwwiAVkeYoyGXqWE85jabU4pllJNUzqfLShJ5YLptewhCWUgNA== dependencies: - "@vue/compiler-dom" "3.5.17" - "@vue/compiler-sfc" "3.5.17" - "@vue/runtime-dom" "3.5.17" - "@vue/server-renderer" "3.5.17" - "@vue/shared" "3.5.17" + "@vue/compiler-dom" "3.5.18" + "@vue/compiler-sfc" "3.5.18" + "@vue/runtime-dom" "3.5.18" + "@vue/server-renderer" "3.5.18" + "@vue/shared" "3.5.18" web-streams-polyfill@^3.0.3: version "3.3.3" @@ -8982,6 +8929,13 @@ ws@^8.18.3: resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472" integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg== +wsl-utils@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/wsl-utils/-/wsl-utils-0.1.0.tgz#8783d4df671d4d50365be2ee4c71917a0557baab" + integrity sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw== + dependencies: + is-wsl "^3.1.0" + xml-name-validator@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" @@ -9023,7 +8977,7 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yaml@^2.0.0, yaml@^2.7.0, yaml@^2.8.0: +yaml@^2.0.0, yaml@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.0.tgz#15f8c9866211bdc2d3781a0890e44d4fa1a5fff6" integrity sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ== @@ -9064,7 +9018,7 @@ yocto-queue@^1.0.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.2.1.tgz#36d7c4739f775b3cbc28e6136e21aa057adec418" integrity sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg== -youch-core@^0.3.1, youch-core@^0.3.2, youch-core@^0.3.3: +youch-core@^0.3.1, youch-core@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/youch-core/-/youch-core-0.3.3.tgz#c5d3d85aeea0d8bc7b36e9764ed3f14b7ceddc7d" integrity sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA== @@ -9083,7 +9037,7 @@ youch@4.1.0-beta.8: cookie "^1.0.2" youch-core "^0.3.1" -youch@^4.1.0-beta.7: +youch@^4.1.0-beta.10: version "4.1.0-beta.10" resolved "https://registry.yarnpkg.com/youch/-/youch-4.1.0-beta.10.tgz#94702059e0ba7668025f5cd1b5e5c0f3eb0e83c2" integrity sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==