ToolJet/marketplace/plugins/ups/package.json
Priyansh Rai a503443cfd
Feat: Add the UPS plugin to marketplace (#13805)
* ee commit

* merge commit

* feat: updated openapi operation component

* updated query operation sepctype

* feat(ups): add UPS datasource integration with OAuth token generation and API operations

- Implemented the main UPS class for handling API requests and responses.
- Added manifest.json to define the UPS datasource schema and options.
- Created operations.json to specify available UPS API operations using OpenAPI Spec files.
- Defined types for source options, query options, and OpenAPI operations in types.ts.
- Updated plugins.json to include the new UPS integration with metadata.

* fix(ups): standardize error messages for query completion failures

* refactor(ups): replace environment option with base_url for UPS datasource

* refactor(DyamicForm): update label from 'Spec Type' to 'Entity' for clarity

* feat(DynamicForm): select the first operation by default in ApiEndpointInput.jsx

* feat(ups): integrate 'got' for HTTP requests and improve error handling

* fix(ups): replace btoa with Buffer for base64 encoding in authorization header

* feat(ups): enhance testConnection method with error handling and HTTP request using 'got'

* refactor(ups): streamline error handling in run and testConnection methods

* chore(theme): update datasource icon styling to match sizes for marketplace plugins

* fix(ups): enhance error handling in testConnection function to improve UX on the config page

* fix(DynamicForm): initialize computedProps for new data sources; fix unresponsive cancel button for encrypted fields

* Revert "feat(DynamicForm): select the first operation by default in ApiEndpointInput.jsx"

This reverts commit 5d940ceaca.

* fix(manifest): correct label casing for base_url and client_id properties

* fix(Ups): conditionally set Content-Type header based on request method

* fix(DataSourceManager): adjust padding for selected data source images and add targeted class for better scoping

* fix(Ups): update OAuth token request to use form data and set response type to JSON

* fix(Ups): set response type to JSON and adjust response data handling

* fix(UPS): fix unresponsive edit/cancel button on encrypted fields

* Revert "fix(DynamicForm): initialize computedProps for new data sources; fix unresponsive cancel button for encrypted fields"

This reverts commit 8e1b160588.

* fix(ApiEndpointInput): revert operation validation changes

---------

Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
2025-08-14 18:17:49 +05:30

27 lines
631 B
JSON

{
"name": "@tooljet-marketplace/ups",
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"build": "ncc build lib/index.ts -o dist",
"watch": "ncc build lib/index.ts -o dist --watch"
},
"homepage": "https://github.com/tooljet/tooljet#readme",
"dependencies": {
"@tooljet-marketplace/common": "^1.0.0",
"got": "^14.4.7"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0",
"typescript": "^4.7.4"
}
}