Skip to content

Commit

Permalink
feat: update triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Feb 26, 2025
1 parent efddfb7 commit 7a515df
Show file tree
Hide file tree
Showing 4 changed files with 765 additions and 695 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ _See code: [src/commands/orders/customer_payment_source_id.ts](https://github.co

### `commercelayer orders:fix_payment_source ID`

Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.
Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.

```sh-session
USAGE
Expand All @@ -372,14 +372,15 @@ FLAGS

DESCRIPTION
Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end
of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.
of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source
is done before approval automatically. Cannot be passed by sales channels.
```

_See code: [src/commands/orders/fix_payment_source.ts](https://github.com/commercelayer/commercelayer-cli-plugin-orders/blob/main/src/commands/orders/fix_payment_source.ts)_

### `commercelayer orders:fulfill ID`

Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.
Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.

```sh-session
USAGE
Expand All @@ -394,8 +395,8 @@ FLAGS
-u, --unformatted print JSON output without indentation

DESCRIPTION
Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered).
Cannot be passed by sales channels.
Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered,
alternatively order must be approved). Cannot be passed by sales channels.
```

_See code: [src/commands/orders/fulfill.ts](https://github.com/commercelayer/commercelayer-cli-plugin-orders/blob/main/src/commands/orders/fulfill.ts)_
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,30 @@
"devDependencies": {
"@commercelayer/cli-dev": "^3.0.7",
"@commercelayer/eslint-config-ts": "^1.4.5",
"@oclif/plugin-help": "^6.2.23",
"@oclif/plugin-help": "^6.2.26",
"@oclif/test": "^3.2.15",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.20",
"@types/inquirer": "^8.2.10",
"@types/lodash.snakecase": "^4.1.9",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.16",
"@types/node": "^20.17.19",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"inflector-js": "^1.0.1",
"lodash.snakecase": "^4.1.1",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"oclif": "^4.17.21",
"oclif": "^4.17.32",
"semantic-release": "^23.1.1",
"tsx": "^4.19.2",
"tsx": "^4.19.3",
"typescript": "5.3.3"
},
"dependencies": {
"@commercelayer/cli-core": "^5.7.2",
"@commercelayer/cli-core": "^5.8.1",
"@commercelayer/cli-ux": "1.0.6",
"@commercelayer/sdk": "^6.30.0",
"@commercelayer/sdk": "^6.34.0",
"@oclif/core": "^3.27.0",
"inquirer": "^8.2.6",
"tslib": "^2.8.1"
Expand Down
Loading

0 comments on commit 7a515df

Please sign in to comment.