Skip to content

Commit

Permalink
[create-pull-request] automated change (#6830)
Browse files Browse the repository at this point in the history
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and olivermrbl committed Mar 26, 2024
1 parent b5bc33a commit 2524a9d
Show file tree
Hide file tree
Showing 171 changed files with 1,076 additions and 312 deletions.
1 change: 1 addition & 0 deletions docs-util/oas-output/base-v2/admin.oas.base.yaml
Expand Up @@ -89,6 +89,7 @@ tags:
externalDocs:
description: How to manage sales channels
url: https://docs.medusajs.com/modules/sales-channels/admin/manage
- name: Stock Locations
- name: Stores
- name: Tax Rates
description: >
Expand Down
Expand Up @@ -24,8 +24,6 @@
* tags:
* - Api Keys
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Campaigns
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Collections
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Customer Groups
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Customers
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -33,8 +33,6 @@
* tags:
* - Customers
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -47,6 +45,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Inventory Items
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -34,8 +34,6 @@
* tags:
* - Inventory Items
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -48,6 +46,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Invites
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Price Lists
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -30,8 +30,6 @@
* tags:
* - Pricing
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand Down
Expand Up @@ -24,8 +24,6 @@
* tags:
* - Products
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -31,8 +31,6 @@
* tags:
* - Products
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -45,6 +43,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -31,8 +31,6 @@
* tags:
* - Products
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -45,6 +43,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Promotions
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Regions
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

Expand Up @@ -24,8 +24,6 @@
* tags:
* - Sales Channels
* responses:
* "200":
* description: OK
* "400":
* $ref: "#/components/responses/400_error"
* "401":
Expand All @@ -38,6 +36,10 @@
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/

@@ -0,0 +1,43 @@
/**
* @oas [delete] /admin/stock-locations/{id}
* operationId: DeleteStockLocationsId
* summary: Delete a Stock Location
* description: Delete a stock location.
* x-authenticated: true
* parameters:
* - name: id
* in: path
* description: The stock location's ID.
* required: true
* schema:
* type: string
* security:
* - api_token: []
* - cookie_auth: []
* - jwt_token: []
* x-codeSamples:
* - lang: Shell
* label: cURL
* source: |-
* curl -X DELETE '{backend_url}/admin/stock-locations/{id}' \
* -H 'x-medusa-access-token: {api_token}'
* tags:
* - Stock Locations
* responses:
* "200":
* description: OK
* "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"
*
*/

0 comments on commit 2524a9d

Please sign in to comment.