@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-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 +53 -60
- package/sdk/application/Cart/CartApplicationClient.js +53 -130
- package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
- package/sdk/application/Cart/CartApplicationModel.js +159 -380
- package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
- package/sdk/application/Cart/CartApplicationValidator.js +18 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
- package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
- package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
- package/sdk/application/Common/CommonApplicationClient.js +5 -6
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
- package/sdk/application/Content/ContentApplicationClient.js +75 -54
- package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
- package/sdk/application/Content/ContentApplicationModel.js +32 -83
- package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
- package/sdk/application/Content/ContentApplicationValidator.js +10 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
- package/sdk/application/Lead/LeadApplicationClient.js +3 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
- package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
- package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
- package/sdk/application/Order/OrderApplicationClient.js +13 -96
- package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
- package/sdk/application/Order/OrderApplicationModel.js +81 -279
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
- package/sdk/application/Order/OrderApplicationValidator.js +2 -15
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
- package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
- package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
- package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
- package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +0 -1
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1304 -4979
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- 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 +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
- package/sdk/platform/Order/OrderPlatformClient.js +245 -597
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
- package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
- 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 +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +341 -602
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -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/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = ConfigurationApplicationModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef ApplicationAboutResponse
|
|
4
4
|
* @property {ApplicationInfo} [application_info]
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
@@ -61,20 +61,20 @@ export = ConfigurationApplicationModel;
|
|
|
61
61
|
* @property {string} [code] - Unique code of supported language, e.g. hi-IN.
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
|
-
* @typedef
|
|
64
|
+
* @typedef LanguageResponse
|
|
65
65
|
* @property {SupportedLanguage[]} [items] - List of supported languages.
|
|
66
66
|
*/
|
|
67
67
|
/**
|
|
68
|
-
* @typedef
|
|
68
|
+
* @typedef AppStaffResponse
|
|
69
69
|
* @property {AppStaff[]} [staff_users] - List of staff users.
|
|
70
70
|
*/
|
|
71
71
|
/**
|
|
72
|
-
* @typedef
|
|
72
|
+
* @typedef AppStaffListResponse
|
|
73
73
|
* @property {Page} [page]
|
|
74
74
|
* @property {AppStaff[]} [items] - List of staff users.
|
|
75
75
|
*/
|
|
76
76
|
/**
|
|
77
|
-
* @typedef
|
|
77
|
+
* @typedef OrderingStoreSelectRequest
|
|
78
78
|
* @property {OrderingStoreSelect} ordering_store
|
|
79
79
|
*/
|
|
80
80
|
/**
|
|
@@ -100,7 +100,7 @@ export = ConfigurationApplicationModel;
|
|
|
100
100
|
* @property {string} [profile_pic_url] - Profile image hosted url of the staff member.
|
|
101
101
|
*/
|
|
102
102
|
/**
|
|
103
|
-
* @typedef
|
|
103
|
+
* @typedef AppTokenResponse
|
|
104
104
|
* @property {Tokens} [tokens]
|
|
105
105
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
106
106
|
* of the token.
|
|
@@ -398,7 +398,7 @@ export = ConfigurationApplicationModel;
|
|
|
398
398
|
* value is false.
|
|
399
399
|
*/
|
|
400
400
|
/**
|
|
401
|
-
* @typedef
|
|
401
|
+
* @typedef AppFeatureResponse
|
|
402
402
|
* @property {AppFeature} [feature]
|
|
403
403
|
*/
|
|
404
404
|
/**
|
|
@@ -516,11 +516,15 @@ export = ConfigurationApplicationModel;
|
|
|
516
516
|
* @property {string} [message] - Response message for not found.
|
|
517
517
|
*/
|
|
518
518
|
/**
|
|
519
|
-
* @typedef
|
|
519
|
+
* @typedef InvalidPayloadRequest
|
|
520
520
|
* @property {string} [message] - Error message when request body payload is improper.
|
|
521
521
|
*/
|
|
522
522
|
/**
|
|
523
|
-
* @typedef
|
|
523
|
+
* @typedef UnhandledError
|
|
524
|
+
* @property {string} [message] - Error message for unhandled errors.
|
|
525
|
+
*/
|
|
526
|
+
/**
|
|
527
|
+
* @typedef SuccessMessageResponse
|
|
524
528
|
* @property {string} [message] - Success message shown to the user (in a string format).
|
|
525
529
|
*/
|
|
526
530
|
/**
|
|
@@ -719,7 +723,7 @@ export = ConfigurationApplicationModel;
|
|
|
719
723
|
* where the sales channel is mapped.
|
|
720
724
|
*/
|
|
721
725
|
/**
|
|
722
|
-
* @typedef
|
|
726
|
+
* @typedef CurrenciesResponse
|
|
723
727
|
* @property {Currency[]} [items] - A list of currency objects. Each object
|
|
724
728
|
* represents a different currency.
|
|
725
729
|
*/
|
|
@@ -731,7 +735,7 @@ export = ConfigurationApplicationModel;
|
|
|
731
735
|
* INR, EUR, USD.
|
|
732
736
|
*/
|
|
733
737
|
/**
|
|
734
|
-
* @typedef
|
|
738
|
+
* @typedef AppCurrencyResponse
|
|
735
739
|
* @property {string} [application] - Alphanumeric ID allotted to an application
|
|
736
740
|
* (sales channel website) created within a business account.
|
|
737
741
|
* @property {DefaultCurrency} [default_currency]
|
|
@@ -791,11 +795,11 @@ export = ConfigurationApplicationModel;
|
|
|
791
795
|
declare class ConfigurationApplicationModel {
|
|
792
796
|
}
|
|
793
797
|
declare namespace ConfigurationApplicationModel {
|
|
794
|
-
export {
|
|
798
|
+
export { ApplicationAboutResponse, ApplicationInfo, CompanyInfo, OwnerInfo, SupportedLanguage, LanguageResponse, AppStaffResponse, AppStaffListResponse, OrderingStoreSelectRequest, OrderingStoreSelect, AppStaff, AppTokenResponse, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, RegistrationPageFeature, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, ListingPageFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureResponse, Currency, Domain, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, TokenSchema, NotFound, InvalidPayloadRequest, UnhandledError, SuccessMessageResponse, CompanyAboutAddress, UserEmail, UserPhoneNumber, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationSupportPhone, InformationSupportEmail, InformationLoc, InformationSupport, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponse, DefaultCurrency, AppCurrencyResponse, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores };
|
|
795
799
|
}
|
|
796
|
-
/** @returns {
|
|
797
|
-
declare function
|
|
798
|
-
type
|
|
800
|
+
/** @returns {ApplicationAboutResponse} */
|
|
801
|
+
declare function ApplicationAboutResponse(): ApplicationAboutResponse;
|
|
802
|
+
type ApplicationAboutResponse = {
|
|
799
803
|
application_info?: ApplicationInfo;
|
|
800
804
|
};
|
|
801
805
|
/** @returns {ApplicationInfo} */
|
|
@@ -940,34 +944,34 @@ type SupportedLanguage = {
|
|
|
940
944
|
*/
|
|
941
945
|
code?: string;
|
|
942
946
|
};
|
|
943
|
-
/** @returns {
|
|
944
|
-
declare function
|
|
945
|
-
type
|
|
947
|
+
/** @returns {LanguageResponse} */
|
|
948
|
+
declare function LanguageResponse(): LanguageResponse;
|
|
949
|
+
type LanguageResponse = {
|
|
946
950
|
/**
|
|
947
951
|
* - List of supported languages.
|
|
948
952
|
*/
|
|
949
953
|
items?: SupportedLanguage[];
|
|
950
954
|
};
|
|
951
|
-
/** @returns {
|
|
952
|
-
declare function
|
|
953
|
-
type
|
|
955
|
+
/** @returns {AppStaffResponse} */
|
|
956
|
+
declare function AppStaffResponse(): AppStaffResponse;
|
|
957
|
+
type AppStaffResponse = {
|
|
954
958
|
/**
|
|
955
959
|
* - List of staff users.
|
|
956
960
|
*/
|
|
957
961
|
staff_users?: AppStaff[];
|
|
958
962
|
};
|
|
959
|
-
/** @returns {
|
|
960
|
-
declare function
|
|
961
|
-
type
|
|
963
|
+
/** @returns {AppStaffListResponse} */
|
|
964
|
+
declare function AppStaffListResponse(): AppStaffListResponse;
|
|
965
|
+
type AppStaffListResponse = {
|
|
962
966
|
page?: Page;
|
|
963
967
|
/**
|
|
964
968
|
* - List of staff users.
|
|
965
969
|
*/
|
|
966
970
|
items?: AppStaff[];
|
|
967
971
|
};
|
|
968
|
-
/** @returns {
|
|
969
|
-
declare function
|
|
970
|
-
type
|
|
972
|
+
/** @returns {OrderingStoreSelectRequest} */
|
|
973
|
+
declare function OrderingStoreSelectRequest(): OrderingStoreSelectRequest;
|
|
974
|
+
type OrderingStoreSelectRequest = {
|
|
971
975
|
ordering_store: OrderingStoreSelect;
|
|
972
976
|
};
|
|
973
977
|
/** @returns {OrderingStoreSelect} */
|
|
@@ -1027,9 +1031,9 @@ type AppStaff = {
|
|
|
1027
1031
|
*/
|
|
1028
1032
|
profile_pic_url?: string;
|
|
1029
1033
|
};
|
|
1030
|
-
/** @returns {
|
|
1031
|
-
declare function
|
|
1032
|
-
type
|
|
1034
|
+
/** @returns {AppTokenResponse} */
|
|
1035
|
+
declare function AppTokenResponse(): AppTokenResponse;
|
|
1036
|
+
type AppTokenResponse = {
|
|
1033
1037
|
tokens?: Tokens;
|
|
1034
1038
|
/**
|
|
1035
1039
|
* - The unique identifier (24-digit Mongo Object ID)
|
|
@@ -1590,9 +1594,9 @@ type OrderFeature = {
|
|
|
1590
1594
|
*/
|
|
1591
1595
|
buy_again?: boolean;
|
|
1592
1596
|
};
|
|
1593
|
-
/** @returns {
|
|
1594
|
-
declare function
|
|
1595
|
-
type
|
|
1597
|
+
/** @returns {AppFeatureResponse} */
|
|
1598
|
+
declare function AppFeatureResponse(): AppFeatureResponse;
|
|
1599
|
+
type AppFeatureResponse = {
|
|
1596
1600
|
feature?: AppFeature;
|
|
1597
1601
|
};
|
|
1598
1602
|
/** @returns {Currency} */
|
|
@@ -1873,17 +1877,25 @@ type NotFound = {
|
|
|
1873
1877
|
*/
|
|
1874
1878
|
message?: string;
|
|
1875
1879
|
};
|
|
1876
|
-
/** @returns {
|
|
1877
|
-
declare function
|
|
1878
|
-
type
|
|
1880
|
+
/** @returns {InvalidPayloadRequest} */
|
|
1881
|
+
declare function InvalidPayloadRequest(): InvalidPayloadRequest;
|
|
1882
|
+
type InvalidPayloadRequest = {
|
|
1879
1883
|
/**
|
|
1880
1884
|
* - Error message when request body payload is improper.
|
|
1881
1885
|
*/
|
|
1882
1886
|
message?: string;
|
|
1883
1887
|
};
|
|
1884
|
-
/** @returns {
|
|
1885
|
-
declare function
|
|
1886
|
-
type
|
|
1888
|
+
/** @returns {UnhandledError} */
|
|
1889
|
+
declare function UnhandledError(): UnhandledError;
|
|
1890
|
+
type UnhandledError = {
|
|
1891
|
+
/**
|
|
1892
|
+
* - Error message for unhandled errors.
|
|
1893
|
+
*/
|
|
1894
|
+
message?: string;
|
|
1895
|
+
};
|
|
1896
|
+
/** @returns {SuccessMessageResponse} */
|
|
1897
|
+
declare function SuccessMessageResponse(): SuccessMessageResponse;
|
|
1898
|
+
type SuccessMessageResponse = {
|
|
1887
1899
|
/**
|
|
1888
1900
|
* - Success message shown to the user (in a string format).
|
|
1889
1901
|
*/
|
|
@@ -2369,9 +2381,9 @@ type ApplicationDetail = {
|
|
|
2369
2381
|
*/
|
|
2370
2382
|
company_id?: number;
|
|
2371
2383
|
};
|
|
2372
|
-
/** @returns {
|
|
2373
|
-
declare function
|
|
2374
|
-
type
|
|
2384
|
+
/** @returns {CurrenciesResponse} */
|
|
2385
|
+
declare function CurrenciesResponse(): CurrenciesResponse;
|
|
2386
|
+
type CurrenciesResponse = {
|
|
2375
2387
|
/**
|
|
2376
2388
|
* - A list of currency objects. Each object
|
|
2377
2389
|
* represents a different currency.
|
|
@@ -2392,9 +2404,9 @@ type DefaultCurrency = {
|
|
|
2392
2404
|
*/
|
|
2393
2405
|
code?: string;
|
|
2394
2406
|
};
|
|
2395
|
-
/** @returns {
|
|
2396
|
-
declare function
|
|
2397
|
-
type
|
|
2407
|
+
/** @returns {AppCurrencyResponse} */
|
|
2408
|
+
declare function AppCurrencyResponse(): AppCurrencyResponse;
|
|
2409
|
+
type AppCurrencyResponse = {
|
|
2398
2410
|
/**
|
|
2399
2411
|
* - Alphanumeric ID allotted to an application
|
|
2400
2412
|
* (sales channel website) created within a business account.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @typedef
|
|
4
|
+
* @typedef ApplicationAboutResponse
|
|
5
5
|
* @property {ApplicationInfo} [application_info]
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -67,23 +67,23 @@ const Joi = require("joi");
|
|
|
67
67
|
*/
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* @typedef
|
|
70
|
+
* @typedef LanguageResponse
|
|
71
71
|
* @property {SupportedLanguage[]} [items] - List of supported languages.
|
|
72
72
|
*/
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* @typedef
|
|
75
|
+
* @typedef AppStaffResponse
|
|
76
76
|
* @property {AppStaff[]} [staff_users] - List of staff users.
|
|
77
77
|
*/
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* @typedef
|
|
80
|
+
* @typedef AppStaffListResponse
|
|
81
81
|
* @property {Page} [page]
|
|
82
82
|
* @property {AppStaff[]} [items] - List of staff users.
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* @typedef
|
|
86
|
+
* @typedef OrderingStoreSelectRequest
|
|
87
87
|
* @property {OrderingStoreSelect} ordering_store
|
|
88
88
|
*/
|
|
89
89
|
|
|
@@ -112,7 +112,7 @@ const Joi = require("joi");
|
|
|
112
112
|
*/
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* @typedef
|
|
115
|
+
* @typedef AppTokenResponse
|
|
116
116
|
* @property {Tokens} [tokens]
|
|
117
117
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
118
118
|
* of the token.
|
|
@@ -453,7 +453,7 @@ const Joi = require("joi");
|
|
|
453
453
|
*/
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
|
-
* @typedef
|
|
456
|
+
* @typedef AppFeatureResponse
|
|
457
457
|
* @property {AppFeature} [feature]
|
|
458
458
|
*/
|
|
459
459
|
|
|
@@ -583,12 +583,17 @@ const Joi = require("joi");
|
|
|
583
583
|
*/
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
|
-
* @typedef
|
|
586
|
+
* @typedef InvalidPayloadRequest
|
|
587
587
|
* @property {string} [message] - Error message when request body payload is improper.
|
|
588
588
|
*/
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
|
-
* @typedef
|
|
591
|
+
* @typedef UnhandledError
|
|
592
|
+
* @property {string} [message] - Error message for unhandled errors.
|
|
593
|
+
*/
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @typedef SuccessMessageResponse
|
|
592
597
|
* @property {string} [message] - Success message shown to the user (in a string format).
|
|
593
598
|
*/
|
|
594
599
|
|
|
@@ -812,7 +817,7 @@ const Joi = require("joi");
|
|
|
812
817
|
*/
|
|
813
818
|
|
|
814
819
|
/**
|
|
815
|
-
* @typedef
|
|
820
|
+
* @typedef CurrenciesResponse
|
|
816
821
|
* @property {Currency[]} [items] - A list of currency objects. Each object
|
|
817
822
|
* represents a different currency.
|
|
818
823
|
*/
|
|
@@ -826,7 +831,7 @@ const Joi = require("joi");
|
|
|
826
831
|
*/
|
|
827
832
|
|
|
828
833
|
/**
|
|
829
|
-
* @typedef
|
|
834
|
+
* @typedef AppCurrencyResponse
|
|
830
835
|
* @property {string} [application] - Alphanumeric ID allotted to an application
|
|
831
836
|
* (sales channel website) created within a business account.
|
|
832
837
|
* @property {DefaultCurrency} [default_currency]
|
|
@@ -889,8 +894,8 @@ const Joi = require("joi");
|
|
|
889
894
|
*/
|
|
890
895
|
|
|
891
896
|
class ConfigurationApplicationModel {
|
|
892
|
-
/** @returns {
|
|
893
|
-
static
|
|
897
|
+
/** @returns {ApplicationAboutResponse} */
|
|
898
|
+
static ApplicationAboutResponse() {
|
|
894
899
|
return Joi.object({
|
|
895
900
|
application_info: ConfigurationApplicationModel.ApplicationInfo(),
|
|
896
901
|
});
|
|
@@ -960,8 +965,8 @@ class ConfigurationApplicationModel {
|
|
|
960
965
|
});
|
|
961
966
|
}
|
|
962
967
|
|
|
963
|
-
/** @returns {
|
|
964
|
-
static
|
|
968
|
+
/** @returns {LanguageResponse} */
|
|
969
|
+
static LanguageResponse() {
|
|
965
970
|
return Joi.object({
|
|
966
971
|
items: Joi.array().items(
|
|
967
972
|
ConfigurationApplicationModel.SupportedLanguage()
|
|
@@ -969,23 +974,23 @@ class ConfigurationApplicationModel {
|
|
|
969
974
|
});
|
|
970
975
|
}
|
|
971
976
|
|
|
972
|
-
/** @returns {
|
|
973
|
-
static
|
|
977
|
+
/** @returns {AppStaffResponse} */
|
|
978
|
+
static AppStaffResponse() {
|
|
974
979
|
return Joi.object({
|
|
975
980
|
staff_users: Joi.array().items(ConfigurationApplicationModel.AppStaff()),
|
|
976
981
|
});
|
|
977
982
|
}
|
|
978
983
|
|
|
979
|
-
/** @returns {
|
|
980
|
-
static
|
|
984
|
+
/** @returns {AppStaffListResponse} */
|
|
985
|
+
static AppStaffListResponse() {
|
|
981
986
|
return Joi.object({
|
|
982
987
|
page: ConfigurationApplicationModel.Page(),
|
|
983
988
|
items: Joi.array().items(ConfigurationApplicationModel.AppStaff()),
|
|
984
989
|
});
|
|
985
990
|
}
|
|
986
991
|
|
|
987
|
-
/** @returns {
|
|
988
|
-
static
|
|
992
|
+
/** @returns {OrderingStoreSelectRequest} */
|
|
993
|
+
static OrderingStoreSelectRequest() {
|
|
989
994
|
return Joi.object({
|
|
990
995
|
ordering_store: ConfigurationApplicationModel.OrderingStoreSelect().required(),
|
|
991
996
|
});
|
|
@@ -1014,8 +1019,8 @@ class ConfigurationApplicationModel {
|
|
|
1014
1019
|
});
|
|
1015
1020
|
}
|
|
1016
1021
|
|
|
1017
|
-
/** @returns {
|
|
1018
|
-
static
|
|
1022
|
+
/** @returns {AppTokenResponse} */
|
|
1023
|
+
static AppTokenResponse() {
|
|
1019
1024
|
return Joi.object({
|
|
1020
1025
|
tokens: ConfigurationApplicationModel.Tokens(),
|
|
1021
1026
|
_id: Joi.string().allow(""),
|
|
@@ -1220,8 +1225,8 @@ class ConfigurationApplicationModel {
|
|
|
1220
1225
|
static LaunchPage() {
|
|
1221
1226
|
return Joi.object({
|
|
1222
1227
|
page_type: Joi.string().allow(""),
|
|
1223
|
-
params: Joi.
|
|
1224
|
-
query: Joi.
|
|
1228
|
+
params: Joi.any(),
|
|
1229
|
+
query: Joi.any(),
|
|
1225
1230
|
});
|
|
1226
1231
|
}
|
|
1227
1232
|
|
|
@@ -1387,8 +1392,8 @@ class ConfigurationApplicationModel {
|
|
|
1387
1392
|
});
|
|
1388
1393
|
}
|
|
1389
1394
|
|
|
1390
|
-
/** @returns {
|
|
1391
|
-
static
|
|
1395
|
+
/** @returns {AppFeatureResponse} */
|
|
1396
|
+
static AppFeatureResponse() {
|
|
1392
1397
|
return Joi.object({
|
|
1393
1398
|
feature: ConfigurationApplicationModel.AppFeature(),
|
|
1394
1399
|
});
|
|
@@ -1521,15 +1526,22 @@ class ConfigurationApplicationModel {
|
|
|
1521
1526
|
});
|
|
1522
1527
|
}
|
|
1523
1528
|
|
|
1524
|
-
/** @returns {
|
|
1525
|
-
static
|
|
1529
|
+
/** @returns {InvalidPayloadRequest} */
|
|
1530
|
+
static InvalidPayloadRequest() {
|
|
1531
|
+
return Joi.object({
|
|
1532
|
+
message: Joi.string().allow(""),
|
|
1533
|
+
});
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** @returns {UnhandledError} */
|
|
1537
|
+
static UnhandledError() {
|
|
1526
1538
|
return Joi.object({
|
|
1527
1539
|
message: Joi.string().allow(""),
|
|
1528
1540
|
});
|
|
1529
1541
|
}
|
|
1530
1542
|
|
|
1531
|
-
/** @returns {
|
|
1532
|
-
static
|
|
1543
|
+
/** @returns {SuccessMessageResponse} */
|
|
1544
|
+
static SuccessMessageResponse() {
|
|
1533
1545
|
return Joi.object({
|
|
1534
1546
|
message: Joi.string().allow(""),
|
|
1535
1547
|
});
|
|
@@ -1792,8 +1804,8 @@ class ConfigurationApplicationModel {
|
|
|
1792
1804
|
});
|
|
1793
1805
|
}
|
|
1794
1806
|
|
|
1795
|
-
/** @returns {
|
|
1796
|
-
static
|
|
1807
|
+
/** @returns {CurrenciesResponse} */
|
|
1808
|
+
static CurrenciesResponse() {
|
|
1797
1809
|
return Joi.object({
|
|
1798
1810
|
items: Joi.array().items(ConfigurationApplicationModel.Currency()),
|
|
1799
1811
|
});
|
|
@@ -1807,8 +1819,8 @@ class ConfigurationApplicationModel {
|
|
|
1807
1819
|
});
|
|
1808
1820
|
}
|
|
1809
1821
|
|
|
1810
|
-
/** @returns {
|
|
1811
|
-
static
|
|
1822
|
+
/** @returns {AppCurrencyResponse} */
|
|
1823
|
+
static AppCurrencyResponse() {
|
|
1812
1824
|
return Joi.object({
|
|
1813
1825
|
application: Joi.string().allow(""),
|
|
1814
1826
|
default_currency: ConfigurationApplicationModel.DefaultCurrency(),
|
|
@@ -35,7 +35,7 @@ export = ConfigurationApplicationValidator;
|
|
|
35
35
|
/** @typedef GetLanguagesParam */
|
|
36
36
|
/**
|
|
37
37
|
* @typedef GetOrderingStoreCookieParam
|
|
38
|
-
* @property {ConfigurationApplicationModel.
|
|
38
|
+
* @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
|
|
39
39
|
*/
|
|
40
40
|
/**
|
|
41
41
|
* @typedef GetOrderingStoresParam
|
|
@@ -142,7 +142,7 @@ type GetCurrencyByIdParam = {
|
|
|
142
142
|
id: string;
|
|
143
143
|
};
|
|
144
144
|
type GetOrderingStoreCookieParam = {
|
|
145
|
-
body: ConfigurationApplicationModel.
|
|
145
|
+
body: ConfigurationApplicationModel.OrderingStoreSelectRequest;
|
|
146
146
|
};
|
|
147
147
|
type GetOrderingStoresParam = {
|
|
148
148
|
/**
|
|
@@ -49,7 +49,7 @@ const ConfigurationApplicationModel = require("./ConfigurationApplicationModel")
|
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* @typedef GetOrderingStoreCookieParam
|
|
52
|
-
* @property {ConfigurationApplicationModel.
|
|
52
|
+
* @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
|
|
53
53
|
*/
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -142,7 +142,7 @@ class ConfigurationApplicationValidator {
|
|
|
142
142
|
/** @returns {GetOrderingStoreCookieParam} */
|
|
143
143
|
static getOrderingStoreCookie() {
|
|
144
144
|
return Joi.object({
|
|
145
|
-
body: ConfigurationApplicationModel.
|
|
145
|
+
body: ConfigurationApplicationModel.OrderingStoreSelectRequest().required(),
|
|
146
146
|
}).required();
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -6,8 +6,8 @@ declare class Content {
|
|
|
6
6
|
getAnnouncements: string;
|
|
7
7
|
getBlog: string;
|
|
8
8
|
getBlogs: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
getCustomFields: string;
|
|
10
|
+
getCustomObject: string;
|
|
11
11
|
getDataLoaders: string;
|
|
12
12
|
getFaqBySlug: string;
|
|
13
13
|
getFaqCategories: string;
|
|
@@ -49,42 +49,40 @@ declare class Content {
|
|
|
49
49
|
* @summary: Get a blog
|
|
50
50
|
* @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
|
|
51
51
|
*/
|
|
52
|
-
getBlog({ slug, rootId,
|
|
52
|
+
getBlog({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetBlogParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogSchema>;
|
|
53
53
|
/**
|
|
54
54
|
* @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
|
|
55
55
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
56
56
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
57
|
-
* @returns {Promise<ContentApplicationModel.
|
|
57
|
+
* @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
|
|
58
58
|
* @name getBlogs
|
|
59
59
|
* @summary: List blogs
|
|
60
60
|
* @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
61
61
|
*/
|
|
62
|
-
getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: ContentApplicationValidator.GetBlogsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.
|
|
62
|
+
getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: ContentApplicationValidator.GetBlogsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogGetResponse>;
|
|
63
63
|
/**
|
|
64
|
-
* @param {ContentApplicationValidator.
|
|
65
|
-
* - Arg object.
|
|
66
|
-
*
|
|
64
|
+
* @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
|
|
67
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
68
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
69
67
|
* @returns {Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>}
|
|
70
68
|
* - Success response
|
|
71
69
|
*
|
|
72
|
-
* @name
|
|
73
|
-
* @summary: Get list of custom fields
|
|
74
|
-
* @description:
|
|
70
|
+
* @name getCustomFields
|
|
71
|
+
* @summary: Get list of custom fields
|
|
72
|
+
* @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
|
|
75
73
|
*/
|
|
76
|
-
|
|
74
|
+
getCustomFields({ resource, resourceId, requestHeaders }?: ContentApplicationValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>;
|
|
77
75
|
/**
|
|
78
|
-
* @param {ContentApplicationValidator.
|
|
76
|
+
* @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
|
|
79
77
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
80
78
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
81
79
|
* @returns {Promise<ContentApplicationModel.CustomObjectByIdSchema>} -
|
|
82
80
|
* Success response
|
|
83
|
-
* @name
|
|
84
|
-
* @summary: Get custom object
|
|
85
|
-
* @description:
|
|
81
|
+
* @name getCustomObject
|
|
82
|
+
* @summary: Get custom object
|
|
83
|
+
* @description: Get details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
|
|
86
84
|
*/
|
|
87
|
-
|
|
85
|
+
getCustomObject({ metaobjectId, requestHeaders }?: ContentApplicationValidator.GetCustomObjectParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomObjectByIdSchema>;
|
|
88
86
|
/**
|
|
89
87
|
* @param {ContentApplicationValidator.GetDataLoadersParam} arg - Arg object.
|
|
90
88
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -171,12 +169,13 @@ declare class Content {
|
|
|
171
169
|
* @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
|
|
172
170
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
173
171
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
174
|
-
* @returns {Promise<ContentApplicationModel.
|
|
172
|
+
* @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
|
|
173
|
+
* Success response
|
|
175
174
|
* @name getNavigations
|
|
176
175
|
* @summary: List navigation items
|
|
177
176
|
* @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
|
|
178
177
|
*/
|
|
179
|
-
getNavigations({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetNavigationsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.
|
|
178
|
+
getNavigations({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetNavigationsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.NavigationGetResponse>;
|
|
180
179
|
/**
|
|
181
180
|
* @param {ContentApplicationValidator.GetPageParam} arg - Arg object.
|
|
182
181
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -191,12 +190,12 @@ declare class Content {
|
|
|
191
190
|
* @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
|
|
192
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
193
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
194
|
-
* @returns {Promise<ContentApplicationModel.
|
|
193
|
+
* @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
|
|
195
194
|
* @name getPages
|
|
196
195
|
* @summary: Lists pages
|
|
197
196
|
* @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
198
197
|
*/
|
|
199
|
-
getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.
|
|
198
|
+
getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageGetResponse>;
|
|
200
199
|
/**
|
|
201
200
|
* @param {ContentApplicationValidator.GetSEOConfigurationParam} arg - Arg object.
|
|
202
201
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -231,12 +230,22 @@ declare class Content {
|
|
|
231
230
|
* @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
|
|
232
231
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
233
232
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
234
|
-
* @returns {Promise<ContentApplicationModel.
|
|
233
|
+
* @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
|
|
235
234
|
* @name getSlideshows
|
|
236
235
|
* @summary: List Slideshows
|
|
237
236
|
* @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
|
|
238
237
|
*/
|
|
239
|
-
getSlideshows({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.
|
|
238
|
+
getSlideshows({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.SlideshowGetResponse>;
|
|
239
|
+
/**
|
|
240
|
+
* @param {Object} arg - Arg object.
|
|
241
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
242
|
+
* @returns {Paginator<ContentApplicationModel.SlideshowGetResponse>}
|
|
243
|
+
* @summary: List Slideshows
|
|
244
|
+
* @description: List slideshows along with their details.
|
|
245
|
+
*/
|
|
246
|
+
getSlideshowsPaginator({ pageSize }?: {
|
|
247
|
+
pageSize?: number;
|
|
248
|
+
}): Paginator<ContentApplicationModel.SlideshowGetResponse>;
|
|
240
249
|
/**
|
|
241
250
|
* @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
|
|
242
251
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -260,3 +269,4 @@ declare class Content {
|
|
|
260
269
|
}
|
|
261
270
|
import ContentApplicationModel = require("./ContentApplicationModel");
|
|
262
271
|
import ContentApplicationValidator = require("./ContentApplicationValidator");
|
|
272
|
+
import Paginator = require("../../common/Paginator");
|