@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
- package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
- package/sdk/platform/User/UserPlatformModel.js +204 -65
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
export = PaymentPartnerModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef SubPaymentMode
|
|
4
|
+
* @property {string} [code]
|
|
5
|
+
* @property {string} [name]
|
|
6
|
+
* @property {string} [logo]
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef PaymentMethod
|
|
10
|
+
* @property {number} [id]
|
|
11
|
+
* @property {SubPaymentMode[]} [sub_payment_mode]
|
|
12
|
+
* @property {string} [name]
|
|
13
|
+
* @property {Logos} [logos]
|
|
14
|
+
* @property {string} [slug]
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef Logos
|
|
18
|
+
* @property {string} [small]
|
|
19
|
+
* @property {string} [large]
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef SessionPath
|
|
23
|
+
* @property {string} [type]
|
|
24
|
+
* @property {string} [uri_path]
|
|
25
|
+
* @property {string} [content_type]
|
|
26
|
+
* @property {string[]} [methods]
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef RequiredSessionPath
|
|
30
|
+
* @property {string} [version]
|
|
31
|
+
* @property {SessionPath[]} [paths]
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* @typedef CheckoutType
|
|
35
|
+
* @property {string} [name]
|
|
36
|
+
* @property {string} [slug]
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef Mode
|
|
40
|
+
* @property {string} [name]
|
|
41
|
+
* @property {string} [slug]
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* @typedef Country
|
|
45
|
+
* @property {string} [name]
|
|
46
|
+
* @property {string} [slug]
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* @typedef Currency
|
|
50
|
+
* @property {string} [name]
|
|
51
|
+
* @property {string} [slug]
|
|
52
|
+
*/
|
|
53
|
+
/**
|
|
54
|
+
* @typedef RefundTo
|
|
55
|
+
* @property {string} [source] - Refund credited to the original payment mode
|
|
56
|
+
* used by the user for the payment.
|
|
57
|
+
* @property {string} [others] - Refund credited to a different payment mode not
|
|
58
|
+
* originally used by the user for the payment.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef PaymentConfigResponse
|
|
62
|
+
* @property {boolean} [success]
|
|
63
|
+
* @property {RefundTo} [refund_to]
|
|
64
|
+
* @property {PaymentMethod[]} [payment_methods]
|
|
65
|
+
* @property {RequiredSessionPath[]} [required_session_paths]
|
|
66
|
+
* @property {CheckoutType[]} [checkout_type]
|
|
67
|
+
* @property {boolean[]} [auto_capture]
|
|
68
|
+
* @property {Mode[]} [mode]
|
|
69
|
+
* @property {Country[]} [country]
|
|
70
|
+
* @property {Currency[]} [currency]
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* @typedef PostPayoutResponse
|
|
74
|
+
* @property {boolean} [success]
|
|
75
|
+
* @property {Users} [users]
|
|
76
|
+
* @property {boolean} [is_active]
|
|
77
|
+
* @property {string} [unique_transfer_no]
|
|
78
|
+
* @property {string} [aggregator]
|
|
79
|
+
* @property {string} [transfer_type]
|
|
80
|
+
* @property {BankDetails} [bank_details]
|
|
81
|
+
* @property {boolean} [created]
|
|
82
|
+
* @property {Payouts} [payouts]
|
|
83
|
+
* @property {string} [payment_status]
|
|
84
|
+
* @property {boolean} [updated]
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* @typedef PostPayoutRequest
|
|
88
|
+
* @property {string} [unique_external_id]
|
|
89
|
+
* @property {Users} [users]
|
|
90
|
+
* @property {boolean} [is_active]
|
|
91
|
+
* @property {string} [unique_transfer_no]
|
|
92
|
+
* @property {string} [aggregator]
|
|
93
|
+
* @property {string} [transfer_type]
|
|
94
|
+
* @property {BankDetails} [bank_details]
|
|
95
|
+
* @property {boolean} [created]
|
|
96
|
+
* @property {Payouts} [payouts]
|
|
97
|
+
* @property {string} [payment_status]
|
|
98
|
+
* @property {boolean} [updated]
|
|
99
|
+
*/
|
|
100
|
+
/**
|
|
101
|
+
* @typedef Users
|
|
102
|
+
* @property {string} [name]
|
|
103
|
+
* @property {string} [email]
|
|
104
|
+
* @property {string} [unique_external_id]
|
|
105
|
+
* @property {string} [mobile]
|
|
106
|
+
*/
|
|
107
|
+
/**
|
|
108
|
+
* @typedef BankDetails
|
|
109
|
+
* @property {string} [account_no]
|
|
110
|
+
* @property {string} [city]
|
|
111
|
+
* @property {string} [bank_name]
|
|
112
|
+
* @property {string} [account_type]
|
|
113
|
+
* @property {string} [state]
|
|
114
|
+
* @property {string} [account_holder]
|
|
115
|
+
* @property {string} [country]
|
|
116
|
+
* @property {string} [ifsc_code]
|
|
117
|
+
* @property {string} [branch_name]
|
|
118
|
+
*/
|
|
119
|
+
/**
|
|
120
|
+
* @typedef Payouts
|
|
121
|
+
* @property {string} [aggregator_fund_id]
|
|
122
|
+
*/
|
|
123
|
+
/**
|
|
124
|
+
* @typedef ErrorCodeAndDescription
|
|
125
|
+
* @property {string} [code] - Error descrption code.
|
|
126
|
+
* @property {string} description - Error human understandable description.
|
|
127
|
+
*/
|
|
128
|
+
/**
|
|
129
|
+
* @typedef HttpErrorCodeAndResponse
|
|
130
|
+
* @property {ErrorCodeAndDescription} [error]
|
|
131
|
+
* @property {boolean} success - Response is successful or not
|
|
132
|
+
*/
|
|
133
|
+
/**
|
|
134
|
+
* @typedef PayoutResponse
|
|
135
|
+
* @property {PayoutItem[]} [items]
|
|
136
|
+
* @property {boolean} [success]
|
|
137
|
+
*/
|
|
138
|
+
/**
|
|
139
|
+
* @typedef MoreAttributes
|
|
140
|
+
* @property {string} [city]
|
|
141
|
+
* @property {string} [state]
|
|
142
|
+
* @property {string} [country]
|
|
143
|
+
* @property {string} [bank_name]
|
|
144
|
+
* @property {string} [ifsc_code]
|
|
145
|
+
* @property {string} [account_no]
|
|
146
|
+
* @property {string} [branch_name]
|
|
147
|
+
* @property {string} [account_type]
|
|
148
|
+
* @property {string} [account_holder]
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* @typedef Customers
|
|
152
|
+
* @property {number} [id]
|
|
153
|
+
* @property {string} [name]
|
|
154
|
+
* @property {string} [mobile]
|
|
155
|
+
* @property {string} [email]
|
|
156
|
+
* @property {string} [unique_external_id]
|
|
157
|
+
*/
|
|
158
|
+
/**
|
|
159
|
+
* @typedef PayoutsAggregator
|
|
160
|
+
* @property {number} [payout_details_id]
|
|
161
|
+
* @property {number} [aggregator_id]
|
|
162
|
+
* @property {string} [aggregator_fund_id]
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* @typedef PayoutItem
|
|
166
|
+
* @property {string} [unique_transfer_no]
|
|
167
|
+
* @property {MoreAttributes} [more_attributes]
|
|
168
|
+
* @property {string} [transfer_type]
|
|
169
|
+
* @property {boolean} [is_default]
|
|
170
|
+
* @property {boolean} [is_active]
|
|
171
|
+
* @property {Customers} [customers]
|
|
172
|
+
* @property {PayoutsAggregator[]} [payouts_aggregators]
|
|
173
|
+
*/
|
|
174
|
+
declare class PaymentPartnerModel {
|
|
175
|
+
}
|
|
176
|
+
declare namespace PaymentPartnerModel {
|
|
177
|
+
export { SubPaymentMode, PaymentMethod, Logos, SessionPath, RequiredSessionPath, CheckoutType, Mode, Country, Currency, RefundTo, PaymentConfigResponse, PostPayoutResponse, PostPayoutRequest, Users, BankDetails, Payouts, ErrorCodeAndDescription, HttpErrorCodeAndResponse, PayoutResponse, MoreAttributes, Customers, PayoutsAggregator, PayoutItem };
|
|
178
|
+
}
|
|
179
|
+
/** @returns {SubPaymentMode} */
|
|
180
|
+
declare function SubPaymentMode(): SubPaymentMode;
|
|
181
|
+
type SubPaymentMode = {
|
|
182
|
+
code?: string;
|
|
183
|
+
name?: string;
|
|
184
|
+
logo?: string;
|
|
185
|
+
};
|
|
186
|
+
/** @returns {PaymentMethod} */
|
|
187
|
+
declare function PaymentMethod(): PaymentMethod;
|
|
188
|
+
type PaymentMethod = {
|
|
189
|
+
id?: number;
|
|
190
|
+
sub_payment_mode?: SubPaymentMode[];
|
|
191
|
+
name?: string;
|
|
192
|
+
logos?: Logos;
|
|
193
|
+
slug?: string;
|
|
194
|
+
};
|
|
195
|
+
/** @returns {Logos} */
|
|
196
|
+
declare function Logos(): Logos;
|
|
197
|
+
type Logos = {
|
|
198
|
+
small?: string;
|
|
199
|
+
large?: string;
|
|
200
|
+
};
|
|
201
|
+
/** @returns {SessionPath} */
|
|
202
|
+
declare function SessionPath(): SessionPath;
|
|
203
|
+
type SessionPath = {
|
|
204
|
+
type?: string;
|
|
205
|
+
uri_path?: string;
|
|
206
|
+
content_type?: string;
|
|
207
|
+
methods?: string[];
|
|
208
|
+
};
|
|
209
|
+
/** @returns {RequiredSessionPath} */
|
|
210
|
+
declare function RequiredSessionPath(): RequiredSessionPath;
|
|
211
|
+
type RequiredSessionPath = {
|
|
212
|
+
version?: string;
|
|
213
|
+
paths?: SessionPath[];
|
|
214
|
+
};
|
|
215
|
+
/** @returns {CheckoutType} */
|
|
216
|
+
declare function CheckoutType(): CheckoutType;
|
|
217
|
+
type CheckoutType = {
|
|
218
|
+
name?: string;
|
|
219
|
+
slug?: string;
|
|
220
|
+
};
|
|
221
|
+
/** @returns {Mode} */
|
|
222
|
+
declare function Mode(): Mode;
|
|
223
|
+
type Mode = {
|
|
224
|
+
name?: string;
|
|
225
|
+
slug?: string;
|
|
226
|
+
};
|
|
227
|
+
/** @returns {Country} */
|
|
228
|
+
declare function Country(): Country;
|
|
229
|
+
type Country = {
|
|
230
|
+
name?: string;
|
|
231
|
+
slug?: string;
|
|
232
|
+
};
|
|
233
|
+
/** @returns {Currency} */
|
|
234
|
+
declare function Currency(): Currency;
|
|
235
|
+
type Currency = {
|
|
236
|
+
name?: string;
|
|
237
|
+
slug?: string;
|
|
238
|
+
};
|
|
239
|
+
/** @returns {RefundTo} */
|
|
240
|
+
declare function RefundTo(): RefundTo;
|
|
241
|
+
type RefundTo = {
|
|
242
|
+
/**
|
|
243
|
+
* - Refund credited to the original payment mode
|
|
244
|
+
* used by the user for the payment.
|
|
245
|
+
*/
|
|
246
|
+
source?: string;
|
|
247
|
+
/**
|
|
248
|
+
* - Refund credited to a different payment mode not
|
|
249
|
+
* originally used by the user for the payment.
|
|
250
|
+
*/
|
|
251
|
+
others?: string;
|
|
252
|
+
};
|
|
253
|
+
/** @returns {PaymentConfigResponse} */
|
|
254
|
+
declare function PaymentConfigResponse(): PaymentConfigResponse;
|
|
255
|
+
type PaymentConfigResponse = {
|
|
256
|
+
success?: boolean;
|
|
257
|
+
refund_to?: RefundTo;
|
|
258
|
+
payment_methods?: PaymentMethod[];
|
|
259
|
+
required_session_paths?: RequiredSessionPath[];
|
|
260
|
+
checkout_type?: CheckoutType[];
|
|
261
|
+
auto_capture?: boolean[];
|
|
262
|
+
mode?: Mode[];
|
|
263
|
+
country?: Country[];
|
|
264
|
+
currency?: Currency[];
|
|
265
|
+
};
|
|
266
|
+
/** @returns {PostPayoutResponse} */
|
|
267
|
+
declare function PostPayoutResponse(): PostPayoutResponse;
|
|
268
|
+
type PostPayoutResponse = {
|
|
269
|
+
success?: boolean;
|
|
270
|
+
users?: Users;
|
|
271
|
+
is_active?: boolean;
|
|
272
|
+
unique_transfer_no?: string;
|
|
273
|
+
aggregator?: string;
|
|
274
|
+
transfer_type?: string;
|
|
275
|
+
bank_details?: BankDetails;
|
|
276
|
+
created?: boolean;
|
|
277
|
+
payouts?: Payouts;
|
|
278
|
+
payment_status?: string;
|
|
279
|
+
updated?: boolean;
|
|
280
|
+
};
|
|
281
|
+
/** @returns {PostPayoutRequest} */
|
|
282
|
+
declare function PostPayoutRequest(): PostPayoutRequest;
|
|
283
|
+
type PostPayoutRequest = {
|
|
284
|
+
unique_external_id?: string;
|
|
285
|
+
users?: Users;
|
|
286
|
+
is_active?: boolean;
|
|
287
|
+
unique_transfer_no?: string;
|
|
288
|
+
aggregator?: string;
|
|
289
|
+
transfer_type?: string;
|
|
290
|
+
bank_details?: BankDetails;
|
|
291
|
+
created?: boolean;
|
|
292
|
+
payouts?: Payouts;
|
|
293
|
+
payment_status?: string;
|
|
294
|
+
updated?: boolean;
|
|
295
|
+
};
|
|
296
|
+
/** @returns {Users} */
|
|
297
|
+
declare function Users(): Users;
|
|
298
|
+
type Users = {
|
|
299
|
+
name?: string;
|
|
300
|
+
email?: string;
|
|
301
|
+
unique_external_id?: string;
|
|
302
|
+
mobile?: string;
|
|
303
|
+
};
|
|
304
|
+
/** @returns {BankDetails} */
|
|
305
|
+
declare function BankDetails(): BankDetails;
|
|
306
|
+
type BankDetails = {
|
|
307
|
+
account_no?: string;
|
|
308
|
+
city?: string;
|
|
309
|
+
bank_name?: string;
|
|
310
|
+
account_type?: string;
|
|
311
|
+
state?: string;
|
|
312
|
+
account_holder?: string;
|
|
313
|
+
country?: string;
|
|
314
|
+
ifsc_code?: string;
|
|
315
|
+
branch_name?: string;
|
|
316
|
+
};
|
|
317
|
+
/** @returns {Payouts} */
|
|
318
|
+
declare function Payouts(): Payouts;
|
|
319
|
+
type Payouts = {
|
|
320
|
+
aggregator_fund_id?: string;
|
|
321
|
+
};
|
|
322
|
+
/** @returns {ErrorCodeAndDescription} */
|
|
323
|
+
declare function ErrorCodeAndDescription(): ErrorCodeAndDescription;
|
|
324
|
+
type ErrorCodeAndDescription = {
|
|
325
|
+
/**
|
|
326
|
+
* - Error descrption code.
|
|
327
|
+
*/
|
|
328
|
+
code?: string;
|
|
329
|
+
/**
|
|
330
|
+
* - Error human understandable description.
|
|
331
|
+
*/
|
|
332
|
+
description: string;
|
|
333
|
+
};
|
|
334
|
+
/** @returns {HttpErrorCodeAndResponse} */
|
|
335
|
+
declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
|
|
336
|
+
type HttpErrorCodeAndResponse = {
|
|
337
|
+
error?: ErrorCodeAndDescription;
|
|
338
|
+
/**
|
|
339
|
+
* - Response is successful or not
|
|
340
|
+
*/
|
|
341
|
+
success: boolean;
|
|
342
|
+
};
|
|
343
|
+
/** @returns {PayoutResponse} */
|
|
344
|
+
declare function PayoutResponse(): PayoutResponse;
|
|
345
|
+
type PayoutResponse = {
|
|
346
|
+
items?: PayoutItem[];
|
|
347
|
+
success?: boolean;
|
|
348
|
+
};
|
|
349
|
+
/** @returns {MoreAttributes} */
|
|
350
|
+
declare function MoreAttributes(): MoreAttributes;
|
|
351
|
+
type MoreAttributes = {
|
|
352
|
+
city?: string;
|
|
353
|
+
state?: string;
|
|
354
|
+
country?: string;
|
|
355
|
+
bank_name?: string;
|
|
356
|
+
ifsc_code?: string;
|
|
357
|
+
account_no?: string;
|
|
358
|
+
branch_name?: string;
|
|
359
|
+
account_type?: string;
|
|
360
|
+
account_holder?: string;
|
|
361
|
+
};
|
|
362
|
+
/** @returns {Customers} */
|
|
363
|
+
declare function Customers(): Customers;
|
|
364
|
+
type Customers = {
|
|
365
|
+
id?: number;
|
|
366
|
+
name?: string;
|
|
367
|
+
mobile?: string;
|
|
368
|
+
email?: string;
|
|
369
|
+
unique_external_id?: string;
|
|
370
|
+
};
|
|
371
|
+
/** @returns {PayoutsAggregator} */
|
|
372
|
+
declare function PayoutsAggregator(): PayoutsAggregator;
|
|
373
|
+
type PayoutsAggregator = {
|
|
374
|
+
payout_details_id?: number;
|
|
375
|
+
aggregator_id?: number;
|
|
376
|
+
aggregator_fund_id?: string;
|
|
377
|
+
};
|
|
378
|
+
/** @returns {PayoutItem} */
|
|
379
|
+
declare function PayoutItem(): PayoutItem;
|
|
380
|
+
type PayoutItem = {
|
|
381
|
+
unique_transfer_no?: string;
|
|
382
|
+
more_attributes?: MoreAttributes;
|
|
383
|
+
transfer_type?: string;
|
|
384
|
+
is_default?: boolean;
|
|
385
|
+
is_active?: boolean;
|
|
386
|
+
customers?: Customers;
|
|
387
|
+
payouts_aggregators?: PayoutsAggregator[];
|
|
388
|
+
};
|