@gofynd/fdk-client-javascript 1.1.6 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -3
- package/index.js +0 -3
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +12 -3
- package/sdk/application/ApplicationClient.d.ts +36 -6
- package/sdk/application/ApplicationClient.js +30 -43
- package/sdk/application/ApplicationConfig.d.ts +92 -12
- package/sdk/application/ApplicationConfig.js +48 -14
- package/sdk/application/Cart/CartApplicationClient.d.ts +200 -357
- package/sdk/application/Cart/CartApplicationClient.js +711 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +274 -422
- package/sdk/application/Catalog/CatalogApplicationClient.js +865 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2320 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1566 -172
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +16 -21
- package/sdk/application/Common/CommonApplicationClient.js +52 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +368 -19
- package/sdk/application/Common/CommonApplicationModel.js +192 -40
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +31 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +86 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +157 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +104 -23
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +149 -118
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +457 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2235 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1113 -193
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +149 -139
- package/sdk/application/Content/ContentApplicationClient.js +489 -278
- package/sdk/application/Content/ContentApplicationModel.d.ts +1010 -105
- package/sdk/application/Content/ContentApplicationModel.js +737 -396
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +23 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +74 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +148 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +100 -87
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +57 -53
- package/sdk/application/Lead/LeadApplicationClient.js +188 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +686 -54
- package/sdk/application/Lead/LeadApplicationModel.js +330 -244
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +40 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +131 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +93 -133
- package/sdk/application/Order/OrderApplicationClient.js +329 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +400 -366
- package/sdk/application/Payment/PaymentApplicationClient.js +1176 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +205 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +720 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +58 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +187 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +52 -50
- package/sdk/application/Share/ShareApplicationClient.js +185 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +198 -15
- package/sdk/application/Share/ShareApplicationModel.js +131 -31
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +30 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +102 -56
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +1291 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +895 -134
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +260 -305
- package/sdk/application/User/UserApplicationClient.js +910 -522
- package/sdk/application/User/UserApplicationModel.d.ts +992 -101
- package/sdk/application/User/UserApplicationModel.js +699 -248
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +7 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +16 -1
- package/sdk/partner/PartnerAPIClient.js +12 -2
- package/sdk/partner/PartnerClient.d.ts +22 -3
- package/sdk/partner/PartnerClient.js +20 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +30 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +104 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +190 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +132 -15
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +52 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +30 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +133 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +561 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1071 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +762 -151
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +175 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +118 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +454 -635
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1646 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3839 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2423 -217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +528 -638
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1600 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +652 -826
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1979 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6869 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -351
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1361 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +624 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +16 -21
- package/sdk/platform/Common/CommonPlatformClient.js +50 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +423 -19
- package/sdk/platform/Common/CommonPlatformModel.js +214 -40
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +37 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +20 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +731 -303
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3095 -785
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +699 -41
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +463 -27
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +19 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +59 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1708 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1360 -235
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +127 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +435 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +882 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +666 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +184 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +105 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +327 -240
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +922 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +297 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +191 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +184 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +555 -311
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4337 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2178 -248
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +605 -578
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1996 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1472 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1085 -204
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +85 -82
- package/sdk/platform/Discount/DiscountPlatformClient.js +333 -175
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +281 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +189 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +109 -52
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +570 -105
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +141 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +118 -7
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +43 -63
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +153 -135
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +426 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +379 -40
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +106 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +60 -8
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +260 -129
- package/sdk/platform/Finance/FinancePlatformClient.js +1182 -194
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1267 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +1252 -38
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +233 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +229 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +111 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +330 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +100 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +372 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +89 -104
- package/sdk/platform/Lead/LeadPlatformClient.js +305 -180
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1045 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +504 -142
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +92 -15
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +20 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +58 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +437 -556
- package/sdk/platform/Order/OrderPlatformClient.js +1500 -760
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5225 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3473 -260
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +859 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +435 -23
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +16 -42
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +37 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +19 -17
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +78 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +43 -369
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +418 -288
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1509 -505
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +438 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +312 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +83 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +259 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3200 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1334 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +31 -12581
- package/sdk/platform/PlatformClient.js +30 -15089
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +96 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +344 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +360 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +238 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +159 -92
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +473 -208
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +138 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +100 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +166 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +518 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1408 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1034 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +41 -66
- package/sdk/platform/Share/SharePlatformApplicationClient.js +149 -116
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +167 -19
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +229 -193
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +976 -352
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +345 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +206 -14
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1527 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +1099 -118
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +138 -152
- package/sdk/platform/User/UserPlatformApplicationClient.js +470 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +242 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +129 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +653 -101
- package/sdk/platform/User/UserPlatformModel.js +467 -424
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +153 -49
- package/sdk/platform/Webhook/WebhookPlatformClient.js +896 -88
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +632 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +502 -54
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +170 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +157 -7
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +16 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +48 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +370 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +191 -40
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +54 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +161 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +21 -3
- package/sdk/public/PublicClient.js +20 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +16 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +48 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +52 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +33 -113
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -3
- package/sdk/application/ApplicationModels.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -145
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -799
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -14
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -87
|
@@ -4,55 +4,63 @@ declare class Configuration {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @
|
|
7
|
+
* @param {ConfigurationPlatformApplicationValidator.AddDomainParam} arg - Arg object
|
|
8
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
+
* @returns {Promise<ConfigurationPlatformModel.Domain>} - Success response
|
|
11
|
+
* @name addDomain
|
|
10
12
|
* @summary: Add new domain to current sales channel
|
|
11
|
-
* @description: Add a new domain to current sales channel, including pre-defined domain (free domain) or custom domain (owned by the brand)
|
|
13
|
+
* @description: Add a new domain to current sales channel, including pre-defined domain (free domain) or custom domain (owned by the brand) - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/addDomain/).
|
|
12
14
|
*/
|
|
13
|
-
addDomain({ body }?: {
|
|
14
|
-
body: DomainAddRequest;
|
|
15
|
-
}): Promise<Domain>;
|
|
15
|
+
addDomain({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.AddDomainParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.Domain>;
|
|
16
16
|
/**
|
|
17
|
-
* @param {
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* @param {ConfigurationPlatformApplicationValidator.ChangeDomainTypeParam} arg
|
|
18
|
+
* - Arg object
|
|
19
|
+
*
|
|
20
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainsResponse>} - Success response
|
|
23
|
+
* @name changeDomainType
|
|
20
24
|
* @summary: Change the type of domain in the current sales channel
|
|
21
|
-
* @description: Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. Use this API to change a domain to either Primary or a Shortlink domain.
|
|
25
|
+
* @description: Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. Use this API to change a domain to either Primary or a Shortlink domain. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/changeDomainType/).
|
|
22
26
|
*/
|
|
23
|
-
changeDomainType({ body }?: {
|
|
24
|
-
body: UpdateDomainTypeRequest;
|
|
25
|
-
}): Promise<DomainsResponse>;
|
|
27
|
+
changeDomainType({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.ChangeDomainTypeParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DomainsResponse>;
|
|
26
28
|
/**
|
|
27
|
-
* @param {
|
|
28
|
-
*
|
|
29
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppApiTokensParam} arg
|
|
30
|
+
* - Arg object
|
|
31
|
+
*
|
|
32
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
34
|
+
* @returns {Promise<ConfigurationPlatformModel.TokenResponse>} - Success response
|
|
35
|
+
* @name getAppApiTokens
|
|
29
36
|
* @summary: Get social tokens for the sales channel
|
|
30
|
-
* @description: Use this API to retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. **Note** - Token values are encrypted with AES encryption using a secret key.
|
|
37
|
+
* @description: Use this API to retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. **Note** - Token values are encrypted with AES encryption using a secret key. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppApiTokens/).
|
|
31
38
|
*/
|
|
32
|
-
getAppApiTokens({}?: any): Promise<TokenResponse>;
|
|
39
|
+
getAppApiTokens({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.TokenResponse>;
|
|
33
40
|
/**
|
|
34
|
-
* @param {
|
|
35
|
-
*
|
|
41
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppBasicDetailsParam} arg
|
|
42
|
+
* - Arg object
|
|
43
|
+
*
|
|
44
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
45
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
46
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationDetail>} - Success response
|
|
47
|
+
* @name getAppBasicDetails
|
|
36
48
|
* @summary: Get sales channel details
|
|
37
|
-
* @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information.
|
|
49
|
+
* @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppBasicDetails/).
|
|
38
50
|
*/
|
|
39
|
-
getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
51
|
+
getAppBasicDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationDetail>;
|
|
40
52
|
/**
|
|
41
|
-
* @param {
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* @param {
|
|
46
|
-
*
|
|
47
|
-
* @
|
|
53
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppCompaniesParam} arg
|
|
54
|
+
* - Arg object
|
|
55
|
+
*
|
|
56
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
|
+
* @returns {Promise<ConfigurationPlatformModel.CompaniesResponse>} - Success response
|
|
59
|
+
* @name getAppCompanies
|
|
48
60
|
* @summary: Get companies enabled in the sales channel inventory
|
|
49
|
-
* @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
|
|
61
|
+
* @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppCompanies/).
|
|
50
62
|
*/
|
|
51
|
-
getAppCompanies({ uid, pageNo, pageSize }?: {
|
|
52
|
-
uid?: number;
|
|
53
|
-
pageNo?: number;
|
|
54
|
-
pageSize?: number;
|
|
55
|
-
}): Promise<CompaniesResponse>;
|
|
63
|
+
getAppCompanies({ uid, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetAppCompaniesParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CompaniesResponse>;
|
|
56
64
|
/**
|
|
57
65
|
* @param {Object} arg - Arg object.
|
|
58
66
|
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
@@ -62,6 +70,7 @@ declare class Configuration {
|
|
|
62
70
|
* @param {number} [arg.uid] - UID of companies to be fetched
|
|
63
71
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
64
72
|
* page. Default value is 10.
|
|
73
|
+
* @returns {Paginator<ConfigurationPlatformModel.CompaniesResponse>}
|
|
65
74
|
* @summary: Get companies enabled in the sales channel inventory
|
|
66
75
|
* @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
|
|
67
76
|
*/
|
|
@@ -70,42 +79,58 @@ declare class Configuration {
|
|
|
70
79
|
applicationId: string;
|
|
71
80
|
uid?: number;
|
|
72
81
|
pageSize?: number;
|
|
73
|
-
}): Paginator
|
|
74
|
-
/**
|
|
75
|
-
* @param {
|
|
76
|
-
*
|
|
82
|
+
}): Paginator<ConfigurationPlatformModel.CompaniesResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppContactInfoParam} arg
|
|
85
|
+
* - Arg object
|
|
86
|
+
*
|
|
87
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
88
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
89
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationInformation>} -
|
|
90
|
+
* Success response
|
|
91
|
+
* @name getAppContactInfo
|
|
77
92
|
* @summary: Get current information of the sales channel
|
|
78
|
-
* @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
|
|
79
|
-
*/
|
|
80
|
-
getAppContactInfo({}?: any): Promise<ApplicationInformation>;
|
|
81
|
-
/**
|
|
82
|
-
* @param {
|
|
83
|
-
*
|
|
93
|
+
* @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppContactInfo/).
|
|
94
|
+
*/
|
|
95
|
+
getAppContactInfo({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationInformation>;
|
|
96
|
+
/**
|
|
97
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppCurrencyConfigParam} arg
|
|
98
|
+
* - Arg object
|
|
99
|
+
*
|
|
100
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
101
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
102
|
+
* @returns {Promise<ConfigurationPlatformModel.AppSupportedCurrency>} -
|
|
103
|
+
* Success response
|
|
104
|
+
* @name getAppCurrencyConfig
|
|
84
105
|
* @summary: Get currencies supported in the application
|
|
85
|
-
* @description: Get a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the application.
|
|
86
|
-
*/
|
|
87
|
-
getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
|
|
88
|
-
/**
|
|
89
|
-
* @param {
|
|
90
|
-
*
|
|
106
|
+
* @description: Get a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppCurrencyConfig/).
|
|
107
|
+
*/
|
|
108
|
+
getAppCurrencyConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppSupportedCurrency>;
|
|
109
|
+
/**
|
|
110
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppFeaturesParam} arg
|
|
111
|
+
* - Arg object
|
|
112
|
+
*
|
|
113
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
115
|
+
* @returns {Promise<ConfigurationPlatformModel.AppFeatureResponse>} -
|
|
116
|
+
* Success response
|
|
117
|
+
* @name getAppFeatures
|
|
91
118
|
* @summary: Get the sales channel configuration and features
|
|
92
|
-
* @description: Shows feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more.
|
|
119
|
+
* @description: Shows feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppFeatures/).
|
|
93
120
|
*/
|
|
94
|
-
getAppFeatures({}?: any): Promise<AppFeatureResponse>;
|
|
121
|
+
getAppFeatures({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppFeatureResponse>;
|
|
95
122
|
/**
|
|
96
|
-
* @param {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @param {
|
|
100
|
-
*
|
|
101
|
-
* @returns {Promise<StoresResponse>} - Success response
|
|
123
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppStoresParam} arg
|
|
124
|
+
* - Arg object
|
|
125
|
+
*
|
|
126
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
127
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
128
|
+
* @returns {Promise<ConfigurationPlatformModel.StoresResponse>} - Success response
|
|
129
|
+
* @name getAppStores
|
|
102
130
|
* @summary: Get stores enabled in the sales channel inventory
|
|
103
|
-
* @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application
|
|
131
|
+
* @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppStores/).
|
|
104
132
|
*/
|
|
105
|
-
getAppStores({ pageNo, pageSize }?: {
|
|
106
|
-
pageNo?: number;
|
|
107
|
-
pageSize?: number;
|
|
108
|
-
}): Promise<StoresResponse>;
|
|
133
|
+
getAppStores({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetAppStoresParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.StoresResponse>;
|
|
109
134
|
/**
|
|
110
135
|
* @param {Object} arg - Arg object.
|
|
111
136
|
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
@@ -114,6 +139,7 @@ declare class Configuration {
|
|
|
114
139
|
* application (sales channel website) created within a business account
|
|
115
140
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
116
141
|
* page. Default value is 10.
|
|
142
|
+
* @returns {Paginator<ConfigurationPlatformModel.StoresResponse>}
|
|
117
143
|
* @summary: Get stores enabled in the sales channel inventory
|
|
118
144
|
* @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application
|
|
119
145
|
*/
|
|
@@ -121,72 +147,106 @@ declare class Configuration {
|
|
|
121
147
|
companyId: string;
|
|
122
148
|
applicationId: string;
|
|
123
149
|
pageSize?: number;
|
|
124
|
-
}): Paginator
|
|
125
|
-
/**
|
|
126
|
-
* @param {
|
|
127
|
-
*
|
|
150
|
+
}): Paginator<ConfigurationPlatformModel.StoresResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* @param {ConfigurationPlatformApplicationValidator.GetAppSupportedCurrencyParam} arg
|
|
153
|
+
* - Arg object
|
|
154
|
+
*
|
|
155
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
156
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
157
|
+
* @returns {Promise<ConfigurationPlatformModel.AppCurrencyResponse>} -
|
|
158
|
+
* Success response
|
|
159
|
+
* @name getAppSupportedCurrency
|
|
128
160
|
* @summary: Get currencies enabled in the application
|
|
129
|
-
* @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
|
|
161
|
+
* @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppSupportedCurrency/).
|
|
130
162
|
*/
|
|
131
|
-
getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
|
|
163
|
+
getAppSupportedCurrency({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppCurrencyResponse>;
|
|
132
164
|
/**
|
|
133
|
-
* @param {
|
|
134
|
-
*
|
|
165
|
+
* @param {ConfigurationPlatformApplicationValidator.GetApplicationByIdParam} arg
|
|
166
|
+
* - Arg object
|
|
167
|
+
*
|
|
168
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
169
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
170
|
+
* @returns {Promise<ConfigurationPlatformModel.Application>} - Success response
|
|
171
|
+
* @name getApplicationById
|
|
135
172
|
* @summary: Get sales channel data by ID
|
|
136
|
-
* @description: Use application ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc.
|
|
137
|
-
*/
|
|
138
|
-
getApplicationById({}?: any): Promise<Application>;
|
|
139
|
-
/**
|
|
140
|
-
* @param {
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* @
|
|
173
|
+
* @description: Use application ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getApplicationById/).
|
|
174
|
+
*/
|
|
175
|
+
getApplicationById({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.Application>;
|
|
176
|
+
/**
|
|
177
|
+
* @param {ConfigurationPlatformApplicationValidator.GetBuildConfigParam} arg
|
|
178
|
+
* - Arg object
|
|
179
|
+
*
|
|
180
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
181
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
182
|
+
* @returns {Promise<ConfigurationPlatformModel.MobileAppConfiguration>} -
|
|
183
|
+
* Success response
|
|
184
|
+
* @name getBuildConfig
|
|
144
185
|
* @summary: Get configuration of latest mobile build
|
|
145
|
-
* @description: Fetch latest build configuration, such as app name, landing page image, splash image used in a mobile build.
|
|
146
|
-
*/
|
|
147
|
-
getBuildConfig({ platformType }?: {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
*
|
|
152
|
-
* @param {
|
|
153
|
-
* @
|
|
186
|
+
* @description: Fetch latest build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getBuildConfig/).
|
|
187
|
+
*/
|
|
188
|
+
getBuildConfig({ platformType, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetBuildConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.MobileAppConfiguration>;
|
|
189
|
+
/**
|
|
190
|
+
* @param {ConfigurationPlatformApplicationValidator.GetDomainStatusParam} arg
|
|
191
|
+
* - Arg object
|
|
192
|
+
*
|
|
193
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
194
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
195
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainStatusResponse>} -
|
|
196
|
+
* Success response
|
|
197
|
+
* @name getDomainStatus
|
|
154
198
|
* @summary: Get the status of connected domain
|
|
155
|
-
* @description: Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers.
|
|
199
|
+
* @description: Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getDomainStatus/).
|
|
156
200
|
*/
|
|
157
|
-
getDomainStatus({ body }?: {
|
|
158
|
-
body: DomainStatusRequest;
|
|
159
|
-
}): Promise<DomainStatusResponse>;
|
|
201
|
+
getDomainStatus({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetDomainStatusParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DomainStatusResponse>;
|
|
160
202
|
/**
|
|
161
|
-
* @param {
|
|
162
|
-
* @
|
|
203
|
+
* @param {ConfigurationPlatformApplicationValidator.GetDomainsParam} arg - Arg object
|
|
204
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
206
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainsResponse>} - Success response
|
|
207
|
+
* @name getDomains
|
|
163
208
|
* @summary: Fetch all the domains added to an application (sales channel website), including pre-defined domain (free domain) or custom domain (owned by the brand). Know the verification status of each domain name, and find out which one is the primary domain, short link domain, or both.
|
|
164
|
-
* @description: Get list of domains
|
|
165
|
-
*/
|
|
166
|
-
getDomains({}?: any): Promise<DomainsResponse>;
|
|
167
|
-
/**
|
|
168
|
-
* @param {
|
|
169
|
-
*
|
|
209
|
+
* @description: Get list of domains - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getDomains/).
|
|
210
|
+
*/
|
|
211
|
+
getDomains({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DomainsResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* @param {ConfigurationPlatformApplicationValidator.GetInventoryConfigParam} arg
|
|
214
|
+
* - Arg object
|
|
215
|
+
*
|
|
216
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
217
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
218
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationInventory>} -
|
|
219
|
+
* Success response
|
|
220
|
+
* @name getInventoryConfig
|
|
170
221
|
* @summary: Get sales channel configuration
|
|
171
|
-
* @description: Use this API to fetch configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
172
|
-
*/
|
|
173
|
-
getInventoryConfig({}?: any): Promise<ApplicationInventory>;
|
|
174
|
-
/**
|
|
175
|
-
* @param {
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* @param {
|
|
179
|
-
*
|
|
180
|
-
* @
|
|
181
|
-
*
|
|
222
|
+
* @description: Use this API to fetch configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getInventoryConfig/).
|
|
223
|
+
*/
|
|
224
|
+
getInventoryConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationInventory>;
|
|
225
|
+
/**
|
|
226
|
+
* @param {ConfigurationPlatformApplicationValidator.GetOrderingStoreConfigParam} arg
|
|
227
|
+
* - Arg object
|
|
228
|
+
*
|
|
229
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
230
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
231
|
+
* @returns {Promise<ConfigurationPlatformModel.OrderingStoreConfig>} -
|
|
232
|
+
* Success response
|
|
233
|
+
* @name getOrderingStoreConfig
|
|
234
|
+
* @summary: Get ordering store config
|
|
235
|
+
* @description: Fetch the details of the deployment stores (the selling locations where the application will be utilised for placing orders). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOrderingStoreConfig/).
|
|
236
|
+
*/
|
|
237
|
+
getOrderingStoreConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OrderingStoreConfig>;
|
|
238
|
+
/**
|
|
239
|
+
* @param {ConfigurationPlatformApplicationValidator.GetOrderingStoresByFilterParam} arg
|
|
240
|
+
* - Arg object
|
|
241
|
+
*
|
|
242
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
243
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
244
|
+
* @returns {Promise<ConfigurationPlatformModel.OrderingStores>} - Success response
|
|
245
|
+
* @name getOrderingStoresByFilter
|
|
182
246
|
* @summary: Get ordering store by filter
|
|
183
|
-
* @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
|
|
247
|
+
* @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOrderingStoresByFilter/).
|
|
184
248
|
*/
|
|
185
|
-
getOrderingStoresByFilter({ body, pageNo, pageSize }?: {
|
|
186
|
-
pageNo?: number;
|
|
187
|
-
pageSize?: number;
|
|
188
|
-
body: FilterOrderingStoreRequest;
|
|
189
|
-
}): Promise<OrderingStores>;
|
|
249
|
+
getOrderingStoresByFilter({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetOrderingStoresByFilterParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OrderingStores>;
|
|
190
250
|
/**
|
|
191
251
|
* @param {Object} arg - Arg object.
|
|
192
252
|
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
@@ -195,7 +255,8 @@ declare class Configuration {
|
|
|
195
255
|
* application (sales channel website) created within a business account
|
|
196
256
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
197
257
|
* page. Default value is 10.
|
|
198
|
-
* @param {FilterOrderingStoreRequest} arg.body
|
|
258
|
+
* @param {ConfigurationPlatformModel.FilterOrderingStoreRequest} arg.body
|
|
259
|
+
* @returns {Paginator<ConfigurationPlatformModel.OrderingStores>}
|
|
199
260
|
* @summary: Get ordering store by filter
|
|
200
261
|
* @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
|
|
201
262
|
*/
|
|
@@ -203,35 +264,34 @@ declare class Configuration {
|
|
|
203
264
|
companyId: string;
|
|
204
265
|
applicationId: string;
|
|
205
266
|
pageSize?: number;
|
|
206
|
-
body: FilterOrderingStoreRequest;
|
|
207
|
-
}): Paginator
|
|
208
|
-
/**
|
|
209
|
-
* @param {
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* @
|
|
267
|
+
body: ConfigurationPlatformModel.FilterOrderingStoreRequest;
|
|
268
|
+
}): Paginator<ConfigurationPlatformModel.OrderingStores>;
|
|
269
|
+
/**
|
|
270
|
+
* @param {ConfigurationPlatformApplicationValidator.GetPreviousVersionsParam} arg
|
|
271
|
+
* - Arg object
|
|
272
|
+
*
|
|
273
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
274
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
275
|
+
* @returns {Promise<ConfigurationPlatformModel.BuildVersionHistory>} -
|
|
276
|
+
* Success response
|
|
277
|
+
* @name getPreviousVersions
|
|
213
278
|
* @summary: Get details of previous mobile builds
|
|
214
|
-
* @description: Fetch version details of the app, this includes the build status, build date, version name, latest version, and a lot more.
|
|
215
|
-
*/
|
|
216
|
-
getPreviousVersions({ platformType }?: {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
*
|
|
221
|
-
* @param {
|
|
222
|
-
*
|
|
223
|
-
* @
|
|
224
|
-
*
|
|
225
|
-
* @
|
|
226
|
-
* @returns {Promise<OrderingStoresResponse>} - Success response
|
|
279
|
+
* @description: Fetch version details of the app, this includes the build status, build date, version name, latest version, and a lot more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getPreviousVersions/).
|
|
280
|
+
*/
|
|
281
|
+
getPreviousVersions({ platformType, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetPreviousVersionsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.BuildVersionHistory>;
|
|
282
|
+
/**
|
|
283
|
+
* @param {ConfigurationPlatformApplicationValidator.GetStaffOrderingStoresParam} arg
|
|
284
|
+
* - Arg object
|
|
285
|
+
*
|
|
286
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
287
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
288
|
+
* @returns {Promise<ConfigurationPlatformModel.OrderingStoresResponse>} -
|
|
289
|
+
* Success response
|
|
290
|
+
* @name getStaffOrderingStores
|
|
227
291
|
* @summary: Get deployment stores
|
|
228
|
-
* @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
|
|
292
|
+
* @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getStaffOrderingStores/).
|
|
229
293
|
*/
|
|
230
|
-
getStaffOrderingStores({ pageNo, pageSize, q }?: {
|
|
231
|
-
pageNo?: number;
|
|
232
|
-
pageSize?: number;
|
|
233
|
-
q?: string;
|
|
234
|
-
}): Promise<OrderingStoresResponse>;
|
|
294
|
+
getStaffOrderingStores({ pageNo, pageSize, q, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetStaffOrderingStoresParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OrderingStoresResponse>;
|
|
235
295
|
/**
|
|
236
296
|
* @param {Object} arg - Arg object.
|
|
237
297
|
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
@@ -241,6 +301,7 @@ declare class Configuration {
|
|
|
241
301
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
242
302
|
* page. Default value is 10.
|
|
243
303
|
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
304
|
+
* @returns {Paginator<ConfigurationPlatformModel.OrderingStoresResponse>}
|
|
244
305
|
* @summary: Get deployment stores
|
|
245
306
|
* @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
|
|
246
307
|
*/
|
|
@@ -249,120 +310,146 @@ declare class Configuration {
|
|
|
249
310
|
applicationId: string;
|
|
250
311
|
pageSize?: number;
|
|
251
312
|
q?: string;
|
|
252
|
-
}): Paginator
|
|
253
|
-
/**
|
|
254
|
-
* @param {
|
|
255
|
-
*
|
|
256
|
-
*
|
|
313
|
+
}): Paginator<ConfigurationPlatformModel.OrderingStoresResponse>;
|
|
314
|
+
/**
|
|
315
|
+
* @param {ConfigurationPlatformApplicationValidator.ModifyAppFeaturesParam} arg
|
|
316
|
+
* - Arg object
|
|
317
|
+
*
|
|
318
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
319
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
320
|
+
* @returns {Promise<ConfigurationPlatformModel.AppFeature>} - Success response
|
|
321
|
+
* @name modifyAppFeatures
|
|
257
322
|
* @summary: Update features of application
|
|
258
|
-
* @description: Update features of application
|
|
259
|
-
*/
|
|
260
|
-
modifyAppFeatures({ body }?: {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
*
|
|
265
|
-
* @param {
|
|
266
|
-
* @
|
|
323
|
+
* @description: Update features of application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/modifyAppFeatures/).
|
|
324
|
+
*/
|
|
325
|
+
modifyAppFeatures({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.ModifyAppFeaturesParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppFeature>;
|
|
326
|
+
/**
|
|
327
|
+
* @param {ConfigurationPlatformApplicationValidator.PartiallyUpdateInventoryConfigParam} arg
|
|
328
|
+
* - Arg object
|
|
329
|
+
*
|
|
330
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
331
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
332
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationInventory>} -
|
|
333
|
+
* Success response
|
|
334
|
+
* @name partiallyUpdateInventoryConfig
|
|
267
335
|
* @summary: Partially update sales channel configuration
|
|
268
|
-
* @description: Partially update the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
269
|
-
*/
|
|
270
|
-
partiallyUpdateInventoryConfig({ body }?: {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
*
|
|
275
|
-
* @param {
|
|
276
|
-
*
|
|
277
|
-
* @returns {Promise<SuccessMessageResponse>} -
|
|
336
|
+
* @description: Partially update the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/partiallyUpdateInventoryConfig/).
|
|
337
|
+
*/
|
|
338
|
+
partiallyUpdateInventoryConfig({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.PartiallyUpdateInventoryConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationInventory>;
|
|
339
|
+
/**
|
|
340
|
+
* @param {ConfigurationPlatformApplicationValidator.RemoveDomainByIdParam} arg
|
|
341
|
+
* - Arg object
|
|
342
|
+
*
|
|
343
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
344
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
345
|
+
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponse>} -
|
|
346
|
+
* Success response
|
|
347
|
+
* @name removeDomainById
|
|
278
348
|
* @summary: Remove attached domain from current sales channel
|
|
279
|
-
* @description: Delete a domain (secondary or shortlink domain) added to a sales channel. It will disable user's access to website, shared links, and other features associated with this domain.
|
|
349
|
+
* @description: Delete a domain (secondary or shortlink domain) added to a sales channel. It will disable user's access to website, shared links, and other features associated with this domain. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/removeDomainById/).
|
|
280
350
|
*/
|
|
281
|
-
removeDomainById({ id }?: {
|
|
282
|
-
id: string;
|
|
283
|
-
}): Promise<SuccessMessageResponse>;
|
|
351
|
+
removeDomainById({ id, requestHeaders }?: ConfigurationPlatformApplicationValidator.RemoveDomainByIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.SuccessMessageResponse>;
|
|
284
352
|
/**
|
|
285
|
-
* @param {
|
|
286
|
-
*
|
|
287
|
-
*
|
|
353
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateAppApiTokensParam} arg
|
|
354
|
+
* - Arg object
|
|
355
|
+
*
|
|
356
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
357
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
358
|
+
* @returns {Promise<ConfigurationPlatformModel.TokenResponse>} - Success response
|
|
359
|
+
* @name updateAppApiTokens
|
|
288
360
|
* @summary: Add or update social tokens for the sales channel
|
|
289
|
-
* @description: Use this API to add or edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth.
|
|
361
|
+
* @description: Use this API to add or edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateAppApiTokens/).
|
|
290
362
|
*/
|
|
291
|
-
updateAppApiTokens({ body }?: {
|
|
292
|
-
body: TokenResponse;
|
|
293
|
-
}): Promise<TokenResponse>;
|
|
363
|
+
updateAppApiTokens({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateAppApiTokensParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.TokenResponse>;
|
|
294
364
|
/**
|
|
295
|
-
* @param {
|
|
296
|
-
*
|
|
297
|
-
*
|
|
365
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateAppBasicDetailsParam} arg
|
|
366
|
+
* - Arg object
|
|
367
|
+
*
|
|
368
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
369
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
370
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationDetail>} - Success response
|
|
371
|
+
* @name updateAppBasicDetails
|
|
298
372
|
* @summary: Update sales channel details
|
|
299
|
-
* @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information.
|
|
300
|
-
*/
|
|
301
|
-
updateAppBasicDetails({ body }?: {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
*
|
|
306
|
-
* @param {
|
|
307
|
-
* @
|
|
373
|
+
* @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateAppBasicDetails/).
|
|
374
|
+
*/
|
|
375
|
+
updateAppBasicDetails({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateAppBasicDetailsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationDetail>;
|
|
376
|
+
/**
|
|
377
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateAppContactInfoParam} arg
|
|
378
|
+
* - Arg object
|
|
379
|
+
*
|
|
380
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
381
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
382
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationInformation>} -
|
|
383
|
+
* Success response
|
|
384
|
+
* @name updateAppContactInfo
|
|
308
385
|
* @summary: Save or update current information of the sales channel
|
|
309
|
-
* @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
|
|
310
|
-
*/
|
|
311
|
-
updateAppContactInfo({ body }?: {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
*
|
|
316
|
-
* @param {
|
|
317
|
-
* @
|
|
386
|
+
* @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateAppContactInfo/).
|
|
387
|
+
*/
|
|
388
|
+
updateAppContactInfo({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateAppContactInfoParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationInformation>;
|
|
389
|
+
/**
|
|
390
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateAppCurrencyConfigParam} arg
|
|
391
|
+
* - Arg object
|
|
392
|
+
*
|
|
393
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
394
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
395
|
+
* @returns {Promise<ConfigurationPlatformModel.AppSupportedCurrency>} -
|
|
396
|
+
* Success response
|
|
397
|
+
* @name updateAppCurrencyConfig
|
|
318
398
|
* @summary: Update initial sales channel supported currency
|
|
319
|
-
* @description: Use this API to add and edit the currencies supported in the application. Initially, INR will be enabled by default.
|
|
399
|
+
* @description: Use this API to add and edit the currencies supported in the application. Initially, INR will be enabled by default. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateAppCurrencyConfig/).
|
|
320
400
|
*/
|
|
321
|
-
updateAppCurrencyConfig({ body }?: {
|
|
322
|
-
body: AppSupportedCurrency;
|
|
323
|
-
}): Promise<AppSupportedCurrency>;
|
|
401
|
+
updateAppCurrencyConfig({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateAppCurrencyConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppSupportedCurrency>;
|
|
324
402
|
/**
|
|
325
|
-
* @param {
|
|
326
|
-
*
|
|
327
|
-
*
|
|
403
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateAppFeaturesParam} arg
|
|
404
|
+
* - Arg object
|
|
405
|
+
*
|
|
406
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
407
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
408
|
+
* @returns {Promise<ConfigurationPlatformModel.AppFeature>} - Success response
|
|
409
|
+
* @name updateAppFeatures
|
|
328
410
|
* @summary: Update the sales channel configuration and features
|
|
329
|
-
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more.
|
|
330
|
-
*/
|
|
331
|
-
updateAppFeatures({ body }?: {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
*
|
|
336
|
-
* @param {
|
|
337
|
-
*
|
|
338
|
-
* @
|
|
339
|
-
*
|
|
411
|
+
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateAppFeatures/).
|
|
412
|
+
*/
|
|
413
|
+
updateAppFeatures({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateAppFeaturesParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.AppFeature>;
|
|
414
|
+
/**
|
|
415
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateBuildConfigParam} arg
|
|
416
|
+
* - Arg object
|
|
417
|
+
*
|
|
418
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
420
|
+
* @returns {Promise<ConfigurationPlatformModel.MobileAppConfiguration>} -
|
|
421
|
+
* Success response
|
|
422
|
+
* @name updateBuildConfig
|
|
340
423
|
* @summary: Update the configuration for next mobile build
|
|
341
|
-
* @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build.
|
|
342
|
-
*/
|
|
343
|
-
updateBuildConfig({ platformType, body }?: {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
* @param {
|
|
349
|
-
* @param {
|
|
350
|
-
* @returns {Promise<ApplicationInventory>} -
|
|
424
|
+
* @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateBuildConfig/).
|
|
425
|
+
*/
|
|
426
|
+
updateBuildConfig({ platformType, body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateBuildConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.MobileAppConfiguration>;
|
|
427
|
+
/**
|
|
428
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateInventoryConfigParam} arg
|
|
429
|
+
* - Arg object
|
|
430
|
+
*
|
|
431
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
432
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
433
|
+
* @returns {Promise<ConfigurationPlatformModel.ApplicationInventory>} -
|
|
434
|
+
* Success response
|
|
435
|
+
* @name updateInventoryConfig
|
|
351
436
|
* @summary: Update sales channel configuration
|
|
352
|
-
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
437
|
+
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateInventoryConfig/).
|
|
353
438
|
*/
|
|
354
|
-
updateInventoryConfig({ body }?: {
|
|
355
|
-
body: ApplicationInventory;
|
|
356
|
-
}): Promise<ApplicationInventory>;
|
|
439
|
+
updateInventoryConfig({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateInventoryConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationInventory>;
|
|
357
440
|
/**
|
|
358
|
-
* @param {
|
|
359
|
-
*
|
|
360
|
-
*
|
|
441
|
+
* @param {ConfigurationPlatformApplicationValidator.UpdateOrderingStoreConfigParam} arg
|
|
442
|
+
* - Arg object
|
|
443
|
+
*
|
|
444
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
445
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
446
|
+
* @returns {Promise<ConfigurationPlatformModel.DeploymentMeta>} - Success response
|
|
447
|
+
* @name updateOrderingStoreConfig
|
|
361
448
|
* @summary: Add/Update ordering store config
|
|
362
|
-
* @description: Use this API to edit the details of the deployment stores (the selling locations where the application will be utilised for placing orders)
|
|
449
|
+
* @description: Use this API to edit the details of the deployment stores (the selling locations where the application will be utilised for placing orders) - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateOrderingStoreConfig/).
|
|
363
450
|
*/
|
|
364
|
-
updateOrderingStoreConfig({ body }?: {
|
|
365
|
-
body: OrderingStoreConfig;
|
|
366
|
-
}): Promise<DeploymentMeta>;
|
|
451
|
+
updateOrderingStoreConfig({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateOrderingStoreConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DeploymentMeta>;
|
|
367
452
|
}
|
|
453
|
+
import ConfigurationPlatformApplicationValidator = require("./ConfigurationPlatformApplicationValidator");
|
|
454
|
+
import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
|
|
368
455
|
import Paginator = require("../../common/Paginator");
|