@experian-ecs/connected-api-sdk 1.0.1 → 1.1.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.
package/README.md CHANGED
@@ -479,6 +479,12 @@ If using the sdk in the browser the `auth.getAccessToken` method will throw an e
479
479
  await sdk.entitlements.activateEntitlement({ entitlement_id: '' });
480
480
  ```
481
481
 
482
+ * #### Deactivate an exisiting entitlement
483
+
484
+ ```tsx
485
+ await sdk.entitlements.deactivateEntitlement({ entitlement_id: '' });
486
+ ```
487
+
482
488
  * #### Entitle customer to a new product
483
489
 
484
490
  ```tsx
@@ -498,6 +504,24 @@ If using the sdk in the browser the `auth.getAccessToken` method will throw an e
498
504
  });
499
505
  ```
500
506
 
507
+ * #### Deactivate a product already entitled to a customer
508
+
509
+ ```tsx
510
+ await sdk.entitlements.deactivateProduct({
511
+ product_config_id: 'procfg_01',
512
+ entitlement_id: 'ent_01'
513
+ });
514
+ ```
515
+
516
+ * #### Remove a product entitled to a customer
517
+
518
+ ```tsx
519
+ await sdk.entitlements.removeProductFromEntitlement({
520
+ product_config_id: 'procfg_01',
521
+ entitlement_id: 'ent_01'
522
+ });
523
+ ```
524
+
501
525
  * #### Get the eligibility status for an existing product entitled to a customer
502
526
 
503
527
  ```tsx