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