@gofynd/fdk-client-javascript 1.4.2-beta.3 → 1.4.2-beta.5

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 (152) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
  4. package/sdk/application/Cart/CartApplicationClient.js +82 -71
  5. package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
  6. package/sdk/application/Cart/CartApplicationValidator.js +59 -34
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
  16. package/sdk/application/Content/ContentApplicationClient.js +34 -115
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
  20. package/sdk/application/Lead/LeadApplicationClient.js +14 -14
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +24 -24
  25. package/sdk/application/Order/OrderApplicationModel.d.ts +29 -1
  26. package/sdk/application/Order/OrderApplicationModel.js +34 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
  28. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  29. package/sdk/application/Payment/PaymentApplicationModel.d.ts +524 -3
  30. package/sdk/application/Payment/PaymentApplicationModel.js +335 -2
  31. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  32. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  33. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
  34. package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
  35. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
  36. package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
  37. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
  38. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  39. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  40. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  41. package/sdk/application/User/UserApplicationClient.d.ts +66 -66
  42. package/sdk/application/User/UserApplicationClient.js +68 -71
  43. package/sdk/application/User/UserApplicationModel.d.ts +32 -27
  44. package/sdk/application/User/UserApplicationModel.js +22 -32
  45. package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
  46. package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
  47. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  48. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
  49. package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
  50. package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
  51. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
  52. package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
  53. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
  54. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
  55. package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
  56. package/sdk/platform/Cart/CartPlatformModel.js +12 -0
  57. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +221 -108
  58. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +460 -113
  59. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +72 -3
  60. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +46 -2
  61. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
  62. package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
  63. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +38 -5
  64. package/sdk/platform/Catalog/CatalogPlatformModel.js +47 -3
  65. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
  66. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  67. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
  68. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
  69. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
  70. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
  71. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
  72. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
  73. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
  74. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
  75. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
  76. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
  77. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
  78. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
  79. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
  80. package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
  81. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  82. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  83. package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
  84. package/sdk/platform/Content/ContentPlatformClient.js +7 -7
  85. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -1
  86. package/sdk/platform/Content/ContentPlatformModel.js +20 -0
  87. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  88. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  89. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
  90. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
  91. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
  92. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +23 -56
  93. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +2 -0
  94. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -0
  95. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -48
  96. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +12 -48
  97. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +15 -1
  98. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
  99. package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
  100. package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
  101. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  102. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  103. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
  104. package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
  105. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
  106. package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
  107. package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
  108. package/sdk/platform/Order/OrderPlatformClient.js +79 -294
  109. package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -1
  110. package/sdk/platform/Order/OrderPlatformModel.js +44 -0
  111. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  112. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  113. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
  114. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
  115. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
  116. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
  117. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  118. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  119. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -1
  120. package/sdk/platform/Payment/PaymentPlatformModel.js +19 -0
  121. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
  122. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
  123. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
  124. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
  125. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +10 -9
  126. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +11 -10
  127. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +170 -33
  128. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +171 -38
  129. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
  130. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  131. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +11 -11
  132. package/sdk/platform/Share/SharePlatformApplicationClient.js +29 -16
  133. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +13 -3
  134. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -2
  135. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
  136. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
  137. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  138. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  139. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
  140. package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
  141. package/sdk/platform/User/UserPlatformModel.d.ts +81 -11
  142. package/sdk/platform/User/UserPlatformModel.js +80 -10
  143. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
  144. package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
  145. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
  146. package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
  147. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  148. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  149. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  150. package/sdk/public/Partner/PartnerPublicClient.js +2 -2
  151. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  152. package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
@@ -267,6 +267,13 @@ export = PaymentApplicationModel;
267
267
  * @property {string} [payment_flow] - Payment_flow
268
268
  * @property {string} [api_link] - Api_link
269
269
  */
270
+ /**
271
+ * @typedef PaymentDefaultSelection
272
+ * @property {string} [mode] - Default Selection Payment Mode
273
+ * @property {string} [identifier] - Identifier for Payment Mode
274
+ * @property {boolean} [skip] - Decide if the default payment mode will skip the
275
+ * payment options page altogether or just be preferred on the Frontend
276
+ */
270
277
  /**
271
278
  * @typedef PaymentFlow
272
279
  * @property {AggregatorRoute} [bqr_razorpay]
@@ -288,6 +295,7 @@ export = PaymentApplicationModel;
288
295
  * @typedef PaymentOptionAndFlow
289
296
  * @property {RootPaymentMode} payment_option
290
297
  * @property {PaymentFlow} payment_flows
298
+ * @property {PaymentDefaultSelection} [payment_default_selection]
291
299
  */
292
300
  /**
293
301
  * @typedef AdvanceObject
@@ -869,6 +877,113 @@ export = PaymentApplicationModel;
869
877
  * @property {boolean} success - Response is successful or not.
870
878
  * @property {string} [message] - Message
871
879
  */
880
+ /**
881
+ * @typedef DeleteRefundAccountResponse
882
+ * @property {boolean} success - Success/Failure of the deleted beneficiary
883
+ * @property {string} message - Message
884
+ */
885
+ /**
886
+ * @typedef RefundOptionsDetails
887
+ * @property {string} display_name - Refund option display name
888
+ * @property {number} id - Refund ID. It will be unique identifier
889
+ * @property {boolean} [is_active] - Refund option is active or not
890
+ * @property {string} name - Refund option name
891
+ */
892
+ /**
893
+ * @typedef RefundOptions
894
+ * @property {RefundOptionsDetails} items - List of all refund options.
895
+ */
896
+ /**
897
+ * @typedef OfflineRefundOptions
898
+ * @property {RefundOptionsDetails} items - List of all refund options.
899
+ * @property {string[]} payment_modes - List of all offline payment options. MOP
900
+ * Code value
901
+ */
902
+ /**
903
+ * @typedef RefundOptionResponse
904
+ * @property {OfflineRefundOptions} offline_refund_options - Available offline
905
+ * refund options data
906
+ * @property {boolean} success - Success/Failure Of response
907
+ * @property {RefundOptions} refund_options - Available refund options data
908
+ */
909
+ /**
910
+ * @typedef SelectedRefundOptionResponse
911
+ * @property {Object} transfer_mode - Selected transfer mode for given shipment
912
+ * @property {string} shipment_id - Shipment ID
913
+ * @property {string} message - Message
914
+ * @property {boolean} success - Successful or not.
915
+ */
916
+ /**
917
+ * @typedef WalletBeneficiaryDetails
918
+ * @property {string} beneficiary_id - Benenficiary Id
919
+ * @property {string} modified_on - MOdification Date of Beneficiary
920
+ * @property {string} display_name - Display Name Of Account
921
+ * @property {number} id -
922
+ * @property {string} subtitle - SHort Title Of Account
923
+ * @property {string} transfer_mode - Transfer Mode Of Account
924
+ * @property {string} [mobile] - MObile no of User
925
+ * @property {boolean} is_active - Boolean Flag whether Beneficiary set or not
926
+ * @property {string} created_on - Creation Date of Beneficiary
927
+ * @property {string} address - Address of User
928
+ * @property {string} title - Title Of Account
929
+ * @property {string} wallet_address - Bank Name Of Account
930
+ * @property {string} [comment] - Remarks
931
+ * @property {string} [wallet] - Branch Name Of Account
932
+ * @property {string} email - EMail of User
933
+ * @property {string} [delights_user_name] - User Id Who filled the Beneficiary
934
+ */
935
+ /**
936
+ * @typedef UpiBeneficiaryDetails
937
+ * @property {string} beneficiary_id - Benenficiary Id
938
+ * @property {string} modified_on - MOdification Date of Beneficiary
939
+ * @property {string} display_name - Display Name Of Account
940
+ * @property {number} id -
941
+ * @property {string} subtitle - SHort Title Of Account
942
+ * @property {string} transfer_mode - Transfer Mode Of Account
943
+ * @property {string} [vpa] - Branch Name Of Account
944
+ * @property {string} [mobile] - Mobile no of User
945
+ * @property {string} vpa_address - Bank Name Of Account
946
+ * @property {string} created_on - Creation Date of Beneficiary
947
+ * @property {string} address - Address of User
948
+ * @property {string} title - Title Of Account
949
+ * @property {string} [comment] - Remarks
950
+ * @property {boolean} is_active - Boolean Flag whether Beneficiary set or not
951
+ * @property {string} email - EMail of User
952
+ * @property {string} [delights_user_name] - User Id Who filled the Beneficiary
953
+ */
954
+ /**
955
+ * @typedef BeneficiaryRefundOptions
956
+ * @property {OrderBeneficiaryDetails} [bank] - List of all add bank beneficiary details.
957
+ * @property {WalletBeneficiaryDetails} [wallet] - List of all add Wallet
958
+ * beneficiary details.
959
+ * @property {UpiBeneficiaryDetails} [upi] - List of all add UPI beneficiary details.
960
+ */
961
+ /**
962
+ * @typedef OrderBeneficiaryResponseSchemaV2
963
+ * @property {boolean} show_beneficiary_details - Show Beneficiary details on UI or not.
964
+ * @property {BeneficiaryRefundOptions} data - Beneficiary Data for Bank
965
+ * account, UPI and Wallets.
966
+ * @property {Object} limit - Max Limit for adding bank account, UPI and wallet
967
+ */
968
+ /**
969
+ * @typedef ValidateValidateAddressRequest
970
+ * @property {string} [ifsc_code] - IFSC Code
971
+ * @property {string} [upi_vpa] - VPA Address
972
+ * @property {string} [aggregator] - Aggregator Name
973
+ */
974
+ /**
975
+ * @typedef VPADetails
976
+ * @property {boolean} is_valid - Is VPA valid or not
977
+ * @property {string} upi_vpa - VPA address
978
+ * @property {string} status - VPA validation message
979
+ * @property {string} customer_name - VPA Customer Name
980
+ */
981
+ /**
982
+ * @typedef ValidateValidateAddressResponse
983
+ * @property {VPADetails} [upi] - UPI validation details.
984
+ * @property {boolean} success - Successful or not.
985
+ * @property {Object} [ifsc] - IFSC details response data
986
+ */
872
987
  /**
873
988
  * @typedef PaymentMethodsMetaOrder
874
989
  * @property {string} merchant_code - Merchant code
@@ -907,15 +1022,35 @@ export = PaymentApplicationModel;
907
1022
  * @property {string} [payment_confirm_url] - Payment confirm url for aggregator
908
1023
  * @property {string} [callback_url] - Callback url for aggregator
909
1024
  * @property {string} [order_id] - Merchant order id
910
- * @property {boolean} success - Successful or failure
1025
+ * @property {boolean} [success] - Successful or failure
911
1026
  * @property {number} status_code - HTTP status code
912
1027
  * @property {PaymentOrderData} [data]
913
1028
  * @property {string} message - Message
914
1029
  */
1030
+ /**
1031
+ * @typedef ShipmentRefundRequest
1032
+ * @property {string} shipment_id - Shipment Id of the respective Merchant Order Id
1033
+ * @property {string} order_id - Merchant Order Id
1034
+ * @property {string} transfer_mode - Transfer Mode of the Beneficiary to be added
1035
+ * @property {string} [beneficiary_id] - Beneficiary Hash Id of the beneficiary added
1036
+ */
1037
+ /**
1038
+ * @typedef ShipmentRefundDetail
1039
+ * @property {string} shipment_id - Shipment ID
1040
+ * @property {string} order_id - Order ID
1041
+ * @property {string} transfer_mode - TransferMode
1042
+ * @property {string} beneficiary_id - Beneficiary ID
1043
+ */
1044
+ /**
1045
+ * @typedef ShipmentRefundResponse
1046
+ * @property {ShipmentRefundDetail} data - Selected Shipment refund option details.
1047
+ * @property {boolean} success - Successful or not.
1048
+ * @property {string} message - Message
1049
+ */
915
1050
  declare class PaymentApplicationModel {
916
1051
  }
917
1052
  declare namespace PaymentApplicationModel {
918
- export { AggregatorConfigDetail, AggregatorsConfigDetailResponse, ErrorCodeAndDescription, HttpErrorCodeAndResponse, AttachCardRequest, AttachCardsResponse, CardPaymentGateway, ActiveCardPaymentGatewayResponse, Card, ListCardsResponse, DeletehCardRequest, DeleteCardsResponse, ValidateCustomerRequest, ValidateCustomerResponse, ChargeCustomerRequest, ChargeCustomerResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, IntentAppErrorList, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, AggregatorRoute, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, WalletLinkRequestSchema, WalletVerifyRequestSchema, WalletDelinkRequestSchema, WalletResponseSchema, RupifiBannerData, RupifiBannerResponse, EpaylaterBannerData, EpaylaterBannerResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, renderHTMLRequest, renderHTMLResponse, ValidateVPARequest, ValidateUPI, ValidateVPAResponse, CardDetails, CardDetailsResponse, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, NotFoundResourceError, IfscCodeResponse, ErrorCodeDescription, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, WrongOtpError, BeneficiaryModeDetails, AddBeneficiaryDetailsRequest, RefundAccountResponse, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, WalletOtpRequest, WalletOtpResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, PollingPaymentLinkResponse, PaymentMethodsMeta, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserData, CreateOrderUserResponse, BalanceDetails, CreditSummary, CustomerCreditSummaryResponse, RedirectURL, RedirectToAggregatorResponse, CreditDetail, CheckCreditResponse, KYCAddress, UserPersonalInfoInDetails, MarketplaceInfo, BusinessDetails, DeviceDetails, CustomerOnboardingRequest, OnboardSummary, CustomerOnboardingResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse };
1053
+ export { AggregatorConfigDetail, AggregatorsConfigDetailResponse, ErrorCodeAndDescription, HttpErrorCodeAndResponse, AttachCardRequest, AttachCardsResponse, CardPaymentGateway, ActiveCardPaymentGatewayResponse, Card, ListCardsResponse, DeletehCardRequest, DeleteCardsResponse, ValidateCustomerRequest, ValidateCustomerResponse, ChargeCustomerRequest, ChargeCustomerResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, IntentAppErrorList, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, WalletLinkRequestSchema, WalletVerifyRequestSchema, WalletDelinkRequestSchema, WalletResponseSchema, RupifiBannerData, RupifiBannerResponse, EpaylaterBannerData, EpaylaterBannerResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, renderHTMLRequest, renderHTMLResponse, ValidateVPARequest, ValidateUPI, ValidateVPAResponse, CardDetails, CardDetailsResponse, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, NotFoundResourceError, IfscCodeResponse, ErrorCodeDescription, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, WrongOtpError, BeneficiaryModeDetails, AddBeneficiaryDetailsRequest, RefundAccountResponse, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, WalletOtpRequest, WalletOtpResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, PollingPaymentLinkResponse, PaymentMethodsMeta, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserData, CreateOrderUserResponse, BalanceDetails, CreditSummary, CustomerCreditSummaryResponse, RedirectURL, RedirectToAggregatorResponse, CreditDetail, CheckCreditResponse, KYCAddress, UserPersonalInfoInDetails, MarketplaceInfo, BusinessDetails, DeviceDetails, CustomerOnboardingRequest, OnboardSummary, CustomerOnboardingResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, DeleteRefundAccountResponse, RefundOptionsDetails, RefundOptions, OfflineRefundOptions, RefundOptionResponse, SelectedRefundOptionResponse, WalletBeneficiaryDetails, UpiBeneficiaryDetails, BeneficiaryRefundOptions, OrderBeneficiaryResponseSchemaV2, ValidateValidateAddressRequest, VPADetails, ValidateValidateAddressResponse, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse, ShipmentRefundRequest, ShipmentRefundDetail, ShipmentRefundResponse };
919
1054
  }
920
1055
  /** @returns {AggregatorConfigDetail} */
921
1056
  declare function AggregatorConfigDetail(): AggregatorConfigDetail;
@@ -1724,6 +1859,23 @@ type AggregatorRoute = {
1724
1859
  */
1725
1860
  api_link?: string;
1726
1861
  };
1862
+ /** @returns {PaymentDefaultSelection} */
1863
+ declare function PaymentDefaultSelection(): PaymentDefaultSelection;
1864
+ type PaymentDefaultSelection = {
1865
+ /**
1866
+ * - Default Selection Payment Mode
1867
+ */
1868
+ mode?: string;
1869
+ /**
1870
+ * - Identifier for Payment Mode
1871
+ */
1872
+ identifier?: string;
1873
+ /**
1874
+ * - Decide if the default payment mode will skip the
1875
+ * payment options page altogether or just be preferred on the Frontend
1876
+ */
1877
+ skip?: boolean;
1878
+ };
1727
1879
  /** @returns {PaymentFlow} */
1728
1880
  declare function PaymentFlow(): PaymentFlow;
1729
1881
  type PaymentFlow = {
@@ -1747,6 +1899,7 @@ declare function PaymentOptionAndFlow(): PaymentOptionAndFlow;
1747
1899
  type PaymentOptionAndFlow = {
1748
1900
  payment_option: RootPaymentMode;
1749
1901
  payment_flows: PaymentFlow;
1902
+ payment_default_selection?: PaymentDefaultSelection;
1750
1903
  };
1751
1904
  /** @returns {AdvanceObject} */
1752
1905
  declare function AdvanceObject(): AdvanceObject;
@@ -3313,6 +3466,318 @@ type PaidOrderDetailsResponse = {
3313
3466
  */
3314
3467
  message?: string;
3315
3468
  };
3469
+ /** @returns {DeleteRefundAccountResponse} */
3470
+ declare function DeleteRefundAccountResponse(): DeleteRefundAccountResponse;
3471
+ type DeleteRefundAccountResponse = {
3472
+ /**
3473
+ * - Success/Failure of the deleted beneficiary
3474
+ */
3475
+ success: boolean;
3476
+ /**
3477
+ * - Message
3478
+ */
3479
+ message: string;
3480
+ };
3481
+ /** @returns {RefundOptionsDetails} */
3482
+ declare function RefundOptionsDetails(): RefundOptionsDetails;
3483
+ type RefundOptionsDetails = {
3484
+ /**
3485
+ * - Refund option display name
3486
+ */
3487
+ display_name: string;
3488
+ /**
3489
+ * - Refund ID. It will be unique identifier
3490
+ */
3491
+ id: number;
3492
+ /**
3493
+ * - Refund option is active or not
3494
+ */
3495
+ is_active?: boolean;
3496
+ /**
3497
+ * - Refund option name
3498
+ */
3499
+ name: string;
3500
+ };
3501
+ /** @returns {RefundOptions} */
3502
+ declare function RefundOptions(): RefundOptions;
3503
+ type RefundOptions = {
3504
+ /**
3505
+ * - List of all refund options.
3506
+ */
3507
+ items: RefundOptionsDetails;
3508
+ };
3509
+ /** @returns {OfflineRefundOptions} */
3510
+ declare function OfflineRefundOptions(): OfflineRefundOptions;
3511
+ type OfflineRefundOptions = {
3512
+ /**
3513
+ * - List of all refund options.
3514
+ */
3515
+ items: RefundOptionsDetails;
3516
+ /**
3517
+ * - List of all offline payment options. MOP
3518
+ * Code value
3519
+ */
3520
+ payment_modes: string[];
3521
+ };
3522
+ /** @returns {RefundOptionResponse} */
3523
+ declare function RefundOptionResponse(): RefundOptionResponse;
3524
+ type RefundOptionResponse = {
3525
+ /**
3526
+ * - Available offline
3527
+ * refund options data
3528
+ */
3529
+ offline_refund_options: OfflineRefundOptions;
3530
+ /**
3531
+ * - Success/Failure Of response
3532
+ */
3533
+ success: boolean;
3534
+ /**
3535
+ * - Available refund options data
3536
+ */
3537
+ refund_options: RefundOptions;
3538
+ };
3539
+ /** @returns {SelectedRefundOptionResponse} */
3540
+ declare function SelectedRefundOptionResponse(): SelectedRefundOptionResponse;
3541
+ type SelectedRefundOptionResponse = {
3542
+ /**
3543
+ * - Selected transfer mode for given shipment
3544
+ */
3545
+ transfer_mode: any;
3546
+ /**
3547
+ * - Shipment ID
3548
+ */
3549
+ shipment_id: string;
3550
+ /**
3551
+ * - Message
3552
+ */
3553
+ message: string;
3554
+ /**
3555
+ * - Successful or not.
3556
+ */
3557
+ success: boolean;
3558
+ };
3559
+ /** @returns {WalletBeneficiaryDetails} */
3560
+ declare function WalletBeneficiaryDetails(): WalletBeneficiaryDetails;
3561
+ type WalletBeneficiaryDetails = {
3562
+ /**
3563
+ * - Benenficiary Id
3564
+ */
3565
+ beneficiary_id: string;
3566
+ /**
3567
+ * - MOdification Date of Beneficiary
3568
+ */
3569
+ modified_on: string;
3570
+ /**
3571
+ * - Display Name Of Account
3572
+ */
3573
+ display_name: string;
3574
+ /**
3575
+ * -
3576
+ */
3577
+ id: number;
3578
+ /**
3579
+ * - SHort Title Of Account
3580
+ */
3581
+ subtitle: string;
3582
+ /**
3583
+ * - Transfer Mode Of Account
3584
+ */
3585
+ transfer_mode: string;
3586
+ /**
3587
+ * - MObile no of User
3588
+ */
3589
+ mobile?: string;
3590
+ /**
3591
+ * - Boolean Flag whether Beneficiary set or not
3592
+ */
3593
+ is_active: boolean;
3594
+ /**
3595
+ * - Creation Date of Beneficiary
3596
+ */
3597
+ created_on: string;
3598
+ /**
3599
+ * - Address of User
3600
+ */
3601
+ address: string;
3602
+ /**
3603
+ * - Title Of Account
3604
+ */
3605
+ title: string;
3606
+ /**
3607
+ * - Bank Name Of Account
3608
+ */
3609
+ wallet_address: string;
3610
+ /**
3611
+ * - Remarks
3612
+ */
3613
+ comment?: string;
3614
+ /**
3615
+ * - Branch Name Of Account
3616
+ */
3617
+ wallet?: string;
3618
+ /**
3619
+ * - EMail of User
3620
+ */
3621
+ email: string;
3622
+ /**
3623
+ * - User Id Who filled the Beneficiary
3624
+ */
3625
+ delights_user_name?: string;
3626
+ };
3627
+ /** @returns {UpiBeneficiaryDetails} */
3628
+ declare function UpiBeneficiaryDetails(): UpiBeneficiaryDetails;
3629
+ type UpiBeneficiaryDetails = {
3630
+ /**
3631
+ * - Benenficiary Id
3632
+ */
3633
+ beneficiary_id: string;
3634
+ /**
3635
+ * - MOdification Date of Beneficiary
3636
+ */
3637
+ modified_on: string;
3638
+ /**
3639
+ * - Display Name Of Account
3640
+ */
3641
+ display_name: string;
3642
+ /**
3643
+ * -
3644
+ */
3645
+ id: number;
3646
+ /**
3647
+ * - SHort Title Of Account
3648
+ */
3649
+ subtitle: string;
3650
+ /**
3651
+ * - Transfer Mode Of Account
3652
+ */
3653
+ transfer_mode: string;
3654
+ /**
3655
+ * - Branch Name Of Account
3656
+ */
3657
+ vpa?: string;
3658
+ /**
3659
+ * - Mobile no of User
3660
+ */
3661
+ mobile?: string;
3662
+ /**
3663
+ * - Bank Name Of Account
3664
+ */
3665
+ vpa_address: string;
3666
+ /**
3667
+ * - Creation Date of Beneficiary
3668
+ */
3669
+ created_on: string;
3670
+ /**
3671
+ * - Address of User
3672
+ */
3673
+ address: string;
3674
+ /**
3675
+ * - Title Of Account
3676
+ */
3677
+ title: string;
3678
+ /**
3679
+ * - Remarks
3680
+ */
3681
+ comment?: string;
3682
+ /**
3683
+ * - Boolean Flag whether Beneficiary set or not
3684
+ */
3685
+ is_active: boolean;
3686
+ /**
3687
+ * - EMail of User
3688
+ */
3689
+ email: string;
3690
+ /**
3691
+ * - User Id Who filled the Beneficiary
3692
+ */
3693
+ delights_user_name?: string;
3694
+ };
3695
+ /** @returns {BeneficiaryRefundOptions} */
3696
+ declare function BeneficiaryRefundOptions(): BeneficiaryRefundOptions;
3697
+ type BeneficiaryRefundOptions = {
3698
+ /**
3699
+ * - List of all add bank beneficiary details.
3700
+ */
3701
+ bank?: OrderBeneficiaryDetails;
3702
+ /**
3703
+ * - List of all add Wallet
3704
+ * beneficiary details.
3705
+ */
3706
+ wallet?: WalletBeneficiaryDetails;
3707
+ /**
3708
+ * - List of all add UPI beneficiary details.
3709
+ */
3710
+ upi?: UpiBeneficiaryDetails;
3711
+ };
3712
+ /** @returns {OrderBeneficiaryResponseSchemaV2} */
3713
+ declare function OrderBeneficiaryResponseSchemaV2(): OrderBeneficiaryResponseSchemaV2;
3714
+ type OrderBeneficiaryResponseSchemaV2 = {
3715
+ /**
3716
+ * - Show Beneficiary details on UI or not.
3717
+ */
3718
+ show_beneficiary_details: boolean;
3719
+ /**
3720
+ * - Beneficiary Data for Bank
3721
+ * account, UPI and Wallets.
3722
+ */
3723
+ data: BeneficiaryRefundOptions;
3724
+ /**
3725
+ * - Max Limit for adding bank account, UPI and wallet
3726
+ */
3727
+ limit: any;
3728
+ };
3729
+ /** @returns {ValidateValidateAddressRequest} */
3730
+ declare function ValidateValidateAddressRequest(): ValidateValidateAddressRequest;
3731
+ type ValidateValidateAddressRequest = {
3732
+ /**
3733
+ * - IFSC Code
3734
+ */
3735
+ ifsc_code?: string;
3736
+ /**
3737
+ * - VPA Address
3738
+ */
3739
+ upi_vpa?: string;
3740
+ /**
3741
+ * - Aggregator Name
3742
+ */
3743
+ aggregator?: string;
3744
+ };
3745
+ /** @returns {VPADetails} */
3746
+ declare function VPADetails(): VPADetails;
3747
+ type VPADetails = {
3748
+ /**
3749
+ * - Is VPA valid or not
3750
+ */
3751
+ is_valid: boolean;
3752
+ /**
3753
+ * - VPA address
3754
+ */
3755
+ upi_vpa: string;
3756
+ /**
3757
+ * - VPA validation message
3758
+ */
3759
+ status: string;
3760
+ /**
3761
+ * - VPA Customer Name
3762
+ */
3763
+ customer_name: string;
3764
+ };
3765
+ /** @returns {ValidateValidateAddressResponse} */
3766
+ declare function ValidateValidateAddressResponse(): ValidateValidateAddressResponse;
3767
+ type ValidateValidateAddressResponse = {
3768
+ /**
3769
+ * - UPI validation details.
3770
+ */
3771
+ upi?: VPADetails;
3772
+ /**
3773
+ * - Successful or not.
3774
+ */
3775
+ success: boolean;
3776
+ /**
3777
+ * - IFSC details response data
3778
+ */
3779
+ ifsc?: any;
3780
+ };
3316
3781
  /** @returns {PaymentMethodsMetaOrder} */
3317
3782
  declare function PaymentMethodsMetaOrder(): PaymentMethodsMetaOrder;
3318
3783
  type PaymentMethodsMetaOrder = {
@@ -3425,7 +3890,7 @@ type PaymentOrderResponse = {
3425
3890
  /**
3426
3891
  * - Successful or failure
3427
3892
  */
3428
- success: boolean;
3893
+ success?: boolean;
3429
3894
  /**
3430
3895
  * - HTTP status code
3431
3896
  */
@@ -3436,3 +3901,59 @@ type PaymentOrderResponse = {
3436
3901
  */
3437
3902
  message: string;
3438
3903
  };
3904
+ /** @returns {ShipmentRefundRequest} */
3905
+ declare function ShipmentRefundRequest(): ShipmentRefundRequest;
3906
+ type ShipmentRefundRequest = {
3907
+ /**
3908
+ * - Shipment Id of the respective Merchant Order Id
3909
+ */
3910
+ shipment_id: string;
3911
+ /**
3912
+ * - Merchant Order Id
3913
+ */
3914
+ order_id: string;
3915
+ /**
3916
+ * - Transfer Mode of the Beneficiary to be added
3917
+ */
3918
+ transfer_mode: string;
3919
+ /**
3920
+ * - Beneficiary Hash Id of the beneficiary added
3921
+ */
3922
+ beneficiary_id?: string;
3923
+ };
3924
+ /** @returns {ShipmentRefundDetail} */
3925
+ declare function ShipmentRefundDetail(): ShipmentRefundDetail;
3926
+ type ShipmentRefundDetail = {
3927
+ /**
3928
+ * - Shipment ID
3929
+ */
3930
+ shipment_id: string;
3931
+ /**
3932
+ * - Order ID
3933
+ */
3934
+ order_id: string;
3935
+ /**
3936
+ * - TransferMode
3937
+ */
3938
+ transfer_mode: string;
3939
+ /**
3940
+ * - Beneficiary ID
3941
+ */
3942
+ beneficiary_id: string;
3943
+ };
3944
+ /** @returns {ShipmentRefundResponse} */
3945
+ declare function ShipmentRefundResponse(): ShipmentRefundResponse;
3946
+ type ShipmentRefundResponse = {
3947
+ /**
3948
+ * - Selected Shipment refund option details.
3949
+ */
3950
+ data: ShipmentRefundDetail;
3951
+ /**
3952
+ * - Successful or not.
3953
+ */
3954
+ success: boolean;
3955
+ /**
3956
+ * - Message
3957
+ */
3958
+ message: string;
3959
+ };