@gofynd/fdk-client-javascript 1.0.0 → 1.0.2
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/documentation/application/CART.md +251 -251
- package/documentation/application/CATALOG.md +393 -393
- package/documentation/application/CONTENT.md +15 -1
- package/documentation/application/ORDER.md +268 -268
- package/documentation/application/PAYMENT.md +249 -249
- package/documentation/application/POSCART.md +297 -297
- package/documentation/platform/CART.md +499 -499
- package/documentation/platform/CATALOG.md +3497 -3097
- package/documentation/platform/COMPANYPROFILE.md +207 -207
- package/documentation/platform/CONTENT.md +123 -1
- package/documentation/platform/ORDER.md +1518 -1324
- package/documentation/platform/PARTNER.md +7 -7
- package/documentation/platform/PAYMENT.md +96 -96
- package/index.js +7 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +865 -52
- package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
- package/sdk/application/Cart/CartApplicationModel.js +335 -335
- package/sdk/application/Cart/CartApplicationValidator.js +1 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +1034 -60
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationModel.js +532 -532
- package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
- package/sdk/application/Common/CommonApplicationClient.js +66 -4
- package/sdk/application/Common/CommonApplicationValidator.js +1 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +108 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +558 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationClient.js +621 -38
- package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
- package/sdk/application/Content/ContentApplicationModel.js +11 -1
- package/sdk/application/Content/ContentApplicationValidator.js +1 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +101 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
- package/sdk/application/Lead/LeadApplicationClient.js +229 -14
- package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +134 -8
- package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +403 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
- package/sdk/application/Order/OrderApplicationModel.js +334 -334
- package/sdk/application/Order/OrderApplicationValidator.js +1 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +1381 -78
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +350 -350
- package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
- package/sdk/application/PosCart/PosCartApplicationClient.js +914 -54
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
- package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
- package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
- package/sdk/application/Rewards/RewardsApplicationClient.js +235 -14
- package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
- package/sdk/application/Share/ShareApplicationClient.js +226 -14
- package/sdk/application/Share/ShareApplicationValidator.js +1 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +130 -8
- package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
- package/sdk/application/User/UserApplicationClient.js +1133 -70
- package/sdk/application/User/UserApplicationValidator.js +1 -0
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +287 -16
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +153 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +141 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +429 -24
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +617 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
- package/sdk/platform/Cart/CartPlatformModel.js +617 -617
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +191 -138
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2202 -302
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +45 -45
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +344 -226
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3282 -488
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +110 -100
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2073 -1795
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +23 -21
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +103 -84
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
- package/sdk/platform/Common/CommonPlatformClient.js +73 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1499 -80
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +41 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +486 -26
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +9 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +274 -274
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1022 -56
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +693 -36
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2446 -140
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
- package/sdk/platform/Content/ContentPlatformModel.js +43 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
- package/sdk/platform/Discount/DiscountPlatformClient.js +400 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +148 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +214 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
- package/sdk/platform/Inventory/InventoryPlatformClient.js +449 -24
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +447 -26
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +384 -22
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +125 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +108 -47
- package/sdk/platform/Order/OrderPlatformClient.js +1641 -100
- package/sdk/platform/Order/OrderPlatformModel.d.ts +69 -58
- package/sdk/platform/Order/OrderPlatformModel.js +1485 -1493
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -4
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +418 -22
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
- package/sdk/platform/Payment/PaymentPlatformClient.js +374 -20
- package/sdk/platform/Payment/PaymentPlatformModel.js +139 -139
- package/sdk/platform/PlatformApplicationClient.d.ts +2973 -2827
- package/sdk/platform/PlatformApplicationClient.js +3461 -3263
- package/sdk/platform/PlatformClient.d.ts +2973 -2827
- package/sdk/platform/PlatformClient.js +3461 -3263
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +449 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +139 -8
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +816 -48
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +417 -24
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
- package/sdk/platform/Webhook/WebhookPlatformClient.js +229 -12
- package/sdk/public/Configuration/ConfigurationPublicClient.js +72 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
- package/sdk/public/Inventory/InventoryPublicClient.js +210 -12
- package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +74 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
|
@@ -191,27 +191,27 @@ Success
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
#### [
|
|
194
|
+
#### [RemoveProxyResponse](#RemoveProxyResponse)
|
|
195
195
|
|
|
196
196
|
| Properties | Type | Nullable | Description |
|
|
197
197
|
| ---------- | ---- | -------- | ----------- |
|
|
198
|
-
| code | string | no | |
|
|
199
198
|
| message | string | no | |
|
|
200
|
-
|
|
|
201
|
-
| request_id | string | no | |
|
|
202
|
-
| meta | string | no | |
|
|
199
|
+
| data | string | no | |
|
|
203
200
|
|
|
204
201
|
---
|
|
205
202
|
|
|
206
203
|
|
|
207
204
|
|
|
208
205
|
|
|
209
|
-
#### [
|
|
206
|
+
#### [APIError](#APIError)
|
|
210
207
|
|
|
211
208
|
| Properties | Type | Nullable | Description |
|
|
212
209
|
| ---------- | ---- | -------- | ----------- |
|
|
210
|
+
| code | string | no | |
|
|
213
211
|
| message | string | no | |
|
|
214
|
-
|
|
|
212
|
+
| info | string | no | Error code description link |
|
|
213
|
+
| request_id | string | no | |
|
|
214
|
+
| meta | string | no | |
|
|
215
215
|
|
|
216
216
|
---
|
|
217
217
|
|
|
@@ -2851,12 +2851,12 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2851
2851
|
|
|
2852
2852
|
| Properties | Type | Nullable | Description |
|
|
2853
2853
|
| ---------- | ---- | -------- | ----------- |
|
|
2854
|
-
|
|
|
2854
|
+
| created | boolean | yes | Response is created or not |
|
|
2855
2855
|
| excluded_fields | [string] | yes | List of all excluded options with their Details. |
|
|
2856
|
+
| success | boolean | yes | Response is successful or not |
|
|
2856
2857
|
| aggregators | [string] | no | List of all speceific Payment options with their Details. |
|
|
2857
|
-
|
|
|
2858
|
+
| display_fields | [string] | yes | List of all included options with their Details. |
|
|
2858
2859
|
| app_id | string | yes | Application Id to which Payment config Mapped |
|
|
2859
|
-
| success | boolean | yes | Response is successful or not |
|
|
2860
2860
|
|
|
2861
2861
|
---
|
|
2862
2862
|
|
|
@@ -2868,8 +2868,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2868
2868
|
| Properties | Type | Nullable | Description |
|
|
2869
2869
|
| ---------- | ---- | -------- | ----------- |
|
|
2870
2870
|
| code | string | yes | Error descrption code. |
|
|
2871
|
-
| success | boolean | yes | Response is successful or not |
|
|
2872
2871
|
| description | string | yes | Error human understandable description. |
|
|
2872
|
+
| success | boolean | yes | Response is successful or not |
|
|
2873
2873
|
|
|
2874
2874
|
---
|
|
2875
2875
|
|
|
@@ -2880,11 +2880,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2880
2880
|
|
|
2881
2881
|
| Properties | Type | Nullable | Description |
|
|
2882
2882
|
| ---------- | ---- | -------- | ----------- |
|
|
2883
|
-
|
|
|
2883
|
+
| config_type | string | yes | Config Type of the aggregator |
|
|
2884
2884
|
| merchant_salt | string | yes | Merchant key of the payment aggregator |
|
|
2885
2885
|
| secret | string | yes | Secret Key of the payment aggregator |
|
|
2886
2886
|
| is_active | boolean | no | Enable/ Disable Flag |
|
|
2887
|
-
|
|
|
2887
|
+
| key | string | yes | Api key of the payment aggregator |
|
|
2888
2888
|
|
|
2889
2889
|
---
|
|
2890
2890
|
|
|
@@ -2895,9 +2895,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2895
2895
|
|
|
2896
2896
|
| Properties | Type | Nullable | Description |
|
|
2897
2897
|
| ---------- | ---- | -------- | ----------- |
|
|
2898
|
-
| app_id | string | yes | Application Id to which Payment config Mapped |
|
|
2899
|
-
| is_active | boolean | no | Enable/ Disable Flag |
|
|
2900
2898
|
| aggregator_name | [PaymentGatewayConfig](#PaymentGatewayConfig) | no | |
|
|
2899
|
+
| is_active | boolean | no | Enable/ Disable Flag |
|
|
2900
|
+
| app_id | string | yes | Application Id to which Payment config Mapped |
|
|
2901
2901
|
|
|
2902
2902
|
---
|
|
2903
2903
|
|
|
@@ -2920,8 +2920,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2920
2920
|
|
|
2921
2921
|
| Properties | Type | Nullable | Description |
|
|
2922
2922
|
| ---------- | ---- | -------- | ----------- |
|
|
2923
|
-
| description | string | yes | Error human understandable description. |
|
|
2924
2923
|
| code | string | yes | Error descrption code. |
|
|
2924
|
+
| description | string | yes | Error human understandable description. |
|
|
2925
2925
|
|
|
2926
2926
|
---
|
|
2927
2927
|
|
|
@@ -2932,8 +2932,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2932
2932
|
|
|
2933
2933
|
| Properties | Type | Nullable | Description |
|
|
2934
2934
|
| ---------- | ---- | -------- | ----------- |
|
|
2935
|
-
| success | boolean | yes | Response is successful or not |
|
|
2936
2935
|
| error | [ErrorCodeAndDescription](#ErrorCodeAndDescription) | yes | |
|
|
2936
|
+
| success | boolean | yes | Response is successful or not |
|
|
2937
2937
|
|
|
2938
2938
|
---
|
|
2939
2939
|
|
|
@@ -2944,8 +2944,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2944
2944
|
|
|
2945
2945
|
| Properties | Type | Nullable | Description |
|
|
2946
2946
|
| ---------- | ---- | -------- | ----------- |
|
|
2947
|
-
| small | string | yes | smalll |
|
|
2948
2947
|
| large | string | yes | large |
|
|
2948
|
+
| small | string | yes | smalll |
|
|
2949
2949
|
|
|
2950
2950
|
---
|
|
2951
2951
|
|
|
@@ -2956,10 +2956,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2956
2956
|
|
|
2957
2957
|
| Properties | Type | Nullable | Description |
|
|
2958
2958
|
| ---------- | ---- | -------- | ----------- |
|
|
2959
|
-
| display_name | string | no | display_name |
|
|
2960
2959
|
| code | string | no | code |
|
|
2961
2960
|
| package_name | string | no | package_name |
|
|
2962
2961
|
| logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
|
|
2962
|
+
| display_name | string | no | display_name |
|
|
2963
2963
|
|
|
2964
2964
|
---
|
|
2965
2965
|
|
|
@@ -2970,8 +2970,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2970
2970
|
|
|
2971
2971
|
| Properties | Type | Nullable | Description |
|
|
2972
2972
|
| ---------- | ---- | -------- | ----------- |
|
|
2973
|
-
| code | string | no | code |
|
|
2974
2973
|
| package_name | string | no | package_name |
|
|
2974
|
+
| code | string | no | code |
|
|
2975
2975
|
|
|
2976
2976
|
---
|
|
2977
2977
|
|
|
@@ -2982,39 +2982,39 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
2982
2982
|
|
|
2983
2983
|
| Properties | Type | Nullable | Description |
|
|
2984
2984
|
| ---------- | ---- | -------- | ----------- |
|
|
2985
|
-
|
|
|
2986
|
-
| card_reference | string | no | card_reference |
|
|
2987
|
-
| intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
|
|
2988
|
-
| cod_limit | number | no | cod limit |
|
|
2989
|
-
| fynd_vpa | string | no | fynd_vpa |
|
|
2990
|
-
| timeout | number | no | timeout |
|
|
2985
|
+
| card_brand_image | string | no | card_brand_image |
|
|
2991
2986
|
| aggregator_name | string | yes | aggregator_name |
|
|
2992
|
-
|
|
|
2987
|
+
| remaining_limit | number | no | Remaining limit |
|
|
2988
|
+
| logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
|
|
2989
|
+
| retry_count | number | no | retry_count |
|
|
2990
|
+
| merchant_code | string | no | merchant code |
|
|
2991
|
+
| card_type | string | no | card_type |
|
|
2993
2992
|
| display_name | string | no | display name |
|
|
2993
|
+
| card_issuer | string | no | card_issuer |
|
|
2994
|
+
| cod_limit | number | no | cod limit |
|
|
2995
|
+
| expired | boolean | no | expired |
|
|
2996
|
+
| intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
|
|
2994
2997
|
| name | string | no | name |
|
|
2995
2998
|
| card_fingerprint | string | no | card_fingerprint |
|
|
2996
|
-
| code | string | no | code |
|
|
2997
|
-
| card_brand | string | no | card_brand |
|
|
2998
2999
|
| intent_flow | boolean | no | intent_flow |
|
|
2999
|
-
|
|
|
3000
|
-
| intent_app_error_list | [string] | no | intent_app_error_list |
|
|
3001
|
-
| retry_count | number | no | retry_count |
|
|
3000
|
+
| fynd_vpa | string | no | fynd_vpa |
|
|
3002
3001
|
| nickname | string | no | nickname |
|
|
3003
|
-
|
|
|
3002
|
+
| display_priority | number | no | Dispaly Priority |
|
|
3004
3003
|
| card_number | string | no | card_number |
|
|
3005
3004
|
| card_id | string | no | card_id |
|
|
3006
|
-
| card_name | string | no | card_name |
|
|
3007
|
-
| remaining_limit | number | no | Remaining limit |
|
|
3008
|
-
| card_isin | string | no | card_isin |
|
|
3009
|
-
| card_type | string | no | card_type |
|
|
3010
3005
|
| intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
|
|
3011
|
-
|
|
|
3006
|
+
| card_name | string | no | card_name |
|
|
3007
|
+
| cod_limit_per_order | number | no | Cod limit per order |
|
|
3008
|
+
| code | string | no | code |
|
|
3009
|
+
| card_reference | string | no | card_reference |
|
|
3010
|
+
| compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
|
|
3011
|
+
| card_brand | string | no | card_brand |
|
|
3012
|
+
| exp_year | number | no | exp_year |
|
|
3012
3013
|
| exp_month | number | no | exp_month |
|
|
3013
|
-
| card_brand_image | string | no | card_brand_image |
|
|
3014
3014
|
| card_token | string | no | card_token |
|
|
3015
|
-
|
|
|
3016
|
-
|
|
|
3017
|
-
|
|
|
3015
|
+
| intent_app_error_list | [string] | no | intent_app_error_list |
|
|
3016
|
+
| card_isin | string | no | card_isin |
|
|
3017
|
+
| timeout | number | no | timeout |
|
|
3018
3018
|
|
|
3019
3019
|
---
|
|
3020
3020
|
|
|
@@ -3025,15 +3025,15 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3025
3025
|
|
|
3026
3026
|
| Properties | Type | Nullable | Description |
|
|
3027
3027
|
| ---------- | ---- | -------- | ----------- |
|
|
3028
|
-
|
|
|
3029
|
-
|
|
|
3028
|
+
| aggregator_name | string | no | Dispaly Priority |
|
|
3029
|
+
| list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
|
|
3030
|
+
| anonymous_enable | boolean | no | Annonymous card flag |
|
|
3030
3031
|
| save_card | boolean | no | Card save or not |
|
|
3031
3032
|
| add_card_enabled | boolean | no | Annonymous card flag |
|
|
3032
|
-
| list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
|
|
3033
|
-
| aggregator_name | string | no | Dispaly Priority |
|
|
3034
|
-
| display_name | string | yes | Payment mode display name |
|
|
3035
3033
|
| name | string | yes | Payment mode name |
|
|
3036
|
-
|
|
|
3034
|
+
| display_priority | number | yes | Dispaly Priority |
|
|
3035
|
+
| display_name | string | yes | Payment mode display name |
|
|
3036
|
+
| is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
|
|
3037
3037
|
|
|
3038
3038
|
---
|
|
3039
3039
|
|
|
@@ -3067,13 +3067,13 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3067
3067
|
|
|
3068
3068
|
| Properties | Type | Nullable | Description |
|
|
3069
3069
|
| ---------- | ---- | -------- | ----------- |
|
|
3070
|
-
| customers | string | yes | customers details object |
|
|
3071
|
-
| transfer_type | string | yes | transafer type |
|
|
3072
|
-
| unique_transfer_no | string | yes | display priority of the payment mode |
|
|
3073
|
-
| more_attributes | string | yes | bank details object |
|
|
3074
|
-
| payouts_aggregators | [string] | yes | payout aggregator object |
|
|
3075
3070
|
| is_default | boolean | yes | default or not |
|
|
3071
|
+
| unique_transfer_no | string | yes | display priority of the payment mode |
|
|
3072
|
+
| transfer_type | string | yes | transafer type |
|
|
3076
3073
|
| is_active | boolean | yes | Enable/DIsable Flag Payout |
|
|
3074
|
+
| payouts_aggregators | [string] | yes | payout aggregator object |
|
|
3075
|
+
| more_attributes | string | yes | bank details object |
|
|
3076
|
+
| customers | string | yes | customers details object |
|
|
3077
3077
|
|
|
3078
3078
|
---
|
|
3079
3079
|
|
|
@@ -3084,16 +3084,16 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3084
3084
|
|
|
3085
3085
|
| Properties | Type | Nullable | Description |
|
|
3086
3086
|
| ---------- | ---- | -------- | ----------- |
|
|
3087
|
-
| account_no | string | no | |
|
|
3088
|
-
| ifsc_code | string | yes | |
|
|
3089
|
-
| country | string | no | |
|
|
3090
3087
|
| state | string | no | |
|
|
3091
|
-
| account_holder | string | no | |
|
|
3092
3088
|
| pincode | number | no | |
|
|
3093
|
-
| city | string | no | |
|
|
3094
3089
|
| branch_name | string | no | |
|
|
3095
|
-
|
|
|
3090
|
+
| account_holder | string | no | |
|
|
3091
|
+
| city | string | no | |
|
|
3096
3092
|
| bank_name | string | no | |
|
|
3093
|
+
| ifsc_code | string | yes | |
|
|
3094
|
+
| country | string | no | |
|
|
3095
|
+
| account_no | string | no | |
|
|
3096
|
+
| account_type | string | yes | |
|
|
3097
3097
|
|
|
3098
3098
|
---
|
|
3099
3099
|
|
|
@@ -3104,12 +3104,12 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3104
3104
|
|
|
3105
3105
|
| Properties | Type | Nullable | Description |
|
|
3106
3106
|
| ---------- | ---- | -------- | ----------- |
|
|
3107
|
+
| bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
|
|
3108
|
+
| unique_external_id | string | yes | Unique Id of Payout |
|
|
3107
3109
|
| transfer_type | string | yes | transafer type |
|
|
3108
3110
|
| aggregator | string | yes | Aggregator Name |
|
|
3109
|
-
| bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
|
|
3110
3111
|
| users | string | yes | payout users object |
|
|
3111
3112
|
| is_active | boolean | yes | Enable/Disable Flag Payout |
|
|
3112
|
-
| unique_external_id | string | yes | Unique Id of Payout |
|
|
3113
3113
|
|
|
3114
3114
|
---
|
|
3115
3115
|
|
|
@@ -3120,16 +3120,16 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3120
3120
|
|
|
3121
3121
|
| Properties | Type | Nullable | Description |
|
|
3122
3122
|
| ---------- | ---- | -------- | ----------- |
|
|
3123
|
+
| bank_details | string | yes | payout bank_details object |
|
|
3123
3124
|
| payouts | string | yes | payout object |
|
|
3124
|
-
| transfer_type | string | yes | transfer type |
|
|
3125
|
-
| aggregator | string | yes | Aggregator Name |
|
|
3126
|
-
| unique_transfer_no | string | yes | unique transfer no |
|
|
3127
3125
|
| created | boolean | yes | created flag |
|
|
3128
|
-
|
|
|
3129
|
-
|
|
|
3126
|
+
| unique_transfer_no | string | yes | unique transfer no |
|
|
3127
|
+
| transfer_type | string | yes | transfer type |
|
|
3128
|
+
| success | boolean | yes | Response is successful or not |
|
|
3130
3129
|
| users | string | yes | users details object |
|
|
3130
|
+
| aggregator | string | yes | Aggregator Name |
|
|
3131
3131
|
| is_active | boolean | yes | Enable/DIsable Flag Payout |
|
|
3132
|
-
|
|
|
3132
|
+
| payment_status | string | yes | status of payment |
|
|
3133
3133
|
|
|
3134
3134
|
---
|
|
3135
3135
|
|
|
@@ -3177,8 +3177,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3177
3177
|
|
|
3178
3178
|
| Properties | Type | Nullable | Description |
|
|
3179
3179
|
| ---------- | ---- | -------- | ----------- |
|
|
3180
|
-
| success | boolean | yes | Response is successful or not |
|
|
3181
3180
|
| data | [string] | yes | Subscription Payment Method Object |
|
|
3181
|
+
| success | boolean | yes | Response is successful or not |
|
|
3182
3182
|
|
|
3183
3183
|
---
|
|
3184
3184
|
|
|
@@ -3200,9 +3200,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3200
3200
|
|
|
3201
3201
|
| Properties | Type | Nullable | Description |
|
|
3202
3202
|
| ---------- | ---- | -------- | ----------- |
|
|
3203
|
+
| config | string | yes | Aggregator Config |
|
|
3203
3204
|
| aggregator | string | yes | Aggregator Name |
|
|
3204
3205
|
| success | boolean | yes | Response is successful or not |
|
|
3205
|
-
| config | string | yes | Aggregator Config |
|
|
3206
3206
|
|
|
3207
3207
|
---
|
|
3208
3208
|
|
|
@@ -3224,8 +3224,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3224
3224
|
|
|
3225
3225
|
| Properties | Type | Nullable | Description |
|
|
3226
3226
|
| ---------- | ---- | -------- | ----------- |
|
|
3227
|
-
| success | boolean | yes | Response is successful or not |
|
|
3228
3227
|
| data | string | yes | Subscription Payment Method Object |
|
|
3228
|
+
| success | boolean | yes | Response is successful or not |
|
|
3229
3229
|
|
|
3230
3230
|
---
|
|
3231
3231
|
|
|
@@ -3236,10 +3236,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3236
3236
|
|
|
3237
3237
|
| Properties | Type | Nullable | Description |
|
|
3238
3238
|
| ---------- | ---- | -------- | ----------- |
|
|
3239
|
-
| message | string | yes | Response message |
|
|
3240
3239
|
| is_verified_flag | boolean | no | |
|
|
3241
|
-
|
|
|
3240
|
+
| message | string | yes | Response message |
|
|
3242
3241
|
| data | string | no | Refund account data. |
|
|
3242
|
+
| success | boolean | yes | Success or failure flag. |
|
|
3243
3243
|
|
|
3244
3244
|
---
|
|
3245
3245
|
|
|
@@ -3251,8 +3251,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3251
3251
|
| Properties | Type | Nullable | Description |
|
|
3252
3252
|
| ---------- | ---- | -------- | ----------- |
|
|
3253
3253
|
| code | string | yes | Bad Request Data |
|
|
3254
|
-
| success | boolean | yes | Response is successful or not |
|
|
3255
3254
|
| description | string | yes | Not Found |
|
|
3255
|
+
| success | boolean | yes | Response is successful or not |
|
|
3256
3256
|
|
|
3257
3257
|
---
|
|
3258
3258
|
|
|
@@ -3263,11 +3263,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3263
3263
|
|
|
3264
3264
|
| Properties | Type | Nullable | Description |
|
|
3265
3265
|
| ---------- | ---- | -------- | ----------- |
|
|
3266
|
-
| account_no | string | yes | |
|
|
3267
|
-
| ifsc_code | string | yes | |
|
|
3268
|
-
| account_holder | string | yes | |
|
|
3269
3266
|
| branch_name | string | yes | |
|
|
3267
|
+
| account_holder | string | yes | |
|
|
3270
3268
|
| bank_name | string | yes | |
|
|
3269
|
+
| ifsc_code | string | yes | |
|
|
3270
|
+
| account_no | string | yes | |
|
|
3271
3271
|
|
|
3272
3272
|
---
|
|
3273
3273
|
|
|
@@ -3290,8 +3290,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3290
3290
|
|
|
3291
3291
|
| Properties | Type | Nullable | Description |
|
|
3292
3292
|
| ---------- | ---- | -------- | ----------- |
|
|
3293
|
-
| branch_name | string | yes | Branch Name Of Account |
|
|
3294
3293
|
| success | boolean | no | Response is successful or not |
|
|
3294
|
+
| branch_name | string | yes | Branch Name Of Account |
|
|
3295
3295
|
| bank_name | string | yes | Bank Name Of Account |
|
|
3296
3296
|
|
|
3297
3297
|
---
|
|
@@ -3303,25 +3303,25 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3303
3303
|
|
|
3304
3304
|
| Properties | Type | Nullable | Description |
|
|
3305
3305
|
| ---------- | ---- | -------- | ----------- |
|
|
3306
|
-
|
|
|
3307
|
-
|
|
|
3308
|
-
| account_holder | string | yes | Account Holder Name |
|
|
3309
|
-
| title | string | yes | Title Of Account |
|
|
3310
|
-
| is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
|
|
3306
|
+
| transfer_mode | string | yes | Transfer Mode Of Account |
|
|
3307
|
+
| address | string | yes | Address of User |
|
|
3311
3308
|
| display_name | string | yes | Display Name Of Account |
|
|
3312
|
-
| modified_on | string | yes | MOdification Date of Beneficiary |
|
|
3313
|
-
| id | number | yes | |
|
|
3314
3309
|
| delights_user_name | string | no | User Id Who filled the Beneficiary |
|
|
3315
|
-
| bank_name | string | yes | Bank Name Of Account |
|
|
3316
|
-
| address | string | yes | Address of User |
|
|
3317
|
-
| ifsc_code | string | yes | Ifsc Code Of Account |
|
|
3318
|
-
| mobile | string | no | MObile no of User |
|
|
3319
|
-
| branch_name | string | no | Branch Name Of Account |
|
|
3320
|
-
| subtitle | string | yes | SHort Title Of Account |
|
|
3321
|
-
| transfer_mode | string | yes | Transfer Mode Of Account |
|
|
3322
|
-
| comment | string | no | Remarks |
|
|
3323
3310
|
| created_on | string | yes | Creation Date of Beneficiary |
|
|
3324
3311
|
| email | string | yes | EMail of User |
|
|
3312
|
+
| comment | string | no | Remarks |
|
|
3313
|
+
| branch_name | string | no | Branch Name Of Account |
|
|
3314
|
+
| account_no | string | yes | Account Number |
|
|
3315
|
+
| subtitle | string | yes | SHort Title Of Account |
|
|
3316
|
+
| modified_on | string | yes | MOdification Date of Beneficiary |
|
|
3317
|
+
| bank_name | string | yes | Bank Name Of Account |
|
|
3318
|
+
| mobile | string | no | MObile no of User |
|
|
3319
|
+
| account_holder | string | yes | Account Holder Name |
|
|
3320
|
+
| beneficiary_id | string | yes | Benenficiary Id |
|
|
3321
|
+
| id | number | yes | |
|
|
3322
|
+
| is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
|
|
3323
|
+
| ifsc_code | string | yes | Ifsc Code Of Account |
|
|
3324
|
+
| title | string | yes | Title Of Account |
|
|
3325
3325
|
|
|
3326
3326
|
---
|
|
3327
3327
|
|
|
@@ -3344,11 +3344,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3344
3344
|
|
|
3345
3345
|
| Properties | Type | Nullable | Description |
|
|
3346
3346
|
| ---------- | ---- | -------- | ----------- |
|
|
3347
|
-
| payment_id | string | no | |
|
|
3348
3347
|
| extra_meta | string | no | |
|
|
3349
3348
|
| payment_gateway | string | no | |
|
|
3350
|
-
| order_id | string | no | |
|
|
3351
3349
|
| current_status | string | no | |
|
|
3350
|
+
| payment_id | string | no | |
|
|
3351
|
+
| order_id | string | no | |
|
|
3352
3352
|
|
|
3353
3353
|
---
|
|
3354
3354
|
|
|
@@ -3359,10 +3359,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3359
3359
|
|
|
3360
3360
|
| Properties | Type | Nullable | Description |
|
|
3361
3361
|
| ---------- | ---- | -------- | ----------- |
|
|
3362
|
-
| meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
|
|
3363
|
-
| amount | number | yes | Payment amount |
|
|
3364
3362
|
| name | string | no | Payment mode name |
|
|
3363
|
+
| amount | number | yes | Payment amount |
|
|
3365
3364
|
| mode | string | yes | |
|
|
3365
|
+
| meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
|
|
3366
3366
|
|
|
3367
3367
|
---
|
|
3368
3368
|
|
|
@@ -3373,8 +3373,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3373
3373
|
|
|
3374
3374
|
| Properties | Type | Nullable | Description |
|
|
3375
3375
|
| ---------- | ---- | -------- | ----------- |
|
|
3376
|
-
| order_id | string | yes | Unique order id |
|
|
3377
3376
|
| payment_methods | [[MultiTenderPaymentMethod](#MultiTenderPaymentMethod)] | yes | |
|
|
3377
|
+
| order_id | string | yes | Unique order id |
|
|
3378
3378
|
|
|
3379
3379
|
---
|
|
3380
3380
|
|
|
@@ -3386,8 +3386,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3386
3386
|
| Properties | Type | Nullable | Description |
|
|
3387
3387
|
| ---------- | ---- | -------- | ----------- |
|
|
3388
3388
|
| message | string | yes | Message |
|
|
3389
|
-
| order_id | string | yes | Unique order id |
|
|
3390
3389
|
| success | boolean | yes | Payment confirmation updated or not. |
|
|
3390
|
+
| order_id | string | yes | Unique order id |
|
|
3391
3391
|
|
|
3392
3392
|
---
|
|
3393
3393
|
|
|
@@ -3398,11 +3398,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3398
3398
|
|
|
3399
3399
|
| Properties | Type | Nullable | Description |
|
|
3400
3400
|
| ---------- | ---- | -------- | ----------- |
|
|
3401
|
-
| limit | number | yes | Total Limit of user |
|
|
3402
|
-
| user_id | string | yes | Payment mode name |
|
|
3403
3401
|
| remaining_limit | number | yes | Remaining Limit for COD of User |
|
|
3402
|
+
| user_id | string | yes | Payment mode name |
|
|
3404
3403
|
| usages | number | yes | Used COD limit from the user Limit |
|
|
3405
3404
|
| is_active | boolean | yes | COD option is active or not |
|
|
3405
|
+
| limit | number | yes | Total Limit of user |
|
|
3406
3406
|
|
|
3407
3407
|
---
|
|
3408
3408
|
|
|
@@ -3413,8 +3413,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3413
3413
|
|
|
3414
3414
|
| Properties | Type | Nullable | Description |
|
|
3415
3415
|
| ---------- | ---- | -------- | ----------- |
|
|
3416
|
-
| user_cod_data | [CODdata](#CODdata) | yes | User COD Data |
|
|
3417
3416
|
| success | boolean | yes | Response is successful or not |
|
|
3417
|
+
| user_cod_data | [CODdata](#CODdata) | yes | User COD Data |
|
|
3418
3418
|
|
|
3419
3419
|
---
|
|
3420
3420
|
|
|
@@ -3425,9 +3425,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
|
|
|
3425
3425
|
|
|
3426
3426
|
| Properties | Type | Nullable | Description |
|
|
3427
3427
|
| ---------- | ---- | -------- | ----------- |
|
|
3428
|
-
| mobileno | string | yes | Mobile No. of User |
|
|
3429
|
-
| is_active | boolean | yes | either true or false |
|
|
3430
3428
|
| merchant_user_id | string | yes | Merchant User id |
|
|
3429
|
+
| is_active | boolean | yes | either true or false |
|
|
3430
|
+
| mobileno | string | yes | Mobile No. of User |
|
|
3431
3431
|
|
|
3432
3432
|
---
|
|
3433
3433
|
|
package/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
const {ApplicationConfig, ApplicationClient, ApplicationModel } = require('./sdk/application');
|
|
2
2
|
const {PlatformConfig, PlatformClient, PlatformModel } = require('./sdk/platform');
|
|
3
3
|
const {PublicConfig, PublicClient, PublicModel } = require('./sdk/public');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
4
7
|
const {fdkAxios} = require('./sdk/common/AxiosHelper');
|
|
5
8
|
const Utility = require('./sdk/common/Utility');
|
|
6
9
|
const Constant = require('./sdk/common/Constant');
|
|
@@ -15,7 +18,10 @@ module.exports = {
|
|
|
15
18
|
PublicConfig,
|
|
16
19
|
PublicClient,
|
|
17
20
|
PublicModel,
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
18
24
|
FdkAxios: fdkAxios,
|
|
19
25
|
Utility,
|
|
20
26
|
Constant,
|
|
21
|
-
};
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ class ApplicationConfig {
|
|
|
40
40
|
throw new FDKClientValidationError(error);
|
|
41
41
|
}
|
|
42
42
|
if (!this.applicationID) {
|
|
43
|
-
Logger({
|
|
43
|
+
Logger({ level: "ERROR", message: "No Application ID Present" });
|
|
44
44
|
throw new FDKInvalidCredentialError("No Application ID Present");
|
|
45
45
|
}
|
|
46
46
|
if (!this.applicationToken) {
|