@cloudcommerce/api 2.12.1 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.12.1",
4
+ "version": "2.13.0",
5
5
  "description": "e-com.plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
package/types.d.ts CHANGED
@@ -369,7 +369,7 @@ type EventsResult<TEndpoint extends EventsEndpoint> = {
369
369
  resource?: string,
370
370
  authentication_id?: ResourceId | null,
371
371
  resource_id?: ResourceId,
372
- action: string,
372
+ action: 'create' | 'update' | 'delete',
373
373
  modified_fields: string[],
374
374
  method?: number | undefined,
375
375
  endpoint?: string,