From 69f72dab15ed1a91db5810fa0015931ec3d2130f Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 12:39:23 -0300 Subject: [PATCH 1/6] Add order and shipment management features to Paazl app - Introduced prop definitions for Order ID and Shipment ID. - Implemented methods for retrieving order shipments and shipment details. - Added methods for creating orders and shipments. - Enhanced request handling with improved headers and base URL configuration. --- components/paazl/paazl.app.mjs | 84 ++++++++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 5 deletions(-) diff --git a/components/paazl/paazl.app.mjs b/components/paazl/paazl.app.mjs index bb36a60897dd3..e845984a6f3f8 100644 --- a/components/paazl/paazl.app.mjs +++ b/components/paazl/paazl.app.mjs @@ -1,11 +1,85 @@ +import { axios } from "@pipedream/platform"; + export default { type: "app", app: "paazl", - propDefinitions: {}, + propDefinitions: { + orderId: { + type: "string", + label: "Order ID", + description: "The unique identifier of the order", + }, + shipmentId: { + type: "string", + label: "Shipment ID", + description: "The unique identifier of the shipment", + async options({ + page, orderId, + }) { + const { shipments } = await this.getOrderShipments({ + orderId, + params: { + page, + }, + }); + + return shipments.map(({ trackingNumber }) => trackingNumber); + }, + }, + }, methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); + _headers() { + return { + "Authorization": `Bearer ${this.$auth.api_key}:${this.$auth.api_secret}`, + "Content-Type": "application/json", + "Accept": "application/json;charset=utf-8", + }; + }, + _baseUrl() { + return `${this.$auth.environment}/v1`; + }, + _makeRequest({ + $ = this, path, ...opts + }) { + const config = { + url: this._baseUrl() + path, + headers: this._headers(), + ...opts, + }; + console.log("config: ", config); + return axios($, config); + }, + getOrderShipments({ + orderId, ...opts + }) { + return this._makeRequest({ + path: `/orders/${orderId}/shipments`, + ...opts, + }); + }, + getOrderShipmentDetails({ + orderId, shipmentId, ...opts + }) { + return this._makeRequest({ + path: `/orders/${orderId}/shipments/${shipmentId}`, + ...opts, + }); + }, + createOrder(opts = {}) { + return this._makeRequest({ + path: "/order", + method: "POST", + ...opts, + }); + }, + createShipment({ + orderId, ...opts + }) { + return this._makeRequest({ + path: `/orders/${orderId}/shipments`, + method: "POST", + ...opts, + }); }, }, -}; \ No newline at end of file +}; From 0bdaeb56571f944919cd09ebcb03e93c666a4d6e Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 12:39:48 -0300 Subject: [PATCH 2/6] Update Paazl app with new features and dependencies - Bump version to 0.1.0 in package.json. - Add new actions: Create Order, Create Shipment, Get Shipment Details, and Get Pickup Locations. - Introduce utility functions and constants for handling country options and object parsing. - Enhance the app's functionality for order and shipment management. --- .../actions/create-order/create-order.mjs | 193 ++++++++++++++++++ .../create-shipment/create-shipment.mjs | 69 +++++++ .../get-pickup-locations.mjs | 93 +++++++++ .../get-shipment-details.mjs | 37 ++++ components/paazl/common/constants.mjs | 32 +++ components/paazl/common/utils.mjs | 24 +++ components/paazl/package.json | 7 +- 7 files changed, 453 insertions(+), 2 deletions(-) create mode 100644 components/paazl/actions/create-order/create-order.mjs create mode 100644 components/paazl/actions/create-shipment/create-shipment.mjs create mode 100644 components/paazl/actions/get-pickup-locations/get-pickup-locations.mjs create mode 100644 components/paazl/actions/get-shipment-details/get-shipment-details.mjs create mode 100644 components/paazl/common/constants.mjs create mode 100644 components/paazl/common/utils.mjs diff --git a/components/paazl/actions/create-order/create-order.mjs b/components/paazl/actions/create-order/create-order.mjs new file mode 100644 index 0000000000000..72da6f646f0f8 --- /dev/null +++ b/components/paazl/actions/create-order/create-order.mjs @@ -0,0 +1,193 @@ +import { ConfigurationError } from "@pipedream/platform"; +import { COUNTRY_OPTIONS } from "../../common/constants.mjs"; +import { parseObject } from "../../common/utils.mjs"; +import paazl from "../../paazl.app.mjs"; + +export default { + key: "paazl-create-order", + name: "Create Order", + description: "Create a new order in Paazl. [See the documentation](https://support.paazl.com/hc/en-us/articles/360008633973-REST-API-reference#/Order/saveOrderUsingPOST)", + version: "0.0.1", + type: "action", + props: { + paazl, + additionalInstruction: { + type: "string", + label: "Additional Instruction", + description: "Additional instructions for the delivery of an order. E.g. `Call before delivery`.", + optional: true, + }, + consigneeCompanyName: { + type: "object", + label: "Consignee - Company Name", + description: "The name of a company to which an order is shipped.", + optional: true, + }, + consigneeVatNumber: { + type: "string", + label: "Consignee - VAT Number", + description: "The VAT number of the receiver. This is the tax identification number of the receiver, that can be used by B2B international shipments for customs, for some carriers.", + optional: true, + }, + consigneeEmail: { + type: "string", + label: "Consignee - Email", + description: "The email address of the person to whom an order is shipped.", + optional: true, + }, + consigneeName: { + type: "string", + label: "Consignee - Name", + description: "The name of the person to whom an order is shipped.", + optional: true, + }, + consigneeOther: { + type: "object", + label: "Consignee - Other", + description: "Additional details used to identify the person to whom an order is shipped.", + optional: true, + }, + consigneePhone: { + type: "string", + label: "Consignee - Phone", + description: "The phone number of the person to whom an order is shipped.", + optional: true, + }, + consigneeLocale: { + type: "string", + label: "Consignee - Locale", + description: "Specifies the language of the email templates used for track & trace notifications. `locale` is specified using the format `{language}_{country}`, where `{language}` is an [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code and `{country}` is an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code. Example: `fr_FR`", + optional: true, + }, + consigneeAddressCity: { + type: "string", + label: "Consignee - Address - City", + description: "The city or town to which an order is shipped.", + }, + consigneeAddressCountry: { + type: "string", + label: "Consignee - Address - Country", + description: "The [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) code for the country to which an order is shipped.", + options: COUNTRY_OPTIONS, + optional: true, + }, + consigneeAddressPostalCode: { + type: "string", + label: "Consignee - Address - Postal Code", + description: "The postal code of the address to which an order is shipped. The code is used to get a more precise list of available shipping options.", + optional: true, + }, + consigneeAddressProvince: { + type: "string", + label: "Consignee - Address - Province", + description: "The last 2 letters of the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) code for the province or state to which an order is shipped.", + optional: true, + }, + consigneeAddressStreet: { + type: "string", + label: "Consignee - Address - Street", + description: "The name of the street to which an order is shipped. See the note in the \"order\" endpoint description. Note If you provide \"street\" with a value, \"houseNumber\" is required.", + optional: true, + }, + consigneeAddressStreetLines: { + type: "string[]", + label: "Consignee - Address - Street Lines", + description: "The street name and house number of the address to which an order is shipped, specified as one or more strings. See the note in the \"order\" endpoint description. Note! Paazl does not parse the string to perform validation with any values that may be provided for the other parameters of a consignee address.", + optional: true, + }, + consigneeAddressHouseNumber: { + type: "string", + label: "Consignee - Address - House Number", + description: "The house number of the address to which an order is shipped. See the note in the order endpoint description.", + optional: true, + }, + consigneeAddressHouseNumberExtension: { + type: "string", + label: "Consignee - Address - House Number Extension", + description: "The house number extension (such as the \"-A\" in \"12-A\") of the address to which an order is shipped.", + optional: true, + }, + reference: { + type: "string", + label: "Reference", + description: "Your own order reference for a purchase transaction. For security reasons, the following special characters are not allowed: \\ and /. Note! The order reference must be unique within the webshop.", + }, + shippingOption: { + type: "string", + label: "Shipping - Option", + description: "A shipping option's Paazl identifier. You will find a list of the identifiers of the shipping options available to your webshop in your webshop account under **Settings>Account>Overview of shipping options**. **Note!** If you have used [custom shipping option identifiers](https://support.paazl.com/hc/en-us/articles/360021787374-Customizing-shipping-option-identifiers%22), these will be returned instead of their Paazl equivalents.", + }, + shippingPickupLocationCode: { + type: "string", + label: "Shipping - Pickup Location Code", + description: "A carrier's unique code for a pickup location.", + }, + shippingContract: { + type: "string", + label: "Shipping - Contract", + description: "The identification code of your carrier contract for an outbound shipment. **Note!** If you don't have this code, contact [Paazl Customer Support](support@paazl.com).", + optional: true, + }, + shippingReturnContract: { + type: "string", + label: "Shipping - Return Contract", + description: "The identification code of your carrier contract for a return shipment. **Note!** If you don't have this code, contact [Paazl Customer Support](support@paazl.com).", + optional: true, + }, + shippingPackageCount: { + type: "integer", + label: "Shipping - Package Count", + description: "The number of packages in a shipment. **Note!** If `multiPackageShipment` is set to `true`, the default value of `packageCount` will be `2`.", + optional: true, + }, + shippingMultiPackageShipment: { + type: "boolean", + label: "Shipping - Multi Package Shipment", + description: "If `true`, Paazl will treat the shipment as consolidated. This setting affects how the packages in the shipment are numbered on its labels. The number of packages in a shipment is indicated by `packageCount`. So, for example, if `multiPackageShipment` is `true` and `packageCount` is `3`, then the labels will be numbered 1/3, 2/3, 3/3. **Note!** If `packageCount` > `1`, then the default value of `multiPackageShipment` will be `true`. If you don't want Paazl to treat a multi-package shipment as consolidated, you have to set `multiPackageShipment` to `false`.", + optional: true, + }, + }, + async run({ $ }) { + if (!this.consigneeAddressStreet && !this.consigneeAddressStreetLines) { + throw new ConfigurationError("**Consignee Address Street** or **Consignee Address Street Lines** is required."); + } + + const response = await this.paazl.createOrder({ + $, + data: { + additionalInstruction: this.additionalInstruction, + consignee: { + companyName: parseObject(this.consigneeCompanyName), + vatNumber: this.consigneeVatNumber, + email: this.consigneeEmail, + name: this.consigneeName, + other: parseObject(this.consigneeOther), + phone: this.consigneePhone, + locale: this.consigneeLocale, + address: { + city: this.consigneeAddressCity, + country: this.consigneeAddressCountry, + postalCode: this.consigneeAddressPostalCode, + province: this.consigneeAddressProvince, + street: this.consigneeAddressStreet, + streetLines: parseObject(this.consigneeAddressStreetLines), + houseNumber: this.consigneeAddressHouseNumber, + houseNumberExtension: this.consigneeAddressHouseNumberExtension, + }, + }, + reference: this.reference, + shipping: { + option: this.shippingOption, + pickupLocation: { + code: this.shippingPickupLocationCode, + }, + contract: this.shippingContract, + returnContract: this.shippingReturnContract, + packageCount: this.shippingPackageCount, + multiPackageShipment: this.shippingMultiPackageShipment, + }, + }, + }); + return response; + }, +}; diff --git a/components/paazl/actions/create-shipment/create-shipment.mjs b/components/paazl/actions/create-shipment/create-shipment.mjs new file mode 100644 index 0000000000000..ce667be1b7eeb --- /dev/null +++ b/components/paazl/actions/create-shipment/create-shipment.mjs @@ -0,0 +1,69 @@ +import { parseObject } from "../../common/utils.mjs"; +import paazl from "../../paazl.app.mjs"; + +export default { + key: "paazl-create-shipment", + name: "Create Shipment", + description: "Create a new shipment in Paazl. [See the documentation](https://support.paazl.com/hc/en-us/articles/360008633973-REST-API-reference#/Shipments/createShipmentUsingPOST)", + version: "0.0.1", + type: "action", + props: { + paazl, + orderId: { + propDefinition: [ + paazl, + "orderId", + ], + }, + type: { + type: "string", + label: "Type", + description: "Format of the generated label(s).", + options: [ + "PNG", + "PDF", + "ZPL", + ], + optional: true, + }, + size: { + type: "string", + label: "Size", + description: "Size of the generated label(s).", + options: [ + "10x15", + "10x21", + "a4", + "laser", + ], + optional: true, + }, + quantity: { + type: "integer", + label: "Quantity", + description: " If quantity == 1 -> one extra label is generated. The default quantity value == 1. If quantity > 1 , extra labels are generated. It replaces packageCount in the POST order, if set. Extra labels are generated under 1 new shipment for each label. Mutually exclusive with `parcels`.", + optional: true, + }, + parcels: { + type: "string[]", + label: "Parcels", + description: "Array of one or more parcels in the requested shipment. Mutually exclusive with `quantity`. E.g. **[{ \"name\": \"parcels\", \"attribute\": false, \"wrapped\": true }]**. [See the documentation](https://support.paazl.com/hc/en-us/articles/360008633973-REST-API-reference#/Shipments/createShipmentUsingPOST) for more information.", + optional: true, + }, + }, + async run({ $ }) { + const response = await this.paazl.createShipment({ + $, + orderId: this.orderId, + data: { + type: this.type, + size: this.size, + quantity: this.quantity, + parcels: parseObject(this.parcels), + }, + }); + + $.export("$summary", "Created shipment successfully"); + return response; + }, +}; diff --git a/components/paazl/actions/get-pickup-locations/get-pickup-locations.mjs b/components/paazl/actions/get-pickup-locations/get-pickup-locations.mjs new file mode 100644 index 0000000000000..36603768034ce --- /dev/null +++ b/components/paazl/actions/get-pickup-locations/get-pickup-locations.mjs @@ -0,0 +1,93 @@ +import { COUNTRY_OPTIONS } from "../../common/constants.mjs"; +import paazl from "../../paazl.app.mjs"; + +export default { + key: "paazl-get-pickup-locations", + name: "Get Pickup Locations", + description: "Retrieve available pickup locations from Paazl. [See the documentation](https://support.paazl.com/hc/en-us/articles/360008633973-REST-API-reference#/Shipping%20options/getPickupLocationsUsingPOST)", + version: "0.0.1", + type: "action", + props: { + paazl, + consigneeCountryCode: { + type: "string", + label: "Consignee Country Code", + description: "The ISO 3166-2 code for the country to which an order is shipped.", + options: COUNTRY_OPTIONS, + }, + consigneePostalCode: { + type: "string", + label: "Consignee Postal Code", + description: "The postal code of the address to which an order is shipped. The code is used to get a more precise list of available shipping options.", + }, + consignorCountryCode: { + type: "string", + label: "Consignor Country Code", + description: "The ISO 3166-2 code for the country the shipment is being sent from. If left empty, Paazl will use the default setting in your Paazl web app account.", + optional: true, + options: COUNTRY_OPTIONS, + }, + consignorPostalCode: { + type: "string", + label: "Consignor Postal Code", + description: "The postal code of the address from which an order is shipped. The code is used to get delivery dates from carriers if they offer this service. The default value is the value in your Paazl web app account.", + optional: true, + }, + deliveryDateNumberOfDays: { + type: "integer", + label: "Delivery Date - Number of Days", + description: "The length of time in days after startDate for which shipping options are supplied. The default value is `7`.", + optional: true, + }, + deliveryDateStartDate: { + type: "string", + label: "Delivery Date - Start Date", + description: "The starting point of a range of possible delivery dates. Format: \"YYYY-MM-DD\" The default value is today's date. Note! When calculating the start date for a delivery date range, Paazl adds the number of delivery days and processing days you have configured in your webshop's [delivery matrix](https://support.paazl.com/hc/en-us/articles/360007580074-Configuring-your-delivery-matrix-).", + optional: true, + }, + includeExternalDeliveryDates: { + type: "boolean", + label: "Include External Delivery Dates", + description: "Gets delivery dates directly from the carrier if the carrier supplies them.", + default: false, + }, + limit: { + type: "integer", + label: "Limit", + description: "The maximum number of shipping options that Paazl must return.", + min: 1, + max: 99, + optional: true, + }, + locale: { + type: "string", + label: "Locale", + description: "Specifies the language in which the widget is displayed as well as the localized shipping option names you have configured in your web app account (under **Settings>Paazl Perfect>Shipping options**). locale is specified using the format `{language}_{country}`, where `{language}` is an [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code and `{country}` is an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code. Example: `fr_FR`", + optional: true, + }, + timeZone: { + type: "string", + label: "Time Zone", + description: "Specifies the time zone for which the delivery days should be calculated. If not specified, the default time zone Europe/Amsterdam is used. Example: timeZone:\"Europe/Amsterdam\", timeZone:\"UTC\", timeZone:\"GMT+3\", timeZone:\"UTC+01:30\"", + optional: true, + }, + }, + async run({ $ }) { + const response = await this.paazl.getPickupLocations({ + $, + data: { + consigneeCountryCode: this.consigneeCountryCode, + consigneePostalCode: this.consigneePostalCode, + consignorCountryCode: this.consignorCountryCode, + consignorPostalCode: this.consignorPostalCode, + deliveryDateNumberOfDays: this.deliveryDateNumberOfDays, + deliveryDateStartDate: this.deliveryDateStartDate, + includeExternalDeliveryDates: this.includeExternalDeliveryDates, + limit: this.limit, + locale: this.locale, + timeZone: this.timeZone, + }, + }); + return response; + }, +}; diff --git a/components/paazl/actions/get-shipment-details/get-shipment-details.mjs b/components/paazl/actions/get-shipment-details/get-shipment-details.mjs new file mode 100644 index 0000000000000..bf225e7110806 --- /dev/null +++ b/components/paazl/actions/get-shipment-details/get-shipment-details.mjs @@ -0,0 +1,37 @@ +import paazl from "../../paazl.app.mjs"; + +export default { + key: "paazl-get-shipment-details", + name: "Get Shipment Details", + description: "Retrieve detailed information about a specific shipment from Paazl. [See the documentation](https://support.paazl.com/hc/en-us/articles/360008633973-REST-API-reference#/Shipments/getShipmentByShipmentIdUsingGET)", + version: "0.0.1", + type: "action", + props: { + paazl, + orderId: { + propDefinition: [ + paazl, + "orderId", + ], + }, + shipmentId: { + propDefinition: [ + paazl, + "shipmentId", + ({ orderId }) => ({ + orderId, + }), + ], + }, + }, + async run({ $ }) { + const response = await this.paazl.getOrderShipmentDetails({ + $, + orderId: this.orderId, + shipmentId: this.shipmentId, + }); + + $.export("$summary", `Successfully retrieved shipment details for ${this.orderId}`); + return response; + }, +}; diff --git a/components/paazl/common/constants.mjs b/components/paazl/common/constants.mjs new file mode 100644 index 0000000000000..e54b6121932b9 --- /dev/null +++ b/components/paazl/common/constants.mjs @@ -0,0 +1,32 @@ +export const COUNTRY_OPTIONS = [ + "NL", + "DE", + "BE", + "FR", + "GB", + "ES", + "IT", + "AT", + "CH", + "DK", + "NO", + "SE", + "FI", + "PL", + "CZ", + "HU", + "SK", + "SI", + "HR", + "RO", + "BG", + "GR", + "PT", + "IE", + "LU", + "EE", + "LV", + "LT", + "MT", + "CY", +]; diff --git a/components/paazl/common/utils.mjs b/components/paazl/common/utils.mjs new file mode 100644 index 0000000000000..dcc9cc61f6f41 --- /dev/null +++ b/components/paazl/common/utils.mjs @@ -0,0 +1,24 @@ +export const parseObject = (obj) => { + if (!obj) return undefined; + + if (Array.isArray(obj)) { + return obj.map((item) => { + if (typeof item === "string") { + try { + return JSON.parse(item); + } catch (e) { + return item; + } + } + return item; + }); + } + if (typeof obj === "string") { + try { + return JSON.parse(obj); + } catch (e) { + return obj; + } + } + return obj; +}; diff --git a/components/paazl/package.json b/components/paazl/package.json index b65f780294e92..25fd793bc670a 100644 --- a/components/paazl/package.json +++ b/components/paazl/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/paazl", - "version": "0.0.1", + "version": "0.1.0", "description": "Pipedream Paazl Components", "main": "paazl.app.mjs", "keywords": [ @@ -11,5 +11,8 @@ "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.1.0" } -} \ No newline at end of file +} From 7a7e49b3aa2c51e5d48fc86449d779c2d5b30730 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 12:40:59 -0300 Subject: [PATCH 3/6] pnpm update --- pnpm-lock.yaml | 144 ++++++++++++++++++++----------------------------- 1 file changed, 58 insertions(+), 86 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6cfe55f75d257..988283fc916ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2044,8 +2044,7 @@ importers: specifier: ^3.0.0 version: 3.0.3 - components/buddee: - specifiers: {} + components/buddee: {} components/buddy: {} @@ -10130,7 +10129,11 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/paazl: {} + components/paazl: + dependencies: + '@pipedream/platform': + specifier: ^3.1.0 + version: 3.1.0 components/paddle: {} @@ -16758,7 +16761,7 @@ importers: version: 3.1.7 ts-jest: specifier: ^29.2.5 - version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2) + version: 29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2) tsup: specifier: ^8.3.6 version: 8.3.6(@microsoft/api-extractor@7.47.12(@types/node@20.17.30))(jiti@2.4.2)(postcss@8.5.6)(tsx@4.19.4)(typescript@5.7.2)(yaml@2.8.0) @@ -16801,7 +16804,7 @@ importers: version: 3.1.0 jest: specifier: ^29.1.2 - version: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + version: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) type-fest: specifier: ^4.15.0 version: 4.27.0 @@ -37047,7 +37050,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37061,7 +37064,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37082,7 +37085,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37096,7 +37099,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37117,7 +37120,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37131,7 +37134,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -43094,13 +43097,13 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -43109,13 +43112,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -43124,13 +43127,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): + create-jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -46832,16 +46835,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46851,16 +46854,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46870,16 +46873,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): + jest-cli@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + create-jest: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46889,7 +46892,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46915,12 +46918,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@20.17.30)(typescript@5.7.2) + ts-node: 10.9.2(@types/node@20.17.30)(typescript@3.9.10) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46946,12 +46949,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@20.17.30)(typescript@5.7.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46977,7 +46980,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@24.0.10)(typescript@3.9.10) + ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -47013,37 +47016,6 @@ snapshots: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): - dependencies: - '@babel/core': 7.26.0 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0(babel-plugin-macros@3.1.0) - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.8 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 24.0.10 - ts-node: 10.9.2(@types/node@24.0.10)(typescript@3.9.10) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - jest-diff@27.5.1: dependencies: chalk: 4.1.2 @@ -47275,36 +47247,36 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros - supports-color - ts-node - jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros - supports-color - ts-node - jest@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): + jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) + jest-cli: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -52781,7 +52753,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2): + ts-jest@29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 @@ -52795,10 +52767,10 @@ snapshots: typescript: 5.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.26.0 + '@babel/core': 8.0.0-alpha.13 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) + babel-jest: 29.7.0(@babel/core@8.0.0-alpha.13) ts-jest@29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)))(typescript@5.6.3): dependencies: @@ -52819,7 +52791,7 @@ snapshots: '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@8.0.0-alpha.13) - ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2): + ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -52833,45 +52805,45 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.7.2 + typescript: 3.9.10 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3): + ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.17.6 + '@types/node': 20.17.30 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10): + ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 24.0.10 + '@types/node': 20.17.6 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 3.9.10 + typescript: 5.6.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true From c7883f969269a50e7a88383f4b23a3ad737ff478 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 12:42:09 -0300 Subject: [PATCH 4/6] pnpm update --- pnpm-lock.yaml | 135 ++++++++++++++++++++++++++++++------------------- 1 file changed, 83 insertions(+), 52 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 988283fc916ed..e7111c308d914 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16761,7 +16761,7 @@ importers: version: 3.1.7 ts-jest: specifier: ^29.2.5 - version: 29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2) + version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2) tsup: specifier: ^8.3.6 version: 8.3.6(@microsoft/api-extractor@7.47.12(@types/node@20.17.30))(jiti@2.4.2)(postcss@8.5.6)(tsx@4.19.4)(typescript@5.7.2)(yaml@2.8.0) @@ -16804,7 +16804,7 @@ importers: version: 3.1.0 jest: specifier: ^29.1.2 - version: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + version: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) type-fest: specifier: ^4.15.0 version: 4.27.0 @@ -37050,7 +37050,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37064,7 +37064,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37085,7 +37085,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37099,7 +37099,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37120,7 +37120,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37134,7 +37134,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -43097,13 +43097,13 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): + create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -43112,13 +43112,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + create-jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -43127,13 +43127,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + create-jest@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -46835,16 +46835,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): + jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46854,16 +46854,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest-cli@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + create-jest: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46873,16 +46873,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest-cli@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + create-jest: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -46892,7 +46892,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46918,12 +46918,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@20.17.30)(typescript@3.9.10) + ts-node: 10.9.2(@types/node@20.17.30)(typescript@5.7.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46949,12 +46949,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@20.17.30)(typescript@5.7.2) + ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.3) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest-config@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -46980,7 +46980,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.17.30 - ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@24.0.10)(typescript@3.9.10) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -47016,6 +47016,37 @@ snapshots: - babel-plugin-macros - supports-color + jest-config@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): + dependencies: + '@babel/core': 7.26.0 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.0) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0(babel-plugin-macros@3.1.0) + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 24.0.10 + ts-node: 10.9.2(@types/node@24.0.10)(typescript@3.9.10) + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + jest-diff@27.5.1: dependencies: chalk: 4.1.2 @@ -47247,36 +47278,36 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)): + jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10)) + jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros - supports-color - ts-node - jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)): + jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)) + jest-cli: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros - supports-color - ts-node - jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)): + jest@29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)) + jest-cli: 29.7.0(@types/node@24.0.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -52753,7 +52784,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2): + ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.30)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2)))(typescript@5.7.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 @@ -52767,10 +52798,10 @@ snapshots: typescript: 5.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 8.0.0-alpha.13 + '@babel/core': 7.26.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@8.0.0-alpha.13) + babel-jest: 29.7.0(@babel/core@7.26.0) ts-jest@29.2.5(@babel/core@8.0.0-alpha.13)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-alpha.13))(jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3)))(typescript@5.6.3): dependencies: @@ -52791,7 +52822,7 @@ snapshots: '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@8.0.0-alpha.13) - ts-node@10.9.2(@types/node@20.17.30)(typescript@3.9.10): + ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -52805,45 +52836,45 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 3.9.10 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@20.17.30)(typescript@5.7.2): + ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.17.30 + '@types/node': 20.17.6 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.7.2 + typescript: 5.6.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3): + ts-node@10.9.2(@types/node@24.0.10)(typescript@3.9.10): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.17.6 + '@types/node': 24.0.10 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 3.9.10 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true From d341fdbb18f2b423aefc4b9faaed4139dd9d68ea Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 17:10:32 -0300 Subject: [PATCH 5/6] Update components/paazl/paazl.app.mjs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- components/paazl/paazl.app.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/paazl/paazl.app.mjs b/components/paazl/paazl.app.mjs index e845984a6f3f8..61b4f1e147030 100644 --- a/components/paazl/paazl.app.mjs +++ b/components/paazl/paazl.app.mjs @@ -46,7 +46,6 @@ export default { headers: this._headers(), ...opts, }; - console.log("config: ", config); return axios($, config); }, getOrderShipments({ From 00d0e12427af9f1a89dfa0a35eb7efd18ab280d6 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 2 Sep 2025 17:13:50 -0300 Subject: [PATCH 6/6] Refactor create-order and create-shipment actions - Changed consigneeCompanyName type from "object" to "string" in create-order action. - Added a configuration error check in create-shipment action to ensure 'quantity' and 'parcels' parameters are mutually exclusive. --- components/paazl/actions/create-order/create-order.mjs | 2 +- .../paazl/actions/create-shipment/create-shipment.mjs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/paazl/actions/create-order/create-order.mjs b/components/paazl/actions/create-order/create-order.mjs index 72da6f646f0f8..690528d6ea596 100644 --- a/components/paazl/actions/create-order/create-order.mjs +++ b/components/paazl/actions/create-order/create-order.mjs @@ -18,7 +18,7 @@ export default { optional: true, }, consigneeCompanyName: { - type: "object", + type: "string", label: "Consignee - Company Name", description: "The name of a company to which an order is shipped.", optional: true, diff --git a/components/paazl/actions/create-shipment/create-shipment.mjs b/components/paazl/actions/create-shipment/create-shipment.mjs index ce667be1b7eeb..8f14615bf0701 100644 --- a/components/paazl/actions/create-shipment/create-shipment.mjs +++ b/components/paazl/actions/create-shipment/create-shipment.mjs @@ -1,3 +1,4 @@ +import { ConfigurationError } from "@pipedream/platform"; import { parseObject } from "../../common/utils.mjs"; import paazl from "../../paazl.app.mjs"; @@ -41,7 +42,7 @@ export default { quantity: { type: "integer", label: "Quantity", - description: " If quantity == 1 -> one extra label is generated. The default quantity value == 1. If quantity > 1 , extra labels are generated. It replaces packageCount in the POST order, if set. Extra labels are generated under 1 new shipment for each label. Mutually exclusive with `parcels`.", + description: "If quantity == 1 -> one extra label is generated. The default quantity value == 1. If quantity > 1 , extra labels are generated. It replaces packageCount in the POST order, if set. Extra labels are generated under 1 new shipment for each label. Mutually exclusive with `parcels`.", optional: true, }, parcels: { @@ -52,6 +53,9 @@ export default { }, }, async run({ $ }) { + if (this.quantity && this.parcels) { + throw new ConfigurationError("The 'quantity' and 'parcels' parameters are mutually exclusive. Please provide only one."); + } const response = await this.paazl.createShipment({ $, orderId: this.orderId,