diff --git a/www/apps/api-reference/specs/admin/code_samples/JavaScript/admin_translations_entities/get.js b/www/apps/api-reference/specs/admin/code_samples/JavaScript/admin_translations_entities/get.js new file mode 100644 index 0000000000..994978a75e --- /dev/null +++ b/www/apps/api-reference/specs/admin/code_samples/JavaScript/admin_translations_entities/get.js @@ -0,0 +1,16 @@ +import Medusa from "@medusajs/js-sdk" + +export const sdk = new Medusa({ + baseUrl: import.meta.env.VITE_BACKEND_URL || "/", + debug: import.meta.env.DEV, + auth: { + type: "session", + }, +}) + +sdk.admin.translation.entities({ + type: "product" +}) +.then(({ data, count, offset, limit }) => { + console.log(data) +}) \ No newline at end of file diff --git a/www/apps/api-reference/specs/admin/code_samples/Shell/admin_translations_entities/get.sh b/www/apps/api-reference/specs/admin/code_samples/Shell/admin_translations_entities/get.sh new file mode 100644 index 0000000000..b71bc16bc2 --- /dev/null +++ b/www/apps/api-reference/specs/admin/code_samples/Shell/admin_translations_entities/get.sh @@ -0,0 +1,2 @@ +curl '{backend_url}/admin/translations/entities' \ +-H 'Authorization: Bearer {access_token}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminProduct.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminProduct.yaml index 4410442f35..3b8590fe13 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminProduct.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminProduct.yaml @@ -6,9 +6,9 @@ required: - type - options - images - - length - title - status + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminTranslationEntitiesResponse.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminTranslationEntitiesResponse.yaml new file mode 100644 index 0000000000..8464e76041 --- /dev/null +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminTranslationEntitiesResponse.yaml @@ -0,0 +1,41 @@ +type: object +description: The list of translatable entities. +x-schemaName: AdminTranslationEntitiesResponse +required: + - data + - count + - offset + - limit +properties: + data: + type: array + description: The list of translatable entities. + items: + allOf: + - type: object + description: The entity's data. + required: + - id + - translations + properties: + id: + type: string + title: id + description: The entity's ID. + translations: + type: array + description: The entity's translations. + items: + $ref: ./AdminTranslation.yaml + count: + type: number + title: count + description: The total number of translatable entities. + offset: + type: number + title: offset + description: The number of items skipped before retrieving the returned items. + limit: + type: number + title: limit + description: The maximum number of items returned in the response. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreCart.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreCart.yaml index 0fbe9753c5..aba1b522d5 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreCart.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreCart.yaml @@ -208,3 +208,8 @@ properties: description: The cart's promotions. items: $ref: ./StoreCartPromotion.yaml + completed_at: + type: string + title: completed_at + description: The date the cart was completed. + format: date-time diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml index 25a0713ecc..63c9a5a31b 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml @@ -131,8 +131,8 @@ properties: $ref: ./BaseProductImage.yaml required: - options - - length - title + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/admin/openapi.full.yaml b/www/apps/api-reference/specs/admin/openapi.full.yaml index ff146c79c2..8a39c459bf 100644 --- a/www/apps/api-reference/specs/admin/openapi.full.yaml +++ b/www/apps/api-reference/specs/admin/openapi.full.yaml @@ -903,6 +903,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the API key's update date. @@ -1134,6 +1135,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the API key's deletion date. @@ -1365,6 +1367,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: revoked_at in: query description: Filter by the API key's revoke date. @@ -1596,6 +1599,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: revoked_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -3159,6 +3163,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: q in: query description: The claim's q. @@ -3440,6 +3445,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the claim's update date. @@ -3671,6 +3677,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -3910,6 +3917,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -4029,6 +4037,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -4148,6 +4157,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -4522,6 +4532,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -4641,6 +4652,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -4760,6 +4772,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -5001,6 +5014,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -5120,6 +5134,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -5239,6 +5254,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -5892,6 +5908,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -6011,6 +6028,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -6130,6 +6148,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -6446,6 +6465,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -6565,6 +6585,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -6684,6 +6705,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -6927,6 +6949,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -7046,6 +7069,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -7165,6 +7189,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -7481,6 +7506,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -7600,6 +7626,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -7719,6 +7746,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -7964,6 +7992,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -8083,6 +8112,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -8202,6 +8232,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -8517,6 +8548,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -8636,6 +8668,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -8755,6 +8788,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] @@ -9158,6 +9192,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: q in: query description: Search term to filter the collection's searchable properties by. @@ -9439,6 +9474,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the collection's update date. @@ -9670,6 +9706,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -10748,6 +10785,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter the customer groups by their update date. @@ -10979,6 +11017,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter the customer groups by their deletion date. @@ -11210,6 +11249,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -14550,6 +14590,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a customer's update date. @@ -14781,6 +14822,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter a customer by their deletion date. @@ -15012,6 +15054,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -17600,6 +17643,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the draft order's update date. @@ -17831,6 +17875,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false @@ -19924,6 +19969,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false @@ -20197,6 +20243,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the exchange's update date. @@ -20428,6 +20475,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -25208,6 +25256,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the invite's update date. @@ -25327,6 +25376,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the invite's deletion date. @@ -25446,6 +25496,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -26692,6 +26743,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order change's update date. @@ -26923,6 +26975,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the order change's deletion date. @@ -27154,6 +27207,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false @@ -28497,6 +28551,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order's update date. @@ -28728,6 +28783,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false @@ -29021,6 +29077,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by an order's update date. @@ -29140,6 +29197,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -29929,6 +29987,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order change's update date. @@ -30160,6 +30219,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the order change's deletion date. @@ -30391,6 +30451,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false @@ -32136,6 +32197,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the payment's update date. @@ -32255,6 +32317,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the payment's deletion date. @@ -32374,6 +32437,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -33132,6 +33196,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: starts_at - name: ends_at in: query description: Filter by the price list's end date. @@ -33251,6 +33316,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: ends_at - name: status in: query description: Filter by the price list's status. @@ -33508,6 +33574,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: starts_at - name: ends_at in: query description: Filter by a price list's end date. @@ -33627,6 +33694,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: ends_at - name: status in: query description: Filter by price list statuses. @@ -35042,6 +35110,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -35161,6 +35230,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the category's deletion date. @@ -35280,6 +35350,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -35836,6 +35907,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -36067,6 +36139,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the category's deletion date. @@ -36298,6 +36371,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: limit in: query description: Limit the number of items returned in the list. @@ -36882,6 +36956,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the tag's update date. @@ -37001,6 +37076,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the tag's deletion date. @@ -37120,6 +37196,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -37715,6 +37792,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the type's update date. @@ -37834,6 +37912,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the type's deletion date. @@ -37953,6 +38032,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -38550,6 +38630,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product variant's update date. @@ -38669,6 +38750,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the product variant's deletion date. @@ -38788,6 +38870,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -39242,6 +39325,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a product's update date. @@ -39361,6 +39445,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a product's deletion date. @@ -39480,6 +39565,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -40540,6 +40626,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a product's update date. @@ -40659,6 +40746,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: handle in: query required: false @@ -40828,6 +40916,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: order in: query description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. @@ -42372,6 +42461,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product's update date. @@ -42491,6 +42581,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the product's deletion date. @@ -42610,6 +42701,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -43947,6 +44039,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a promotion's update date. @@ -44066,6 +44159,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a promotion's deletion date. @@ -44185,6 +44279,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -46661,6 +46756,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a region's update date. @@ -46780,6 +46876,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a region's deletion date. @@ -46899,6 +46996,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -47631,6 +47729,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a reservation's update date. @@ -47750,6 +47849,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a reservation's deletion date. @@ -47869,6 +47969,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -47964,46 +48065,44 @@ paths: title: $lte description: Filter by values less than or equal to this parameter. Useful for numbers and dates only. $like: - type: string + type: number title: $like description: Apply a `like` filter. Useful for strings only. $re: - type: string + type: number title: $re description: Apply a regex filter. Useful for strings only. $ilike: - type: string + type: number title: $ilike description: Apply a case-insensitive `like` filter. Useful for strings only. $fulltext: - type: string + type: number title: $fulltext description: Filter to apply on full-text properties. $overlap: type: array description: Filter arrays that have overlapping values with this parameter. items: - type: string - title: $overlap + type: number description: Filter arrays that have overlapping values with this parameter. $contains: type: array description: Filter arrays that contain some of the values of this parameter. items: - type: string - title: $contains + type: number description: Filter arrays that contain some of the values of this parameter. $contained: type: array description: Filter arrays that contain all values of this parameter. items: - type: string - title: $contained + type: number description: Filter arrays that contain all values of this parameter. $exists: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: quantity security: - api_token: [] - cookie_auth: [] @@ -48643,6 +48742,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a return reason's update date. @@ -48762,6 +48862,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a return reason's deletion date. @@ -48881,6 +48982,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -49607,6 +49709,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the return's update date. @@ -49838,6 +49941,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false @@ -50859,6 +50963,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -51128,6 +51233,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] @@ -51961,6 +52067,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -52230,6 +52337,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] @@ -53151,6 +53259,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -53420,6 +53529,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] @@ -54081,6 +54191,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -54350,6 +54461,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] @@ -54616,6 +54728,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a sales channel's update date. @@ -54735,6 +54848,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a sales channel's deletion date. @@ -54854,6 +54968,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: location_id in: query required: false @@ -55620,6 +55735,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping option type's update date. @@ -55739,6 +55855,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping option type's deletion date. @@ -55858,6 +55975,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. @@ -56505,6 +56623,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping option's update date. @@ -56624,6 +56743,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping option's deletion date. @@ -56743,6 +56863,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: stock_location_id in: query required: false @@ -56948,7 +57069,17 @@ paths: '500': $ref: '#/components/responses/500_error' x-workflow: createShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.created + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are created. + deprecated: false + since: 2.12.4 /admin/shipping-options/{id}: get: operationId: GetShippingOptionsId @@ -57101,7 +57232,17 @@ paths: '500': $ref: '#/components/responses/500_error' x-workflow: updateShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.updated + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are updated. + deprecated: false + since: 2.12.4 delete: operationId: DeleteShippingOptionsId summary: Delete a Shipping Option @@ -57163,7 +57304,17 @@ paths: '500': $ref: '#/components/responses/500_error' x-workflow: deleteShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.deleted + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are deleted. + deprecated: false + since: 2.12.4 /admin/shipping-options/{id}/rules/batch: post: operationId: PostShippingOptionsIdRulesBatch @@ -57506,6 +57657,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping profile's update date. @@ -57625,6 +57777,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping profile's deletion date. @@ -57744,6 +57897,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -58370,6 +58524,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a stock location's update date. @@ -58489,6 +58644,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a stock location's deletion date. @@ -58608,6 +58764,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -61238,6 +61395,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a tax rate's update date. @@ -61357,6 +61515,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a tax rate's deletion date. @@ -61476,6 +61635,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false @@ -64217,6 +64377,136 @@ paths: since: 2.12.3 x-since: 2.12.3 x-featureFlag: translation + /admin/translations/entities: + get: + operationId: GetTranslationsEntities + summary: List Translatable Entities + description: Retrieve a list of translatable entities. The entities can be filtered by fields such as `id`. The entities can also be sorted or paginated. + x-authenticated: true + parameters: + - name: type + in: query + description: Filter by a translatable entity type. + required: true + schema: + type: string + title: type + description: Filter by a translatable entity type. + example: product + - name: id + in: query + required: false + schema: + oneOf: + - type: string + title: id + description: Filter by an entity's ID. + - type: array + description: Filter by entity IDs. + items: + type: string + title: id + description: An entity's ID. + - 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. + externalDocs: + url: '#pagination' + - 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. + externalDocs: + url: '#pagination' + - name: order + in: query + description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. + required: false + schema: + type: string + title: order + description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. + externalDocs: + url: '#pagination' + - name: with_deleted + in: query + description: The translation's with deleted. + required: false + schema: + type: boolean + title: with_deleted + description: The translation's with deleted. + - name: fields + in: query + description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. Without prefix it will replace the entire default fields. + required: false + schema: + type: string + title: fields + description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. Without prefix it will replace the entire default fields. + externalDocs: + url: '#select-fields-and-relations' + security: + - api_token: [] + - cookie_auth: [] + - jwt_token: [] + x-codeSamples: + - lang: JavaScript + label: JS SDK + source: |- + import Medusa from "@medusajs/js-sdk" + + export const sdk = new Medusa({ + baseUrl: import.meta.env.VITE_BACKEND_URL || "/", + debug: import.meta.env.DEV, + auth: { + type: "session", + }, + }) + + sdk.admin.translation.entities({ + type: "product" + }) + .then(({ data, count, offset, limit }) => { + console.log(data) + }) + - lang: Shell + label: cURL + source: |- + curl '{backend_url}/admin/translations/entities' \ + -H 'Authorization: Bearer {access_token}' + tags: + - Translations + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/AdminTranslationEntitiesResponse' + '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' + x-since: 2.12.4 + x-featureFlag: translation /admin/translations/settings: get: operationId: GetTranslationsSettings @@ -64912,6 +65202,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a user's update date. @@ -65031,6 +65322,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a user's deletion date. @@ -65150,6 +65442,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -65775,6 +66068,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a view configuration's update date. @@ -65894,6 +66188,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: fields in: query description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. Without prefix it will replace the entire default fields. @@ -67470,9 +67765,17 @@ paths: application/json: schema: type: object - title: identifier - description: The user's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the user's email. - example: admin@medusa-test.com + description: The input data necessary to generate a reset password token. + required: + - identifier + properties: + identifier: + type: string + description: The identifier of the admin user. For example, their email address. + example: admin@medusa-test.com + metadata: + type: object + description: Optional metadata to include with the reset password token generation request. x-codeSamples: - lang: JavaScript label: JS SDK @@ -67531,6 +67834,7 @@ paths: entity_id, // The identifier of the user or customer. For example, an email address. actor_type, // The type of actor. For example, "customer", "user", or custom. token, // The generated token. + metadata, // Optional custom metadata passed from the request. } ``` description: |- @@ -77721,9 +78025,9 @@ components: - type - options - images - - length - title - status + - length - id - created_at - updated_at @@ -81284,6 +81588,48 @@ components: format: date-time title: deleted_at description: The date that the translation was deleted. + AdminTranslationEntitiesResponse: + type: object + description: The list of translatable entities. + x-schemaName: AdminTranslationEntitiesResponse + required: + - data + - count + - offset + - limit + properties: + data: + type: array + description: The list of translatable entities. + items: + allOf: + - type: object + description: The entity's data. + required: + - id + - translations + properties: + id: + type: string + title: id + description: The entity's ID. + translations: + type: array + description: The entity's translations. + items: + $ref: '#/components/schemas/AdminTranslation' + count: + type: number + title: count + description: The total number of translatable entities. + offset: + type: number + title: offset + description: The number of items skipped before retrieving the returned items. + limit: + type: number + title: limit + description: The maximum number of items returned in the response. AdminTranslationSettingsResponse: type: object description: The translation settings' details. @@ -89781,6 +90127,11 @@ components: description: The cart's promotions. items: $ref: '#/components/schemas/StoreCartPromotion' + completed_at: + type: string + title: completed_at + description: The date the cart was completed. + format: date-time StoreCartAddPromotion: type: object description: The promotion's details. @@ -98541,8 +98892,8 @@ components: $ref: '#/components/schemas/BaseProductImage' required: - options - - length - title + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/admin/openapi.yaml b/www/apps/api-reference/specs/admin/openapi.yaml index a656f6d051..a485aa3516 100644 --- a/www/apps/api-reference/specs/admin/openapi.yaml +++ b/www/apps/api-reference/specs/admin/openapi.yaml @@ -1212,6 +1212,8 @@ paths: $ref: paths/admin_translations.yaml /admin/translations/batch: $ref: paths/admin_translations_batch.yaml + /admin/translations/entities: + $ref: paths/admin_translations_entities.yaml /admin/translations/settings: $ref: paths/admin_translations_settings.yaml /admin/translations/statistics: diff --git a/www/apps/api-reference/specs/admin/paths/admin_api-keys.yaml b/www/apps/api-reference/specs/admin/paths/admin_api-keys.yaml index 3364358bab..b8c07867fe 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_api-keys.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_api-keys.yaml @@ -387,6 +387,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the API key's update date. @@ -656,6 +657,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the API key's deletion date. @@ -925,6 +927,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: revoked_at in: query description: Filter by the API key's revoke date. @@ -1194,6 +1197,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: revoked_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims.yaml index 07b856a5a4..9003da773e 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims.yaml @@ -340,6 +340,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: q in: query description: The claim's q. @@ -673,6 +674,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the claim's update date. @@ -956,6 +958,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query description: >- @@ -1219,6 +1222,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -1358,6 +1362,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -1497,6 +1502,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items.yaml index 5c628357cb..43dd808df5 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items.yaml @@ -198,6 +198,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -337,6 +338,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -476,6 +478,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items_{action_id}.yaml index 868e6d2270..1868f5160e 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_claim-items_{action_id}.yaml @@ -208,6 +208,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -347,6 +348,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -486,6 +488,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_inbound_shipping-method_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_inbound_shipping-method_{action_id}.yaml index e2dc8e0577..2718417b6b 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_inbound_shipping-method_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_inbound_shipping-method_{action_id}.yaml @@ -209,6 +209,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -348,6 +349,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -487,6 +489,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items.yaml index a874e3859e..87fe7c4656 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items.yaml @@ -198,6 +198,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -337,6 +338,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -476,6 +478,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items_{action_id}.yaml index ce9536fc7d..e1f052aa7c 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_items_{action_id}.yaml @@ -209,6 +209,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -348,6 +349,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -487,6 +489,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method.yaml index 86b0847c33..c367c60ead 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method.yaml @@ -198,6 +198,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -337,6 +338,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -476,6 +478,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method_{action_id}.yaml index 55ec7bea68..f572a7fdf6 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_outbound_shipping-method_{action_id}.yaml @@ -209,6 +209,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -348,6 +349,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -487,6 +489,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_request.yaml b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_request.yaml index 51cf717308..931ca097e8 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_request.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_claims_{id}_request.yaml @@ -196,6 +196,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a claim's update date. @@ -335,6 +336,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a claim's deletion date. @@ -474,6 +476,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_collections.yaml b/www/apps/api-reference/specs/admin/paths/admin_collections.yaml index 6831416278..c818fa08f9 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_collections.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_collections.yaml @@ -326,6 +326,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: q in: query description: Search term to filter the collection's searchable properties by. @@ -645,6 +646,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the collection's update date. @@ -914,6 +916,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_customer-groups.yaml b/www/apps/api-reference/specs/admin/paths/admin_customer-groups.yaml index a7611ed009..2a4e2f5950 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_customer-groups.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_customer-groups.yaml @@ -395,6 +395,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter the customer groups by their update date. @@ -664,6 +665,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter the customer groups by their deletion date. @@ -933,6 +935,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_customers.yaml b/www/apps/api-reference/specs/admin/paths/admin_customers.yaml index 75fa06731d..f0dc794986 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_customers.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_customers.yaml @@ -3585,6 +3585,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a customer's update date. @@ -3854,6 +3855,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter a customer by their deletion date. @@ -4123,6 +4125,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml b/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml index ed011dcfa2..6219c23fc1 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml @@ -1462,6 +1462,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the draft order's update date. @@ -1731,6 +1732,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_exchanges.yaml b/www/apps/api-reference/specs/admin/paths/admin_exchanges.yaml index 1b75e6644e..e85a2c8c9b 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_exchanges.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_exchanges.yaml @@ -326,6 +326,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false @@ -637,6 +638,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the exchange's update date. @@ -906,6 +908,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. diff --git a/www/apps/api-reference/specs/admin/paths/admin_invites.yaml b/www/apps/api-reference/specs/admin/paths/admin_invites.yaml index acc5d1c76c..dba2cac0a7 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_invites.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_invites.yaml @@ -234,6 +234,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the invite's update date. @@ -373,6 +374,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the invite's deletion date. @@ -512,6 +514,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_order-changes_{id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_order-changes_{id}.yaml index 67f72e2d45..e3070b563e 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_order-changes_{id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_order-changes_{id}.yaml @@ -283,6 +283,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order change's update date. @@ -552,6 +553,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the order change's deletion date. @@ -821,6 +823,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_orders.yaml b/www/apps/api-reference/specs/admin/paths/admin_orders.yaml index 81ac981dfb..af4559cab8 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_orders.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_orders.yaml @@ -418,6 +418,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order's update date. @@ -687,6 +688,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_orders_export.yaml b/www/apps/api-reference/specs/admin/paths/admin_orders_export.yaml index f0dd3b6053..d68dd06750 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_orders_export.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_orders_export.yaml @@ -215,6 +215,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by an order's update date. @@ -354,6 +355,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. diff --git a/www/apps/api-reference/specs/admin/paths/admin_orders_{id}_changes.yaml b/www/apps/api-reference/specs/admin/paths/admin_orders_{id}_changes.yaml index b7f3b2e081..997ada699f 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_orders_{id}_changes.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_orders_{id}_changes.yaml @@ -306,6 +306,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the order change's update date. @@ -575,6 +576,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the order change's deletion date. @@ -844,6 +846,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_payments.yaml b/www/apps/api-reference/specs/admin/paths/admin_payments.yaml index e6ee275926..41dc9f1e1f 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_payments.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_payments.yaml @@ -236,6 +236,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the payment's update date. @@ -375,6 +376,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the payment's deletion date. @@ -514,6 +516,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_price-lists.yaml b/www/apps/api-reference/specs/admin/paths/admin_price-lists.yaml index 8781d61858..991448a782 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_price-lists.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_price-lists.yaml @@ -218,6 +218,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: starts_at - name: ends_at in: query description: Filter by the price list's end date. @@ -357,6 +358,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: ends_at - name: status in: query description: Filter by the price list's status. @@ -636,6 +638,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: starts_at - name: ends_at in: query description: Filter by a price list's end date. @@ -775,6 +778,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: ends_at - name: status in: query description: Filter by price list statuses. diff --git a/www/apps/api-reference/specs/admin/paths/admin_product-categories.yaml b/www/apps/api-reference/specs/admin/paths/admin_product-categories.yaml index d0f2b56e08..2dbb82d692 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_product-categories.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_product-categories.yaml @@ -329,6 +329,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -468,6 +469,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the category's deletion date. @@ -607,6 +609,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_product-categories_{id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_product-categories_{id}.yaml index 92675757a5..e504c4f45c 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_product-categories_{id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_product-categories_{id}.yaml @@ -441,6 +441,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -710,6 +711,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the category's deletion date. @@ -979,6 +981,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: limit in: query description: Limit the number of items returned in the list. diff --git a/www/apps/api-reference/specs/admin/paths/admin_product-tags.yaml b/www/apps/api-reference/specs/admin/paths/admin_product-tags.yaml index 52e300b1a2..f3e2fa1aaf 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_product-tags.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_product-tags.yaml @@ -232,6 +232,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the tag's update date. @@ -371,6 +372,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the tag's deletion date. @@ -510,6 +512,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_product-types.yaml b/www/apps/api-reference/specs/admin/paths/admin_product-types.yaml index 8da31bb3a2..992e8558c5 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_product-types.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_product-types.yaml @@ -232,6 +232,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the type's update date. @@ -371,6 +372,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the type's deletion date. @@ -510,6 +512,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_product-variants.yaml b/www/apps/api-reference/specs/admin/paths/admin_product-variants.yaml index 6de4e8ef28..c5f4e526e5 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_product-variants.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_product-variants.yaml @@ -234,6 +234,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product variant's update date. @@ -373,6 +374,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the product variant's deletion date. @@ -512,6 +514,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_products.yaml b/www/apps/api-reference/specs/admin/paths/admin_products.yaml index b81f6de0ca..63a1354b22 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_products.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_products.yaml @@ -347,6 +347,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a product's update date. @@ -486,6 +487,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a product's deletion date. @@ -625,6 +627,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_products_export.yaml b/www/apps/api-reference/specs/admin/paths/admin_products_export.yaml index 1dcc7af13b..4e87d7c65e 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_products_export.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_products_export.yaml @@ -274,6 +274,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a product's update date. @@ -413,6 +414,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: handle in: query required: false @@ -602,6 +604,7 @@ post: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: order in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_products_{id}_variants.yaml b/www/apps/api-reference/specs/admin/paths/admin_products_{id}_variants.yaml index 88fbeb9937..d55cc3223c 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_products_{id}_variants.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_products_{id}_variants.yaml @@ -241,6 +241,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product's update date. @@ -380,6 +381,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by the product's deletion date. @@ -519,6 +521,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml index c2be50fef6..a80b9ea0b3 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml @@ -255,6 +255,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a promotion's update date. @@ -394,6 +395,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a promotion's deletion date. @@ -533,6 +535,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_regions.yaml b/www/apps/api-reference/specs/admin/paths/admin_regions.yaml index a370021057..20a099d4fd 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_regions.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_regions.yaml @@ -232,6 +232,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a region's update date. @@ -371,6 +372,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a region's deletion date. @@ -510,6 +512,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_reservations.yaml b/www/apps/api-reference/specs/admin/paths/admin_reservations.yaml index 51a9bbaa63..98c2c0f944 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_reservations.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_reservations.yaml @@ -328,6 +328,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a reservation's update date. @@ -467,6 +468,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a reservation's deletion date. @@ -606,6 +608,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -721,46 +724,44 @@ get: Filter by values less than or equal to this parameter. Useful for numbers and dates only. $like: - type: string + type: number title: $like description: Apply a `like` filter. Useful for strings only. $re: - type: string + type: number title: $re description: Apply a regex filter. Useful for strings only. $ilike: - type: string + type: number title: $ilike description: Apply a case-insensitive `like` filter. Useful for strings only. $fulltext: - type: string + type: number title: $fulltext description: Filter to apply on full-text properties. $overlap: type: array description: Filter arrays that have overlapping values with this parameter. items: - type: string - title: $overlap + type: number description: Filter arrays that have overlapping values with this parameter. $contains: type: array description: Filter arrays that contain some of the values of this parameter. items: - type: string - title: $contains + type: number description: Filter arrays that contain some of the values of this parameter. $contained: type: array description: Filter arrays that contain all values of this parameter. items: - type: string - title: $contained + type: number description: Filter arrays that contain all values of this parameter. $exists: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: quantity security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_return-reasons.yaml b/www/apps/api-reference/specs/admin/paths/admin_return-reasons.yaml index 6c72a98743..bc32a114bb 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_return-reasons.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_return-reasons.yaml @@ -284,6 +284,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a return reason's update date. @@ -423,6 +424,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a return reason's deletion date. @@ -562,6 +564,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_returns.yaml b/www/apps/api-reference/specs/admin/paths/admin_returns.yaml index a7f0524224..4746b14d22 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_returns.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_returns.yaml @@ -416,6 +416,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the return's update date. @@ -685,6 +686,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: customer_id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_dismiss-items_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_dismiss-items_{action_id}.yaml index 1cd0a36c61..7962a06d5f 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_dismiss-items_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_dismiss-items_{action_id}.yaml @@ -622,6 +622,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -934,6 +935,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_receive-items_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_receive-items_{action_id}.yaml index 971a3470f2..7aa2f74de9 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_receive-items_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_receive-items_{action_id}.yaml @@ -622,6 +622,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -934,6 +935,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_request-items_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_request-items_{action_id}.yaml index d37310572b..74dae08f65 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_request-items_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_request-items_{action_id}.yaml @@ -621,6 +621,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -933,6 +934,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_shipping-method_{action_id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_shipping-method_{action_id}.yaml index 400e3fe78d..03440ada4d 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_shipping-method_{action_id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_returns_{id}_shipping-method_{action_id}.yaml @@ -621,6 +621,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: limit in: query description: Limit the number of items returned in the list. @@ -933,6 +934,7 @@ delete: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/admin/paths/admin_sales-channels.yaml b/www/apps/api-reference/specs/admin/paths/admin_sales-channels.yaml index c776daf019..75034322f7 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_sales-channels.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_sales-channels.yaml @@ -250,6 +250,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a sales channel's update date. @@ -389,6 +390,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a sales channel's deletion date. @@ -528,6 +530,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: location_id in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_shipping-option-types.yaml b/www/apps/api-reference/specs/admin/paths/admin_shipping-option-types.yaml index ee495c8756..c7d61b2242 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_shipping-option-types.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_shipping-option-types.yaml @@ -263,6 +263,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping option type's update date. @@ -402,6 +403,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping option type's deletion date. @@ -541,6 +543,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/admin_shipping-options.yaml b/www/apps/api-reference/specs/admin/paths/admin_shipping-options.yaml index a23a7baf44..81c230f31b 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_shipping-options.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_shipping-options.yaml @@ -290,6 +290,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping option's update date. @@ -429,6 +430,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping option's deletion date. @@ -568,6 +570,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: stock_location_id in: query required: false @@ -742,4 +745,14 @@ post: '500': $ref: ../components/responses/500_error.yaml x-workflow: createShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.created + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are created. + deprecated: false + since: 2.12.4 diff --git a/www/apps/api-reference/specs/admin/paths/admin_shipping-options_{id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_shipping-options_{id}.yaml index aed6317bea..966e42f4e4 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_shipping-options_{id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_shipping-options_{id}.yaml @@ -136,7 +136,17 @@ post: '500': $ref: ../components/responses/500_error.yaml x-workflow: updateShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.updated + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are updated. + deprecated: false + since: 2.12.4 delete: operationId: DeleteShippingOptionsId summary: Delete a Shipping Option @@ -184,4 +194,14 @@ delete: '500': $ref: ../components/responses/500_error.yaml x-workflow: deleteShippingOptionsWorkflow - x-events: [] + x-events: + - name: shipping-option.deleted + payload: |- + ```ts + { + id, // The ID of the shipping option + } + ``` + description: Emitted when shipping options are deleted. + deprecated: false + since: 2.12.4 diff --git a/www/apps/api-reference/specs/admin/paths/admin_shipping-profiles.yaml b/www/apps/api-reference/specs/admin/paths/admin_shipping-profiles.yaml index 1173ead5b8..9bd7cd1087 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_shipping-profiles.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_shipping-profiles.yaml @@ -235,6 +235,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a shipping profile's update date. @@ -374,6 +375,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a shipping profile's deletion date. @@ -513,6 +515,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_stock-locations.yaml b/www/apps/api-reference/specs/admin/paths/admin_stock-locations.yaml index cc7279c784..365ccbf6b3 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_stock-locations.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_stock-locations.yaml @@ -262,6 +262,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a stock location's update date. @@ -401,6 +402,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a stock location's deletion date. @@ -540,6 +542,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_tax-rates.yaml b/www/apps/api-reference/specs/admin/paths/admin_tax-rates.yaml index 476f964b2b..29256f9487 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_tax-rates.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_tax-rates.yaml @@ -286,6 +286,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a tax rate's update date. @@ -425,6 +426,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a tax rate's deletion date. @@ -564,6 +566,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/admin/paths/admin_translations_entities.yaml b/www/apps/api-reference/specs/admin/paths/admin_translations_entities.yaml new file mode 100644 index 0000000000..1727a94f96 --- /dev/null +++ b/www/apps/api-reference/specs/admin/paths/admin_translations_entities.yaml @@ -0,0 +1,128 @@ +get: + operationId: GetTranslationsEntities + summary: List Translatable Entities + description: >- + Retrieve a list of translatable entities. The entities can be filtered by + fields such as `id`. The entities can also be sorted or paginated. + x-authenticated: true + parameters: + - name: type + in: query + description: Filter by a translatable entity type. + required: true + schema: + type: string + title: type + description: Filter by a translatable entity type. + example: product + - name: id + in: query + required: false + schema: + oneOf: + - type: string + title: id + description: Filter by an entity's ID. + - type: array + description: Filter by entity IDs. + items: + type: string + title: id + description: An entity's ID. + - 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. + externalDocs: + url: '#pagination' + - 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. + externalDocs: + url: '#pagination' + - name: order + in: query + description: >- + The field to sort the data by. By default, the sort order is ascending. + To change the order to descending, prefix the field name with `-`. + required: false + schema: + type: string + title: order + description: >- + The field to sort the data by. By default, the sort order is + ascending. To change the order to descending, prefix the field name + with `-`. + externalDocs: + url: '#pagination' + - name: with_deleted + in: query + description: The translation's with deleted. + required: false + schema: + type: boolean + title: with_deleted + description: The translation's with deleted. + - name: fields + in: query + description: >- + Comma-separated fields that should be included in the returned data. If + a field is prefixed with `+` it will be added to the default fields, + using `-` will remove it from the default fields. Without prefix it will + replace the entire default fields. + required: false + schema: + type: string + title: fields + description: >- + Comma-separated fields that should be included in the returned data. + If a field is prefixed with `+` it will be added to the default + fields, using `-` will remove it from the default fields. Without + prefix it will replace the entire default fields. + externalDocs: + url: '#select-fields-and-relations' + security: + - api_token: [] + - cookie_auth: [] + - jwt_token: [] + x-codeSamples: + - lang: JavaScript + label: JS SDK + source: + $ref: ../code_samples/JavaScript/admin_translations_entities/get.js + - lang: Shell + label: cURL + source: + $ref: ../code_samples/Shell/admin_translations_entities/get.sh + tags: + - Translations + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: ../components/schemas/AdminTranslationEntitiesResponse.yaml + '400': + $ref: ../components/responses/400_error.yaml + '401': + $ref: ../components/responses/unauthorized.yaml + '404': + $ref: ../components/responses/not_found_error.yaml + '409': + $ref: ../components/responses/invalid_state_error.yaml + '422': + $ref: ../components/responses/invalid_request_error.yaml + '500': + $ref: ../components/responses/500_error.yaml + x-since: 2.12.4 + x-featureFlag: translation diff --git a/www/apps/api-reference/specs/admin/paths/admin_users.yaml b/www/apps/api-reference/specs/admin/paths/admin_users.yaml index e4cb0f1c93..0a7ec46619 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_users.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_users.yaml @@ -243,6 +243,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a user's update date. @@ -382,6 +383,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: deleted_at in: query description: Filter by a user's deletion date. @@ -521,6 +523,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: deleted_at - name: with_deleted in: query description: Whether to include deleted records in the result. diff --git a/www/apps/api-reference/specs/admin/paths/admin_views_{entity}_configurations.yaml b/www/apps/api-reference/specs/admin/paths/admin_views_{entity}_configurations.yaml index a06da1fcf7..2f5786719a 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_views_{entity}_configurations.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_views_{entity}_configurations.yaml @@ -259,6 +259,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by a view configuration's update date. @@ -398,6 +399,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: fields in: query description: >- diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml index c67274c5b7..40e582b66e 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml @@ -38,11 +38,21 @@ post: application/json: schema: type: object - title: identifier - description: >- - The user's identifier for the selected auth provider. For example, - for the `emailpass` auth provider, the value is the user's email. - example: admin@medusa-test.com + description: The input data necessary to generate a reset password token. + required: + - identifier + properties: + identifier: + type: string + description: >- + The identifier of the admin user. For example, their email + address. + example: admin@medusa-test.com + metadata: + type: object + description: >- + Optional metadata to include with the reset password token + generation request. x-codeSamples: - lang: JavaScript label: JS SDK @@ -79,6 +89,7 @@ post: entity_id, // The identifier of the user or customer. For example, an email address. actor_type, // The type of actor. For example, "customer", "user", or custom. token, // The generated token. + metadata, // Optional custom metadata passed from the request. } ``` description: >- diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminProduct.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminProduct.yaml index 4410442f35..3b8590fe13 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminProduct.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminProduct.yaml @@ -6,9 +6,9 @@ required: - type - options - images - - length - title - status + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminTranslationEntitiesResponse.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminTranslationEntitiesResponse.yaml new file mode 100644 index 0000000000..8464e76041 --- /dev/null +++ b/www/apps/api-reference/specs/store/components/schemas/AdminTranslationEntitiesResponse.yaml @@ -0,0 +1,41 @@ +type: object +description: The list of translatable entities. +x-schemaName: AdminTranslationEntitiesResponse +required: + - data + - count + - offset + - limit +properties: + data: + type: array + description: The list of translatable entities. + items: + allOf: + - type: object + description: The entity's data. + required: + - id + - translations + properties: + id: + type: string + title: id + description: The entity's ID. + translations: + type: array + description: The entity's translations. + items: + $ref: ./AdminTranslation.yaml + count: + type: number + title: count + description: The total number of translatable entities. + offset: + type: number + title: offset + description: The number of items skipped before retrieving the returned items. + limit: + type: number + title: limit + description: The maximum number of items returned in the response. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreCart.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreCart.yaml index 0fbe9753c5..aba1b522d5 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreCart.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreCart.yaml @@ -208,3 +208,8 @@ properties: description: The cart's promotions. items: $ref: ./StoreCartPromotion.yaml + completed_at: + type: string + title: completed_at + description: The date the cart was completed. + format: date-time diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml index 25a0713ecc..63c9a5a31b 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml @@ -131,8 +131,8 @@ properties: $ref: ./BaseProductImage.yaml required: - options - - length - title + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/store/openapi.full.yaml b/www/apps/api-reference/specs/store/openapi.full.yaml index e7e2a99ca5..3e88dc6d17 100644 --- a/www/apps/api-reference/specs/store/openapi.full.yaml +++ b/www/apps/api-reference/specs/store/openapi.full.yaml @@ -520,9 +520,17 @@ paths: application/json: schema: type: object - title: identifier - description: The customer's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the customer's email. - example: customer@gmail.com + description: The input data necessary to generate a reset password token. + required: + - identifier + properties: + identifier: + type: string + description: The customer's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the customer's email. + example: customer@gmail.com + metadata: + type: object + description: Optional metadata to include with the reset password token generation request. x-codeSamples: - lang: JavaScript label: JS SDK @@ -585,6 +593,7 @@ paths: entity_id, // The identifier of the user or customer. For example, an email address. actor_type, // The type of actor. For example, "customer", "user", or custom. token, // The generated token. + metadata, // Optional custom metadata passed from the request. } ``` description: |- @@ -858,7 +867,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -987,7 +996,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1085,7 +1094,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1230,7 +1239,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1400,7 +1409,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1685,7 +1694,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1843,7 +1852,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -1997,7 +2006,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2132,7 +2141,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2225,7 +2234,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2324,7 +2333,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2547,7 +2556,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2624,7 +2633,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -2917,6 +2926,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the collection's update date. @@ -3148,6 +3158,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: handle in: query required: false @@ -3323,7 +3334,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -3416,7 +3427,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -3572,7 +3583,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -3647,7 +3658,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -3785,7 +3796,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -3885,7 +3896,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4012,7 +4023,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4204,7 +4215,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4333,7 +4344,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4442,7 +4453,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4565,7 +4576,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4830,7 +4841,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -4916,7 +4927,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5154,7 +5165,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5256,7 +5267,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5378,7 +5389,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5494,7 +5505,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5616,7 +5627,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5736,7 +5747,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5862,7 +5873,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -5948,7 +5959,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -6119,7 +6130,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -6478,6 +6489,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -6709,6 +6721,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query required: false @@ -6831,7 +6844,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -6940,7 +6953,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -7280,6 +7293,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the tag's update date. @@ -7511,6 +7525,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -7577,7 +7592,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -7652,7 +7667,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -7992,6 +8007,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the type's update date. @@ -8223,6 +8239,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. @@ -8289,7 +8306,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -8356,7 +8373,7 @@ paths: description: | Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. - You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `Content-Language` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. + You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the products' content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section. x-authenticated: false @@ -8372,7 +8389,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -8774,6 +8791,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product's update date. @@ -9005,6 +9023,7 @@ paths: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: region_id in: query description: The ID of the region the products are being viewed from. This is required if you're retrieving product variant prices with taxes. @@ -9190,7 +9209,7 @@ paths: description: | Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. - You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `Content-Language` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. + You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the product's content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section. x-authenticated: false @@ -9212,7 +9231,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -9347,7 +9366,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -9581,7 +9600,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -9678,7 +9697,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -9821,7 +9840,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -9893,7 +9912,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -10007,7 +10026,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -10174,7 +10193,7 @@ paths: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -20799,9 +20818,9 @@ components: - type - options - images - - length - title - status + - length - id - created_at - updated_at @@ -24362,6 +24381,48 @@ components: format: date-time title: deleted_at description: The date that the translation was deleted. + AdminTranslationEntitiesResponse: + type: object + description: The list of translatable entities. + x-schemaName: AdminTranslationEntitiesResponse + required: + - data + - count + - offset + - limit + properties: + data: + type: array + description: The list of translatable entities. + items: + allOf: + - type: object + description: The entity's data. + required: + - id + - translations + properties: + id: + type: string + title: id + description: The entity's ID. + translations: + type: array + description: The entity's translations. + items: + $ref: '#/components/schemas/AdminTranslation' + count: + type: number + title: count + description: The total number of translatable entities. + offset: + type: number + title: offset + description: The number of items skipped before retrieving the returned items. + limit: + type: number + title: limit + description: The maximum number of items returned in the response. AdminTranslationSettingsResponse: type: object description: The translation settings' details. @@ -32859,6 +32920,11 @@ components: description: The cart's promotions. items: $ref: '#/components/schemas/StoreCartPromotion' + completed_at: + type: string + title: completed_at + description: The date the cart was completed. + format: date-time StoreCartAddPromotion: type: object description: The promotion's details. @@ -41619,8 +41685,8 @@ components: $ref: '#/components/schemas/BaseProductImage' required: - options - - length - title + - length - id - created_at - updated_at diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml index efe02b557f..dfa8b096bb 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml @@ -37,12 +37,22 @@ post: application/json: schema: type: object - title: identifier - description: >- - The customer's identifier for the selected auth provider. For - example, for the `emailpass` auth provider, the value is the - customer's email. - example: customer@gmail.com + description: The input data necessary to generate a reset password token. + required: + - identifier + properties: + identifier: + type: string + description: >- + The customer's identifier for the selected auth provider. For + example, for the `emailpass` auth provider, the value is the + customer's email. + example: customer@gmail.com + metadata: + type: object + description: >- + Optional metadata to include with the reset password token + generation request. x-codeSamples: - lang: JavaScript label: JS SDK @@ -80,6 +90,7 @@ post: entity_id, // The identifier of the user or customer. For example, an email address. actor_type, // The type of actor. For example, "customer", "user", or custom. token, // The generated token. + metadata, // Optional custom metadata passed from the request. } ``` description: >- diff --git a/www/apps/api-reference/specs/store/paths/store_carts.yaml b/www/apps/api-reference/specs/store/paths/store_carts.yaml index c5d6def290..560dbd4a48 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts.yaml @@ -12,7 +12,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}.yaml index 747e9beeaf..c7314d7fd4 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -116,7 +116,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml index 0f46ee1318..b51941b895 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml @@ -22,7 +22,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_customer.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_customer.yaml index faa3edb497..53a89d1aac 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_customer.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_customer.yaml @@ -26,7 +26,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml index e41fdee510..91b07fc9e7 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml @@ -23,7 +23,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml index a57f7d72eb..90c7e3bf80 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml @@ -29,7 +29,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -169,7 +169,7 @@ delete: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml index 12218472bb..537ab01ac1 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml @@ -23,7 +23,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -120,7 +120,7 @@ delete: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml index 20e53e60e8..06dc34f0a6 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml @@ -25,7 +25,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_taxes.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_taxes.yaml index ec81d6379c..d08e6c2b62 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_taxes.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_taxes.yaml @@ -19,7 +19,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_collections.yaml b/www/apps/api-reference/specs/store/paths/store_collections.yaml index 6177f5a350..3c0b6c2d88 100644 --- a/www/apps/api-reference/specs/store/paths/store_collections.yaml +++ b/www/apps/api-reference/specs/store/paths/store_collections.yaml @@ -18,7 +18,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -363,6 +363,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the collection's update date. @@ -632,6 +633,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: handle in: query required: false diff --git a/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml index d30136fc24..76db3bd2cf 100644 --- a/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml @@ -24,7 +24,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_currencies.yaml b/www/apps/api-reference/specs/store/paths/store_currencies.yaml index 6d93c6d76b..7430cd8cc3 100644 --- a/www/apps/api-reference/specs/store/paths/store_currencies.yaml +++ b/www/apps/api-reference/specs/store/paths/store_currencies.yaml @@ -14,7 +14,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_currencies_{code}.yaml b/www/apps/api-reference/specs/store/paths/store_currencies_{code}.yaml index ff32f70375..e000d750f4 100644 --- a/www/apps/api-reference/specs/store/paths/store_currencies_{code}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_currencies_{code}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_customers.yaml b/www/apps/api-reference/specs/store/paths/store_customers.yaml index 6cc035e7ac..fe3f247512 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers.yaml @@ -19,7 +19,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me.yaml index ea9ad54c9a..781fbb565b 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me.yaml @@ -19,7 +19,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -118,7 +118,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml index c2e37baec5..ab480f56d1 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -203,7 +203,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml index 62fd93d8af..6ffad72af2 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml @@ -21,7 +21,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -128,7 +128,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -243,7 +243,7 @@ delete: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_locales.yaml b/www/apps/api-reference/specs/store/paths/store_locales.yaml index 42e34fd278..70da603c50 100644 --- a/www/apps/api-reference/specs/store/paths/store_locales.yaml +++ b/www/apps/api-reference/specs/store/paths/store_locales.yaml @@ -17,7 +17,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders.yaml b/www/apps/api-reference/specs/store/paths/store_orders.yaml index 18cd495bfa..194fbd4262 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders.yaml @@ -15,7 +15,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_orders_{id}.yaml index c2a3f1ef28..1f28b4b3ea 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_accept.yaml b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_accept.yaml index fc213da30a..c70f9c3d8a 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_accept.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_accept.yaml @@ -26,7 +26,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_cancel.yaml b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_cancel.yaml index 5af96b2200..d76b85f271 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_cancel.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_cancel.yaml @@ -23,7 +23,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_decline.yaml b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_decline.yaml index 7b1b2c5f97..cbde0ce0a6 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_decline.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_decline.yaml @@ -22,7 +22,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_request.yaml b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_request.yaml index 68d2f0d947..85dba0521f 100644 --- a/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_request.yaml +++ b/www/apps/api-reference/specs/store/paths/store_orders_{id}_transfer_request.yaml @@ -23,7 +23,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml b/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml index ecbdaace26..e14bb63ebf 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml @@ -18,7 +18,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml b/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml index 428069db61..fb2bd5170f 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml @@ -43,7 +43,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml b/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml index 34b0f28f3c..eb672f563c 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml @@ -18,7 +18,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_product-categories.yaml b/www/apps/api-reference/specs/store/paths/store_product-categories.yaml index 35ea036f35..68a20945fd 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-categories.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-categories.yaml @@ -19,7 +19,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -460,6 +460,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the category's update date. @@ -729,6 +730,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: $and in: query required: false diff --git a/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml index fb1cc2c630..8790c76ff9 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml @@ -24,7 +24,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_product-tags.yaml b/www/apps/api-reference/specs/store/paths/store_product-tags.yaml index 7c622614a3..dc75a8394d 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-tags.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-tags.yaml @@ -14,7 +14,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -413,6 +413,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the tag's update date. @@ -682,6 +683,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. diff --git a/www/apps/api-reference/specs/store/paths/store_product-tags_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_product-tags_{id}.yaml index d1b8d6d71f..e9d3d05858 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-tags_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-tags_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_product-types.yaml b/www/apps/api-reference/specs/store/paths/store_product-types.yaml index 4d3d032247..814bd7778e 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-types.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-types.yaml @@ -14,7 +14,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -410,6 +410,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the type's update date. @@ -679,6 +680,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: with_deleted in: query description: Whether to include deleted records in the result. diff --git a/www/apps/api-reference/specs/store/paths/store_product-types_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_product-types_{id}.yaml index 06c72d1c78..c6acf04d0e 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-types_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-types_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_products.yaml b/www/apps/api-reference/specs/store/paths/store_products.yaml index 9f159d5d79..1bcbe6582b 100644 --- a/www/apps/api-reference/specs/store/paths/store_products.yaml +++ b/www/apps/api-reference/specs/store/paths/store_products.yaml @@ -8,9 +8,9 @@ get: You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the - `Content-Language` header to the desired locale code in BCP 47 format. If - you don't pass a locale, and your store has a default locale, the default - locale will be used. + `x-medusa-locale` header to the desired locale code in BCP 47 format. If you + don't pass a locale, and your store has a default locale, the default locale + will be used. With localization, the products' content like title and description will be @@ -30,7 +30,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false @@ -493,6 +493,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: created_at - name: updated_at in: query description: Filter by the product's update date. @@ -762,6 +763,7 @@ get: type: boolean title: $exists description: Filter by whether a value for this parameter exists (not `null`). + title: updated_at - name: region_id in: query description: >- diff --git a/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml index 1957f16c3c..1651869fa2 100644 --- a/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml @@ -8,9 +8,9 @@ get: You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the - `Content-Language` header to the desired locale code in BCP 47 format. If - you don't pass a locale, and your store has a default locale, the default - locale will be used. + `x-medusa-locale` header to the desired locale code in BCP 47 format. If you + don't pass a locale, and your store has a default locale, the default locale + will be used. With localization, the product's content like title and description will be @@ -36,7 +36,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_regions.yaml b/www/apps/api-reference/specs/store/paths/store_regions.yaml index 68b13114ec..b451c9c0ba 100644 --- a/www/apps/api-reference/specs/store/paths/store_regions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_regions.yaml @@ -17,7 +17,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_regions_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_regions_{id}.yaml index 32fa2e8dcb..78b7a79858 100644 --- a/www/apps/api-reference/specs/store/paths/store_regions_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_regions_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_return-reasons.yaml b/www/apps/api-reference/specs/store/paths/store_return-reasons.yaml index 93439b413e..2679f3ca90 100644 --- a/www/apps/api-reference/specs/store/paths/store_return-reasons.yaml +++ b/www/apps/api-reference/specs/store/paths/store_return-reasons.yaml @@ -14,7 +14,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_return-reasons_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_return-reasons_{id}.yaml index 13b565c5a6..1192d1fff2 100644 --- a/www/apps/api-reference/specs/store/paths/store_return-reasons_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_return-reasons_{id}.yaml @@ -20,7 +20,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_returns.yaml b/www/apps/api-reference/specs/store/paths/store_returns.yaml index 7aefcc7c15..8878382c36 100644 --- a/www/apps/api-reference/specs/store/paths/store_returns.yaml +++ b/www/apps/api-reference/specs/store/paths/store_returns.yaml @@ -14,7 +14,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml b/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml index 29c0fd11b1..1afae15eba 100644 --- a/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml +++ b/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml @@ -21,7 +21,7 @@ get: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/apps/api-reference/specs/store/paths/store_shipping-options_{id}_calculate.yaml b/www/apps/api-reference/specs/store/paths/store_shipping-options_{id}_calculate.yaml index 0bf296d52c..23c35502d6 100644 --- a/www/apps/api-reference/specs/store/paths/store_shipping-options_{id}_calculate.yaml +++ b/www/apps/api-reference/specs/store/paths/store_shipping-options_{id}_calculate.yaml @@ -18,7 +18,7 @@ post: type: string externalDocs: url: https://docs.medusajs.com/api/store#publishable-api-key - - name: Content-Language + - name: x-medusa-locale in: header description: The locale in BCP 47 format to retrieve localized content. required: false diff --git a/www/utils/generated/events-output.json b/www/utils/generated/events-output.json index 6e6dca666b..ef34b2491c 100644 --- a/www/utils/generated/events-output.json +++ b/www/utils/generated/events-output.json @@ -294,7 +294,7 @@ "name": "auth.password_reset", "parentName": "AuthWorkflowEvents", "propertyName": "PASSWORD_RESET", - "payload": "```ts\n{\n entity_id, // The identifier of the user or customer. For example, an email address.\n actor_type, // The type of actor. For example, \"customer\", \"user\", or custom.\n token, // The generated token.\n}\n```", + "payload": "```ts\n{\n entity_id, // The identifier of the user or customer. For example, an email address.\n actor_type, // The type of actor. For example, \"customer\", \"user\", or custom.\n token, // The generated token.\n metadata, // Optional custom metadata passed from the request.\n}\n```", "description": "Emitted when a reset password token is generated. You can listen to this event\nto send a reset password email to the user or customer, for example.", "workflows": [ "generateResetPasswordTokenWorkflow" @@ -712,6 +712,42 @@ "since": "2.10.0", "deprecated": false }, + { + "name": "shipping-option.created", + "parentName": "ShippingOptionWorkflowEvents", + "propertyName": "CREATED", + "payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", + "description": "Emitted when shipping options are created.", + "workflows": [ + "createShippingOptionsWorkflow" + ], + "since": "2.12.4", + "deprecated": false + }, + { + "name": "shipping-option.updated", + "parentName": "ShippingOptionWorkflowEvents", + "propertyName": "UPDATED", + "payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", + "description": "Emitted when shipping options are updated.", + "workflows": [ + "updateShippingOptionsWorkflow" + ], + "since": "2.12.4", + "deprecated": false + }, + { + "name": "shipping-option.deleted", + "parentName": "ShippingOptionWorkflowEvents", + "propertyName": "DELETED", + "payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", + "description": "Emitted when shipping options are deleted.", + "workflows": [ + "deleteShippingOptionsWorkflow" + ], + "since": "2.12.4", + "deprecated": false + }, { "name": "payment.captured", "parentName": "PaymentEvents", diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_dismiss-items_[action_id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_dismiss-items_[action_id].ts index 234ae64476..cd78921c28 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_dismiss-items_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_dismiss-items_[action_id].ts @@ -437,6 +437,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: limit * in: query * description: Limit the number of items returned in the list. @@ -706,6 +707,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_receive-items_[action_id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_receive-items_[action_id].ts index 623e677887..004f9edde7 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_receive-items_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_receive-items_[action_id].ts @@ -437,6 +437,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: limit * in: query * description: Limit the number of items returned in the list. @@ -706,6 +707,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_request-items_[action_id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_request-items_[action_id].ts index 11d3e7e244..3322ba0d0e 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_request-items_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_request-items_[action_id].ts @@ -437,6 +437,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: limit * in: query * description: Limit the number of items returned in the list. @@ -706,6 +707,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_shipping-method_[action_id].ts b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_shipping-method_[action_id].ts index 2ec8dcbf68..5fb326326e 100644 --- a/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_shipping-method_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/delete_admin_returns_[id]_shipping-method_[action_id].ts @@ -437,6 +437,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: limit * in: query * description: Limit the number of items returned in the list. @@ -706,6 +707,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * security: * - api_token: [] * - cookie_auth: [] 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 d12f755b92..d0afeb36bc 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 @@ -60,7 +60,17 @@ * "500": * $ref: "#/components/responses/500_error" * x-workflow: deleteShippingOptionsWorkflow - * x-events: [] + * x-events: + * - name: shipping-option.deleted + * payload: |- + * ```ts + * { + * id, // The ID of the shipping option + * } + * ``` + * description: Emitted when shipping options are deleted. + * deprecated: false + * since: 2.12.4 * */ diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_api-keys.ts b/www/utils/generated/oas-output/operations/admin/get_admin_api-keys.ts index 19e384e0ab..46acce6f07 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_api-keys.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_api-keys.ts @@ -337,6 +337,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the API key's update date. @@ -568,6 +569,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the API key's deletion date. @@ -799,6 +801,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: revoked_at * in: query * description: Filter by the API key's revoke date. @@ -1030,6 +1033,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: revoked_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_claims.ts b/www/utils/generated/oas-output/operations/admin/get_admin_claims.ts index 5a290fdda7..deb2f9ec1b 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_claims.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_claims.ts @@ -276,6 +276,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: q * in: query * description: The claim's q. @@ -557,6 +558,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the claim's update date. @@ -788,6 +790,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_collections.ts b/www/utils/generated/oas-output/operations/admin/get_admin_collections.ts index 013c3cace1..f26b608934 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_collections.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_collections.ts @@ -276,6 +276,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: q * in: query * description: Search term to filter the collection's searchable properties by. @@ -557,6 +558,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the collection's update date. @@ -788,6 +790,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_customer-groups.ts b/www/utils/generated/oas-output/operations/admin/get_admin_customer-groups.ts index 60d497fa9a..93a72e03e9 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_customer-groups.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_customer-groups.ts @@ -341,6 +341,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter the customer groups by their update date. @@ -572,6 +573,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter the customer groups by their deletion date. @@ -803,6 +805,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. 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 edd5a39391..a69efa02a2 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 @@ -2841,6 +2841,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a customer's update date. @@ -3072,6 +3073,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter a customer by their deletion date. @@ -3303,6 +3305,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. 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 6e510f69ed..53e14d3bd6 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 @@ -1176,6 +1176,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the draft order's update date. @@ -1407,6 +1408,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: customer_id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_exchanges.ts b/www/utils/generated/oas-output/operations/admin/get_admin_exchanges.ts index ff4bf0d487..f5dc466270 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_exchanges.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_exchanges.ts @@ -276,6 +276,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: id * in: query * required: false @@ -549,6 +550,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the exchange's update date. @@ -780,6 +782,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: with_deleted * in: query * description: Whether to include deleted records in the result. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_invites.ts b/www/utils/generated/oas-output/operations/admin/get_admin_invites.ts index 9cd4478d97..d48f5a69ee 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_invites.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_invites.ts @@ -202,6 +202,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the invite's update date. @@ -321,6 +322,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the invite's deletion date. @@ -440,6 +442,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false 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 cedb4bdc4a..9501239b7e 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 @@ -358,6 +358,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the order's update date. @@ -589,6 +590,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: customer_id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id]_changes.ts b/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id]_changes.ts index 438b6da8ee..4bc1ecf925 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id]_changes.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_orders_[id]_changes.ts @@ -260,6 +260,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the order change's update date. @@ -491,6 +492,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the order change's deletion date. @@ -722,6 +724,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_payments.ts b/www/utils/generated/oas-output/operations/admin/get_admin_payments.ts index 9b6a42a7cc..affa9ded3d 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_payments.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_payments.ts @@ -200,6 +200,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the payment's update date. @@ -319,6 +320,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the payment's deletion date. @@ -438,6 +440,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_price-lists.ts b/www/utils/generated/oas-output/operations/admin/get_admin_price-lists.ts index 45b009d246..29c47d5840 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_price-lists.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_price-lists.ts @@ -186,6 +186,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: starts_at * - name: ends_at * in: query * description: Filter by the price list's end date. @@ -305,6 +306,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: ends_at * - name: status * in: query * description: Filter by the price list's status. 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 ac127fc176..b7aca940c7 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 @@ -270,6 +270,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the category's update date. @@ -389,6 +390,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the category's deletion date. @@ -508,6 +510,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false 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 96522c119e..4112e0edd0 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 @@ -372,6 +372,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the category's update date. @@ -603,6 +604,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the category's deletion date. @@ -834,6 +836,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: limit * in: query * description: Limit the number of items returned in the list. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-tags.ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-tags.ts index ce33284a72..35c8ff49a6 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-tags.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-tags.ts @@ -200,6 +200,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the tag's update date. @@ -319,6 +320,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the tag's deletion date. @@ -438,6 +440,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false 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 3307a13f76..741b4222a3 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 @@ -200,6 +200,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the type's update date. @@ -319,6 +320,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the type's deletion date. @@ -438,6 +440,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_product-variants.ts b/www/utils/generated/oas-output/operations/admin/get_admin_product-variants.ts index 43924abb07..2015b4a903 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_product-variants.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_product-variants.ts @@ -202,6 +202,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the product variant's update date. @@ -321,6 +322,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the product variant's deletion date. @@ -440,6 +442,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. 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 33f1be0a75..501412244c 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 @@ -307,6 +307,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a product's update date. @@ -426,6 +427,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a product's deletion date. @@ -545,6 +547,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_products_[id]_variants.ts b/www/utils/generated/oas-output/operations/admin/get_admin_products_[id]_variants.ts index 77bbd4119d..4a87938ff1 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_products_[id]_variants.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_products_[id]_variants.ts @@ -209,6 +209,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the product's update date. @@ -328,6 +329,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the product's deletion date. @@ -447,6 +449,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts index 5acc770a18..d4a1e6bca3 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts @@ -219,6 +219,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a promotion's update date. @@ -338,6 +339,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a promotion's deletion date. @@ -457,6 +459,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_regions.ts b/www/utils/generated/oas-output/operations/admin/get_admin_regions.ts index 99893f92c3..0a8efc73eb 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_regions.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_regions.ts @@ -200,6 +200,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a region's update date. @@ -319,6 +320,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a region's deletion date. @@ -438,6 +440,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false 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 9d93389fd2..453ecc4ea0 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 @@ -273,6 +273,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a reservation's update date. @@ -392,6 +393,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a reservation's deletion date. @@ -511,6 +513,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: with_deleted * in: query * description: Whether to include deleted records in the result. @@ -606,46 +609,44 @@ * title: $lte * description: Filter by values less than or equal to this parameter. Useful for numbers and dates only. * $like: - * type: string + * type: number * title: $like * description: Apply a `like` filter. Useful for strings only. * $re: - * type: string + * type: number * title: $re * description: Apply a regex filter. Useful for strings only. * $ilike: - * type: string + * type: number * title: $ilike * description: Apply a case-insensitive `like` filter. Useful for strings only. * $fulltext: - * type: string + * type: number * title: $fulltext * description: Filter to apply on full-text properties. * $overlap: * type: array * description: Filter arrays that have overlapping values with this parameter. * items: - * type: string - * title: $overlap + * type: number * description: Filter arrays that have overlapping values with this parameter. * $contains: * type: array * description: Filter arrays that contain some of the values of this parameter. * items: - * type: string - * title: $contains + * type: number * description: Filter arrays that contain some of the values of this parameter. * $contained: * type: array * description: Filter arrays that contain all values of this parameter. * items: - * type: string - * title: $contained + * type: number * description: Filter arrays that contain all values of this parameter. * $exists: * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: quantity * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_return-reasons.ts b/www/utils/generated/oas-output/operations/admin/get_admin_return-reasons.ts index 2ec7bc6362..09865efbac 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_return-reasons.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_return-reasons.ts @@ -242,6 +242,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a return reason's update date. @@ -361,6 +362,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a return reason's deletion date. @@ -480,6 +482,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_returns.ts b/www/utils/generated/oas-output/operations/admin/get_admin_returns.ts index d5a3b57b8f..cdc369ba86 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_returns.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_returns.ts @@ -358,6 +358,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the return's update date. @@ -589,6 +590,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: customer_id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_sales-channels.ts b/www/utils/generated/oas-output/operations/admin/get_admin_sales-channels.ts index cc4350a648..c61aa6ba82 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_sales-channels.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_sales-channels.ts @@ -216,6 +216,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a sales channel's update date. @@ -335,6 +336,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a sales channel's deletion date. @@ -454,6 +456,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: location_id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-option-types.ts b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-option-types.ts index dd14fcc928..8dcb4251b1 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_shipping-option-types.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_shipping-option-types.ts @@ -226,6 +226,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a shipping option type's update date. @@ -345,6 +346,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a shipping option type's deletion date. @@ -464,6 +466,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. 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 69f052879b..1323486726 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 @@ -242,6 +242,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a shipping option's update date. @@ -361,6 +362,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a shipping option's deletion date. @@ -480,6 +482,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: stock_location_id * in: query * required: false 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 893f3e14cf..b115909dc4 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 @@ -202,6 +202,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a shipping profile's update date. @@ -321,6 +322,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a shipping profile's deletion date. @@ -440,6 +442,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false 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 0af8500b95..7acd0966b0 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 @@ -228,6 +228,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a stock location's update date. @@ -347,6 +348,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a stock location's deletion date. @@ -466,6 +468,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_tax-rates.ts b/www/utils/generated/oas-output/operations/admin/get_admin_tax-rates.ts index d2fe7961df..62b0c4cb84 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_tax-rates.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_tax-rates.ts @@ -240,6 +240,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a tax rate's update date. @@ -359,6 +360,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a tax rate's deletion date. @@ -478,6 +480,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: $and * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_translations_entities.ts b/www/utils/generated/oas-output/operations/admin/get_admin_translations_entities.ts new file mode 100644 index 0000000000..e26dbdd8f1 --- /dev/null +++ b/www/utils/generated/oas-output/operations/admin/get_admin_translations_entities.ts @@ -0,0 +1,135 @@ +/** + * @oas [get] /admin/translations/entities + * operationId: GetTranslationsEntities + * summary: List Translatable Entities + * description: Retrieve a list of translatable entities. The entities can be filtered by fields such as `id`. The entities can also be sorted or paginated. + * x-authenticated: true + * parameters: + * - name: type + * in: query + * description: Filter by a translatable entity type. + * required: true + * schema: + * type: string + * title: type + * description: Filter by a translatable entity type. + * example: product + * - name: id + * in: query + * required: false + * schema: + * oneOf: + * - type: string + * title: id + * description: Filter by an entity's ID. + * - type: array + * description: Filter by entity IDs. + * items: + * type: string + * title: id + * description: An entity's ID. + * - 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. + * externalDocs: + * url: "#pagination" + * - 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. + * externalDocs: + * url: "#pagination" + * - name: order + * in: query + * description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. + * required: false + * schema: + * type: string + * title: order + * description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. + * externalDocs: + * url: "#pagination" + * - name: with_deleted + * in: query + * description: The translation's with deleted. + * required: false + * schema: + * type: boolean + * title: with_deleted + * description: The translation's with deleted. + * - name: fields + * in: query + * description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default + * fields. Without prefix it will replace the entire default fields. + * required: false + * schema: + * type: string + * title: fields + * description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default + * fields. Without prefix it will replace the entire default fields. + * externalDocs: + * url: "#select-fields-and-relations" + * security: + * - api_token: [] + * - cookie_auth: [] + * - jwt_token: [] + * x-codeSamples: + * - lang: JavaScript + * label: JS SDK + * source: |- + * import Medusa from "@medusajs/js-sdk" + * + * export const sdk = new Medusa({ + * baseUrl: import.meta.env.VITE_BACKEND_URL || "/", + * debug: import.meta.env.DEV, + * auth: { + * type: "session", + * }, + * }) + * + * sdk.admin.translation.entities({ + * type: "product" + * }) + * .then(({ data, count, offset, limit }) => { + * console.log(data) + * }) + * - lang: Shell + * label: cURL + * source: |- + * curl '{backend_url}/admin/translations/entities' \ + * -H 'Authorization: Bearer {access_token}' + * tags: + * - Translations + * responses: + * "200": + * description: OK + * content: + * application/json: + * schema: + * $ref: "#/components/schemas/AdminTranslationEntitiesResponse" + * "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" + * x-since: 2.12.4 + * x-featureFlag: translation + * +*/ + diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_users.ts b/www/utils/generated/oas-output/operations/admin/get_admin_users.ts index b93c4883e4..e77e1f7880 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_users.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_users.ts @@ -211,6 +211,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a user's update date. @@ -330,6 +331,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a user's deletion date. @@ -449,6 +451,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: with_deleted * in: query * description: Whether to include deleted records in the result. diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_views_[entity]_configurations.ts b/www/utils/generated/oas-output/operations/admin/get_admin_views_[entity]_configurations.ts index 9532254635..8b3fe33f5f 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_views_[entity]_configurations.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_views_[entity]_configurations.ts @@ -233,6 +233,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a view configuration's update date. @@ -352,6 +353,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: fields * in: query * description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims.ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims.ts index 3075eabe87..04cdd22ecb 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims.ts @@ -164,6 +164,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -283,6 +284,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -402,6 +404,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items.ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items.ts index 1e2c827021..c9bcc61541 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items.ts @@ -171,6 +171,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -290,6 +291,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -409,6 +411,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items_[action_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items_[action_id].ts index b85963793b..964c0f23c1 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_claim-items_[action_id].ts @@ -179,6 +179,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -298,6 +299,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -417,6 +419,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_inbound_shipping-method_[action_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_inbound_shipping-method_[action_id].ts index 7d02df0b8a..383d468d27 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_inbound_shipping-method_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_inbound_shipping-method_[action_id].ts @@ -180,6 +180,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -299,6 +300,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -418,6 +420,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items.ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items.ts index 9688673c9d..c9322152f7 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items.ts @@ -172,6 +172,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -291,6 +292,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -410,6 +412,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items_[action_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items_[action_id].ts index 4503a8d88b..ca26a75eee 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_items_[action_id].ts @@ -180,6 +180,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -299,6 +300,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -418,6 +420,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method.ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method.ts index 195ebe00e1..8bc4344311 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method.ts @@ -172,6 +172,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -291,6 +292,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -410,6 +412,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method_[action_id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method_[action_id].ts index 55d4ed2702..675ef5f2e6 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method_[action_id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_outbound_shipping-method_[action_id].ts @@ -180,6 +180,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -299,6 +300,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -418,6 +420,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_request.ts b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_request.ts index e5493dbe1f..b8419639a5 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_request.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_claims_[id]_request.ts @@ -171,6 +171,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a claim's update date. @@ -290,6 +291,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by a claim's deletion date. @@ -409,6 +411,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_order-changes_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_order-changes_[id].ts index d488458284..04f5df2a5c 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_order-changes_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_order-changes_[id].ts @@ -243,6 +243,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the order change's update date. @@ -474,6 +475,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: deleted_at * in: query * description: Filter by the order change's deletion date. @@ -705,6 +707,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: id * in: query * required: false diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_orders_export.ts b/www/utils/generated/oas-output/operations/admin/post_admin_orders_export.ts index db0ac7004d..4e04773275 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_orders_export.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_orders_export.ts @@ -192,6 +192,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by an order's update date. @@ -311,6 +312,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: limit * in: query * description: Limit the number of items returned in the list. 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 0622213f26..eb729ec419 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 @@ -158,6 +158,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: starts_at * - name: ends_at * in: query * description: Filter by a price list's end date. @@ -277,6 +278,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: ends_at * - name: status * in: query * description: Filter by price list statuses. diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_products_export.ts b/www/utils/generated/oas-output/operations/admin/post_admin_products_export.ts index bd401f1162..325a9c4649 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_products_export.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_products_export.ts @@ -245,6 +245,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by a product's update date. @@ -364,6 +365,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: handle * in: query * required: false @@ -533,6 +535,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: deleted_at * - name: order * in: query * description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. 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 0e989d7f0b..2c8d89242b 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 @@ -91,7 +91,17 @@ * "500": * $ref: "#/components/responses/500_error" * x-workflow: createShippingOptionsWorkflow - * x-events: [] + * x-events: + * - name: shipping-option.created + * payload: |- + * ```ts + * { + * id, // The ID of the shipping option + * } + * ``` + * description: Emitted when shipping options are created. + * deprecated: false + * since: 2.12.4 * */ 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 842389069d..20356c8b93 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 @@ -79,7 +79,17 @@ * "500": * $ref: "#/components/responses/500_error" * x-workflow: updateShippingOptionsWorkflow - * x-events: [] + * x-events: + * - name: shipping-option.updated + * payload: |- + * ```ts + * { + * id, // The ID of the shipping option + * } + * ``` + * description: Emitted when shipping options are updated. + * deprecated: false + * since: 2.12.4 * */ diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts index 412ab9ce18..e8ec3fdc81 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts @@ -28,9 +28,17 @@ * application/json: * schema: * type: object - * title: identifier - * description: The user's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the user's email. - * example: "admin@medusa-test.com" + * description: The input data necessary to generate a reset password token. + * required: + * - identifier + * properties: + * identifier: + * type: string + * description: The identifier of the admin user. For example, their email address. + * example: "admin@medusa-test.com" + * metadata: + * type: object + * description: Optional metadata to include with the reset password token generation request. * x-codeSamples: * - lang: JavaScript * label: JS SDK @@ -89,6 +97,7 @@ * entity_id, // The identifier of the user or customer. For example, an email address. * actor_type, // The type of actor. For example, "customer", "user", or custom. * token, // The generated token. + * metadata, // Optional custom metadata passed from the request. * } * ``` * description: |- diff --git a/www/utils/generated/oas-output/operations/auth/post_auth_[actor_type]_[auth_provider]_reset-password.ts b/www/utils/generated/oas-output/operations/auth/post_auth_[actor_type]_[auth_provider]_reset-password.ts index fb95f1a18f..36c63bb7ad 100644 --- a/www/utils/generated/oas-output/operations/auth/post_auth_[actor_type]_[auth_provider]_reset-password.ts +++ b/www/utils/generated/oas-output/operations/auth/post_auth_[actor_type]_[auth_provider]_reset-password.ts @@ -75,6 +75,7 @@ * entity_id, // The identifier of the user or customer. For example, an email address. * actor_type, // The type of actor. For example, "customer", "user", or custom. * token, // The generated token. + * metadata, // Optional custom metadata passed from the request. * } * ``` * description: |- diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts index 79e02924dd..b91fad78a1 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts @@ -29,7 +29,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts index 04f4cc9d97..875f38e3c1 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts @@ -22,7 +22,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts index c65aad41ec..91aa7ae925 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts index 3063b2ce9f..cbbd1e6974 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 9a107cdf28..c8e634b140 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 @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false @@ -311,6 +311,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the collection's update date. @@ -542,6 +543,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: handle * in: query * required: false 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 e2b6a941bd..8ef3ec5ddd 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 @@ -22,7 +22,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_currencies.ts b/www/utils/generated/oas-output/operations/store/get_store_currencies.ts index 02064662c8..dfa4aa893e 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_currencies.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_currencies.ts @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts b/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts index 7f3ea60b9a..a6d893be74 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts index 600f1359f1..4345e7b810 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts @@ -17,7 +17,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts index a1628eaa27..8ad9b6f858 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts @@ -17,7 +17,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts index 4e9cc1b399..cff9d19d98 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts @@ -20,7 +20,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_locales.ts b/www/utils/generated/oas-output/operations/store/get_store_locales.ts index db446555e1..d4122b531a 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_locales.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_locales.ts @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_orders.ts b/www/utils/generated/oas-output/operations/store/get_store_orders.ts index c85b31f804..21ca2cf9e0 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_orders.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_orders.ts @@ -14,7 +14,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts index bdeeec10d3..e91919696f 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts index 3eb1c94aba..c01f9585b7 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 2ff460b77c..b4ff57a675 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 @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false @@ -383,6 +383,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the category's update date. @@ -614,6 +615,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: $and * in: query * required: false 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 d0865ba0e7..6570d855cd 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 @@ -22,7 +22,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-tags.ts b/www/utils/generated/oas-output/operations/store/get_store_product-tags.ts index 0ed0b04d45..8c582bebe0 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-tags.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-tags.ts @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false @@ -354,6 +354,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the tag's update date. @@ -585,6 +586,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: with_deleted * in: query * description: Whether to include deleted records in the result. diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-tags_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_product-tags_[id].ts index ace6d6a8d1..fbd39e4c3f 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-tags_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-tags_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-types.ts b/www/utils/generated/oas-output/operations/store/get_store_product-types.ts index b35583e839..3259b0d055 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-types.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-types.ts @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false @@ -354,6 +354,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the type's update date. @@ -585,6 +586,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: with_deleted * in: query * description: Whether to include deleted records in the result. diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-types_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_product-types_[id].ts index 4f3bf4871c..d52b6d5fa3 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-types_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-types_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 ec8deeb0b6..37dcc6f00d 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 @@ -6,7 +6,7 @@ * Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. * * - * You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `Content-Language` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. + * You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. * * * With localization, the products' content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section. @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false @@ -427,6 +427,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: created_at * - name: updated_at * in: query * description: Filter by the product's update date. @@ -658,6 +659,7 @@ * type: boolean * title: $exists * description: Filter by whether a value for this parameter exists (not `null`). + * title: updated_at * - name: region_id * in: query * description: The ID of the region the products are being viewed from. This is required if you're retrieving product variant prices with taxes. 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 ed611f582e..df9bef9592 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 @@ -6,7 +6,7 @@ * Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. * * - * You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `Content-Language` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. + * You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. * * * With localization, the product's content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section. @@ -29,7 +29,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_regions.ts b/www/utils/generated/oas-output/operations/store/get_store_regions.ts index e90d484f59..69c920b0e7 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_regions.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_regions.ts @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts index e561b23416..52eb221fcb 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts b/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts index 3c2088e5e9..5c266966dc 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts index 8d19045a8d..1241d1194b 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts index f369194149..ee70c908c0 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts index 851f7dc93e..1799d360e6 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts @@ -28,9 +28,17 @@ * application/json: * schema: * type: object - * title: identifier - * description: The customer's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the customer's email. - * example: "customer@gmail.com" + * description: The input data necessary to generate a reset password token. + * required: + * - identifier + * properties: + * identifier: + * type: string + * description: The customer's identifier for the selected auth provider. For example, for the `emailpass` auth provider, the value is the customer's email. + * example: "customer@gmail.com" + * metadata: + * type: object + * description: Optional metadata to include with the reset password token generation request. * x-codeSamples: * - lang: JavaScript * label: JS SDK @@ -93,6 +101,7 @@ * entity_id, // The identifier of the user or customer. For example, an email address. * actor_type, // The type of actor. For example, "customer", "user", or custom. * token, // The generated token. + * metadata, // Optional custom metadata passed from the request. * } * ``` * description: |- 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 b8bbf9afdc..fb074d5626 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 @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 957d103228..7d564cb222 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 @@ -21,7 +21,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 index 3d5ec80a66..5dd64d961c 100644 --- 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 @@ -22,7 +22,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_customer.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_customer.ts index cd647f313b..34e2a5f37d 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_customer.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_customer.ts @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts index 7b1ce83d78..2072da2185 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts index ad150c2dd6..f7268ac2da 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts @@ -29,7 +29,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts index e5a2a2e784..0a8f248e7c 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 9cac1e1b8d..c465f2d466 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 @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts index 645b788898..3de1bd5a99 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts @@ -20,7 +20,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers.ts b/www/utils/generated/oas-output/operations/store/post_store_customers.ts index ad41346b5e..8be60d9dcd 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers.ts @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 b364c8bfb1..c2da89b59d 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 @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 af4321da40..c232ba4fb3 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 @@ -17,7 +17,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false 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 0578b63b43..8dd020011f 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 @@ -23,7 +23,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_accept.ts b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_accept.ts index 3bd8e41996..50496bb046 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_accept.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_accept.ts @@ -22,7 +22,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_cancel.ts b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_cancel.ts index 602f42393c..5741d15be4 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_cancel.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_cancel.ts @@ -20,7 +20,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_decline.ts b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_decline.ts index 3446d3ae20..8af02c43d7 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_decline.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_decline.ts @@ -20,7 +20,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_request.ts b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_request.ts index 35412f2b5c..d0457a3fa2 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_request.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_orders_[id]_transfer_request.ts @@ -21,7 +21,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts index 581fe067c4..b0d60d5cae 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts @@ -16,7 +16,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts index dbc688bc8a..387f164a20 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts @@ -31,7 +31,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_returns.ts b/www/utils/generated/oas-output/operations/store/post_store_returns.ts index acf5e92f56..1eaad7eb92 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_returns.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_returns.ts @@ -13,7 +13,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/operations/store/post_store_shipping-options_[id]_calculate.ts b/www/utils/generated/oas-output/operations/store/post_store_shipping-options_[id]_calculate.ts index 4a9c737c88..4a5502229b 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_shipping-options_[id]_calculate.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_shipping-options_[id]_calculate.ts @@ -19,7 +19,7 @@ * type: string * externalDocs: * url: https://docs.medusajs.com/api/store#publishable-api-key - * - name: Content-Language + * - name: x-medusa-locale * in: header * description: The locale in BCP 47 format to retrieve localized content. * required: false diff --git a/www/utils/generated/oas-output/schemas/AdminProduct.ts b/www/utils/generated/oas-output/schemas/AdminProduct.ts index 26975afb06..b68e8e6742 100644 --- a/www/utils/generated/oas-output/schemas/AdminProduct.ts +++ b/www/utils/generated/oas-output/schemas/AdminProduct.ts @@ -8,9 +8,9 @@ * - type * - options * - images - * - length * - title * - status + * - length * - id * - created_at * - updated_at diff --git a/www/utils/generated/oas-output/schemas/AdminTranslationEntitiesResponse.ts b/www/utils/generated/oas-output/schemas/AdminTranslationEntitiesResponse.ts new file mode 100644 index 0000000000..78837c0da7 --- /dev/null +++ b/www/utils/generated/oas-output/schemas/AdminTranslationEntitiesResponse.ts @@ -0,0 +1,46 @@ +/** + * @schema AdminTranslationEntitiesResponse + * type: object + * description: The list of translatable entities. + * x-schemaName: AdminTranslationEntitiesResponse + * required: + * - data + * - count + * - offset + * - limit + * properties: + * data: + * type: array + * description: The list of translatable entities. + * items: + * allOf: + * - type: object + * description: The entity's data. + * required: + * - id + * - translations + * properties: + * id: + * type: string + * title: id + * description: The entity's ID. + * translations: + * type: array + * description: The entity's translations. + * items: + * $ref: "#/components/schemas/AdminTranslation" + * count: + * type: number + * title: count + * description: The total number of translatable entities. + * offset: + * type: number + * title: offset + * description: The number of items skipped before retrieving the returned items. + * limit: + * type: number + * title: limit + * description: The maximum number of items returned in the response. + * +*/ + diff --git a/www/utils/generated/oas-output/schemas/StoreCart.ts b/www/utils/generated/oas-output/schemas/StoreCart.ts index 10d86d608b..2864dc3800 100644 --- a/www/utils/generated/oas-output/schemas/StoreCart.ts +++ b/www/utils/generated/oas-output/schemas/StoreCart.ts @@ -183,6 +183,11 @@ * description: The cart's promotions. * items: * $ref: "#/components/schemas/StoreCartPromotion" + * completed_at: + * type: string + * title: completed_at + * description: The date the cart was completed. + * format: date-time * */ diff --git a/www/utils/generated/oas-output/schemas/StoreCartLineItem.ts b/www/utils/generated/oas-output/schemas/StoreCartLineItem.ts index 56f1bc78ac..02b5559165 100644 --- a/www/utils/generated/oas-output/schemas/StoreCartLineItem.ts +++ b/www/utils/generated/oas-output/schemas/StoreCartLineItem.ts @@ -339,8 +339,8 @@ * discount_tax_total: * type: number * title: discount_tax_total - * description: The total amount of discounts applied to the line item's tax. Represents the tax portion of discounts. This field is only available if you expand the `items.*` relation. Learn more in the [Cart - * Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-cart-item-totals) guide. + * description: The total amount of discounts applied to the line item's tax. Represents the tax portion of discounts. This field is only available if you expand the `items.*` relation. Learn more in the + * [Cart Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-cart-item-totals) guide. * */ diff --git a/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts b/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts index ed4442061c..571be6f2d7 100644 --- a/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts @@ -242,13 +242,13 @@ * discount_total: * type: number * title: discount_total - * description: The total amount of discounts applied to the shipping method, including the tax portion of discounts. This field is only available if you expand the `shipping_methods.*` relation. Learn more in the [Cart - * Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-shipping-method-totals) guide. + * description: The total amount of discounts applied to the shipping method, including the tax portion of discounts. This field is only available if you expand the `shipping_methods.*` relation. Learn + * more in the [Cart Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-shipping-method-totals) guide. * discount_tax_total: * type: number * title: discount_tax_total - * description: The total amount of discounts applied to the shipping method's tax. Represents the tax portion of discounts. This field is only available if you expand the `shipping_methods.*` relation. Learn more in the [Cart - * Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-shipping-method-totals) guide. + * description: The total amount of discounts applied to the shipping method's tax. Represents the tax portion of discounts. This field is only available if you expand the `shipping_methods.*` relation. + * Learn more in the [Cart Totals](https://docs.medusajs.com/resources/storefront-development/cart/totals#retrieve-and-show-shipping-method-totals) guide. * */ diff --git a/www/utils/generated/oas-output/schemas/StoreProductVariant.ts b/www/utils/generated/oas-output/schemas/StoreProductVariant.ts index f75542dcf2..bd1834dba8 100644 --- a/www/utils/generated/oas-output/schemas/StoreProductVariant.ts +++ b/www/utils/generated/oas-output/schemas/StoreProductVariant.ts @@ -127,8 +127,8 @@ * $ref: "#/components/schemas/BaseProductImage" * required: * - options - * - length * - title + * - length * - id * - created_at * - updated_at diff --git a/www/utils/generated/route-examples-output/route-examples.json b/www/utils/generated/route-examples-output/route-examples.json index bf1de2d14a..9ce8755a05 100644 --- a/www/utils/generated/route-examples-output/route-examples.json +++ b/www/utils/generated/route-examples-output/route-examples.json @@ -980,6 +980,9 @@ "GET /admin/translations/settings": { "js-sdk": "sdk.admin.translation.settings({\n entity_type: \"product\"\n})\n.then(({ translatable_fields }) => {\n console.log(translatable_fields)\n})" }, + "GET /admin/translations/entities": { + "js-sdk": "sdk.admin.translation.entities({\n type: \"product\"\n})\n.then(({ data, count, offset, limit }) => {\n console.log(data)\n})" + }, "GET /admin/translations/statistics": { "js-sdk": "sdk.admin.translation.statistics({\n entity_type: \"product\"\n})\n.then(({ statistics }) => {\n console.log(statistics)\n})" },