@gofynd/fdk-client-javascript 3.3.6 → 3.4.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 (54) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  4. package/sdk/application/Catalog/CatalogApplicationClient.js +24 -5
  5. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -0
  6. package/sdk/application/Logistic/LogisticApplicationClient.js +44 -0
  7. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +115 -47
  8. package/sdk/partner/Logistics/LogisticsPartnerModel.js +67 -35
  9. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
  10. package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
  11. package/sdk/platform/Cart/CartPlatformModel.d.ts +454 -12
  12. package/sdk/platform/Cart/CartPlatformModel.js +457 -10
  13. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
  14. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +4 -1
  15. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +9 -0
  16. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +4 -0
  17. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +4 -2
  18. package/sdk/platform/Catalog/CatalogPlatformClient.js +16 -3
  19. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +33 -2
  20. package/sdk/platform/Catalog/CatalogPlatformModel.js +17 -2
  21. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +5 -0
  22. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -0
  23. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  24. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  25. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +17 -1
  26. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +15 -0
  27. package/sdk/platform/Content/ContentPlatformModel.d.ts +14 -19
  28. package/sdk/platform/Content/ContentPlatformModel.js +6 -20
  29. package/sdk/platform/Order/OrderPlatformModel.d.ts +237 -17
  30. package/sdk/platform/Order/OrderPlatformModel.js +388 -14
  31. package/sdk/platform/Order/OrderPlatformValidator.d.ts +15 -15
  32. package/sdk/platform/Order/OrderPlatformValidator.js +9 -9
  33. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -5
  34. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +4 -3
  35. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +97 -1
  36. package/sdk/platform/Payment/PaymentPlatformModel.js +273 -0
  37. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +124 -1
  38. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +800 -33
  39. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +139 -1
  40. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +125 -0
  41. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
  42. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -2
  43. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1033 -113
  44. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +613 -35
  45. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +12 -0
  46. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +5 -0
  47. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +36 -0
  48. package/sdk/platform/User/UserPlatformApplicationClient.js +251 -0
  49. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +38 -1
  50. package/sdk/platform/User/UserPlatformApplicationValidator.js +42 -0
  51. package/sdk/platform/User/UserPlatformModel.d.ts +430 -10
  52. package/sdk/platform/User/UserPlatformModel.js +276 -7
  53. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +10 -0
  54. package/sdk/platform/Webhook/WebhookPlatformModel.js +4 -0
@@ -114,8 +114,9 @@ export = PaymentPlatformApplicationValidator;
114
114
  */
115
115
  /**
116
116
  * @typedef GetPosPaymentModeRoutesParam
117
- * @property {string} [xOrderingSource] - Optional header to identify the
118
- * ordering source used to determine\ applicable payment options for business unit.
117
+ * @property {PaymentPlatformModel.OrderingSource} [xOrderingSource] - Optional
118
+ * header to identify the ordering source used to determine\ applicable
119
+ * payment options for business unit.
119
120
  * @property {number} amount - Payable amount.
120
121
  * @property {string} [cartId] - Identifier of the cart.
121
122
  * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
@@ -495,10 +496,11 @@ type GetPaymentSessionParam = {
495
496
  };
496
497
  type GetPosPaymentModeRoutesParam = {
497
498
  /**
498
- * - Optional header to identify the
499
- * ordering source used to determine\ applicable payment options for business unit.
499
+ * - Optional
500
+ * header to identify the ordering source used to determine\ applicable
501
+ * payment options for business unit.
500
502
  */
501
- xOrderingSource?: string;
503
+ xOrderingSource?: PaymentPlatformModel.OrderingSource;
502
504
  /**
503
505
  * - Payable amount.
504
506
  */
@@ -142,8 +142,9 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
142
142
 
143
143
  /**
144
144
  * @typedef GetPosPaymentModeRoutesParam
145
- * @property {string} [xOrderingSource] - Optional header to identify the
146
- * ordering source used to determine\ applicable payment options for business unit.
145
+ * @property {PaymentPlatformModel.OrderingSource} [xOrderingSource] - Optional
146
+ * header to identify the ordering source used to determine\ applicable
147
+ * payment options for business unit.
147
148
  * @property {number} amount - Payable amount.
148
149
  * @property {string} [cartId] - Identifier of the cart.
149
150
  * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
@@ -492,7 +493,7 @@ class PaymentPlatformApplicationValidator {
492
493
  /** @returns {GetPosPaymentModeRoutesParam} */
493
494
  static getPosPaymentModeRoutes() {
494
495
  return Joi.object({
495
- xOrderingSource: Joi.string().allow(""),
496
+ xOrderingSource: PaymentPlatformModel.OrderingSource(),
496
497
 
497
498
  amount: Joi.number().required(),
498
499
  cartId: Joi.string().allow(""),
@@ -1290,10 +1290,99 @@ export = PaymentPlatformModel;
1290
1290
  * @property {string} [cart_id] - Unique identifier for the shopping cart.
1291
1291
  * @property {CreditAccountSummary} [account]
1292
1292
  */
1293
+ /**
1294
+ * @typedef {| "storefront"
1295
+ * | "store_os_pos"
1296
+ * | "kiosk"
1297
+ * | "scan_go"
1298
+ * | "smart_trolley"
1299
+ * | "gofynd"
1300
+ * | "uniket"
1301
+ * | "marketplace"
1302
+ * | "social_commerce"
1303
+ * | "ondc"
1304
+ * | "nexus"
1305
+ * | "nykaa_fashion"
1306
+ * | "etsy"
1307
+ * | "vuivui"
1308
+ * | "zilingo"
1309
+ * | "firstcry"
1310
+ * | "bukalapak"
1311
+ * | "myntra_ppmp"
1312
+ * | "lazada"
1313
+ * | "tiktok"
1314
+ * | "sfcc"
1315
+ * | "debenhams"
1316
+ * | "prestomall"
1317
+ * | "meesho"
1318
+ * | "amazon_vdf"
1319
+ * | "bigcommerce"
1320
+ * | "sendo"
1321
+ * | "storehippo"
1322
+ * | "cdiscount"
1323
+ * | "nykaa"
1324
+ * | "trendyol"
1325
+ * | "weloveshopping"
1326
+ * | "jollee"
1327
+ * | "wish"
1328
+ * | "tiki"
1329
+ * | "central_online"
1330
+ * | "q10"
1331
+ * | "cred"
1332
+ * | "walmart"
1333
+ * | "snapdeal"
1334
+ * | "flipkart"
1335
+ * | "blibli"
1336
+ * | "ajio_jit"
1337
+ * | "pharmeasy"
1338
+ * | "ezmall"
1339
+ * | "adobe_commerce"
1340
+ * | "kartmax"
1341
+ * | "shopee"
1342
+ * | "zalora"
1343
+ * | "prestashop"
1344
+ * | "smytten"
1345
+ * | "amazon_sc"
1346
+ * | "urbanpiper"
1347
+ * | "flipkart_quick"
1348
+ * | "woocommerce"
1349
+ * | "zivame"
1350
+ * | "lelong"
1351
+ * | "facebook"
1352
+ * | "jiomart"
1353
+ * | "gmc"
1354
+ * | "robins"
1355
+ * | "akulaku"
1356
+ * | "noon"
1357
+ * | "tatacliq"
1358
+ * | "kartrocket"
1359
+ * | "inorbit"
1360
+ * | "ajio_business"
1361
+ * | "swiggy"
1362
+ * | "asos"
1363
+ * | "tokopedia"
1364
+ * | "limeroad"
1365
+ * | "myntra_omni"
1366
+ * | "spoyl"
1367
+ * | "amazon_mlf"
1368
+ * | "fulfilled_by_lazada"
1369
+ * | "ebay"
1370
+ * | "jd"
1371
+ * | "amazon_pharmacy"
1372
+ * | "ajio_vms"
1373
+ * | "daraz"
1374
+ * | "oker"
1375
+ * | "flipkart_b2b"
1376
+ * | "amazon_mlf_ss"
1377
+ * | "woovly"
1378
+ * | "tata1mg"
1379
+ * | "zomato"
1380
+ * | "shopify"} OrderingSource
1381
+ */
1293
1382
  declare class PaymentPlatformModel {
1294
1383
  }
1295
1384
  declare namespace PaymentPlatformModel {
1296
- export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, PaymentConfirmationElement, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, SkuDetails, AppliedOffer, OrderDetail, AddressDetail, ReasonDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema, CustomerValidationSchema, UserCreditSchema, CreditAccountSummary, ValidateCustomerCreditSchema };
1385
+ export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, PaymentConfirmationElement, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, SkuDetails, AppliedOffer, OrderDetail, AddressDetail, ReasonDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema, CustomerValidationSchema, UserCreditSchema, CreditAccountSummary, ValidateCustomerCreditSchema, OrderingSource };
1297
1386
  }
1298
1387
  /** @returns {PaymentGatewayConfigDetails} */
1299
1388
  declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
@@ -4692,3 +4781,10 @@ type ValidateCustomerCreditSchema = {
4692
4781
  cart_id?: string;
4693
4782
  account?: CreditAccountSummary;
4694
4783
  };
4784
+ /**
4785
+ * Enum: OrderingSource Used By: Payment
4786
+ *
4787
+ * @returns {OrderingSource}
4788
+ */
4789
+ declare function OrderingSource(): OrderingSource;
4790
+ type OrderingSource = "storefront" | "store_os_pos" | "kiosk" | "scan_go" | "smart_trolley" | "gofynd" | "uniket" | "marketplace" | "social_commerce" | "ondc" | "nexus" | "nykaa_fashion" | "etsy" | "vuivui" | "zilingo" | "firstcry" | "bukalapak" | "myntra_ppmp" | "lazada" | "tiktok" | "sfcc" | "debenhams" | "prestomall" | "meesho" | "amazon_vdf" | "bigcommerce" | "sendo" | "storehippo" | "cdiscount" | "nykaa" | "trendyol" | "weloveshopping" | "jollee" | "wish" | "tiki" | "central_online" | "q10" | "cred" | "walmart" | "snapdeal" | "flipkart" | "blibli" | "ajio_jit" | "pharmeasy" | "ezmall" | "adobe_commerce" | "kartmax" | "shopee" | "zalora" | "prestashop" | "smytten" | "amazon_sc" | "urbanpiper" | "flipkart_quick" | "woocommerce" | "zivame" | "lelong" | "facebook" | "jiomart" | "gmc" | "robins" | "akulaku" | "noon" | "tatacliq" | "kartrocket" | "inorbit" | "ajio_business" | "swiggy" | "asos" | "tokopedia" | "limeroad" | "myntra_omni" | "spoyl" | "amazon_mlf" | "fulfilled_by_lazada" | "ebay" | "jd" | "amazon_pharmacy" | "ajio_vms" | "daraz" | "oker" | "flipkart_b2b" | "amazon_mlf_ss" | "woovly" | "tata1mg" | "zomato" | "shopify";
@@ -1441,6 +1441,96 @@ const Joi = require("joi");
1441
1441
  * @property {CreditAccountSummary} [account]
1442
1442
  */
1443
1443
 
1444
+ /**
1445
+ * @typedef {| "storefront"
1446
+ * | "store_os_pos"
1447
+ * | "kiosk"
1448
+ * | "scan_go"
1449
+ * | "smart_trolley"
1450
+ * | "gofynd"
1451
+ * | "uniket"
1452
+ * | "marketplace"
1453
+ * | "social_commerce"
1454
+ * | "ondc"
1455
+ * | "nexus"
1456
+ * | "nykaa_fashion"
1457
+ * | "etsy"
1458
+ * | "vuivui"
1459
+ * | "zilingo"
1460
+ * | "firstcry"
1461
+ * | "bukalapak"
1462
+ * | "myntra_ppmp"
1463
+ * | "lazada"
1464
+ * | "tiktok"
1465
+ * | "sfcc"
1466
+ * | "debenhams"
1467
+ * | "prestomall"
1468
+ * | "meesho"
1469
+ * | "amazon_vdf"
1470
+ * | "bigcommerce"
1471
+ * | "sendo"
1472
+ * | "storehippo"
1473
+ * | "cdiscount"
1474
+ * | "nykaa"
1475
+ * | "trendyol"
1476
+ * | "weloveshopping"
1477
+ * | "jollee"
1478
+ * | "wish"
1479
+ * | "tiki"
1480
+ * | "central_online"
1481
+ * | "q10"
1482
+ * | "cred"
1483
+ * | "walmart"
1484
+ * | "snapdeal"
1485
+ * | "flipkart"
1486
+ * | "blibli"
1487
+ * | "ajio_jit"
1488
+ * | "pharmeasy"
1489
+ * | "ezmall"
1490
+ * | "adobe_commerce"
1491
+ * | "kartmax"
1492
+ * | "shopee"
1493
+ * | "zalora"
1494
+ * | "prestashop"
1495
+ * | "smytten"
1496
+ * | "amazon_sc"
1497
+ * | "urbanpiper"
1498
+ * | "flipkart_quick"
1499
+ * | "woocommerce"
1500
+ * | "zivame"
1501
+ * | "lelong"
1502
+ * | "facebook"
1503
+ * | "jiomart"
1504
+ * | "gmc"
1505
+ * | "robins"
1506
+ * | "akulaku"
1507
+ * | "noon"
1508
+ * | "tatacliq"
1509
+ * | "kartrocket"
1510
+ * | "inorbit"
1511
+ * | "ajio_business"
1512
+ * | "swiggy"
1513
+ * | "asos"
1514
+ * | "tokopedia"
1515
+ * | "limeroad"
1516
+ * | "myntra_omni"
1517
+ * | "spoyl"
1518
+ * | "amazon_mlf"
1519
+ * | "fulfilled_by_lazada"
1520
+ * | "ebay"
1521
+ * | "jd"
1522
+ * | "amazon_pharmacy"
1523
+ * | "ajio_vms"
1524
+ * | "daraz"
1525
+ * | "oker"
1526
+ * | "flipkart_b2b"
1527
+ * | "amazon_mlf_ss"
1528
+ * | "woovly"
1529
+ * | "tata1mg"
1530
+ * | "zomato"
1531
+ * | "shopify"} OrderingSource
1532
+ */
1533
+
1444
1534
  class PaymentPlatformModel {
1445
1535
  /** @returns {PaymentGatewayConfigDetails} */
1446
1536
  static PaymentGatewayConfigDetails() {
@@ -3160,5 +3250,188 @@ class PaymentPlatformModel {
3160
3250
  account: PaymentPlatformModel.CreditAccountSummary(),
3161
3251
  });
3162
3252
  }
3253
+
3254
+ /**
3255
+ * Enum: OrderingSource Used By: Payment
3256
+ *
3257
+ * @returns {OrderingSource}
3258
+ */
3259
+ static OrderingSource() {
3260
+ return Joi.string().valid(
3261
+ "storefront",
3262
+
3263
+ "store_os_pos",
3264
+
3265
+ "kiosk",
3266
+
3267
+ "scan_go",
3268
+
3269
+ "smart_trolley",
3270
+
3271
+ "gofynd",
3272
+
3273
+ "uniket",
3274
+
3275
+ "marketplace",
3276
+
3277
+ "social_commerce",
3278
+
3279
+ "ondc",
3280
+
3281
+ "nexus",
3282
+
3283
+ "nykaa_fashion",
3284
+
3285
+ "etsy",
3286
+
3287
+ "vuivui",
3288
+
3289
+ "zilingo",
3290
+
3291
+ "firstcry",
3292
+
3293
+ "bukalapak",
3294
+
3295
+ "myntra_ppmp",
3296
+
3297
+ "lazada",
3298
+
3299
+ "tiktok",
3300
+
3301
+ "sfcc",
3302
+
3303
+ "debenhams",
3304
+
3305
+ "prestomall",
3306
+
3307
+ "meesho",
3308
+
3309
+ "amazon_vdf",
3310
+
3311
+ "bigcommerce",
3312
+
3313
+ "sendo",
3314
+
3315
+ "storehippo",
3316
+
3317
+ "cdiscount",
3318
+
3319
+ "nykaa",
3320
+
3321
+ "trendyol",
3322
+
3323
+ "weloveshopping",
3324
+
3325
+ "jollee",
3326
+
3327
+ "wish",
3328
+
3329
+ "tiki",
3330
+
3331
+ "central_online",
3332
+
3333
+ "q10",
3334
+
3335
+ "cred",
3336
+
3337
+ "walmart",
3338
+
3339
+ "snapdeal",
3340
+
3341
+ "flipkart",
3342
+
3343
+ "blibli",
3344
+
3345
+ "ajio_jit",
3346
+
3347
+ "pharmeasy",
3348
+
3349
+ "ezmall",
3350
+
3351
+ "adobe_commerce",
3352
+
3353
+ "kartmax",
3354
+
3355
+ "shopee",
3356
+
3357
+ "zalora",
3358
+
3359
+ "prestashop",
3360
+
3361
+ "smytten",
3362
+
3363
+ "amazon_sc",
3364
+
3365
+ "urbanpiper",
3366
+
3367
+ "flipkart_quick",
3368
+
3369
+ "woocommerce",
3370
+
3371
+ "zivame",
3372
+
3373
+ "lelong",
3374
+
3375
+ "facebook",
3376
+
3377
+ "jiomart",
3378
+
3379
+ "gmc",
3380
+
3381
+ "robins",
3382
+
3383
+ "akulaku",
3384
+
3385
+ "noon",
3386
+
3387
+ "tatacliq",
3388
+
3389
+ "kartrocket",
3390
+
3391
+ "inorbit",
3392
+
3393
+ "ajio_business",
3394
+
3395
+ "swiggy",
3396
+
3397
+ "asos",
3398
+
3399
+ "tokopedia",
3400
+
3401
+ "limeroad",
3402
+
3403
+ "myntra_omni",
3404
+
3405
+ "spoyl",
3406
+
3407
+ "amazon_mlf",
3408
+
3409
+ "fulfilled_by_lazada",
3410
+
3411
+ "ebay",
3412
+
3413
+ "jd",
3414
+
3415
+ "amazon_pharmacy",
3416
+
3417
+ "ajio_vms",
3418
+
3419
+ "daraz",
3420
+
3421
+ "oker",
3422
+
3423
+ "flipkart_b2b",
3424
+
3425
+ "amazon_mlf_ss",
3426
+
3427
+ "woovly",
3428
+
3429
+ "tata1mg",
3430
+
3431
+ "zomato",
3432
+
3433
+ "shopify"
3434
+ );
3435
+ }
3163
3436
  }
3164
3437
  module.exports = PaymentPlatformModel;
@@ -42,6 +42,19 @@ declare class Serviceability {
42
42
  * @description: Creates a rule within the delivery configuration. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createCourierPartnerRule/).
43
43
  */
44
44
  createCourierPartnerRule({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateCourierPartnerRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>;
45
+ /**
46
+ * @param {ServiceabilityPlatformApplicationValidator.CreateFulfillmentOptionParam} arg
47
+ * - Arg object
48
+ *
49
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
50
+ * @param {import("../PlatformAPIClient").Options} - Options
51
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOption>} -
52
+ * Success response
53
+ * @name createFulfillmentOption
54
+ * @summary: Create a new fulfillment option
55
+ * @description: Creates a new fulfillment option for the specified company and application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createFulfillmentOption/).
56
+ */
57
+ createFulfillmentOption({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateFulfillmentOptionParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOption>;
45
58
  /**
46
59
  * @param {ServiceabilityPlatformApplicationValidator.CreateGeoAreaParam} arg
47
60
  * - Arg object
@@ -94,6 +107,20 @@ declare class Serviceability {
94
107
  * @description: Creates a delivery zone. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createZone/).
95
108
  */
96
109
  createZone({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSchema>;
110
+ /**
111
+ * @param {ServiceabilityPlatformApplicationValidator.DeleteFulfillmentOptionsParam} arg
112
+ * - Arg object
113
+ *
114
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
115
+ * @param {import("../PlatformAPIClient").Options} - Options
116
+ * @returns {Promise<ServiceabilityPlatformModel.OperationResponseSchema>}
117
+ * - Success response
118
+ *
119
+ * @name deleteFulfillmentOptions
120
+ * @summary: Delete fulfillment options
121
+ * @description: Deletes fulfillment options for provided slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/deleteFulfillmentOptions/).
122
+ */
123
+ deleteFulfillmentOptions({ slug, requestHeaders }?: ServiceabilityPlatformApplicationValidator.DeleteFulfillmentOptionsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OperationResponseSchema>;
97
124
  /**
98
125
  * @param {ServiceabilityPlatformApplicationValidator.DeleteZoneParam} arg
99
126
  * - Arg object
@@ -160,6 +187,20 @@ declare class Serviceability {
160
187
  * @description: Get specific zone which is exported at the application level. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkExport/).
161
188
  */
162
189
  getBulkExport({ batchId, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetBulkExportParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetZoneBulkExport>;
190
+ /**
191
+ * @param {ServiceabilityPlatformApplicationValidator.GetBulkFulfillmentValidationStatusParam} arg
192
+ * - Arg object
193
+ *
194
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
195
+ * @param {import("../PlatformAPIClient").Options} - Options
196
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkValidate>}
197
+ * - Success response
198
+ *
199
+ * @name getBulkFulfillmentValidationStatus
200
+ * @summary: Validate bulk fulfillment options.
201
+ * @description: Validates a bulk list of fulfillment options for an application before processing, ensuring correctness for stores or products. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkFulfillmentValidationStatus/).
202
+ */
203
+ getBulkFulfillmentValidationStatus({ bulkId, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetBulkFulfillmentValidationStatusParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkValidate>;
163
204
  /**
164
205
  * @param {ServiceabilityPlatformApplicationValidator.GetBulkGeoAreaParam} arg
165
206
  * - Arg object
@@ -215,6 +256,47 @@ declare class Serviceability {
215
256
  * @description: Get all the serviceable courier partners of a destination and the shipments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartners/).
216
257
  */
217
258
  getCourierPartners({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnersParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ShipmentCourierPartnerResult>;
259
+ /**
260
+ * @param {ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionProductsParam} arg
261
+ * - Arg object
262
+ *
263
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
264
+ * @param {import("../PlatformAPIClient").Options} - Options
265
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOptionProducts>}
266
+ * - Success response
267
+ *
268
+ * @name getFulfillmentOptionProducts
269
+ * @summary: Get products for a specific fulfillment option.
270
+ * @description: Retrieves products available for a specific fulfillment option in an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getFulfillmentOptionProducts/).
271
+ */
272
+ getFulfillmentOptionProducts({ slug, storeId, q, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionProductsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOptionProducts>;
273
+ /**
274
+ * @param {ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionStoresParam} arg
275
+ * - Arg object
276
+ *
277
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
278
+ * @param {import("../PlatformAPIClient").Options} - Options
279
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOptionStores>}
280
+ * - Success response
281
+ *
282
+ * @name getFulfillmentOptionStores
283
+ * @summary: Get stores for a specific fulfillment option.
284
+ * @description: Retrieves stores available for a specific fulfillment option in an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getFulfillmentOptionStores/).
285
+ */
286
+ getFulfillmentOptionStores({ slug, q, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionStoresParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOptionStores>;
287
+ /**
288
+ * @param {ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionsParam} arg
289
+ * - Arg object
290
+ *
291
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
292
+ * @param {import("../PlatformAPIClient").Options} - Options
293
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOption>} -
294
+ * Success response
295
+ * @name getFulfillmentOptions
296
+ * @summary: Get fulfillment options
297
+ * @description: Fetches available fulfillment options for a given product and store. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getFulfillmentOptions/).
298
+ */
299
+ getFulfillmentOptions({ slug, productId, storeId, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetFulfillmentOptionsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOption>;
218
300
  /**
219
301
  * @param {ServiceabilityPlatformApplicationValidator.GetGeoAreaParam} arg
220
302
  * - Arg object
@@ -300,7 +382,7 @@ declare class Serviceability {
300
382
  * @summary: Get zones
301
383
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getZones/).
302
384
  */
303
- getZones({ stage, pageSize, pageNo, isActive, q, countryIsoCode, pincode, state, city, sector, requestHeaders, }?: ServiceabilityPlatformApplicationValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewSchema>;
385
+ getZones({ stage, pageSize, pageNo, fulfillmentOptionSlug, isActive, q, countryIsoCode, pincode, state, city, sector, requestHeaders, }?: ServiceabilityPlatformApplicationValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewSchema>;
304
386
  /**
305
387
  * @param {ServiceabilityPlatformApplicationValidator.InsertApplicationConfigParam} arg
306
388
  * - Arg object
@@ -328,6 +410,19 @@ declare class Serviceability {
328
410
  * @description: Apply configs to application. Supports patching for buybox rule config and promise config. For reference, refer to examples - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/patchApplicationConfiguration/).
329
411
  */
330
412
  patchApplicationConfiguration({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.PatchApplicationConfigurationParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ApplicationConfigPatchResult>;
413
+ /**
414
+ * @param {ServiceabilityPlatformApplicationValidator.PutFulfillmentOptionParam} arg
415
+ * - Arg object
416
+ *
417
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
418
+ * @param {import("../PlatformAPIClient").Options} - Options
419
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOption>} -
420
+ * Success response
421
+ * @name putFulfillmentOption
422
+ * @summary: Update an existing fulfillment option
423
+ * @description: Updates the details of an existing fulfillment option for the specified company and application - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/putFulfillmentOption/).
424
+ */
425
+ putFulfillmentOption({ slug, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.PutFulfillmentOptionParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOption>;
331
426
  /**
332
427
  * @param {ServiceabilityPlatformApplicationValidator.UpdateApplicationConfigurationParam} arg
333
428
  * - Arg object
@@ -501,6 +596,34 @@ declare class Serviceability {
501
596
  * @description: Enable or Disable a Zone under that application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateZone/).
502
597
  */
503
598
  updateZone({ zoneId, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneUpdateSuccessResult>;
599
+ /**
600
+ * @param {ServiceabilityPlatformApplicationValidator.UploadBulkFulfillmentOptionsParam} arg
601
+ * - Arg object
602
+ *
603
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
604
+ * @param {import("../PlatformAPIClient").Options} - Options
605
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkData>}
606
+ * - Success response
607
+ *
608
+ * @name uploadBulkFulfillmentOptions
609
+ * @summary: Upload bulk fulfillment options.
610
+ * @description: Uploads a bulk list of fulfillment options for an application, allowing multiple fulfillment configurations to be processed at once. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/uploadBulkFulfillmentOptions/).
611
+ */
612
+ uploadBulkFulfillmentOptions({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UploadBulkFulfillmentOptionsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkData>;
613
+ /**
614
+ * @param {ServiceabilityPlatformApplicationValidator.ValidateBulkFulfillmentOptionsParam} arg
615
+ * - Arg object
616
+ *
617
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
618
+ * @param {import("../PlatformAPIClient").Options} - Options
619
+ * @returns {Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkValidateData>}
620
+ * - Success response
621
+ *
622
+ * @name validateBulkFulfillmentOptions
623
+ * @summary: Validate bulk fulfillment options.
624
+ * @description: Validates a bulk list of fulfillment options for an application before processing, ensuring correctness for stores or products. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/validateBulkFulfillmentOptions/).
625
+ */
626
+ validateBulkFulfillmentOptions({ type, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.ValidateBulkFulfillmentOptionsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOptionBulkValidateData>;
504
627
  }
505
628
  import ServiceabilityPlatformApplicationValidator = require("./ServiceabilityPlatformApplicationValidator");
506
629
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");