@crmcom/self-service-sdk 3.0.0-build.16 → 3.0.0-build.25

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 +2 -2
  2. package/subscriptions.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crmcom/self-service-sdk",
3
- "version": "3.0.0-build.16",
3
+ "version": "3.0.0-build.25",
4
4
  "description": "Official CRM.COM Self-Service JavaScript SDK for consumer-facing API integration",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -58,6 +58,6 @@
58
58
  },
59
59
  "repository": {
60
60
  "type": "git",
61
- "url": "https://bitbucket.org/nicostella/shared_libs_v2.git"
61
+ "url": "https://bitbucket.org/crmcom5/shared_libs_v2.git"
62
62
  }
63
63
  }
package/subscriptions.js CHANGED
@@ -345,7 +345,9 @@ async function getServiceRescommendation({
345
345
  service_id,
346
346
  size = 10,
347
347
  sort,
348
- subscription_id
348
+ subscription_id,
349
+ billing_period_duration,
350
+ billing_period_uot
349
351
  }) {
350
352
  try {
351
353
  //console.log('API: ', contact)
@@ -366,6 +368,8 @@ async function getServiceRescommendation({
366
368
  size,
367
369
  sort,
368
370
  subscription_id,
371
+ billing_period_duration,
372
+ billing_period_uot
369
373
  },
370
374
  });
371
375
  //check return code here instead of put as there would be different intepretation for different API