@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -4,351 +4,346 @@ declare class Payment {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
7
|
+
* @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
|
|
8
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
|
|
10
|
+
* @name addEdcDevice
|
|
11
11
|
* @summary: Update store id and device tag of edc device
|
|
12
|
-
* @description: Use this API to Update store id and device tag of edc device
|
|
12
|
+
* @description: Use this API to Update store id and device tag of edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
|
|
13
13
|
*/
|
|
14
|
-
addEdcDevice({ terminalUniqueIdentifier, body }?: {
|
|
15
|
-
terminalUniqueIdentifier: string;
|
|
16
|
-
body: EdcUpdateRequest;
|
|
17
|
-
}): Promise<EdcDeviceUpdateResponse>;
|
|
14
|
+
addEdcDevice({ terminalUniqueIdentifier, body }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>;
|
|
18
15
|
/**
|
|
19
|
-
* @param {
|
|
20
|
-
*
|
|
21
|
-
*
|
|
16
|
+
* @param {PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
17
|
+
* - Arg object
|
|
18
|
+
*
|
|
19
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
20
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
21
|
+
* @name addRefundBankAccountUsingOTP
|
|
22
22
|
* @summary: Save bank details for cancelled/returned order
|
|
23
|
-
* @description: Use this API to save bank details for returned/cancelled order to refund amount in his account.
|
|
23
|
+
* @description: Use this API to save bank details for returned/cancelled order to refund amount in his account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addRefundBankAccountUsingOTP/).
|
|
24
24
|
*/
|
|
25
|
-
addRefundBankAccountUsingOTP({ body }?: {
|
|
26
|
-
body: AddBeneficiaryDetailsOTPRequest;
|
|
27
|
-
}): Promise<RefundAccountResponse>;
|
|
25
|
+
addRefundBankAccountUsingOTP({ body }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
28
26
|
/**
|
|
29
|
-
* @param {
|
|
30
|
-
*
|
|
31
|
-
*
|
|
27
|
+
* @param {PaymentPlatformApplicationValidator.CancelPaymentLinkParam} arg
|
|
28
|
+
* - Arg object
|
|
29
|
+
*
|
|
30
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
31
|
+
* @returns {Promise<PaymentPlatformModel.CancelPaymentLinkResponse>} -
|
|
32
|
+
* Success response
|
|
33
|
+
* @name cancelPaymentLink
|
|
32
34
|
* @summary: Cancel payment link
|
|
33
|
-
* @description: Use this API to cancel a payment link for the customer
|
|
35
|
+
* @description: Use this API to cancel a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/cancelPaymentLink/).
|
|
34
36
|
*/
|
|
35
|
-
cancelPaymentLink({ body }?: {
|
|
36
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
37
|
-
}): Promise<CancelPaymentLinkResponse>;
|
|
37
|
+
cancelPaymentLink({ body }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.CancelPaymentLinkResponse>;
|
|
38
38
|
/**
|
|
39
|
-
* @param {
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* @param {PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
40
|
+
* - Arg object
|
|
41
|
+
*
|
|
42
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
43
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
|
|
44
|
+
* Success response
|
|
45
|
+
* @name checkAndUpdatePaymentStatus
|
|
42
46
|
* @summary: Performs continuous polling to check status of payment on the server
|
|
43
|
-
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
|
|
47
|
+
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/checkAndUpdatePaymentStatus/).
|
|
44
48
|
*/
|
|
45
|
-
checkAndUpdatePaymentStatus({ body }?: {
|
|
46
|
-
body: PaymentStatusUpdateRequest;
|
|
47
|
-
}): Promise<PaymentStatusUpdateResponse>;
|
|
49
|
+
checkAndUpdatePaymentStatus({ body }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>;
|
|
48
50
|
/**
|
|
49
|
-
* @param {
|
|
50
|
-
* @param {
|
|
51
|
-
* @returns {Promise<PaymentConfirmationResponse>} -
|
|
51
|
+
* @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
|
|
52
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
53
|
+
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
|
|
54
|
+
* Success response
|
|
55
|
+
* @name confirmPayment
|
|
52
56
|
* @summary: Confirm payment after successful payment from payment gateway
|
|
53
|
-
* @description: Use this API to confirm payment after payment gateway accepted payment.
|
|
57
|
+
* @description: Use this API to confirm payment after payment gateway accepted payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/confirmPayment/).
|
|
54
58
|
*/
|
|
55
|
-
confirmPayment({ body }?: {
|
|
56
|
-
body: PaymentConfirmationRequest;
|
|
57
|
-
}): Promise<PaymentConfirmationResponse>;
|
|
59
|
+
confirmPayment({ body }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentConfirmationResponse>;
|
|
58
60
|
/**
|
|
59
|
-
* @param {
|
|
60
|
-
*
|
|
61
|
-
*
|
|
61
|
+
* @param {PaymentPlatformApplicationValidator.CreatePaymentLinkParam} arg
|
|
62
|
+
* - Arg object
|
|
63
|
+
*
|
|
64
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
65
|
+
* @returns {Promise<PaymentPlatformModel.CreatePaymentLinkResponse>} -
|
|
66
|
+
* Success response
|
|
67
|
+
* @name createPaymentLink
|
|
62
68
|
* @summary: Create payment link
|
|
63
|
-
* @description: Use this API to create a payment link for the customer
|
|
69
|
+
* @description: Use this API to create a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentLink/).
|
|
64
70
|
*/
|
|
65
|
-
createPaymentLink({ body }?: {
|
|
66
|
-
body: CreatePaymentLinkRequest;
|
|
67
|
-
}): Promise<CreatePaymentLinkResponse>;
|
|
71
|
+
createPaymentLink({ body }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.CreatePaymentLinkResponse>;
|
|
68
72
|
/**
|
|
69
|
-
* @param {
|
|
70
|
-
* @returns {Promise<EdcAggregatorAndModelListResponse>}
|
|
73
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
74
|
+
* @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
|
|
75
|
+
* - Success response
|
|
76
|
+
*
|
|
77
|
+
* @name edcAggregatorsAndModelList
|
|
71
78
|
* @summary: get some information about the store and edc device
|
|
72
|
-
* @description: Use this API to get info of devices linked to a particular app.
|
|
79
|
+
* @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcAggregatorsAndModelList/).
|
|
73
80
|
*/
|
|
74
|
-
edcAggregatorsAndModelList({}?:
|
|
81
|
+
edcAggregatorsAndModelList({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>;
|
|
75
82
|
/**
|
|
76
|
-
* @param {
|
|
77
|
-
* @param {
|
|
78
|
-
* @
|
|
79
|
-
* @
|
|
80
|
-
* @param {number} [arg.storeId] -
|
|
81
|
-
* @param {string} [arg.deviceTag] -
|
|
82
|
-
* @returns {Promise<EdcDeviceListResponse>} - Success response
|
|
83
|
+
* @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
|
|
84
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
85
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
|
|
86
|
+
* @name edcDeviceList
|
|
83
87
|
* @summary: get all the device list of an app
|
|
84
|
-
* @description: Use this API to get all devices linked to a particular app.
|
|
85
|
-
*/
|
|
86
|
-
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag }?: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
deviceTag?: string;
|
|
92
|
-
}): Promise<EdcDeviceListResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* @param {Object} arg - Arg object.
|
|
95
|
-
* @returns {Promise<EdcDeviceStatsResponse>} - Success response
|
|
88
|
+
* @description: Use this API to get all devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
|
|
89
|
+
*/
|
|
90
|
+
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceListResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
93
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
|
|
94
|
+
* @name edcDeviceStats
|
|
96
95
|
* @summary: get some information about the store and edc device
|
|
97
|
-
* @description: Use this API to get info of devices linked to a particular app.
|
|
96
|
+
* @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
|
|
98
97
|
*/
|
|
99
|
-
edcDeviceStats({}?:
|
|
98
|
+
edcDeviceStats({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceStatsResponse>;
|
|
100
99
|
/**
|
|
101
|
-
* @param {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* @
|
|
100
|
+
* @param {PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam} arg
|
|
101
|
+
* - Arg object
|
|
102
|
+
*
|
|
103
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
105
|
+
* @name getBankAccountDetailsOpenAPI
|
|
105
106
|
* @summary: Get bank details
|
|
106
|
-
* @description: Use this API to get saved bank details for returned/cancelled order using order id.
|
|
107
|
+
* @description: Use this API to get saved bank details for returned/cancelled order using order id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
107
108
|
*/
|
|
108
|
-
getBankAccountDetailsOpenAPI({ orderId, requestHash, }?:
|
|
109
|
-
orderId: string;
|
|
110
|
-
requestHash?: string;
|
|
111
|
-
}): Promise<RefundAccountResponse>;
|
|
109
|
+
getBankAccountDetailsOpenAPI({ orderId, requestHash }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
112
110
|
/**
|
|
113
|
-
* @param {
|
|
114
|
-
* @returns {Promise<PaymentGatewayConfigResponse>} -
|
|
111
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
112
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
|
|
113
|
+
* Success response
|
|
114
|
+
* @name getBrandPaymentGatewayConfig
|
|
115
115
|
* @summary: Get All Brand Payment Gateway Config Secret
|
|
116
|
-
* @description: Get All Brand Payment Gateway Config Secret
|
|
116
|
+
* @description: Get All Brand Payment Gateway Config Secret - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
117
117
|
*/
|
|
118
|
-
getBrandPaymentGatewayConfig({}?:
|
|
118
|
+
getBrandPaymentGatewayConfig({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>;
|
|
119
119
|
/**
|
|
120
|
-
* @param {
|
|
121
|
-
* @param {
|
|
122
|
-
* @returns {Promise<EdcDeviceDetailsResponse>} -
|
|
120
|
+
* @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
|
|
121
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
122
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
|
|
123
|
+
* Success response
|
|
124
|
+
* @name getEdcDevice
|
|
123
125
|
* @summary: get details of a single edc device
|
|
124
|
-
* @description: Use this API to get details of a single edc device
|
|
126
|
+
* @description: Use this API to get details of a single edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
|
|
125
127
|
*/
|
|
126
|
-
getEdcDevice({ terminalUniqueIdentifier }?: {
|
|
127
|
-
terminalUniqueIdentifier: string;
|
|
128
|
-
}): Promise<EdcDeviceDetailsResponse>;
|
|
128
|
+
getEdcDevice({ terminalUniqueIdentifier }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>;
|
|
129
129
|
/**
|
|
130
|
-
* @param {
|
|
131
|
-
* @returns {Promise<GetPaymentCodeResponse>} - Success response
|
|
130
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
131
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
|
|
132
|
+
* @name getPaymentCodeOption
|
|
132
133
|
* @summary: List Payment Options Method Codes
|
|
133
|
-
* @description: Get all active List Payment Options Method Codes
|
|
134
|
+
* @description: Get all active List Payment Options Method Codes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
|
|
134
135
|
*/
|
|
135
|
-
getPaymentCodeOption({}?:
|
|
136
|
+
getPaymentCodeOption({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetPaymentCodeResponse>;
|
|
136
137
|
/**
|
|
137
|
-
* @param {
|
|
138
|
-
* @param {
|
|
139
|
-
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
138
|
+
* @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
|
|
139
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
140
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
|
|
141
|
+
* @name getPaymentLink
|
|
140
142
|
* @summary: Get payment link
|
|
141
|
-
* @description: Use this API to get a payment link
|
|
143
|
+
* @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
142
144
|
*/
|
|
143
|
-
getPaymentLink({ paymentLinkId }?: {
|
|
144
|
-
paymentLinkId?: string;
|
|
145
|
-
}): Promise<GetPaymentLinkResponse>;
|
|
145
|
+
getPaymentLink({ paymentLinkId }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetPaymentLinkResponse>;
|
|
146
146
|
/**
|
|
147
|
-
* @param {
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* @
|
|
147
|
+
* @param {PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam} arg
|
|
148
|
+
* - Arg object
|
|
149
|
+
*
|
|
150
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
151
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
152
|
+
* @name getPaymentModeRoutes
|
|
151
153
|
* @summary: Get All Valid Payment Options
|
|
152
|
-
* @description: Use this API to get Get All Valid Payment Options for making payment
|
|
153
|
-
*/
|
|
154
|
-
getPaymentModeRoutes({ refresh, requestType }?: {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
* @param {
|
|
160
|
-
* @
|
|
161
|
-
* @
|
|
162
|
-
* @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
|
|
163
|
-
* @param {string} arg.checkoutMode - Option to checkout for self or for others.
|
|
164
|
-
* @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
|
|
165
|
-
* to remove temporary cache files on payment gateway and replace with the
|
|
166
|
-
* latest one.
|
|
167
|
-
* @param {string} [arg.cardReference] - Card reference id of user's debit
|
|
168
|
-
* or credit card.
|
|
169
|
-
* @param {string} arg.orderType - The order type of shipment * HomeDelivery
|
|
170
|
-
* - If the customer wants the order home-delivered * PickAtStore - If the
|
|
171
|
-
* customer wants the handover of an order at the store itself.
|
|
172
|
-
* @param {string} [arg.userDetails] - URIencoded JSON containing details of
|
|
173
|
-
* an anonymous user.
|
|
174
|
-
* @returns {Promise<PaymentOptionsResponse>} - Success response
|
|
154
|
+
* @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
|
|
155
|
+
*/
|
|
156
|
+
getPaymentModeRoutes({ refresh, requestType }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* @param {PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam} arg
|
|
159
|
+
* - Arg object
|
|
160
|
+
*
|
|
161
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
162
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
163
|
+
* @name getPosPaymentModeRoutes
|
|
175
164
|
* @summary: Get All Valid Payment Options
|
|
176
|
-
* @description: Use this API to get Get All Valid Payment Options for making payment
|
|
177
|
-
*/
|
|
178
|
-
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}): Promise<PaymentOptionsResponse>;
|
|
188
|
-
/**
|
|
189
|
-
* @param {Object} arg - Arg object.
|
|
190
|
-
* @param {string} arg.orderId -
|
|
191
|
-
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
165
|
+
* @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
166
|
+
*/
|
|
167
|
+
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
|
|
168
|
+
/**
|
|
169
|
+
* @param {PaymentPlatformApplicationValidator.GetUserBeneficiariesParam} arg
|
|
170
|
+
* - Arg object
|
|
171
|
+
*
|
|
172
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
173
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
174
|
+
* Success response
|
|
175
|
+
* @name getUserBeneficiaries
|
|
192
176
|
* @summary: List User Beneficiary
|
|
193
|
-
* @description: Get all active beneficiary details added by the user for refund
|
|
177
|
+
* @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserBeneficiaries/).
|
|
194
178
|
*/
|
|
195
|
-
getUserBeneficiaries({ orderId }?: {
|
|
196
|
-
orderId: string;
|
|
197
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
179
|
+
getUserBeneficiaries({ orderId }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
198
180
|
/**
|
|
199
|
-
* @param {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* @
|
|
181
|
+
* @param {PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam} arg
|
|
182
|
+
* - Arg object
|
|
183
|
+
*
|
|
184
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
185
|
+
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
|
|
186
|
+
* @name getUserCODlimitRoutes
|
|
203
187
|
* @summary: Get COD limit for user
|
|
204
|
-
* @description: Use this API to get user cod limit and reamining limit for the payment
|
|
188
|
+
* @description: Use this API to get user cod limit and reamining limit for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
205
189
|
*/
|
|
206
|
-
getUserCODlimitRoutes({ merchantUserId, mobileNo }?: {
|
|
207
|
-
merchantUserId: string;
|
|
208
|
-
mobileNo: string;
|
|
209
|
-
}): Promise<GetUserCODLimitResponse>;
|
|
190
|
+
getUserCODlimitRoutes({ merchantUserId, mobileNo }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetUserCODLimitResponse>;
|
|
210
191
|
/**
|
|
211
|
-
* @param {
|
|
212
|
-
*
|
|
213
|
-
*
|
|
192
|
+
* @param {PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam} arg
|
|
193
|
+
* - Arg object
|
|
194
|
+
*
|
|
195
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
196
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
197
|
+
* Success response
|
|
198
|
+
* @name getUserOrderBeneficiaries
|
|
214
199
|
* @summary: List Order Beneficiary
|
|
215
|
-
* @description: Get all active beneficiary details added by the user for refund
|
|
200
|
+
* @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserOrderBeneficiaries/).
|
|
216
201
|
*/
|
|
217
|
-
getUserOrderBeneficiaries({ orderId }?: {
|
|
218
|
-
orderId: string;
|
|
219
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
202
|
+
getUserOrderBeneficiaries({ orderId }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
220
203
|
/**
|
|
221
|
-
* @param {
|
|
222
|
-
*
|
|
223
|
-
*
|
|
204
|
+
* @param {PaymentPlatformApplicationValidator.InitialisePaymentParam} arg
|
|
205
|
+
* - Arg object
|
|
206
|
+
*
|
|
207
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
208
|
+
* @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
|
|
209
|
+
* Success response
|
|
210
|
+
* @name initialisePayment
|
|
224
211
|
* @summary: Initialize a payment (server-to-server) for UPI and BharatQR
|
|
225
|
-
* @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen.
|
|
212
|
+
* @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/initialisePayment/).
|
|
226
213
|
*/
|
|
227
|
-
initialisePayment({ body }?: {
|
|
228
|
-
body: PaymentInitializationRequest;
|
|
229
|
-
}): Promise<PaymentInitializationResponse>;
|
|
214
|
+
initialisePayment({ body }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentInitializationResponse>;
|
|
230
215
|
/**
|
|
231
|
-
* @param {
|
|
232
|
-
*
|
|
233
|
-
*
|
|
216
|
+
* @param {PaymentPlatformApplicationValidator.MerchantOnBoardingParam} arg
|
|
217
|
+
* - Arg object
|
|
218
|
+
*
|
|
219
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
220
|
+
* @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
|
|
221
|
+
* Success response
|
|
222
|
+
* @name merchantOnBoarding
|
|
234
223
|
* @summary: API to push Ajiodhan merchant data to Gringotts system
|
|
235
|
-
* @description: Use this API to push Ajiodhan merchant data to Gringotts system
|
|
224
|
+
* @description: Use this API to push Ajiodhan merchant data to Gringotts system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/merchantOnBoarding/).
|
|
236
225
|
*/
|
|
237
|
-
merchantOnBoarding({ body }?: {
|
|
238
|
-
body: MerchantOnBoardingRequest;
|
|
239
|
-
}): Promise<MerchantOnBoardingResponse>;
|
|
226
|
+
merchantOnBoarding({ body }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.MerchantOnBoardingResponse>;
|
|
240
227
|
/**
|
|
241
|
-
* @param {
|
|
242
|
-
* @param {
|
|
243
|
-
* @
|
|
244
|
-
* @
|
|
245
|
-
* @returns {Promise<GetOauthUrlResponse>} - Success response
|
|
228
|
+
* @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
|
|
229
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
230
|
+
* @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
|
|
231
|
+
* @name oauthGetUrl
|
|
246
232
|
* @summary: API to Get the url to call for oauth
|
|
247
|
-
* @description: Use this API to Get the url to call for oauth.
|
|
248
|
-
*/
|
|
249
|
-
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, }?:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
* @
|
|
256
|
-
*
|
|
257
|
-
*
|
|
233
|
+
* @description: Use this API to Get the url to call for oauth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
|
|
234
|
+
*/
|
|
235
|
+
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetOauthUrlResponse>;
|
|
236
|
+
/**
|
|
237
|
+
* @param {PaymentPlatformApplicationValidator.PaymentStatusBulkParam} arg
|
|
238
|
+
* - Arg object
|
|
239
|
+
*
|
|
240
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
241
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>}
|
|
242
|
+
* - Success response
|
|
243
|
+
*
|
|
244
|
+
* @name paymentStatusBulk
|
|
258
245
|
* @summary: Get Payment status and information for a list of order_ids
|
|
259
|
-
* @description: Use this API to get Payment status and information for a list of order_ids
|
|
246
|
+
* @description: Use this API to get Payment status and information for a list of order_ids - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/paymentStatusBulk/).
|
|
260
247
|
*/
|
|
261
|
-
paymentStatusBulk({ body }?: {
|
|
262
|
-
body: PaymentStatusBulkHandlerRequest;
|
|
263
|
-
}): Promise<PaymentStatusBulkHandlerResponse>;
|
|
248
|
+
paymentStatusBulk({ body }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>;
|
|
264
249
|
/**
|
|
265
|
-
* @param {
|
|
266
|
-
*
|
|
267
|
-
*
|
|
250
|
+
* @param {PaymentPlatformApplicationValidator.PollingPaymentLinkParam} arg
|
|
251
|
+
* - Arg object
|
|
252
|
+
*
|
|
253
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
254
|
+
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
|
|
255
|
+
* Success response
|
|
256
|
+
* @name pollingPaymentLink
|
|
268
257
|
* @summary: Used for polling if payment successful or not
|
|
269
|
-
* @description: Use this API to poll if payment through payment was successful or not
|
|
258
|
+
* @description: Use this API to poll if payment through payment was successful or not - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/pollingPaymentLink/).
|
|
270
259
|
*/
|
|
271
|
-
pollingPaymentLink({ paymentLinkId }?: {
|
|
272
|
-
paymentLinkId?: string;
|
|
273
|
-
}): Promise<PollingPaymentLinkResponse>;
|
|
260
|
+
pollingPaymentLink({ paymentLinkId }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PollingPaymentLinkResponse>;
|
|
274
261
|
/**
|
|
275
|
-
* @param {
|
|
276
|
-
* @param {
|
|
277
|
-
* @returns {Promise<RepaymentResponse>} - Success response
|
|
262
|
+
* @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
|
|
263
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
264
|
+
* @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
|
|
265
|
+
* @name repaymentDetails
|
|
278
266
|
* @summary: API to register repayment details
|
|
279
|
-
* @description: Use this API to register any repayment record in the db and notify the aggrgator
|
|
267
|
+
* @description: Use this API to register any repayment record in the db and notify the aggrgator - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
|
|
280
268
|
*/
|
|
281
|
-
repaymentDetails({ body }?: {
|
|
282
|
-
body: RepaymentDetailsSerialiserPayAll;
|
|
283
|
-
}): Promise<RepaymentResponse>;
|
|
269
|
+
repaymentDetails({ body }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RepaymentResponse>;
|
|
284
270
|
/**
|
|
285
|
-
* @param {
|
|
286
|
-
*
|
|
287
|
-
*
|
|
271
|
+
* @param {PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam} arg
|
|
272
|
+
* - Arg object
|
|
273
|
+
*
|
|
274
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
275
|
+
* @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>} -
|
|
276
|
+
* Success response
|
|
277
|
+
* @name resendOrCancelPayment
|
|
288
278
|
* @summary: API to resend and cancel a payment link which was already generated.
|
|
289
|
-
* @description: Use this API to perform resend or cancel a payment link based on request payload.
|
|
279
|
+
* @description: Use this API to perform resend or cancel a payment link based on request payload. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendOrCancelPayment/).
|
|
290
280
|
*/
|
|
291
|
-
resendOrCancelPayment({ body }?: {
|
|
292
|
-
body: ResendOrCancelPaymentRequest;
|
|
293
|
-
}): Promise<ResendOrCancelPaymentResponse>;
|
|
281
|
+
resendOrCancelPayment({ body }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>;
|
|
294
282
|
/**
|
|
295
|
-
* @param {
|
|
296
|
-
*
|
|
297
|
-
*
|
|
283
|
+
* @param {PaymentPlatformApplicationValidator.ResendPaymentLinkParam} arg
|
|
284
|
+
* - Arg object
|
|
285
|
+
*
|
|
286
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
287
|
+
* @returns {Promise<PaymentPlatformModel.ResendPaymentLinkResponse>} -
|
|
288
|
+
* Success response
|
|
289
|
+
* @name resendPaymentLink
|
|
298
290
|
* @summary: Resend payment link
|
|
299
|
-
* @description: Use this API to resend a payment link for the customer
|
|
291
|
+
* @description: Use this API to resend a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendPaymentLink/).
|
|
300
292
|
*/
|
|
301
|
-
resendPaymentLink({ body }?: {
|
|
302
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
303
|
-
}): Promise<ResendPaymentLinkResponse>;
|
|
293
|
+
resendPaymentLink({ body }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ResendPaymentLinkResponse>;
|
|
304
294
|
/**
|
|
305
|
-
* @param {
|
|
306
|
-
* @param {
|
|
307
|
-
* @returns {Promise<RevokeOAuthToken>} - Success response
|
|
295
|
+
* @param {PaymentPlatformApplicationValidator.RevokeOauthTokenParam} arg - Arg object
|
|
296
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
297
|
+
* @returns {Promise<PaymentPlatformModel.RevokeOAuthToken>} - Success response
|
|
298
|
+
* @name revokeOauthToken
|
|
308
299
|
* @summary: API to Revoke oauth for razorpay partnership
|
|
309
|
-
* @description: Use this API to Revoke oauth for razorpay partnership
|
|
300
|
+
* @description: Use this API to Revoke oauth for razorpay partnership - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/revokeOauthToken/).
|
|
310
301
|
*/
|
|
311
|
-
revokeOauthToken({ aggregator }?: {
|
|
312
|
-
aggregator: string;
|
|
313
|
-
}): Promise<RevokeOAuthToken>;
|
|
302
|
+
revokeOauthToken({ aggregator }?: PaymentPlatformApplicationValidator.RevokeOauthTokenParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RevokeOAuthToken>;
|
|
314
303
|
/**
|
|
315
|
-
* @param {
|
|
316
|
-
*
|
|
317
|
-
*
|
|
304
|
+
* @param {PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam} arg
|
|
305
|
+
* - Arg object
|
|
306
|
+
*
|
|
307
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
308
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>} -
|
|
309
|
+
* Success response
|
|
310
|
+
* @name saveBrandPaymentGatewayConfig
|
|
318
311
|
* @summary: Save Config Secret For Brand Payment Gateway
|
|
319
|
-
* @description: Save Config Secret For Brand Payment Gateway
|
|
312
|
+
* @description: Save Config Secret For Brand Payment Gateway - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
320
313
|
*/
|
|
321
|
-
saveBrandPaymentGatewayConfig({ body }?: {
|
|
322
|
-
body: PaymentGatewayConfigRequest;
|
|
323
|
-
}): Promise<PaymentGatewayToBeReviewed>;
|
|
314
|
+
saveBrandPaymentGatewayConfig({ body }?: PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>;
|
|
324
315
|
/**
|
|
325
|
-
* @param {
|
|
326
|
-
*
|
|
327
|
-
*
|
|
316
|
+
* @param {PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam} arg
|
|
317
|
+
* - Arg object
|
|
318
|
+
*
|
|
319
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
320
|
+
* @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
|
|
321
|
+
* @name setUserCODlimitRoutes
|
|
328
322
|
* @summary: Set COD option for user for payment
|
|
329
|
-
* @description: Use this API to set cod option as true or false for the payment
|
|
323
|
+
* @description: Use this API to set cod option as true or false for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
330
324
|
*/
|
|
331
|
-
setUserCODlimitRoutes({ body }?: {
|
|
332
|
-
body: SetCODForUserRequest;
|
|
333
|
-
}): Promise<SetCODOptionResponse>;
|
|
325
|
+
setUserCODlimitRoutes({ body }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.SetCODOptionResponse>;
|
|
334
326
|
/**
|
|
335
|
-
* @param {
|
|
336
|
-
* @param {
|
|
337
|
-
* @returns {Promise<EdcDeviceAddResponse>} - Success response
|
|
327
|
+
* @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
|
|
328
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
329
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
|
|
330
|
+
* @name updateEdcDevice
|
|
338
331
|
* @summary: map new edc device to the terminal
|
|
339
|
-
* @description: Use this API to map new edc device to the terminal
|
|
332
|
+
* @description: Use this API to map new edc device to the terminal - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
|
|
340
333
|
*/
|
|
341
|
-
updateEdcDevice({ body }?: {
|
|
342
|
-
body: EdcAddRequest;
|
|
343
|
-
}): Promise<EdcDeviceAddResponse>;
|
|
334
|
+
updateEdcDevice({ body }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceAddResponse>;
|
|
344
335
|
/**
|
|
345
|
-
* @param {
|
|
346
|
-
*
|
|
347
|
-
*
|
|
336
|
+
* @param {PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam} arg
|
|
337
|
+
* - Arg object
|
|
338
|
+
*
|
|
339
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
340
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
|
|
341
|
+
* Success response
|
|
342
|
+
* @name verifyCustomerForPayment
|
|
348
343
|
* @summary: Validate customer for payment
|
|
349
|
-
* @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi.
|
|
344
|
+
* @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyCustomerForPayment/).
|
|
350
345
|
*/
|
|
351
|
-
verifyCustomerForPayment({ body }?: {
|
|
352
|
-
body: ValidateCustomerRequest;
|
|
353
|
-
}): Promise<ValidateCustomerResponse>;
|
|
346
|
+
verifyCustomerForPayment({ body }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
|
|
354
347
|
}
|
|
348
|
+
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
349
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|