@workbuddy/sdk-js-vnext 1.0.13 → 1.0.15

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 (3) hide show
  1. package/index.d.ts +19 -0
  2. package/index.js +4 -4
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2672,6 +2672,10 @@ export interface WorkBuddyJobsContactsDeleteParams extends WorkBuddyRequestParam
2672
2672
  }
2673
2673
 
2674
2674
  export interface WorkBuddyCrmCustomersListParams extends WorkBuddyRequestParams {
2675
+ /**
2676
+ * Search by name, phone, email or legal name
2677
+ */
2678
+ search?: string;
2675
2679
  /**
2676
2680
  * Filter by external integration identifier
2677
2681
  */
@@ -2848,6 +2852,11 @@ export interface WorkBuddyCrmEmployeesGetParams extends WorkBuddyRequestParams {
2848
2852
  }
2849
2853
 
2850
2854
  export interface WorkBuddyCrmContractorsListParams extends WorkBuddyRequestParams {
2855
+ /**
2856
+ * Search by name, phone, email or legal name
2857
+ */
2858
+ search?: string;
2859
+
2851
2860
  cursor?: string;
2852
2861
 
2853
2862
  limit?: number;
@@ -2992,6 +3001,11 @@ export interface WorkBuddyCrmContractorsStatusUpdateStatusParams extends WorkBud
2992
3001
  }
2993
3002
 
2994
3003
  export interface WorkBuddyCrmSuppliersListParams extends WorkBuddyRequestParams {
3004
+ /**
3005
+ * Search by name, phone, email or legal name
3006
+ */
3007
+ search?: string;
3008
+
2995
3009
  cursor?: string;
2996
3010
 
2997
3011
  limit?: number;
@@ -3142,6 +3156,11 @@ export interface WorkBuddyCrmSuppliersStatusUpdateStatusParams extends WorkBuddy
3142
3156
  }
3143
3157
 
3144
3158
  export interface WorkBuddyCrmCompaniesListParams extends WorkBuddyRequestParams {
3159
+ /**
3160
+ * Search by name, phone, email or legal name
3161
+ */
3162
+ search?: string;
3163
+
3145
3164
  cursor?: string;
3146
3165
 
3147
3166
  limit?: number;
package/index.js CHANGED
@@ -2494,7 +2494,7 @@ export const operations = [
2494
2494
  method: 'GET',
2495
2495
  path: '/customers',
2496
2496
  pathParams: [],
2497
- queryParams: ['integrationId', 'status', 'cursor', 'limit'],
2497
+ queryParams: ['search', 'integrationId', 'status', 'cursor', 'limit'],
2498
2498
  hasRequestBody: false,
2499
2499
  },
2500
2500
  {
@@ -2610,7 +2610,7 @@ export const operations = [
2610
2610
  method: 'GET',
2611
2611
  path: '/contractors',
2612
2612
  pathParams: [],
2613
- queryParams: ['cursor', 'limit'],
2613
+ queryParams: ['search', 'cursor', 'limit'],
2614
2614
  hasRequestBody: false,
2615
2615
  },
2616
2616
  {
@@ -2672,7 +2672,7 @@ export const operations = [
2672
2672
  method: 'GET',
2673
2673
  path: '/suppliers',
2674
2674
  pathParams: [],
2675
- queryParams: ['cursor', 'limit'],
2675
+ queryParams: ['search', 'cursor', 'limit'],
2676
2676
  hasRequestBody: false,
2677
2677
  },
2678
2678
  {
@@ -2734,7 +2734,7 @@ export const operations = [
2734
2734
  method: 'GET',
2735
2735
  path: '/companies',
2736
2736
  pathParams: [],
2737
- queryParams: ['cursor', 'limit'],
2737
+ queryParams: ['search', 'cursor', 'limit'],
2738
2738
  hasRequestBody: false,
2739
2739
  },
2740
2740
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",