@crmcom/self-service-sdk 3.0.0-build.32 → 3.0.0-build.34

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/index.d.ts CHANGED
@@ -369,7 +369,7 @@ export declare const subscriptions: {
369
369
  updateSubscription(params?: { action?: string; payment_method_id?: string; billing_day?: number; funding_source?: string }, id?: string): Promise<SDKResult>;
370
370
  getServiceRescommendation(params: Record<string, any>): Promise<SDKResult>;
371
371
  getSubscriptionAction(params: { action_id: string }): Promise<SDKResult>;
372
- listSubscriptionActions(params?: PaginationParams & { cancelled_on?: string; cancelled_on_gt?: string; cancelled_on_gte?: string; cancelled_on_lt?: string; cancelled_on_lte?: string; scheduled_on?: string; scheduled_on_gt?: string; scheduled_on_gte?: string; scheduled_on_lt?: string; scheduled_on_lte?: string; state?: string; subscription_id?: string; behaviour_code?: string; business_classification_code?: string }): Promise<SDKResult>;
372
+ listSubscriptionActions(params?: PaginationParams & { contact_id?: string; is_scheduled?: boolean; service_id?: string; subscription_id?: string; behaviour_code?: string; business_classification_code?: string }): Promise<SDKResult>;
373
373
  };
374
374
 
375
375
  // ============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crmcom/self-service-sdk",
3
- "version": "3.0.0-build.32",
3
+ "version": "3.0.0-build.34",
4
4
  "description": "Official CRM.COM Self-Service JavaScript SDK for consumer-facing API integration",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/subscriptions.js CHANGED
@@ -440,7 +440,6 @@ async function listSubscriptionActions({
440
440
  is_scheduled,
441
441
  service_id,
442
442
  subscription_id,
443
- subscription_id,
444
443
  } = {}) {
445
444
  try {
446
445
  if (!contact_id) contact_id = await httpUtil.getSession().sub;