From 7b2879d64333cf2c8d43408a33a23e8165fd3da3 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 6 May 2024 13:41:59 +0300 Subject: [PATCH] chore(docs): Fix docblock-generator OAS tool's max-stack error (#7246) * regenerate oas to fix duplicate keys * fix clean:oas script * fix max-stack errors * fix max-level condition --- .../delete_admin_fulfillment-sets_[id].ts | 48 + ...lment-sets_[id]_service-zones_[zone_id].ts | 48 + .../admin/delete_admin_product-types_[id].ts | 46 +- .../admin/delete_admin_reservations_[id].ts | 46 +- .../delete_admin_shipping-options_[id].ts | 48 + .../delete_admin_shipping-profiles_[id].ts | 48 + .../delete_admin_stock-locations_[id].ts | 40 + .../admin/delete_admin_uploads_[id].ts | 46 +- .../operations/admin/get_admin_customers.ts | 3 +- .../admin/get_admin_customers_[id].ts | 3 +- .../admin/get_admin_draft-orders.ts | 48 +- .../admin/get_admin_draft-orders_[id].ts | 46 +- .../admin/get_admin_fulfillment-providers.ts | 44 +- ...lment-sets_[id]_service-zones_[zone_id].ts | 48 + ...in_inventory-items_[id]_location-levels.ts | 46 +- .../operations/admin/get_admin_orders.ts | 48 +- .../operations/admin/get_admin_orders_[id].ts | 46 +- .../get_admin_payments_payment-providers.ts | 48 +- .../admin/get_admin_product-categories.ts | 50 +- .../get_admin_product-categories_[id].ts | 44 + .../admin/get_admin_product-types.ts | 48 +- .../admin/get_admin_product-types_[id].ts | 2 - .../operations/admin/get_admin_products.ts | 8347 +---------------- .../admin/get_admin_promotions_[id].ts | 15 +- .../get_admin_promotions_[id]_[rule_type].ts | 46 +- ...ions_rule-attribute-options_[rule_type].ts | 46 +- ..._admin_promotions_rule-operator-options.ts | 48 +- ...options_[rule_type]_[rule_attribute_id].ts | 46 +- .../admin/get_admin_reservations.ts | 44 +- .../admin/get_admin_reservations_[id].ts | 2 - .../admin/get_admin_shipping-options.ts | 46 +- .../admin/get_admin_shipping-profiles.ts | 50 +- .../admin/get_admin_shipping-profiles_[id].ts | 44 + .../admin/get_admin_stock-locations.ts | 48 +- .../admin/get_admin_stock-locations_[id].ts | 40 + .../operations/admin/get_admin_tax-regions.ts | 48 +- .../admin/get_admin_tax-regions_[id].ts | 46 +- .../admin/get_admin_uploads_[id].ts | 46 +- .../operations/admin/post_admin_api-keys.ts | 30 +- .../admin/post_admin_api-keys_[id].ts | 28 +- ...post_admin_api-keys_[id]_sales-channels.ts | 42 +- .../operations/admin/post_admin_campaigns.ts | 79 +- .../admin/post_admin_campaigns_[id].ts | 1 + .../admin/post_admin_collections.ts | 58 +- .../admin/post_admin_collections_[id].ts | 54 +- .../post_admin_collections_[id]_products.ts | 42 +- .../admin/post_admin_customer-groups.ts | 24 +- .../admin/post_admin_customer-groups_[id].ts | 28 +- ...st_admin_customer-groups_[id]_customers.ts | 2 - .../operations/admin/post_admin_customers.ts | 73 +- .../admin/post_admin_customers_[id].ts | 73 +- .../post_admin_customers_[id]_addresses.ts | 69 +- ...n_customers_[id]_addresses_[address_id].ts | 65 +- .../admin/post_admin_draft-orders.ts | 44 +- ...min_fulfillment-sets_[id]_service-zones.ts | 42 +- ...lment-sets_[id]_service-zones_[zone_id].ts | 44 + .../admin/post_admin_fulfillments.ts | 44 +- .../post_admin_fulfillments_[id]_cancel.ts | 2 - .../post_admin_fulfillments_[id]_shipment.ts | 42 +- .../admin/post_admin_inventory-items_[id].ts | 40 + ...tems_[id]_location-levels_[location_id].ts | 40 + ...entory-items_[id]_location-levels_batch.ts | 57 +- .../operations/admin/post_admin_invites.ts | 26 +- .../admin/post_admin_price-lists.ts | 2 + .../admin/post_admin_price-lists_[id].ts | 2 + ...ost_admin_price-lists_[id]_prices_batch.ts | 97 +- .../post_admin_price-lists_[id]_products.ts | 42 +- .../admin/post_admin_product-categories.ts | 46 +- .../post_admin_product-categories_[id].ts | 44 + ..._admin_product-categories_[id]_products.ts | 65 + .../admin/post_admin_product-types.ts | 44 +- .../admin/post_admin_product-types_[id].ts | 42 +- .../operations/admin/post_admin_products.ts | 142 +- .../admin/post_admin_products_[id].ts | 140 +- .../admin/post_admin_products_[id]_options.ts | 43 +- ...admin_products_[id]_options_[option_id].ts | 60 +- .../post_admin_products_[id]_variants.ts | 82 +- ...min_products_[id]_variants_[variant_id].ts | 84 +- ...post_admin_products_[id]_variants_batch.ts | 499 +- .../admin/post_admin_products_batch.ts | 670 +- .../operations/admin/post_admin_promotions.ts | 159 +- .../admin/post_admin_promotions_[id].ts | 8 + ...t_admin_promotions_[id]_buy-rules_batch.ts | 95 +- .../post_admin_promotions_[id]_rules_batch.ts | 95 +- ...dmin_promotions_[id]_target-rules_batch.ts | 95 +- .../operations/admin/post_admin_regions.ts | 66 +- .../admin/post_admin_regions_[id].ts | 61 +- .../admin/post_admin_reservations.ts | 44 +- .../admin/post_admin_reservations_[id].ts | 42 +- ...post_admin_sales-channels_[id]_products.ts | 42 +- .../admin/post_admin_shipping-options.ts | 52 +- .../admin/post_admin_shipping-options_[id].ts | 52 +- ...admin_shipping-options_[id]_rules_batch.ts | 135 +- .../admin/post_admin_shipping-profiles.ts | 46 +- .../admin/post_admin_stock-locations.ts | 42 +- .../admin/post_admin_stock-locations_[id].ts | 42 +- ...n_stock-locations_[id]_fulfillment-sets.ts | 42 +- ...min_stock-locations_[id]_sales-channels.ts | 42 +- .../operations/admin/post_admin_uploads.ts | 49 +- .../operations/admin/post_admin_users.ts | 6 +- ...-executions_[workflow_id]_steps_failure.ts | 1 + ...-executions_[workflow_id]_steps_success.ts | 1 + .../auth/get_auth_[scope]_[auth_provider].ts | 40 + ...t_auth_[scope]_[auth_provider]_callback.ts | 40 + .../auth/post_auth_[scope]_[auth_provider].ts | 40 + ...t_auth_[scope]_[auth_provider]_callback.ts | 40 + .../operations/store/get_store_collections.ts | 48 +- .../store/get_store_collections_[id].ts | 6 +- .../store/get_store_product-categories.ts | 50 +- .../get_store_product-categories_[id].ts | 44 + .../operations/store/get_store_products.ts | 48 +- .../store/get_store_products_[id].ts | 46 +- .../operations/store/post_store_carts.ts | 4 - .../operations/store/post_store_carts_[id].ts | 4 - .../store/post_store_carts_[id]_complete.ts | 93 + ...st_store_carts_[id]_payment-collections.ts | 55 +- .../post_store_carts_[id]_shipping-methods.ts | 42 +- .../store/post_store_customers_me.ts | 44 +- .../post_store_customers_me_addresses.ts | 67 +- ...ore_customers_me_addresses_[address_id].ts | 62 +- .../schemas/AdminCustomerListResponse.ts | 31 + .../schemas/AdminCustomerResponse.ts | 13 + .../AdminFulfillmentProviderResponse.ts | 43 + .../schemas/AdminFulfillmentSetResponse.ts | 13 + .../AdminFulfillmentSetsDeleteResponse.ts | 25 + .../schemas/AdminGeoZoneResponse.ts | 9 + .../schemas/AdminPostCampaignsReq.ts | 51 - .../schemas/AdminPriceSetPriceResponse.ts | 35 + .../AdminProductCategoryListResponse.ts | 31 + .../schemas/AdminProductCategoryResponse.ts | 13 + .../schemas/AdminServiceZoneDeleteResponse.ts | 28 + .../schemas/AdminServiceZoneResponse.ts | 13 + .../AdminShippingOptionDeleteResponse.ts | 25 + .../AdminShippingOptionListResponse.ts | 31 + .../schemas/AdminShippingOptionResponse.ts | 98 + .../AdminShippingOptionRetrieveResponse.ts | 13 + .../AdminShippingOptionRuleResponse.ts | 53 + .../AdminShippingOptionTypeResponse.ts | 53 + .../AdminShippingProfileDeleteResponse.ts | 25 + .../schemas/AdminShippingProfileResponse.ts | 13 + .../schemas/AdminShippingProfilesResponse.ts | 31 + .../ApplicationMethodsMethodPostReq.ts | 119 - .../oas-output/schemas/CreateAddress.ts | 57 + .../oas-output/schemas/CreateApiKey.ts | 21 - .../oas-output/schemas/CreateCartAddress.ts | 53 + .../schemas/CreateCartCreateLineItem.ts | 104 + .../schemas/CreateCartWorkflowInput.ts | 202 +- .../oas-output/schemas/CreateCustomer.ts | 102 - .../schemas/CreateCustomerAddress.ts | 71 - .../oas-output/schemas/CreateCustomerGroup.ts | 23 - .../schemas/CreateDefaultTaxRate.ts | 27 - .../oas-output/schemas/CreateInvite.ts | 24 - .../oas-output/schemas/CreateProduct.ts | 219 +- .../schemas/CreateProductCollection.ts | 30 - .../oas-output/schemas/CreateProductOption.ts | 31 +- .../schemas/CreateProductVariant.ts | 40 +- .../oas-output/schemas/CreatePromotion.ts | 74 - .../oas-output/schemas/CreateRegion.ts | 35 - .../oas-output/schemas/CreateSalesChannel.ts | 23 - .../generated/oas-output/schemas/Customer.ts | 93 + .../oas-output/schemas/CustomerAddress.ts | 76 +- .../schemas/CustomerAddressResponse.ts | 100 + .../schemas/CustomerGroupResponse.ts | 41 + .../schemas/CustomerGroupUpdatableFields.ts | 17 - .../oas-output/schemas/CustomerResponse.ts | 101 + .../schemas/CustomerUpdatableFields.ts | 34 - .../schemas/FulfillmentSetResponse.ts | 54 + .../schemas/ProductCategoryResponse.ts | 79 + .../oas-output/schemas/ServiceZoneResponse.ts | 49 + .../schemas/ShippingProfileResponse.ts | 48 + .../schemas/StockLocationAddress.ts | 44 - ...PostPaymentCollectionsPaymentSessionReq.ts | 9 +- .../StoreProductCategoryListResponse.ts | 31 + .../schemas/StoreProductCategoryResponse.ts | 13 + .../oas-output/schemas/UpdateAddress.ts | 63 + .../oas-output/schemas/UpdateApiKey.ts | 13 - .../oas-output/schemas/UpdateCartData.ts | 224 +- .../oas-output/schemas/UpdateProduct.ts | 264 - .../schemas/UpdateProductCollection.ts | 32 - .../oas-output/schemas/UpdateProductOption.ts | 37 - .../schemas/UpdateProductVariant.ts | 81 - .../oas-output/schemas/UpdateRegion.ts | 32 - .../oas-output/schemas/UpsertProductImage.ts | 21 + .../oas-output/schemas/UpsertProductTag.ts | 17 + .../src/classes/helpers/oas-schema.ts | 17 +- .../src/classes/kinds/oas.ts | 13 + .../src/commands/clean-oas.ts | 2 + 187 files changed, 7495 insertions(+), 11011 deletions(-) create mode 100644 www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminCustomerListResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminCustomerResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminFulfillmentProviderResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminFulfillmentSetResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminFulfillmentSetsDeleteResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminGeoZoneResponse.ts delete mode 100644 www/utils/generated/oas-output/schemas/AdminPostCampaignsReq.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminPriceSetPriceResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminProductCategoryListResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminProductCategoryResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminServiceZoneDeleteResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminServiceZoneResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionDeleteResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionListResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionRetrieveResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionRuleResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingOptionTypeResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingProfileDeleteResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingProfileResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/AdminShippingProfilesResponse.ts delete mode 100644 www/utils/generated/oas-output/schemas/ApplicationMethodsMethodPostReq.ts create mode 100644 www/utils/generated/oas-output/schemas/CreateAddress.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateApiKey.ts create mode 100644 www/utils/generated/oas-output/schemas/CreateCartAddress.ts create mode 100644 www/utils/generated/oas-output/schemas/CreateCartCreateLineItem.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateCustomer.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateCustomerAddress.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateCustomerGroup.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateDefaultTaxRate.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateInvite.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateProductCollection.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreatePromotion.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateRegion.ts delete mode 100644 www/utils/generated/oas-output/schemas/CreateSalesChannel.ts create mode 100644 www/utils/generated/oas-output/schemas/Customer.ts create mode 100644 www/utils/generated/oas-output/schemas/CustomerAddressResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/CustomerGroupResponse.ts delete mode 100644 www/utils/generated/oas-output/schemas/CustomerGroupUpdatableFields.ts create mode 100644 www/utils/generated/oas-output/schemas/CustomerResponse.ts delete mode 100644 www/utils/generated/oas-output/schemas/CustomerUpdatableFields.ts create mode 100644 www/utils/generated/oas-output/schemas/FulfillmentSetResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/ProductCategoryResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/ServiceZoneResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/ShippingProfileResponse.ts delete mode 100644 www/utils/generated/oas-output/schemas/StockLocationAddress.ts create mode 100644 www/utils/generated/oas-output/schemas/StoreProductCategoryListResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/StoreProductCategoryResponse.ts create mode 100644 www/utils/generated/oas-output/schemas/UpdateAddress.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateApiKey.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateProduct.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateProductCollection.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateProductOption.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateProductVariant.ts delete mode 100644 www/utils/generated/oas-output/schemas/UpdateRegion.ts create mode 100644 www/utils/generated/oas-output/schemas/UpsertProductImage.ts create mode 100644 www/utils/generated/oas-output/schemas/UpsertProductTag.ts diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id].ts index 5c52e60448..d89ce6ddec 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,6 +66,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminFulfillmentSetsDeleteResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +82,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts index b9a82b4991..4367bf2299 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts @@ -19,6 +19,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -36,6 +76,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminServiceZoneDeleteResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -48,6 +92,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_product-types_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_product-types_[id].ts index cb4790be5c..217cb37e13 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_product-types_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_product-types_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -24,8 +64,6 @@ * tags: * - Product Types * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +76,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_reservations_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_reservations_[id].ts index 4cd29a8f88..2d675a927a 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_reservations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_reservations_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -24,8 +64,6 @@ * tags: * - Reservations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +76,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-options_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-options_[id].ts index a10d9a6d94..f46248fb4d 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-options_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-options_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,6 +66,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingOptionDeleteResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +82,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-profiles_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-profiles_[id].ts index 5b9d089ee7..4765157bca 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-profiles_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_shipping-profiles_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,6 +66,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingProfileDeleteResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +82,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_stock-locations_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_stock-locations_[id].ts index 6c3f9dc9c5..661e54668a 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_stock-locations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_stock-locations_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_uploads_[id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_uploads_[id].ts index 008f12eb53..df5a5569f7 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_uploads_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_uploads_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -24,8 +64,6 @@ * tags: * - Uploads * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +76,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_customers.ts b/www/utils/generated/oas-output/operations/admin/get_admin_customers.ts index 51600a8fa2..ddf042cb0b 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_customers.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_customers.ts @@ -63,7 +63,8 @@ * description: OK * content: * application/json: - * schema: {} + * schema: + * $ref: "#/components/schemas/AdminCustomerListResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_customers_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_customers_[id].ts index 87db63cec7..fe55fe6706 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_customers_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_customers_[id].ts @@ -69,7 +69,8 @@ * description: OK * content: * application/json: - * schema: {} + * schema: + * $ref: "#/components/schemas/AdminCustomerResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders.ts b/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders.ts index 070c0cfc0e..f7935c30b1 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of draft orders. The draft orders can be filtered * by fields such as `id`. The draft orders can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Draft Orders * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders_[id].ts index 7f7a74ae40..9a671da8f6 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_draft-orders_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -25,8 +65,6 @@ * tags: * - Draft Orders * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -39,6 +77,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-providers.ts b/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-providers.ts index 521f35ef5f..150bff8def 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-providers.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-providers.ts @@ -6,7 +6,47 @@ * can be filtered by fields such as `id`. The fulfillment providers can also be * sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -37,8 +77,6 @@ * tags: * - Fulfillment Providers * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts index a35598b99d..49b9f9adca 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts @@ -19,6 +19,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -34,6 +74,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminServiceZoneResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -46,6 +90,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_inventory-items_[id]_location-levels.ts b/www/utils/generated/oas-output/operations/admin/get_admin_inventory-items_[id]_location-levels.ts index 2bfc44912d..25ab201e3e 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_inventory-items_[id]_location-levels.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_inventory-items_[id]_location-levels.ts @@ -13,6 +13,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,8 +66,6 @@ * tags: * - Inventory Items * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -40,6 +78,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_orders.ts b/www/utils/generated/oas-output/operations/admin/get_admin_orders.ts index 8de594a03a..af825f9ab9 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_orders.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_orders.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of orders. The orders can be filtered by fields * such as `id`. The orders can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Orders * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id].ts index e7ea40aff2..a0735c2b47 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -25,8 +65,6 @@ * tags: * - Orders * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -39,6 +77,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_payments_payment-providers.ts b/www/utils/generated/oas-output/operations/admin/get_admin_payments_payment-providers.ts index 97c3fd4921..dea960f138 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_payments_payment-providers.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_payments_payment-providers.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of payments. The payments can be filtered by fields * such as `id`. The payments can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Payments * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-categories.ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-categories.ts index de2aa50b5d..48111ceb09 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-categories.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-categories.ts @@ -6,7 +6,47 @@ * be filtered by fields such as `id`. The product categories can also be sorted * or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -22,6 +62,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminProductCategoryListResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -34,6 +78,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-categories_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-categories_[id].ts index 5fd8a55c70..75e5b06c71 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-categories_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-categories_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -56,6 +96,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminProductCategoryResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-types.ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-types.ts index 5ace375ef1..3d688f4371 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-types.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-types.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of product types. The product types can be filtered * by fields such as `id`. The product types can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Product Types * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-types_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-types_[id].ts index 4146fa9483..0a601f0f63 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-types_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-types_[id].ts @@ -82,8 +82,6 @@ * tags: * - Product Types * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_products.ts b/www/utils/generated/oas-output/operations/admin/get_admin_products.ts index 8b29412f3c..47ee6c2cb3 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_products.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_products.ts @@ -50,8350 +50,6 @@ * - api_token: [] * - cookie_auth: [] * - jwt_token: [] - * requestBody: - * content: - * application/json: - * schema: - * description: SUMMARY - * properties: - * q: - * type: string - * title: q - * description: The product's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The product's ID. - * - type: array - * description: The product's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The product's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The product's title. - * handle: - * type: string - * title: handle - * description: The product's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The product's is giftcard. - * price_list_id: - * type: array - * description: The product's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The product's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The product's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The product's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The product's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The product's variants. - * properties: {} - * created_at: - * type: object - * description: The product's created at. - * properties: - * $and: - * type: array - * description: The created at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * - type: object - * description: The $and's details. - * properties: - * $and: - * type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $and's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $and's $eq. - * - type: object - * description: The $and's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $and's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $and's $ne. - * - type: object - * description: The $and's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $and's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $and's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $and's $not. - * - type: object - * description: The $and's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's $not. - * properties: {} - * - type: array - * description: The $and's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $and's $gt. - * - type: object - * description: The $and's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $and's $gte. - * - type: object - * description: The $and's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $and's $lt. - * - type: object - * description: The $and's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $and's $lte. - * - type: object - * description: The $and's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $and's $like. - * $re: - * type: string - * title: $re - * description: The $and's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $and's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $and's $fulltext. - * $overlap: - * type: array - * description: The $and's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $and's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $and's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $and's $exists. - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * $or: - * type: array - * description: The created at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * - type: object - * description: The $or's details. - * properties: - * $and: - * type: array - * description: The $or's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $or's $eq. - * - type: object - * description: The $or's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $or's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $or's $ne. - * - type: object - * description: The $or's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $or's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $or's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $or's $not. - * - type: object - * description: The $or's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's $not. - * properties: {} - * - type: array - * description: The $or's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $or's $gt. - * - type: object - * description: The $or's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $or's $gte. - * - type: object - * description: The $or's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $or's $lt. - * - type: object - * description: The $or's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $or's $lte. - * - type: object - * description: The $or's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $or's $like. - * $re: - * type: string - * title: $re - * description: The $or's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $or's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $or's $fulltext. - * $overlap: - * type: array - * description: The $or's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $or's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $or's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $or's $exists. - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The created at's $eq. - * - type: object - * description: The created at's $eq. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * - type: array - * description: The created at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The created at's $ne. - * - type: object - * description: The created at's $ne. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $ne's exec. - * properties: {} - * test: - * type: object - * description: The $ne's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $ne's source. - * global: - * type: boolean - * title: global - * description: The $ne's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $ne's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $ne's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $ne's lastindex. - * compile: - * type: object - * description: The $ne's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $ne's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $ne's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $ne's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $ne's dotall. - * __@match@2351: - * type: object - * description: The $ne's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $ne's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $ne's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $ne's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $ne's @matchall@2360. - * properties: {} - * $in: - * type: array - * description: The created at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $in's exec. - * properties: {} - * test: - * type: object - * description: The $in's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $in's source. - * global: - * type: boolean - * title: global - * description: The $in's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $in's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $in's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $in's lastindex. - * compile: - * type: object - * description: The $in's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $in's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $in's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $in's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $in's dotall. - * __@match@2351: - * type: object - * description: The $in's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $in's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $in's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $in's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $in's @matchall@2360. - * properties: {} - * $nin: - * type: array - * description: The created at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $nin's exec. - * properties: {} - * test: - * type: object - * description: The $nin's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $nin's source. - * global: - * type: boolean - * title: global - * description: The $nin's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $nin's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $nin's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $nin's lastindex. - * compile: - * type: object - * description: The $nin's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $nin's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $nin's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $nin's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $nin's dotall. - * __@match@2351: - * type: object - * description: The $nin's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $nin's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $nin's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $nin's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $nin's @matchall@2360. - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The created at's $not. - * - type: object - * description: The created at's $not. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * - type: object - * description: The created at's $not. - * properties: - * $and: - * type: array - * description: The $not's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $not's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $not's $eq. - * - type: object - * description: The $not's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $not's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $not's $ne. - * - type: object - * description: The $not's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $not's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $not's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $not's details. - * properties: {} - * - type: array - * description: The $not's details. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $not's $gt. - * - type: object - * description: The $not's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $not's $gte. - * - type: object - * description: The $not's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $not's $lt. - * - type: object - * description: The $not's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $not's $lte. - * - type: object - * description: The $not's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $not's $like. - * $re: - * type: string - * title: $re - * description: The $not's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $not's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $not's $fulltext. - * $overlap: - * type: array - * description: The $not's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $not's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $not's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $not's $exists. - * - type: array - * description: The created at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The created at's $gt. - * - type: object - * description: The created at's $gt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gt's exec. - * properties: {} - * test: - * type: object - * description: The $gt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gt's source. - * global: - * type: boolean - * title: global - * description: The $gt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gt's lastindex. - * compile: - * type: object - * description: The $gt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gt's dotall. - * __@match@2351: - * type: object - * description: The $gt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gt's @matchall@2360. - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The created at's $gte. - * - type: object - * description: The created at's $gte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gte's exec. - * properties: {} - * test: - * type: object - * description: The $gte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gte's source. - * global: - * type: boolean - * title: global - * description: The $gte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gte's lastindex. - * compile: - * type: object - * description: The $gte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gte's dotall. - * __@match@2351: - * type: object - * description: The $gte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gte's @matchall@2360. - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The created at's $lt. - * - type: object - * description: The created at's $lt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lt's exec. - * properties: {} - * test: - * type: object - * description: The $lt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lt's source. - * global: - * type: boolean - * title: global - * description: The $lt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lt's lastindex. - * compile: - * type: object - * description: The $lt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lt's dotall. - * __@match@2351: - * type: object - * description: The $lt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lt's @matchall@2360. - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The created at's $lte. - * - type: object - * description: The created at's $lte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lte's exec. - * properties: {} - * test: - * type: object - * description: The $lte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lte's source. - * global: - * type: boolean - * title: global - * description: The $lte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lte's lastindex. - * compile: - * type: object - * description: The $lte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lte's dotall. - * __@match@2351: - * type: object - * description: The $lte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lte's @matchall@2360. - * properties: {} - * $like: - * type: string - * title: $like - * description: The created at's $like. - * $re: - * type: string - * title: $re - * description: The created at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The created at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The created at's $fulltext. - * $overlap: - * type: array - * description: The created at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The created at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The created at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The created at's $exists. - * updated_at: - * type: object - * description: The product's updated at. - * properties: - * $and: - * type: array - * description: The updated at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * - type: object - * description: The $and's details. - * properties: - * $and: - * type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $and's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $and's $eq. - * - type: object - * description: The $and's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $and's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $and's $ne. - * - type: object - * description: The $and's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $and's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $and's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $and's $not. - * - type: object - * description: The $and's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's $not. - * properties: {} - * - type: array - * description: The $and's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $and's $gt. - * - type: object - * description: The $and's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $and's $gte. - * - type: object - * description: The $and's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $and's $lt. - * - type: object - * description: The $and's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $and's $lte. - * - type: object - * description: The $and's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $and's $like. - * $re: - * type: string - * title: $re - * description: The $and's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $and's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $and's $fulltext. - * $overlap: - * type: array - * description: The $and's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $and's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $and's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $and's $exists. - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * $or: - * type: array - * description: The updated at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * - type: object - * description: The $or's details. - * properties: - * $and: - * type: array - * description: The $or's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $or's $eq. - * - type: object - * description: The $or's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $or's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $or's $ne. - * - type: object - * description: The $or's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $or's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $or's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $or's $not. - * - type: object - * description: The $or's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's $not. - * properties: {} - * - type: array - * description: The $or's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $or's $gt. - * - type: object - * description: The $or's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $or's $gte. - * - type: object - * description: The $or's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $or's $lt. - * - type: object - * description: The $or's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $or's $lte. - * - type: object - * description: The $or's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $or's $like. - * $re: - * type: string - * title: $re - * description: The $or's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $or's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $or's $fulltext. - * $overlap: - * type: array - * description: The $or's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $or's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $or's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $or's $exists. - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The updated at's $eq. - * - type: object - * description: The updated at's $eq. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * - type: array - * description: The updated at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The updated at's $ne. - * - type: object - * description: The updated at's $ne. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $ne's exec. - * properties: {} - * test: - * type: object - * description: The $ne's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $ne's source. - * global: - * type: boolean - * title: global - * description: The $ne's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $ne's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $ne's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $ne's lastindex. - * compile: - * type: object - * description: The $ne's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $ne's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $ne's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $ne's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $ne's dotall. - * __@match@2351: - * type: object - * description: The $ne's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $ne's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $ne's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $ne's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $ne's @matchall@2360. - * properties: {} - * $in: - * type: array - * description: The updated at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $in's exec. - * properties: {} - * test: - * type: object - * description: The $in's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $in's source. - * global: - * type: boolean - * title: global - * description: The $in's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $in's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $in's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $in's lastindex. - * compile: - * type: object - * description: The $in's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $in's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $in's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $in's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $in's dotall. - * __@match@2351: - * type: object - * description: The $in's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $in's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $in's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $in's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $in's @matchall@2360. - * properties: {} - * $nin: - * type: array - * description: The updated at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $nin's exec. - * properties: {} - * test: - * type: object - * description: The $nin's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $nin's source. - * global: - * type: boolean - * title: global - * description: The $nin's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $nin's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $nin's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $nin's lastindex. - * compile: - * type: object - * description: The $nin's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $nin's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $nin's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $nin's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $nin's dotall. - * __@match@2351: - * type: object - * description: The $nin's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $nin's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $nin's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $nin's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $nin's @matchall@2360. - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The updated at's $not. - * - type: object - * description: The updated at's $not. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * - type: object - * description: The updated at's $not. - * properties: - * $and: - * type: array - * description: The $not's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $not's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $not's $eq. - * - type: object - * description: The $not's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $not's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $not's $ne. - * - type: object - * description: The $not's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $not's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $not's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $not's details. - * properties: {} - * - type: array - * description: The $not's details. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $not's $gt. - * - type: object - * description: The $not's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $not's $gte. - * - type: object - * description: The $not's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $not's $lt. - * - type: object - * description: The $not's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $not's $lte. - * - type: object - * description: The $not's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $not's $like. - * $re: - * type: string - * title: $re - * description: The $not's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $not's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $not's $fulltext. - * $overlap: - * type: array - * description: The $not's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $not's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $not's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $not's $exists. - * - type: array - * description: The updated at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The updated at's $gt. - * - type: object - * description: The updated at's $gt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gt's exec. - * properties: {} - * test: - * type: object - * description: The $gt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gt's source. - * global: - * type: boolean - * title: global - * description: The $gt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gt's lastindex. - * compile: - * type: object - * description: The $gt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gt's dotall. - * __@match@2351: - * type: object - * description: The $gt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gt's @matchall@2360. - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The updated at's $gte. - * - type: object - * description: The updated at's $gte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gte's exec. - * properties: {} - * test: - * type: object - * description: The $gte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gte's source. - * global: - * type: boolean - * title: global - * description: The $gte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gte's lastindex. - * compile: - * type: object - * description: The $gte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gte's dotall. - * __@match@2351: - * type: object - * description: The $gte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gte's @matchall@2360. - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The updated at's $lt. - * - type: object - * description: The updated at's $lt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lt's exec. - * properties: {} - * test: - * type: object - * description: The $lt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lt's source. - * global: - * type: boolean - * title: global - * description: The $lt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lt's lastindex. - * compile: - * type: object - * description: The $lt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lt's dotall. - * __@match@2351: - * type: object - * description: The $lt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lt's @matchall@2360. - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The updated at's $lte. - * - type: object - * description: The updated at's $lte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lte's exec. - * properties: {} - * test: - * type: object - * description: The $lte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lte's source. - * global: - * type: boolean - * title: global - * description: The $lte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lte's lastindex. - * compile: - * type: object - * description: The $lte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lte's dotall. - * __@match@2351: - * type: object - * description: The $lte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lte's @matchall@2360. - * properties: {} - * $like: - * type: string - * title: $like - * description: The updated at's $like. - * $re: - * type: string - * title: $re - * description: The updated at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The updated at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The updated at's $fulltext. - * $overlap: - * type: array - * description: The updated at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The updated at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The updated at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The updated at's $exists. - * deleted_at: - * type: object - * description: The product's deleted at. - * properties: - * $and: - * type: array - * description: The deleted at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * - type: object - * description: The $and's details. - * properties: - * $and: - * type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $and's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $and's $eq. - * - type: object - * description: The $and's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $and's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $and's $ne. - * - type: object - * description: The $and's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $and's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $and's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $and's $not. - * - type: object - * description: The $and's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's $not. - * properties: {} - * - type: array - * description: The $and's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $and's $gt. - * - type: object - * description: The $and's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $and's $gte. - * - type: object - * description: The $and's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $and's $lt. - * - type: object - * description: The $and's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $and's $lte. - * - type: object - * description: The $and's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $and's $like. - * $re: - * type: string - * title: $re - * description: The $and's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $and's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $and's $fulltext. - * $overlap: - * type: array - * description: The $and's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $and's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $and's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $and's $exists. - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $and's exec. - * properties: {} - * test: - * type: object - * description: The $and's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $and's source. - * global: - * type: boolean - * title: global - * description: The $and's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $and's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $and's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $and's lastindex. - * compile: - * type: object - * description: The $and's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $and's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $and's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $and's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $and's dotall. - * __@match@2351: - * type: object - * description: The $and's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $and's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $and's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $and's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $and's @matchall@2360. - * properties: {} - * $or: - * type: array - * description: The deleted at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * - type: object - * description: The $or's details. - * properties: - * $and: - * type: array - * description: The $or's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $or's $eq. - * - type: object - * description: The $or's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $or's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $or's $ne. - * - type: object - * description: The $or's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $or's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $or's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $or's $not. - * - type: object - * description: The $or's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's $not. - * properties: {} - * - type: array - * description: The $or's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $or's $gt. - * - type: object - * description: The $or's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $or's $gte. - * - type: object - * description: The $or's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $or's $lt. - * - type: object - * description: The $or's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $or's $lte. - * - type: object - * description: The $or's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $or's $like. - * $re: - * type: string - * title: $re - * description: The $or's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $or's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $or's $fulltext. - * $overlap: - * type: array - * description: The $or's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $or's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $or's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $or's $exists. - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $or's exec. - * properties: {} - * test: - * type: object - * description: The $or's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $or's source. - * global: - * type: boolean - * title: global - * description: The $or's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $or's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $or's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $or's lastindex. - * compile: - * type: object - * description: The $or's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $or's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $or's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $or's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $or's dotall. - * __@match@2351: - * type: object - * description: The $or's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $or's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $or's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $or's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $or's @matchall@2360. - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The deleted at's $eq. - * - type: object - * description: The deleted at's $eq. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * - type: array - * description: The deleted at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $eq's exec. - * properties: {} - * test: - * type: object - * description: The $eq's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $eq's source. - * global: - * type: boolean - * title: global - * description: The $eq's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $eq's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $eq's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $eq's lastindex. - * compile: - * type: object - * description: The $eq's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $eq's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $eq's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $eq's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $eq's dotall. - * __@match@2351: - * type: object - * description: The $eq's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $eq's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $eq's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $eq's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $eq's @matchall@2360. - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The deleted at's $ne. - * - type: object - * description: The deleted at's $ne. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $ne's exec. - * properties: {} - * test: - * type: object - * description: The $ne's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $ne's source. - * global: - * type: boolean - * title: global - * description: The $ne's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $ne's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $ne's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $ne's lastindex. - * compile: - * type: object - * description: The $ne's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $ne's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $ne's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $ne's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $ne's dotall. - * __@match@2351: - * type: object - * description: The $ne's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $ne's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $ne's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $ne's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $ne's @matchall@2360. - * properties: {} - * $in: - * type: array - * description: The deleted at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $in's exec. - * properties: {} - * test: - * type: object - * description: The $in's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $in's source. - * global: - * type: boolean - * title: global - * description: The $in's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $in's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $in's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $in's lastindex. - * compile: - * type: object - * description: The $in's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $in's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $in's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $in's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $in's dotall. - * __@match@2351: - * type: object - * description: The $in's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $in's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $in's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $in's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $in's @matchall@2360. - * properties: {} - * $nin: - * type: array - * description: The deleted at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $nin's exec. - * properties: {} - * test: - * type: object - * description: The $nin's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $nin's source. - * global: - * type: boolean - * title: global - * description: The $nin's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $nin's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $nin's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $nin's lastindex. - * compile: - * type: object - * description: The $nin's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $nin's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $nin's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $nin's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $nin's dotall. - * __@match@2351: - * type: object - * description: The $nin's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $nin's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $nin's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $nin's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $nin's @matchall@2360. - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The deleted at's $not. - * - type: object - * description: The deleted at's $not. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * - type: object - * description: The deleted at's $not. - * properties: - * $and: - * type: array - * description: The $not's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The $not's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The $not's $eq. - * - type: object - * description: The $not's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The $not's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The $not's $ne. - * - type: object - * description: The $not's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The $not's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The $not's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $not's details. - * properties: {} - * - type: array - * description: The $not's details. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The $not's $gt. - * - type: object - * description: The $not's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The $not's $gte. - * - type: object - * description: The $not's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The $not's $lt. - * - type: object - * description: The $not's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The $not's $lte. - * - type: object - * description: The $not's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The $not's $like. - * $re: - * type: string - * title: $re - * description: The $not's $re. - * $ilike: - * type: string - * title: $ilike - * description: The $not's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The $not's $fulltext. - * $overlap: - * type: array - * description: The $not's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The $not's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The $not's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The $not's $exists. - * - type: array - * description: The deleted at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $not's exec. - * properties: {} - * test: - * type: object - * description: The $not's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $not's source. - * global: - * type: boolean - * title: global - * description: The $not's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $not's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $not's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $not's lastindex. - * compile: - * type: object - * description: The $not's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $not's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $not's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $not's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $not's dotall. - * __@match@2351: - * type: object - * description: The $not's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $not's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $not's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $not's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $not's @matchall@2360. - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The deleted at's $gt. - * - type: object - * description: The deleted at's $gt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gt's exec. - * properties: {} - * test: - * type: object - * description: The $gt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gt's source. - * global: - * type: boolean - * title: global - * description: The $gt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gt's lastindex. - * compile: - * type: object - * description: The $gt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gt's dotall. - * __@match@2351: - * type: object - * description: The $gt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gt's @matchall@2360. - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The deleted at's $gte. - * - type: object - * description: The deleted at's $gte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $gte's exec. - * properties: {} - * test: - * type: object - * description: The $gte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $gte's source. - * global: - * type: boolean - * title: global - * description: The $gte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $gte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $gte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $gte's lastindex. - * compile: - * type: object - * description: The $gte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $gte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $gte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $gte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $gte's dotall. - * __@match@2351: - * type: object - * description: The $gte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $gte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $gte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $gte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $gte's @matchall@2360. - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The deleted at's $lt. - * - type: object - * description: The deleted at's $lt. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lt's exec. - * properties: {} - * test: - * type: object - * description: The $lt's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lt's source. - * global: - * type: boolean - * title: global - * description: The $lt's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lt's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lt's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lt's lastindex. - * compile: - * type: object - * description: The $lt's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lt's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lt's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lt's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lt's dotall. - * __@match@2351: - * type: object - * description: The $lt's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lt's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lt's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lt's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lt's @matchall@2360. - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The deleted at's $lte. - * - type: object - * description: The deleted at's $lte. - * x-schemaName: RegExp - * required: - * - exec - * - test - * - source - * - global - * - ignoreCase - * - multiline - * - lastIndex - * - flags - * - sticky - * - unicode - * - dotAll - * - __@match@2351 - * - __@replace@2353 - * - __@search@2356 - * - __@matchAll@2360 - * properties: - * exec: - * type: object - * description: The $lte's exec. - * properties: {} - * test: - * type: object - * description: The $lte's test. - * properties: {} - * source: - * type: string - * title: source - * description: The $lte's source. - * global: - * type: boolean - * title: global - * description: The $lte's global. - * ignoreCase: - * type: boolean - * title: ignoreCase - * description: The $lte's ignorecase. - * multiline: - * type: boolean - * title: multiline - * description: The $lte's multiline. - * lastIndex: - * type: number - * title: lastIndex - * description: The $lte's lastindex. - * compile: - * type: object - * description: The $lte's compile. - * properties: {} - * flags: - * type: string - * title: flags - * description: The $lte's flags. - * sticky: - * type: boolean - * title: sticky - * description: The $lte's sticky. - * unicode: - * type: boolean - * title: unicode - * description: The $lte's unicode. - * dotAll: - * type: boolean - * title: dotAll - * description: The $lte's dotall. - * __@match@2351: - * type: object - * description: The $lte's @match@2351. - * properties: {} - * __@replace@2353: - * type: object - * description: The $lte's @replace@2353. - * properties: {} - * __@search@2356: - * type: object - * description: The $lte's @search@2356. - * properties: {} - * __@split@2358: - * type: object - * description: The $lte's @split@2358. - * properties: {} - * __@matchAll@2360: - * type: object - * description: The $lte's @matchall@2360. - * properties: {} - * $like: - * type: string - * title: $like - * description: The deleted at's $like. - * $re: - * type: string - * title: $re - * description: The deleted at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The deleted at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The deleted at's $fulltext. - * $overlap: - * type: array - * description: The deleted at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The deleted at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The deleted at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The deleted at's $exists. - * $and: - * type: array - * description: The product's $and. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $and's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $and's ID. - * - type: array - * description: The $and's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $and's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $and's title. - * handle: - * type: string - * title: handle - * description: The $and's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $and's is giftcard. - * price_list_id: - * type: array - * description: The $and's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $and's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $and's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $and's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $and's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $and's variants. - * properties: {} - * created_at: - * type: object - * description: The $and's created at. - * properties: - * $and: - * type: array - * description: The created at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The created at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The created at's $eq. - * - type: object - * description: The created at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The created at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The created at's $ne. - * - type: object - * description: The created at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The created at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The created at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The created at's $not. - * - type: object - * description: The created at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The created at's $not. - * properties: {} - * - type: array - * description: The created at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The created at's $gt. - * - type: object - * description: The created at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The created at's $gte. - * - type: object - * description: The created at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The created at's $lt. - * - type: object - * description: The created at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The created at's $lte. - * - type: object - * description: The created at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The created at's $like. - * $re: - * type: string - * title: $re - * description: The created at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The created at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The created at's $fulltext. - * $overlap: - * type: array - * description: The created at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The created at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The created at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The created at's $exists. - * updated_at: - * type: object - * description: The $and's updated at. - * properties: - * $and: - * type: array - * description: The updated at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The updated at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The updated at's $eq. - * - type: object - * description: The updated at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The updated at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The updated at's $ne. - * - type: object - * description: The updated at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The updated at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The updated at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The updated at's $not. - * - type: object - * description: The updated at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The updated at's $not. - * properties: {} - * - type: array - * description: The updated at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The updated at's $gt. - * - type: object - * description: The updated at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The updated at's $gte. - * - type: object - * description: The updated at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The updated at's $lt. - * - type: object - * description: The updated at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The updated at's $lte. - * - type: object - * description: The updated at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The updated at's $like. - * $re: - * type: string - * title: $re - * description: The updated at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The updated at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The updated at's $fulltext. - * $overlap: - * type: array - * description: The updated at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The updated at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The updated at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The updated at's $exists. - * deleted_at: - * type: object - * description: The $and's deleted at. - * properties: - * $and: - * type: array - * description: The deleted at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The deleted at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The deleted at's $eq. - * - type: object - * description: The deleted at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The deleted at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The deleted at's $ne. - * - type: object - * description: The deleted at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The deleted at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The deleted at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The deleted at's $not. - * - type: object - * description: The deleted at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The deleted at's $not. - * properties: {} - * - type: array - * description: The deleted at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The deleted at's $gt. - * - type: object - * description: The deleted at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The deleted at's $gte. - * - type: object - * description: The deleted at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The deleted at's $lt. - * - type: object - * description: The deleted at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The deleted at's $lte. - * - type: object - * description: The deleted at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The deleted at's $like. - * $re: - * type: string - * title: $re - * description: The deleted at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The deleted at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The deleted at's $fulltext. - * $overlap: - * type: array - * description: The deleted at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The deleted at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The deleted at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The deleted at's $exists. - * $and: - * type: array - * description: The $and's details. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $and's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $and's ID. - * - type: array - * description: The $and's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $and's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $and's title. - * handle: - * type: string - * title: handle - * description: The $and's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $and's is giftcard. - * price_list_id: - * type: array - * description: The $and's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $and's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $and's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $and's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $and's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $and's variants. - * properties: {} - * created_at: - * type: object - * description: The $and's created at. - * properties: {} - * updated_at: - * type: object - * description: The $and's updated at. - * properties: {} - * deleted_at: - * type: object - * description: The $and's deleted at. - * properties: {} - * $and: - * type: array - * description: The $and's details. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * $or: - * type: array - * description: The $and's $or. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * expand: - * type: string - * title: expand - * description: The $and's expand. - * fields: - * type: string - * title: fields - * description: The $and's fields. - * offset: - * type: number - * title: offset - * description: The $and's offset. - * limit: - * type: number - * title: limit - * description: The $and's limit. - * order: - * type: string - * title: order - * description: The $and's order. - * $or: - * type: array - * description: The $and's $or. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $or's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $or's ID. - * - type: array - * description: The $or's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $or's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $or's title. - * handle: - * type: string - * title: handle - * description: The $or's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $or's is giftcard. - * price_list_id: - * type: array - * description: The $or's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $or's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $or's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $or's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $or's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $or's variants. - * properties: {} - * created_at: - * type: object - * description: The $or's created at. - * properties: {} - * updated_at: - * type: object - * description: The $or's updated at. - * properties: {} - * deleted_at: - * type: object - * description: The $or's deleted at. - * properties: {} - * $and: - * type: array - * description: The $or's $and. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * $or: - * type: array - * description: The $or's details. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * expand: - * type: string - * title: expand - * description: The $or's expand. - * fields: - * type: string - * title: fields - * description: The $or's fields. - * offset: - * type: number - * title: offset - * description: The $or's offset. - * limit: - * type: number - * title: limit - * description: The $or's limit. - * order: - * type: string - * title: order - * description: The $or's order. - * expand: - * type: string - * title: expand - * description: The $and's expand. - * fields: - * type: string - * title: fields - * description: The $and's fields. - * offset: - * type: number - * title: offset - * description: The $and's offset. - * limit: - * type: number - * title: limit - * description: The $and's limit. - * order: - * type: string - * title: order - * description: The $and's order. - * $or: - * type: array - * description: The product's $or. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $or's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $or's ID. - * - type: array - * description: The $or's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $or's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $or's title. - * handle: - * type: string - * title: handle - * description: The $or's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $or's is giftcard. - * price_list_id: - * type: array - * description: The $or's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $or's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $or's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $or's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $or's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $or's variants. - * properties: {} - * created_at: - * type: object - * description: The $or's created at. - * properties: - * $and: - * type: array - * description: The created at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The created at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The created at's $eq. - * - type: object - * description: The created at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The created at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The created at's $ne. - * - type: object - * description: The created at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The created at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The created at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The created at's $not. - * - type: object - * description: The created at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The created at's $not. - * properties: {} - * - type: array - * description: The created at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The created at's $gt. - * - type: object - * description: The created at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The created at's $gte. - * - type: object - * description: The created at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The created at's $lt. - * - type: object - * description: The created at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The created at's $lte. - * - type: object - * description: The created at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The created at's $like. - * $re: - * type: string - * title: $re - * description: The created at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The created at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The created at's $fulltext. - * $overlap: - * type: array - * description: The created at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The created at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The created at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The created at's $exists. - * updated_at: - * type: object - * description: The $or's updated at. - * properties: - * $and: - * type: array - * description: The updated at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The updated at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The updated at's $eq. - * - type: object - * description: The updated at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The updated at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The updated at's $ne. - * - type: object - * description: The updated at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The updated at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The updated at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The updated at's $not. - * - type: object - * description: The updated at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The updated at's $not. - * properties: {} - * - type: array - * description: The updated at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The updated at's $gt. - * - type: object - * description: The updated at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The updated at's $gte. - * - type: object - * description: The updated at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The updated at's $lt. - * - type: object - * description: The updated at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The updated at's $lte. - * - type: object - * description: The updated at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The updated at's $like. - * $re: - * type: string - * title: $re - * description: The updated at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The updated at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The updated at's $fulltext. - * $overlap: - * type: array - * description: The updated at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The updated at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The updated at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The updated at's $exists. - * deleted_at: - * type: object - * description: The $or's deleted at. - * properties: - * $and: - * type: array - * description: The deleted at's $and. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $and's details. - * properties: {} - * - type: array - * description: The $and's details. - * items: - * oneOf: - * - type: string - * title: $and - * description: The $and's details. - * - type: object - * description: The $and's details. - * x-schemaName: RegExp - * properties: {} - * $or: - * type: array - * description: The deleted at's $or. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The $or's details. - * properties: {} - * - type: array - * description: The $or's details. - * items: - * oneOf: - * - type: string - * title: $or - * description: The $or's details. - * - type: object - * description: The $or's details. - * x-schemaName: RegExp - * properties: {} - * $eq: - * oneOf: - * - type: string - * title: $eq - * description: The deleted at's $eq. - * - type: object - * description: The deleted at's $eq. - * x-schemaName: RegExp - * properties: {} - * - type: array - * description: The deleted at's $eq. - * items: - * oneOf: - * - type: string - * title: $eq - * description: The $eq's details. - * - type: object - * description: The $eq's details. - * x-schemaName: RegExp - * properties: {} - * $ne: - * oneOf: - * - type: string - * title: $ne - * description: The deleted at's $ne. - * - type: object - * description: The deleted at's $ne. - * x-schemaName: RegExp - * properties: {} - * $in: - * type: array - * description: The deleted at's $in. - * items: - * oneOf: - * - type: string - * title: $in - * description: The $in's details. - * - type: object - * description: The $in's details. - * x-schemaName: RegExp - * properties: {} - * $nin: - * type: array - * description: The deleted at's $nin. - * items: - * oneOf: - * - type: string - * title: $nin - * description: The $nin's details. - * - type: object - * description: The $nin's details. - * x-schemaName: RegExp - * properties: {} - * $not: - * oneOf: - * - type: string - * title: $not - * description: The deleted at's $not. - * - type: object - * description: The deleted at's $not. - * x-schemaName: RegExp - * properties: {} - * - type: object - * description: The deleted at's $not. - * properties: {} - * - type: array - * description: The deleted at's $not. - * items: - * oneOf: - * - type: string - * title: $not - * description: The $not's details. - * - type: object - * description: The $not's details. - * x-schemaName: RegExp - * properties: {} - * $gt: - * oneOf: - * - type: string - * title: $gt - * description: The deleted at's $gt. - * - type: object - * description: The deleted at's $gt. - * x-schemaName: RegExp - * properties: {} - * $gte: - * oneOf: - * - type: string - * title: $gte - * description: The deleted at's $gte. - * - type: object - * description: The deleted at's $gte. - * x-schemaName: RegExp - * properties: {} - * $lt: - * oneOf: - * - type: string - * title: $lt - * description: The deleted at's $lt. - * - type: object - * description: The deleted at's $lt. - * x-schemaName: RegExp - * properties: {} - * $lte: - * oneOf: - * - type: string - * title: $lte - * description: The deleted at's $lte. - * - type: object - * description: The deleted at's $lte. - * x-schemaName: RegExp - * properties: {} - * $like: - * type: string - * title: $like - * description: The deleted at's $like. - * $re: - * type: string - * title: $re - * description: The deleted at's $re. - * $ilike: - * type: string - * title: $ilike - * description: The deleted at's $ilike. - * $fulltext: - * type: string - * title: $fulltext - * description: The deleted at's $fulltext. - * $overlap: - * type: array - * description: The deleted at's $overlap. - * items: - * type: string - * title: $overlap - * description: The $overlap's details. - * $contains: - * type: array - * description: The deleted at's $contains. - * items: - * type: string - * title: $contains - * description: The $contain's $contains. - * $contained: - * type: array - * description: The deleted at's $contained. - * items: - * type: string - * title: $contained - * description: The $contained's details. - * $exists: - * type: boolean - * title: $exists - * description: The deleted at's $exists. - * $and: - * type: array - * description: The $or's $and. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $and's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $and's ID. - * - type: array - * description: The $and's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $and's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $and's title. - * handle: - * type: string - * title: handle - * description: The $and's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $and's is giftcard. - * price_list_id: - * type: array - * description: The $and's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $and's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $and's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $and's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $and's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $and's variants. - * properties: {} - * created_at: - * type: object - * description: The $and's created at. - * properties: {} - * updated_at: - * type: object - * description: The $and's updated at. - * properties: {} - * deleted_at: - * type: object - * description: The $and's deleted at. - * properties: {} - * $and: - * type: array - * description: The $and's details. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * $or: - * type: array - * description: The $and's $or. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * expand: - * type: string - * title: expand - * description: The $and's expand. - * fields: - * type: string - * title: fields - * description: The $and's fields. - * offset: - * type: number - * title: offset - * description: The $and's offset. - * limit: - * type: number - * title: limit - * description: The $and's limit. - * order: - * type: string - * title: order - * description: The $and's order. - * $or: - * type: array - * description: The $or's details. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: - * q: - * type: string - * title: q - * description: The $or's q. - * id: - * oneOf: - * - type: string - * title: id - * description: The $or's ID. - * - type: array - * description: The $or's ID. - * items: - * type: string - * title: id - * description: The id's ID. - * status: - * type: array - * description: The $or's status. - * items: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * title: - * type: string - * title: title - * description: The $or's title. - * handle: - * type: string - * title: handle - * description: The $or's handle. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The $or's is giftcard. - * price_list_id: - * type: array - * description: The $or's price list id. - * items: - * type: string - * title: price_list_id - * description: The price list id's details. - * sales_channel_id: - * type: array - * description: The $or's sales channel id. - * items: - * type: string - * title: sales_channel_id - * description: The sales channel id's details. - * collection_id: - * type: array - * description: The $or's collection id. - * items: - * type: string - * title: collection_id - * description: The collection id's details. - * tags: - * type: array - * description: The $or's tags. - * items: - * type: string - * title: tags - * description: The tag's tags. - * type_id: - * type: array - * description: The $or's type id. - * items: - * type: string - * title: type_id - * description: The type id's details. - * variants: - * type: object - * description: The $or's variants. - * properties: {} - * created_at: - * type: object - * description: The $or's created at. - * properties: {} - * updated_at: - * type: object - * description: The $or's updated at. - * properties: {} - * deleted_at: - * type: object - * description: The $or's deleted at. - * properties: {} - * $and: - * type: array - * description: The $or's $and. - * items: - * type: object - * description: The $and's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * $or: - * type: array - * description: The $or's details. - * items: - * type: object - * description: The $or's details. - * x-schemaName: AdminGetProductsParams - * properties: {} - * expand: - * type: string - * title: expand - * description: The $or's expand. - * fields: - * type: string - * title: fields - * description: The $or's fields. - * offset: - * type: number - * title: offset - * description: The $or's offset. - * limit: - * type: number - * title: limit - * description: The $or's limit. - * order: - * type: string - * title: order - * description: The $or's order. - * expand: - * type: string - * title: expand - * description: The $or's expand. - * fields: - * type: string - * title: fields - * description: The $or's fields. - * offset: - * type: number - * title: offset - * description: The $or's offset. - * limit: - * type: number - * title: limit - * description: The $or's limit. - * order: - * type: string - * title: order - * description: The $or's order. - * expand: - * type: string - * title: expand - * description: The product's expand. - * fields: - * type: string - * title: fields - * description: The product's fields. - * offset: - * type: number - * title: offset - * description: The product's offset. - * limit: - * type: number - * title: limit - * description: The product's limit. - * order: - * type: string - * title: order - * description: The product's order. * x-codeSamples: * - lang: Shell * label: cURL @@ -8418,8 +74,7 @@ * requestBody: * content: * application/json: - * schema: - * $ref: "#/components/schemas/AdminGetProductsParams" + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id].ts index 3e035761a0..1547a30063 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id].ts @@ -62,19 +62,23 @@ * schema: * type: object * description: SUMMARY + * required: + * - fields * properties: * fields: * type: string * title: fields * description: The promotion's fields. - * required: - * - fields * x-codeSamples: * - lang: Shell * label: cURL * source: |- * curl '{backend_url}/admin/promotions/{id}' \ - * -H 'x-medusa-access-token: {api_token}' + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "fields": "{value}" + * }' * tags: * - Promotions * responses: @@ -90,11 +94,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * $ref: "#/components/schemas/AdminGetPromotionsParams" * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id]_[rule_type].ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id]_[rule_type].ts index 9e60a4c09e..448d2f623a 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id]_[rule_type].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_[id]_[rule_type].ts @@ -18,6 +18,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -31,8 +71,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -45,6 +83,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-attribute-options_[rule_type].ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-attribute-options_[rule_type].ts index 3e2290e5fa..c30470f1ad 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-attribute-options_[rule_type].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-attribute-options_[rule_type].ts @@ -13,6 +13,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,8 +66,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -40,6 +78,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-operator-options.ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-operator-options.ts index 43385d8767..d6b6b52136 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-operator-options.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-operator-options.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of promotions. The promotions can be filtered by * fields such as `id`. The promotions can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-value-options_[rule_type]_[rule_attribute_id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-value-options_[rule_type]_[rule_attribute_id].ts index 27c6a02830..f06c300b94 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-value-options_[rule_type]_[rule_attribute_id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions_rule-value-options_[rule_type]_[rule_attribute_id].ts @@ -18,6 +18,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -34,8 +74,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -48,6 +86,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_reservations.ts b/www/utils/generated/oas-output/operations/admin/get_admin_reservations.ts index 42223c6f6b..fc3d9df2f8 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_reservations.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_reservations.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of reservations. The reservations can be filtered * by fields such as `id`. The reservations can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -260,8 +300,6 @@ * tags: * - Reservations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_reservations_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_reservations_[id].ts index a70143b67d..676d960b0f 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_reservations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_reservations_[id].ts @@ -82,8 +82,6 @@ * tags: * - Reservations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-options.ts b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-options.ts index 4ea93e3180..e8b97a0e7e 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-options.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-options.ts @@ -6,7 +6,47 @@ * filtered by fields such as `id`. The shipping options can also be sorted or * paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -57,6 +97,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingOptionListResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles.ts b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles.ts index b6c7122e0e..3065bc7361 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles.ts @@ -6,7 +6,47 @@ * filtered by fields such as `id`. The shipping profiles can also be sorted or * paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -22,6 +62,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingProfilesResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -34,6 +78,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles_[id].ts index 2bf1656d8c..a1bea13ef1 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-profiles_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -44,6 +84,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingProfileResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations.ts b/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations.ts index af34be783e..ed56a6ac4c 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations.ts @@ -6,7 +6,47 @@ * filtered by fields such as `id`. The stock locations can also be sorted or * paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -20,8 +60,6 @@ * tags: * - Stock Locations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -34,6 +72,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations_[id].ts index 3cdfeeb3ed..adb3611cdb 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_stock-locations_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions.ts b/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions.ts index 7856a6a9d8..0e46061d53 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of tax regions. The tax regions can be filtered by * fields such as `id`. The tax regions can also be sorted or paginated. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -19,8 +59,6 @@ * tags: * - Tax Regions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions_[id].ts index 41acff29bb..f764dac675 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_tax-regions_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -25,8 +65,6 @@ * tags: * - Tax Regions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -39,6 +77,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_uploads_[id].ts b/www/utils/generated/oas-output/operations/admin/get_admin_uploads_[id].ts index 4c0a0ebb30..5cbc3bc861 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_uploads_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_uploads_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -25,8 +65,6 @@ * tags: * - Uploads * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -39,6 +77,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys.ts b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys.ts index 28d0cf738e..d0c2a48570 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys.ts @@ -53,7 +53,21 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateApiKey" + * type: object + * description: SUMMARY + * required: + * - title + * - type + * properties: + * title: + * type: string + * title: title + * description: The api key's title. + * type: + * type: string + * enum: + * - publishable + * - secret * x-codeSamples: * - lang: Shell * label: cURL @@ -80,20 +94,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - title - * - type - * properties: - * title: - * type: string - * title: title - * description: The api key's title. - * type: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id].ts index c1ccc136cb..e21495cd83 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id].ts @@ -59,13 +59,25 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateApiKey" + * type: object + * description: SUMMARY + * required: + * - title + * properties: + * title: + * type: string + * title: title + * description: The api key's title. * x-codeSamples: * - lang: Shell * label: cURL * source: |- * curl -X POST '{backend_url}/admin/api-keys/{id}' \ - * -H 'x-medusa-access-token: {api_token}' + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "title": "{value}" + * }' * tags: * - Api Keys * responses: @@ -81,18 +93,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - title - * properties: - * title: - * type: string - * title: title - * description: The api key's title. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id]_sales-channels.ts b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id]_sales-channels.ts index 6f742690dc..b106e67569 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id]_sales-channels.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_api-keys_[id]_sales-channels.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -45,8 +85,6 @@ * tags: * - Api Keys * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_campaigns.ts b/www/utils/generated/oas-output/operations/admin/post_admin_campaigns.ts index d9fc81d700..cad62dc980 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_campaigns.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_campaigns.ts @@ -53,40 +53,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateCampaign" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/campaigns' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "name": "Elwin", - * "campaign_identifier": "{value}", - * "starts_at": "2024-11-30T18:47:00.491Z", - * "ends_at": "2025-02-26T07:41:34.259Z" - * }' - * tags: - * - Campaigns - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - name * - campaign_identifier @@ -120,7 +88,11 @@ * - type * - limit * properties: - * type: {} + * type: + * type: string + * enum: + * - spend + * - usage * limit: * type: number * title: limit @@ -148,6 +120,45 @@ * type: string * title: id * description: The promotion's ID. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/campaigns' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "name": "Rafael", + * "campaign_identifier": "{value}", + * "description": "{value}", + * "currency": "NZD", + * "budget": { + * "type": "{value}", + * "limit": 1649671080509440 + * }, + * "starts_at": "2024-12-08T08:39:28.574Z", + * "ends_at": "2024-11-29T15:05:33.749Z", + * "promotions": [ + * { + * "id": "id_HXbttvFHpooW0" + * } + * ] + * }' + * tags: + * - Campaigns + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_campaigns_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_campaigns_[id].ts index d20d0a9bb8..953a79bd53 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_campaigns_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_campaigns_[id].ts @@ -95,6 +95,7 @@ * enum: * - spend * - usage + * type: string * limit: * type: number * title: limit diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_collections.ts b/www/utils/generated/oas-output/operations/admin/post_admin_collections.ts index 3e25059f8f..43a03ce7cf 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_collections.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_collections.ts @@ -53,37 +53,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateProductCollection" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/collections' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "title": "{value}" - * }' - * tags: - * - Collections - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - title * - handle @@ -101,6 +72,33 @@ * type: object * description: The collection's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/collections' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "title": "{value}", + * "handle": "{value}", + * "metadata": {} + * }' + * tags: + * - Collections + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id].ts index 038904c8ea..7eef514f84 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id].ts @@ -59,33 +59,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateProductCollection" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/collections/{id}' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Collections - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - title * - handle @@ -103,6 +78,33 @@ * type: object * description: The collection's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/collections/{id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "title": "{value}", + * "handle": "{value}", + * "metadata": {} + * }' + * tags: + * - Collections + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id]_products.ts b/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id]_products.ts index c1e09968df..f9838f7cfa 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id]_products.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_collections_[id]_products.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -45,8 +85,6 @@ * tags: * - Collections * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups.ts b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups.ts index ea33b4d269..e781ab56ee 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups.ts @@ -53,7 +53,15 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateCustomerGroup" + * type: object + * description: SUMMARY + * required: + * - name + * properties: + * name: + * type: string + * title: name + * description: The customer group's name. * x-codeSamples: * - lang: Shell * label: cURL @@ -62,7 +70,7 @@ * -H 'x-medusa-access-token: {api_token}' \ * -H 'Content-Type: application/json' \ * --data-raw '{ - * "name": "Dave" + * "name": "Garett" * }' * tags: * - Customer Groups @@ -79,18 +87,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * properties: - * name: - * type: string - * title: name - * description: The customer group's name. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id].ts index 80b281392f..9526126f96 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id].ts @@ -59,13 +59,25 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CustomerGroupUpdatableFields" + * type: object + * description: SUMMARY + * required: + * - name + * properties: + * name: + * type: string + * title: name + * description: The customer group's name. * x-codeSamples: * - lang: Shell * label: cURL * source: |- * curl -X POST '{backend_url}/admin/customer-groups/{id}' \ - * -H 'x-medusa-access-token: {api_token}' + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "name": "Wilber" + * }' * tags: * - Customer Groups * responses: @@ -81,18 +93,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * properties: - * name: - * type: string - * title: name - * description: The customer group's name. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id]_customers.ts b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id]_customers.ts index aa7cbee01c..37cfbc5376 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id]_customers.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customer-groups_[id]_customers.ts @@ -85,8 +85,6 @@ * tags: * - Customer Groups * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customers.ts b/www/utils/generated/oas-output/operations/admin/post_admin_customers.ts index ceddc44b85..ed18f301c6 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customers.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customers.ts @@ -53,44 +53,15 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateCustomer" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/customers' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Customers - * responses: - * "200": - * description: OK - * content: - * application/json: - * schema: {} - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - email * - company_name * - first_name * - last_name * - phone + * - metadata * properties: * email: * type: string @@ -113,6 +84,46 @@ * type: string * title: phone * description: The customer's phone. + * metadata: + * type: object + * description: The customer's metadata. + * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/customers' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "email": "Federico_Kirlin23@yahoo.com", + * "company_name": "{value}", + * "first_name": "{value}", + * "last_name": "{value}", + * "phone": "{value}", + * "metadata": {} + * }' + * tags: + * - Customers + * responses: + * "200": + * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminCustomerResponse" + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id].ts index 10b04cb576..48fb48bf95 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id].ts @@ -59,44 +59,15 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CustomerUpdatableFields" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/customers/{id}' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Customers - * responses: - * "200": - * description: OK - * content: - * application/json: - * schema: {} - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - email * - company_name * - first_name * - last_name * - phone + * - metadata * properties: * email: * type: string @@ -119,6 +90,46 @@ * type: string * title: phone * description: The customer's phone. + * metadata: + * type: object + * description: The customer's metadata. + * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/customers/{id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "email": "Esteban24@hotmail.com", + * "company_name": "{value}", + * "first_name": "{value}", + * "last_name": "{value}", + * "phone": "{value}", + * "metadata": {} + * }' + * tags: + * - Customers + * responses: + * "200": + * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminCustomerResponse" + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses.ts b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses.ts index 940b9ca1e2..028baba16f 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses.ts @@ -59,37 +59,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateCustomerAddress" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/customers/{id}/addresses' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "customer_id": "{value}" - * }' - * tags: - * - Customers - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - address_name * - is_default_shipping @@ -162,6 +133,44 @@ * type: object * description: The customer's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/customers/{id}/addresses' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "address_name": "{value}", + * "is_default_shipping": true, + * "is_default_billing": true, + * "company": "{value}", + * "first_name": "{value}", + * "last_name": "{value}", + * "address_1": "{value}", + * "address_2": "{value}", + * "city": "{value}", + * "country_code": "{value}", + * "province": "{value}", + * "postal_code": "{value}", + * "phone": "{value}", + * "metadata": {} + * }' + * tags: + * - Customers + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses_[address_id].ts index 1443d641fa..ce9268768f 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_customers_[id]_addresses_[address_id].ts @@ -65,33 +65,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CustomerAddress" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/customers/{id}/addresses/{address_id}' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Customers - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - address_name * - is_default_shipping @@ -164,6 +139,44 @@ * type: object * description: The customer's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/customers/{id}/addresses/{address_id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "address_name": "{value}", + * "is_default_shipping": false, + * "is_default_billing": true, + * "company": "{value}", + * "first_name": "{value}", + * "last_name": "{value}", + * "address_1": "{value}", + * "address_2": "{value}", + * "city": "{value}", + * "country_code": "{value}", + * "province": "{value}", + * "postal_code": "{value}", + * "phone": "{value}", + * "metadata": {} + * }' + * tags: + * - Customers + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts b/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts index 80947267cb..51df2d0801 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts @@ -4,7 +4,47 @@ * summary: Create Draft Order * description: Create a draft order. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -375,8 +415,6 @@ * tags: * - Draft Orders * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones.ts b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones.ts index 823e4f8298..26ffbc33b7 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -154,8 +194,6 @@ * tags: * - Fulfillment Sets * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts index 0be5a45bfe..31d00104c3 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillment-sets_[id]_service-zones_[zone_id].ts @@ -17,6 +17,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -186,6 +226,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminFulfillmentSetResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments.ts b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments.ts index b8d07b7890..709b1927d8 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments.ts @@ -4,7 +4,47 @@ * summary: Create Fulfillment * description: Create a fulfillment. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -207,8 +247,6 @@ * tags: * - Fulfillments * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_cancel.ts b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_cancel.ts index 8872149bf5..7986e92d5d 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_cancel.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_cancel.ts @@ -71,8 +71,6 @@ * tags: * - Fulfillments * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_shipment.ts b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_shipment.ts index 555ee89b4d..15e79078da 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_shipment.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_fulfillments_[id]_shipment.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -66,8 +106,6 @@ * tags: * - Fulfillments * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id].ts index 6439dfbb60..2b71b3c274 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_[location_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_[location_id].ts index 40828973d2..c00811b9fd 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_[location_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_[location_id].ts @@ -17,6 +17,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_batch.ts index dac18dd542..ae0b5caa65 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_inventory-items_[id]_location-levels_batch.ts @@ -66,8 +66,6 @@ * tags: * - Inventory Items * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -80,6 +78,61 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The inventory item's create. + * items: + * type: object + * description: The create's details. + * required: + * - location_id + * - stocked_quantity + * - incoming_quantity + * properties: + * location_id: + * type: string + * title: location_id + * description: The create's location id. + * stocked_quantity: + * type: number + * title: stocked_quantity + * description: The create's stocked quantity. + * incoming_quantity: + * type: number + * title: incoming_quantity + * description: The create's incoming quantity. + * update: + * type: array + * description: The inventory item's update. + * items: + * type: object + * description: The update's details. + * required: + * - stocked_quantity + * - incoming_quantity + * properties: + * stocked_quantity: + * type: number + * title: stocked_quantity + * description: The update's stocked quantity. + * incoming_quantity: + * type: number + * title: incoming_quantity + * description: The update's incoming quantity. + * delete: + * type: array + * description: The inventory item's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_invites.ts b/www/utils/generated/oas-output/operations/admin/post_admin_invites.ts index 9064d3d321..13d92cf7cb 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_invites.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_invites.ts @@ -53,7 +53,16 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateInvite" + * type: object + * description: SUMMARY + * required: + * - email + * properties: + * email: + * type: string + * title: email + * description: The invite's email. + * format: email * x-codeSamples: * - lang: Shell * label: cURL @@ -62,7 +71,7 @@ * -H 'x-medusa-access-token: {api_token}' \ * -H 'Content-Type: application/json' \ * --data-raw '{ - * "email": "Nola57@hotmail.com" + * "email": "Abdiel5@gmail.com" * }' * tags: * - Invites @@ -79,19 +88,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - email - * properties: - * email: - * type: string - * title: email - * description: The invite's email. - * format: email * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists.ts b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists.ts index fa987d02c2..2809e51123 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists.ts @@ -85,10 +85,12 @@ * enum: * - active * - draft + * type: string * type: * enum: * - sale * - override + * type: string * prices: * type: array * description: The price list's prices. diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id].ts index 3d79a11143..4c3d9dfaf2 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id].ts @@ -90,10 +90,12 @@ * enum: * - active * - draft + * type: string * type: * enum: * - sale * - override + * type: string * rules: * type: object * description: The price list's rules. diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_prices_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_prices_batch.ts index 873ac8a36e..7a3bfeff7f 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_prices_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_prices_batch.ts @@ -64,8 +64,6 @@ * tags: * - Price Lists * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -78,6 +76,101 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The price list's create. + * items: + * type: object + * description: The create's details. + * required: + * - currency_code + * - amount + * - variant_id + * - min_quantity + * - max_quantity + * - rules + * properties: + * currency_code: + * type: string + * title: currency_code + * description: The create's currency code. + * amount: + * type: number + * title: amount + * description: The create's amount. + * variant_id: + * type: string + * title: variant_id + * description: The create's variant id. + * min_quantity: + * type: number + * title: min_quantity + * description: The create's min quantity. + * max_quantity: + * type: number + * title: max_quantity + * description: The create's max quantity. + * rules: + * type: object + * description: The create's rules. + * properties: {} + * update: + * type: array + * description: The price list's update. + * items: + * type: object + * description: The update's details. + * required: + * - id + * - currency_code + * - amount + * - variant_id + * - min_quantity + * - max_quantity + * - rules + * properties: + * id: + * type: string + * title: id + * description: The update's ID. + * currency_code: + * type: string + * title: currency_code + * description: The update's currency code. + * amount: + * type: number + * title: amount + * description: The update's amount. + * variant_id: + * type: string + * title: variant_id + * description: The update's variant id. + * min_quantity: + * type: number + * title: min_quantity + * description: The update's min quantity. + * max_quantity: + * type: number + * title: max_quantity + * description: The update's max quantity. + * rules: + * type: object + * description: The update's rules. + * properties: {} + * delete: + * type: array + * description: The price list's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_products.ts b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_products.ts index e5c24f0cc1..a72c273238 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_products.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_price-lists_[id]_products.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -45,8 +85,6 @@ * tags: * - Price Lists * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories.ts b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories.ts index acce9217cd..5afd98bdab 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories.ts @@ -4,7 +4,47 @@ * summary: Create Product Category * description: Create a product category. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -79,6 +119,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminProductCategoryResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id].ts index 08dd80ed11..0370fefdff 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -85,6 +125,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminProductCategoryResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id]_products.ts b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id]_products.ts index 3a967e6587..49572ddf9c 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id]_products.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_product-categories_[id]_products.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,6 +66,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminProductCategoryResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +82,27 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * add: + * type: array + * description: The product category's add. + * items: + * type: string + * title: add + * description: The add's details. + * remove: + * type: array + * description: The product category's remove. + * items: + * type: string + * title: remove + * description: The remove's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_product-types.ts b/www/utils/generated/oas-output/operations/admin/post_admin_product-types.ts index e7ba8c36bd..ab3c4ccf57 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_product-types.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_product-types.ts @@ -4,7 +4,47 @@ * summary: Create Product Type * description: Create a product type. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -41,8 +81,6 @@ * tags: * - Product Types * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_product-types_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_product-types_[id].ts index 79764cb651..69c3be95f2 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_product-types_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_product-types_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -47,8 +87,6 @@ * tags: * - Product Types * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products.ts index 8d19592b92..89d8b49939 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products.ts @@ -53,37 +53,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateProduct" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/products' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "title": "{value}" - * }' - * tags: - * - Products - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - title * - subtitle @@ -152,7 +123,13 @@ * type: string * title: handle * description: The product's handle. - * status: {} + * status: + * type: string + * enum: + * - draft + * - proposed + * - published + * - rejected * type_id: * type: string * title: type_id @@ -394,6 +371,109 @@ * type: object * description: The product's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/products' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "title": "{value}", + * "subtitle": "{value}", + * "description": "{value}", + * "is_giftcard": false, + * "discountable": false, + * "images": [ + * { + * "url": "{value}" + * } + * ], + * "thumbnail": "{value}", + * "handle": "{value}", + * "status": "{value}", + * "type_id": "{value}", + * "collection_id": "{value}", + * "categories": [ + * { + * "id": "id_Pb7xedYA7ZAv6g6j54ew" + * } + * ], + * "tags": [ + * { + * "id": "id_oDxag4mAGc8CJc", + * "value": "{value}" + * } + * ], + * "options": [ + * { + * "title": "{value}", + * "values": [ + * "{value}" + * ] + * } + * ], + * "variants": [ + * { + * "title": "{value}", + * "sku": "{value}", + * "ean": "{value}", + * "upc": "{value}", + * "barcode": "{value}", + * "hs_code": "{value}", + * "mid_code": "{value}", + * "inventory_quantity": 1351101225893888, + * "allow_backorder": true, + * "manage_inventory": true, + * "variant_rank": 7155606282567680, + * "weight": 4684377097240576, + * "length": 8061605384290304, + * "height": 977445643616256, + * "width": 6708177689116672, + * "origin_country": "{value}", + * "material": "{value}", + * "metadata": {}, + * "prices": [ + * { + * "currency_code": "{value}", + * "amount": 4139683418210304, + * "min_quantity": 8440994678702080, + * "max_quantity": 5266280927985664 + * } + * ], + * "options": {} + * } + * ], + * "sales_channels": [ + * { + * "id": "id_WJNcwOGY7glMp" + * } + * ], + * "weight": 8634028928270336, + * "length": 2270965595635712, + * "height": 216881319378944, + * "width": 7665967272296448, + * "hs_code": "{value}", + * "mid_code": "{value}", + * "origin_country": "{value}", + * "material": "{value}", + * "metadata": {} + * }' + * tags: + * - Products + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id].ts index fd5b61991e..cade35e1bd 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id].ts @@ -59,33 +59,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateProduct" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/products/{id}' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Products - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - length * - description @@ -405,7 +380,118 @@ * type: boolean * title: manage_inventory * description: The variant's manage inventory. - * status: {} + * status: + * type: string + * enum: + * - draft + * - proposed + * - published + * - rejected + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/products/{id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "length": 3282567029587968, + * "description": "{value}", + * "handle": "{value}", + * "metadata": {}, + * "hs_code": "{value}", + * "weight": 4215232060719104, + * "height": 6855525188763648, + * "width": 6565860296622080, + * "origin_country": "{value}", + * "mid_code": "{value}", + * "material": "{value}", + * "thumbnail": "{value}", + * "collection_id": "{value}", + * "tags": [ + * { + * "id": "id_ufkiM27SGLcGKiI9fx7h", + * "value": "{value}" + * } + * ], + * "type_id": "{value}", + * "subtitle": "{value}", + * "images": [ + * { + * "url": "{value}" + * } + * ], + * "categories": [ + * { + * "id": "id_Je6uOboEms3Pkb0s14SZ" + * } + * ], + * "sales_channels": [ + * { + * "id": "id_ttuXRM0VhnlxO0tg061" + * } + * ], + * "title": "{value}", + * "discountable": true, + * "options": [ + * { + * "id": "id_2B9lNIRdze", + * "title": "{value}", + * "values": [ + * "{value}" + * ] + * } + * ], + * "variants": [ + * { + * "length": 7973681567367168, + * "options": {}, + * "metadata": {}, + * "sku": "{value}", + * "barcode": "{value}", + * "hs_code": "{value}", + * "weight": 815881462480896, + * "height": 3071682140962816, + * "width": 1867897194414080, + * "origin_country": "{value}", + * "mid_code": "{value}", + * "material": "{value}", + * "ean": "{value}", + * "upc": "{value}", + * "variant_rank": 6253314014445568, + * "id": "id_QiUPVfomSLnRRU", + * "title": "{value}", + * "prices": [ + * { + * "id": "id_KIf1hFOhE2", + * "currency_code": "{value}", + * "amount": 7111166155292672, + * "min_quantity": 7445498468237312, + * "max_quantity": 7312473510117376 + * } + * ], + * "inventory_quantity": 3277737491955712, + * "allow_backorder": false, + * "manage_inventory": true + * } + * ], + * "status": "{value}" + * }' + * tags: + * - Products + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options.ts index fa63873710..e74c5e4386 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options.ts @@ -59,7 +59,23 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateProductOption" + * type: object + * description: SUMMARY + * required: + * - title + * - values + * properties: + * title: + * type: string + * title: title + * description: The product's title. + * values: + * type: array + * description: The product's values. + * items: + * type: string + * title: values + * description: The value's values. * x-codeSamples: * - lang: Shell * label: cURL @@ -68,7 +84,10 @@ * -H 'x-medusa-access-token: {api_token}' \ * -H 'Content-Type: application/json' \ * --data-raw '{ - * "title": "{value}" + * "title": "{value}", + * "values": [ + * "{value}" + * ] * }' * tags: * - Products @@ -85,26 +104,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: - * type: object - * required: - * - title - * - values - * properties: - * title: - * type: string - * title: title - * description: The product's title. - * values: - * type: array - * description: The product's values. - * items: - * type: string - * title: values - * description: The value's values. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options_[option_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options_[option_id].ts index 209b67e75a..28b1cca985 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options_[option_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_options_[option_id].ts @@ -65,37 +65,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateProductOption" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/products/{id}/options/{option_id}' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "id": "id_qX5S6JHjRp0fKV" - * }' - * tags: - * - Products - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - id * - title @@ -116,6 +87,35 @@ * type: string * title: values * description: The value's values. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/products/{id}/options/{option_id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "id": "id_BdxJWBRNOp", + * "title": "{value}", + * "values": [ + * "{value}" + * ] + * }' + * tags: + * - Products + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants.ts index 270b4d34e3..43198e4c41 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants.ts @@ -59,37 +59,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateProductVariant" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/products/{id}/variants' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "title": "{value}" - * }' - * tags: - * - Products - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - title * - sku @@ -216,6 +187,57 @@ * type: object * description: The product's options. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/products/{id}/variants' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "title": "{value}", + * "sku": "{value}", + * "ean": "{value}", + * "upc": "{value}", + * "barcode": "{value}", + * "hs_code": "{value}", + * "mid_code": "{value}", + * "inventory_quantity": 3621544083324928, + * "allow_backorder": false, + * "manage_inventory": true, + * "variant_rank": 849570489696256, + * "weight": 7893319220723712, + * "length": 2949835917361152, + * "height": 2357674687594496, + * "width": 5150499311452160, + * "origin_country": "{value}", + * "material": "{value}", + * "metadata": {}, + * "prices": [ + * { + * "currency_code": "{value}", + * "amount": 8952600449777664, + * "min_quantity": 5462512040411136, + * "max_quantity": 4871260370632704 + * } + * ], + * "options": {} + * }' + * tags: + * - Products + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_[variant_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_[variant_id].ts index f77860c9e8..199c9efa78 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_[variant_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_[variant_id].ts @@ -65,37 +65,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateProductVariant" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/products/{id}/variants/{variant_id}' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "id": "id_fa9NxfjmFAz" - * }' - * tags: - * - Products - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - length * - options @@ -232,6 +203,59 @@ * type: boolean * title: manage_inventory * description: The product's manage inventory. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/products/{id}/variants/{variant_id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "length": 553333433565184, + * "options": {}, + * "metadata": {}, + * "sku": "{value}", + * "barcode": "{value}", + * "hs_code": "{value}", + * "weight": 110229628911616, + * "height": 4172081795170304, + * "width": 2991320977113088, + * "origin_country": "{value}", + * "mid_code": "{value}", + * "material": "{value}", + * "ean": "{value}", + * "upc": "{value}", + * "variant_rank": 3522258324684800, + * "id": "id_bPPvwOwWIa2ndex", + * "title": "{value}", + * "prices": [ + * { + * "id": "id_gGmeMrUwBNt", + * "currency_code": "{value}", + * "amount": 4572898136162304, + * "min_quantity": 6709305447284736, + * "max_quantity": 2556752140697600 + * } + * ], + * "inventory_quantity": 7991114464231424, + * "allow_backorder": false, + * "manage_inventory": true + * }' + * tags: + * - Products + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_batch.ts index 651c41ae9e..db577e5dcf 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_[id]_variants_batch.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -24,8 +64,6 @@ * tags: * - Products * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +76,463 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The product's create. + * items: + * type: object + * description: The create's details. + * required: + * - title + * - subtitle + * - description + * - is_giftcard + * - discountable + * - images + * - thumbnail + * - handle + * - status + * - type_id + * - collection_id + * - categories + * - tags + * - options + * - variants + * - sales_channels + * - weight + * - length + * - height + * - width + * - hs_code + * - mid_code + * - origin_country + * - material + * - metadata + * properties: + * title: + * type: string + * title: title + * description: The create's title. + * subtitle: + * type: string + * title: subtitle + * description: The create's subtitle. + * description: + * type: string + * title: description + * description: The create's description. + * is_giftcard: + * type: boolean + * title: is_giftcard + * description: The create's is giftcard. + * discountable: + * type: boolean + * title: discountable + * description: The create's discountable. + * images: + * type: array + * description: The create's images. + * items: + * type: object + * description: The image's images. + * required: + * - url + * properties: + * url: + * type: string + * title: url + * description: The image's url. + * thumbnail: + * type: string + * title: thumbnail + * description: The create's thumbnail. + * handle: + * type: string + * title: handle + * description: The create's handle. + * status: + * type: string + * enum: + * - draft + * - proposed + * - published + * - rejected + * type_id: + * type: string + * title: type_id + * description: The create's type id. + * collection_id: + * type: string + * title: collection_id + * description: The create's collection id. + * categories: + * type: array + * description: The create's categories. + * items: + * type: object + * description: The category's categories. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The category's ID. + * tags: + * type: array + * description: The create's tags. + * items: + * type: object + * description: The tag's tags. + * required: + * - id + * - value + * properties: + * id: + * type: string + * title: id + * description: The tag's ID. + * value: + * type: string + * title: value + * description: The tag's value. + * options: + * type: array + * description: The create's options. + * items: + * type: object + * description: The option's options. + * required: + * - title + * - values + * properties: + * title: + * type: string + * title: title + * description: The option's title. + * values: + * type: array + * description: The option's values. + * items: + * type: string + * title: values + * description: The value's values. + * variants: + * type: array + * description: The create's variants. + * items: + * type: object + * description: The variant's variants. + * required: + * - title + * - sku + * - ean + * - upc + * - barcode + * - hs_code + * - mid_code + * - inventory_quantity + * - allow_backorder + * - manage_inventory + * - variant_rank + * - weight + * - length + * - height + * - width + * - origin_country + * - material + * - metadata + * - prices + * - options + * properties: + * title: + * type: string + * title: title + * description: The variant's title. + * sku: + * type: string + * title: sku + * description: The variant's sku. + * ean: + * type: string + * title: ean + * description: The variant's ean. + * upc: + * type: string + * title: upc + * description: The variant's upc. + * barcode: + * type: string + * title: barcode + * description: The variant's barcode. + * hs_code: + * type: string + * title: hs_code + * description: The variant's hs code. + * mid_code: + * type: string + * title: mid_code + * description: The variant's mid code. + * inventory_quantity: + * type: number + * title: inventory_quantity + * description: The variant's inventory quantity. + * allow_backorder: + * type: boolean + * title: allow_backorder + * description: The variant's allow backorder. + * manage_inventory: + * type: boolean + * title: manage_inventory + * description: The variant's manage inventory. + * variant_rank: + * type: number + * title: variant_rank + * description: The variant's variant rank. + * weight: + * type: number + * title: weight + * description: The variant's weight. + * length: + * type: number + * title: length + * description: The variant's length. + * height: + * type: number + * title: height + * description: The variant's height. + * width: + * type: number + * title: width + * description: The variant's width. + * origin_country: + * type: string + * title: origin_country + * description: The variant's origin country. + * material: + * type: string + * title: material + * description: The variant's material. + * metadata: + * type: object + * description: The variant's metadata. + * properties: {} + * prices: + * type: array + * description: The variant's prices. + * items: + * type: object + * description: The price's prices. + * properties: {} + * options: + * type: object + * description: The variant's options. + * properties: {} + * sales_channels: + * type: array + * description: The create's sales channels. + * items: + * type: object + * description: The sales channel's sales channels. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The sales channel's ID. + * weight: + * type: number + * title: weight + * description: The create's weight. + * length: + * type: number + * title: length + * description: The create's length. + * height: + * type: number + * title: height + * description: The create's height. + * width: + * type: number + * title: width + * description: The create's width. + * hs_code: + * type: string + * title: hs_code + * description: The create's hs code. + * mid_code: + * type: string + * title: mid_code + * description: The create's mid code. + * origin_country: + * type: string + * title: origin_country + * description: The create's origin country. + * material: + * type: string + * title: material + * description: The create's material. + * metadata: + * type: object + * description: The create's metadata. + * properties: {} + * update: + * type: array + * description: The product's update. + * items: + * type: object + * description: The update's details. + * required: + * - title + * - length + * - options + * - metadata + * - sku + * - barcode + * - hs_code + * - weight + * - height + * - width + * - origin_country + * - mid_code + * - material + * - prices + * - manage_inventory + * - allow_backorder + * - ean + * - upc + * - inventory_quantity + * - variant_rank + * - id + * properties: + * title: + * type: string + * title: title + * description: The update's title. + * length: + * type: number + * title: length + * description: The update's length. + * options: + * type: object + * description: The update's options. + * properties: {} + * metadata: + * type: object + * description: The update's metadata. + * properties: {} + * sku: + * type: string + * title: sku + * description: The update's sku. + * barcode: + * type: string + * title: barcode + * description: The update's barcode. + * hs_code: + * type: string + * title: hs_code + * description: The update's hs code. + * weight: + * type: number + * title: weight + * description: The update's weight. + * height: + * type: number + * title: height + * description: The update's height. + * width: + * type: number + * title: width + * description: The update's width. + * origin_country: + * type: string + * title: origin_country + * description: The update's origin country. + * mid_code: + * type: string + * title: mid_code + * description: The update's mid code. + * material: + * type: string + * title: material + * description: The update's material. + * prices: + * type: array + * description: The update's prices. + * items: + * type: object + * description: The price's prices. + * required: + * - id + * - currency_code + * - amount + * - min_quantity + * - max_quantity + * properties: + * id: + * type: string + * title: id + * description: The price's ID. + * currency_code: + * type: string + * title: currency_code + * description: The price's currency code. + * amount: + * type: number + * title: amount + * description: The price's amount. + * min_quantity: + * type: number + * title: min_quantity + * description: The price's min quantity. + * max_quantity: + * type: number + * title: max_quantity + * description: The price's max quantity. + * manage_inventory: + * type: boolean + * title: manage_inventory + * description: The update's manage inventory. + * allow_backorder: + * type: boolean + * title: allow_backorder + * description: The update's allow backorder. + * ean: + * type: string + * title: ean + * description: The update's ean. + * upc: + * type: string + * title: upc + * description: The update's upc. + * inventory_quantity: + * type: number + * title: inventory_quantity + * description: The update's inventory quantity. + * variant_rank: + * type: number + * title: variant_rank + * description: The update's variant rank. + * id: + * type: string + * title: id + * description: The update's ID. + * delete: + * type: array + * description: The product's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_batch.ts index b3320280eb..02054f2fa3 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_batch.ts @@ -4,7 +4,47 @@ * summary: Create Product * description: Create a product. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -18,8 +58,6 @@ * tags: * - Products * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -32,6 +70,632 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The product's create. + * items: + * type: object + * description: The create's details. + * required: + * - title + * - subtitle + * - description + * - is_giftcard + * - discountable + * - images + * - thumbnail + * - handle + * - status + * - type_id + * - collection_id + * - categories + * - tags + * - options + * - variants + * - sales_channels + * - weight + * - length + * - height + * - width + * - hs_code + * - mid_code + * - origin_country + * - material + * - metadata + * properties: + * title: + * type: string + * title: title + * description: The create's title. + * subtitle: + * type: string + * title: subtitle + * description: The create's subtitle. + * description: + * type: string + * title: description + * description: The create's description. + * is_giftcard: + * type: boolean + * title: is_giftcard + * description: The create's is giftcard. + * discountable: + * type: boolean + * title: discountable + * description: The create's discountable. + * images: + * type: array + * description: The create's images. + * items: + * type: object + * description: The image's images. + * required: + * - url + * properties: + * url: + * type: string + * title: url + * description: The image's url. + * thumbnail: + * type: string + * title: thumbnail + * description: The create's thumbnail. + * handle: + * type: string + * title: handle + * description: The create's handle. + * status: + * type: string + * enum: + * - draft + * - proposed + * - published + * - rejected + * type_id: + * type: string + * title: type_id + * description: The create's type id. + * collection_id: + * type: string + * title: collection_id + * description: The create's collection id. + * categories: + * type: array + * description: The create's categories. + * items: + * type: object + * description: The category's categories. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The category's ID. + * tags: + * type: array + * description: The create's tags. + * items: + * type: object + * description: The tag's tags. + * required: + * - id + * - value + * properties: + * id: + * type: string + * title: id + * description: The tag's ID. + * value: + * type: string + * title: value + * description: The tag's value. + * options: + * type: array + * description: The create's options. + * items: + * type: object + * description: The option's options. + * required: + * - title + * - values + * properties: + * title: + * type: string + * title: title + * description: The option's title. + * values: + * type: array + * description: The option's values. + * items: + * type: string + * title: values + * description: The value's values. + * variants: + * type: array + * description: The create's variants. + * items: + * type: object + * description: The variant's variants. + * required: + * - title + * - sku + * - ean + * - upc + * - barcode + * - hs_code + * - mid_code + * - inventory_quantity + * - allow_backorder + * - manage_inventory + * - variant_rank + * - weight + * - length + * - height + * - width + * - origin_country + * - material + * - metadata + * - prices + * - options + * properties: + * title: + * type: string + * title: title + * description: The variant's title. + * sku: + * type: string + * title: sku + * description: The variant's sku. + * ean: + * type: string + * title: ean + * description: The variant's ean. + * upc: + * type: string + * title: upc + * description: The variant's upc. + * barcode: + * type: string + * title: barcode + * description: The variant's barcode. + * hs_code: + * type: string + * title: hs_code + * description: The variant's hs code. + * mid_code: + * type: string + * title: mid_code + * description: The variant's mid code. + * inventory_quantity: + * type: number + * title: inventory_quantity + * description: The variant's inventory quantity. + * allow_backorder: + * type: boolean + * title: allow_backorder + * description: The variant's allow backorder. + * manage_inventory: + * type: boolean + * title: manage_inventory + * description: The variant's manage inventory. + * variant_rank: + * type: number + * title: variant_rank + * description: The variant's variant rank. + * weight: + * type: number + * title: weight + * description: The variant's weight. + * length: + * type: number + * title: length + * description: The variant's length. + * height: + * type: number + * title: height + * description: The variant's height. + * width: + * type: number + * title: width + * description: The variant's width. + * origin_country: + * type: string + * title: origin_country + * description: The variant's origin country. + * material: + * type: string + * title: material + * description: The variant's material. + * metadata: + * type: object + * description: The variant's metadata. + * properties: {} + * prices: + * type: array + * description: The variant's prices. + * items: + * type: object + * description: The price's prices. + * properties: {} + * options: + * type: object + * description: The variant's options. + * properties: {} + * sales_channels: + * type: array + * description: The create's sales channels. + * items: + * type: object + * description: The sales channel's sales channels. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The sales channel's ID. + * weight: + * type: number + * title: weight + * description: The create's weight. + * length: + * type: number + * title: length + * description: The create's length. + * height: + * type: number + * title: height + * description: The create's height. + * width: + * type: number + * title: width + * description: The create's width. + * hs_code: + * type: string + * title: hs_code + * description: The create's hs code. + * mid_code: + * type: string + * title: mid_code + * description: The create's mid code. + * origin_country: + * type: string + * title: origin_country + * description: The create's origin country. + * material: + * type: string + * title: material + * description: The create's material. + * metadata: + * type: object + * description: The create's metadata. + * properties: {} + * update: + * type: array + * description: The product's update. + * items: + * type: object + * description: The update's details. + * required: + * - title + * - status + * - length + * - options + * - description + * - handle + * - metadata + * - hs_code + * - weight + * - height + * - width + * - origin_country + * - mid_code + * - material + * - thumbnail + * - variants + * - collection_id + * - tags + * - type_id + * - subtitle + * - discountable + * - images + * - categories + * - sales_channels + * - id + * properties: + * title: + * type: string + * title: title + * description: The update's title. + * status: + * type: string + * enum: + * - draft + * - proposed + * - published + * - rejected + * length: + * type: number + * title: length + * description: The update's length. + * options: + * type: array + * description: The update's options. + * items: + * type: object + * description: The option's options. + * required: + * - id + * - title + * - values + * properties: + * id: + * type: string + * title: id + * description: The option's ID. + * title: + * type: string + * title: title + * description: The option's title. + * values: + * type: array + * description: The option's values. + * items: + * type: string + * title: values + * description: The value's values. + * description: + * type: string + * title: description + * description: The update's description. + * handle: + * type: string + * title: handle + * description: The update's handle. + * metadata: + * type: object + * description: The update's metadata. + * properties: {} + * hs_code: + * type: string + * title: hs_code + * description: The update's hs code. + * weight: + * type: number + * title: weight + * description: The update's weight. + * height: + * type: number + * title: height + * description: The update's height. + * width: + * type: number + * title: width + * description: The update's width. + * origin_country: + * type: string + * title: origin_country + * description: The update's origin country. + * mid_code: + * type: string + * title: mid_code + * description: The update's mid code. + * material: + * type: string + * title: material + * description: The update's material. + * thumbnail: + * type: string + * title: thumbnail + * description: The update's thumbnail. + * variants: + * type: array + * description: The update's variants. + * items: + * type: object + * description: The variant's variants. + * required: + * - length + * - options + * - metadata + * - sku + * - barcode + * - hs_code + * - weight + * - height + * - width + * - origin_country + * - mid_code + * - material + * - ean + * - upc + * - variant_rank + * - id + * - title + * - prices + * - inventory_quantity + * - allow_backorder + * - manage_inventory + * properties: + * length: + * type: number + * title: length + * description: The variant's length. + * options: + * type: object + * description: The variant's options. + * properties: {} + * metadata: + * type: object + * description: The variant's metadata. + * properties: {} + * sku: + * type: string + * title: sku + * description: The variant's sku. + * barcode: + * type: string + * title: barcode + * description: The variant's barcode. + * hs_code: + * type: string + * title: hs_code + * description: The variant's hs code. + * weight: + * type: number + * title: weight + * description: The variant's weight. + * height: + * type: number + * title: height + * description: The variant's height. + * width: + * type: number + * title: width + * description: The variant's width. + * origin_country: + * type: string + * title: origin_country + * description: The variant's origin country. + * mid_code: + * type: string + * title: mid_code + * description: The variant's mid code. + * material: + * type: string + * title: material + * description: The variant's material. + * ean: + * type: string + * title: ean + * description: The variant's ean. + * upc: + * type: string + * title: upc + * description: The variant's upc. + * variant_rank: + * type: number + * title: variant_rank + * description: The variant's variant rank. + * id: + * type: string + * title: id + * description: The variant's ID. + * title: + * type: string + * title: title + * description: The variant's title. + * prices: + * type: array + * description: The variant's prices. + * items: + * type: object + * description: The price's prices. + * properties: {} + * inventory_quantity: + * type: number + * title: inventory_quantity + * description: The variant's inventory quantity. + * allow_backorder: + * type: boolean + * title: allow_backorder + * description: The variant's allow backorder. + * manage_inventory: + * type: boolean + * title: manage_inventory + * description: The variant's manage inventory. + * collection_id: + * type: string + * title: collection_id + * description: The update's collection id. + * tags: + * type: array + * description: The update's tags. + * items: + * type: object + * description: The tag's tags. + * required: + * - id + * - value + * properties: + * id: + * type: string + * title: id + * description: The tag's ID. + * value: + * type: string + * title: value + * description: The tag's value. + * type_id: + * type: string + * title: type_id + * description: The update's type id. + * subtitle: + * type: string + * title: subtitle + * description: The update's subtitle. + * discountable: + * type: boolean + * title: discountable + * description: The update's discountable. + * images: + * type: array + * description: The update's images. + * items: + * type: object + * description: The image's images. + * required: + * - url + * properties: + * url: + * type: string + * title: url + * description: The image's url. + * categories: + * type: array + * description: The update's categories. + * items: + * type: object + * description: The category's categories. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The category's ID. + * sales_channels: + * type: array + * description: The update's sales channels. + * items: + * type: object + * description: The sales channel's sales channels. + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The sales channel's ID. + * id: + * type: string + * title: id + * description: The update's ID. + * delete: + * type: array + * description: The product's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts index 0d915cf8b0..1808310686 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts @@ -53,38 +53,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreatePromotion" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/promotions' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "code": "{value}", - * "type": "{value}" - * }' - * tags: - * - Promotions - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - code * - is_automatic @@ -102,7 +72,11 @@ * type: boolean * title: is_automatic * description: The promotion's is automatic. - * type: {} + * type: + * type: string + * enum: + * - standard + * - buyget * campaign_id: * type: string * title: campaign_id @@ -143,7 +117,11 @@ * - type * - limit * properties: - * type: {} + * type: + * type: string + * enum: + * - spend + * - usage * limit: * type: number * title: limit @@ -198,9 +176,22 @@ * type: number * title: max_quantity * description: The application method's max quantity. - * type: {} - * target_type: {} - * allocation: {} + * type: + * type: string + * enum: + * - fixed + * - percentage + * target_type: + * type: string + * enum: + * - order + * - shipping_methods + * - items + * allocation: + * type: string + * enum: + * - each + * - across * target_rules: * type: array * description: The application method's target rules. @@ -213,7 +204,16 @@ * - attribute * - values * properties: - * operator: {} + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in * description: * type: string * title: description @@ -241,7 +241,16 @@ * - attribute * - values * properties: - * operator: {} + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in * description: * type: string * title: description @@ -277,7 +286,16 @@ * - attribute * - values * properties: - * operator: {} + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in * description: * type: string * title: description @@ -293,6 +311,69 @@ * type: string * title: values * description: The value's values. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/promotions' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "code": "{value}", + * "is_automatic": false, + * "type": "{value}", + * "campaign_id": "{value}", + * "campaign": { + * "name": "Helene", + * "campaign_identifier": "{value}", + * "description": "{value}", + * "currency": "MVR", + * "budget": { + * "type": "{value}", + * "limit": 7501249997963264 + * }, + * "starts_at": "2024-08-12T10:26:20.012Z", + * "ends_at": "2024-05-13T10:19:49.899Z", + * "promotions": [] + * }, + * "application_method": { + * "description": "{value}", + * "value": 8358287623847936, + * "max_quantity": 2469068038733824, + * "type": "{value}", + * "target_type": "{value}", + * "allocation": "{value}", + * "target_rules": [], + * "buy_rules": [], + * "apply_to_quantity": 5904452787634176, + * "buy_rules_min_quantity": 7660936294825984 + * }, + * "rules": [ + * { + * "operator": "{value}", + * "description": "{value}", + * "attribute": "{value}", + * "values": [ + * "{value}" + * ] + * } + * ] + * }' + * tags: + * - Promotions + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts index 3cea50f2fc..faa13f70fc 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts @@ -74,6 +74,7 @@ * enum: * - standard * - buyget + * type: string * campaign_id: * type: string * title: campaign_id @@ -115,6 +116,7 @@ * enum: * - spend * - usage + * type: string * limit: * type: number * title: limit @@ -163,15 +165,18 @@ * enum: * - fixed * - percentage + * type: string * target_type: * enum: * - order * - shipping_methods * - items + * type: string * allocation: * enum: * - each * - across + * type: string * target_rules: * type: array * description: The application method's target rules. @@ -193,6 +198,7 @@ * - eq * - ne * - in + * type: string * description: * type: string * title: description @@ -229,6 +235,7 @@ * - eq * - ne * - in + * type: string * description: * type: string * title: description @@ -284,6 +291,7 @@ * - eq * - ne * - in + * type: string * description: * type: string * title: description diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_buy-rules_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_buy-rules_batch.ts index 8edbeb8efa..c176b9440e 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_buy-rules_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_buy-rules_batch.ts @@ -64,8 +64,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -78,6 +76,99 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The promotion's create. + * items: + * type: object + * description: The create's details. + * required: + * - operator + * - description + * - attribute + * - values + * properties: + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The create's description. + * attribute: + * type: string + * title: attribute + * description: The create's attribute. + * values: + * type: array + * description: The create's values. + * items: + * type: string + * title: values + * description: The value's values. + * update: + * type: array + * description: The promotion's update. + * items: + * type: object + * description: The update's details. + * required: + * - id + * - operator + * - description + * - attribute + * - values + * properties: + * id: + * type: string + * title: id + * description: The update's ID. + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The update's description. + * attribute: + * type: string + * title: attribute + * description: The update's attribute. + * values: + * type: array + * description: The update's values. + * items: + * type: string + * title: values + * description: The value's values. + * delete: + * type: array + * description: The promotion's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_rules_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_rules_batch.ts index 394aa1e2c4..21d83edef0 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_rules_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_rules_batch.ts @@ -64,8 +64,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -78,6 +76,99 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The promotion's create. + * items: + * type: object + * description: The create's details. + * required: + * - operator + * - description + * - attribute + * - values + * properties: + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The create's description. + * attribute: + * type: string + * title: attribute + * description: The create's attribute. + * values: + * type: array + * description: The create's values. + * items: + * type: string + * title: values + * description: The value's values. + * update: + * type: array + * description: The promotion's update. + * items: + * type: object + * description: The update's details. + * required: + * - id + * - operator + * - description + * - attribute + * - values + * properties: + * id: + * type: string + * title: id + * description: The update's ID. + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The update's description. + * attribute: + * type: string + * title: attribute + * description: The update's attribute. + * values: + * type: array + * description: The update's values. + * items: + * type: string + * title: values + * description: The value's values. + * delete: + * type: array + * description: The promotion's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_target-rules_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_target-rules_batch.ts index c3bd44f6f3..fb23ab21ae 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_target-rules_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id]_target-rules_batch.ts @@ -64,8 +64,6 @@ * tags: * - Promotions * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -78,6 +76,99 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The promotion's create. + * items: + * type: object + * description: The create's details. + * required: + * - operator + * - description + * - attribute + * - values + * properties: + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The create's description. + * attribute: + * type: string + * title: attribute + * description: The create's attribute. + * values: + * type: array + * description: The create's values. + * items: + * type: string + * title: values + * description: The value's values. + * update: + * type: array + * description: The promotion's update. + * items: + * type: object + * description: The update's details. + * required: + * - id + * - operator + * - description + * - attribute + * - values + * properties: + * id: + * type: string + * title: id + * description: The update's ID. + * operator: + * type: string + * enum: + * - gte + * - lte + * - gt + * - lt + * - eq + * - ne + * - in + * description: + * type: string + * title: description + * description: The update's description. + * attribute: + * type: string + * title: attribute + * description: The update's attribute. + * values: + * type: array + * description: The update's values. + * items: + * type: string + * title: values + * description: The value's values. + * delete: + * type: array + * description: The promotion's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_regions.ts b/www/utils/generated/oas-output/operations/admin/post_admin_regions.ts index c73e1d460f..314dfd4b31 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_regions.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_regions.ts @@ -53,38 +53,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateRegion" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/regions' \ - * -H 'x-medusa-access-token: {api_token}' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "name": "Giovanna", - * "currency_code": "{value}" - * }' - * tags: - * - Regions - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - name * - currency_code @@ -123,6 +93,40 @@ * type: object * description: The region's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/regions' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "name": "Charlie", + * "currency_code": "{value}", + * "countries": [ + * "{value}" + * ], + * "automatic_taxes": true, + * "payment_providers": [ + * "{value}" + * ], + * "metadata": {} + * }' + * tags: + * - Regions + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_regions_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_regions_[id].ts index da0fd7af8e..792b1761d6 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_regions_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_regions_[id].ts @@ -59,33 +59,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateRegion" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/admin/regions/{id}' \ - * -H 'x-medusa-access-token: {api_token}' - * tags: - * - Regions - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - name * - currency_code @@ -124,6 +99,40 @@ * type: object * description: The region's metadata. * properties: {} + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/admin/regions/{id}' \ + * -H 'x-medusa-access-token: {api_token}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "name": "Alden", + * "currency_code": "{value}", + * "countries": [ + * "{value}" + * ], + * "automatic_taxes": false, + * "payment_providers": [ + * "{value}" + * ], + * "metadata": {} + * }' + * tags: + * - Regions + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_reservations.ts b/www/utils/generated/oas-output/operations/admin/post_admin_reservations.ts index 6744de6379..0a3133986e 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_reservations.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_reservations.ts @@ -4,7 +4,47 @@ * summary: Create Reservation * description: Create a reservation. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -65,8 +105,6 @@ * tags: * - Reservations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_reservations_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_reservations_[id].ts index 1345bc7868..2f4d620005 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_reservations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_reservations_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -59,8 +99,6 @@ * tags: * - Reservations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_sales-channels_[id]_products.ts b/www/utils/generated/oas-output/operations/admin/post_admin_sales-channels_[id]_products.ts index a5fbda6eb8..baa355b29e 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_sales-channels_[id]_products.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_sales-channels_[id]_products.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -45,8 +85,6 @@ * tags: * - Sales Channels * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options.ts b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options.ts index a6f7683bfa..f5d543922a 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options.ts @@ -4,7 +4,47 @@ * summary: Create Shipping Option * description: Create a shipping option. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -42,7 +82,8 @@ * type: object * description: The shipping option's data. * properties: {} - * price_type: {} + * price_type: + * type: string * provider_id: * type: string * title: provider_id @@ -111,7 +152,8 @@ * - attribute * - value * properties: - * operator: {} + * operator: + * type: string * attribute: * type: string * title: attribute @@ -157,6 +199,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingOptionRetrieveResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id].ts index 32daf7797b..58da26ac21 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -26,6 +66,7 @@ * - data * - price_type * - provider_id + * - shipping_profile_id * - type * - prices * - rules @@ -38,7 +79,8 @@ * type: object * description: The shipping option's data. * properties: {} - * price_type: {} + * price_type: + * type: string * provider_id: * type: string * title: provider_id @@ -162,6 +204,10 @@ * type: string * title: value * description: The value's details. + * shipping_profile_id: + * type: string + * title: shipping_profile_id + * description: The shipping option's shipping profile id. * x-codeSamples: * - lang: Shell * label: cURL @@ -186,6 +232,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingOptionRetrieveResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id]_rules_batch.ts b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id]_rules_batch.ts index 11b4b2496d..2b0b3e3165 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id]_rules_batch.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-options_[id]_rules_batch.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -24,8 +64,6 @@ * tags: * - Shipping Options * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -38,6 +76,99 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * properties: + * create: + * type: array + * description: The shipping option's create. + * items: + * type: object + * description: The create's details. + * required: + * - operator + * - attribute + * - value + * properties: + * operator: + * type: string + * enum: + * - in + * - eq + * - ne + * - gt + * - gte + * - lt + * - lte + * - nin + * attribute: + * type: string + * title: attribute + * description: The create's attribute. + * value: + * oneOf: + * - type: string + * title: value + * description: The create's value. + * - type: array + * description: The create's value. + * items: + * type: string + * title: value + * description: The value's details. + * update: + * type: array + * description: The shipping option's update. + * items: + * type: object + * description: The update's details. + * required: + * - id + * - operator + * - attribute + * - value + * properties: + * id: + * type: string + * title: id + * description: The update's ID. + * operator: + * type: string + * enum: + * - in + * - eq + * - ne + * - gt + * - gte + * - lt + * - lte + * - nin + * attribute: + * type: string + * title: attribute + * description: The update's attribute. + * value: + * oneOf: + * - type: string + * title: value + * description: The update's value. + * - type: array + * description: The update's value. + * items: + * type: string + * title: value + * description: The value's details. + * delete: + * type: array + * description: The shipping option's delete. + * items: + * type: string + * title: delete + * description: The delete's details. * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-profiles.ts b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-profiles.ts index c313f654b1..cbe70691fe 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_shipping-profiles.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_shipping-profiles.ts @@ -4,7 +4,47 @@ * summary: Create Shipping Profile * description: Create a shipping profile. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -49,6 +89,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminShippingProfileResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations.ts b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations.ts index c2998887b7..e3a9787937 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations.ts @@ -4,7 +4,47 @@ * summary: Create Stock Location * description: Create a stock location. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id].ts index f2008a49e5..d8cb7827b7 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id].ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -109,8 +149,6 @@ * tags: * - Stock Locations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_fulfillment-sets.ts b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_fulfillment-sets.ts index f86704d749..0f4f1ca043 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_fulfillment-sets.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_fulfillment-sets.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -47,8 +87,6 @@ * tags: * - Stock Locations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_sales-channels.ts b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_sales-channels.ts index ef62c7f3eb..2af0dc35e7 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_sales-channels.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_stock-locations_[id]_sales-channels.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -45,8 +85,6 @@ * tags: * - Stock Locations * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_uploads.ts b/www/utils/generated/oas-output/operations/admin/post_admin_uploads.ts index 8ac0c5ee1f..6e2a570c9f 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_uploads.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_uploads.ts @@ -4,7 +4,47 @@ * summary: Create Upload * description: Create a upload. * x-authenticated: true - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * security: * - api_token: [] * - cookie_auth: [] @@ -18,8 +58,6 @@ * tags: * - Uploads * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -32,6 +70,11 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/CreateProduct" * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_users.ts b/www/utils/generated/oas-output/operations/admin/post_admin_users.ts index 5904783991..d0481c870f 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_users.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_users.ts @@ -62,7 +62,7 @@ * -H 'x-medusa-access-token: {api_token}' \ * -H 'Content-Type: application/json' \ * --data-raw '{ - * "email": "Luz20@gmail.com" + * "email": "Moises11@hotmail.com" * }' * tags: * - Users @@ -79,10 +79,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_failure.ts b/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_failure.ts index 5e1014986b..1b9aede8da 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_failure.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_failure.ts @@ -82,6 +82,7 @@ * enum: * - invoke * - compensate + * type: string * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_success.ts b/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_success.ts index f63fc88012..2978797cd3 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_success.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_workflows-executions_[workflow_id]_steps_success.ts @@ -82,6 +82,7 @@ * enum: * - invoke * - compensate + * type: string * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider].ts b/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider].ts index ac4e4db8c3..febd82b8d9 100644 --- a/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider].ts +++ b/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider].ts @@ -18,6 +18,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider]_callback.ts b/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider]_callback.ts index 84def02249..3aea6798cb 100644 --- a/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider]_callback.ts +++ b/www/utils/generated/oas-output/operations/auth/get_auth_[scope]_[auth_provider]_callback.ts @@ -18,6 +18,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider].ts b/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider].ts index 55dde1b7eb..ccf984e11d 100644 --- a/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider].ts +++ b/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider].ts @@ -17,6 +17,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider]_callback.ts b/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider]_callback.ts index 6384e87e0c..a776ba17ea 100644 --- a/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider]_callback.ts +++ b/www/utils/generated/oas-output/operations/auth/post_auth_[scope]_[auth_provider]_callback.ts @@ -17,6 +17,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections.ts b/www/utils/generated/oas-output/operations/store/get_store_collections.ts index a4cb357bbb..f5ec6368bd 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of collections. The collections can be filtered by * fields such as `id`. The collections can also be sorted or paginated. * x-authenticated: false - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL @@ -13,8 +53,6 @@ * tags: * - Collections * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -27,6 +65,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts index 314a4f4dc3..dd2b371d80 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts @@ -59,8 +59,6 @@ * tags: * - Collections * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -73,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts index c626f9645b..afd5a8f0da 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts @@ -6,7 +6,47 @@ * be filtered by fields such as `id`. The product categories can also be sorted * or paginated. * x-authenticated: false - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL @@ -16,6 +56,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/StoreProductCategoryListResponse" * "400": * $ref: "#/components/responses/400_error" * "401": @@ -28,6 +72,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts index 19cb6688b6..4428828ac6 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * requestBody: * content: * application/json: @@ -51,6 +91,10 @@ * responses: * "200": * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/StoreProductCategoryResponse" * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/store/get_store_products.ts b/www/utils/generated/oas-output/operations/store/get_store_products.ts index 7f19994ce0..a20dd7e3c6 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products.ts @@ -5,7 +5,47 @@ * description: Retrieve a list of products. The products can be filtered by fields * such as `id`. The products can also be sorted or paginated. * x-authenticated: false - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL @@ -13,8 +53,6 @@ * tags: * - Products * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -27,6 +65,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts index 9c516506f5..7be5996fea 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts @@ -12,6 +12,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * x-codeSamples: * - lang: Shell * label: cURL @@ -19,8 +59,6 @@ * tags: * - Products * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": @@ -33,6 +71,10 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" + * requestBody: + * content: + * application/json: + * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts.ts b/www/utils/generated/oas-output/operations/store/post_store_carts.ts index d4e091a93a..b28a712877 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts.ts @@ -69,10 +69,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts index a82164454a..f4f0cef57b 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts @@ -75,10 +75,6 @@ * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: {} * */ diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts new file mode 100644 index 0000000000..828562e71b --- /dev/null +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts @@ -0,0 +1,93 @@ +/** + * @oas [post] /store/carts/{id}/complete + * operationId: PostCartsIdComplete + * summary: Add Completes to Cart + * description: Add a list of completes to a cart. + * x-authenticated: false + * parameters: + * - name: id + * in: path + * description: The cart's ID. + * required: true + * schema: + * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. + * requestBody: + * content: + * application/json: + * schema: + * type: object + * description: SUMMARY + * required: + * - idempotency_key + * properties: + * idempotency_key: + * type: string + * title: idempotency_key + * description: The cart's idempotency key. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/store/carts/{id}/complete' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "idempotency_key": "{value}" + * }' + * tags: + * - Carts + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" + * +*/ + diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_payment-collections.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_payment-collections.ts index bef86cab09..8800fce79c 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_payment-collections.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_payment-collections.ts @@ -55,31 +55,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/UpdateCartData" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: curl -X POST '{backend_url}/store/carts/{id}/payment-collections' - * tags: - * - Carts - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - region_id * - email @@ -241,6 +218,36 @@ * type: string * title: promo_codes * description: The promo code's promo codes. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/store/carts/{id}/payment-collections' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "region_id": "{value}", + * "email": "Greyson3@gmail.com", + * "sales_channel_id": "{value}", + * "metadata": {}, + * "promo_codes": [ + * "{value}" + * ] + * }' + * tags: + * - Carts + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts index 85ed6c0bba..ccfb3a9188 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts @@ -11,6 +11,46 @@ * required: true * schema: * type: string + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * requestBody: * content: * application/json: @@ -42,8 +82,6 @@ * tags: * - Carts * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts index d8e7f68ced..570003e89c 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts @@ -4,7 +4,47 @@ * summary: Create Customer * description: Create a customer. * x-authenticated: false - * parameters: [] + * parameters: + * - name: expand + * in: query + * description: Comma-separated relations that should be expanded in the returned data. + * required: false + * schema: + * type: string + * title: expand + * description: Comma-separated relations that should be expanded in the returned data. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. + * - name: offset + * in: query + * description: The number of items to skip when retrieving a list. + * required: false + * schema: + * type: number + * title: offset + * description: The number of items to skip when retrieving a list. + * - name: limit + * in: query + * description: Limit the number of items returned in the list. + * required: false + * schema: + * type: number + * title: limit + * description: Limit the number of items returned in the list. + * - name: order + * in: query + * description: Field to sort items in the list by. + * required: false + * schema: + * type: string + * title: order + * description: Field to sort items in the list by. * requestBody: * content: * application/json: @@ -48,8 +88,6 @@ * tags: * - Customers * responses: - * "200": - * description: OK * "400": * $ref: "#/components/responses/400_error" * "401": diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts index d74ab88de8..f6de0ef859 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts @@ -49,36 +49,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CreateCustomerAddress" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: |- - * curl -X POST '{backend_url}/store/customers/me/addresses' \ - * -H 'Content-Type: application/json' \ - * --data-raw '{ - * "customer_id": "{value}" - * }' - * tags: - * - Customers - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - metadata * - first_name @@ -151,6 +123,43 @@ * type: boolean * title: is_default_billing * description: The customer's is default billing. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/store/customers/me/addresses' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "metadata": {}, + * "first_name": "{value}", + * "last_name": "{value}", + * "phone": "{value}", + * "company": "{value}", + * "address_1": "{value}", + * "address_2": "{value}", + * "city": "{value}", + * "country_code": "{value}", + * "province": "{value}", + * "postal_code": "{value}", + * "address_name": "{value}", + * "is_default_shipping": false, + * "is_default_billing": true + * }' + * tags: + * - Customers + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts index 0065b0070b..56ccc24b1d 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts @@ -55,31 +55,8 @@ * content: * application/json: * schema: - * $ref: "#/components/schemas/CustomerAddress" - * x-codeSamples: - * - lang: Shell - * label: cURL - * source: curl -X POST '{backend_url}/store/customers/me/addresses/{address_id}' - * tags: - * - Customers - * responses: - * "400": - * $ref: "#/components/responses/400_error" - * "401": - * $ref: "#/components/responses/unauthorized" - * "404": - * $ref: "#/components/responses/not_found_error" - * "409": - * $ref: "#/components/responses/invalid_state_error" - * "422": - * $ref: "#/components/responses/invalid_request_error" - * "500": - * $ref: "#/components/responses/500_error" - * requestBody: - * content: - * application/json: - * schema: * type: object + * description: SUMMARY * required: * - metadata * - first_name @@ -152,6 +129,43 @@ * type: boolean * title: is_default_billing * description: The customer's is default billing. + * x-codeSamples: + * - lang: Shell + * label: cURL + * source: |- + * curl -X POST '{backend_url}/store/customers/me/addresses/{address_id}' \ + * -H 'Content-Type: application/json' \ + * --data-raw '{ + * "metadata": {}, + * "first_name": "{value}", + * "last_name": "{value}", + * "phone": "{value}", + * "company": "{value}", + * "address_1": "{value}", + * "address_2": "{value}", + * "city": "{value}", + * "country_code": "{value}", + * "province": "{value}", + * "postal_code": "{value}", + * "address_name": "{value}", + * "is_default_shipping": true, + * "is_default_billing": false + * }' + * tags: + * - Customers + * responses: + * "400": + * $ref: "#/components/responses/400_error" + * "401": + * $ref: "#/components/responses/unauthorized" + * "404": + * $ref: "#/components/responses/not_found_error" + * "409": + * $ref: "#/components/responses/invalid_state_error" + * "422": + * $ref: "#/components/responses/invalid_request_error" + * "500": + * $ref: "#/components/responses/500_error" * */ diff --git a/www/utils/generated/oas-output/schemas/AdminCustomerListResponse.ts b/www/utils/generated/oas-output/schemas/AdminCustomerListResponse.ts new file mode 100644 index 0000000000..aec6124a68 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminCustomerListResponse.ts @@ -0,0 +1,31 @@ +/** + * @schema AdminCustomerListResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminCustomerListResponse + * required: + * - customers + * - limit + * - offset + * - count + * properties: + * customers: + * type: array + * description: The customer's customers. + * items: + * $ref: "#/components/schemas/CustomerResponse" + * limit: + * type: number + * title: limit + * description: The customer's limit. + * offset: + * type: number + * title: offset + * description: The customer's offset. + * count: + * type: number + * title: count + * description: The customer's count. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminCustomerResponse.ts b/www/utils/generated/oas-output/schemas/AdminCustomerResponse.ts new file mode 100644 index 0000000000..b3c9f0daa1 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminCustomerResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminCustomerResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminCustomerResponse + * required: + * - customer + * properties: + * customer: + * $ref: "#/components/schemas/CustomerResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminFulfillmentProviderResponse.ts b/www/utils/generated/oas-output/schemas/AdminFulfillmentProviderResponse.ts new file mode 100644 index 0000000000..65ba0534ba --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminFulfillmentProviderResponse.ts @@ -0,0 +1,43 @@ +/** + * @schema AdminFulfillmentProviderResponse + * type: object + * description: The shipping option's provider. + * x-schemaName: AdminFulfillmentProviderResponse + * required: + * - id + * - name + * - metadata + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The provider's ID. + * name: + * type: string + * title: name + * description: The provider's name. + * metadata: + * type: object + * description: The provider's metadata. + * properties: {} + * created_at: + * type: string + * title: created_at + * description: The provider's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The provider's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The provider's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminFulfillmentSetResponse.ts b/www/utils/generated/oas-output/schemas/AdminFulfillmentSetResponse.ts new file mode 100644 index 0000000000..ba939aba85 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminFulfillmentSetResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminFulfillmentSetResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminFulfillmentSetResponse + * required: + * - fulfillment_set + * properties: + * fulfillment_set: + * $ref: "#/components/schemas/FulfillmentSetResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminFulfillmentSetsDeleteResponse.ts b/www/utils/generated/oas-output/schemas/AdminFulfillmentSetsDeleteResponse.ts new file mode 100644 index 0000000000..699fc91879 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminFulfillmentSetsDeleteResponse.ts @@ -0,0 +1,25 @@ +/** + * @schema AdminFulfillmentSetsDeleteResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminFulfillmentSetsDeleteResponse + * required: + * - id + * - object + * - deleted + * properties: + * id: + * type: string + * title: id + * description: The fulfillment set's ID. + * object: + * type: string + * title: object + * description: The fulfillment set's object. + * deleted: + * type: boolean + * title: deleted + * description: The fulfillment set's deleted. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminGeoZoneResponse.ts b/www/utils/generated/oas-output/schemas/AdminGeoZoneResponse.ts new file mode 100644 index 0000000000..153366c7c6 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminGeoZoneResponse.ts @@ -0,0 +1,9 @@ +/** + * @schema AdminGeoZoneResponse + * type: object + * description: The geo zone's geo zones. + * x-schemaName: AdminGeoZoneResponse + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminPostCampaignsReq.ts b/www/utils/generated/oas-output/schemas/AdminPostCampaignsReq.ts deleted file mode 100644 index 96986c0e43..0000000000 --- a/www/utils/generated/oas-output/schemas/AdminPostCampaignsReq.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @schema AdminPostCampaignsReq - * type: object - * description: The promotion's campaign. - * x-schemaName: AdminPostCampaignsReq - * required: - * - name - * properties: - * name: - * type: string - * title: name - * description: The campaign's name. - * campaign_identifier: - * type: string - * title: campaign_identifier - * description: The campaign's campaign identifier. - * description: - * type: string - * title: description - * description: The campaign's description. - * currency: - * type: string - * title: currency - * description: The campaign's currency. - * budget: - * $ref: "#/components/schemas/CampaignBudget" - * starts_at: - * type: string - * title: starts_at - * description: The campaign's starts at. - * ends_at: - * type: string - * title: ends_at - * description: The campaign's ends at. - * promotions: - * type: array - * description: The campaign's promotions. - * items: - * type: object - * description: The promotion's promotions. - * x-schemaName: IdObject - * required: - * - id - * properties: - * id: - * type: string - * title: id - * description: The promotion's ID. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/AdminPriceSetPriceResponse.ts b/www/utils/generated/oas-output/schemas/AdminPriceSetPriceResponse.ts new file mode 100644 index 0000000000..9d81118975 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminPriceSetPriceResponse.ts @@ -0,0 +1,35 @@ +/** + * @schema AdminPriceSetPriceResponse + * type: object + * description: The price's prices. + * x-schemaName: AdminPriceSetPriceResponse + * required: + * - id + * - amount + * - currency_code + * - created_at + * - updated_at + * properties: + * id: + * type: string + * title: id + * description: The price's ID. + * amount: + * type: number + * title: amount + * description: The price's amount. + * currency_code: + * type: string + * title: currency_code + * description: The price's currency code. + * created_at: + * type: string + * title: created_at + * description: The price's created at. + * updated_at: + * type: string + * title: updated_at + * description: The price's updated at. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminProductCategoryListResponse.ts b/www/utils/generated/oas-output/schemas/AdminProductCategoryListResponse.ts new file mode 100644 index 0000000000..56ff20c335 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminProductCategoryListResponse.ts @@ -0,0 +1,31 @@ +/** + * @schema AdminProductCategoryListResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminProductCategoryListResponse + * required: + * - product_categories + * - limit + * - offset + * - count + * properties: + * product_categories: + * type: array + * description: The product category's product categories. + * items: + * $ref: "#/components/schemas/ProductCategoryResponse" + * limit: + * type: number + * title: limit + * description: The product category's limit. + * offset: + * type: number + * title: offset + * description: The product category's offset. + * count: + * type: number + * title: count + * description: The product category's count. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminProductCategoryResponse.ts b/www/utils/generated/oas-output/schemas/AdminProductCategoryResponse.ts new file mode 100644 index 0000000000..7fb72973d9 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminProductCategoryResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminProductCategoryResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminProductCategoryResponse + * required: + * - product_category + * properties: + * product_category: + * $ref: "#/components/schemas/ProductCategoryResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminServiceZoneDeleteResponse.ts b/www/utils/generated/oas-output/schemas/AdminServiceZoneDeleteResponse.ts new file mode 100644 index 0000000000..491ed4fad4 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminServiceZoneDeleteResponse.ts @@ -0,0 +1,28 @@ +/** + * @schema AdminServiceZoneDeleteResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminServiceZoneDeleteResponse + * required: + * - id + * - object + * - deleted + * - parent + * properties: + * id: + * type: string + * title: id + * description: The fulfillment set's ID. + * object: + * type: string + * title: object + * description: The fulfillment set's object. + * deleted: + * type: boolean + * title: deleted + * description: The fulfillment set's deleted. + * parent: + * $ref: "#/components/schemas/FulfillmentSetResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminServiceZoneResponse.ts b/www/utils/generated/oas-output/schemas/AdminServiceZoneResponse.ts new file mode 100644 index 0000000000..85a3d07572 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminServiceZoneResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminServiceZoneResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminServiceZoneResponse + * required: + * - service_zone + * properties: + * service_zone: + * $ref: "#/components/schemas/ServiceZoneResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionDeleteResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionDeleteResponse.ts new file mode 100644 index 0000000000..4353f0e92d --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionDeleteResponse.ts @@ -0,0 +1,25 @@ +/** + * @schema AdminShippingOptionDeleteResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingOptionDeleteResponse + * required: + * - id + * - object + * - deleted + * properties: + * id: + * type: string + * title: id + * description: The shipping option's ID. + * object: + * type: string + * title: object + * description: The shipping option's object. + * deleted: + * type: boolean + * title: deleted + * description: The shipping option's deleted. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionListResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionListResponse.ts new file mode 100644 index 0000000000..a0469f487c --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionListResponse.ts @@ -0,0 +1,31 @@ +/** + * @schema AdminShippingOptionListResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingOptionListResponse + * required: + * - shipping_options + * - limit + * - offset + * - count + * properties: + * shipping_options: + * type: array + * description: The shipping option's shipping options. + * items: + * $ref: "#/components/schemas/AdminShippingOptionResponse" + * limit: + * type: number + * title: limit + * description: The shipping option's limit. + * offset: + * type: number + * title: offset + * description: The shipping option's offset. + * count: + * type: number + * title: count + * description: The shipping option's count. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionResponse.ts new file mode 100644 index 0000000000..9983e881a2 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionResponse.ts @@ -0,0 +1,98 @@ +/** + * @schema AdminShippingOptionResponse + * type: object + * description: The shipping option's details. + * x-schemaName: AdminShippingOptionResponse + * required: + * - id + * - name + * - price_type + * - service_zone_id + * - shipping_profile_id + * - provider_id + * - shipping_option_type_id + * - data + * - metadata + * - service_zone + * - shipping_profile + * - provider + * - type + * - rules + * - prices + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The shipping option's ID. + * name: + * type: string + * title: name + * description: The shipping option's name. + * price_type: + * type: string + * enum: + * - flat + * - calculated + * service_zone_id: + * type: string + * title: service_zone_id + * description: The shipping option's service zone id. + * shipping_profile_id: + * type: string + * title: shipping_profile_id + * description: The shipping option's shipping profile id. + * provider_id: + * type: string + * title: provider_id + * description: The shipping option's provider id. + * shipping_option_type_id: + * type: string + * title: shipping_option_type_id + * description: The shipping option's shipping option type id. + * data: + * type: object + * description: The shipping option's data. + * properties: {} + * metadata: + * type: object + * description: The shipping option's metadata. + * properties: {} + * service_zone: + * $ref: "#/components/schemas/AdminServiceZoneResponse" + * shipping_profile: + * $ref: "#/components/schemas/AdminShippingProfileResponse" + * provider: + * $ref: "#/components/schemas/AdminFulfillmentProviderResponse" + * type: + * $ref: "#/components/schemas/AdminShippingOptionTypeResponse" + * rules: + * type: array + * description: The shipping option's rules. + * items: + * $ref: "#/components/schemas/AdminShippingOptionRuleResponse" + * prices: + * type: array + * description: The shipping option's prices. + * items: + * $ref: "#/components/schemas/AdminPriceSetPriceResponse" + * created_at: + * type: string + * title: created_at + * description: The shipping option's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The shipping option's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The shipping option's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionRetrieveResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionRetrieveResponse.ts new file mode 100644 index 0000000000..179ad62ac4 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionRetrieveResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminShippingOptionRetrieveResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingOptionRetrieveResponse + * required: + * - shipping_option + * properties: + * shipping_option: + * $ref: "#/components/schemas/AdminShippingOptionResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionRuleResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionRuleResponse.ts new file mode 100644 index 0000000000..21b20acf87 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionRuleResponse.ts @@ -0,0 +1,53 @@ +/** + * @schema AdminShippingOptionRuleResponse + * type: object + * description: The rule's rules. + * x-schemaName: AdminShippingOptionRuleResponse + * required: + * - id + * - attribute + * - operator + * - value + * - shipping_option_id + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The rule's ID. + * attribute: + * type: string + * title: attribute + * description: The rule's attribute. + * operator: + * type: string + * title: operator + * description: The rule's operator. + * value: + * type: object + * description: The rule's value. + * properties: {} + * shipping_option_id: + * type: string + * title: shipping_option_id + * description: The rule's shipping option id. + * created_at: + * type: string + * title: created_at + * description: The rule's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The rule's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The rule's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOptionTypeResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingOptionTypeResponse.ts new file mode 100644 index 0000000000..5c246fdf1a --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingOptionTypeResponse.ts @@ -0,0 +1,53 @@ +/** + * @schema AdminShippingOptionTypeResponse + * type: object + * description: The shipping option's type. + * x-schemaName: AdminShippingOptionTypeResponse + * required: + * - id + * - label + * - description + * - code + * - shipping_option_id + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The type's ID. + * label: + * type: string + * title: label + * description: The type's label. + * description: + * type: string + * title: description + * description: The type's description. + * code: + * type: string + * title: code + * description: The type's code. + * shipping_option_id: + * type: string + * title: shipping_option_id + * description: The type's shipping option id. + * created_at: + * type: string + * title: created_at + * description: The type's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The type's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The type's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingProfileDeleteResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingProfileDeleteResponse.ts new file mode 100644 index 0000000000..84f0099f01 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingProfileDeleteResponse.ts @@ -0,0 +1,25 @@ +/** + * @schema AdminShippingProfileDeleteResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingProfileDeleteResponse + * required: + * - id + * - object + * - deleted + * properties: + * id: + * type: string + * title: id + * description: The shipping profile's ID. + * object: + * type: string + * title: object + * description: The shipping profile's object. + * deleted: + * type: boolean + * title: deleted + * description: The shipping profile's deleted. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingProfileResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingProfileResponse.ts new file mode 100644 index 0000000000..7d6c2377b4 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingProfileResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema AdminShippingProfileResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingProfileResponse + * required: + * - shipping_profile + * properties: + * shipping_profile: + * $ref: "#/components/schemas/ShippingProfileResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/AdminShippingProfilesResponse.ts b/www/utils/generated/oas-output/schemas/AdminShippingProfilesResponse.ts new file mode 100644 index 0000000000..45c009955d --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminShippingProfilesResponse.ts @@ -0,0 +1,31 @@ +/** + * @schema AdminShippingProfilesResponse + * type: object + * description: SUMMARY + * x-schemaName: AdminShippingProfilesResponse + * required: + * - shipping_profiles + * - limit + * - offset + * - count + * properties: + * shipping_profiles: + * type: array + * description: The shipping profile's shipping profiles. + * items: + * $ref: "#/components/schemas/ShippingProfileResponse" + * limit: + * type: number + * title: limit + * description: The shipping profile's limit. + * offset: + * type: number + * title: offset + * description: The shipping profile's offset. + * count: + * type: number + * title: count + * description: The shipping profile's count. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/ApplicationMethodsMethodPostReq.ts b/www/utils/generated/oas-output/schemas/ApplicationMethodsMethodPostReq.ts deleted file mode 100644 index 20ab423287..0000000000 --- a/www/utils/generated/oas-output/schemas/ApplicationMethodsMethodPostReq.ts +++ /dev/null @@ -1,119 +0,0 @@ -/** - * @schema ApplicationMethodsMethodPostReq - * type: object - * description: The promotion's application method. - * x-schemaName: ApplicationMethodsMethodPostReq - * properties: - * description: - * type: string - * title: description - * description: The application method's description. - * value: - * type: string - * title: value - * description: The application method's value. - * max_quantity: - * type: number - * title: max_quantity - * description: The application method's max quantity. - * type: - * type: string - * enum: - * - fixed - * - percentage - * target_type: - * type: string - * enum: - * - order - * - shipping_methods - * - items - * allocation: - * type: string - * enum: - * - each - * - across - * target_rules: - * type: array - * description: The application method's target rules. - * items: - * type: object - * description: The target rule's target rules. - * x-schemaName: PromotionRule - * required: - * - operator - * - attribute - * - values - * properties: - * operator: - * type: string - * enum: - * - gte - * - lte - * - gt - * - lt - * - eq - * - ne - * - in - * description: - * type: string - * title: description - * description: The target rule's description. - * attribute: - * type: string - * title: attribute - * description: The target rule's attribute. - * values: - * type: array - * description: The target rule's values. - * items: - * type: string - * title: values - * description: The value's values. - * buy_rules: - * type: array - * description: The application method's buy rules. - * items: - * type: object - * description: The buy rule's buy rules. - * x-schemaName: PromotionRule - * required: - * - operator - * - attribute - * - values - * properties: - * operator: - * type: string - * enum: - * - gte - * - lte - * - gt - * - lt - * - eq - * - ne - * - in - * description: - * type: string - * title: description - * description: The buy rule's description. - * attribute: - * type: string - * title: attribute - * description: The buy rule's attribute. - * values: - * type: array - * description: The buy rule's values. - * items: - * type: string - * title: values - * description: The value's values. - * apply_to_quantity: - * type: number - * title: apply_to_quantity - * description: The application method's apply to quantity. - * buy_rules_min_quantity: - * type: number - * title: buy_rules_min_quantity - * description: The application method's buy rules min quantity. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateAddress.ts b/www/utils/generated/oas-output/schemas/CreateAddress.ts new file mode 100644 index 0000000000..5dc64accf8 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CreateAddress.ts @@ -0,0 +1,57 @@ +/** + * @schema CreateAddress + * type: object + * description: The cart's shipping address. + * x-schemaName: CreateAddress + * properties: + * customer_id: + * type: string + * title: customer_id + * description: The shipping address's customer id. + * company: + * type: string + * title: company + * description: The shipping address's company. + * first_name: + * type: string + * title: first_name + * description: The shipping address's first name. + * last_name: + * type: string + * title: last_name + * description: The shipping address's last name. + * address_1: + * type: string + * title: address_1 + * description: The shipping address's address 1. + * address_2: + * type: string + * title: address_2 + * description: The shipping address's address 2. + * city: + * type: string + * title: city + * description: The shipping address's city. + * country_code: + * type: string + * title: country_code + * description: The shipping address's country code. + * province: + * type: string + * title: province + * description: The shipping address's province. + * postal_code: + * type: string + * title: postal_code + * description: The shipping address's postal code. + * phone: + * type: string + * title: phone + * description: The shipping address's phone. + * metadata: + * type: object + * description: The shipping address's metadata. + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CreateApiKey.ts b/www/utils/generated/oas-output/schemas/CreateApiKey.ts deleted file mode 100644 index b21a19571c..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateApiKey.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @schema CreateApiKey - * type: object - * description: SUMMARY - * x-schemaName: CreateApiKey - * required: - * - title - * - type - * properties: - * title: - * type: string - * title: title - * description: The api key's title. - * type: - * type: string - * enum: - * - secret - * - publishable - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateCartAddress.ts b/www/utils/generated/oas-output/schemas/CreateCartAddress.ts new file mode 100644 index 0000000000..a2aa9c28db --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CreateCartAddress.ts @@ -0,0 +1,53 @@ +/** + * @schema CreateCartAddress + * type: object + * description: The cart's billing address. + * x-schemaName: CreateCartAddress + * properties: + * first_name: + * type: string + * title: first_name + * description: The billing address's first name. + * last_name: + * type: string + * title: last_name + * description: The billing address's last name. + * phone: + * type: string + * title: phone + * description: The billing address's phone. + * company: + * type: string + * title: company + * description: The billing address's company. + * address_1: + * type: string + * title: address_1 + * description: The billing address's address 1. + * address_2: + * type: string + * title: address_2 + * description: The billing address's address 2. + * city: + * type: string + * title: city + * description: The billing address's city. + * country_code: + * type: string + * title: country_code + * description: The billing address's country code. + * province: + * type: string + * title: province + * description: The billing address's province. + * postal_code: + * type: string + * title: postal_code + * description: The billing address's postal code. + * metadata: + * type: object + * description: The billing address's metadata. + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CreateCartCreateLineItem.ts b/www/utils/generated/oas-output/schemas/CreateCartCreateLineItem.ts new file mode 100644 index 0000000000..53c9e8a961 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CreateCartCreateLineItem.ts @@ -0,0 +1,104 @@ +/** + * @schema CreateCartCreateLineItem + * type: object + * description: The item's items. + * x-schemaName: CreateCartCreateLineItem + * required: + * - quantity + * - variant_id + * properties: + * quantity: + * type: string + * title: quantity + * description: The item's quantity. + * variant_id: + * type: string + * title: variant_id + * description: The item's variant id. + * title: + * type: string + * title: title + * description: The item's title. + * subtitle: + * type: string + * title: subtitle + * description: The item's subtitle. + * thumbnail: + * type: string + * title: thumbnail + * description: The item's thumbnail. + * product_id: + * type: string + * title: product_id + * description: The item's product id. + * product_title: + * type: string + * title: product_title + * description: The item's product title. + * product_description: + * type: string + * title: product_description + * description: The item's product description. + * product_subtitle: + * type: string + * title: product_subtitle + * description: The item's product subtitle. + * product_type: + * type: string + * title: product_type + * description: The item's product type. + * product_collection: + * type: string + * title: product_collection + * description: The item's product collection. + * product_handle: + * type: string + * title: product_handle + * description: The item's product handle. + * variant_sku: + * type: string + * title: variant_sku + * description: The item's variant sku. + * variant_barcode: + * type: string + * title: variant_barcode + * description: The item's variant barcode. + * variant_title: + * type: string + * title: variant_title + * description: The item's variant title. + * variant_option_values: + * type: object + * description: The item's variant option values. + * properties: {} + * requires_shipping: + * type: boolean + * title: requires_shipping + * description: The item's requires shipping. + * is_discountable: + * type: boolean + * title: is_discountable + * description: The item's is discountable. + * is_tax_inclusive: + * type: boolean + * title: is_tax_inclusive + * description: The item's is tax inclusive. + * is_giftcard: + * type: boolean + * title: is_giftcard + * description: The item's is giftcard. + * compare_at_unit_price: + * type: string + * title: compare_at_unit_price + * description: The item's compare at unit price. + * unit_price: + * type: string + * title: unit_price + * description: The item's unit price. + * metadata: + * type: object + * description: The item's metadata. + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CreateCartWorkflowInput.ts b/www/utils/generated/oas-output/schemas/CreateCartWorkflowInput.ts index f43c32c367..3f8e45ad0a 100644 --- a/www/utils/generated/oas-output/schemas/CreateCartWorkflowInput.ts +++ b/www/utils/generated/oas-output/schemas/CreateCartWorkflowInput.ts @@ -38,107 +38,13 @@ * - type: string * title: shipping_address * description: The cart's shipping address. - * - type: object - * description: The cart's shipping address. - * x-schemaName: CreateCartAddress - * properties: - * first_name: - * type: string - * title: first_name - * description: The shipping address's first name. - * last_name: - * type: string - * title: last_name - * description: The shipping address's last name. - * phone: - * type: string - * title: phone - * description: The shipping address's phone. - * company: - * type: string - * title: company - * description: The shipping address's company. - * address_1: - * type: string - * title: address_1 - * description: The shipping address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The shipping address's address 2. - * city: - * type: string - * title: city - * description: The shipping address's city. - * country_code: - * type: string - * title: country_code - * description: The shipping address's country code. - * province: - * type: string - * title: province - * description: The shipping address's province. - * postal_code: - * type: string - * title: postal_code - * description: The shipping address's postal code. - * metadata: - * type: object - * description: The shipping address's metadata. - * properties: {} + * - $ref: "#/components/schemas/CreateCartAddress" * billing_address: * oneOf: * - type: string * title: billing_address * description: The cart's billing address. - * - type: object - * description: The cart's billing address. - * x-schemaName: CreateCartAddress - * properties: - * first_name: - * type: string - * title: first_name - * description: The billing address's first name. - * last_name: - * type: string - * title: last_name - * description: The billing address's last name. - * phone: - * type: string - * title: phone - * description: The billing address's phone. - * company: - * type: string - * title: company - * description: The billing address's company. - * address_1: - * type: string - * title: address_1 - * description: The billing address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The billing address's address 2. - * city: - * type: string - * title: city - * description: The billing address's city. - * country_code: - * type: string - * title: country_code - * description: The billing address's country code. - * province: - * type: string - * title: province - * description: The billing address's province. - * postal_code: - * type: string - * title: postal_code - * description: The billing address's postal code. - * metadata: - * type: object - * description: The billing address's metadata. - * properties: {} + * - $ref: "#/components/schemas/CreateCartAddress" * metadata: * type: object * description: The cart's metadata. @@ -147,109 +53,7 @@ * type: array * description: The cart's items. * items: - * type: object - * description: The item's items. - * x-schemaName: CreateCartCreateLineItem - * required: - * - quantity - * - variant_id - * properties: - * quantity: - * type: number - * title: quantity - * description: The item's quantity. - * variant_id: - * type: string - * title: variant_id - * description: The item's variant id. - * title: - * type: string - * title: title - * description: The item's title. - * subtitle: - * type: string - * title: subtitle - * description: The item's subtitle. - * thumbnail: - * type: string - * title: thumbnail - * description: The item's thumbnail. - * product_id: - * type: string - * title: product_id - * description: The item's product id. - * product_title: - * type: string - * title: product_title - * description: The item's product title. - * product_description: - * type: string - * title: product_description - * description: The item's product description. - * product_subtitle: - * type: string - * title: product_subtitle - * description: The item's product subtitle. - * product_type: - * type: string - * title: product_type - * description: The item's product type. - * product_collection: - * type: string - * title: product_collection - * description: The item's product collection. - * product_handle: - * type: string - * title: product_handle - * description: The item's product handle. - * variant_sku: - * type: string - * title: variant_sku - * description: The item's variant sku. - * variant_barcode: - * type: string - * title: variant_barcode - * description: The item's variant barcode. - * variant_title: - * type: string - * title: variant_title - * description: The item's variant title. - * variant_option_values: - * type: object - * description: The item's variant option values. - * properties: {} - * requires_shipping: - * type: boolean - * title: requires_shipping - * description: The item's requires shipping. - * is_discountable: - * type: boolean - * title: is_discountable - * description: The item's is discountable. - * is_tax_inclusive: - * type: boolean - * title: is_tax_inclusive - * description: The item's is tax inclusive. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The item's is giftcard. - * compare_at_unit_price: - * type: number - * title: compare_at_unit_price - * description: The item's compare at unit price. - * unit_price: - * oneOf: - * - type: string - * title: unit_price - * description: The item's unit price. - * - type: number - * title: unit_price - * description: The item's unit price. - * metadata: - * type: object - * description: The item's metadata. - * properties: {} + * $ref: "#/components/schemas/CreateCartCreateLineItem" * promo_codes: * type: array * description: The cart's promo codes. diff --git a/www/utils/generated/oas-output/schemas/CreateCustomer.ts b/www/utils/generated/oas-output/schemas/CreateCustomer.ts deleted file mode 100644 index 6aeb7550ab..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateCustomer.ts +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @schema CreateCustomer - * type: object - * description: SUMMARY - * x-schemaName: CreateCustomer - * properties: - * company_name: - * type: string - * title: company_name - * description: The customer's company name. - * first_name: - * type: string - * title: first_name - * description: The customer's first name. - * last_name: - * type: string - * title: last_name - * description: The customer's last name. - * email: - * type: string - * title: email - * description: The customer's email. - * format: email - * phone: - * type: string - * title: phone - * description: The customer's phone. - * created_by: - * type: string - * title: created_by - * description: The customer's created by. - * addresses: - * type: array - * description: The customer's addresses. - * items: - * type: object - * description: The address's addresses. - * x-schemaName: CreateCustomerAddress - * properties: - * address_name: - * type: string - * title: address_name - * description: The address's address name. - * is_default_shipping: - * type: boolean - * title: is_default_shipping - * description: The address's is default shipping. - * is_default_billing: - * type: boolean - * title: is_default_billing - * description: The address's is default billing. - * company: - * type: string - * title: company - * description: The address's company. - * first_name: - * type: string - * title: first_name - * description: The address's first name. - * last_name: - * type: string - * title: last_name - * description: The address's last name. - * address_1: - * type: string - * title: address_1 - * description: The address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The address's address 2. - * city: - * type: string - * title: city - * description: The address's city. - * country_code: - * type: string - * title: country_code - * description: The address's country code. - * province: - * type: string - * title: province - * description: The address's province. - * postal_code: - * type: string - * title: postal_code - * description: The address's postal code. - * phone: - * type: string - * title: phone - * description: The address's phone. - * metadata: - * type: object - * description: The address's metadata. - * properties: {} - * metadata: - * type: object - * description: The customer's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateCustomerAddress.ts b/www/utils/generated/oas-output/schemas/CreateCustomerAddress.ts deleted file mode 100644 index 8a28c1fe3e..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateCustomerAddress.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @schema CreateCustomerAddress - * type: object - * description: SUMMARY - * x-schemaName: CreateCustomerAddress - * required: - * - customer_id - * properties: - * address_name: - * type: string - * title: address_name - * description: The customer's address name. - * is_default_shipping: - * type: boolean - * title: is_default_shipping - * description: The customer's is default shipping. - * is_default_billing: - * type: boolean - * title: is_default_billing - * description: The customer's is default billing. - * customer_id: - * type: string - * title: customer_id - * description: The customer's customer id. - * company: - * type: string - * title: company - * description: The customer's company. - * first_name: - * type: string - * title: first_name - * description: The customer's first name. - * last_name: - * type: string - * title: last_name - * description: The customer's last name. - * address_1: - * type: string - * title: address_1 - * description: The customer's address 1. - * address_2: - * type: string - * title: address_2 - * description: The customer's address 2. - * city: - * type: string - * title: city - * description: The customer's city. - * country_code: - * type: string - * title: country_code - * description: The customer's country code. - * province: - * type: string - * title: province - * description: The customer's province. - * postal_code: - * type: string - * title: postal_code - * description: The customer's postal code. - * phone: - * type: string - * title: phone - * description: The customer's phone. - * metadata: - * type: object - * description: The customer's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateCustomerGroup.ts b/www/utils/generated/oas-output/schemas/CreateCustomerGroup.ts deleted file mode 100644 index 573c209205..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateCustomerGroup.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @schema CreateCustomerGroup - * type: object - * description: SUMMARY - * x-schemaName: CreateCustomerGroup - * required: - * - name - * properties: - * name: - * type: string - * title: name - * description: The customer group's name. - * metadata: - * type: object - * description: The customer group's metadata. - * properties: {} - * created_by: - * type: string - * title: created_by - * description: The customer group's created by. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateDefaultTaxRate.ts b/www/utils/generated/oas-output/schemas/CreateDefaultTaxRate.ts deleted file mode 100644 index 80d4619f63..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateDefaultTaxRate.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @schema CreateDefaultTaxRate - * type: object - * description: The tax region's default tax rate. - * x-schemaName: CreateDefaultTaxRate - * required: - * - name - * properties: - * rate: - * type: number - * title: rate - * description: The default tax rate's rate. - * code: - * type: string - * title: code - * description: The default tax rate's code. - * name: - * type: string - * title: name - * description: The default tax rate's name. - * metadata: - * type: object - * description: The default tax rate's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateInvite.ts b/www/utils/generated/oas-output/schemas/CreateInvite.ts deleted file mode 100644 index 2244a1f8c2..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateInvite.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @schema CreateInvite - * type: object - * description: SUMMARY - * x-schemaName: CreateInvite - * required: - * - email - * properties: - * email: - * type: string - * title: email - * description: The invite's email. - * format: email - * accepted: - * type: boolean - * title: accepted - * description: The invite's accepted. - * metadata: - * type: object - * description: The invite's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateProduct.ts b/www/utils/generated/oas-output/schemas/CreateProduct.ts index 3b84d26d69..f2b15787f0 100644 --- a/www/utils/generated/oas-output/schemas/CreateProduct.ts +++ b/www/utils/generated/oas-output/schemas/CreateProduct.ts @@ -9,55 +9,31 @@ * title: * type: string * title: title - * description: The product's title. + * description: The upload's title. * subtitle: * type: string * title: subtitle - * description: The product's subtitle. + * description: The upload's subtitle. * description: * type: string * title: description - * description: The product's description. + * description: The upload's description. * is_giftcard: * type: boolean * title: is_giftcard - * description: The product's is giftcard. + * description: The upload's is giftcard. * discountable: * type: boolean * title: discountable - * description: The product's discountable. - * images: - * oneOf: - * - type: array - * description: The product's images. - * items: - * type: string - * title: images - * description: The image's images. - * - type: array - * description: The product's images. - * items: - * type: object - * description: The image's images. - * required: - * - url - * properties: - * id: - * type: string - * title: id - * description: The image's ID. - * url: - * type: string - * title: url - * description: The image's url. + * description: The upload's discountable. * thumbnail: * type: string * title: thumbnail - * description: The product's thumbnail. + * description: The upload's thumbnail. * handle: * type: string * title: handle - * description: The product's handle. + * description: The upload's handle. * status: * type: string * enum: @@ -65,203 +41,76 @@ * - proposed * - published * - rejected - * type: - * $ref: "#/components/schemas/CreateProductType" + * images: + * type: array + * description: The upload's images. + * items: + * $ref: "#/components/schemas/UpsertProductImage" * type_id: * type: string * title: type_id - * description: The product's type id. + * description: The upload's type id. * collection_id: * type: string * title: collection_id - * description: The product's collection id. + * description: The upload's collection id. * tags: * type: array - * description: The product's tags. + * description: The upload's tags. * items: - * type: object - * description: The tag's tags. - * x-schemaName: CreateProductTag - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The tag's value. - * categories: + * $ref: "#/components/schemas/UpsertProductTag" + * category_ids: * type: array - * description: The product's categories. + * description: The upload's category ids. * items: - * type: object - * description: The category's categories. - * required: - * - id - * properties: - * id: - * type: string - * title: id - * description: The category's ID. + * type: string + * title: category_ids + * description: The category id's category ids. * options: * type: array - * description: The product's options. + * description: The upload's options. * items: - * type: object - * description: The option's options. - * x-schemaName: CreateProductOption - * required: - * - title - * - values - * properties: - * title: - * type: string - * title: title - * description: The option's title. - * values: - * oneOf: - * - type: array - * description: The option's values. - * items: - * type: string - * title: values - * description: The value's values. - * - type: array - * description: The option's values. - * items: - * type: object - * description: The value's values. - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The value's details. - * product_id: - * type: string - * title: product_id - * description: The option's product id. + * $ref: "#/components/schemas/CreateProductOption" * variants: * type: array - * description: The product's variants. + * description: The upload's variants. * items: - * type: object - * description: The variant's variants. - * x-schemaName: CreateProductVariant - * required: - * - title - * properties: - * product_id: - * type: string - * title: product_id - * description: The variant's product id. - * title: - * type: string - * title: title - * description: The variant's title. - * sku: - * type: string - * title: sku - * description: The variant's sku. - * barcode: - * type: string - * title: barcode - * description: The variant's barcode. - * ean: - * type: string - * title: ean - * description: The variant's ean. - * upc: - * type: string - * title: upc - * description: The variant's upc. - * allow_backorder: - * type: boolean - * title: allow_backorder - * description: The variant's allow backorder. - * inventory_quantity: - * type: number - * title: inventory_quantity - * description: The variant's inventory quantity. - * manage_inventory: - * type: boolean - * title: manage_inventory - * description: The variant's manage inventory. - * hs_code: - * type: string - * title: hs_code - * description: The variant's hs code. - * origin_country: - * type: string - * title: origin_country - * description: The variant's origin country. - * mid_code: - * type: string - * title: mid_code - * description: The variant's mid code. - * material: - * type: string - * title: material - * description: The variant's material. - * weight: - * type: number - * title: weight - * description: The variant's weight. - * length: - * type: number - * title: length - * description: The variant's length. - * height: - * type: number - * title: height - * description: The variant's height. - * width: - * type: number - * title: width - * description: The variant's width. - * options: - * type: object - * description: The variant's options. - * properties: {} - * metadata: - * type: object - * description: The variant's metadata. - * properties: {} + * $ref: "#/components/schemas/CreateProductVariant" * width: * type: number * title: width - * description: The product's width. + * description: The upload's width. * height: * type: number * title: height - * description: The product's height. + * description: The upload's height. * length: * type: number * title: length - * description: The product's length. + * description: The upload's length. * weight: * type: number * title: weight - * description: The product's weight. + * description: The upload's weight. * origin_country: * type: string * title: origin_country - * description: The product's origin country. + * description: The upload's origin country. * hs_code: * type: string * title: hs_code - * description: The product's hs code. + * description: The upload's hs code. * material: * type: string * title: material - * description: The product's material. + * description: The upload's material. * mid_code: * type: string * title: mid_code - * description: The product's mid code. + * description: The upload's mid code. * metadata: * type: object - * description: The product's metadata. + * description: The upload's metadata. * properties: {} * */ diff --git a/www/utils/generated/oas-output/schemas/CreateProductCollection.ts b/www/utils/generated/oas-output/schemas/CreateProductCollection.ts deleted file mode 100644 index 45b18b8c2a..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateProductCollection.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @schema CreateProductCollection - * type: object - * description: SUMMARY - * x-schemaName: CreateProductCollection - * required: - * - title - * properties: - * title: - * type: string - * title: title - * description: The collection's title. - * handle: - * type: string - * title: handle - * description: The collection's handle. - * product_ids: - * type: array - * description: The collection's product ids. - * items: - * type: string - * title: product_ids - * description: The product id's product ids. - * metadata: - * type: object - * description: The collection's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateProductOption.ts b/www/utils/generated/oas-output/schemas/CreateProductOption.ts index 6b06092b3b..20d1f65324 100644 --- a/www/utils/generated/oas-output/schemas/CreateProductOption.ts +++ b/www/utils/generated/oas-output/schemas/CreateProductOption.ts @@ -1,7 +1,7 @@ /** * @schema CreateProductOption * type: object - * description: SUMMARY + * description: The option's options. * x-schemaName: CreateProductOption * required: * - title @@ -10,31 +10,18 @@ * title: * type: string * title: title - * description: The product's title. + * description: The option's title. * values: - * oneOf: - * - type: array - * description: The product's values. - * items: - * type: string - * title: values - * description: The value's values. - * - type: array - * description: The product's values. - * items: - * type: object - * description: The value's values. - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The value's details. + * type: array + * description: The option's values. + * items: + * type: string + * title: values + * description: The value's values. * product_id: * type: string * title: product_id - * description: The product's product id. + * description: The option's product id. * */ diff --git a/www/utils/generated/oas-output/schemas/CreateProductVariant.ts b/www/utils/generated/oas-output/schemas/CreateProductVariant.ts index a233b18ddf..06374a31d7 100644 --- a/www/utils/generated/oas-output/schemas/CreateProductVariant.ts +++ b/www/utils/generated/oas-output/schemas/CreateProductVariant.ts @@ -1,7 +1,7 @@ /** * @schema CreateProductVariant * type: object - * description: SUMMARY + * description: The variant's variants. * x-schemaName: CreateProductVariant * required: * - title @@ -9,78 +9,78 @@ * product_id: * type: string * title: product_id - * description: The product's product id. + * description: The variant's product id. * title: * type: string * title: title - * description: The product's title. + * description: The variant's title. * sku: * type: string * title: sku - * description: The product's sku. + * description: The variant's sku. * barcode: * type: string * title: barcode - * description: The product's barcode. + * description: The variant's barcode. * ean: * type: string * title: ean - * description: The product's ean. + * description: The variant's ean. * upc: * type: string * title: upc - * description: The product's upc. + * description: The variant's upc. * allow_backorder: * type: boolean * title: allow_backorder - * description: The product's allow backorder. + * description: The variant's allow backorder. * inventory_quantity: * type: number * title: inventory_quantity - * description: The product's inventory quantity. + * description: The variant's inventory quantity. * manage_inventory: * type: boolean * title: manage_inventory - * description: The product's manage inventory. + * description: The variant's manage inventory. * hs_code: * type: string * title: hs_code - * description: The product's hs code. + * description: The variant's hs code. * origin_country: * type: string * title: origin_country - * description: The product's origin country. + * description: The variant's origin country. * mid_code: * type: string * title: mid_code - * description: The product's mid code. + * description: The variant's mid code. * material: * type: string * title: material - * description: The product's material. + * description: The variant's material. * weight: * type: number * title: weight - * description: The product's weight. + * description: The variant's weight. * length: * type: number * title: length - * description: The product's length. + * description: The variant's length. * height: * type: number * title: height - * description: The product's height. + * description: The variant's height. * width: * type: number * title: width - * description: The product's width. + * description: The variant's width. * options: * type: object - * description: The product's options. + * description: The variant's options. * properties: {} * metadata: * type: object - * description: The product's metadata. + * description: The variant's metadata. * properties: {} * */ diff --git a/www/utils/generated/oas-output/schemas/CreatePromotion.ts b/www/utils/generated/oas-output/schemas/CreatePromotion.ts deleted file mode 100644 index a89e2a410b..0000000000 --- a/www/utils/generated/oas-output/schemas/CreatePromotion.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * @schema CreatePromotion - * type: object - * description: SUMMARY - * x-schemaName: CreatePromotion - * required: - * - code - * - type - * properties: - * code: - * type: string - * title: code - * description: The promotion's code. - * type: - * type: string - * enum: - * - standard - * - buyget - * is_automatic: - * type: boolean - * title: is_automatic - * description: The promotion's is automatic. - * application_method: - * $ref: "#/components/schemas/CreateApplicationMethod" - * rules: - * type: array - * description: The promotion's rules. - * items: - * type: object - * description: The rule's rules. - * x-schemaName: CreatePromotionRule - * required: - * - attribute - * - operator - * - values - * properties: - * description: - * type: string - * title: description - * description: The rule's description. - * attribute: - * type: string - * title: attribute - * description: The rule's attribute. - * operator: - * type: string - * enum: - * - gt - * - lt - * - eq - * - ne - * - in - * - lte - * - gte - * values: - * oneOf: - * - type: string - * title: values - * description: The rule's values. - * - type: array - * description: The rule's values. - * items: - * type: string - * title: values - * description: The value's values. - * campaign: - * $ref: "#/components/schemas/CreateCampaign" - * campaign_id: - * type: string - * title: campaign_id - * description: The promotion's campaign id. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateRegion.ts b/www/utils/generated/oas-output/schemas/CreateRegion.ts deleted file mode 100644 index f8d3fe207a..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateRegion.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @schema CreateRegion - * type: object - * description: SUMMARY - * x-schemaName: CreateRegion - * required: - * - name - * - currency_code - * properties: - * name: - * type: string - * title: name - * description: The region's name. - * currency_code: - * type: string - * title: currency_code - * description: The region's currency code. - * automatic_taxes: - * type: boolean - * title: automatic_taxes - * description: The region's automatic taxes. - * countries: - * type: array - * description: The region's countries. - * items: - * type: string - * title: countries - * description: The country's countries. - * metadata: - * type: object - * description: The region's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CreateSalesChannel.ts b/www/utils/generated/oas-output/schemas/CreateSalesChannel.ts deleted file mode 100644 index 5bdfd5ecff..0000000000 --- a/www/utils/generated/oas-output/schemas/CreateSalesChannel.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @schema CreateSalesChannel - * type: object - * description: SUMMARY - * x-schemaName: CreateSalesChannel - * required: - * - name - * properties: - * name: - * type: string - * title: name - * description: The sales channel's name. - * description: - * type: string - * title: description - * description: The sales channel's description. - * is_disabled: - * type: boolean - * title: is_disabled - * description: The sales channel's is disabled. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/Customer.ts b/www/utils/generated/oas-output/schemas/Customer.ts new file mode 100644 index 0000000000..3e9416e797 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/Customer.ts @@ -0,0 +1,93 @@ +/** + * @schema Customer + * type: object + * description: The context's customer. + * x-schemaName: Customer + * properties: + * id: + * type: string + * title: id + * description: The customer's ID. + * email: + * type: string + * title: email + * description: The customer's email. + * format: email + * has_account: + * type: boolean + * title: has_account + * description: The customer's has account. + * default_billing_address_id: + * type: string + * title: default_billing_address_id + * description: The customer's default billing address id. + * default_shipping_address_id: + * type: string + * title: default_shipping_address_id + * description: The customer's default shipping address id. + * company_name: + * type: string + * title: company_name + * description: The customer's company name. + * first_name: + * type: string + * title: first_name + * description: The customer's first name. + * last_name: + * type: string + * title: last_name + * description: The customer's last name. + * addresses: + * type: array + * description: The customer's addresses. + * items: + * $ref: "#/components/schemas/CustomerAddress" + * phone: + * type: string + * title: phone + * description: The customer's phone. + * groups: + * type: array + * description: The customer's groups. + * items: + * type: object + * description: The group's groups. + * properties: {} + * metadata: + * type: object + * description: The customer's metadata. + * properties: {} + * created_by: + * type: string + * title: created_by + * description: The customer's created by. + * deleted_at: + * oneOf: + * - type: string + * title: deleted_at + * description: The customer's deleted at. + * - type: string + * title: deleted_at + * description: The customer's deleted at. + * format: date-time + * created_at: + * oneOf: + * - type: string + * title: created_at + * description: The customer's created at. + * - type: string + * title: created_at + * description: The customer's created at. + * format: date-time + * updated_at: + * oneOf: + * - type: string + * title: updated_at + * description: The customer's updated at. + * - type: string + * title: updated_at + * description: The customer's updated at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CustomerAddress.ts b/www/utils/generated/oas-output/schemas/CustomerAddress.ts index 1e43abef56..a4f379eb48 100644 --- a/www/utils/generated/oas-output/schemas/CustomerAddress.ts +++ b/www/utils/generated/oas-output/schemas/CustomerAddress.ts @@ -1,81 +1,9 @@ /** * @schema CustomerAddress * type: object - * description: SUMMARY + * description: The address's addresses. * x-schemaName: CustomerAddress - * properties: - * id: - * type: string - * title: id - * description: The customer's ID. - * address_name: - * type: string - * title: address_name - * description: The customer's address name. - * is_default_shipping: - * type: boolean - * title: is_default_shipping - * description: The customer's is default shipping. - * is_default_billing: - * type: boolean - * title: is_default_billing - * description: The customer's is default billing. - * customer_id: - * type: string - * title: customer_id - * description: The customer's customer id. - * company: - * type: string - * title: company - * description: The customer's company. - * first_name: - * type: string - * title: first_name - * description: The customer's first name. - * last_name: - * type: string - * title: last_name - * description: The customer's last name. - * address_1: - * type: string - * title: address_1 - * description: The customer's address 1. - * address_2: - * type: string - * title: address_2 - * description: The customer's address 2. - * city: - * type: string - * title: city - * description: The customer's city. - * country_code: - * type: string - * title: country_code - * description: The customer's country code. - * province: - * type: string - * title: province - * description: The customer's province. - * postal_code: - * type: string - * title: postal_code - * description: The customer's postal code. - * phone: - * type: string - * title: phone - * description: The customer's phone. - * metadata: - * type: object - * description: The customer's metadata. - * properties: {} - * created_at: - * type: string - * title: created_at - * description: The customer's created at. - * updated_at: - * type: string - * title: updated_at - * description: The customer's updated at. + * properties: {} * */ diff --git a/www/utils/generated/oas-output/schemas/CustomerAddressResponse.ts b/www/utils/generated/oas-output/schemas/CustomerAddressResponse.ts new file mode 100644 index 0000000000..3ffbafe07a --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CustomerAddressResponse.ts @@ -0,0 +1,100 @@ +/** + * @schema CustomerAddressResponse + * type: object + * description: The address's addresses. + * x-schemaName: CustomerAddressResponse + * required: + * - id + * - address_name + * - is_default_shipping + * - is_default_billing + * - customer_id + * - company + * - first_name + * - last_name + * - address_1 + * - address_2 + * - city + * - country_code + * - province + * - postal_code + * - phone + * - metadata + * - created_at + * - updated_at + * properties: + * id: + * type: string + * title: id + * description: The address's ID. + * address_name: + * type: string + * title: address_name + * description: The address's address name. + * is_default_shipping: + * type: boolean + * title: is_default_shipping + * description: The address's is default shipping. + * is_default_billing: + * type: boolean + * title: is_default_billing + * description: The address's is default billing. + * customer_id: + * type: string + * title: customer_id + * description: The address's customer id. + * company: + * type: string + * title: company + * description: The address's company. + * first_name: + * type: string + * title: first_name + * description: The address's first name. + * last_name: + * type: string + * title: last_name + * description: The address's last name. + * address_1: + * type: string + * title: address_1 + * description: The address's address 1. + * address_2: + * type: string + * title: address_2 + * description: The address's address 2. + * city: + * type: string + * title: city + * description: The address's city. + * country_code: + * type: string + * title: country_code + * description: The address's country code. + * province: + * type: string + * title: province + * description: The address's province. + * postal_code: + * type: string + * title: postal_code + * description: The address's postal code. + * phone: + * type: string + * title: phone + * description: The address's phone. + * metadata: + * type: object + * description: The address's metadata. + * properties: {} + * created_at: + * type: string + * title: created_at + * description: The address's created at. + * updated_at: + * type: string + * title: updated_at + * description: The address's updated at. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CustomerGroupResponse.ts b/www/utils/generated/oas-output/schemas/CustomerGroupResponse.ts new file mode 100644 index 0000000000..9c7c54831c --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CustomerGroupResponse.ts @@ -0,0 +1,41 @@ +/** + * @schema CustomerGroupResponse + * type: object + * description: The group's groups. + * x-schemaName: CustomerGroupResponse + * required: + * - id + * - name + * - customers + * - metadata + * - created_at + * - updated_at + * properties: + * id: + * type: string + * title: id + * description: The group's ID. + * name: + * type: string + * title: name + * description: The group's name. + * customers: + * type: array + * description: The group's customers. + * items: + * $ref: "#/components/schemas/CustomerResponse" + * metadata: + * type: object + * description: The group's metadata. + * properties: {} + * created_at: + * type: string + * title: created_at + * description: The group's created at. + * updated_at: + * type: string + * title: updated_at + * description: The group's updated at. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CustomerGroupUpdatableFields.ts b/www/utils/generated/oas-output/schemas/CustomerGroupUpdatableFields.ts deleted file mode 100644 index f775ba6915..0000000000 --- a/www/utils/generated/oas-output/schemas/CustomerGroupUpdatableFields.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @schema CustomerGroupUpdatableFields - * type: object - * description: SUMMARY - * x-schemaName: CustomerGroupUpdatableFields - * properties: - * name: - * type: string - * title: name - * description: The customer group's name. - * metadata: - * type: object - * description: The customer group's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/CustomerResponse.ts b/www/utils/generated/oas-output/schemas/CustomerResponse.ts new file mode 100644 index 0000000000..360ac3e287 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/CustomerResponse.ts @@ -0,0 +1,101 @@ +/** + * @schema CustomerResponse + * type: object + * description: The customer's details. + * x-schemaName: CustomerResponse + * required: + * - id + * - email + * - default_billing_address_id + * - default_shipping_address_id + * - company_name + * - first_name + * - last_name + * - has_account + * - addresses + * properties: + * id: + * type: string + * title: id + * description: The customer's ID. + * email: + * type: string + * title: email + * description: The customer's email. + * format: email + * default_billing_address_id: + * type: string + * title: default_billing_address_id + * description: The customer's default billing address id. + * default_shipping_address_id: + * type: string + * title: default_shipping_address_id + * description: The customer's default shipping address id. + * company_name: + * type: string + * title: company_name + * description: The customer's company name. + * first_name: + * type: string + * title: first_name + * description: The customer's first name. + * last_name: + * type: string + * title: last_name + * description: The customer's last name. + * has_account: + * type: boolean + * title: has_account + * description: The customer's has account. + * addresses: + * type: array + * description: The customer's addresses. + * items: + * $ref: "#/components/schemas/CustomerAddressResponse" + * phone: + * type: string + * title: phone + * description: The customer's phone. + * groups: + * type: array + * description: The customer's groups. + * items: + * $ref: "#/components/schemas/CustomerGroupResponse" + * metadata: + * type: object + * description: The customer's metadata. + * properties: {} + * created_by: + * type: string + * title: created_by + * description: The customer's created by. + * deleted_at: + * oneOf: + * - type: string + * title: deleted_at + * description: The customer's deleted at. + * - type: string + * title: deleted_at + * description: The customer's deleted at. + * format: date-time + * created_at: + * oneOf: + * - type: string + * title: created_at + * description: The customer's created at. + * - type: string + * title: created_at + * description: The customer's created at. + * format: date-time + * updated_at: + * oneOf: + * - type: string + * title: updated_at + * description: The customer's updated at. + * - type: string + * title: updated_at + * description: The customer's updated at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/CustomerUpdatableFields.ts b/www/utils/generated/oas-output/schemas/CustomerUpdatableFields.ts deleted file mode 100644 index b48ebd96e5..0000000000 --- a/www/utils/generated/oas-output/schemas/CustomerUpdatableFields.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @schema CustomerUpdatableFields - * type: object - * description: SUMMARY - * x-schemaName: CustomerUpdatableFields - * properties: - * company_name: - * type: string - * title: company_name - * description: The customer's company name. - * first_name: - * type: string - * title: first_name - * description: The customer's first name. - * last_name: - * type: string - * title: last_name - * description: The customer's last name. - * email: - * type: string - * title: email - * description: The customer's email. - * format: email - * phone: - * type: string - * title: phone - * description: The customer's phone. - * metadata: - * type: object - * description: The customer's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/FulfillmentSetResponse.ts b/www/utils/generated/oas-output/schemas/FulfillmentSetResponse.ts new file mode 100644 index 0000000000..153215bc3b --- /dev/null +++ b/www/utils/generated/oas-output/schemas/FulfillmentSetResponse.ts @@ -0,0 +1,54 @@ +/** + * @schema FulfillmentSetResponse + * type: object + * description: The fulfillment set's parent. + * x-schemaName: FulfillmentSetResponse + * required: + * - id + * - name + * - type + * - metadata + * - service_zones + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The parent's ID. + * name: + * type: string + * title: name + * description: The parent's name. + * type: + * type: string + * title: type + * description: The parent's type. + * metadata: + * type: object + * description: The parent's metadata. + * properties: {} + * service_zones: + * type: array + * description: The parent's service zones. + * items: + * $ref: "#/components/schemas/ServiceZoneResponse" + * created_at: + * type: string + * title: created_at + * description: The parent's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The parent's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The parent's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/ProductCategoryResponse.ts b/www/utils/generated/oas-output/schemas/ProductCategoryResponse.ts new file mode 100644 index 0000000000..3f35e86934 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/ProductCategoryResponse.ts @@ -0,0 +1,79 @@ +/** + * @schema ProductCategoryResponse + * type: object + * description: The product category's details. + * x-schemaName: ProductCategoryResponse + * required: + * - id + * - name + * - description + * - handle + * - is_active + * - is_internal + * - rank + * - parent_category_id + * - created_at + * - updated_at + * - parent_category + * - category_children + * properties: + * id: + * type: string + * title: id + * description: The product category's ID. + * name: + * type: string + * title: name + * description: The product category's name. + * description: + * type: string + * title: description + * description: The product category's description. + * handle: + * type: string + * title: handle + * description: The product category's handle. + * is_active: + * type: boolean + * title: is_active + * description: The product category's is active. + * is_internal: + * type: boolean + * title: is_internal + * description: The product category's is internal. + * rank: + * type: number + * title: rank + * description: The product category's rank. + * parent_category_id: + * type: string + * title: parent_category_id + * description: The product category's parent category id. + * created_at: + * oneOf: + * - type: string + * title: created_at + * description: The product category's created at. + * - type: string + * title: created_at + * description: The product category's created at. + * format: date-time + * updated_at: + * oneOf: + * - type: string + * title: updated_at + * description: The product category's updated at. + * - type: string + * title: updated_at + * description: The product category's updated at. + * format: date-time + * parent_category: + * $ref: "#/components/schemas/ProductCategoryResponse" + * category_children: + * type: array + * description: The product category's category children. + * items: + * $ref: "#/components/schemas/ProductCategoryResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/ServiceZoneResponse.ts b/www/utils/generated/oas-output/schemas/ServiceZoneResponse.ts new file mode 100644 index 0000000000..e95aee6f5f --- /dev/null +++ b/www/utils/generated/oas-output/schemas/ServiceZoneResponse.ts @@ -0,0 +1,49 @@ +/** + * @schema ServiceZoneResponse + * type: object + * description: The service zone's service zones. + * x-schemaName: ServiceZoneResponse + * required: + * - id + * - name + * - metadata + * - geo_zones + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The service zone's ID. + * name: + * type: string + * title: name + * description: The service zone's name. + * metadata: + * type: object + * description: The service zone's metadata. + * properties: {} + * geo_zones: + * type: array + * description: The service zone's geo zones. + * items: + * $ref: "#/components/schemas/AdminGeoZoneResponse" + * created_at: + * type: string + * title: created_at + * description: The service zone's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The service zone's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The service zone's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/ShippingProfileResponse.ts b/www/utils/generated/oas-output/schemas/ShippingProfileResponse.ts new file mode 100644 index 0000000000..5c5c97906b --- /dev/null +++ b/www/utils/generated/oas-output/schemas/ShippingProfileResponse.ts @@ -0,0 +1,48 @@ +/** + * @schema ShippingProfileResponse + * type: object + * description: The shipping profile's details. + * x-schemaName: ShippingProfileResponse + * required: + * - id + * - name + * - type + * - metadata + * - created_at + * - updated_at + * - deleted_at + * properties: + * id: + * type: string + * title: id + * description: The shipping profile's ID. + * name: + * type: string + * title: name + * description: The shipping profile's name. + * type: + * type: string + * title: type + * description: The shipping profile's type. + * metadata: + * type: object + * description: The shipping profile's metadata. + * properties: {} + * created_at: + * type: string + * title: created_at + * description: The shipping profile's created at. + * format: date-time + * updated_at: + * type: string + * title: updated_at + * description: The shipping profile's updated at. + * format: date-time + * deleted_at: + * type: string + * title: deleted_at + * description: The shipping profile's deleted at. + * format: date-time + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/StockLocationAddress.ts b/www/utils/generated/oas-output/schemas/StockLocationAddress.ts deleted file mode 100644 index 35ffb530b6..0000000000 --- a/www/utils/generated/oas-output/schemas/StockLocationAddress.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @schema StockLocationAddress - * type: object - * description: The stock location's address. - * x-schemaName: StockLocationAddress - * required: - * - address_1 - * - country_code - * properties: - * address_1: - * type: string - * title: address_1 - * description: The address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The address's address 2. - * company: - * type: string - * title: company - * description: The address's company. - * city: - * type: string - * title: city - * description: The address's city. - * country_code: - * type: string - * title: country_code - * description: The address's country code. - * phone: - * type: string - * title: phone - * description: The address's phone. - * postal_code: - * type: string - * title: postal_code - * description: The address's postal code. - * province: - * type: string - * title: province - * description: The address's province. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/StorePostPaymentCollectionsPaymentSessionReq.ts b/www/utils/generated/oas-output/schemas/StorePostPaymentCollectionsPaymentSessionReq.ts index 1181a27c6c..a53436464a 100644 --- a/www/utils/generated/oas-output/schemas/StorePostPaymentCollectionsPaymentSessionReq.ts +++ b/www/utils/generated/oas-output/schemas/StorePostPaymentCollectionsPaymentSessionReq.ts @@ -108,6 +108,10 @@ * title: email * description: The customer's email. * format: email + * has_account: + * type: boolean + * title: has_account + * description: The customer's has account. * default_billing_address_id: * type: string * title: default_billing_address_id @@ -132,10 +136,7 @@ * type: array * description: The customer's addresses. * items: - * type: object - * description: The address's addresses. - * x-schemaName: CustomerAddress - * properties: {} + * $ref: "#/components/schemas/CustomerAddress" * phone: * type: string * title: phone diff --git a/www/utils/generated/oas-output/schemas/StoreProductCategoryListResponse.ts b/www/utils/generated/oas-output/schemas/StoreProductCategoryListResponse.ts new file mode 100644 index 0000000000..26dc52a02a --- /dev/null +++ b/www/utils/generated/oas-output/schemas/StoreProductCategoryListResponse.ts @@ -0,0 +1,31 @@ +/** + * @schema StoreProductCategoryListResponse + * type: object + * description: SUMMARY + * x-schemaName: StoreProductCategoryListResponse + * required: + * - product_categories + * - limit + * - offset + * - count + * properties: + * product_categories: + * type: array + * description: The product category's product categories. + * items: + * $ref: "#/components/schemas/ProductCategoryResponse" + * limit: + * type: number + * title: limit + * description: The product category's limit. + * offset: + * type: number + * title: offset + * description: The product category's offset. + * count: + * type: number + * title: count + * description: The product category's count. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/StoreProductCategoryResponse.ts b/www/utils/generated/oas-output/schemas/StoreProductCategoryResponse.ts new file mode 100644 index 0000000000..f1ddfc5b1c --- /dev/null +++ b/www/utils/generated/oas-output/schemas/StoreProductCategoryResponse.ts @@ -0,0 +1,13 @@ +/** + * @schema StoreProductCategoryResponse + * type: object + * description: SUMMARY + * x-schemaName: StoreProductCategoryResponse + * required: + * - product_category + * properties: + * product_category: + * $ref: "#/components/schemas/ProductCategoryResponse" + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/UpdateAddress.ts b/www/utils/generated/oas-output/schemas/UpdateAddress.ts new file mode 100644 index 0000000000..40af01f2fc --- /dev/null +++ b/www/utils/generated/oas-output/schemas/UpdateAddress.ts @@ -0,0 +1,63 @@ +/** + * @schema UpdateAddress + * type: object + * description: The cart's shipping address. + * x-schemaName: UpdateAddress + * required: + * - id + * properties: + * id: + * type: string + * title: id + * description: The shipping address's ID. + * customer_id: + * type: string + * title: customer_id + * description: The shipping address's customer id. + * company: + * type: string + * title: company + * description: The shipping address's company. + * first_name: + * type: string + * title: first_name + * description: The shipping address's first name. + * last_name: + * type: string + * title: last_name + * description: The shipping address's last name. + * address_1: + * type: string + * title: address_1 + * description: The shipping address's address 1. + * address_2: + * type: string + * title: address_2 + * description: The shipping address's address 2. + * city: + * type: string + * title: city + * description: The shipping address's city. + * country_code: + * type: string + * title: country_code + * description: The shipping address's country code. + * province: + * type: string + * title: province + * description: The shipping address's province. + * postal_code: + * type: string + * title: postal_code + * description: The shipping address's postal code. + * phone: + * type: string + * title: phone + * description: The shipping address's phone. + * metadata: + * type: object + * description: The shipping address's metadata. + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/UpdateApiKey.ts b/www/utils/generated/oas-output/schemas/UpdateApiKey.ts deleted file mode 100644 index 6b7c583b74..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateApiKey.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @schema UpdateApiKey - * type: object - * description: SUMMARY - * x-schemaName: UpdateApiKey - * properties: - * title: - * type: string - * title: title - * description: The api key's title. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpdateCartData.ts b/www/utils/generated/oas-output/schemas/UpdateCartData.ts index d002b78d08..fb7b92e125 100644 --- a/www/utils/generated/oas-output/schemas/UpdateCartData.ts +++ b/www/utils/generated/oas-output/schemas/UpdateCartData.ts @@ -35,228 +35,12 @@ * description: The cart's billing address id. * billing_address: * oneOf: - * - type: object - * description: The cart's billing address. - * x-schemaName: CreateAddress - * properties: - * customer_id: - * type: string - * title: customer_id - * description: The billing address's customer id. - * company: - * type: string - * title: company - * description: The billing address's company. - * first_name: - * type: string - * title: first_name - * description: The billing address's first name. - * last_name: - * type: string - * title: last_name - * description: The billing address's last name. - * address_1: - * type: string - * title: address_1 - * description: The billing address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The billing address's address 2. - * city: - * type: string - * title: city - * description: The billing address's city. - * country_code: - * type: string - * title: country_code - * description: The billing address's country code. - * province: - * type: string - * title: province - * description: The billing address's province. - * postal_code: - * type: string - * title: postal_code - * description: The billing address's postal code. - * phone: - * type: string - * title: phone - * description: The billing address's phone. - * metadata: - * type: object - * description: The billing address's metadata. - * properties: {} - * - type: object - * description: The cart's billing address. - * x-schemaName: UpdateAddress - * required: - * - id - * properties: - * id: - * type: string - * title: id - * description: The billing address's ID. - * customer_id: - * type: string - * title: customer_id - * description: The billing address's customer id. - * company: - * type: string - * title: company - * description: The billing address's company. - * first_name: - * type: string - * title: first_name - * description: The billing address's first name. - * last_name: - * type: string - * title: last_name - * description: The billing address's last name. - * address_1: - * type: string - * title: address_1 - * description: The billing address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The billing address's address 2. - * city: - * type: string - * title: city - * description: The billing address's city. - * country_code: - * type: string - * title: country_code - * description: The billing address's country code. - * province: - * type: string - * title: province - * description: The billing address's province. - * postal_code: - * type: string - * title: postal_code - * description: The billing address's postal code. - * phone: - * type: string - * title: phone - * description: The billing address's phone. - * metadata: - * type: object - * description: The billing address's metadata. - * properties: {} + * - $ref: "#/components/schemas/CreateAddress" + * - $ref: "#/components/schemas/UpdateAddress" * shipping_address: * oneOf: - * - type: object - * description: The cart's shipping address. - * x-schemaName: CreateAddress - * properties: - * customer_id: - * type: string - * title: customer_id - * description: The shipping address's customer id. - * company: - * type: string - * title: company - * description: The shipping address's company. - * first_name: - * type: string - * title: first_name - * description: The shipping address's first name. - * last_name: - * type: string - * title: last_name - * description: The shipping address's last name. - * address_1: - * type: string - * title: address_1 - * description: The shipping address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The shipping address's address 2. - * city: - * type: string - * title: city - * description: The shipping address's city. - * country_code: - * type: string - * title: country_code - * description: The shipping address's country code. - * province: - * type: string - * title: province - * description: The shipping address's province. - * postal_code: - * type: string - * title: postal_code - * description: The shipping address's postal code. - * phone: - * type: string - * title: phone - * description: The shipping address's phone. - * metadata: - * type: object - * description: The shipping address's metadata. - * properties: {} - * - type: object - * description: The cart's shipping address. - * x-schemaName: UpdateAddress - * required: - * - id - * properties: - * id: - * type: string - * title: id - * description: The shipping address's ID. - * customer_id: - * type: string - * title: customer_id - * description: The shipping address's customer id. - * company: - * type: string - * title: company - * description: The shipping address's company. - * first_name: - * type: string - * title: first_name - * description: The shipping address's first name. - * last_name: - * type: string - * title: last_name - * description: The shipping address's last name. - * address_1: - * type: string - * title: address_1 - * description: The shipping address's address 1. - * address_2: - * type: string - * title: address_2 - * description: The shipping address's address 2. - * city: - * type: string - * title: city - * description: The shipping address's city. - * country_code: - * type: string - * title: country_code - * description: The shipping address's country code. - * province: - * type: string - * title: province - * description: The shipping address's province. - * postal_code: - * type: string - * title: postal_code - * description: The shipping address's postal code. - * phone: - * type: string - * title: phone - * description: The shipping address's phone. - * metadata: - * type: object - * description: The shipping address's metadata. - * properties: {} + * - $ref: "#/components/schemas/CreateAddress" + * - $ref: "#/components/schemas/UpdateAddress" * metadata: * type: object * description: The cart's metadata. diff --git a/www/utils/generated/oas-output/schemas/UpdateProduct.ts b/www/utils/generated/oas-output/schemas/UpdateProduct.ts deleted file mode 100644 index c55f800368..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateProduct.ts +++ /dev/null @@ -1,264 +0,0 @@ -/** - * @schema UpdateProduct - * type: object - * description: SUMMARY - * x-schemaName: UpdateProduct - * properties: - * title: - * type: string - * title: title - * description: The product's title. - * subtitle: - * type: string - * title: subtitle - * description: The product's subtitle. - * description: - * type: string - * title: description - * description: The product's description. - * is_giftcard: - * type: boolean - * title: is_giftcard - * description: The product's is giftcard. - * discountable: - * type: boolean - * title: discountable - * description: The product's discountable. - * images: - * oneOf: - * - type: array - * description: The product's images. - * items: - * type: string - * title: images - * description: The image's images. - * - type: array - * description: The product's images. - * items: - * type: object - * description: The image's images. - * required: - * - url - * properties: - * id: - * type: string - * title: id - * description: The image's ID. - * url: - * type: string - * title: url - * description: The image's url. - * thumbnail: - * type: string - * title: thumbnail - * description: The product's thumbnail. - * handle: - * type: string - * title: handle - * description: The product's handle. - * status: - * type: string - * enum: - * - draft - * - proposed - * - published - * - rejected - * type: - * $ref: "#/components/schemas/CreateProductType" - * type_id: - * type: string - * title: type_id - * description: The product's type id. - * collection_id: - * type: string - * title: collection_id - * description: The product's collection id. - * tags: - * type: array - * description: The product's tags. - * items: - * type: object - * description: The tag's tags. - * x-schemaName: CreateProductTag - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The tag's value. - * categories: - * type: array - * description: The product's categories. - * items: - * type: object - * description: The category's categories. - * required: - * - id - * properties: - * id: - * type: string - * title: id - * description: The category's ID. - * options: - * type: array - * description: The product's options. - * items: - * type: object - * description: The option's options. - * x-schemaName: CreateProductOption - * required: - * - title - * - values - * properties: - * title: - * type: string - * title: title - * description: The option's title. - * values: - * oneOf: - * - type: array - * description: The option's values. - * items: - * type: string - * title: values - * description: The value's values. - * - type: array - * description: The option's values. - * items: - * type: object - * description: The value's values. - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The value's details. - * product_id: - * type: string - * title: product_id - * description: The option's product id. - * variants: - * type: array - * description: The product's variants. - * items: - * type: object - * description: The variant's variants. - * x-schemaName: UpsertProductVariant - * properties: - * id: - * type: string - * title: id - * description: The variant's ID. - * title: - * type: string - * title: title - * description: The variant's title. - * sku: - * type: string - * title: sku - * description: The variant's sku. - * barcode: - * type: string - * title: barcode - * description: The variant's barcode. - * ean: - * type: string - * title: ean - * description: The variant's ean. - * upc: - * type: string - * title: upc - * description: The variant's upc. - * allow_backorder: - * type: boolean - * title: allow_backorder - * description: The variant's allow backorder. - * inventory_quantity: - * type: number - * title: inventory_quantity - * description: The variant's inventory quantity. - * manage_inventory: - * type: boolean - * title: manage_inventory - * description: The variant's manage inventory. - * hs_code: - * type: string - * title: hs_code - * description: The variant's hs code. - * origin_country: - * type: string - * title: origin_country - * description: The variant's origin country. - * mid_code: - * type: string - * title: mid_code - * description: The variant's mid code. - * material: - * type: string - * title: material - * description: The variant's material. - * weight: - * type: number - * title: weight - * description: The variant's weight. - * length: - * type: number - * title: length - * description: The variant's length. - * height: - * type: number - * title: height - * description: The variant's height. - * width: - * type: number - * title: width - * description: The variant's width. - * options: - * type: object - * description: The variant's options. - * properties: {} - * metadata: - * type: object - * description: The variant's metadata. - * properties: {} - * width: - * type: number - * title: width - * description: The product's width. - * height: - * type: number - * title: height - * description: The product's height. - * length: - * type: number - * title: length - * description: The product's length. - * weight: - * type: number - * title: weight - * description: The product's weight. - * origin_country: - * type: string - * title: origin_country - * description: The product's origin country. - * hs_code: - * type: string - * title: hs_code - * description: The product's hs code. - * material: - * type: string - * title: material - * description: The product's material. - * mid_code: - * type: string - * title: mid_code - * description: The product's mid code. - * metadata: - * type: object - * description: The product's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpdateProductCollection.ts b/www/utils/generated/oas-output/schemas/UpdateProductCollection.ts deleted file mode 100644 index 658118940f..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateProductCollection.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @schema UpdateProductCollection - * type: object - * description: SUMMARY - * x-schemaName: UpdateProductCollection - * properties: - * value: - * type: string - * title: value - * description: The collection's value. - * title: - * type: string - * title: title - * description: The collection's title. - * handle: - * type: string - * title: handle - * description: The collection's handle. - * product_ids: - * type: array - * description: The collection's product ids. - * items: - * type: string - * title: product_ids - * description: The product id's product ids. - * metadata: - * type: object - * description: The collection's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpdateProductOption.ts b/www/utils/generated/oas-output/schemas/UpdateProductOption.ts deleted file mode 100644 index ceb007d92d..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateProductOption.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @schema UpdateProductOption - * type: object - * description: SUMMARY - * x-schemaName: UpdateProductOption - * properties: - * title: - * type: string - * title: title - * description: The product's title. - * values: - * oneOf: - * - type: array - * description: The product's values. - * items: - * type: string - * title: values - * description: The value's values. - * - type: array - * description: The product's values. - * items: - * type: object - * description: The value's values. - * required: - * - value - * properties: - * value: - * type: string - * title: value - * description: The value's details. - * product_id: - * type: string - * title: product_id - * description: The product's product id. - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpdateProductVariant.ts b/www/utils/generated/oas-output/schemas/UpdateProductVariant.ts deleted file mode 100644 index e6f917033b..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateProductVariant.ts +++ /dev/null @@ -1,81 +0,0 @@ -/** - * @schema UpdateProductVariant - * type: object - * description: SUMMARY - * x-schemaName: UpdateProductVariant - * properties: - * title: - * type: string - * title: title - * description: The product's title. - * sku: - * type: string - * title: sku - * description: The product's sku. - * barcode: - * type: string - * title: barcode - * description: The product's barcode. - * ean: - * type: string - * title: ean - * description: The product's ean. - * upc: - * type: string - * title: upc - * description: The product's upc. - * allow_backorder: - * type: boolean - * title: allow_backorder - * description: The product's allow backorder. - * inventory_quantity: - * type: number - * title: inventory_quantity - * description: The product's inventory quantity. - * manage_inventory: - * type: boolean - * title: manage_inventory - * description: The product's manage inventory. - * hs_code: - * type: string - * title: hs_code - * description: The product's hs code. - * origin_country: - * type: string - * title: origin_country - * description: The product's origin country. - * mid_code: - * type: string - * title: mid_code - * description: The product's mid code. - * material: - * type: string - * title: material - * description: The product's material. - * weight: - * type: number - * title: weight - * description: The product's weight. - * length: - * type: number - * title: length - * description: The product's length. - * height: - * type: number - * title: height - * description: The product's height. - * width: - * type: number - * title: width - * description: The product's width. - * options: - * type: object - * description: The product's options. - * properties: {} - * metadata: - * type: object - * description: The product's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpdateRegion.ts b/www/utils/generated/oas-output/schemas/UpdateRegion.ts deleted file mode 100644 index 75ed18047e..0000000000 --- a/www/utils/generated/oas-output/schemas/UpdateRegion.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @schema UpdateRegion - * type: object - * description: SUMMARY - * x-schemaName: UpdateRegion - * properties: - * name: - * type: string - * title: name - * description: The region's name. - * currency_code: - * type: string - * title: currency_code - * description: The region's currency code. - * automatic_taxes: - * type: boolean - * title: automatic_taxes - * description: The region's automatic taxes. - * countries: - * type: array - * description: The region's countries. - * items: - * type: string - * title: countries - * description: The country's countries. - * metadata: - * type: object - * description: The region's metadata. - * properties: {} - * -*/ - diff --git a/www/utils/generated/oas-output/schemas/UpsertProductImage.ts b/www/utils/generated/oas-output/schemas/UpsertProductImage.ts new file mode 100644 index 0000000000..7ddc2176ea --- /dev/null +++ b/www/utils/generated/oas-output/schemas/UpsertProductImage.ts @@ -0,0 +1,21 @@ +/** + * @schema UpsertProductImage + * type: object + * description: The image's images. + * x-schemaName: UpsertProductImage + * properties: + * id: + * type: string + * title: id + * description: The image's ID. + * url: + * type: string + * title: url + * description: The image's url. + * metadata: + * type: object + * description: The image's metadata. + * properties: {} + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/UpsertProductTag.ts b/www/utils/generated/oas-output/schemas/UpsertProductTag.ts new file mode 100644 index 0000000000..f726f84ef2 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/UpsertProductTag.ts @@ -0,0 +1,17 @@ +/** + * @schema UpsertProductTag + * type: object + * description: The tag's tags. + * x-schemaName: UpsertProductTag + * properties: + * id: + * type: string + * title: id + * description: The tag's ID. + * value: + * type: string + * title: value + * description: The tag's value. + * +*/ + diff --git a/www/utils/packages/docblock-generator/src/classes/helpers/oas-schema.ts b/www/utils/packages/docblock-generator/src/classes/helpers/oas-schema.ts index 100612bdab..bd5ffbb75e 100644 --- a/www/utils/packages/docblock-generator/src/classes/helpers/oas-schema.ts +++ b/www/utils/packages/docblock-generator/src/classes/helpers/oas-schema.ts @@ -26,6 +26,7 @@ class OasSchemaHelper { private schemas: Map protected schemaRefPrefix = "#/components/schemas/" protected formatter: Formatter + private MAX_LEVEL = 4 /** * The path to the directory holding the base YAML files. */ @@ -48,12 +49,18 @@ class OasSchemaHelper { * Retrieve schema as a reference object and add the schema to the {@link schemas} property. * * @param schema - The schema to convert and add to the schemas property. + * @param level - The current depth level. Used to avoid maximum call stack size exceeded. * @returns The schema as a reference. If the schema doesn't have the x-schemaName property set, * the schema isn't converted and `undefined` is returned. */ schemaToReference( - schema: OpenApiSchema + schema: OpenApiSchema, + level = 0 ): OpenAPIV3.ReferenceObject | undefined { + if (level > this.MAX_LEVEL) { + return + } + if (!schema["x-schemaName"]) { return } @@ -76,7 +83,8 @@ class OasSchemaHelper { !("$ref" in propertySchema.items) ) { propertySchema.items = - this.schemaToReference(propertySchema.items) || propertySchema.items + this.schemaToReference(propertySchema.items, level + 1) || + propertySchema.items } else if ( propertySchema.oneOf || propertySchema.allOf || @@ -91,12 +99,13 @@ class OasSchemaHelper { return } - schemaTarget![index] = this.schemaToReference(item) || item + schemaTarget![index] = + this.schemaToReference(item, level + 1) || item }) } schema.properties![property] = - this.schemaToReference(propertySchema as OpenApiSchema) || + this.schemaToReference(propertySchema as OpenApiSchema, level + 1) || propertySchema }) } diff --git a/www/utils/packages/docblock-generator/src/classes/kinds/oas.ts b/www/utils/packages/docblock-generator/src/classes/kinds/oas.ts index e3ef92eca3..a05523afb7 100644 --- a/www/utils/packages/docblock-generator/src/classes/kinds/oas.ts +++ b/www/utils/packages/docblock-generator/src/classes/kinds/oas.ts @@ -1718,6 +1718,7 @@ class OasKindGenerator extends FunctionKindGenerator { updateSchema({ oldSchema, newSchema, + level = 1, }: { /** * The old schema. @@ -1727,7 +1728,16 @@ class OasKindGenerator extends FunctionKindGenerator { * The new schema. */ newSchema?: OpenApiSchema | OpenAPIV3.ReferenceObject + /** + * The current level in the update schema. Used to avoid + * maximum call stack size exceeded error + */ + level?: number }): OpenApiSchema | undefined { + if (level > this.MAX_LEVEL) { + return + } + const oldSchemaObj = ( oldSchema && "$ref" in oldSchema ? this.oasSchemaHelper.getSchemaByName(oldSchema.$ref)?.schema @@ -1738,6 +1748,7 @@ class OasKindGenerator extends FunctionKindGenerator { ? this.oasSchemaHelper.getSchemaByName(newSchema.$ref)?.schema : newSchema ) as OpenApiSchema | undefined + if (!oldSchemaObj && newSchemaObj) { return newSchemaObj } else if (oldSchemaObj && !newSchemaObj) { @@ -1784,6 +1795,7 @@ class OasKindGenerator extends FunctionKindGenerator { newSchema: newSchemaObj!.properties![ propertyName ] as OpenApiSchema, + level: level + 1, }) || propertySchema } ) @@ -1806,6 +1818,7 @@ class OasKindGenerator extends FunctionKindGenerator { this.updateSchema({ oldSchema: oldSchemaObj.items as OpenApiSchema, newSchema: newSchemaObj!.items as OpenApiSchema, + level: level + 1, }) || oldSchemaObj.items } diff --git a/www/utils/packages/docblock-generator/src/commands/clean-oas.ts b/www/utils/packages/docblock-generator/src/commands/clean-oas.ts index 62062bca31..8009f3dd37 100644 --- a/www/utils/packages/docblock-generator/src/commands/clean-oas.ts +++ b/www/utils/packages/docblock-generator/src/commands/clean-oas.ts @@ -58,6 +58,8 @@ export default async function () { Object.values((schema.oneOf || schema.allOf || schema.anyOf)!).forEach( testAndFindReferenceSchema ) + } else if (schema.type === "array") { + testAndFindReferenceSchema(schema.items) } }