@gofynd/fdk-client-javascript 3.15.0 → 3.16.0

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 (58) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -1
  4. package/sdk/application/Order/OrderApplicationClient.js +50 -1
  5. package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -20
  6. package/sdk/application/Payment/PaymentApplicationClient.js +0 -77
  7. package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
  8. package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
  9. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
  10. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
  11. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
  12. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  13. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
  14. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  15. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +10 -0
  16. package/sdk/platform/Cart/CartPlatformApplicationClient.js +95 -0
  17. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +47 -1
  18. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +29 -0
  19. package/sdk/platform/Cart/CartPlatformModel.d.ts +17 -3
  20. package/sdk/platform/Cart/CartPlatformModel.js +14 -1
  21. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
  22. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +13 -16
  23. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +17 -20
  24. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +10 -11
  25. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  26. package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
  27. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -37
  28. package/sdk/platform/Catalog/CatalogPlatformModel.js +33 -28
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
  30. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
  31. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
  32. package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
  33. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
  34. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
  35. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
  36. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
  37. package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
  38. package/sdk/platform/Content/ContentPlatformModel.js +1 -1
  39. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
  40. package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
  41. package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
  42. package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
  43. package/sdk/platform/Order/OrderPlatformModel.d.ts +2 -2
  44. package/sdk/platform/Order/OrderPlatformModel.js +1 -1
  45. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +0 -23
  46. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +0 -161
  47. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -19
  48. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +0 -24
  49. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1 -159
  50. package/sdk/platform/Payment/PaymentPlatformModel.js +0 -112
  51. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
  52. package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
  53. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +67 -49
  54. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +45 -42
  55. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
  56. package/sdk/platform/Share/SharePlatformModel.js +1 -1
  57. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  58. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
@@ -157,17 +157,11 @@ export = PaymentPlatformModel;
157
157
  * @typedef PaymentFlow
158
158
  * @property {AggregatorRoute} [bqr_razorpay]
159
159
  * @property {AggregatorRoute} [fynd]
160
- * @property {AggregatorRoute} [epaylater]
161
160
  * @property {AggregatorRoute} [razorpay]
162
161
  * @property {AggregatorRoute} [juspay]
163
- * @property {AggregatorRoute} [ajiodhan]
164
162
  * @property {AggregatorRoute} [simpl]
165
- * @property {AggregatorRoute} [rupifi]
166
- * @property {AggregatorRoute} [mswipe]
167
- * @property {AggregatorRoute} [stripe]
168
163
  * @property {AggregatorRoute} [ccavenue]
169
164
  * @property {AggregatorRoute} [payubiz]
170
- * @property {AggregatorRoute} [jiopay]
171
165
  */
172
166
  /**
173
167
  * @typedef PaymentOptionAndFlow
@@ -598,45 +592,6 @@ export = PaymentPlatformModel;
598
592
  * @property {string} message - The confirmation message of the token revoke.
599
593
  * @property {boolean} success - Response is successful or not
600
594
  */
601
- /**
602
- * @typedef RepaymentRequestDetails
603
- * @property {string} fwd_shipment_id - Purchase Shipment Id
604
- * @property {string} aggregator - Name of Payment Gateway
605
- * @property {string} current_status - Status
606
- * @property {string} merchant_order_id - Merchant's Order Id
607
- * @property {number} amount - Amount to paid back
608
- * @property {string} payment_mode - Payment Mode
609
- * @property {number} outstanding_details_id - Outstanding details ID
610
- * @property {string} aggregator_transaction_id - Unique Id for the transaction
611
- * @property {string} aggregator_order_id - Id of payment gateway
612
- * @property {string} payment_mode_identifier - Payment Mode Id
613
- */
614
- /**
615
- * @typedef RepaymentDetailsSerialiserPayAll
616
- * @property {number} total_amount - Total amount
617
- * @property {string} extension_order_id - Order id created in extension
618
- * @property {string} aggregator_transaction_id - Unique Id for the transaction
619
- * @property {string} aggregator_order_id - Id of payment gateway
620
- * @property {RepaymentRequestDetails[]} [shipment_details]
621
- */
622
- /**
623
- * @typedef RepaymentDetails
624
- * @property {Object} data
625
- * @property {boolean} success - Success/Failure of the transaction
626
- */
627
- /**
628
- * @typedef MerchantOnBoardingCreation
629
- * @property {string} credit_line_id - Merchant ID at Ajiodhan's end
630
- * @property {string} aggregator - Payment aggregator name
631
- * @property {string} app_id - Application id
632
- * @property {string} user_id - Deadlock or Grimlock user id
633
- * @property {string} status - Status
634
- */
635
- /**
636
- * @typedef MerchantOnBoardingDetails
637
- * @property {Object} data
638
- * @property {boolean} success - Success/Failure of the transaction
639
- */
640
595
  /**
641
596
  * @typedef ValidateCustomerCreation
642
597
  * @property {string} phone_number - User mobile number without country code.
@@ -1205,7 +1160,7 @@ export = PaymentPlatformModel;
1205
1160
  declare class PaymentPlatformModel {
1206
1161
  }
1207
1162
  declare namespace PaymentPlatformModel {
1208
- 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, 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 };
1163
+ 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, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, 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 };
1209
1164
  }
1210
1165
  /** @returns {PaymentGatewayConfigDetails} */
1211
1166
  declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
@@ -1633,17 +1588,11 @@ declare function PaymentFlow(): PaymentFlow;
1633
1588
  type PaymentFlow = {
1634
1589
  bqr_razorpay?: AggregatorRoute;
1635
1590
  fynd?: AggregatorRoute;
1636
- epaylater?: AggregatorRoute;
1637
1591
  razorpay?: AggregatorRoute;
1638
1592
  juspay?: AggregatorRoute;
1639
- ajiodhan?: AggregatorRoute;
1640
1593
  simpl?: AggregatorRoute;
1641
- rupifi?: AggregatorRoute;
1642
- mswipe?: AggregatorRoute;
1643
- stripe?: AggregatorRoute;
1644
1594
  ccavenue?: AggregatorRoute;
1645
1595
  payubiz?: AggregatorRoute;
1646
- jiopay?: AggregatorRoute;
1647
1596
  };
1648
1597
  /** @returns {PaymentOptionAndFlow} */
1649
1598
  declare function PaymentOptionAndFlow(): PaymentOptionAndFlow;
@@ -2760,113 +2709,6 @@ type RevokeOAuthToken = {
2760
2709
  */
2761
2710
  success: boolean;
2762
2711
  };
2763
- /** @returns {RepaymentRequestDetails} */
2764
- declare function RepaymentRequestDetails(): RepaymentRequestDetails;
2765
- type RepaymentRequestDetails = {
2766
- /**
2767
- * - Purchase Shipment Id
2768
- */
2769
- fwd_shipment_id: string;
2770
- /**
2771
- * - Name of Payment Gateway
2772
- */
2773
- aggregator: string;
2774
- /**
2775
- * - Status
2776
- */
2777
- current_status: string;
2778
- /**
2779
- * - Merchant's Order Id
2780
- */
2781
- merchant_order_id: string;
2782
- /**
2783
- * - Amount to paid back
2784
- */
2785
- amount: number;
2786
- /**
2787
- * - Payment Mode
2788
- */
2789
- payment_mode: string;
2790
- /**
2791
- * - Outstanding details ID
2792
- */
2793
- outstanding_details_id: number;
2794
- /**
2795
- * - Unique Id for the transaction
2796
- */
2797
- aggregator_transaction_id: string;
2798
- /**
2799
- * - Id of payment gateway
2800
- */
2801
- aggregator_order_id: string;
2802
- /**
2803
- * - Payment Mode Id
2804
- */
2805
- payment_mode_identifier: string;
2806
- };
2807
- /** @returns {RepaymentDetailsSerialiserPayAll} */
2808
- declare function RepaymentDetailsSerialiserPayAll(): RepaymentDetailsSerialiserPayAll;
2809
- type RepaymentDetailsSerialiserPayAll = {
2810
- /**
2811
- * - Total amount
2812
- */
2813
- total_amount: number;
2814
- /**
2815
- * - Order id created in extension
2816
- */
2817
- extension_order_id: string;
2818
- /**
2819
- * - Unique Id for the transaction
2820
- */
2821
- aggregator_transaction_id: string;
2822
- /**
2823
- * - Id of payment gateway
2824
- */
2825
- aggregator_order_id: string;
2826
- shipment_details?: RepaymentRequestDetails[];
2827
- };
2828
- /** @returns {RepaymentDetails} */
2829
- declare function RepaymentDetails(): RepaymentDetails;
2830
- type RepaymentDetails = {
2831
- data: any;
2832
- /**
2833
- * - Success/Failure of the transaction
2834
- */
2835
- success: boolean;
2836
- };
2837
- /** @returns {MerchantOnBoardingCreation} */
2838
- declare function MerchantOnBoardingCreation(): MerchantOnBoardingCreation;
2839
- type MerchantOnBoardingCreation = {
2840
- /**
2841
- * - Merchant ID at Ajiodhan's end
2842
- */
2843
- credit_line_id: string;
2844
- /**
2845
- * - Payment aggregator name
2846
- */
2847
- aggregator: string;
2848
- /**
2849
- * - Application id
2850
- */
2851
- app_id: string;
2852
- /**
2853
- * - Deadlock or Grimlock user id
2854
- */
2855
- user_id: string;
2856
- /**
2857
- * - Status
2858
- */
2859
- status: string;
2860
- };
2861
- /** @returns {MerchantOnBoardingDetails} */
2862
- declare function MerchantOnBoardingDetails(): MerchantOnBoardingDetails;
2863
- type MerchantOnBoardingDetails = {
2864
- data: any;
2865
- /**
2866
- * - Success/Failure of the transaction
2867
- */
2868
- success: boolean;
2869
- };
2870
2712
  /** @returns {ValidateCustomerCreation} */
2871
2713
  declare function ValidateCustomerCreation(): ValidateCustomerCreation;
2872
2714
  type ValidateCustomerCreation = {
@@ -176,17 +176,11 @@ const Joi = require("joi");
176
176
  * @typedef PaymentFlow
177
177
  * @property {AggregatorRoute} [bqr_razorpay]
178
178
  * @property {AggregatorRoute} [fynd]
179
- * @property {AggregatorRoute} [epaylater]
180
179
  * @property {AggregatorRoute} [razorpay]
181
180
  * @property {AggregatorRoute} [juspay]
182
- * @property {AggregatorRoute} [ajiodhan]
183
181
  * @property {AggregatorRoute} [simpl]
184
- * @property {AggregatorRoute} [rupifi]
185
- * @property {AggregatorRoute} [mswipe]
186
- * @property {AggregatorRoute} [stripe]
187
182
  * @property {AggregatorRoute} [ccavenue]
188
183
  * @property {AggregatorRoute} [payubiz]
189
- * @property {AggregatorRoute} [jiopay]
190
184
  */
191
185
 
192
186
  /**
@@ -671,50 +665,6 @@ const Joi = require("joi");
671
665
  * @property {boolean} success - Response is successful or not
672
666
  */
673
667
 
674
- /**
675
- * @typedef RepaymentRequestDetails
676
- * @property {string} fwd_shipment_id - Purchase Shipment Id
677
- * @property {string} aggregator - Name of Payment Gateway
678
- * @property {string} current_status - Status
679
- * @property {string} merchant_order_id - Merchant's Order Id
680
- * @property {number} amount - Amount to paid back
681
- * @property {string} payment_mode - Payment Mode
682
- * @property {number} outstanding_details_id - Outstanding details ID
683
- * @property {string} aggregator_transaction_id - Unique Id for the transaction
684
- * @property {string} aggregator_order_id - Id of payment gateway
685
- * @property {string} payment_mode_identifier - Payment Mode Id
686
- */
687
-
688
- /**
689
- * @typedef RepaymentDetailsSerialiserPayAll
690
- * @property {number} total_amount - Total amount
691
- * @property {string} extension_order_id - Order id created in extension
692
- * @property {string} aggregator_transaction_id - Unique Id for the transaction
693
- * @property {string} aggregator_order_id - Id of payment gateway
694
- * @property {RepaymentRequestDetails[]} [shipment_details]
695
- */
696
-
697
- /**
698
- * @typedef RepaymentDetails
699
- * @property {Object} data
700
- * @property {boolean} success - Success/Failure of the transaction
701
- */
702
-
703
- /**
704
- * @typedef MerchantOnBoardingCreation
705
- * @property {string} credit_line_id - Merchant ID at Ajiodhan's end
706
- * @property {string} aggregator - Payment aggregator name
707
- * @property {string} app_id - Application id
708
- * @property {string} user_id - Deadlock or Grimlock user id
709
- * @property {string} status - Status
710
- */
711
-
712
- /**
713
- * @typedef MerchantOnBoardingDetails
714
- * @property {Object} data
715
- * @property {boolean} success - Success/Failure of the transaction
716
- */
717
-
718
668
  /**
719
669
  * @typedef ValidateCustomerCreation
720
670
  * @property {string} phone_number - User mobile number without country code.
@@ -1557,17 +1507,11 @@ class PaymentPlatformModel {
1557
1507
  return Joi.object({
1558
1508
  bqr_razorpay: PaymentPlatformModel.AggregatorRoute(),
1559
1509
  fynd: PaymentPlatformModel.AggregatorRoute(),
1560
- epaylater: PaymentPlatformModel.AggregatorRoute(),
1561
1510
  razorpay: PaymentPlatformModel.AggregatorRoute(),
1562
1511
  juspay: PaymentPlatformModel.AggregatorRoute(),
1563
- ajiodhan: PaymentPlatformModel.AggregatorRoute(),
1564
1512
  simpl: PaymentPlatformModel.AggregatorRoute(),
1565
- rupifi: PaymentPlatformModel.AggregatorRoute(),
1566
- mswipe: PaymentPlatformModel.AggregatorRoute(),
1567
- stripe: PaymentPlatformModel.AggregatorRoute(),
1568
1513
  ccavenue: PaymentPlatformModel.AggregatorRoute(),
1569
1514
  payubiz: PaymentPlatformModel.AggregatorRoute(),
1570
- jiopay: PaymentPlatformModel.AggregatorRoute(),
1571
1515
  });
1572
1516
  }
1573
1517
 
@@ -2172,62 +2116,6 @@ class PaymentPlatformModel {
2172
2116
  });
2173
2117
  }
2174
2118
 
2175
- /** @returns {RepaymentRequestDetails} */
2176
- static RepaymentRequestDetails() {
2177
- return Joi.object({
2178
- fwd_shipment_id: Joi.string().allow("").required(),
2179
- aggregator: Joi.string().allow("").required(),
2180
- current_status: Joi.string().allow("").required(),
2181
- merchant_order_id: Joi.string().allow("").required(),
2182
- amount: Joi.number().required(),
2183
- payment_mode: Joi.string().allow("").required(),
2184
- outstanding_details_id: Joi.number().required(),
2185
- aggregator_transaction_id: Joi.string().allow("").required(),
2186
- aggregator_order_id: Joi.string().allow("").required(),
2187
- payment_mode_identifier: Joi.string().allow("").required(),
2188
- });
2189
- }
2190
-
2191
- /** @returns {RepaymentDetailsSerialiserPayAll} */
2192
- static RepaymentDetailsSerialiserPayAll() {
2193
- return Joi.object({
2194
- total_amount: Joi.number().required(),
2195
- extension_order_id: Joi.string().allow("").required(),
2196
- aggregator_transaction_id: Joi.string().allow("").required(),
2197
- aggregator_order_id: Joi.string().allow("").required(),
2198
- shipment_details: Joi.array().items(
2199
- PaymentPlatformModel.RepaymentRequestDetails()
2200
- ),
2201
- });
2202
- }
2203
-
2204
- /** @returns {RepaymentDetails} */
2205
- static RepaymentDetails() {
2206
- return Joi.object({
2207
- data: Joi.object().pattern(/\S/, Joi.any()).required(),
2208
- success: Joi.boolean().required(),
2209
- });
2210
- }
2211
-
2212
- /** @returns {MerchantOnBoardingCreation} */
2213
- static MerchantOnBoardingCreation() {
2214
- return Joi.object({
2215
- credit_line_id: Joi.string().allow("").required(),
2216
- aggregator: Joi.string().allow("").required(),
2217
- app_id: Joi.string().allow("").required(),
2218
- user_id: Joi.string().allow("").required(),
2219
- status: Joi.string().allow("").required(),
2220
- });
2221
- }
2222
-
2223
- /** @returns {MerchantOnBoardingDetails} */
2224
- static MerchantOnBoardingDetails() {
2225
- return Joi.object({
2226
- data: Joi.object().pattern(/\S/, Joi.any()).required(),
2227
- success: Joi.boolean().required(),
2228
- });
2229
- }
2230
-
2231
2119
  /** @returns {ValidateCustomerCreation} */
2232
2120
  static ValidateCustomerCreation() {
2233
2121
  return Joi.object({
@@ -55,7 +55,7 @@ export = RewardsPlatformModel;
55
55
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
56
56
  * @property {boolean} [has_next] - Indicates whether there is a next page.
57
57
  * @property {number} [current] - The current page number.
58
- * @property {string} type - The type of the page, such as 'PageType'.
58
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
59
59
  * @property {number} [size] - The number of items per page.
60
60
  * @property {number} [page_size] - The number of items per page.
61
61
  */
@@ -248,7 +248,7 @@ type Page = {
248
248
  */
249
249
  current?: number;
250
250
  /**
251
- * - The type of the page, such as 'PageType'.
251
+ * - The type of the page, can be 'cursor' or 'number'.
252
252
  */
253
253
  type: string;
254
254
  /**
@@ -63,7 +63,7 @@ const Joi = require("joi");
63
63
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
64
64
  * @property {boolean} [has_next] - Indicates whether there is a next page.
65
65
  * @property {number} [current] - The current page number.
66
- * @property {string} type - The type of the page, such as 'PageType'.
66
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
67
67
  * @property {number} [size] - The number of items per page.
68
68
  * @property {number} [page_size] - The number of items per page.
69
69
  */