@gofynd/fdk-client-javascript 3.17.1 → 3.17.2

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
@@ -234,7 +234,7 @@ console.log("Active Theme: ", response.information.name);
234
234
  The above code will log the curl command in the console
235
235
 
236
236
  ```bash
237
- curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.17.1' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
237
+ curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.17.2' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
238
238
  Active Theme: Emerge
239
239
  ```
240
240
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gofynd/fdk-client-javascript",
3
- "version": "3.17.1",
3
+ "version": "3.17.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -49,6 +49,7 @@ export namespace AVAILABLE_PAGE_TYPE {
49
49
  const LOCATE_US: string;
50
50
  const SINGLE_PAGE_CHECKOUT: string;
51
51
  const REQUEST_REATTEMPT: string;
52
+ const FILES: string;
52
53
  }
53
54
  export const NAVIGATORS: {
54
55
  "about-us": {
@@ -315,4 +316,12 @@ export const NAVIGATORS: {
315
316
  required: boolean;
316
317
  }[];
317
318
  };
319
+ files: {
320
+ name: string;
321
+ link: string;
322
+ params: {
323
+ key: string;
324
+ required: boolean;
325
+ }[];
326
+ };
318
327
  };
@@ -49,6 +49,7 @@ const AVAILABLE_PAGE_TYPE = {
49
49
  LOCATE_US: "locate-us",
50
50
  SINGLE_PAGE_CHECKOUT: "single-page-checkout",
51
51
  REQUEST_REATTEMPT: "request-reattempt",
52
+ FILES: "files",
52
53
  };
53
54
 
54
55
  Object.freeze(AVAILABLE_PAGE_TYPE);
@@ -350,6 +351,16 @@ const NAVIGATORS = {
350
351
  },
351
352
  ],
352
353
  },
354
+ files: {
355
+ name: "Files",
356
+ link: "/files/:file_name",
357
+ params: [
358
+ {
359
+ key: "file_name",
360
+ required: true,
361
+ },
362
+ ],
363
+ },
353
364
  };
354
365
 
355
366
  module.exports = {
@@ -675,7 +675,8 @@ export = ThemePartnerModel;
675
675
  * | "order-status"
676
676
  * | "locate-us"
677
677
  * | "single-page-checkout"
678
- * | "request-reattempt"} PageType
678
+ * | "request-reattempt"
679
+ * | "files"} PageType
679
680
  */
680
681
  declare class ThemePartnerModel {
681
682
  }
@@ -1897,4 +1898,4 @@ type ActionPage = {
1897
1898
  * @returns {PageType}
1898
1899
  */
1899
1900
  declare function PageType(): PageType;
1900
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";
1901
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
@@ -767,7 +767,8 @@ const Joi = require("joi");
767
767
  * | "order-status"
768
768
  * | "locate-us"
769
769
  * | "single-page-checkout"
770
- * | "request-reattempt"} PageType
770
+ * | "request-reattempt"
771
+ * | "files"} PageType
771
772
  */
772
773
 
773
774
  class ThemePartnerModel {
@@ -1780,7 +1781,9 @@ class ThemePartnerModel {
1780
1781
 
1781
1782
  "single-page-checkout",
1782
1783
 
1783
- "request-reattempt"
1784
+ "request-reattempt",
1785
+
1786
+ "files"
1784
1787
  );
1785
1788
  }
1786
1789
  }
@@ -4930,7 +4930,8 @@ export = CatalogPlatformModel;
4930
4930
  * | "order-status"
4931
4931
  * | "locate-us"
4932
4932
  * | "single-page-checkout"
4933
- * | "request-reattempt"} PageType
4933
+ * | "request-reattempt"
4934
+ * | "files"} PageType
4934
4935
  */
4935
4936
  declare class CatalogPlatformModel {
4936
4937
  }
@@ -15437,4 +15438,4 @@ type HsTypeEnum = "HS" | "SAC";
15437
15438
  * @returns {PageType}
15438
15439
  */
15439
15440
  declare function PageType(): PageType;
15440
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";
15441
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
@@ -5411,7 +5411,8 @@ const Joi = require("joi");
5411
5411
  * | "order-status"
5412
5412
  * | "locate-us"
5413
5413
  * | "single-page-checkout"
5414
- * | "request-reattempt"} PageType
5414
+ * | "request-reattempt"
5415
+ * | "files"} PageType
5415
5416
  */
5416
5417
 
5417
5418
  class CatalogPlatformModel {
@@ -11261,7 +11262,9 @@ class CatalogPlatformModel {
11261
11262
 
11262
11263
  "single-page-checkout",
11263
11264
 
11264
- "request-reattempt"
11265
+ "request-reattempt",
11266
+
11267
+ "files"
11265
11268
  );
11266
11269
  }
11267
11270
  }
@@ -662,6 +662,8 @@ export = CommunicationPlatformModel;
662
662
  * @property {SendOtpCommsReqData} [data]
663
663
  * @property {SendOtpCommsReqSms} [sms]
664
664
  * @property {SendOtpCommsReqEmail} [email]
665
+ * @property {Object} [additional_variables] - Additional data in key-value
666
+ * format where values can be of any type
665
667
  */
666
668
  /**
667
669
  * @typedef SendOtpCommsRes
@@ -1708,6 +1710,11 @@ type SendOtpCommsReq = {
1708
1710
  data?: SendOtpCommsReqData;
1709
1711
  sms?: SendOtpCommsReqSms;
1710
1712
  email?: SendOtpCommsReqEmail;
1713
+ /**
1714
+ * - Additional data in key-value
1715
+ * format where values can be of any type
1716
+ */
1717
+ additional_variables?: any;
1711
1718
  };
1712
1719
  /** @returns {SendOtpCommsRes} */
1713
1720
  declare function SendOtpCommsRes(): SendOtpCommsRes;
@@ -757,6 +757,8 @@ const Joi = require("joi");
757
757
  * @property {SendOtpCommsReqData} [data]
758
758
  * @property {SendOtpCommsReqSms} [sms]
759
759
  * @property {SendOtpCommsReqEmail} [email]
760
+ * @property {Object} [additional_variables] - Additional data in key-value
761
+ * format where values can be of any type
760
762
  */
761
763
 
762
764
  /**
@@ -1992,6 +1994,7 @@ class CommunicationPlatformModel {
1992
1994
  data: CommunicationPlatformModel.SendOtpCommsReqData(),
1993
1995
  sms: CommunicationPlatformModel.SendOtpCommsReqSms(),
1994
1996
  email: CommunicationPlatformModel.SendOtpCommsReqEmail(),
1997
+ additional_variables: Joi.object().pattern(/\S/, Joi.any()),
1995
1998
  });
1996
1999
  }
1997
2000
 
@@ -269,8 +269,8 @@ export = ContentPlatformApplicationValidator;
269
269
  /** @typedef GetDefaultNavigationsParam */
270
270
  /**
271
271
  * @typedef GetDefaultSEOMarkupSchemaParam
272
- * @property {string} [pageType] - The type of page against which schema
273
- * template was created
272
+ * @property {ContentPlatformModel.PageType} [pageType] - The type of page
273
+ * against which schema template was created
274
274
  */
275
275
  /**
276
276
  * @typedef GetFaqByIdOrSlugParam
@@ -1023,10 +1023,10 @@ type GetDataLoadersByServiceParam = {
1023
1023
  };
1024
1024
  type GetDefaultSEOMarkupSchemaParam = {
1025
1025
  /**
1026
- * - The type of page against which schema
1027
- * template was created
1026
+ * - The type of page
1027
+ * against which schema template was created
1028
1028
  */
1029
- pageType?: string;
1029
+ pageType?: ContentPlatformModel.PageType;
1030
1030
  };
1031
1031
  type GetFaqByIdOrSlugParam = {
1032
1032
  /**
@@ -330,8 +330,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
330
330
 
331
331
  /**
332
332
  * @typedef GetDefaultSEOMarkupSchemaParam
333
- * @property {string} [pageType] - The type of page against which schema
334
- * template was created
333
+ * @property {ContentPlatformModel.PageType} [pageType] - The type of page
334
+ * against which schema template was created
335
335
  */
336
336
 
337
337
  /**
@@ -1059,7 +1059,7 @@ class ContentPlatformApplicationValidator {
1059
1059
  /** @returns {GetDefaultSEOMarkupSchemaParam} */
1060
1060
  static getDefaultSEOMarkupSchema() {
1061
1061
  return Joi.object({
1062
- pageType: Joi.string().allow(""),
1062
+ pageType: ContentPlatformModel.PageType(),
1063
1063
  }).required();
1064
1064
  }
1065
1065
 
@@ -86,7 +86,7 @@ export = ContentPlatformModel;
86
86
  * @typedef SEOSchemaMarkupTemplate
87
87
  * @property {string} [id]
88
88
  * @property {string} [title]
89
- * @property {string} [page_type]
89
+ * @property {PageType} [page_type]
90
90
  * @property {string} [schema]
91
91
  * @property {string} [description]
92
92
  * @property {boolean} [active]
@@ -98,7 +98,7 @@ export = ContentPlatformModel;
98
98
  /**
99
99
  * @typedef SEOSchemaMarkupTemplateRequestBody
100
100
  * @property {string} [title]
101
- * @property {string} [page_type]
101
+ * @property {PageType} [page_type]
102
102
  * @property {string} [schema]
103
103
  * @property {string} [description]
104
104
  * @property {Object} [target_json]
@@ -143,7 +143,7 @@ export = ContentPlatformModel;
143
143
  */
144
144
  /**
145
145
  * @typedef DefaultSEOSchemaMarkupTemplate
146
- * @property {string} [page_type]
146
+ * @property {PageType} [page_type]
147
147
  * @property {string} [schema]
148
148
  * @property {Object} [target_json]
149
149
  */
@@ -1623,7 +1623,8 @@ export = ContentPlatformModel;
1623
1623
  * | "order-status"
1624
1624
  * | "locate-us"
1625
1625
  * | "single-page-checkout"
1626
- * | "request-reattempt"} PageType
1626
+ * | "request-reattempt"
1627
+ * | "files"} PageType
1627
1628
  */
1628
1629
  declare class ContentPlatformModel {
1629
1630
  }
@@ -1736,7 +1737,7 @@ declare function SEOSchemaMarkupTemplate(): SEOSchemaMarkupTemplate;
1736
1737
  type SEOSchemaMarkupTemplate = {
1737
1738
  id?: string;
1738
1739
  title?: string;
1739
- page_type?: string;
1740
+ page_type?: PageType;
1740
1741
  schema?: string;
1741
1742
  description?: string;
1742
1743
  active?: boolean;
@@ -1749,7 +1750,7 @@ type SEOSchemaMarkupTemplate = {
1749
1750
  declare function SEOSchemaMarkupTemplateRequestBody(): SEOSchemaMarkupTemplateRequestBody;
1750
1751
  type SEOSchemaMarkupTemplateRequestBody = {
1751
1752
  title?: string;
1752
- page_type?: string;
1753
+ page_type?: PageType;
1753
1754
  schema?: string;
1754
1755
  description?: string;
1755
1756
  target_json?: any;
@@ -1800,7 +1801,7 @@ type DefaultSchemaComponent = {
1800
1801
  /** @returns {DefaultSEOSchemaMarkupTemplate} */
1801
1802
  declare function DefaultSEOSchemaMarkupTemplate(): DefaultSEOSchemaMarkupTemplate;
1802
1803
  type DefaultSEOSchemaMarkupTemplate = {
1803
- page_type?: string;
1804
+ page_type?: PageType;
1804
1805
  schema?: string;
1805
1806
  target_json?: any;
1806
1807
  };
@@ -4649,4 +4650,4 @@ type GenerationEntityType = "title" | "description";
4649
4650
  * @returns {PageType}
4650
4651
  */
4651
4652
  declare function PageType(): PageType;
4652
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";
4653
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
@@ -99,7 +99,7 @@ const Joi = require("joi");
99
99
  * @typedef SEOSchemaMarkupTemplate
100
100
  * @property {string} [id]
101
101
  * @property {string} [title]
102
- * @property {string} [page_type]
102
+ * @property {PageType} [page_type]
103
103
  * @property {string} [schema]
104
104
  * @property {string} [description]
105
105
  * @property {boolean} [active]
@@ -112,7 +112,7 @@ const Joi = require("joi");
112
112
  /**
113
113
  * @typedef SEOSchemaMarkupTemplateRequestBody
114
114
  * @property {string} [title]
115
- * @property {string} [page_type]
115
+ * @property {PageType} [page_type]
116
116
  * @property {string} [schema]
117
117
  * @property {string} [description]
118
118
  * @property {Object} [target_json]
@@ -163,7 +163,7 @@ const Joi = require("joi");
163
163
 
164
164
  /**
165
165
  * @typedef DefaultSEOSchemaMarkupTemplate
166
- * @property {string} [page_type]
166
+ * @property {PageType} [page_type]
167
167
  * @property {string} [schema]
168
168
  * @property {Object} [target_json]
169
169
  */
@@ -1825,7 +1825,8 @@ const Joi = require("joi");
1825
1825
  * | "order-status"
1826
1826
  * | "locate-us"
1827
1827
  * | "single-page-checkout"
1828
- * | "request-reattempt"} PageType
1828
+ * | "request-reattempt"
1829
+ * | "files"} PageType
1829
1830
  */
1830
1831
 
1831
1832
  class ContentPlatformModel {
@@ -1953,7 +1954,7 @@ class ContentPlatformModel {
1953
1954
  return Joi.object({
1954
1955
  id: Joi.string().allow(""),
1955
1956
  title: Joi.string().allow(""),
1956
- page_type: Joi.string().allow(""),
1957
+ page_type: ContentPlatformModel.PageType(),
1957
1958
  schema: Joi.string().allow(""),
1958
1959
  description: Joi.string().allow(""),
1959
1960
  active: Joi.boolean(),
@@ -1968,7 +1969,7 @@ class ContentPlatformModel {
1968
1969
  static SEOSchemaMarkupTemplateRequestBody() {
1969
1970
  return Joi.object({
1970
1971
  title: Joi.string().allow(""),
1971
- page_type: Joi.string().allow(""),
1972
+ page_type: ContentPlatformModel.PageType(),
1972
1973
  schema: Joi.string().allow(""),
1973
1974
  description: Joi.string().allow(""),
1974
1975
  target_json: Joi.object().pattern(/\S/, Joi.any()),
@@ -2033,7 +2034,7 @@ class ContentPlatformModel {
2033
2034
  /** @returns {DefaultSEOSchemaMarkupTemplate} */
2034
2035
  static DefaultSEOSchemaMarkupTemplate() {
2035
2036
  return Joi.object({
2036
- page_type: Joi.string().allow(""),
2037
+ page_type: ContentPlatformModel.PageType(),
2037
2038
  schema: Joi.string().allow(""),
2038
2039
  target_json: Joi.object().pattern(/\S/, Joi.any()),
2039
2040
  });
@@ -4064,7 +4065,9 @@ class ContentPlatformModel {
4064
4065
 
4065
4066
  "single-page-checkout",
4066
4067
 
4067
- "request-reattempt"
4068
+ "request-reattempt",
4069
+
4070
+ "files"
4068
4071
  );
4069
4072
  }
4070
4073
  }
@@ -85,7 +85,7 @@ declare class Order {
85
85
  * @returns {Promise<Object>} - Success response
86
86
  * @name createOrder
87
87
  * @summary: Create Order
88
- * @description: Creates an order in the OMS. Note: Use the Serviceability API (<a href='/commerce/sdk/latest/platform/company/serviceability#createShipments'>createShipments</a>) to determine shipments before creating an order. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/createOrder/).
88
+ * @description: Creates an order in the OMS. Use the (<a href='https://docs.fynd.com/partners/commerce/sdk/latest/platform/application/serviceability#createShipments'>createShipments API</a>) to determine shipments before creating an order. Click <a href='https://docs.fynd.com/partners/commerce/miscellaneous/createOrder-useCases'>here</a> to get the use case details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/createOrder/).
89
89
  */
90
90
  createOrder({ xOrderingSource, body, xApplicationId, xExtensionId, requestHeaders }?: OrderPlatformValidator.CreateOrderParam, { responseHeaders }?: object): Promise<any>;
91
91
  /**
@@ -604,7 +604,7 @@ class Order {
604
604
  * @returns {Promise<Object>} - Success response
605
605
  * @name createOrder
606
606
  * @summary: Create Order
607
- * @description: Creates an order in the OMS. Note: Use the Serviceability API (<a href='/commerce/sdk/latest/platform/company/serviceability#createShipments'>createShipments</a>) to determine shipments before creating an order. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/createOrder/).
607
+ * @description: Creates an order in the OMS. Use the (<a href='https://docs.fynd.com/partners/commerce/sdk/latest/platform/application/serviceability#createShipments'>createShipments API</a>) to determine shipments before creating an order. Click <a href='https://docs.fynd.com/partners/commerce/miscellaneous/createOrder-useCases'>here</a> to get the use case details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/createOrder/).
608
608
  */
609
609
  async createOrder(
610
610
  { xOrderingSource, body, xApplicationId, xExtensionId, requestHeaders } = {
@@ -603,7 +603,8 @@ export = ThemePlatformModel;
603
603
  * | "order-status"
604
604
  * | "locate-us"
605
605
  * | "single-page-checkout"
606
- * | "request-reattempt"} PageType
606
+ * | "request-reattempt"
607
+ * | "files"} PageType
607
608
  */
608
609
  declare class ThemePlatformModel {
609
610
  }
@@ -1666,4 +1667,4 @@ type ActionPage = {
1666
1667
  * @returns {PageType}
1667
1668
  */
1668
1669
  declare function PageType(): PageType;
1669
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";
1670
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
@@ -686,7 +686,8 @@ const Joi = require("joi");
686
686
  * | "order-status"
687
687
  * | "locate-us"
688
688
  * | "single-page-checkout"
689
- * | "request-reattempt"} PageType
689
+ * | "request-reattempt"
690
+ * | "files"} PageType
690
691
  */
691
692
 
692
693
  class ThemePlatformModel {
@@ -1598,7 +1599,9 @@ class ThemePlatformModel {
1598
1599
 
1599
1600
  "single-page-checkout",
1600
1601
 
1601
- "request-reattempt"
1602
+ "request-reattempt",
1603
+
1604
+ "files"
1602
1605
  );
1603
1606
  }
1604
1607
  }