@gofynd/fdk-store-gql 3.0.76 → 3.0.77-beta.1

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 (50) hide show
  1. package/.github/workflows/npm-publish.yml +12 -2
  2. package/azure-pipelines.yml +49 -6
  3. package/codegen.yml +1 -1
  4. package/github_app_jwt.txt +1 -1
  5. package/lib/graphql/mutations/applyCoupon.handler.d.ts +2 -2
  6. package/lib/graphql/mutations/applyCoupon.handler.js.map +1 -1
  7. package/lib/graphql/mutations/applyRewardPoints.handler.d.ts +2 -2
  8. package/lib/graphql/mutations/applyRewardPoints.handler.js.map +1 -1
  9. package/lib/graphql/mutations/index.js +0 -2
  10. package/lib/graphql/mutations/index.js.map +1 -1
  11. package/lib/graphql/mutations/removeCoupon.handler.d.ts +2 -2
  12. package/lib/graphql/mutations/removeCoupon.handler.js.map +1 -1
  13. package/lib/graphql/query/applicationConfiguration.handler.js +3 -3
  14. package/lib/graphql/query/applicationConfiguration.handler.js.map +1 -1
  15. package/lib/graphql/query/applicationContent.handler.js +1 -1
  16. package/lib/graphql/query/applicationContent.handler.js.map +1 -1
  17. package/lib/graphql/query/category.handler.d.ts +2 -2
  18. package/lib/graphql/query/category.handler.js.map +1 -1
  19. package/lib/graphql/query/order.handler.js +8 -0
  20. package/lib/graphql/query/order.handler.js.map +1 -1
  21. package/lib/helpers/FPI-events.js +19 -14
  22. package/lib/helpers/FPI-events.js.map +1 -1
  23. package/lib/store/modules/payment.d.ts +2 -0
  24. package/lib/store/modules/payment.js +7 -1
  25. package/lib/store/modules/payment.js.map +1 -1
  26. package/lib/store/slices/cart.d.ts +2 -2
  27. package/lib/store/slices/cart.js.map +1 -1
  28. package/lib/store/slices/category.d.ts +2 -2
  29. package/lib/store/slices/category.js.map +1 -1
  30. package/lib/store/slices/content.d.ts +2 -2
  31. package/lib/store/slices/content.js.map +1 -1
  32. package/lib/store/slices/payment.d.ts +20 -0
  33. package/lib/store/slices/payment.js +81 -1
  34. package/lib/store/slices/payment.js.map +1 -1
  35. package/lib/store/utils/gateways/razorpay.js +6 -0
  36. package/lib/store/utils/gateways/razorpay.js.map +1 -1
  37. package/lib/store/utils/payment.d.ts +12 -0
  38. package/lib/store/utils/payment.js +160 -4
  39. package/lib/store/utils/payment.js.map +1 -1
  40. package/lib/store/utils/util.d.ts +5 -0
  41. package/lib/store/utils/util.js +17 -0
  42. package/lib/store/utils/util.js.map +1 -1
  43. package/lib/types/graphql.d.ts +7985 -2979
  44. package/lib/types/graphql.js +531 -1
  45. package/lib/types/graphql.js.map +1 -1
  46. package/package.json +3 -1
  47. package/scripts/coverage-output.js +41 -0
  48. package/lib/graphql/mutations/selectPaymentMode.handler.d.ts +0 -3
  49. package/lib/graphql/mutations/selectPaymentMode.handler.js +0 -5
  50. package/lib/graphql/mutations/selectPaymentMode.handler.js.map +0 -1
@@ -1,39 +1,258 @@
1
+ /** Status options for user accounts. */
2
+ export var AccountStatusEnum;
3
+ (function (AccountStatusEnum) {
4
+ AccountStatusEnum["Active"] = "ACTIVE";
5
+ AccountStatusEnum["Inactive"] = "INACTIVE";
6
+ AccountStatusEnum["Unregistered"] = "UNREGISTERED";
7
+ })(AccountStatusEnum || (AccountStatusEnum = {}));
8
+ /** Actions that can be taken on data. */
1
9
  export var Action;
2
10
  (function (Action) {
3
11
  Action["Merge"] = "merge";
4
12
  Action["Replace"] = "replace";
5
13
  })(Action || (Action = {}));
14
+ /** Actions that can be performed on cart items. */
6
15
  export var ActionEnum;
7
16
  (function (ActionEnum) {
8
17
  ActionEnum["Merge"] = "merge";
9
18
  ActionEnum["Replace"] = "replace";
10
19
  })(ActionEnum || (ActionEnum = {}));
20
+ /** Defines the type of address for business locations. */
21
+ export var AddressType;
22
+ (function (AddressType) {
23
+ /** Office or business operational address */
24
+ AddressType["Office"] = "office";
25
+ /** Legal registered address of the company */
26
+ AddressType["Registered"] = "registered";
27
+ })(AddressType || (AddressType = {}));
28
+ /** Types of applications supported. */
11
29
  export var AppType;
12
30
  (function (AppType) {
13
31
  AppType["Development"] = "development";
14
32
  AppType["Live"] = "live";
15
33
  })(AppType || (AppType = {}));
34
+ /** Defines the operational mode of the sales channel. */
35
+ export var ApplicationMode;
36
+ (function (ApplicationMode) {
37
+ /** Sales channel is in development mode for testing */
38
+ ApplicationMode["Development"] = "development";
39
+ /** Sales channel is live and accessible to customers */
40
+ ApplicationMode["Live"] = "live";
41
+ })(ApplicationMode || (ApplicationMode = {}));
42
+ /** Defines the current status of the sales channel. */
43
+ export var ApplicationStatus;
44
+ (function (ApplicationStatus) {
45
+ /** Sales channel is active and operational */
46
+ ApplicationStatus["Active"] = "active";
47
+ /** Sales channel is blocked and not accessible */
48
+ ApplicationStatus["Blocked"] = "blocked";
49
+ })(ApplicationStatus || (ApplicationStatus = {}));
50
+ /** Defines supported types of user attribute values. */
51
+ export var AttributeType;
52
+ (function (AttributeType) {
53
+ /** Boolean value (true/false). */
54
+ AttributeType["Boolean"] = "boolean";
55
+ /** Date value (e.g., YYYY-MM-DD). */
56
+ AttributeType["Date"] = "date";
57
+ /** Date and time value (e.g., 2024-01-01T12:00:00Z). */
58
+ AttributeType["DateTime"] = "date_time";
59
+ /** Dropdown with predefined options. */
60
+ AttributeType["Dropdown"] = "dropdown";
61
+ /** Encrypted boolean value. */
62
+ AttributeType["EncryptedBoolean"] = "encrypted_boolean";
63
+ /** Encrypted date value. */
64
+ AttributeType["EncryptedDate"] = "encrypted_date";
65
+ /** Encrypted date and time value. */
66
+ AttributeType["EncryptedDateTime"] = "encrypted_date_time";
67
+ /** Encrypted dropdown with predefined options. */
68
+ AttributeType["EncryptedDropdown"] = "encrypted_dropdown";
69
+ /** Encrypted numeric value. */
70
+ AttributeType["EncryptedNumber"] = "encrypted_number";
71
+ /** Encrypted array of numeric values. */
72
+ AttributeType["EncryptedNumberArray"] = "encrypted_number_array";
73
+ /** Encrypted plain text value. */
74
+ AttributeType["EncryptedString"] = "encrypted_string";
75
+ /** Encrypted array of plain text values. */
76
+ AttributeType["EncryptedStringArray"] = "encrypted_string_array";
77
+ /** HTML-formatted string content. */
78
+ AttributeType["HtmlString"] = "html_string";
79
+ /** URL pointing to a resource. */
80
+ AttributeType["ImageUrl"] = "image_url";
81
+ /** Numeric value (single). */
82
+ AttributeType["Number"] = "number";
83
+ /** Array of numeric values. */
84
+ AttributeType["NumberArray"] = "number_array";
85
+ /** Array of platform user IDs (e.g., for relationships). */
86
+ AttributeType["PlatformUserArray"] = "platform_user_array";
87
+ /** Array of store IDs associated with the user. */
88
+ AttributeType["StoreUidArray"] = "store_uid_array";
89
+ /** Plain text value (single). */
90
+ AttributeType["String"] = "string";
91
+ /** Array of plain text values. */
92
+ AttributeType["StringArray"] = "string_array";
93
+ })(AttributeType || (AttributeType = {}));
94
+ /** Types of bundles available. */
95
+ export var BundleTypeEnum;
96
+ (function (BundleTypeEnum) {
97
+ BundleTypeEnum["PhysicalBundle"] = "physical_bundle";
98
+ BundleTypeEnum["VirtualBundle"] = "virtual_bundle";
99
+ })(BundleTypeEnum || (BundleTypeEnum = {}));
100
+ /** Enum representing the brands of payment cards. */
101
+ export var CardBrand;
102
+ (function (CardBrand) {
103
+ CardBrand["Amex"] = "AMEX";
104
+ CardBrand["Diners"] = "DINERS";
105
+ CardBrand["Discover"] = "DISCOVER";
106
+ CardBrand["Jcb"] = "JCB";
107
+ CardBrand["Maestro"] = "MAESTRO";
108
+ CardBrand["Mastercard"] = "MASTERCARD";
109
+ CardBrand["Rupay"] = "RUPAY";
110
+ CardBrand["Visa"] = "VISA";
111
+ })(CardBrand || (CardBrand = {}));
112
+ /** Type of collection: 'query' for dynamic collections based on search criteria, 'items' for manually curated collections. */
113
+ export var CollectionType;
114
+ (function (CollectionType) {
115
+ CollectionType["Items"] = "items";
116
+ CollectionType["Query"] = "query";
117
+ })(CollectionType || (CollectionType = {}));
118
+ /** Actions available for communication operations. */
16
119
  export var CommunicationActionEnum;
17
120
  (function (CommunicationActionEnum) {
18
121
  CommunicationActionEnum["Optin"] = "optin";
19
122
  CommunicationActionEnum["Optout"] = "optout";
20
123
  })(CommunicationActionEnum || (CommunicationActionEnum = {}));
124
+ /** Channels available for communication. */
21
125
  export var CommunicationChannelEnum;
22
126
  (function (CommunicationChannelEnum) {
23
127
  CommunicationChannelEnum["Email"] = "email";
24
128
  CommunicationChannelEnum["Sms"] = "sms";
25
129
  CommunicationChannelEnum["Whatsapp"] = "whatsapp";
26
130
  })(CommunicationChannelEnum || (CommunicationChannelEnum = {}));
131
+ /** JavaScript frameworks compatible with the content engine. */
132
+ export var CompatibleEngine;
133
+ (function (CompatibleEngine) {
134
+ CompatibleEngine["React"] = "react";
135
+ CompatibleEngine["Vue2"] = "vue2";
136
+ })(CompatibleEngine || (CompatibleEngine = {}));
137
+ /** Defines how currency information is displayed to customers. */
138
+ export var CurrencyDisplayType;
139
+ (function (CurrencyDisplayType) {
140
+ /** Show all available currencies */
141
+ CurrencyDisplayType["All"] = "all";
142
+ /** Show currency code explicitly with price */
143
+ CurrencyDisplayType["Explicit"] = "explicit";
144
+ })(CurrencyDisplayType || (CurrencyDisplayType = {}));
145
+ /** Supported custom field creator types */
146
+ export var CustomFieldCreator;
147
+ (function (CustomFieldCreator) {
148
+ /** Created at application level */
149
+ CustomFieldCreator["Application"] = "application";
150
+ /** Created at company level */
151
+ CustomFieldCreator["Company"] = "company";
152
+ })(CustomFieldCreator || (CustomFieldCreator = {}));
153
+ /** Supported custom field types */
154
+ export var CustomFieldType;
155
+ (function (CustomFieldType) {
156
+ /** Boolean true/false type */
157
+ CustomFieldType["BooleanType"] = "boolean_type";
158
+ /** Date type */
159
+ CustomFieldType["Date"] = "date";
160
+ /** Datetime type */
161
+ CustomFieldType["Datetime"] = "datetime";
162
+ /** Dropdown select field */
163
+ CustomFieldType["Dropdown"] = "dropdown";
164
+ /** Duration/time period type */
165
+ CustomFieldType["Duration"] = "duration";
166
+ /** File upload type */
167
+ CustomFieldType["File"] = "file";
168
+ /** Float/decimal number type */
169
+ CustomFieldType["FloatType"] = "float_type";
170
+ /** HTML content type */
171
+ CustomFieldType["Html"] = "html";
172
+ /** Integer number type */
173
+ CustomFieldType["Integer"] = "integer";
174
+ /** JSON object type */
175
+ CustomFieldType["Json"] = "json";
176
+ /** Metaobject reference type */
177
+ CustomFieldType["Metaobject"] = "metaobject";
178
+ /** Product reference type */
179
+ CustomFieldType["Product"] = "product";
180
+ /** Multi-line text string */
181
+ CustomFieldType["StringMultiLine"] = "string_multi_line";
182
+ /** Single line text string */
183
+ CustomFieldType["StringSingleLine"] = "string_single_line";
184
+ /** URL/link type */
185
+ CustomFieldType["Url"] = "url";
186
+ })(CustomFieldType || (CustomFieldType = {}));
187
+ /** Types of data loaders for information retrieval. */
27
188
  export var DataLoaderType;
28
189
  (function (DataLoaderType) {
29
190
  DataLoaderType["Function"] = "function";
30
191
  DataLoaderType["Url"] = "url";
31
192
  })(DataLoaderType || (DataLoaderType = {}));
193
+ /** Defines the delivery strategy for order fulfillment. */
194
+ export var DeliveryStrategyValue;
195
+ (function (DeliveryStrategyValue) {
196
+ /** Worldwide shipping is allowed */
197
+ DeliveryStrategyValue["All"] = "all";
198
+ /** Shipping is restricted to specific delivery zones */
199
+ DeliveryStrategyValue["DeliveryZone"] = "delivery_zone";
200
+ })(DeliveryStrategyValue || (DeliveryStrategyValue = {}));
201
+ /** Defines the requirement level for store selection during deployment. */
202
+ export var DeploymentStoreSelectionFeatureType;
203
+ (function (DeploymentStoreSelectionFeatureType) {
204
+ /** When store selection is compulsory */
205
+ DeploymentStoreSelectionFeatureType["Hard"] = "hard";
206
+ /** When store selection is optional */
207
+ DeploymentStoreSelectionFeatureType["Soft"] = "soft";
208
+ })(DeploymentStoreSelectionFeatureType || (DeploymentStoreSelectionFeatureType = {}));
209
+ /** Namespace that determines storage location, validation rules, and file-specific constraints */
210
+ export var FileStorageNamespace;
211
+ (function (FileStorageNamespace) {
212
+ /** Private namespace allowing images and PDFs up to 50Mb */
213
+ FileStorageNamespace["ApplicationAudience"] = "application_audience";
214
+ /** Public namespace allowing images and videos up to 1Gb */
215
+ FileStorageNamespace["FeedbackMedia"] = "feedback_media";
216
+ /** Public namespace allowing all file types up to 100Mb */
217
+ FileStorageNamespace["Misc"] = "misc";
218
+ /** Public namespace allowing images up to 15Mb */
219
+ FileStorageNamespace["UserProfilePic"] = "user_profile_pic";
220
+ /** Private namespace allowing images up to 40Mb */
221
+ FileStorageNamespace["UsersVtoImages"] = "users_vto_images";
222
+ })(FileStorageNamespace || (FileStorageNamespace = {}));
223
+ /** Filter options for different entity types. */
224
+ export var FilterByEnum;
225
+ (function (FilterByEnum) {
226
+ FilterByEnum["Order"] = "order";
227
+ FilterByEnum["Shipment"] = "shipment";
228
+ })(FilterByEnum || (FilterByEnum = {}));
229
+ /** Whether a free gift item should be added or removed from the cart. */
230
+ export var FreeGiftItemsOperation;
231
+ (function (FreeGiftItemsOperation) {
232
+ /** Add a free gift item to the cart. */
233
+ FreeGiftItemsOperation["Add"] = "add";
234
+ /** Remove a free gift item from the cart. */
235
+ FreeGiftItemsOperation["Remove"] = "remove";
236
+ })(FreeGiftItemsOperation || (FreeGiftItemsOperation = {}));
237
+ /** Types of items available. */
238
+ export var ItemTypeEnum;
239
+ (function (ItemTypeEnum) {
240
+ ItemTypeEnum["Composite"] = "composite";
241
+ ItemTypeEnum["Digital"] = "digital";
242
+ ItemTypeEnum["PhysicalBundle"] = "physical_bundle";
243
+ ItemTypeEnum["Set"] = "set";
244
+ ItemTypeEnum["Standard"] = "standard";
245
+ ItemTypeEnum["VirtualBundle"] = "virtual_bundle";
246
+ })(ItemTypeEnum || (ItemTypeEnum = {}));
247
+ /** Enumeration of locality types. */
32
248
  export var LocalityEnum;
33
249
  (function (LocalityEnum) {
250
+ LocalityEnum["City"] = "city";
34
251
  LocalityEnum["Pincode"] = "pincode";
35
252
  LocalityEnum["Sector"] = "sector";
253
+ LocalityEnum["State"] = "state";
36
254
  })(LocalityEnum || (LocalityEnum = {}));
255
+ /** Types of localities for location classification. */
37
256
  export var LocalityType;
38
257
  (function (LocalityType) {
39
258
  LocalityType["City"] = "city";
@@ -41,32 +260,229 @@ export var LocalityType;
41
260
  LocalityType["Sector"] = "sector";
42
261
  LocalityType["State"] = "state";
43
262
  })(LocalityType || (LocalityType = {}));
263
+ /** Types of locations in the system. */
44
264
  export var LocationTypeEnum;
45
265
  (function (LocationTypeEnum) {
46
266
  LocationTypeEnum["City"] = "city";
47
267
  LocationTypeEnum["Country"] = "country";
48
268
  LocationTypeEnum["State"] = "state";
49
269
  })(LocationTypeEnum || (LocationTypeEnum = {}));
270
+ /** Enum for next action type. */
271
+ export var NextActionType;
272
+ (function (NextActionType) {
273
+ NextActionType["FormPost"] = "FORM_POST";
274
+ NextActionType["Redirect"] = "REDIRECT";
275
+ })(NextActionType || (NextActionType = {}));
276
+ /** Mode of the offer. */
277
+ export var OfferMode;
278
+ (function (OfferMode) {
279
+ /** Coupon offer mode. */
280
+ OfferMode["Coupon"] = "coupon";
281
+ /** Promotion offer mode. */
282
+ OfferMode["Promotion"] = "promotion";
283
+ })(OfferMode || (OfferMode = {}));
284
+ /** Type of offer or promotion. */
285
+ export var OfferType;
286
+ (function (OfferType) {
287
+ /** Amount-based offer. */
288
+ OfferType["Amount"] = "amount";
289
+ /** Buy One Get One offer. */
290
+ OfferType["Bogo"] = "bogo";
291
+ /** Bundle amount percentage offer. */
292
+ OfferType["BundleAmountPercentage"] = "bundle_amount_percentage";
293
+ /** Bundle price amount offer. */
294
+ OfferType["BundlePriceAmount"] = "bundle_price_amount";
295
+ /** Bundle price percentage offer. */
296
+ OfferType["BundlePricePercentage"] = "bundle_price_percentage";
297
+ /** Cashback offer. */
298
+ OfferType["Cashback"] = "cashback";
299
+ /** Contract price offer. */
300
+ OfferType["ContractPrice"] = "contract_price";
301
+ /** Custom offer type. */
302
+ OfferType["Custom"] = "custom";
303
+ /** External price adjustment discount offer. */
304
+ OfferType["ExternalPriceAdjustmentDiscount"] = "external_price_adjustment_discount";
305
+ /** Fixed price offer. */
306
+ OfferType["FixedPrice"] = "fixed_price";
307
+ /** Fixed unit price offer. */
308
+ OfferType["FixedUnitPrice"] = "fixed_unit_price";
309
+ /** Free gift items offer. */
310
+ OfferType["FreeGiftItems"] = "free_gift_items";
311
+ /** Free item discount absolute offer. */
312
+ OfferType["FreeItemDiscountAbsolute"] = "free_item_discount_absolute";
313
+ /** Free items offer. */
314
+ OfferType["FreeItems"] = "free_items";
315
+ /** Free non-sellable items offer. */
316
+ OfferType["FreeNonSellableItems"] = "free_non_sellable_items";
317
+ /** Item-based discount offer. */
318
+ OfferType["ItemBasedDiscount"] = "item_based_discount";
319
+ /** Ladder price offer. */
320
+ OfferType["LadderPrice"] = "ladder_price";
321
+ /** Percentage-based offer. */
322
+ OfferType["Percentage"] = "percentage";
323
+ /** Shipping price offer. */
324
+ OfferType["ShippingPrice"] = "shipping_price";
325
+ })(OfferType || (OfferType = {}));
326
+ /** Operations that can be performed on items. */
50
327
  export var Operation;
51
328
  (function (Operation) {
52
329
  Operation["RemoveItem"] = "remove_item";
53
330
  Operation["UpdateItem"] = "update_item";
54
331
  })(Operation || (Operation = {}));
332
+ /** Types of order types available. */
333
+ export var OrderTypeEnum;
334
+ (function (OrderTypeEnum) {
335
+ OrderTypeEnum["Digital"] = "Digital";
336
+ OrderTypeEnum["HomeDelivery"] = "HomeDelivery";
337
+ OrderTypeEnum["PickAtStore"] = "PickAtStore";
338
+ })(OrderTypeEnum || (OrderTypeEnum = {}));
339
+ /** Specifies the sales or interaction channels where the attribute is applicable. */
340
+ export var OrderingChannel;
341
+ (function (OrderingChannel) {
342
+ /** Used in the GoFynd mobile app or ecosystem. */
343
+ OrderingChannel["Gofynd"] = "gofynd";
344
+ /** Used at physical kiosks for customer interaction or ordering. */
345
+ OrderingChannel["Kiosk"] = "kiosk";
346
+ /** Used when selling through marketplace integrations (e.g., Amazon, Flipkart). */
347
+ OrderingChannel["Marketplace"] = "marketplace";
348
+ /** Used for Open Network for Digital Commerce (ONDC) integration. */
349
+ OrderingChannel["Ondc"] = "ondc";
350
+ /** Used in Scan & Go services, where customers scan items and checkout themselves. */
351
+ OrderingChannel["ScanGo"] = "scan_go";
352
+ /** Used with smart trolley systems in physical retail spaces. */
353
+ OrderingChannel["SmartTrolley"] = "smart_trolley";
354
+ /** Used for social commerce platforms (e.g., Instagram, WhatsApp). */
355
+ OrderingChannel["SocialCommerce"] = "social_commerce";
356
+ /** Used in in-store Point-of-Sale (PoS) systems running on Store OS. */
357
+ OrderingChannel["StoreOsPos"] = "store_os_pos";
358
+ /** Used on the customer-facing storefront (website or app). */
359
+ OrderingChannel["Storefront"] = "storefront";
360
+ /** Used in Uniket (B2B wholesale or distribution platform). */
361
+ OrderingChannel["Uniket"] = "uniket";
362
+ })(OrderingChannel || (OrderingChannel = {}));
363
+ /**
364
+ * Page types for the `seoMarkupSchemas` query (both the `pageTypes` input and
365
+ * the serialized `page_type` output). Values mirror the storefront route
366
+ * taxonomy (FDK `AVAILABLE_PAGE_TYPE`), which the resolver maps to the REST
367
+ * page_type with a generic CAPS_UNDERSCORE ⇄ kebab-lowercase transform — e.g.
368
+ * PROFILE_EMAIL → profile-email. The convex SEO schema model's stored values
369
+ * must use the same singular form so output serialization round-trips.
370
+ */
371
+ export var PageType;
372
+ (function (PageType) {
373
+ PageType["AboutUs"] = "ABOUT_US";
374
+ PageType["Addresses"] = "ADDRESSES";
375
+ PageType["Blog"] = "BLOG";
376
+ PageType["Brand"] = "BRAND";
377
+ PageType["Brands"] = "BRANDS";
378
+ PageType["Cards"] = "CARDS";
379
+ PageType["Cart"] = "CART";
380
+ PageType["CartDelivery"] = "CART_DELIVERY";
381
+ PageType["CartPayment"] = "CART_PAYMENT";
382
+ PageType["CartReview"] = "CART_REVIEW";
383
+ PageType["Categories"] = "CATEGORIES";
384
+ PageType["Category"] = "CATEGORY";
385
+ PageType["Collection"] = "COLLECTION";
386
+ PageType["Collections"] = "COLLECTIONS";
387
+ PageType["ContactUs"] = "CONTACT_US";
388
+ PageType["Custom"] = "CUSTOM";
389
+ PageType["External"] = "EXTERNAL";
390
+ PageType["Faq"] = "FAQ";
391
+ PageType["Form"] = "FORM";
392
+ PageType["Freshchat"] = "FRESHCHAT";
393
+ PageType["Home"] = "HOME";
394
+ PageType["LocateUs"] = "LOCATE_US";
395
+ PageType["Login"] = "LOGIN";
396
+ PageType["NotificationSettings"] = "NOTIFICATION_SETTINGS";
397
+ PageType["Orders"] = "ORDERS";
398
+ PageType["OrderStatus"] = "ORDER_STATUS";
399
+ PageType["Page"] = "PAGE";
400
+ PageType["Policy"] = "POLICY";
401
+ PageType["Product"] = "PRODUCT";
402
+ PageType["Products"] = "PRODUCTS";
403
+ PageType["ProductRequest"] = "PRODUCT_REQUEST";
404
+ PageType["Profile"] = "PROFILE";
405
+ PageType["ProfileBasic"] = "PROFILE_BASIC";
406
+ PageType["ProfileCompany"] = "PROFILE_COMPANY";
407
+ PageType["ProfileEmail"] = "PROFILE_EMAIL";
408
+ PageType["ProfileLoyaltyRewards"] = "PROFILE_LOYALTY_REWARDS";
409
+ PageType["ProfileOrderShipment"] = "PROFILE_ORDER_SHIPMENT";
410
+ PageType["ProfilePhone"] = "PROFILE_PHONE";
411
+ PageType["RateUs"] = "RATE_US";
412
+ PageType["ReferEarn"] = "REFER_EARN";
413
+ PageType["Register"] = "REGISTER";
414
+ PageType["RequestReattempt"] = "REQUEST_REATTEMPT";
415
+ PageType["ReturnPolicy"] = "RETURN_POLICY";
416
+ PageType["Sections"] = "SECTIONS";
417
+ PageType["Settings"] = "SETTINGS";
418
+ PageType["SharedCart"] = "SHARED_CART";
419
+ PageType["ShippingPolicy"] = "SHIPPING_POLICY";
420
+ PageType["SinglePageCheckout"] = "SINGLE_PAGE_CHECKOUT";
421
+ PageType["Tnc"] = "TNC";
422
+ PageType["TrackOrder"] = "TRACK_ORDER";
423
+ PageType["Wishlist"] = "WISHLIST";
424
+ })(PageType || (PageType = {}));
425
+ /** Different types of pages in the application. */
55
426
  export var PageTypes;
56
427
  (function (PageTypes) {
57
428
  PageTypes["Custom"] = "custom";
58
429
  PageTypes["Sections"] = "sections";
59
430
  PageTypes["System"] = "system";
60
431
  })(PageTypes || (PageTypes = {}));
432
+ /** Visibility settings for page items. */
61
433
  export var PageVisibilityOfItem;
62
434
  (function (PageVisibilityOfItem) {
63
435
  PageVisibilityOfItem["Pdp"] = "pdp";
64
436
  })(PageVisibilityOfItem || (PageVisibilityOfItem = {}));
437
+ /** Payment flow types available for a Payment Options */
438
+ export var PaymentFlow;
439
+ (function (PaymentFlow) {
440
+ PaymentFlow["Custom"] = "custom";
441
+ PaymentFlow["Standard"] = "standard";
442
+ })(PaymentFlow || (PaymentFlow = {}));
443
+ /** Possible payment status */
444
+ export var PaymentStatusUpdateResponseStatus;
445
+ (function (PaymentStatusUpdateResponseStatus) {
446
+ PaymentStatusUpdateResponseStatus["Failed"] = "failed";
447
+ PaymentStatusUpdateResponseStatus["Pending"] = "pending";
448
+ PaymentStatusUpdateResponseStatus["Success"] = "success";
449
+ })(PaymentStatusUpdateResponseStatus || (PaymentStatusUpdateResponseStatus = {}));
450
+ /** Types of phone numbers supported. */
65
451
  export var PhoneTypeEnum;
66
452
  (function (PhoneTypeEnum) {
67
453
  PhoneTypeEnum["PhoneNumber"] = "phone_number";
68
454
  PhoneTypeEnum["Tollfree"] = "tollfree";
69
455
  })(PhoneTypeEnum || (PhoneTypeEnum = {}));
456
+ /**
457
+ * Price display mode on PLP (Product Listing Page) for products with multiple sizes.
458
+ * Valid values are min, max, or range.
459
+ */
460
+ export var PriceDisplayMode;
461
+ (function (PriceDisplayMode) {
462
+ /** Display the maximum (highest) price among the available sizes. */
463
+ PriceDisplayMode["Max"] = "max";
464
+ /** Display the minimum (lowest) price among the available sizes. */
465
+ PriceDisplayMode["Min"] = "min";
466
+ /** Display the full price range (lowest to highest) across sizes. */
467
+ PriceDisplayMode["Range"] = "range";
468
+ })(PriceDisplayMode || (PriceDisplayMode = {}));
469
+ /** Sorting options for product prices. */
470
+ export var PriceSort;
471
+ (function (PriceSort) {
472
+ /** Sort by the maximum (highest) price first. */
473
+ PriceSort["Max"] = "max";
474
+ /** Sort by the minimum (lowest) price first. Default option. */
475
+ PriceSort["Min"] = "min";
476
+ })(PriceSort || (PriceSort = {}));
477
+ /** Defines the strategy type available for a sales channel. */
478
+ export var PriceStrategy;
479
+ (function (PriceStrategy) {
480
+ /** Applies prices set in the price factory */
481
+ PriceStrategy["PriceFactory"] = "price_factory";
482
+ /** (default) Applies store-level pricing */
483
+ PriceStrategy["StorePrices"] = "store_prices";
484
+ })(PriceStrategy || (PriceStrategy = {}));
485
+ /** Priority levels for various operations. */
70
486
  export var PriorityEnum;
71
487
  (function (PriorityEnum) {
72
488
  PriorityEnum["High"] = "high";
@@ -74,34 +490,95 @@ export var PriorityEnum;
74
490
  PriorityEnum["Medium"] = "medium";
75
491
  PriorityEnum["Urgent"] = "urgent";
76
492
  })(PriorityEnum || (PriorityEnum = {}));
493
+ /** Promotion group classification for offers. */
494
+ export var PromotionGroup;
495
+ (function (PromotionGroup) {
496
+ /** Cart-level promotion group. */
497
+ PromotionGroup["Cart"] = "cart";
498
+ /** Contract-level promotion group. */
499
+ PromotionGroup["Contract"] = "contract";
500
+ /** External price adjustment promotion group. */
501
+ PromotionGroup["ExternalPriceAdjustment"] = "external_price_adjustment";
502
+ /** Ladder price promotion group. */
503
+ PromotionGroup["LadderPrice"] = "ladder_price";
504
+ /** Limited timer promotion group (Hero Banner / Deal of the Day). */
505
+ PromotionGroup["LimitedTimer"] = "limited_timer";
506
+ /** Product-level promotion group. */
507
+ PromotionGroup["Product"] = "product";
508
+ })(PromotionGroup || (PromotionGroup = {}));
509
+ /** Actions that can be performed on push tokens. */
77
510
  export var PushTokenAction;
78
511
  (function (PushTokenAction) {
79
512
  PushTokenAction["Create"] = "create";
80
513
  PushTokenAction["Reset"] = "reset";
81
514
  PushTokenAction["Update"] = "update";
82
515
  })(PushTokenAction || (PushTokenAction = {}));
516
+ /** Types of redirects available in the system. */
83
517
  export var RedirectType;
84
518
  (function (RedirectType) {
85
519
  RedirectType["AppStore"] = "app_store";
86
520
  RedirectType["Web"] = "web";
87
521
  })(RedirectType || (RedirectType = {}));
522
+ /** Enum for Refund Mode Types */
523
+ export var RefundModeType;
524
+ (function (RefundModeType) {
525
+ /** Issue refund as store credits to the customer */
526
+ RefundModeType["Creditnote"] = "creditnote";
527
+ /** Refund back to the original payment source */
528
+ RefundModeType["RefundToSource"] = "refund_to_source";
529
+ /** Settle the refund offline outside the system */
530
+ RefundModeType["SettleOffline"] = "settle_offline";
531
+ /** Transfer refund amount directly to the customer's bank account */
532
+ RefundModeType["TransferToBank"] = "transfer_to_bank";
533
+ })(RefundModeType || (RefundModeType = {}));
534
+ /** Defines whether an attribute is mandatory or optional during user registration. */
535
+ export var RegistrationType;
536
+ (function (RegistrationType) {
537
+ /** The attribute must be filled during registration. */
538
+ RegistrationType["Mandatory"] = "mandatory";
539
+ /** The attribute is optional during registration. */
540
+ RegistrationType["Optional"] = "optional";
541
+ })(RegistrationType || (RegistrationType = {}));
542
+ /** Types of responses available. */
88
543
  export var ResponseEnum;
89
544
  (function (ResponseEnum) {
90
545
  ResponseEnum["No"] = "no";
91
546
  ResponseEnum["Yes"] = "yes";
92
547
  })(ResponseEnum || (ResponseEnum = {}));
548
+ /** Protocol types for security domain configuration. */
549
+ export var SecurityUrlScheme;
550
+ (function (SecurityUrlScheme) {
551
+ /** HTTP protocol */
552
+ SecurityUrlScheme["Http"] = "http";
553
+ /** HTTPS protocol (default) */
554
+ SecurityUrlScheme["Https"] = "https";
555
+ })(SecurityUrlScheme || (SecurityUrlScheme = {}));
556
+ /** Types of selection options available. */
93
557
  export var SelectedType;
94
558
  (function (SelectedType) {
95
559
  SelectedType["Exact"] = "exact";
96
560
  SelectedType["None"] = "none";
97
561
  SelectedType["Query"] = "query";
98
562
  })(SelectedType || (SelectedType = {}));
563
+ /** Enum for session duration units. */
99
564
  export var SessionEnum;
100
565
  (function (SessionEnum) {
566
+ /** Session duration in days. */
101
567
  SessionEnum["Days"] = "Days";
568
+ /** Session duration in hours. */
102
569
  SessionEnum["Hours"] = "Hours";
570
+ /** Session duration in minutes. */
103
571
  SessionEnum["Minutes"] = "Minutes";
104
572
  })(SessionEnum || (SessionEnum = {}));
573
+ /** Represents the types of events that can trigger OTP verification to securely authenticate customer actions. */
574
+ export var ShipmentOtpEventType;
575
+ (function (ShipmentOtpEventType) {
576
+ /** Used when an OTP needs to be sent to the customer's registered mobile number to authenticate the user while updating the delivery address in case of a Non-Delivery Report (NDR) scenario. For example, trigger this when NDR forms capture a new address. */
577
+ ShipmentOtpEventType["CustomerNdr"] = "customer_ndr";
578
+ /** Used when an OTP needs to be sent to the customer's registered mobile number to authenticate the user while they are entering or updating refund bank account details during the return or refund process. For example, trigger this when customers add bank details for refunds. */
579
+ ShipmentOtpEventType["RefundBankDetails"] = "refund_bank_details";
580
+ })(ShipmentOtpEventType || (ShipmentOtpEventType = {}));
581
+ /** Types of similar items that can be displayed. */
105
582
  export var SimilarListItem;
106
583
  (function (SimilarListItem) {
107
584
  SimilarListItem["Basic"] = "basic";
@@ -112,41 +589,56 @@ export var SimilarListItem;
112
589
  SimilarListItem["Specs"] = "specs";
113
590
  SimilarListItem["Visual"] = "visual";
114
591
  })(SimilarListItem || (SimilarListItem = {}));
592
+ /** Sorting options for data ordering. */
115
593
  export var Sort_On;
116
594
  (function (Sort_On) {
595
+ /** Sorts items based on the depth of size options in descending order. */
596
+ Sort_On["DepthDsc"] = "depth_dsc";
597
+ /** Sorts items based on discount in ascending order. */
117
598
  Sort_On["DiscountAsc"] = "discount_asc";
599
+ /** Sorts items based on discount in descending order. */
118
600
  Sort_On["DiscountDsc"] = "discount_dsc";
601
+ /** Sorts items based on the latest added. */
119
602
  Sort_On["Latest"] = "latest";
603
+ /** Sorts items based on popularity. */
120
604
  Sort_On["Popular"] = "popular";
605
+ /** Sorts items based on price in ascending order. */
121
606
  Sort_On["PriceAsc"] = "price_asc";
607
+ /** Sorts items based on price in descending order. */
122
608
  Sort_On["PriceDsc"] = "price_dsc";
123
609
  })(Sort_On || (Sort_On = {}));
610
+ /** Different types of stores available. */
124
611
  export var StoreType;
125
612
  (function (StoreType) {
126
613
  StoreType["Hard"] = "hard";
127
614
  StoreType["Soft"] = "soft";
128
615
  })(StoreType || (StoreType = {}));
616
+ /** Position options for tag placement. */
129
617
  export var TagPositionEnum;
130
618
  (function (TagPositionEnum) {
131
619
  TagPositionEnum["BodyBottom"] = "body_bottom";
132
620
  TagPositionEnum["BodyTop"] = "body_top";
133
621
  TagPositionEnum["Head"] = "head";
134
622
  })(TagPositionEnum || (TagPositionEnum = {}));
623
+ /** Subtypes of tags for categorization. */
135
624
  export var TagSubType;
136
625
  (function (TagSubType) {
137
626
  TagSubType["External"] = "external";
138
627
  TagSubType["Inline"] = "inline";
139
628
  })(TagSubType || (TagSubType = {}));
629
+ /** Types of tags available in the system. */
140
630
  export var TagType;
141
631
  (function (TagType) {
142
632
  TagType["Css"] = "css";
143
633
  TagType["Js"] = "js";
144
634
  })(TagType || (TagType = {}));
635
+ /** Types of themes available. */
145
636
  export var ThemeTypeEnum;
146
637
  (function (ThemeTypeEnum) {
147
638
  ThemeTypeEnum["React"] = "react";
148
639
  ThemeTypeEnum["Vue2"] = "vue2";
149
640
  })(ThemeTypeEnum || (ThemeTypeEnum = {}));
641
+ /** Types of assets that can be attached to tickets. */
150
642
  export var TicketAssetTypeEnum;
151
643
  (function (TicketAssetTypeEnum) {
152
644
  TicketAssetTypeEnum["Brand"] = "brand";
@@ -159,40 +651,78 @@ export var TicketAssetTypeEnum;
159
651
  TicketAssetTypeEnum["Video"] = "video";
160
652
  TicketAssetTypeEnum["Youtube"] = "youtube";
161
653
  })(TicketAssetTypeEnum || (TicketAssetTypeEnum = {}));
654
+ /** Sources from which tickets can be created. */
162
655
  export var TicketSourceEnum;
163
656
  (function (TicketSourceEnum) {
164
657
  TicketSourceEnum["PlatformPanel"] = "platform_panel";
165
658
  TicketSourceEnum["SalesChannel"] = "sales_channel";
166
659
  })(TicketSourceEnum || (TicketSourceEnum = {}));
660
+ /** General type classifications. */
167
661
  export var Type;
168
662
  (function (Type) {
169
663
  Type["Permanent"] = "permanent";
170
664
  Type["Temporary"] = "temporary";
171
665
  })(Type || (Type = {}));
666
+ /** Units of measurement for various quantities. */
172
667
  export var Unit;
173
668
  (function (Unit) {
669
+ Unit["L"] = "L";
174
670
  Unit["Cm"] = "cm";
175
671
  Unit["G"] = "g";
176
672
  Unit["Kg"] = "kg";
177
- Unit["L"] = "l";
178
673
  Unit["M"] = "m";
179
674
  Unit["Ml"] = "ml";
180
675
  Unit["Nos"] = "nos";
181
676
  Unit["Pack"] = "pack";
182
677
  })(Unit || (Unit = {}));
678
+ /** Enum for OTP send and resend actions. */
183
679
  export var UserAction;
184
680
  (function (UserAction) {
681
+ /** Resend an OTP to the user. */
185
682
  UserAction["Resend"] = "resend";
683
+ /** Send a new OTP to the user. */
186
684
  UserAction["Send"] = "send";
187
685
  })(UserAction || (UserAction = {}));
686
+ /** Enum representing allowed registration types for user attributes. */
687
+ export var UserAttributeRegistrationType;
688
+ (function (UserAttributeRegistrationType) {
689
+ /** The attribute is required during registration. */
690
+ UserAttributeRegistrationType["Mandatory"] = "mandatory";
691
+ /** The attribute is optional during registration. */
692
+ UserAttributeRegistrationType["Optional"] = "optional";
693
+ })(UserAttributeRegistrationType || (UserAttributeRegistrationType = {}));
694
+ /** Defines the type of validation rule applied to an attribute's value. */
695
+ export var ValidationType;
696
+ (function (ValidationType) {
697
+ /** Maximum allowed value (numeric, date, or string length). */
698
+ ValidationType["Max"] = "max";
699
+ /** Minimum allowed value (numeric, date, or string length). */
700
+ ValidationType["Min"] = "min";
701
+ /** Pattern matching using regular expression. */
702
+ ValidationType["Regex"] = "regex";
703
+ })(ValidationType || (ValidationType = {}));
704
+ /** Types of web redirects available. */
188
705
  export var WebRedirectType;
189
706
  (function (WebRedirectType) {
190
707
  WebRedirectType["Web"] = "web";
191
708
  })(WebRedirectType || (WebRedirectType = {}));
709
+ /** Days of the week. */
710
+ export var Weekday;
711
+ (function (Weekday) {
712
+ Weekday["Friday"] = "friday";
713
+ Weekday["Monday"] = "monday";
714
+ Weekday["Saturday"] = "saturday";
715
+ Weekday["Sunday"] = "sunday";
716
+ Weekday["Thursday"] = "thursday";
717
+ Weekday["Tuesday"] = "tuesday";
718
+ Weekday["Wednesday"] = "wednesday";
719
+ })(Weekday || (Weekday = {}));
720
+ /** Template names available in the system. */
192
721
  export var TemplateNameEnum;
193
722
  (function (TemplateNameEnum) {
194
723
  TemplateNameEnum["CheckoutForm"] = "checkout_form";
195
724
  TemplateNameEnum["DefaultDisplay"] = "default_display";
725
+ TemplateNameEnum["Plp"] = "plp";
196
726
  TemplateNameEnum["StoreOsForm"] = "store_os_form";
197
727
  })(TemplateNameEnum || (TemplateNameEnum = {}));
198
728
  //# sourceMappingURL=graphql.js.map