-
Notifications
You must be signed in to change notification settings - Fork 5.5k
3977 wildberries actions #4111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3977 wildberries actions #4111
Conversation
…status, improving list orders
* master: Adding app scaffolding for action_network Adding app scaffolding for action_network Adding app scaffolding for action_network Adding app scaffolding for action_builder Adding app scaffolding for action_builder Adding app scaffolding for action_builder Modifying global config Adding app scaffolding for vercel_token_auth Adding app scaffolding for vercel_token_auth Adding app scaffolding for vercel_token_auth Modifying global config
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution.
Just some fixes!
@@ -0,0 +1,44 @@ | |||
export default { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this file to common/constants.ts
@@ -0,0 +1,44 @@ | |||
export default { | |||
stickersRequestType: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stickersRequestType: [ | |
STICKERS_REQEUEST_TYPE: [ |
"code128", | ||
"qr", | ||
], | ||
orderStatus: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
orderStatus: [ | |
ORDER_STATUSES: [ |
type: { | ||
label: "Type", | ||
type: "string", | ||
description: "Sticker type, default: code128.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Sticker type, default: code128.", | |
description: "Sticker type, default: `code128`.", |
|
||
export default defineAction({ | ||
name: "List Order Stickers", | ||
description: "List order stickers. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "List order stickers. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)", | |
description: "List order stickers. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)", |
asPdf: { | ||
type: "boolean", | ||
label: "List as PDF", | ||
description: "Set true for use the PDF API [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Set true for use the PDF API [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).", | |
description: "Set true for use the PDF API [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).", |
|
||
export default defineAction({ | ||
name: "List Orders", | ||
description: "Returns a list of orders. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Returns a list of orders. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)", | |
description: "Returns a list of orders. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)", |
|
||
export default defineAction({ | ||
name: "Update Order Status", | ||
description: "Update a order status. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Update a order status. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", | |
description: "Update a order status. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", |
sgtin: { | ||
type: "any", | ||
label: "SGTIN", | ||
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", | |
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)", |
* master: (22 commits) Adding app scaffolding for gmail Adding app scaffolding for gmail Modifying global config Adding app scaffolding for crisp Adding app scaffolding for crisp Adding app scaffolding for crisp Modifying global config Gmail Custom OAuth minor fixes (#4126) [Gmail] Custom OAuth Components (#4125) Fixed postgres event (#4115) Adding app scaffolding for gmail_custom_oauth Adding app scaffolding for gmail_custom_oauth Adding app scaffolding for gmail_custom_oauth Modifying global config Update send-large-message.mjs TimeCamp #3812 (#4084) Small updates to Slack components (#4108) add default false value (#4117) Sources - ClickUp (#4101) Esputnik - new sources and actions (#4105) ...
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* master: (57 commits) Adding app scaffolding for wakatime Adding app scaffolding for wakatime Adding app scaffolding for wakatime Modifying global config 3977 wildberries actions (#4111) Minor docs update Invocation budget docs (#4119) Adding app scaffolding for snapdocs Adding app scaffolding for snapdocs Adding app scaffolding for snapdocs Modifying global config Adding app scaffolding for sailpoint Adding app scaffolding for sailpoint Adding app scaffolding for sailpoint Modifying global config [BUG] pCloud Watch Folder trigger does not pick up events (#4167) #3815 - Tookan Actions (#4129) SMTP2GO: Adding actions to send single emails with body and template. (#4144) [BUG] Jira component only shows first 50 projects (#4162) Add dev.to new reading list item event (#4164) ...
Actions
FYI: I couldn't test it properly because the API Key provided by the customer is not working anymore.