@gofynd/fdk-client-javascript 1.4.15-beta.5 → 1.4.15-beta.7

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
@@ -237,7 +237,7 @@ console.log("Active Theme: ", response.information.name);
237
237
  The above code will log the curl command in the console
238
238
 
239
239
  ```bash
240
- curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.15-beta.5' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
240
+ curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.15-beta.7' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
241
241
  Active Theme: Emerge
242
242
  ```
243
243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gofynd/fdk-client-javascript",
3
- "version": "1.4.15-beta.5",
3
+ "version": "1.4.15-beta.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -245,7 +245,7 @@ declare class Serviceability {
245
245
  * @summary: Get zones
246
246
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
247
247
  */
248
- getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
248
+ getZones({ pageNo, pageSize, isActive, applicationIds, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
249
249
  /**
250
250
  * @param {ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam} arg
251
251
  * - Arg object
@@ -1728,7 +1728,7 @@ class Serviceability {
1728
1728
  pageNo,
1729
1729
  pageSize,
1730
1730
  isActive,
1731
- channelId,
1731
+ applicationIds,
1732
1732
  q,
1733
1733
  countryIsoCode,
1734
1734
  state,
@@ -1744,7 +1744,7 @@ class Serviceability {
1744
1744
  pageNo,
1745
1745
  pageSize,
1746
1746
  isActive,
1747
- channelId,
1747
+ applicationIds,
1748
1748
  q,
1749
1749
  countryIsoCode,
1750
1750
  state,
@@ -1766,7 +1766,7 @@ class Serviceability {
1766
1766
  pageNo,
1767
1767
  pageSize,
1768
1768
  isActive,
1769
- channelId,
1769
+ applicationIds,
1770
1770
  q,
1771
1771
  countryIsoCode,
1772
1772
  state,
@@ -1787,7 +1787,7 @@ class Serviceability {
1787
1787
  query_params["page_no"] = pageNo;
1788
1788
  query_params["page_size"] = pageSize;
1789
1789
  query_params["is_active"] = isActive;
1790
- query_params["channel_id"] = channelId;
1790
+ query_params["application_ids"] = applicationIds;
1791
1791
  query_params["q"] = q;
1792
1792
  query_params["country_iso_code"] = countryIsoCode;
1793
1793
  query_params["state"] = state;
@@ -112,7 +112,7 @@ export = ServiceabilityPlatformValidator;
112
112
  * @property {number} [pageNo] - Index of the item to start returning with
113
113
  * @property {number} [pageSize] - Determines the items to be displayed in a page
114
114
  * @property {boolean} [isActive] - Status of Zone (either active or inactive)
115
- * @property {string} [channelId] - Zones filtered by an application
115
+ * @property {string} [applicationIds] - Zones filtered by applications
116
116
  * @property {string} [q] - Search with name as a free text
117
117
  * @property {string} [countryIsoCode] - ISO2 code of the country
118
118
  * @property {string} [state] - State name
@@ -451,9 +451,9 @@ type GetZonesParam = {
451
451
  */
452
452
  isActive?: boolean;
453
453
  /**
454
- * - Zones filtered by an application
454
+ * - Zones filtered by applications
455
455
  */
456
- channelId?: string;
456
+ applicationIds?: string;
457
457
  /**
458
458
  * - Search with name as a free text
459
459
  */
@@ -134,7 +134,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
134
134
  * @property {number} [pageNo] - Index of the item to start returning with
135
135
  * @property {number} [pageSize] - Determines the items to be displayed in a page
136
136
  * @property {boolean} [isActive] - Status of Zone (either active or inactive)
137
- * @property {string} [channelId] - Zones filtered by an application
137
+ * @property {string} [applicationIds] - Zones filtered by applications
138
138
  * @property {string} [q] - Search with name as a free text
139
139
  * @property {string} [countryIsoCode] - ISO2 code of the country
140
140
  * @property {string} [state] - State name
@@ -354,7 +354,7 @@ class ServiceabilityPlatformValidator {
354
354
  pageNo: Joi.number(),
355
355
  pageSize: Joi.number(),
356
356
  isActive: Joi.boolean(),
357
- channelId: Joi.string().allow(""),
357
+ applicationIds: Joi.string().allow(""),
358
358
  q: Joi.string().allow(""),
359
359
  countryIsoCode: Joi.string().allow(""),
360
360
  state: Joi.string().allow(""),