@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.6

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 (155) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
  5. package/sdk/application/Cart/CartApplicationClient.js +82 -71
  6. package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
  7. package/sdk/application/Cart/CartApplicationValidator.js +59 -34
  8. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
  9. package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
  10. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  11. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  12. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  13. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
  15. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
  16. package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
  17. package/sdk/application/Content/ContentApplicationClient.js +34 -115
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
  19. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
  20. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
  21. package/sdk/application/Lead/LeadApplicationClient.js +14 -14
  22. package/sdk/application/Lead/LeadApplicationModel.js +1 -1
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
  26. package/sdk/application/Order/OrderApplicationClient.js +24 -24
  27. package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
  28. package/sdk/application/Order/OrderApplicationModel.js +28 -0
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
  30. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  31. package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
  32. package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
  33. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  34. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  35. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
  36. package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
  37. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
  38. package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
  39. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
  40. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  41. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -4
  42. package/sdk/application/Share/ShareApplicationModel.js +0 -4
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  44. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  45. package/sdk/application/User/UserApplicationClient.d.ts +64 -64
  46. package/sdk/application/User/UserApplicationClient.js +64 -64
  47. package/sdk/common/Clickstream.d.ts +1 -0
  48. package/sdk/common/Clickstream.js +246 -0
  49. package/sdk/common/Utility.js +1 -4
  50. package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
  52. package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
  53. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  54. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
  55. package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
  56. package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
  57. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
  58. package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
  59. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
  60. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
  61. package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
  62. package/sdk/platform/Cart/CartPlatformModel.js +12 -0
  63. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
  64. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
  65. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
  66. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
  67. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
  68. package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
  69. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
  70. package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
  71. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
  72. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  73. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
  74. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
  75. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
  76. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
  77. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
  78. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
  79. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
  80. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
  81. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
  82. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
  83. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
  84. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
  85. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
  86. package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
  87. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  88. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  89. package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
  90. package/sdk/platform/Content/ContentPlatformClient.js +7 -7
  91. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  92. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  93. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
  94. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
  95. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
  96. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +20 -59
  97. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +0 -2
  98. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -2
  99. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
  100. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
  101. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -14
  102. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -16
  103. package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
  104. package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
  105. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  106. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  107. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
  108. package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
  109. package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
  110. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
  111. package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
  112. package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
  113. package/sdk/platform/Order/OrderPlatformClient.js +79 -294
  114. package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
  115. package/sdk/platform/Order/OrderPlatformModel.js +34 -2
  116. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  117. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  118. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
  119. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
  120. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
  121. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
  122. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  123. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  124. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
  125. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
  126. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
  127. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
  128. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
  129. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
  130. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +4 -0
  131. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5 -1
  132. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
  133. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  134. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  135. package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
  136. package/sdk/platform/Share/SharePlatformModel.d.ts +0 -4
  137. package/sdk/platform/Share/SharePlatformModel.js +0 -4
  138. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
  139. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
  140. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  141. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  142. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
  143. package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
  144. package/sdk/platform/User/UserPlatformModel.d.ts +4 -4
  145. package/sdk/platform/User/UserPlatformModel.js +4 -4
  146. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
  147. package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
  148. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
  149. package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
  150. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  151. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  152. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  153. package/sdk/public/Partner/PartnerPublicClient.js +2 -2
  154. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  155. package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
@@ -877,6 +877,113 @@ export = PaymentApplicationModel;
877
877
  * @property {boolean} success - Response is successful or not.
878
878
  * @property {string} [message] - Message
879
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
+ */
880
987
  /**
881
988
  * @typedef PaymentMethodsMetaOrder
882
989
  * @property {string} merchant_code - Merchant code
@@ -915,15 +1022,35 @@ export = PaymentApplicationModel;
915
1022
  * @property {string} [payment_confirm_url] - Payment confirm url for aggregator
916
1023
  * @property {string} [callback_url] - Callback url for aggregator
917
1024
  * @property {string} [order_id] - Merchant order id
918
- * @property {boolean} success - Successful or failure
1025
+ * @property {boolean} [success] - Successful or failure
919
1026
  * @property {number} status_code - HTTP status code
920
1027
  * @property {PaymentOrderData} [data]
921
1028
  * @property {string} message - Message
922
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
+ */
923
1050
  declare class PaymentApplicationModel {
924
1051
  }
925
1052
  declare namespace PaymentApplicationModel {
926
- 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, 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 };
927
1054
  }
928
1055
  /** @returns {AggregatorConfigDetail} */
929
1056
  declare function AggregatorConfigDetail(): AggregatorConfigDetail;
@@ -3339,6 +3466,318 @@ type PaidOrderDetailsResponse = {
3339
3466
  */
3340
3467
  message?: string;
3341
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
+ };
3342
3781
  /** @returns {PaymentMethodsMetaOrder} */
3343
3782
  declare function PaymentMethodsMetaOrder(): PaymentMethodsMetaOrder;
3344
3783
  type PaymentMethodsMetaOrder = {
@@ -3451,7 +3890,7 @@ type PaymentOrderResponse = {
3451
3890
  /**
3452
3891
  * - Successful or failure
3453
3892
  */
3454
- success: boolean;
3893
+ success?: boolean;
3455
3894
  /**
3456
3895
  * - HTTP status code
3457
3896
  */
@@ -3462,3 +3901,59 @@ type PaymentOrderResponse = {
3462
3901
  */
3463
3902
  message: string;
3464
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
+ };