@gofynd/fdk-client-javascript 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/documentation/application/CATALOG.md +371 -371
  2. package/documentation/application/ORDER.md +272 -272
  3. package/documentation/application/PAYMENT.md +269 -269
  4. package/documentation/platform/CATALOG.md +1678 -1664
  5. package/documentation/platform/COMPANYPROFILE.md +201 -201
  6. package/documentation/platform/ORDER.md +1442 -1323
  7. package/documentation/platform/PAYMENT.md +88 -88
  8. package/index.js +7 -1
  9. package/package.json +1 -1
  10. package/sdk/application/Cart/CartApplicationClient.js +302 -0
  11. package/sdk/application/Cart/CartApplicationValidator.js +1 -0
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +378 -0
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +17 -17
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +500 -500
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
  16. package/sdk/application/Common/CommonApplicationClient.js +22 -0
  17. package/sdk/application/Common/CommonApplicationValidator.js +1 -0
  18. package/sdk/application/Communication/CommunicationApplicationClient.js +41 -0
  19. package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +200 -0
  21. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  22. package/sdk/application/Content/ContentApplicationClient.js +215 -0
  23. package/sdk/application/Content/ContentApplicationValidator.js +1 -0
  24. package/sdk/application/FileStorage/FileStorageApplicationClient.js +33 -0
  25. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
  26. package/sdk/application/Lead/LeadApplicationClient.js +81 -0
  27. package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +44 -0
  29. package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
  30. package/sdk/application/Order/OrderApplicationClient.js +146 -0
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
  32. package/sdk/application/Order/OrderApplicationModel.js +329 -329
  33. package/sdk/application/Order/OrderApplicationValidator.js +1 -0
  34. package/sdk/application/Payment/PaymentApplicationClient.js +528 -0
  35. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -5
  36. package/sdk/application/Payment/PaymentApplicationModel.js +391 -391
  37. package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
  38. package/sdk/application/PosCart/PosCartApplicationClient.js +329 -0
  39. package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
  40. package/sdk/application/Rewards/RewardsApplicationClient.js +81 -0
  41. package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
  42. package/sdk/application/Share/ShareApplicationClient.js +87 -0
  43. package/sdk/application/Share/ShareApplicationValidator.js +1 -0
  44. package/sdk/application/Theme/ThemeApplicationClient.js +44 -0
  45. package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
  46. package/sdk/application/User/UserApplicationClient.js +405 -0
  47. package/sdk/application/User/UserApplicationValidator.js +1 -0
  48. package/sdk/common/AxiosHelper.js +1 -1
  49. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +114 -0
  50. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +58 -0
  51. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +46 -0
  52. package/sdk/platform/Billing/BillingPlatformClient.js +160 -0
  53. package/sdk/platform/Cart/CartPlatformApplicationClient.js +246 -0
  54. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +29 -29
  55. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +839 -48
  56. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +3 -3
  57. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +9 -9
  58. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +54 -54
  59. package/sdk/platform/Catalog/CatalogPlatformClient.js +1149 -96
  60. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -57
  61. package/sdk/platform/Catalog/CatalogPlatformModel.js +1626 -1614
  62. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +6 -6
  63. package/sdk/platform/Catalog/CatalogPlatformValidator.js +20 -20
  64. package/sdk/platform/Common/CommonPlatformClient.js +26 -0
  65. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +587 -0
  66. package/sdk/platform/Communication/CommunicationPlatformClient.js +15 -0
  67. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +179 -0
  68. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +11 -11
  69. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +269 -269
  70. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +382 -0
  71. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +282 -0
  72. package/sdk/platform/Content/ContentPlatformApplicationClient.js +866 -0
  73. package/sdk/platform/Discount/DiscountPlatformClient.js +152 -0
  74. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +54 -0
  75. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +76 -0
  76. package/sdk/platform/Inventory/InventoryPlatformClient.js +161 -0
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +162 -0
  78. package/sdk/platform/Lead/LeadPlatformClient.js +140 -0
  79. package/sdk/platform/Order/OrderPlatformApplicationClient.js +55 -0
  80. package/sdk/platform/Order/OrderPlatformClient.d.ts +15 -6
  81. package/sdk/platform/Order/OrderPlatformClient.js +674 -15
  82. package/sdk/platform/Order/OrderPlatformModel.d.ts +67 -60
  83. package/sdk/platform/Order/OrderPlatformModel.js +1559 -1623
  84. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
  85. package/sdk/platform/Order/OrderPlatformValidator.js +10 -4
  86. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +26 -0
  87. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +165 -0
  88. package/sdk/platform/Payment/PaymentPlatformClient.js +139 -0
  89. package/sdk/platform/Payment/PaymentPlatformModel.js +137 -137
  90. package/sdk/platform/PlatformApplicationClient.d.ts +2217 -2243
  91. package/sdk/platform/PlatformApplicationClient.js +2514 -2524
  92. package/sdk/platform/PlatformClient.d.ts +2217 -2243
  93. package/sdk/platform/PlatformClient.js +2514 -2524
  94. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +169 -0
  95. package/sdk/platform/Share/SharePlatformApplicationClient.js +53 -0
  96. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +293 -0
  97. package/sdk/platform/User/UserPlatformApplicationClient.js +145 -0
  98. package/sdk/platform/Webhook/WebhookPlatformClient.js +90 -0
  99. package/sdk/public/Configuration/ConfigurationPublicClient.js +25 -0
  100. package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
  101. package/sdk/public/Inventory/InventoryPublicClient.js +75 -0
  102. package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
  103. package/sdk/public/Webhook/WebhookPublicClient.js +29 -0
  104. package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
@@ -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
- | display_fields | [string] | yes | List of all included options with their Details. |
2855
2854
  | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2856
- | aggregators | [string] | no | List of all speceific Payment options with their Details. |
2857
2855
  | created | boolean | yes | Response is created or not |
2858
- | app_id | string | yes | Application Id to which Payment config Mapped |
2856
+ | aggregators | [string] | no | List of all speceific Payment options with their Details. |
2859
2857
  | success | boolean | yes | Response is successful or not |
2858
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2859
+ | display_fields | [string] | yes | List of all included options with their Details. |
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
+ | secret | string | yes | Secret Key of the payment aggregator |
2884
+ | config_type | string | yes | Config Type of the aggregator |
2883
2885
  | key | string | yes | Api key of the payment aggregator |
2884
2886
  | merchant_salt | string | yes | Merchant key of the payment aggregator |
2885
- | secret | string | yes | Secret Key of the payment aggregator |
2886
2887
  | is_active | boolean | no | Enable/ Disable Flag |
2887
- | config_type | string | yes | Config Type of the 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
 
@@ -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
- | package_name | string | no | package_name |
2962
2960
  | logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
2961
+ | package_name | string | no | package_name |
2962
+ | display_name | string | no | display_name |
2963
2963
 
2964
2964
  ---
2965
2965
 
@@ -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
- | exp_year | number | no | exp_year |
2986
- | card_reference | string | no | card_reference |
2985
+ | merchant_code | string | no | merchant code |
2986
+ | card_token | string | no | card_token |
2987
+ | nickname | string | no | nickname |
2987
2988
  | intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
2988
- | cod_limit | number | no | cod limit |
2989
- | fynd_vpa | string | no | fynd_vpa |
2990
2989
  | timeout | number | no | timeout |
2991
- | aggregator_name | string | yes | aggregator_name |
2992
- | card_issuer | string | no | card_issuer |
2993
- | display_name | string | no | display name |
2994
- | name | string | no | name |
2995
- | card_fingerprint | string | no | card_fingerprint |
2996
- | code | string | no | code |
2997
- | card_brand | string | no | card_brand |
2990
+ | card_isin | string | no | card_isin |
2998
2991
  | intent_flow | boolean | no | intent_flow |
2999
- | display_priority | number | no | Dispaly Priority |
3000
- | intent_app_error_list | [string] | no | intent_app_error_list |
3001
- | retry_count | number | no | retry_count |
3002
- | nickname | string | no | nickname |
3003
2992
  | cod_limit_per_order | number | no | Cod limit per order |
2993
+ | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
2994
+ | cod_limit | number | no | cod limit |
2995
+ | expired | boolean | no | expired |
2996
+ | exp_year | number | no | exp_year |
2997
+ | retry_count | number | no | retry_count |
3004
2998
  | card_number | string | no | card_number |
3005
- | card_id | string | no | card_id |
3006
2999
  | 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
- | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
3011
- | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
3000
+ | card_brand | string | no | card_brand |
3001
+ | compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
3002
+ | code | string | no | code |
3003
+ | aggregator_name | string | yes | aggregator_name |
3004
+ | card_fingerprint | string | no | card_fingerprint |
3005
+ | card_reference | string | no | card_reference |
3006
+ | card_issuer | string | no | card_issuer |
3012
3007
  | exp_month | number | no | exp_month |
3008
+ | card_type | string | no | card_type |
3009
+ | intent_app_error_list | [string] | no | intent_app_error_list |
3013
3010
  | card_brand_image | string | no | card_brand_image |
3014
- | card_token | string | no | card_token |
3015
- | compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
3016
- | merchant_code | string | no | merchant code |
3017
- | expired | boolean | no | expired |
3011
+ | display_priority | number | no | Dispaly Priority |
3012
+ | remaining_limit | number | no | Remaining limit |
3013
+ | display_name | string | no | display name |
3014
+ | fynd_vpa | string | no | fynd_vpa |
3015
+ | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
3016
+ | name | string | no | name |
3017
+ | card_id | string | no | card_id |
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
- | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3028
+ | add_card_enabled | boolean | no | Annonymous card flag |
3029
3029
  | display_priority | number | yes | Dispaly Priority |
3030
+ | anonymous_enable | boolean | no | Annonymous card flag |
3030
3031
  | save_card | boolean | no | Card save or not |
3031
- | add_card_enabled | boolean | no | Annonymous card flag |
3032
- | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3033
- | aggregator_name | string | no | Dispaly Priority |
3034
3032
  | display_name | string | yes | Payment mode display name |
3033
+ | aggregator_name | string | no | Dispaly Priority |
3035
3034
  | name | string | yes | Payment mode name |
3036
- | anonymous_enable | boolean | no | Annonymous card flag |
3035
+ | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3036
+ | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3037
3037
 
3038
3038
  ---
3039
3039
 
@@ -3055,8 +3055,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3055
3055
 
3056
3056
  | Properties | Type | Nullable | Description |
3057
3057
  | ---------- | ---- | -------- | ----------- |
3058
- | success | boolean | yes | Response is successful or not |
3059
3058
  | payment_options | [PaymentOptions](#PaymentOptions) | yes | Payment options |
3059
+ | success | boolean | yes | Response is successful or not |
3060
3060
 
3061
3061
  ---
3062
3062
 
@@ -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 |
3070
+ | is_default | boolean | yes | default or not |
3071
3071
  | transfer_type | string | yes | transafer type |
3072
- | unique_transfer_no | string | yes | display priority of the payment mode |
3072
+ | customers | string | yes | customers details object |
3073
3073
  | more_attributes | string | yes | bank details object |
3074
- | payouts_aggregators | [string] | yes | payout aggregator object |
3075
- | is_default | boolean | yes | default or not |
3074
+ | unique_transfer_no | string | yes | display priority of the payment mode |
3076
3075
  | is_active | boolean | yes | Enable/DIsable Flag Payout |
3076
+ | payouts_aggregators | [string] | yes | payout aggregator object |
3077
3077
 
3078
3078
  ---
3079
3079
 
@@ -3084,15 +3084,15 @@ 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 | |
3087
+ | account_type | string | yes | |
3088
+ | city | string | no | |
3089
3089
  | country | string | no | |
3090
- | state | string | no | |
3091
3090
  | account_holder | string | no | |
3091
+ | state | string | no | |
3092
+ | account_no | string | no | |
3092
3093
  | pincode | number | no | |
3093
- | city | string | no | |
3094
3094
  | branch_name | string | no | |
3095
- | account_type | string | yes | |
3095
+ | ifsc_code | string | yes | |
3096
3096
  | bank_name | string | no | |
3097
3097
 
3098
3098
  ---
@@ -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
+ | unique_external_id | string | yes | Unique Id of Payout |
3108
+ | users | string | yes | payout users object |
3107
3109
  | transfer_type | string | yes | transafer type |
3108
3110
  | aggregator | string | yes | Aggregator Name |
3109
3111
  | bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
3110
- | 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,14 +3120,14 @@ 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
+ | payment_status | string | yes | status of payment |
3123
3124
  | payouts | string | yes | payout object |
3125
+ | users | string | yes | users details object |
3124
3126
  | transfer_type | string | yes | transfer type |
3127
+ | created | boolean | yes | created flag |
3125
3128
  | aggregator | string | yes | Aggregator Name |
3126
3129
  | unique_transfer_no | string | yes | unique transfer no |
3127
- | created | boolean | yes | created flag |
3128
- | payment_status | string | yes | status of payment |
3129
3130
  | bank_details | string | yes | payout bank_details object |
3130
- | users | string | yes | users details object |
3131
3131
  | is_active | boolean | yes | Enable/DIsable Flag Payout |
3132
3132
  | success | boolean | yes | Response is successful or not |
3133
3133
 
@@ -3153,9 +3153,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3153
3153
 
3154
3154
  | Properties | Type | Nullable | Description |
3155
3155
  | ---------- | ---- | -------- | ----------- |
3156
+ | unique_external_id | string | yes | Unique Id of Payout |
3156
3157
  | is_default | boolean | yes | Enable/Disable Default Payout |
3157
3158
  | is_active | boolean | yes | Enable/Disable Flag Payout |
3158
- | unique_external_id | string | yes | Unique Id of Payout |
3159
3159
 
3160
3160
  ---
3161
3161
 
@@ -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
 
@@ -3201,8 +3201,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3201
3201
  | Properties | Type | Nullable | Description |
3202
3202
  | ---------- | ---- | -------- | ----------- |
3203
3203
  | aggregator | string | yes | Aggregator Name |
3204
- | success | boolean | yes | Response is successful or not |
3205
3204
  | config | string | yes | Aggregator Config |
3205
+ | success | boolean | yes | Response is successful or not |
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
- | success | boolean | yes | Success or failure flag. |
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,10 +3263,10 @@ 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
3266
  | account_holder | string | yes | |
3267
+ | account_no | string | yes | |
3269
3268
  | branch_name | string | yes | |
3269
+ | ifsc_code | string | yes | |
3270
3270
  | bank_name | string | yes | |
3271
3271
 
3272
3272
  ---
@@ -3290,9 +3290,9 @@ 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
+ | bank_name | string | yes | Bank Name Of Account |
3293
3294
  | branch_name | string | yes | Branch Name Of Account |
3294
3295
  | success | boolean | no | Response is successful or not |
3295
- | bank_name | string | yes | Bank Name Of Account |
3296
3296
 
3297
3297
  ---
3298
3298
 
@@ -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
- | account_no | string | yes | Account Number |
3307
- | beneficiary_id | string | yes | Benenficiary Id |
3308
- | account_holder | string | yes | Account Holder Name |
3309
3306
  | title | string | yes | Title Of Account |
3310
- | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3311
- | display_name | string | yes | Display Name Of Account |
3312
- | modified_on | string | yes | MOdification Date of Beneficiary |
3307
+ | email | string | yes | EMail of User |
3308
+ | beneficiary_id | string | yes | Benenficiary Id |
3313
3309
  | id | number | yes | |
3314
3310
  | 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
3311
  | transfer_mode | string | yes | Transfer Mode Of Account |
3312
+ | mobile | string | no | MObile no of User |
3322
3313
  | comment | string | no | Remarks |
3314
+ | account_no | string | yes | Account Number |
3315
+ | ifsc_code | string | yes | Ifsc Code Of Account |
3316
+ | subtitle | string | yes | SHort Title Of Account |
3317
+ | account_holder | string | yes | Account Holder Name |
3323
3318
  | created_on | string | yes | Creation Date of Beneficiary |
3324
- | email | string | yes | EMail of User |
3319
+ | display_name | string | yes | Display Name Of Account |
3320
+ | address | string | yes | Address of User |
3321
+ | modified_on | string | yes | MOdification Date of Beneficiary |
3322
+ | branch_name | string | no | Branch Name Of Account |
3323
+ | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3324
+ | bank_name | string | yes | Bank Name 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
- | payment_gateway | string | no | |
3350
3348
  | order_id | string | no | |
3349
+ | payment_id | string | no | |
3351
3350
  | current_status | string | no | |
3351
+ | payment_gateway | string | no | |
3352
3352
 
3353
3353
  ---
3354
3354
 
@@ -3359,9 +3359,9 @@ 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
+ | name | string | no | Payment mode name |
3362
3363
  | meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
3363
3364
  | amount | number | yes | Payment amount |
3364
- | name | string | no | Payment mode name |
3365
3365
  | mode | string | yes | |
3366
3366
 
3367
3367
  ---
@@ -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
 
@@ -3385,8 +3385,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3385
3385
 
3386
3386
  | Properties | Type | Nullable | Description |
3387
3387
  | ---------- | ---- | -------- | ----------- |
3388
- | message | string | yes | Message |
3389
3388
  | order_id | string | yes | Unique order id |
3389
+ | message | string | yes | Message |
3390
3390
  | success | boolean | yes | Payment confirmation updated or not. |
3391
3391
 
3392
3392
  ---
@@ -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
3401
  | user_id | string | yes | Payment mode name |
3403
- | remaining_limit | number | yes | Remaining Limit for COD of User |
3404
3402
  | usages | number | yes | Used COD limit from the user Limit |
3403
+ | remaining_limit | number | yes | Remaining Limit for COD of User |
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
 
@@ -3426,8 +3426,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3426
3426
  | Properties | Type | Nullable | Description |
3427
3427
  | ---------- | ---- | -------- | ----------- |
3428
3428
  | mobileno | string | yes | Mobile No. of User |
3429
- | is_active | boolean | yes | either true or false |
3430
3429
  | merchant_user_id | string | yes | Merchant User id |
3430
+ | is_active | boolean | yes | either true or false |
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gofynd/fdk-client-javascript",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {