@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.4
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 -10
- package/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +5 -3
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationAPIClient.js +0 -1
- package/sdk/application/ApplicationClient.d.ts +17 -17
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
- package/sdk/application/Cart/CartApplicationClient.js +56 -56
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
- package/sdk/application/Content/ContentApplicationModel.js +26 -26
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
- package/sdk/application/Lead/LeadApplicationClient.js +10 -10
- package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
- package/sdk/application/Lead/LeadApplicationModel.js +42 -52
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
- package/sdk/application/Order/OrderApplicationClient.js +17 -97
- package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
- package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
- package/sdk/application/User/UserApplicationClient.d.ts +76 -76
- package/sdk/application/User/UserApplicationClient.js +74 -74
- package/sdk/application/User/UserApplicationModel.d.ts +44 -13
- package/sdk/application/User/UserApplicationModel.js +17 -13
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +18 -18
- package/sdk/common/AxiosHelper.d.ts +1 -1
- package/sdk/common/AxiosHelper.js +38 -17
- package/sdk/common/Clickstream.js +22 -16
- package/sdk/common/curlHelper.js +1 -3
- package/sdk/common/utils.d.ts +15 -0
- package/sdk/common/utils.js +30 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
- package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerAPIClient.js +0 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
- package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
- package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
- package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
- package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
- package/sdk/platform/Content/ContentPlatformClient.js +37 -37
- package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
- package/sdk/platform/Content/ContentPlatformModel.js +26 -26
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
- package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
- package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
- package/sdk/platform/Order/OrderPlatformClient.js +109 -204
- package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
- package/sdk/platform/Order/OrderPlatformModel.js +12 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
- package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.js +0 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -21
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
- package/sdk/platform/Share/SharePlatformModel.js +4 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
- package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
- package/sdk/platform/User/UserPlatformModel.js +21 -13
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
- package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -25
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
- package/sdk/public/Billing/BillingPublicClient.js +4 -4
- package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
- package/sdk/public/Billing/BillingPublicValidator.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.js +3 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
- package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
|
@@ -288,16 +288,9 @@ export = ContentPlatformModel;
|
|
|
288
288
|
*/
|
|
289
289
|
/**
|
|
290
290
|
* @typedef Action
|
|
291
|
+
* @property {string} [type]
|
|
291
292
|
* @property {ActionPage} [page]
|
|
292
293
|
* @property {ActionPage} [popup]
|
|
293
|
-
* @property {string} [type]
|
|
294
|
-
*/
|
|
295
|
-
/**
|
|
296
|
-
* @typedef ActionPage
|
|
297
|
-
* @property {Object} [params]
|
|
298
|
-
* @property {Object} [query]
|
|
299
|
-
* @property {string} [url]
|
|
300
|
-
* @property {PageType} type
|
|
301
294
|
*/
|
|
302
295
|
/**
|
|
303
296
|
* @typedef NavigationReference
|
|
@@ -1176,6 +1169,13 @@ export = ContentPlatformModel;
|
|
|
1176
1169
|
* @property {string} [url]
|
|
1177
1170
|
* @property {number} [total_records]
|
|
1178
1171
|
*/
|
|
1172
|
+
/**
|
|
1173
|
+
* @typedef ActionPage
|
|
1174
|
+
* @property {Object} [params]
|
|
1175
|
+
* @property {Object} [query]
|
|
1176
|
+
* @property {string} [url]
|
|
1177
|
+
* @property {PageType} type
|
|
1178
|
+
*/
|
|
1179
1179
|
/** @typedef {"title" | "description"} GenerationEntityType */
|
|
1180
1180
|
/**
|
|
1181
1181
|
* @typedef {| "about-us"
|
|
@@ -1228,7 +1228,7 @@ export = ContentPlatformModel;
|
|
|
1228
1228
|
declare class ContentPlatformModel {
|
|
1229
1229
|
}
|
|
1230
1230
|
declare namespace ContentPlatformModel {
|
|
1231
|
-
export { GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogRequest, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action,
|
|
1231
|
+
export { GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogRequest, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, ConfigurationSchema, SlideshowMedia, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, CreateTagRequestSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessResponse, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetResponse, LandingPageSchema, DefaultNavigationResponse, NavigationGetResponse, Orientation, NavigationSchema, NavigationRequest, PageGetResponse, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PageRequest, CronSchedule, PagePublishRequest, PageMetaSchema, SlideshowGetResponse, SlideshowSchema, SlideshowRequest, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectCustomFieldDefinitionResSchema, CustomObjectDefinitionSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadResponse, CustomObjectListItemDefinationSchema, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, CustomObjectJobSchema, CustomObjectBulkEntry, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectRequestSchema, CustomObjectBulkSchema, ActionPage, GenerationEntityType, PageType };
|
|
1232
1232
|
}
|
|
1233
1233
|
/** @returns {GenerateSEOContent} */
|
|
1234
1234
|
declare function GenerateSEOContent(): GenerateSEOContent;
|
|
@@ -1560,17 +1560,9 @@ type Language = {
|
|
|
1560
1560
|
/** @returns {Action} */
|
|
1561
1561
|
declare function Action(): Action;
|
|
1562
1562
|
type Action = {
|
|
1563
|
+
type?: string;
|
|
1563
1564
|
page?: ActionPage;
|
|
1564
1565
|
popup?: ActionPage;
|
|
1565
|
-
type?: string;
|
|
1566
|
-
};
|
|
1567
|
-
/** @returns {ActionPage} */
|
|
1568
|
-
declare function ActionPage(): ActionPage;
|
|
1569
|
-
type ActionPage = {
|
|
1570
|
-
params?: any;
|
|
1571
|
-
query?: any;
|
|
1572
|
-
url?: string;
|
|
1573
|
-
type: PageType;
|
|
1574
1566
|
};
|
|
1575
1567
|
/** @returns {NavigationReference} */
|
|
1576
1568
|
declare function NavigationReference(): NavigationReference;
|
|
@@ -2573,6 +2565,14 @@ type CustomObjectBulkSchema = {
|
|
|
2573
2565
|
url?: string;
|
|
2574
2566
|
total_records?: number;
|
|
2575
2567
|
};
|
|
2568
|
+
/** @returns {ActionPage} */
|
|
2569
|
+
declare function ActionPage(): ActionPage;
|
|
2570
|
+
type ActionPage = {
|
|
2571
|
+
params?: any;
|
|
2572
|
+
query?: any;
|
|
2573
|
+
url?: string;
|
|
2574
|
+
type: PageType;
|
|
2575
|
+
};
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Enum: GenerationEntityType Used By: Content
|
|
2578
2578
|
*
|
|
@@ -329,17 +329,9 @@ const Joi = require("joi");
|
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* @typedef Action
|
|
332
|
+
* @property {string} [type]
|
|
332
333
|
* @property {ActionPage} [page]
|
|
333
334
|
* @property {ActionPage} [popup]
|
|
334
|
-
* @property {string} [type]
|
|
335
|
-
*/
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* @typedef ActionPage
|
|
339
|
-
* @property {Object} [params]
|
|
340
|
-
* @property {Object} [query]
|
|
341
|
-
* @property {string} [url]
|
|
342
|
-
* @property {PageType} type
|
|
343
335
|
*/
|
|
344
336
|
|
|
345
337
|
/**
|
|
@@ -1331,6 +1323,14 @@ const Joi = require("joi");
|
|
|
1331
1323
|
* @property {number} [total_records]
|
|
1332
1324
|
*/
|
|
1333
1325
|
|
|
1326
|
+
/**
|
|
1327
|
+
* @typedef ActionPage
|
|
1328
|
+
* @property {Object} [params]
|
|
1329
|
+
* @property {Object} [query]
|
|
1330
|
+
* @property {string} [url]
|
|
1331
|
+
* @property {PageType} type
|
|
1332
|
+
*/
|
|
1333
|
+
|
|
1334
1334
|
/** @typedef {"title" | "description"} GenerationEntityType */
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
@@ -1795,25 +1795,9 @@ class ContentPlatformModel {
|
|
|
1795
1795
|
/** @returns {Action} */
|
|
1796
1796
|
static Action() {
|
|
1797
1797
|
return Joi.object({
|
|
1798
|
+
type: Joi.string().allow(""),
|
|
1798
1799
|
page: ContentPlatformModel.ActionPage(),
|
|
1799
1800
|
popup: ContentPlatformModel.ActionPage(),
|
|
1800
|
-
type: Joi.string().allow(""),
|
|
1801
|
-
});
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
/** @returns {ActionPage} */
|
|
1805
|
-
static ActionPage() {
|
|
1806
|
-
return Joi.object({
|
|
1807
|
-
params: Joi.object().pattern(
|
|
1808
|
-
/\S/,
|
|
1809
|
-
Joi.array().items(Joi.string().allow(""))
|
|
1810
|
-
),
|
|
1811
|
-
query: Joi.object().pattern(
|
|
1812
|
-
/\S/,
|
|
1813
|
-
Joi.array().items(Joi.string().allow(""))
|
|
1814
|
-
),
|
|
1815
|
-
url: Joi.string().allow(""),
|
|
1816
|
-
type: ContentPlatformModel.PageType().required(),
|
|
1817
1801
|
});
|
|
1818
1802
|
}
|
|
1819
1803
|
|
|
@@ -3067,6 +3051,22 @@ class ContentPlatformModel {
|
|
|
3067
3051
|
});
|
|
3068
3052
|
}
|
|
3069
3053
|
|
|
3054
|
+
/** @returns {ActionPage} */
|
|
3055
|
+
static ActionPage() {
|
|
3056
|
+
return Joi.object({
|
|
3057
|
+
params: Joi.object().pattern(
|
|
3058
|
+
/\S/,
|
|
3059
|
+
Joi.array().items(Joi.string().allow(""))
|
|
3060
|
+
),
|
|
3061
|
+
query: Joi.object().pattern(
|
|
3062
|
+
/\S/,
|
|
3063
|
+
Joi.array().items(Joi.string().allow(""))
|
|
3064
|
+
),
|
|
3065
|
+
url: Joi.string().allow(""),
|
|
3066
|
+
type: ContentPlatformModel.PageType().required(),
|
|
3067
|
+
});
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
3070
|
/**
|
|
3071
3071
|
* Enum: GenerationEntityType Used By: Content
|
|
3072
3072
|
*
|
|
@@ -41,8 +41,8 @@ export = ContentPlatformValidator;
|
|
|
41
41
|
* @typedef GetCustomFieldDefinitionsParam
|
|
42
42
|
* @property {string} pageNo
|
|
43
43
|
* @property {string} pageSize
|
|
44
|
-
* @property {string} [
|
|
45
|
-
* @property {string} [
|
|
44
|
+
* @property {string} [resource]
|
|
45
|
+
* @property {string} [type]
|
|
46
46
|
* @property {string} [search]
|
|
47
47
|
*/
|
|
48
48
|
/** @typedef GetCustomFieldTypesParam */
|
|
@@ -191,8 +191,8 @@ type GetCustomFieldDefinitionParam = {
|
|
|
191
191
|
type GetCustomFieldDefinitionsParam = {
|
|
192
192
|
pageNo: string;
|
|
193
193
|
pageSize: string;
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
resource?: string;
|
|
195
|
+
type?: string;
|
|
196
196
|
search?: string;
|
|
197
197
|
};
|
|
198
198
|
type GetCustomFieldsParam = {
|
|
@@ -244,4 +244,4 @@ type UpdateCustomObjectDefinitionParam = {
|
|
|
244
244
|
};
|
|
245
245
|
type GetCustomFieldTypesParam = any;
|
|
246
246
|
type GetResourcesParam = any;
|
|
247
|
-
import ContentPlatformModel = require("
|
|
247
|
+
import ContentPlatformModel = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
|
|
@@ -53,8 +53,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
53
53
|
* @typedef GetCustomFieldDefinitionsParam
|
|
54
54
|
* @property {string} pageNo
|
|
55
55
|
* @property {string} pageSize
|
|
56
|
-
* @property {string} [
|
|
57
|
-
* @property {string} [
|
|
56
|
+
* @property {string} [resource]
|
|
57
|
+
* @property {string} [type]
|
|
58
58
|
* @property {string} [search]
|
|
59
59
|
*/
|
|
60
60
|
|
|
@@ -204,8 +204,8 @@ class ContentPlatformValidator {
|
|
|
204
204
|
return Joi.object({
|
|
205
205
|
pageNo: Joi.string().allow("").required(),
|
|
206
206
|
pageSize: Joi.string().allow("").required(),
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
resource: Joi.string().allow(""),
|
|
208
|
+
type: Joi.string().allow(""),
|
|
209
209
|
search: Joi.string().allow(""),
|
|
210
210
|
}).required();
|
|
211
211
|
}
|
|
@@ -8,8 +8,8 @@ declare class Discount {
|
|
|
8
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<DiscountPlatformModel.CancelJobResponse>} - Success response
|
|
10
10
|
* @name cancelDownloadJob
|
|
11
|
-
* @summary:
|
|
12
|
-
* @description: Cancel download
|
|
11
|
+
* @summary: delete discount download job
|
|
12
|
+
* @description: Cancel a discount download job by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/cancelDownloadJob/).
|
|
13
13
|
*/
|
|
14
14
|
cancelDownloadJob({ id, requestHeaders }?: DiscountPlatformValidator.CancelDownloadJobParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.CancelJobResponse>;
|
|
15
15
|
/**
|
|
@@ -18,8 +18,8 @@ declare class Discount {
|
|
|
18
18
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
19
19
|
* @returns {Promise<DiscountPlatformModel.CancelJobResponse>} - Success response
|
|
20
20
|
* @name cancelValidationJob
|
|
21
|
-
* @summary:
|
|
22
|
-
* @description:
|
|
21
|
+
* @summary: deletel validation job discount
|
|
22
|
+
* @description: Cancel validation job of a discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/cancelValidationJob/).
|
|
23
23
|
*/
|
|
24
24
|
cancelValidationJob({ id, requestHeaders }?: DiscountPlatformValidator.CancelValidationJobParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.CancelJobResponse>;
|
|
25
25
|
/**
|
|
@@ -28,8 +28,8 @@ declare class Discount {
|
|
|
28
28
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
29
29
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
30
30
|
* @name createDiscount
|
|
31
|
-
* @summary: Create discount
|
|
32
|
-
* @description:
|
|
31
|
+
* @summary: Create discount
|
|
32
|
+
* @description: Creates a discount. There are additional optional parameters that can be specified in the body of the request when creating a discount - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/createDiscount/).
|
|
33
33
|
*/
|
|
34
34
|
createDiscount({ body, requestHeaders }?: DiscountPlatformValidator.CreateDiscountParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.DiscountJob>;
|
|
35
35
|
/**
|
|
@@ -38,8 +38,8 @@ declare class Discount {
|
|
|
38
38
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
39
39
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
40
40
|
* @name downloadDiscountFile
|
|
41
|
-
* @summary:
|
|
42
|
-
* @description:
|
|
41
|
+
* @summary: Get discount file
|
|
42
|
+
* @description: Retrieve a discount file by its type, it could be product or inventory. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/downloadDiscountFile/).
|
|
43
43
|
*/
|
|
44
44
|
downloadDiscountFile({ type, body, requestHeaders }?: DiscountPlatformValidator.DownloadDiscountFileParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.FileJobResponse>;
|
|
45
45
|
/**
|
|
@@ -48,8 +48,8 @@ declare class Discount {
|
|
|
48
48
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
49
49
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
50
50
|
* @name getDiscount
|
|
51
|
-
* @summary: Get discount
|
|
52
|
-
* @description: Retrieve
|
|
51
|
+
* @summary: Get discount
|
|
52
|
+
* @description: Retrieve a single discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDiscount/).
|
|
53
53
|
*/
|
|
54
54
|
getDiscount({ id, requestHeaders }?: DiscountPlatformValidator.GetDiscountParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.DiscountJob>;
|
|
55
55
|
/**
|
|
@@ -58,8 +58,8 @@ declare class Discount {
|
|
|
58
58
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
59
59
|
* @returns {Promise<DiscountPlatformModel.ListOrCalender>} - Success response
|
|
60
60
|
* @name getDiscounts
|
|
61
|
-
* @summary:
|
|
62
|
-
* @description: Retrieve a list of
|
|
61
|
+
* @summary: List discounts
|
|
62
|
+
* @description: Retrieve a list of discounts. You can also retrieve discounts using filter query parameters. There are additional optional parameters that can be specified in the parameters of the request when retrieving discount - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDiscounts/).
|
|
63
63
|
*/
|
|
64
64
|
getDiscounts({ view, q, pageNo, pageSize, archived, month, year, type, appIds, requestHeaders, }?: DiscountPlatformValidator.GetDiscountsParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.ListOrCalender>;
|
|
65
65
|
/**
|
|
@@ -68,8 +68,8 @@ declare class Discount {
|
|
|
68
68
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
69
69
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
70
70
|
* @name getDownloadJob
|
|
71
|
-
* @summary:
|
|
72
|
-
* @description:
|
|
71
|
+
* @summary: List discount download job
|
|
72
|
+
* @description: Retrieve a discount download job by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDownloadJob/).
|
|
73
73
|
*/
|
|
74
74
|
getDownloadJob({ id, requestHeaders }?: DiscountPlatformValidator.GetDownloadJobParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.FileJobResponse>;
|
|
75
75
|
/**
|
|
@@ -78,8 +78,8 @@ declare class Discount {
|
|
|
78
78
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
79
79
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
80
80
|
* @name getValidationJob
|
|
81
|
-
* @summary:
|
|
82
|
-
* @description:
|
|
81
|
+
* @summary: List validation job discount
|
|
82
|
+
* @description: Retrieve a validation job of a discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getValidationJob/).
|
|
83
83
|
*/
|
|
84
84
|
getValidationJob({ id, requestHeaders }?: DiscountPlatformValidator.GetValidationJobParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.FileJobResponse>;
|
|
85
85
|
/**
|
|
@@ -88,8 +88,8 @@ declare class Discount {
|
|
|
88
88
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
89
89
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
90
90
|
* @name updateDiscount
|
|
91
|
-
* @summary: Update discount
|
|
92
|
-
* @description:
|
|
91
|
+
* @summary: Update discount
|
|
92
|
+
* @description: Update an existing discount by its id. Discount can only be updated after 5 min from last updated time stamp (modified_on). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/updateDiscount/).
|
|
93
93
|
*/
|
|
94
94
|
updateDiscount({ id, body, requestHeaders }?: DiscountPlatformValidator.UpdateDiscountParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.DiscountJob>;
|
|
95
95
|
/**
|
|
@@ -98,8 +98,8 @@ declare class Discount {
|
|
|
98
98
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
99
99
|
* @returns {Promise<Object>} - Success response
|
|
100
100
|
* @name upsertDiscountItems
|
|
101
|
-
* @summary: Upsert discount items
|
|
102
|
-
* @description:
|
|
101
|
+
* @summary: Upsert discount items
|
|
102
|
+
* @description: Enables users to create custom discounts in bulk by providing the multiple products in requestBody. It allows for the efficient creation of multiple discounts simultaneously, streamlining the discount management process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/upsertDiscountItems/).
|
|
103
103
|
*/
|
|
104
104
|
upsertDiscountItems({ id, body, requestHeaders }?: DiscountPlatformValidator.UpsertDiscountItemsParam, { responseHeaders }?: object): Promise<any>;
|
|
105
105
|
/**
|
|
@@ -108,10 +108,10 @@ declare class Discount {
|
|
|
108
108
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
109
109
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
110
110
|
* @name validateDiscountFile
|
|
111
|
-
* @summary: Validate discount file
|
|
112
|
-
* @description:
|
|
111
|
+
* @summary: Validate discount file
|
|
112
|
+
* @description: Validates the discount file for any discrepancies. like item should be valid etc.. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/validateDiscountFile/).
|
|
113
113
|
*/
|
|
114
114
|
validateDiscountFile({ body, discount, requestHeaders }?: DiscountPlatformValidator.ValidateDiscountFileParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.FileJobResponse>;
|
|
115
115
|
}
|
|
116
|
-
import DiscountPlatformValidator = require("
|
|
117
|
-
import DiscountPlatformModel = require("
|
|
116
|
+
import DiscountPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformValidator");
|
|
117
|
+
import DiscountPlatformModel = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
|
|
@@ -20,8 +20,8 @@ class Discount {
|
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
21
|
* @returns {Promise<DiscountPlatformModel.CancelJobResponse>} - Success response
|
|
22
22
|
* @name cancelDownloadJob
|
|
23
|
-
* @summary:
|
|
24
|
-
* @description: Cancel download
|
|
23
|
+
* @summary: delete discount download job
|
|
24
|
+
* @description: Cancel a discount download job by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/cancelDownloadJob/).
|
|
25
25
|
*/
|
|
26
26
|
async cancelDownloadJob(
|
|
27
27
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -99,8 +99,8 @@ class Discount {
|
|
|
99
99
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
100
100
|
* @returns {Promise<DiscountPlatformModel.CancelJobResponse>} - Success response
|
|
101
101
|
* @name cancelValidationJob
|
|
102
|
-
* @summary:
|
|
103
|
-
* @description:
|
|
102
|
+
* @summary: deletel validation job discount
|
|
103
|
+
* @description: Cancel validation job of a discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/cancelValidationJob/).
|
|
104
104
|
*/
|
|
105
105
|
async cancelValidationJob(
|
|
106
106
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -178,8 +178,8 @@ class Discount {
|
|
|
178
178
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
179
179
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
180
180
|
* @name createDiscount
|
|
181
|
-
* @summary: Create discount
|
|
182
|
-
* @description:
|
|
181
|
+
* @summary: Create discount
|
|
182
|
+
* @description: Creates a discount. There are additional optional parameters that can be specified in the body of the request when creating a discount - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/createDiscount/).
|
|
183
183
|
*/
|
|
184
184
|
async createDiscount(
|
|
185
185
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -257,8 +257,8 @@ class Discount {
|
|
|
257
257
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
258
258
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
259
259
|
* @name downloadDiscountFile
|
|
260
|
-
* @summary:
|
|
261
|
-
* @description:
|
|
260
|
+
* @summary: Get discount file
|
|
261
|
+
* @description: Retrieve a discount file by its type, it could be product or inventory. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/downloadDiscountFile/).
|
|
262
262
|
*/
|
|
263
263
|
async downloadDiscountFile(
|
|
264
264
|
{ type, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -338,8 +338,8 @@ class Discount {
|
|
|
338
338
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
339
339
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
340
340
|
* @name getDiscount
|
|
341
|
-
* @summary: Get discount
|
|
342
|
-
* @description: Retrieve
|
|
341
|
+
* @summary: Get discount
|
|
342
|
+
* @description: Retrieve a single discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDiscount/).
|
|
343
343
|
*/
|
|
344
344
|
async getDiscount(
|
|
345
345
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -417,8 +417,8 @@ class Discount {
|
|
|
417
417
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
418
418
|
* @returns {Promise<DiscountPlatformModel.ListOrCalender>} - Success response
|
|
419
419
|
* @name getDiscounts
|
|
420
|
-
* @summary:
|
|
421
|
-
* @description: Retrieve a list of
|
|
420
|
+
* @summary: List discounts
|
|
421
|
+
* @description: Retrieve a list of discounts. You can also retrieve discounts using filter query parameters. There are additional optional parameters that can be specified in the parameters of the request when retrieving discount - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDiscounts/).
|
|
422
422
|
*/
|
|
423
423
|
async getDiscounts(
|
|
424
424
|
{
|
|
@@ -532,8 +532,8 @@ class Discount {
|
|
|
532
532
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
533
533
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
534
534
|
* @name getDownloadJob
|
|
535
|
-
* @summary:
|
|
536
|
-
* @description:
|
|
535
|
+
* @summary: List discount download job
|
|
536
|
+
* @description: Retrieve a discount download job by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getDownloadJob/).
|
|
537
537
|
*/
|
|
538
538
|
async getDownloadJob(
|
|
539
539
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -611,8 +611,8 @@ class Discount {
|
|
|
611
611
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
612
612
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
613
613
|
* @name getValidationJob
|
|
614
|
-
* @summary:
|
|
615
|
-
* @description:
|
|
614
|
+
* @summary: List validation job discount
|
|
615
|
+
* @description: Retrieve a validation job of a discount by its id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/getValidationJob/).
|
|
616
616
|
*/
|
|
617
617
|
async getValidationJob(
|
|
618
618
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -690,8 +690,8 @@ class Discount {
|
|
|
690
690
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
691
691
|
* @returns {Promise<DiscountPlatformModel.DiscountJob>} - Success response
|
|
692
692
|
* @name updateDiscount
|
|
693
|
-
* @summary: Update discount
|
|
694
|
-
* @description:
|
|
693
|
+
* @summary: Update discount
|
|
694
|
+
* @description: Update an existing discount by its id. Discount can only be updated after 5 min from last updated time stamp (modified_on). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/updateDiscount/).
|
|
695
695
|
*/
|
|
696
696
|
async updateDiscount(
|
|
697
697
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -771,8 +771,8 @@ class Discount {
|
|
|
771
771
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
772
772
|
* @returns {Promise<Object>} - Success response
|
|
773
773
|
* @name upsertDiscountItems
|
|
774
|
-
* @summary: Upsert discount items
|
|
775
|
-
* @description:
|
|
774
|
+
* @summary: Upsert discount items
|
|
775
|
+
* @description: Enables users to create custom discounts in bulk by providing the multiple products in requestBody. It allows for the efficient creation of multiple discounts simultaneously, streamlining the discount management process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/upsertDiscountItems/).
|
|
776
776
|
*/
|
|
777
777
|
async upsertDiscountItems(
|
|
778
778
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -850,8 +850,8 @@ class Discount {
|
|
|
850
850
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
851
851
|
* @returns {Promise<DiscountPlatformModel.FileJobResponse>} - Success response
|
|
852
852
|
* @name validateDiscountFile
|
|
853
|
-
* @summary: Validate discount file
|
|
854
|
-
* @description:
|
|
853
|
+
* @summary: Validate discount file
|
|
854
|
+
* @description: Validates the discount file for any discrepancies. like item should be valid etc.. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/discount/validateDiscountFile/).
|
|
855
855
|
*/
|
|
856
856
|
async validateDiscountFile(
|
|
857
857
|
{ body, discount, requestHeaders } = { requestHeaders: {} },
|
|
@@ -183,4 +183,4 @@ type ValidateDiscountFileParam = {
|
|
|
183
183
|
discount?: string;
|
|
184
184
|
body: DiscountPlatformModel.FileJobRequest;
|
|
185
185
|
};
|
|
186
|
-
import DiscountPlatformModel = require("
|
|
186
|
+
import DiscountPlatformModel = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
|
|
@@ -11,8 +11,8 @@ declare class FileStorage {
|
|
|
11
11
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
12
12
|
* @returns {Promise<FileStoragePlatformModel.CompleteResponse>} - Success response
|
|
13
13
|
* @name appCompleteUpload
|
|
14
|
-
* @summary:
|
|
15
|
-
* @description:
|
|
14
|
+
* @summary: Complete file upload for Application
|
|
15
|
+
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database on platform at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appCompleteUpload/).
|
|
16
16
|
*/
|
|
17
17
|
appCompleteUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppCompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.CompleteResponse>;
|
|
18
18
|
/**
|
|
@@ -21,8 +21,8 @@ declare class FileStorage {
|
|
|
21
21
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
22
|
* @returns {Promise<Object>} - Success response
|
|
23
23
|
* @name appCopyFiles
|
|
24
|
-
* @summary:
|
|
25
|
-
* @description:
|
|
24
|
+
* @summary: Copy files for Application
|
|
25
|
+
* @description: Handle multiple file uploads, updating progress and providing detailed status reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appCopyFiles/).
|
|
26
26
|
*/
|
|
27
27
|
appCopyFiles({ body, sync, requestHeaders }?: FileStoragePlatformApplicationValidator.AppCopyFilesParam, { responseHeaders }?: object): Promise<any>;
|
|
28
28
|
/**
|
|
@@ -33,8 +33,8 @@ declare class FileStorage {
|
|
|
33
33
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
34
34
|
* @returns {Promise<FileStoragePlatformModel.StartResponse>} - Success response
|
|
35
35
|
* @name appStartUpload
|
|
36
|
-
* @summary:
|
|
37
|
-
* @description:
|
|
36
|
+
* @summary: Initiates file upload for Application
|
|
37
|
+
* @description: Inititates the process of uploading a file to storage location, and returns a storage link in response on platofrm at application level. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appStartUpload/).
|
|
38
38
|
*/
|
|
39
39
|
appStartUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppStartUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.StartResponse>;
|
|
40
40
|
/**
|
|
@@ -43,8 +43,8 @@ declare class FileStorage {
|
|
|
43
43
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
44
44
|
* @returns {Promise<Object>} - Success response
|
|
45
45
|
* @name appbrowse
|
|
46
|
-
* @summary:
|
|
47
|
-
* @description:
|
|
46
|
+
* @summary: Browse files for Application
|
|
47
|
+
* @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appbrowse/).
|
|
48
48
|
*/
|
|
49
49
|
appbrowse({ namespace, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.AppbrowseParam, { responseHeaders }?: object): Promise<any>;
|
|
50
50
|
/**
|
|
@@ -53,8 +53,8 @@ declare class FileStorage {
|
|
|
53
53
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
54
54
|
* @returns {Promise<Object>} - Success response
|
|
55
55
|
* @name browsefiles
|
|
56
|
-
* @summary: Browse
|
|
57
|
-
* @description:
|
|
56
|
+
* @summary: Browse files for Application
|
|
57
|
+
* @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browsefiles/).
|
|
58
58
|
*/
|
|
59
59
|
browsefiles({ namespace, body, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.BrowsefilesParam, { responseHeaders }?: object): Promise<any>;
|
|
60
60
|
/**
|
|
@@ -65,7 +65,7 @@ declare class FileStorage {
|
|
|
65
65
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
66
66
|
* @returns {Promise<Object>} - Success response
|
|
67
67
|
* @name generatePaymentReceipt
|
|
68
|
-
* @summary: Generate payment receipt
|
|
68
|
+
* @summary: Generate payment receipt
|
|
69
69
|
* @description: Generate Payment Receipt for Jiomart Digital - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/generatePaymentReceipt/).
|
|
70
70
|
*/
|
|
71
71
|
generatePaymentReceipt({ body, requestHeaders }?: FileStoragePlatformApplicationValidator.GeneratePaymentReceiptParam, { responseHeaders }?: object): Promise<any>;
|
|
@@ -77,8 +77,9 @@ declare class FileStorage {
|
|
|
77
77
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
78
78
|
* @returns {Promise<FileStoragePlatformModel.PdfConfigSuccess>} - Success response
|
|
79
79
|
* @name getDefaultHtmlTemplate
|
|
80
|
-
* @summary: Get html template for
|
|
81
|
-
* @description: Get
|
|
80
|
+
* @summary: Get html template for Application
|
|
81
|
+
* @description: Get the saved html template for provided sales channel
|
|
82
|
+
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultHtmlTemplate/).
|
|
82
83
|
*/
|
|
83
84
|
getDefaultHtmlTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSuccess>;
|
|
84
85
|
/**
|
|
@@ -90,8 +91,8 @@ declare class FileStorage {
|
|
|
90
91
|
* @returns {Promise<FileStoragePlatformModel.DummyTemplateDataItems>} -
|
|
91
92
|
* Success response
|
|
92
93
|
* @name getDefaultPdfData
|
|
93
|
-
* @summary: Get default PDF data
|
|
94
|
-
* @description: Retrieve default data for
|
|
94
|
+
* @summary: Get default PDF data
|
|
95
|
+
* @description: Retrieve default pdf payload data for invoice generation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfData/).
|
|
95
96
|
*/
|
|
96
97
|
getDefaultPdfData({ pdfTypeId, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.DummyTemplateDataItems>;
|
|
97
98
|
/**
|
|
@@ -103,8 +104,8 @@ declare class FileStorage {
|
|
|
103
104
|
* @returns {Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>} -
|
|
104
105
|
* Success response
|
|
105
106
|
* @name getDefaultPdfTemplate
|
|
106
|
-
* @summary: Get default PDF template
|
|
107
|
-
* @description: Retrieve the default
|
|
107
|
+
* @summary: Get default PDF template
|
|
108
|
+
* @description: Retrieve to get the default Invoice template. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfTemplate/).
|
|
108
109
|
*/
|
|
109
110
|
getDefaultPdfTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>;
|
|
110
111
|
/**
|
|
@@ -114,8 +115,8 @@ declare class FileStorage {
|
|
|
114
115
|
* @returns {Promise<FileStoragePlatformModel.InvoiceTypesResponse>} -
|
|
115
116
|
* Success response
|
|
116
117
|
* @name getPdfTypes
|
|
117
|
-
* @summary: Get PDF types
|
|
118
|
-
* @description: Retrieve a list of available
|
|
118
|
+
* @summary: Get PDF types
|
|
119
|
+
* @description: Retrieve a list of available invoice types. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfTypes/).
|
|
119
120
|
*/
|
|
120
121
|
getPdfTypes({ countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetPdfTypesParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.InvoiceTypesResponse>;
|
|
121
122
|
/**
|
|
@@ -127,8 +128,8 @@ declare class FileStorage {
|
|
|
127
128
|
* @returns {Promise<FileStoragePlatformModel.PdfConfigSaveSuccess>} -
|
|
128
129
|
* Success response
|
|
129
130
|
* @name saveHtmlTemplate
|
|
130
|
-
* @summary: Save
|
|
131
|
-
* @description:
|
|
131
|
+
* @summary: Save PDF template
|
|
132
|
+
* @description: Save html template for provided sales channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/saveHtmlTemplate/).
|
|
132
133
|
*/
|
|
133
134
|
saveHtmlTemplate({ body, requestHeaders }?: FileStoragePlatformApplicationValidator.SaveHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSaveSuccess>;
|
|
134
135
|
/**
|
|
@@ -161,5 +162,5 @@ declare class FileStorage {
|
|
|
161
162
|
tags: any;
|
|
162
163
|
}): Promise<any>;
|
|
163
164
|
}
|
|
164
|
-
import FileStoragePlatformApplicationValidator = require("
|
|
165
|
-
import FileStoragePlatformModel = require("
|
|
165
|
+
import FileStoragePlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator");
|
|
166
|
+
import FileStoragePlatformModel = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
|