@gofynd/fdk-client-javascript 1.4.12 → 1.4.14
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.
- package/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +96 -39
- package/sdk/application/Content/ContentApplicationModel.js +88 -34
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +51 -19
- package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/common/Clickstream.js +12 -0
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
- package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
- package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
- package/sdk/platform/Content/ContentPlatformModel.js +526 -392
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
- package/sdk/platform/Order/OrderPlatformClient.js +267 -203
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
- package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
- package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
- package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -19,7 +19,7 @@ class Payment {
|
|
|
19
19
|
* @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
|
|
20
20
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
21
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
22
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateDetails>} - Success response
|
|
23
23
|
* @name addEdcDevice
|
|
24
24
|
* @summary: Create an EDC device
|
|
25
25
|
* @description: Registration and addition of a new EDC device to the system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
|
|
@@ -77,7 +77,7 @@ class Payment {
|
|
|
77
77
|
|
|
78
78
|
const {
|
|
79
79
|
error: res_error,
|
|
80
|
-
} = PaymentPlatformModel.
|
|
80
|
+
} = PaymentPlatformModel.EdcDeviceUpdateDetails().validate(responseData, {
|
|
81
81
|
abortEarly: false,
|
|
82
82
|
allowUnknown: true,
|
|
83
83
|
});
|
|
@@ -102,7 +102,7 @@ class Payment {
|
|
|
102
102
|
*
|
|
103
103
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
104
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
105
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
105
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
|
|
106
106
|
* @name addRefundBankAccountUsingOTP
|
|
107
107
|
* @summary: Create refund account
|
|
108
108
|
* @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addRefundBankAccountUsingOTP/).
|
|
@@ -158,7 +158,7 @@ class Payment {
|
|
|
158
158
|
|
|
159
159
|
const {
|
|
160
160
|
error: res_error,
|
|
161
|
-
} = PaymentPlatformModel.
|
|
161
|
+
} = PaymentPlatformModel.RefundAccountDetails().validate(responseData, {
|
|
162
162
|
abortEarly: false,
|
|
163
163
|
allowUnknown: true,
|
|
164
164
|
});
|
|
@@ -183,7 +183,7 @@ class Payment {
|
|
|
183
183
|
*
|
|
184
184
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
185
185
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
186
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
186
|
+
* @returns {Promise<PaymentPlatformModel.CancelPaymentLinkDetails>} -
|
|
187
187
|
* Success response
|
|
188
188
|
* @name cancelPaymentLink
|
|
189
189
|
* @summary: Cancel payment link
|
|
@@ -240,10 +240,10 @@ class Payment {
|
|
|
240
240
|
|
|
241
241
|
const {
|
|
242
242
|
error: res_error,
|
|
243
|
-
} = PaymentPlatformModel.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
);
|
|
243
|
+
} = PaymentPlatformModel.CancelPaymentLinkDetails().validate(responseData, {
|
|
244
|
+
abortEarly: false,
|
|
245
|
+
allowUnknown: true,
|
|
246
|
+
});
|
|
247
247
|
|
|
248
248
|
if (res_error) {
|
|
249
249
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -265,7 +265,7 @@ class Payment {
|
|
|
265
265
|
*
|
|
266
266
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
267
267
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
268
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
268
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateDetails>} -
|
|
269
269
|
* Success response
|
|
270
270
|
* @name checkAndUpdatePaymentStatus
|
|
271
271
|
* @summary: Poll and update payment status
|
|
@@ -322,7 +322,7 @@ class Payment {
|
|
|
322
322
|
|
|
323
323
|
const {
|
|
324
324
|
error: res_error,
|
|
325
|
-
} = PaymentPlatformModel.
|
|
325
|
+
} = PaymentPlatformModel.PaymentStatusUpdateDetails().validate(
|
|
326
326
|
responseData,
|
|
327
327
|
{ abortEarly: false, allowUnknown: true }
|
|
328
328
|
);
|
|
@@ -345,7 +345,7 @@ class Payment {
|
|
|
345
345
|
* @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
|
|
346
346
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
347
347
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
348
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
348
|
+
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationDetails>} -
|
|
349
349
|
* Success response
|
|
350
350
|
* @name confirmPayment
|
|
351
351
|
* @summary: Payment confirmation
|
|
@@ -402,7 +402,7 @@ class Payment {
|
|
|
402
402
|
|
|
403
403
|
const {
|
|
404
404
|
error: res_error,
|
|
405
|
-
} = PaymentPlatformModel.
|
|
405
|
+
} = PaymentPlatformModel.PaymentConfirmationDetails().validate(
|
|
406
406
|
responseData,
|
|
407
407
|
{ abortEarly: false, allowUnknown: true }
|
|
408
408
|
);
|
|
@@ -427,9 +427,7 @@ class Payment {
|
|
|
427
427
|
*
|
|
428
428
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
429
429
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
430
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
431
|
-
* - Success response
|
|
432
|
-
*
|
|
430
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
433
431
|
* @name createMerchantRefundPriority
|
|
434
432
|
* @summary: Create merchant refund priority
|
|
435
433
|
* @description: Create merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createMerchantRefundPriority/).
|
|
@@ -487,10 +485,10 @@ class Payment {
|
|
|
487
485
|
|
|
488
486
|
const {
|
|
489
487
|
error: res_error,
|
|
490
|
-
} = PaymentPlatformModel.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
);
|
|
488
|
+
} = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
|
|
489
|
+
abortEarly: false,
|
|
490
|
+
allowUnknown: true,
|
|
491
|
+
});
|
|
494
492
|
|
|
495
493
|
if (res_error) {
|
|
496
494
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -512,7 +510,7 @@ class Payment {
|
|
|
512
510
|
*
|
|
513
511
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
514
512
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
515
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
513
|
+
* @returns {Promise<PaymentPlatformModel.CreatePaymentLinkDetails>} -
|
|
516
514
|
* Success response
|
|
517
515
|
* @name createPaymentLink
|
|
518
516
|
* @summary: Create payment link
|
|
@@ -569,10 +567,10 @@ class Payment {
|
|
|
569
567
|
|
|
570
568
|
const {
|
|
571
569
|
error: res_error,
|
|
572
|
-
} = PaymentPlatformModel.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
);
|
|
570
|
+
} = PaymentPlatformModel.CreatePaymentLinkDetails().validate(responseData, {
|
|
571
|
+
abortEarly: false,
|
|
572
|
+
allowUnknown: true,
|
|
573
|
+
});
|
|
576
574
|
|
|
577
575
|
if (res_error) {
|
|
578
576
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -594,7 +592,7 @@ class Payment {
|
|
|
594
592
|
*
|
|
595
593
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
596
594
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
597
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
595
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOrderDetails>} - Success response
|
|
598
596
|
* @name createPaymentOrder
|
|
599
597
|
* @summary: Create Order
|
|
600
598
|
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentOrder/).
|
|
@@ -650,7 +648,7 @@ class Payment {
|
|
|
650
648
|
|
|
651
649
|
const {
|
|
652
650
|
error: res_error,
|
|
653
|
-
} = PaymentPlatformModel.
|
|
651
|
+
} = PaymentPlatformModel.PaymentOrderDetails().validate(responseData, {
|
|
654
652
|
abortEarly: false,
|
|
655
653
|
allowUnknown: true,
|
|
656
654
|
});
|
|
@@ -675,7 +673,7 @@ class Payment {
|
|
|
675
673
|
*
|
|
676
674
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
677
675
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
678
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
676
|
+
* @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListDetails>}
|
|
679
677
|
* - Success response
|
|
680
678
|
*
|
|
681
679
|
* @name edcAggregatorsAndModelList
|
|
@@ -729,7 +727,7 @@ class Payment {
|
|
|
729
727
|
|
|
730
728
|
const {
|
|
731
729
|
error: res_error,
|
|
732
|
-
} = PaymentPlatformModel.
|
|
730
|
+
} = PaymentPlatformModel.EdcAggregatorAndModelListDetails().validate(
|
|
733
731
|
responseData,
|
|
734
732
|
{ abortEarly: false, allowUnknown: true }
|
|
735
733
|
);
|
|
@@ -752,7 +750,7 @@ class Payment {
|
|
|
752
750
|
* @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
|
|
753
751
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
754
752
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
755
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
753
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceListDetails>} - Success response
|
|
756
754
|
* @name edcDeviceList
|
|
757
755
|
* @summary: List EDC devices
|
|
758
756
|
* @description: Retrieves a list of available Electronic Data Capture (EDC) devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
|
|
@@ -823,7 +821,7 @@ class Payment {
|
|
|
823
821
|
|
|
824
822
|
const {
|
|
825
823
|
error: res_error,
|
|
826
|
-
} = PaymentPlatformModel.
|
|
824
|
+
} = PaymentPlatformModel.EdcDeviceListDetails().validate(responseData, {
|
|
827
825
|
abortEarly: false,
|
|
828
826
|
allowUnknown: true,
|
|
829
827
|
});
|
|
@@ -846,7 +844,7 @@ class Payment {
|
|
|
846
844
|
* @param {PaymentPlatformApplicationValidator.EdcDeviceStatsParam} arg - Arg object
|
|
847
845
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
848
846
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
849
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
847
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsDetails>} - Success response
|
|
850
848
|
* @name edcDeviceStats
|
|
851
849
|
* @summary: EDC device stats
|
|
852
850
|
* @description: Information about EDC (Electronic Data Capture) devices linked to a specific application within a company. It provides statistics such as the count of active and inactive devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
|
|
@@ -898,7 +896,7 @@ class Payment {
|
|
|
898
896
|
|
|
899
897
|
const {
|
|
900
898
|
error: res_error,
|
|
901
|
-
} = PaymentPlatformModel.
|
|
899
|
+
} = PaymentPlatformModel.EdcDeviceStatsDetails().validate(responseData, {
|
|
902
900
|
abortEarly: false,
|
|
903
901
|
allowUnknown: true,
|
|
904
902
|
});
|
|
@@ -923,7 +921,7 @@ class Payment {
|
|
|
923
921
|
*
|
|
924
922
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
925
923
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
926
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
924
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
|
|
927
925
|
* @name getBankAccountDetailsOpenAPI
|
|
928
926
|
* @summary: Get bank account details
|
|
929
927
|
* @description: Retrieve bank account information - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
@@ -985,7 +983,7 @@ class Payment {
|
|
|
985
983
|
|
|
986
984
|
const {
|
|
987
985
|
error: res_error,
|
|
988
|
-
} = PaymentPlatformModel.
|
|
986
|
+
} = PaymentPlatformModel.RefundAccountDetails().validate(responseData, {
|
|
989
987
|
abortEarly: false,
|
|
990
988
|
allowUnknown: true,
|
|
991
989
|
});
|
|
@@ -1010,7 +1008,7 @@ class Payment {
|
|
|
1010
1008
|
*
|
|
1011
1009
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1012
1010
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1013
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1011
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigDetails>} -
|
|
1014
1012
|
* Success response
|
|
1015
1013
|
* @name getBrandPaymentGatewayConfig
|
|
1016
1014
|
* @summary: Get secrets for brand payment gateway
|
|
@@ -1071,7 +1069,7 @@ class Payment {
|
|
|
1071
1069
|
|
|
1072
1070
|
const {
|
|
1073
1071
|
error: res_error,
|
|
1074
|
-
} = PaymentPlatformModel.
|
|
1072
|
+
} = PaymentPlatformModel.PaymentGatewayConfigDetails().validate(
|
|
1075
1073
|
responseData,
|
|
1076
1074
|
{ abortEarly: false, allowUnknown: true }
|
|
1077
1075
|
);
|
|
@@ -1094,8 +1092,7 @@ class Payment {
|
|
|
1094
1092
|
* @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
|
|
1095
1093
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1096
1094
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1097
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1098
|
-
* Success response
|
|
1095
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetails>} - Success response
|
|
1099
1096
|
* @name getEdcDevice
|
|
1100
1097
|
* @summary: Get an EDC device
|
|
1101
1098
|
* @description: Retrieve comprehensive details regarding an Electronic Data Capture (EDC) device associated with a particular terminal unique identifier within a company's application.Upon success, it returns the detailed information of the EDC device, including terminal serial number, EDC device serial number, merchant store POS code, store ID, aggregator ID and name, device tag, activation status, and EDC model. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
|
|
@@ -1151,7 +1148,7 @@ class Payment {
|
|
|
1151
1148
|
|
|
1152
1149
|
const {
|
|
1153
1150
|
error: res_error,
|
|
1154
|
-
} = PaymentPlatformModel.
|
|
1151
|
+
} = PaymentPlatformModel.EdcDeviceDetails().validate(responseData, {
|
|
1155
1152
|
abortEarly: false,
|
|
1156
1153
|
allowUnknown: true,
|
|
1157
1154
|
});
|
|
@@ -1176,7 +1173,7 @@ class Payment {
|
|
|
1176
1173
|
*
|
|
1177
1174
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1178
1175
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1179
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1176
|
+
* @returns {Promise<PaymentPlatformModel.AggregatorVersionDetails>} -
|
|
1180
1177
|
* Success response
|
|
1181
1178
|
* @name getMerchantAggregatorAppVersion
|
|
1182
1179
|
* @summary: Get app version for Aggregator
|
|
@@ -1252,10 +1249,10 @@ class Payment {
|
|
|
1252
1249
|
|
|
1253
1250
|
const {
|
|
1254
1251
|
error: res_error,
|
|
1255
|
-
} = PaymentPlatformModel.
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
);
|
|
1252
|
+
} = PaymentPlatformModel.AggregatorVersionDetails().validate(responseData, {
|
|
1253
|
+
abortEarly: false,
|
|
1254
|
+
allowUnknown: true,
|
|
1255
|
+
});
|
|
1259
1256
|
|
|
1260
1257
|
if (res_error) {
|
|
1261
1258
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1277,7 +1274,7 @@ class Payment {
|
|
|
1277
1274
|
*
|
|
1278
1275
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1279
1276
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1280
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1277
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
1281
1278
|
* Success response
|
|
1282
1279
|
* @name getMerchantAggregatorPaymentModeDetails
|
|
1283
1280
|
* @summary: Get merchant aggregator and their payment mode
|
|
@@ -1342,7 +1339,7 @@ class Payment {
|
|
|
1342
1339
|
|
|
1343
1340
|
const {
|
|
1344
1341
|
error: res_error,
|
|
1345
|
-
} = PaymentPlatformModel.
|
|
1342
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
1346
1343
|
responseData,
|
|
1347
1344
|
{ abortEarly: false, allowUnknown: true }
|
|
1348
1345
|
);
|
|
@@ -1367,7 +1364,7 @@ class Payment {
|
|
|
1367
1364
|
*
|
|
1368
1365
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1369
1366
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1370
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1367
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
1371
1368
|
* Success response
|
|
1372
1369
|
* @name getMerchantPaymentOption
|
|
1373
1370
|
* @summary: Get merchant payment option
|
|
@@ -1420,7 +1417,7 @@ class Payment {
|
|
|
1420
1417
|
|
|
1421
1418
|
const {
|
|
1422
1419
|
error: res_error,
|
|
1423
|
-
} = PaymentPlatformModel.
|
|
1420
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
1424
1421
|
responseData,
|
|
1425
1422
|
{ abortEarly: false, allowUnknown: true }
|
|
1426
1423
|
);
|
|
@@ -1445,9 +1442,7 @@ class Payment {
|
|
|
1445
1442
|
*
|
|
1446
1443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1447
1444
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1448
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1449
|
-
* - Success response
|
|
1450
|
-
*
|
|
1445
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
1451
1446
|
* @name getMerchantRefundPriority
|
|
1452
1447
|
* @summary: Get merchant refund priority
|
|
1453
1448
|
* @description: Retrieve merchant refund priority configurations, returning the status of the update and the refund sources priority with their descriptions and priorities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantRefundPriority/).
|
|
@@ -1503,10 +1498,10 @@ class Payment {
|
|
|
1503
1498
|
|
|
1504
1499
|
const {
|
|
1505
1500
|
error: res_error,
|
|
1506
|
-
} = PaymentPlatformModel.
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
);
|
|
1501
|
+
} = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
|
|
1502
|
+
abortEarly: false,
|
|
1503
|
+
allowUnknown: true,
|
|
1504
|
+
});
|
|
1510
1505
|
|
|
1511
1506
|
if (res_error) {
|
|
1512
1507
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1528,7 +1523,7 @@ class Payment {
|
|
|
1528
1523
|
*
|
|
1529
1524
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1530
1525
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1531
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1526
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
1532
1527
|
* Success response
|
|
1533
1528
|
* @name getPGConfigAggregators
|
|
1534
1529
|
* @summary: Get merchant aggregator payment mode
|
|
@@ -1581,7 +1576,7 @@ class Payment {
|
|
|
1581
1576
|
|
|
1582
1577
|
const {
|
|
1583
1578
|
error: res_error,
|
|
1584
|
-
} = PaymentPlatformModel.
|
|
1579
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
1585
1580
|
responseData,
|
|
1586
1581
|
{ abortEarly: false, allowUnknown: true }
|
|
1587
1582
|
);
|
|
@@ -1606,7 +1601,7 @@ class Payment {
|
|
|
1606
1601
|
*
|
|
1607
1602
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1608
1603
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1609
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1604
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeDetails>} - Success response
|
|
1610
1605
|
* @name getPaymentCodeOption
|
|
1611
1606
|
* @summary: Get payment mode codes
|
|
1612
1607
|
* @description: Enables users to retrieve options for payment codes.users can access information such as payment method names, networks, and associated codes, facilitating seamless integration and management of payment modes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
|
|
@@ -1658,7 +1653,7 @@ class Payment {
|
|
|
1658
1653
|
|
|
1659
1654
|
const {
|
|
1660
1655
|
error: res_error,
|
|
1661
|
-
} = PaymentPlatformModel.
|
|
1656
|
+
} = PaymentPlatformModel.GetPaymentCodeDetails().validate(responseData, {
|
|
1662
1657
|
abortEarly: false,
|
|
1663
1658
|
allowUnknown: true,
|
|
1664
1659
|
});
|
|
@@ -1681,7 +1676,7 @@ class Payment {
|
|
|
1681
1676
|
* @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
|
|
1682
1677
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1683
1678
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1684
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1679
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkDetails>} - Success response
|
|
1685
1680
|
* @name getPaymentLink
|
|
1686
1681
|
* @summary: Get payment link
|
|
1687
1682
|
* @description: Retrieve a payment link for making payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
@@ -1738,7 +1733,7 @@ class Payment {
|
|
|
1738
1733
|
|
|
1739
1734
|
const {
|
|
1740
1735
|
error: res_error,
|
|
1741
|
-
} = PaymentPlatformModel.
|
|
1736
|
+
} = PaymentPlatformModel.GetPaymentLinkDetails().validate(responseData, {
|
|
1742
1737
|
abortEarly: false,
|
|
1743
1738
|
allowUnknown: true,
|
|
1744
1739
|
});
|
|
@@ -1763,7 +1758,7 @@ class Payment {
|
|
|
1763
1758
|
*
|
|
1764
1759
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1765
1760
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1766
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1761
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
1767
1762
|
* Success response
|
|
1768
1763
|
* @name getPaymentModeControlRoutes
|
|
1769
1764
|
* @summary: Get offline/advance payment mode
|
|
@@ -1820,7 +1815,7 @@ class Payment {
|
|
|
1820
1815
|
|
|
1821
1816
|
const {
|
|
1822
1817
|
error: res_error,
|
|
1823
|
-
} = PaymentPlatformModel.
|
|
1818
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
1824
1819
|
responseData,
|
|
1825
1820
|
{ abortEarly: false, allowUnknown: true }
|
|
1826
1821
|
);
|
|
@@ -1928,7 +1923,7 @@ class Payment {
|
|
|
1928
1923
|
*
|
|
1929
1924
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1930
1925
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1931
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
1926
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsDetails>} - Success response
|
|
1932
1927
|
* @name getPaymentModeRoutes
|
|
1933
1928
|
* @summary: Get payment modes
|
|
1934
1929
|
* @description: Available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
|
|
@@ -1996,7 +1991,7 @@ class Payment {
|
|
|
1996
1991
|
|
|
1997
1992
|
const {
|
|
1998
1993
|
error: res_error,
|
|
1999
|
-
} = PaymentPlatformModel.
|
|
1994
|
+
} = PaymentPlatformModel.PaymentOptionsDetails().validate(responseData, {
|
|
2000
1995
|
abortEarly: false,
|
|
2001
1996
|
allowUnknown: true,
|
|
2002
1997
|
});
|
|
@@ -2021,7 +2016,7 @@ class Payment {
|
|
|
2021
2016
|
*
|
|
2022
2017
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2023
2018
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2024
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2019
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionFetchDetails>} -
|
|
2025
2020
|
* Success response
|
|
2026
2021
|
* @name getPaymentSession
|
|
2027
2022
|
* @summary: Get payment session
|
|
@@ -2081,10 +2076,10 @@ class Payment {
|
|
|
2081
2076
|
|
|
2082
2077
|
const {
|
|
2083
2078
|
error: res_error,
|
|
2084
|
-
} = PaymentPlatformModel.
|
|
2085
|
-
|
|
2086
|
-
allowUnknown: true
|
|
2087
|
-
|
|
2079
|
+
} = PaymentPlatformModel.PaymentSessionFetchDetails().validate(
|
|
2080
|
+
responseData,
|
|
2081
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2082
|
+
);
|
|
2088
2083
|
|
|
2089
2084
|
if (res_error) {
|
|
2090
2085
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2106,8 +2101,7 @@ class Payment {
|
|
|
2106
2101
|
*
|
|
2107
2102
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2108
2103
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2109
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2110
|
-
* Success response
|
|
2104
|
+
* @returns {Promise<PaymentPlatformModel.PaymentModeRouteDetails>} - Success response
|
|
2111
2105
|
* @name getPosPaymentModeRoutes
|
|
2112
2106
|
* @summary: List POS payment modes
|
|
2113
2107
|
* @description: Available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
@@ -2211,7 +2205,7 @@ class Payment {
|
|
|
2211
2205
|
|
|
2212
2206
|
const {
|
|
2213
2207
|
error: res_error,
|
|
2214
|
-
} = PaymentPlatformModel.
|
|
2208
|
+
} = PaymentPlatformModel.PaymentModeRouteDetails().validate(responseData, {
|
|
2215
2209
|
abortEarly: false,
|
|
2216
2210
|
allowUnknown: true,
|
|
2217
2211
|
});
|
|
@@ -2236,7 +2230,7 @@ class Payment {
|
|
|
2236
2230
|
*
|
|
2237
2231
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2238
2232
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2239
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2233
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
|
|
2240
2234
|
* Success response
|
|
2241
2235
|
* @name getUserBeneficiaries
|
|
2242
2236
|
* @summary: Get user beneficiaries
|
|
@@ -2290,10 +2284,10 @@ class Payment {
|
|
|
2290
2284
|
|
|
2291
2285
|
const {
|
|
2292
2286
|
error: res_error,
|
|
2293
|
-
} = PaymentPlatformModel.
|
|
2294
|
-
|
|
2295
|
-
allowUnknown: true
|
|
2296
|
-
|
|
2287
|
+
} = PaymentPlatformModel.OrderBeneficiaryFetchResults().validate(
|
|
2288
|
+
responseData,
|
|
2289
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2290
|
+
);
|
|
2297
2291
|
|
|
2298
2292
|
if (res_error) {
|
|
2299
2293
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2315,7 +2309,7 @@ class Payment {
|
|
|
2315
2309
|
*
|
|
2316
2310
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2317
2311
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2318
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2312
|
+
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitDetails>} - Success response
|
|
2319
2313
|
* @name getUserCODlimitRoutes
|
|
2320
2314
|
* @summary: Get user COD
|
|
2321
2315
|
* @description: Retrieve user cod limt data of user i.e cod is active or not for user and remaining limit - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
@@ -2375,7 +2369,7 @@ class Payment {
|
|
|
2375
2369
|
|
|
2376
2370
|
const {
|
|
2377
2371
|
error: res_error,
|
|
2378
|
-
} = PaymentPlatformModel.
|
|
2372
|
+
} = PaymentPlatformModel.GetUserCODLimitDetails().validate(responseData, {
|
|
2379
2373
|
abortEarly: false,
|
|
2380
2374
|
allowUnknown: true,
|
|
2381
2375
|
});
|
|
@@ -2400,7 +2394,7 @@ class Payment {
|
|
|
2400
2394
|
*
|
|
2401
2395
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2402
2396
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2403
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2397
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
|
|
2404
2398
|
* Success response
|
|
2405
2399
|
* @name getUserOrderBeneficiaries
|
|
2406
2400
|
* @summary: Get user order beneficiaries
|
|
@@ -2454,10 +2448,10 @@ class Payment {
|
|
|
2454
2448
|
|
|
2455
2449
|
const {
|
|
2456
2450
|
error: res_error,
|
|
2457
|
-
} = PaymentPlatformModel.
|
|
2458
|
-
|
|
2459
|
-
allowUnknown: true
|
|
2460
|
-
|
|
2451
|
+
} = PaymentPlatformModel.OrderBeneficiaryFetchResults().validate(
|
|
2452
|
+
responseData,
|
|
2453
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2454
|
+
);
|
|
2461
2455
|
|
|
2462
2456
|
if (res_error) {
|
|
2463
2457
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2479,7 +2473,7 @@ class Payment {
|
|
|
2479
2473
|
*
|
|
2480
2474
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2481
2475
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2482
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2476
|
+
* @returns {Promise<PaymentPlatformModel.PaymentInitializationDetails>} -
|
|
2483
2477
|
* Success response
|
|
2484
2478
|
* @name initialisePayment
|
|
2485
2479
|
* @summary: Start payment process
|
|
@@ -2536,7 +2530,7 @@ class Payment {
|
|
|
2536
2530
|
|
|
2537
2531
|
const {
|
|
2538
2532
|
error: res_error,
|
|
2539
|
-
} = PaymentPlatformModel.
|
|
2533
|
+
} = PaymentPlatformModel.PaymentInitializationDetails().validate(
|
|
2540
2534
|
responseData,
|
|
2541
2535
|
{ abortEarly: false, allowUnknown: true }
|
|
2542
2536
|
);
|
|
@@ -2561,7 +2555,7 @@ class Payment {
|
|
|
2561
2555
|
*
|
|
2562
2556
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2563
2557
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2564
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2558
|
+
* @returns {Promise<PaymentPlatformModel.MerchantOnBoardingDetails>} -
|
|
2565
2559
|
* Success response
|
|
2566
2560
|
* @name merchantOnBoarding
|
|
2567
2561
|
* @summary: Merchant onboarding for BNPL
|
|
@@ -2618,7 +2612,7 @@ class Payment {
|
|
|
2618
2612
|
|
|
2619
2613
|
const {
|
|
2620
2614
|
error: res_error,
|
|
2621
|
-
} = PaymentPlatformModel.
|
|
2615
|
+
} = PaymentPlatformModel.MerchantOnBoardingDetails().validate(
|
|
2622
2616
|
responseData,
|
|
2623
2617
|
{ abortEarly: false, allowUnknown: true }
|
|
2624
2618
|
);
|
|
@@ -2641,7 +2635,7 @@ class Payment {
|
|
|
2641
2635
|
* @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
|
|
2642
2636
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2643
2637
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2644
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2638
|
+
* @returns {Promise<PaymentPlatformModel.GetOauthUrlDetails>} - Success response
|
|
2645
2639
|
* @name oauthGetUrl
|
|
2646
2640
|
* @summary: Get OAuth URL
|
|
2647
2641
|
* @description: This has been used when merchant is setup their razorpay payment gateway, they will redirect to razorpay site after submitting all their secrets for authetication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
|
|
@@ -2705,7 +2699,7 @@ class Payment {
|
|
|
2705
2699
|
|
|
2706
2700
|
const {
|
|
2707
2701
|
error: res_error,
|
|
2708
|
-
} = PaymentPlatformModel.
|
|
2702
|
+
} = PaymentPlatformModel.GetOauthUrlDetails().validate(responseData, {
|
|
2709
2703
|
abortEarly: false,
|
|
2710
2704
|
allowUnknown: true,
|
|
2711
2705
|
});
|
|
@@ -2730,7 +2724,7 @@ class Payment {
|
|
|
2730
2724
|
*
|
|
2731
2725
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2732
2726
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2733
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2727
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
2734
2728
|
* Success response
|
|
2735
2729
|
* @name patchMerchantAggregatorPaymentModeDetails
|
|
2736
2730
|
* @summary: Update merchant aggregator payment mode
|
|
@@ -2789,7 +2783,7 @@ class Payment {
|
|
|
2789
2783
|
|
|
2790
2784
|
const {
|
|
2791
2785
|
error: res_error,
|
|
2792
|
-
} = PaymentPlatformModel.
|
|
2786
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
2793
2787
|
responseData,
|
|
2794
2788
|
{ abortEarly: false, allowUnknown: true }
|
|
2795
2789
|
);
|
|
@@ -2814,7 +2808,7 @@ class Payment {
|
|
|
2814
2808
|
*
|
|
2815
2809
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2816
2810
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2817
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2811
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
2818
2812
|
* Success response
|
|
2819
2813
|
* @name patchMerchantPaymentOption
|
|
2820
2814
|
* @summary: Update payment gateways and payment mode
|
|
@@ -2871,7 +2865,7 @@ class Payment {
|
|
|
2871
2865
|
|
|
2872
2866
|
const {
|
|
2873
2867
|
error: res_error,
|
|
2874
|
-
} = PaymentPlatformModel.
|
|
2868
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
2875
2869
|
responseData,
|
|
2876
2870
|
{ abortEarly: false, allowUnknown: true }
|
|
2877
2871
|
);
|
|
@@ -2896,7 +2890,7 @@ class Payment {
|
|
|
2896
2890
|
*
|
|
2897
2891
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2898
2892
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2899
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2893
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
2900
2894
|
* Success response
|
|
2901
2895
|
* @name patchMerchantPaymentOptionVersion
|
|
2902
2896
|
* @summary: Update app version for Aggrgator
|
|
@@ -2955,7 +2949,7 @@ class Payment {
|
|
|
2955
2949
|
|
|
2956
2950
|
const {
|
|
2957
2951
|
error: res_error,
|
|
2958
|
-
} = PaymentPlatformModel.
|
|
2952
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
2959
2953
|
responseData,
|
|
2960
2954
|
{ abortEarly: false, allowUnknown: true }
|
|
2961
2955
|
);
|
|
@@ -2980,7 +2974,7 @@ class Payment {
|
|
|
2980
2974
|
*
|
|
2981
2975
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2982
2976
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2983
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
2977
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerDetails>}
|
|
2984
2978
|
* - Success response
|
|
2985
2979
|
*
|
|
2986
2980
|
* @name paymentStatusBulk
|
|
@@ -3038,7 +3032,7 @@ class Payment {
|
|
|
3038
3032
|
|
|
3039
3033
|
const {
|
|
3040
3034
|
error: res_error,
|
|
3041
|
-
} = PaymentPlatformModel.
|
|
3035
|
+
} = PaymentPlatformModel.PaymentStatusBulkHandlerDetails().validate(
|
|
3042
3036
|
responseData,
|
|
3043
3037
|
{ abortEarly: false, allowUnknown: true }
|
|
3044
3038
|
);
|
|
@@ -3063,7 +3057,7 @@ class Payment {
|
|
|
3063
3057
|
*
|
|
3064
3058
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3065
3059
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3066
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3060
|
+
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkDetails>} -
|
|
3067
3061
|
* Success response
|
|
3068
3062
|
* @name pollingPaymentLink
|
|
3069
3063
|
* @summary: Poll status of payment link
|
|
@@ -3121,7 +3115,7 @@ class Payment {
|
|
|
3121
3115
|
|
|
3122
3116
|
const {
|
|
3123
3117
|
error: res_error,
|
|
3124
|
-
} = PaymentPlatformModel.
|
|
3118
|
+
} = PaymentPlatformModel.PollingPaymentLinkDetails().validate(
|
|
3125
3119
|
responseData,
|
|
3126
3120
|
{ abortEarly: false, allowUnknown: true }
|
|
3127
3121
|
);
|
|
@@ -3144,7 +3138,7 @@ class Payment {
|
|
|
3144
3138
|
* @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
|
|
3145
3139
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3146
3140
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3147
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3141
|
+
* @returns {Promise<PaymentPlatformModel.RepaymentDetails>} - Success response
|
|
3148
3142
|
* @name repaymentDetails
|
|
3149
3143
|
* @summary: Repayment details for BNPL
|
|
3150
3144
|
* @description: Retrieve repayment details for Buy Now Pay Later (BNPL) payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
|
|
@@ -3200,7 +3194,7 @@ class Payment {
|
|
|
3200
3194
|
|
|
3201
3195
|
const {
|
|
3202
3196
|
error: res_error,
|
|
3203
|
-
} = PaymentPlatformModel.
|
|
3197
|
+
} = PaymentPlatformModel.RepaymentDetails().validate(responseData, {
|
|
3204
3198
|
abortEarly: false,
|
|
3205
3199
|
allowUnknown: true,
|
|
3206
3200
|
});
|
|
@@ -3225,7 +3219,7 @@ class Payment {
|
|
|
3225
3219
|
*
|
|
3226
3220
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3227
3221
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3228
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3222
|
+
* @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentDetails>} -
|
|
3229
3223
|
* Success response
|
|
3230
3224
|
* @name resendOrCancelPayment
|
|
3231
3225
|
* @summary: Resend or cancel payment
|
|
@@ -3282,7 +3276,7 @@ class Payment {
|
|
|
3282
3276
|
|
|
3283
3277
|
const {
|
|
3284
3278
|
error: res_error,
|
|
3285
|
-
} = PaymentPlatformModel.
|
|
3279
|
+
} = PaymentPlatformModel.ResendOrCancelPaymentDetails().validate(
|
|
3286
3280
|
responseData,
|
|
3287
3281
|
{ abortEarly: false, allowUnknown: true }
|
|
3288
3282
|
);
|
|
@@ -3307,7 +3301,7 @@ class Payment {
|
|
|
3307
3301
|
*
|
|
3308
3302
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3309
3303
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3310
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3304
|
+
* @returns {Promise<PaymentPlatformModel.ResendPaymentLinkDetails>} -
|
|
3311
3305
|
* Success response
|
|
3312
3306
|
* @name resendPaymentLink
|
|
3313
3307
|
* @summary: Resend payment link
|
|
@@ -3364,10 +3358,10 @@ class Payment {
|
|
|
3364
3358
|
|
|
3365
3359
|
const {
|
|
3366
3360
|
error: res_error,
|
|
3367
|
-
} = PaymentPlatformModel.
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
);
|
|
3361
|
+
} = PaymentPlatformModel.ResendPaymentLinkDetails().validate(responseData, {
|
|
3362
|
+
abortEarly: false,
|
|
3363
|
+
allowUnknown: true,
|
|
3364
|
+
});
|
|
3371
3365
|
|
|
3372
3366
|
if (res_error) {
|
|
3373
3367
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3550,7 +3544,7 @@ class Payment {
|
|
|
3550
3544
|
*
|
|
3551
3545
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3552
3546
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3553
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3547
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
3554
3548
|
* Success response
|
|
3555
3549
|
* @name setMerchantModeControlRoutes
|
|
3556
3550
|
* @summary: Update offline payment mode
|
|
@@ -3609,7 +3603,7 @@ class Payment {
|
|
|
3609
3603
|
|
|
3610
3604
|
const {
|
|
3611
3605
|
error: res_error,
|
|
3612
|
-
} = PaymentPlatformModel.
|
|
3606
|
+
} = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
|
|
3613
3607
|
responseData,
|
|
3614
3608
|
{ abortEarly: false, allowUnknown: true }
|
|
3615
3609
|
);
|
|
@@ -3719,7 +3713,7 @@ class Payment {
|
|
|
3719
3713
|
*
|
|
3720
3714
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3721
3715
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3722
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3716
|
+
* @returns {Promise<PaymentPlatformModel.SetCODOptionDetails>} - Success response
|
|
3723
3717
|
* @name setUserCODlimitRoutes
|
|
3724
3718
|
* @summary: Set user COD
|
|
3725
3719
|
* @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
@@ -3775,7 +3769,7 @@ class Payment {
|
|
|
3775
3769
|
|
|
3776
3770
|
const {
|
|
3777
3771
|
error: res_error,
|
|
3778
|
-
} = PaymentPlatformModel.
|
|
3772
|
+
} = PaymentPlatformModel.SetCODOptionDetails().validate(responseData, {
|
|
3779
3773
|
abortEarly: false,
|
|
3780
3774
|
allowUnknown: true,
|
|
3781
3775
|
});
|
|
@@ -3798,7 +3792,7 @@ class Payment {
|
|
|
3798
3792
|
* @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
|
|
3799
3793
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3800
3794
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3801
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3795
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddDetails>} - Success response
|
|
3802
3796
|
* @name updateEdcDevice
|
|
3803
3797
|
* @summary: Update EDC device
|
|
3804
3798
|
* @description: Enables the modification of settings and details associated with an Electronic Data Capture (EDC) device linked to a specific application within a company. Upon success, it returns the updated information of the EDC device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
|
|
@@ -3854,7 +3848,7 @@ class Payment {
|
|
|
3854
3848
|
|
|
3855
3849
|
const {
|
|
3856
3850
|
error: res_error,
|
|
3857
|
-
} = PaymentPlatformModel.
|
|
3851
|
+
} = PaymentPlatformModel.EdcDeviceAddDetails().validate(responseData, {
|
|
3858
3852
|
abortEarly: false,
|
|
3859
3853
|
allowUnknown: true,
|
|
3860
3854
|
});
|
|
@@ -3879,9 +3873,7 @@ class Payment {
|
|
|
3879
3873
|
*
|
|
3880
3874
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3881
3875
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3882
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3883
|
-
* - Success response
|
|
3884
|
-
*
|
|
3876
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
3885
3877
|
* @name updateMerchantRefundPriority
|
|
3886
3878
|
* @summary: Update merchant refund priority
|
|
3887
3879
|
* @description: Update merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateMerchantRefundPriority/).
|
|
@@ -3939,10 +3931,10 @@ class Payment {
|
|
|
3939
3931
|
|
|
3940
3932
|
const {
|
|
3941
3933
|
error: res_error,
|
|
3942
|
-
} = PaymentPlatformModel.
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
);
|
|
3934
|
+
} = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
|
|
3935
|
+
abortEarly: false,
|
|
3936
|
+
allowUnknown: true,
|
|
3937
|
+
});
|
|
3946
3938
|
|
|
3947
3939
|
if (res_error) {
|
|
3948
3940
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3964,9 +3956,8 @@ class Payment {
|
|
|
3964
3956
|
*
|
|
3965
3957
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3966
3958
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3967
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
3968
|
-
*
|
|
3969
|
-
*
|
|
3959
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionPutDetails>} -
|
|
3960
|
+
* Success response
|
|
3970
3961
|
* @name updatePaymentSession
|
|
3971
3962
|
* @summary: Update payment session
|
|
3972
3963
|
* @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePaymentSession/).
|
|
@@ -4024,10 +4015,10 @@ class Payment {
|
|
|
4024
4015
|
|
|
4025
4016
|
const {
|
|
4026
4017
|
error: res_error,
|
|
4027
|
-
} = PaymentPlatformModel.
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
);
|
|
4018
|
+
} = PaymentPlatformModel.PaymentSessionPutDetails().validate(responseData, {
|
|
4019
|
+
abortEarly: false,
|
|
4020
|
+
allowUnknown: true,
|
|
4021
|
+
});
|
|
4031
4022
|
|
|
4032
4023
|
if (res_error) {
|
|
4033
4024
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4049,9 +4040,7 @@ class Payment {
|
|
|
4049
4040
|
*
|
|
4050
4041
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4051
4042
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4052
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
4053
|
-
* - Success response
|
|
4054
|
-
*
|
|
4043
|
+
* @returns {Promise<PaymentPlatformModel.RefundSessionDetails>} - Success response
|
|
4055
4044
|
* @name updateRefundSession
|
|
4056
4045
|
* @summary: Update refund session
|
|
4057
4046
|
* @description: Allows users to update the details of a refund session associated with a specific global identifier (GID) and request ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateRefundSession/).
|
|
@@ -4111,10 +4100,10 @@ class Payment {
|
|
|
4111
4100
|
|
|
4112
4101
|
const {
|
|
4113
4102
|
error: res_error,
|
|
4114
|
-
} = PaymentPlatformModel.
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
);
|
|
4103
|
+
} = PaymentPlatformModel.RefundSessionDetails().validate(responseData, {
|
|
4104
|
+
abortEarly: false,
|
|
4105
|
+
allowUnknown: true,
|
|
4106
|
+
});
|
|
4118
4107
|
|
|
4119
4108
|
if (res_error) {
|
|
4120
4109
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4136,8 +4125,7 @@ class Payment {
|
|
|
4136
4125
|
*
|
|
4137
4126
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4138
4127
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4139
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
4140
|
-
* Success response
|
|
4128
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerDetails>} - Success response
|
|
4141
4129
|
* @name verifyCustomerForPayment
|
|
4142
4130
|
* @summary: Validate customer for paylater
|
|
4143
4131
|
* @description: Verify whether the user is eligible for pay-later payment from the payment aggregator's side using the customer's phone number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyCustomerForPayment/).
|
|
@@ -4193,7 +4181,7 @@ class Payment {
|
|
|
4193
4181
|
|
|
4194
4182
|
const {
|
|
4195
4183
|
error: res_error,
|
|
4196
|
-
} = PaymentPlatformModel.
|
|
4184
|
+
} = PaymentPlatformModel.ValidateCustomerDetails().validate(responseData, {
|
|
4197
4185
|
abortEarly: false,
|
|
4198
4186
|
allowUnknown: true,
|
|
4199
4187
|
});
|