@gofynd/fdk-client-javascript 3.24.0 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +8 -5
- package/sdk/application/Catalog/CatalogApplicationClient.js +9 -3
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +4 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +2 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +3 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +19 -27
- package/sdk/platform/Cart/CartPlatformModel.js +8 -18
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +48 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +316 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +27 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +38 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +104 -2
- package/sdk/platform/Content/ContentPlatformModel.js +91 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -18
- package/sdk/platform/Order/OrderPlatformModel.js +18 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +40 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +25 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +2 -1
- package/sdk/platform/Theme/ThemePlatformModel.js +3 -0
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
export = ContentPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AppAssociationDeleted
|
|
4
|
+
* @property {string} [message] - Operation status string (e.g. "deleted").
|
|
5
|
+
* @property {string} [application_id] - The application_id whose record was deleted.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @typedef AppAssociationIosPayload
|
|
9
|
+
* @property {Object} [applinks] - Universal Links configuration.
|
|
10
|
+
* @property {Object} [appclips] - App Clips configuration.
|
|
11
|
+
* @property {Object} [webcredentials] - Shared Web Credentials.
|
|
12
|
+
* @property {Object} [activitycontinuation] - Handoff. Deprecated in iOS 14+.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @typedef AppAssociationAndroidStatement
|
|
16
|
+
* @property {string[]} [relation] - Permission relations granted by this statement.
|
|
17
|
+
* @property {Object} [target] - Subject of the statement (android_app or web).
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @typedef AppAssociationWriteBody
|
|
21
|
+
* @property {AppAssociationIosPayload} [ios_payload] - Apple App Site
|
|
22
|
+
* Association JSON. Null to clear.
|
|
23
|
+
* @property {AppAssociationAndroidStatement[]} [android_payload] - Digital
|
|
24
|
+
* Asset Links JSON (array of statements). Null to clear.
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef AppAssociationRecord
|
|
28
|
+
* @property {AppAssociationIosPayload} [ios_payload]
|
|
29
|
+
* @property {AppAssociationAndroidStatement[]} [android_payload]
|
|
30
|
+
* @property {string} [created_at]
|
|
31
|
+
* @property {string} [updated_at]
|
|
32
|
+
* @property {string} [created_by]
|
|
33
|
+
* @property {string} [modified_by]
|
|
34
|
+
*/
|
|
2
35
|
/**
|
|
3
36
|
* @typedef ValidationError
|
|
4
37
|
* @property {string} message - A brief description of the error encountered.
|
|
@@ -1604,6 +1637,7 @@ export = ContentPlatformModel;
|
|
|
1604
1637
|
* | "profile-company"
|
|
1605
1638
|
* | "profile-email"
|
|
1606
1639
|
* | "profile-phone"
|
|
1640
|
+
* | "profile-loyalty-rewards"
|
|
1607
1641
|
* | "rate-us"
|
|
1608
1642
|
* | "refer-earn"
|
|
1609
1643
|
* | "settings"
|
|
@@ -1629,8 +1663,76 @@ export = ContentPlatformModel;
|
|
|
1629
1663
|
declare class ContentPlatformModel {
|
|
1630
1664
|
}
|
|
1631
1665
|
declare namespace ContentPlatformModel {
|
|
1632
|
-
export { ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, TemplateSchema, TemplateField, CreateTagRequestSchema, DataLoaderSchema, TagsTemplateSchema, TagTemplateItem, TemplateLayout, FieldDefinition, FieldValidation, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, SeoTranslate, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
|
|
1666
|
+
export { AppAssociationDeleted, AppAssociationIosPayload, AppAssociationAndroidStatement, AppAssociationWriteBody, AppAssociationRecord, ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, TemplateSchema, TemplateField, CreateTagRequestSchema, DataLoaderSchema, TagsTemplateSchema, TagTemplateItem, TemplateLayout, FieldDefinition, FieldValidation, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, SeoTranslate, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
|
|
1633
1667
|
}
|
|
1668
|
+
/** @returns {AppAssociationDeleted} */
|
|
1669
|
+
declare function AppAssociationDeleted(): AppAssociationDeleted;
|
|
1670
|
+
type AppAssociationDeleted = {
|
|
1671
|
+
/**
|
|
1672
|
+
* - Operation status string (e.g. "deleted").
|
|
1673
|
+
*/
|
|
1674
|
+
message?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* - The application_id whose record was deleted.
|
|
1677
|
+
*/
|
|
1678
|
+
application_id?: string;
|
|
1679
|
+
};
|
|
1680
|
+
/** @returns {AppAssociationIosPayload} */
|
|
1681
|
+
declare function AppAssociationIosPayload(): AppAssociationIosPayload;
|
|
1682
|
+
type AppAssociationIosPayload = {
|
|
1683
|
+
/**
|
|
1684
|
+
* - Universal Links configuration.
|
|
1685
|
+
*/
|
|
1686
|
+
applinks?: any;
|
|
1687
|
+
/**
|
|
1688
|
+
* - App Clips configuration.
|
|
1689
|
+
*/
|
|
1690
|
+
appclips?: any;
|
|
1691
|
+
/**
|
|
1692
|
+
* - Shared Web Credentials.
|
|
1693
|
+
*/
|
|
1694
|
+
webcredentials?: any;
|
|
1695
|
+
/**
|
|
1696
|
+
* - Handoff. Deprecated in iOS 14+.
|
|
1697
|
+
*/
|
|
1698
|
+
activitycontinuation?: any;
|
|
1699
|
+
};
|
|
1700
|
+
/** @returns {AppAssociationAndroidStatement} */
|
|
1701
|
+
declare function AppAssociationAndroidStatement(): AppAssociationAndroidStatement;
|
|
1702
|
+
type AppAssociationAndroidStatement = {
|
|
1703
|
+
/**
|
|
1704
|
+
* - Permission relations granted by this statement.
|
|
1705
|
+
*/
|
|
1706
|
+
relation?: string[];
|
|
1707
|
+
/**
|
|
1708
|
+
* - Subject of the statement (android_app or web).
|
|
1709
|
+
*/
|
|
1710
|
+
target?: any;
|
|
1711
|
+
};
|
|
1712
|
+
/** @returns {AppAssociationWriteBody} */
|
|
1713
|
+
declare function AppAssociationWriteBody(): AppAssociationWriteBody;
|
|
1714
|
+
type AppAssociationWriteBody = {
|
|
1715
|
+
/**
|
|
1716
|
+
* - Apple App Site
|
|
1717
|
+
* Association JSON. Null to clear.
|
|
1718
|
+
*/
|
|
1719
|
+
ios_payload?: AppAssociationIosPayload;
|
|
1720
|
+
/**
|
|
1721
|
+
* - Digital
|
|
1722
|
+
* Asset Links JSON (array of statements). Null to clear.
|
|
1723
|
+
*/
|
|
1724
|
+
android_payload?: AppAssociationAndroidStatement[];
|
|
1725
|
+
};
|
|
1726
|
+
/** @returns {AppAssociationRecord} */
|
|
1727
|
+
declare function AppAssociationRecord(): AppAssociationRecord;
|
|
1728
|
+
type AppAssociationRecord = {
|
|
1729
|
+
ios_payload?: AppAssociationIosPayload;
|
|
1730
|
+
android_payload?: AppAssociationAndroidStatement[];
|
|
1731
|
+
created_at?: string;
|
|
1732
|
+
updated_at?: string;
|
|
1733
|
+
created_by?: string;
|
|
1734
|
+
modified_by?: string;
|
|
1735
|
+
};
|
|
1634
1736
|
/** @returns {ValidationError} */
|
|
1635
1737
|
declare function ValidationError(): ValidationError;
|
|
1636
1738
|
type ValidationError = {
|
|
@@ -4650,4 +4752,4 @@ type GenerationEntityType = "title" | "description";
|
|
|
4650
4752
|
* @returns {PageType}
|
|
4651
4753
|
*/
|
|
4652
4754
|
declare function PageType(): PageType;
|
|
4653
|
-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
4755
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "profile-loyalty-rewards" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @typedef AppAssociationDeleted
|
|
5
|
+
* @property {string} [message] - Operation status string (e.g. "deleted").
|
|
6
|
+
* @property {string} [application_id] - The application_id whose record was deleted.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @typedef AppAssociationIosPayload
|
|
11
|
+
* @property {Object} [applinks] - Universal Links configuration.
|
|
12
|
+
* @property {Object} [appclips] - App Clips configuration.
|
|
13
|
+
* @property {Object} [webcredentials] - Shared Web Credentials.
|
|
14
|
+
* @property {Object} [activitycontinuation] - Handoff. Deprecated in iOS 14+.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @typedef AppAssociationAndroidStatement
|
|
19
|
+
* @property {string[]} [relation] - Permission relations granted by this statement.
|
|
20
|
+
* @property {Object} [target] - Subject of the statement (android_app or web).
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @typedef AppAssociationWriteBody
|
|
25
|
+
* @property {AppAssociationIosPayload} [ios_payload] - Apple App Site
|
|
26
|
+
* Association JSON. Null to clear.
|
|
27
|
+
* @property {AppAssociationAndroidStatement[]} [android_payload] - Digital
|
|
28
|
+
* Asset Links JSON (array of statements). Null to clear.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @typedef AppAssociationRecord
|
|
33
|
+
* @property {AppAssociationIosPayload} [ios_payload]
|
|
34
|
+
* @property {AppAssociationAndroidStatement[]} [android_payload]
|
|
35
|
+
* @property {string} [created_at]
|
|
36
|
+
* @property {string} [updated_at]
|
|
37
|
+
* @property {string} [created_by]
|
|
38
|
+
* @property {string} [modified_by]
|
|
39
|
+
*/
|
|
40
|
+
|
|
3
41
|
/**
|
|
4
42
|
* @typedef ValidationError
|
|
5
43
|
* @property {string} message - A brief description of the error encountered.
|
|
@@ -1806,6 +1844,7 @@ const Joi = require("joi");
|
|
|
1806
1844
|
* | "profile-company"
|
|
1807
1845
|
* | "profile-email"
|
|
1808
1846
|
* | "profile-phone"
|
|
1847
|
+
* | "profile-loyalty-rewards"
|
|
1809
1848
|
* | "rate-us"
|
|
1810
1849
|
* | "refer-earn"
|
|
1811
1850
|
* | "settings"
|
|
@@ -1830,6 +1869,56 @@ const Joi = require("joi");
|
|
|
1830
1869
|
*/
|
|
1831
1870
|
|
|
1832
1871
|
class ContentPlatformModel {
|
|
1872
|
+
/** @returns {AppAssociationDeleted} */
|
|
1873
|
+
static AppAssociationDeleted() {
|
|
1874
|
+
return Joi.object({
|
|
1875
|
+
message: Joi.string().allow(""),
|
|
1876
|
+
application_id: Joi.string().allow(""),
|
|
1877
|
+
});
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
/** @returns {AppAssociationIosPayload} */
|
|
1881
|
+
static AppAssociationIosPayload() {
|
|
1882
|
+
return Joi.object({
|
|
1883
|
+
applinks: Joi.object().pattern(/\S/, Joi.any()),
|
|
1884
|
+
appclips: Joi.object().pattern(/\S/, Joi.any()),
|
|
1885
|
+
webcredentials: Joi.object().pattern(/\S/, Joi.any()),
|
|
1886
|
+
activitycontinuation: Joi.object().pattern(/\S/, Joi.any()),
|
|
1887
|
+
});
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/** @returns {AppAssociationAndroidStatement} */
|
|
1891
|
+
static AppAssociationAndroidStatement() {
|
|
1892
|
+
return Joi.object({
|
|
1893
|
+
relation: Joi.array().items(Joi.string().allow("")),
|
|
1894
|
+
target: Joi.object().pattern(/\S/, Joi.any()),
|
|
1895
|
+
});
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/** @returns {AppAssociationWriteBody} */
|
|
1899
|
+
static AppAssociationWriteBody() {
|
|
1900
|
+
return Joi.object({
|
|
1901
|
+
ios_payload: ContentPlatformModel.AppAssociationIosPayload(),
|
|
1902
|
+
android_payload: Joi.array()
|
|
1903
|
+
.items(ContentPlatformModel.AppAssociationAndroidStatement())
|
|
1904
|
+
.allow(null, ""),
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
/** @returns {AppAssociationRecord} */
|
|
1909
|
+
static AppAssociationRecord() {
|
|
1910
|
+
return Joi.object({
|
|
1911
|
+
ios_payload: ContentPlatformModel.AppAssociationIosPayload(),
|
|
1912
|
+
android_payload: Joi.array()
|
|
1913
|
+
.items(ContentPlatformModel.AppAssociationAndroidStatement())
|
|
1914
|
+
.allow(null, ""),
|
|
1915
|
+
created_at: Joi.string().allow(""),
|
|
1916
|
+
updated_at: Joi.string().allow(""),
|
|
1917
|
+
created_by: Joi.string().allow(""),
|
|
1918
|
+
modified_by: Joi.string().allow(""),
|
|
1919
|
+
});
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1833
1922
|
/** @returns {ValidationError} */
|
|
1834
1923
|
static ValidationError() {
|
|
1835
1924
|
return Joi.object({
|
|
@@ -4027,6 +4116,8 @@ class ContentPlatformModel {
|
|
|
4027
4116
|
|
|
4028
4117
|
"profile-phone",
|
|
4029
4118
|
|
|
4119
|
+
"profile-loyalty-rewards",
|
|
4120
|
+
|
|
4030
4121
|
"rate-us",
|
|
4031
4122
|
|
|
4032
4123
|
"refer-earn",
|
|
@@ -2671,18 +2671,18 @@ export = OrderPlatformModel;
|
|
|
2671
2671
|
*/
|
|
2672
2672
|
/**
|
|
2673
2673
|
* @typedef BundleDetailsSchema
|
|
2674
|
-
* @property {boolean}
|
|
2674
|
+
* @property {boolean} is_base - This serves as the base item, with all other
|
|
2675
2675
|
* items acting as child elements within the bundle to display the hero
|
|
2676
2676
|
* product prominently at the top.
|
|
2677
|
-
* @property {string[]}
|
|
2678
|
-
* @property {string}
|
|
2677
|
+
* @property {string[]} images - An array of image URLs associated with the bundle.
|
|
2678
|
+
* @property {string} group_id - Unique group identifier for the bundle
|
|
2679
2679
|
* generated by seller to club the articles
|
|
2680
|
-
* @property {string}
|
|
2681
|
-
* @property {string}
|
|
2682
|
-
* @property {number}
|
|
2683
|
-
* @property {string}
|
|
2684
|
-
* @property {string}
|
|
2685
|
-
* @property {string}
|
|
2680
|
+
* @property {string} name - Name of the bundle.
|
|
2681
|
+
* @property {string} item_type - Type of the bundle item
|
|
2682
|
+
* @property {number} item_id - Unique identifier of the item.
|
|
2683
|
+
* @property {string} item_code - Item code for the item.
|
|
2684
|
+
* @property {string} item_name - Name of the item.
|
|
2685
|
+
* @property {string} seller_identifier - Identifier for the seller of the bundle.
|
|
2686
2686
|
* @property {number} [bundle_article_quantity] - In orders with multiple
|
|
2687
2687
|
* quantities of the same line item, the line item count remains constant, but
|
|
2688
2688
|
* multiple bundles can exist. To distinguish between these bundles, the
|
|
@@ -11020,40 +11020,40 @@ type BundleDetailsSchema = {
|
|
|
11020
11020
|
* items acting as child elements within the bundle to display the hero
|
|
11021
11021
|
* product prominently at the top.
|
|
11022
11022
|
*/
|
|
11023
|
-
is_base
|
|
11023
|
+
is_base: boolean;
|
|
11024
11024
|
/**
|
|
11025
11025
|
* - An array of image URLs associated with the bundle.
|
|
11026
11026
|
*/
|
|
11027
|
-
images
|
|
11027
|
+
images: string[];
|
|
11028
11028
|
/**
|
|
11029
11029
|
* - Unique group identifier for the bundle
|
|
11030
11030
|
* generated by seller to club the articles
|
|
11031
11031
|
*/
|
|
11032
|
-
group_id
|
|
11032
|
+
group_id: string;
|
|
11033
11033
|
/**
|
|
11034
11034
|
* - Name of the bundle.
|
|
11035
11035
|
*/
|
|
11036
|
-
name
|
|
11036
|
+
name: string;
|
|
11037
11037
|
/**
|
|
11038
11038
|
* - Type of the bundle item
|
|
11039
11039
|
*/
|
|
11040
|
-
item_type
|
|
11040
|
+
item_type: string;
|
|
11041
11041
|
/**
|
|
11042
11042
|
* - Unique identifier of the item.
|
|
11043
11043
|
*/
|
|
11044
|
-
item_id
|
|
11044
|
+
item_id: number;
|
|
11045
11045
|
/**
|
|
11046
11046
|
* - Item code for the item.
|
|
11047
11047
|
*/
|
|
11048
|
-
item_code
|
|
11048
|
+
item_code: string;
|
|
11049
11049
|
/**
|
|
11050
11050
|
* - Name of the item.
|
|
11051
11051
|
*/
|
|
11052
|
-
item_name
|
|
11052
|
+
item_name: string;
|
|
11053
11053
|
/**
|
|
11054
11054
|
* - Identifier for the seller of the bundle.
|
|
11055
11055
|
*/
|
|
11056
|
-
seller_identifier
|
|
11056
|
+
seller_identifier: string;
|
|
11057
11057
|
/**
|
|
11058
11058
|
* - In orders with multiple
|
|
11059
11059
|
* quantities of the same line item, the line item count remains constant, but
|
|
@@ -2915,18 +2915,18 @@ const Joi = require("joi");
|
|
|
2915
2915
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* @typedef BundleDetailsSchema
|
|
2918
|
-
* @property {boolean}
|
|
2918
|
+
* @property {boolean} is_base - This serves as the base item, with all other
|
|
2919
2919
|
* items acting as child elements within the bundle to display the hero
|
|
2920
2920
|
* product prominently at the top.
|
|
2921
|
-
* @property {string[]}
|
|
2922
|
-
* @property {string}
|
|
2921
|
+
* @property {string[]} images - An array of image URLs associated with the bundle.
|
|
2922
|
+
* @property {string} group_id - Unique group identifier for the bundle
|
|
2923
2923
|
* generated by seller to club the articles
|
|
2924
|
-
* @property {string}
|
|
2925
|
-
* @property {string}
|
|
2926
|
-
* @property {number}
|
|
2927
|
-
* @property {string}
|
|
2928
|
-
* @property {string}
|
|
2929
|
-
* @property {string}
|
|
2924
|
+
* @property {string} name - Name of the bundle.
|
|
2925
|
+
* @property {string} item_type - Type of the bundle item
|
|
2926
|
+
* @property {number} item_id - Unique identifier of the item.
|
|
2927
|
+
* @property {string} item_code - Item code for the item.
|
|
2928
|
+
* @property {string} item_name - Name of the item.
|
|
2929
|
+
* @property {string} seller_identifier - Identifier for the seller of the bundle.
|
|
2930
2930
|
* @property {number} [bundle_article_quantity] - In orders with multiple
|
|
2931
2931
|
* quantities of the same line item, the line item count remains constant, but
|
|
2932
2932
|
* multiple bundles can exist. To distinguish between these bundles, the
|
|
@@ -8781,15 +8781,15 @@ class OrderPlatformModel {
|
|
|
8781
8781
|
/** @returns {BundleDetailsSchema} */
|
|
8782
8782
|
static BundleDetailsSchema() {
|
|
8783
8783
|
return Joi.object({
|
|
8784
|
-
is_base: Joi.boolean(),
|
|
8785
|
-
images: Joi.array().items(Joi.string().allow("")),
|
|
8786
|
-
group_id: Joi.string().allow(""),
|
|
8787
|
-
name: Joi.string().allow(""),
|
|
8788
|
-
item_type: Joi.string().allow(""),
|
|
8789
|
-
item_id: Joi.number(),
|
|
8790
|
-
item_code: Joi.string().allow(""),
|
|
8791
|
-
item_name: Joi.string().allow(""),
|
|
8792
|
-
seller_identifier: Joi.string().allow(""),
|
|
8784
|
+
is_base: Joi.boolean().required(),
|
|
8785
|
+
images: Joi.array().items(Joi.string().allow("")).required(),
|
|
8786
|
+
group_id: Joi.string().allow("").required(),
|
|
8787
|
+
name: Joi.string().allow("").required(),
|
|
8788
|
+
item_type: Joi.string().allow("").required(),
|
|
8789
|
+
item_id: Joi.number().required(),
|
|
8790
|
+
item_code: Joi.string().allow("").required(),
|
|
8791
|
+
item_name: Joi.string().allow("").required(),
|
|
8792
|
+
seller_identifier: Joi.string().allow("").required(),
|
|
8793
8793
|
bundle_article_quantity: Joi.number(),
|
|
8794
8794
|
brand_name: Joi.string().allow(""),
|
|
8795
8795
|
size: Joi.string().allow(""),
|
|
@@ -178,6 +178,7 @@ export = ServiceabilityPlatformModel;
|
|
|
178
178
|
* @property {ListViewItems[]} items - List of zone items, each representing a
|
|
179
179
|
* zone's details.
|
|
180
180
|
* @property {Page} page
|
|
181
|
+
* @property {FoDetails} [fo_details]
|
|
181
182
|
*/
|
|
182
183
|
/**
|
|
183
184
|
* @typedef GetZoneByIdSchema
|
|
@@ -1304,6 +1305,9 @@ export = ServiceabilityPlatformModel;
|
|
|
1304
1305
|
* in the courier partner shipment.
|
|
1305
1306
|
* @property {boolean} is_mto - A boolean indicating if the courier partner
|
|
1306
1307
|
* supports Made to Order service.
|
|
1308
|
+
* @property {boolean} [is_mps] - Indicates if shipment configuration is
|
|
1309
|
+
* multi-part shipment or single shipment.
|
|
1310
|
+
* @property {boolean} [is_b2b] - Indicates if the shipment is business-to-business.
|
|
1307
1311
|
* @property {string[]} ignore_scheme_ids - A list of scheme_id which we want to
|
|
1308
1312
|
* ignore in courier_partner assignment.
|
|
1309
1313
|
* @property {Object} [error] - Error Details
|
|
@@ -1974,6 +1978,15 @@ export = ServiceabilityPlatformModel;
|
|
|
1974
1978
|
* @property {string} [name] - Name of the region.
|
|
1975
1979
|
* @property {number} [count] - Count of items in the region.
|
|
1976
1980
|
*/
|
|
1981
|
+
/**
|
|
1982
|
+
* @typedef FoDetails
|
|
1983
|
+
* @property {string} serviceability_type - Serviceability strategy configured
|
|
1984
|
+
* for the fulfillment option. `zone_based` corresponds to the "Restrict to
|
|
1985
|
+
* Zones" strategy and `all` to "Ship to All".
|
|
1986
|
+
* @property {number} active_non_default_zone_count - Number of active,
|
|
1987
|
+
* non-default zones (excluding zones still in progress) mapped to this
|
|
1988
|
+
* fulfillment option.
|
|
1989
|
+
*/
|
|
1977
1990
|
/**
|
|
1978
1991
|
* @typedef ZoneStores
|
|
1979
1992
|
* @property {Object} type - Type of zone store.
|
|
@@ -2887,7 +2900,7 @@ export = ServiceabilityPlatformModel;
|
|
|
2887
2900
|
declare class ServiceabilityPlatformModel {
|
|
2888
2901
|
}
|
|
2889
2902
|
declare namespace ServiceabilityPlatformModel {
|
|
2890
|
-
export { GenerateShipmentsAndCourierPartnerResult, CourierPartnerDetails, PlatformShipmentsRequestSchema, PlatformShipmentsResponseSchema, ShipmentsErrorResult, FulfillmentOption, FulfillmentOptionsList, FulfillmentOptionProducts, FulfillmentOptionStores, FulfillmentOptionBulkValidate, FulfillmentOptionBulkValidateData, FulfillmentOptionBulk, FulfillmentOptionBulkData, OperationResponseSchema, SelfshipSchema, ServiceabilityErrorResult, UpdateZoneData, ZoneUpdateSuccessResult, ServiceabilityDeleteErrorResult, ZoneDeleteSuccessResult, ListViewSchema, GetZoneByIdSchema, CommonErrorResult, CreateZoneDataSchema, ZoneBulkExport, GetZoneBulkExport, CreateBulkZoneData, ZoneSchema, CreateBulkZoneResult, BulkCreateZoneExport, PincodeMopData, PincodeMOPResult, PincodeMopUpdateAuditError, PincodeMopBulkError, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusListingResult, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryResultData, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResult, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, GeoAreaResponseBody, GeoAreaPutResponseBody, GeoAreaGetResponseBody, GeoAreaDetails, Error, CourierAccountDetailsBody, CourierPartnerRuleResult, CourierPartnerRule, BulkFailureResult, FailureResult, CourierPartnerRulesListResult, ShipmentCourierPartnerDetails, ShipmentCourierPartnerResult, CompanyConfig, ApplicationConfigPatch, ApplicationConfigPatchResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, StoreRuleConfigData, StoreRuleDataSchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialNotFound, PackageMaterialsErrorResult, PackageMaterialResult, PackageRule, PackageRuleResult, PackagesListResult, PackageItem, RulePriorityDetails, RulePriorityResult, OptimalLocationsResult, OptimlLocationsRequestSchema, ValidationError, StandardError, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeModelSchema, CourierPartnerSchemeUpdateDetailsSchema, CourierPartnerSchemeList, BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, BulkRegionServiceabilityTatResult, GetCountries, GetLocalities, GetCountry, BulkImportLocalitiesDetails, BulkImportLocalitiesResult, BulkErrorResult, LocalitiesBulkExport, LocalitiesBulkExportFetch, LocalitiesErrorResult, GetLocality, ValidateAddress, ErrorResult, ApplicationConfigPut, ApplicationConfigPutDetail, ApplicationConfigGetResult, InstallCourierPartnerResponseSchema, GetLocalitiesBulkHistory, CompanyConfigurationSchema, StorePolygonServiceabilityRequestBody, StorePolygonServiceabilityResult, StorePolygonServiceabilityGetResult, ZoneProductsBulkPatchDetails, GetZoneProductsBulkPatchResult, CourierPartnerToServiceability, ServiceabilityLocation, CourierPartnerShipments, PromiseObject, PromiseData, PromiseMeta, CourierPartnerPromiseData, DeliveryTat, DeliveryTatSchema, CourierPartnerShipmentsMeta, ShipmentCourierPartnersResult, AreaCode, TAT, LocationDetailsServiceability, CourierPartnerShipmentsArticles, CourierPartnerArticlesPromise, CourierPartnerArticlesReturnReasons, CourierPartnerArticlesReturnReasonsMeta, ArticleWeight, ArticleAttributes, ArticleDimension, PlatformLocationArticles, PlatformLocationArticle, ParentItemIdentifiers, PlatformShipmentsToServiceability, PlatformShipmentsSchema, Packaging, Dimension, FulfillmentOptionItem, ShipmentsPromise, CustomerPromise, ShipmentPromiseMeta, SellerPromise, CourierPartnerPromise, CourierPartnerAttributes, CourierPartnerTAT, CustomerInitialPromise, ShipmentsArticle, ShipmentDimension, ShipmentsMeta, ShipmentsCourierPartner, FulfillmentOptionDefaultFor, BusinessUnit, FulfillmentStores, FulfillmentProducts, CourierPartnerSchemes, CourierPartnerScheme, FulfillmentOptionProduct, NetQuantity, Trader, ProductPublish, TaxIdentifier, ReturnConfig, CustomOrder, Size, Identifier, Page, FulfillmentOptionStore, Address, LatLong, StoreDistance, StoreTimingDetails, StoreTiming, Time, FulfillmentOptionValidate, ProductSchema, StoresSchema, CreatedBy, ModifiedBy, ListViewItems, GeoArea, ListViewProduct, Summary, RegionSchema, ZoneStores, ZoneProduct, ZoneBulkItem, PincodeMopUpdateResult, PincodeCodStatusItem, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, Area, GeoAreaResponseDetail, GeoAreaItemResult, AreaExpanded, Country, Region, Page2, CourierPartnerRuleConditions, LocationRule, LocationRuleValues, StringComparisonOperations, IntComparisonOperations, DateOperations, ArithmeticOperations, CourierPartnerRuleCPListResult, CourierPartnerSchemeDefaultTat, CourierPartnerSchemeTat, CourierPartnerSchemeFeatures, CourierPartnerList, ShipmentsCourierPartnersServiceability, CPShipments, ShipmentsArticles, ArticleSet, ArticleSizeDistribution, SetSize, ArticleDeliverySlots, ArticleReturnReason, CourierPartners, ShipmentCourierPartners, CourierPartnerConfig, BuyboxRuleConfig, PromiseConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, StorePrioritySchema, StoreRuleConditionSchema, CustomerRadiusSchema, CourierPartnerSchemeModel, PackageMaterialRule, PackageMaterialRuleQuantity, Channel, PackageRuleCategory, PackageRuleProduct, PackageRuleProductTag, PackageRuleDepartmentId, PackageRuleProductAttributes, PackageChannel, StoreFilter, PackageRuleSchema, Quantity, PackagePageInfo, OptimalLocationAssignedStoresResult, OptimalLocationArticlesResult, ArticleAssignment, OptimalLocationsArticles, GetCountriesItems, HierarchyItems, CurrencyObject, Localities, PincodeLatLongData, LocalityParent, CountryMetaFields, ApplicationFields, GetCountryFieldsAddress, FieldValidation, FieldValidationRegex, LengthValidation, GetCountryFieldsAddressValues, GetOneOrAll, GetOneOrAllParams, GetOneOrAllPath, GetOneOrAllQuery, GetCountryFieldsAddressTemplateApplication, CountryHierarchy, GetCountryFields, GetCountryFieldsAddressTemplate, LocalityParents, ZoneConfig, PromiseType, InstallCourierPartnerItemsSchema, HistoryObject, StorePolygonServiceabilityRequestData, StorePolygonServiceabilityStore, StorePolygonServiceabilityStoreCoordinates, StorePolygonServiceabilityConfig, StorePolygonServiceabilityPolygon, StorePolygonServiceabilityFeature, StorePolygonServiceabilityGeometry, StorePolygonServiceabilityAttributes, StorePolygonServiceabilityReferenceCoordinates, StorePolygonServiceabilityStoreSummary, StorePolygonServiceabilityError, StorePolygonServiceabilityPagination };
|
|
2903
|
+
export { GenerateShipmentsAndCourierPartnerResult, CourierPartnerDetails, PlatformShipmentsRequestSchema, PlatformShipmentsResponseSchema, ShipmentsErrorResult, FulfillmentOption, FulfillmentOptionsList, FulfillmentOptionProducts, FulfillmentOptionStores, FulfillmentOptionBulkValidate, FulfillmentOptionBulkValidateData, FulfillmentOptionBulk, FulfillmentOptionBulkData, OperationResponseSchema, SelfshipSchema, ServiceabilityErrorResult, UpdateZoneData, ZoneUpdateSuccessResult, ServiceabilityDeleteErrorResult, ZoneDeleteSuccessResult, ListViewSchema, GetZoneByIdSchema, CommonErrorResult, CreateZoneDataSchema, ZoneBulkExport, GetZoneBulkExport, CreateBulkZoneData, ZoneSchema, CreateBulkZoneResult, BulkCreateZoneExport, PincodeMopData, PincodeMOPResult, PincodeMopUpdateAuditError, PincodeMopBulkError, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusListingResult, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryResultData, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResult, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, GeoAreaResponseBody, GeoAreaPutResponseBody, GeoAreaGetResponseBody, GeoAreaDetails, Error, CourierAccountDetailsBody, CourierPartnerRuleResult, CourierPartnerRule, BulkFailureResult, FailureResult, CourierPartnerRulesListResult, ShipmentCourierPartnerDetails, ShipmentCourierPartnerResult, CompanyConfig, ApplicationConfigPatch, ApplicationConfigPatchResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, StoreRuleConfigData, StoreRuleDataSchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialNotFound, PackageMaterialsErrorResult, PackageMaterialResult, PackageRule, PackageRuleResult, PackagesListResult, PackageItem, RulePriorityDetails, RulePriorityResult, OptimalLocationsResult, OptimlLocationsRequestSchema, ValidationError, StandardError, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeModelSchema, CourierPartnerSchemeUpdateDetailsSchema, CourierPartnerSchemeList, BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, BulkRegionServiceabilityTatResult, GetCountries, GetLocalities, GetCountry, BulkImportLocalitiesDetails, BulkImportLocalitiesResult, BulkErrorResult, LocalitiesBulkExport, LocalitiesBulkExportFetch, LocalitiesErrorResult, GetLocality, ValidateAddress, ErrorResult, ApplicationConfigPut, ApplicationConfigPutDetail, ApplicationConfigGetResult, InstallCourierPartnerResponseSchema, GetLocalitiesBulkHistory, CompanyConfigurationSchema, StorePolygonServiceabilityRequestBody, StorePolygonServiceabilityResult, StorePolygonServiceabilityGetResult, ZoneProductsBulkPatchDetails, GetZoneProductsBulkPatchResult, CourierPartnerToServiceability, ServiceabilityLocation, CourierPartnerShipments, PromiseObject, PromiseData, PromiseMeta, CourierPartnerPromiseData, DeliveryTat, DeliveryTatSchema, CourierPartnerShipmentsMeta, ShipmentCourierPartnersResult, AreaCode, TAT, LocationDetailsServiceability, CourierPartnerShipmentsArticles, CourierPartnerArticlesPromise, CourierPartnerArticlesReturnReasons, CourierPartnerArticlesReturnReasonsMeta, ArticleWeight, ArticleAttributes, ArticleDimension, PlatformLocationArticles, PlatformLocationArticle, ParentItemIdentifiers, PlatformShipmentsToServiceability, PlatformShipmentsSchema, Packaging, Dimension, FulfillmentOptionItem, ShipmentsPromise, CustomerPromise, ShipmentPromiseMeta, SellerPromise, CourierPartnerPromise, CourierPartnerAttributes, CourierPartnerTAT, CustomerInitialPromise, ShipmentsArticle, ShipmentDimension, ShipmentsMeta, ShipmentsCourierPartner, FulfillmentOptionDefaultFor, BusinessUnit, FulfillmentStores, FulfillmentProducts, CourierPartnerSchemes, CourierPartnerScheme, FulfillmentOptionProduct, NetQuantity, Trader, ProductPublish, TaxIdentifier, ReturnConfig, CustomOrder, Size, Identifier, Page, FulfillmentOptionStore, Address, LatLong, StoreDistance, StoreTimingDetails, StoreTiming, Time, FulfillmentOptionValidate, ProductSchema, StoresSchema, CreatedBy, ModifiedBy, ListViewItems, GeoArea, ListViewProduct, Summary, RegionSchema, FoDetails, ZoneStores, ZoneProduct, ZoneBulkItem, PincodeMopUpdateResult, PincodeCodStatusItem, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, Area, GeoAreaResponseDetail, GeoAreaItemResult, AreaExpanded, Country, Region, Page2, CourierPartnerRuleConditions, LocationRule, LocationRuleValues, StringComparisonOperations, IntComparisonOperations, DateOperations, ArithmeticOperations, CourierPartnerRuleCPListResult, CourierPartnerSchemeDefaultTat, CourierPartnerSchemeTat, CourierPartnerSchemeFeatures, CourierPartnerList, ShipmentsCourierPartnersServiceability, CPShipments, ShipmentsArticles, ArticleSet, ArticleSizeDistribution, SetSize, ArticleDeliverySlots, ArticleReturnReason, CourierPartners, ShipmentCourierPartners, CourierPartnerConfig, BuyboxRuleConfig, PromiseConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, StorePrioritySchema, StoreRuleConditionSchema, CustomerRadiusSchema, CourierPartnerSchemeModel, PackageMaterialRule, PackageMaterialRuleQuantity, Channel, PackageRuleCategory, PackageRuleProduct, PackageRuleProductTag, PackageRuleDepartmentId, PackageRuleProductAttributes, PackageChannel, StoreFilter, PackageRuleSchema, Quantity, PackagePageInfo, OptimalLocationAssignedStoresResult, OptimalLocationArticlesResult, ArticleAssignment, OptimalLocationsArticles, GetCountriesItems, HierarchyItems, CurrencyObject, Localities, PincodeLatLongData, LocalityParent, CountryMetaFields, ApplicationFields, GetCountryFieldsAddress, FieldValidation, FieldValidationRegex, LengthValidation, GetCountryFieldsAddressValues, GetOneOrAll, GetOneOrAllParams, GetOneOrAllPath, GetOneOrAllQuery, GetCountryFieldsAddressTemplateApplication, CountryHierarchy, GetCountryFields, GetCountryFieldsAddressTemplate, LocalityParents, ZoneConfig, PromiseType, InstallCourierPartnerItemsSchema, HistoryObject, StorePolygonServiceabilityRequestData, StorePolygonServiceabilityStore, StorePolygonServiceabilityStoreCoordinates, StorePolygonServiceabilityConfig, StorePolygonServiceabilityPolygon, StorePolygonServiceabilityFeature, StorePolygonServiceabilityGeometry, StorePolygonServiceabilityAttributes, StorePolygonServiceabilityReferenceCoordinates, StorePolygonServiceabilityStoreSummary, StorePolygonServiceabilityError, StorePolygonServiceabilityPagination };
|
|
2891
2904
|
}
|
|
2892
2905
|
/** @returns {GenerateShipmentsAndCourierPartnerResult} */
|
|
2893
2906
|
declare function GenerateShipmentsAndCourierPartnerResult(): GenerateShipmentsAndCourierPartnerResult;
|
|
@@ -3323,6 +3336,7 @@ type ListViewSchema = {
|
|
|
3323
3336
|
*/
|
|
3324
3337
|
items: ListViewItems[];
|
|
3325
3338
|
page: Page;
|
|
3339
|
+
fo_details?: FoDetails;
|
|
3326
3340
|
};
|
|
3327
3341
|
/** @returns {GetZoneByIdSchema} */
|
|
3328
3342
|
declare function GetZoneByIdSchema(): GetZoneByIdSchema;
|
|
@@ -6122,6 +6136,15 @@ type CourierPartnerShipments = {
|
|
|
6122
6136
|
* supports Made to Order service.
|
|
6123
6137
|
*/
|
|
6124
6138
|
is_mto: boolean;
|
|
6139
|
+
/**
|
|
6140
|
+
* - Indicates if shipment configuration is
|
|
6141
|
+
* multi-part shipment or single shipment.
|
|
6142
|
+
*/
|
|
6143
|
+
is_mps?: boolean;
|
|
6144
|
+
/**
|
|
6145
|
+
* - Indicates if the shipment is business-to-business.
|
|
6146
|
+
*/
|
|
6147
|
+
is_b2b?: boolean;
|
|
6125
6148
|
/**
|
|
6126
6149
|
* - A list of scheme_id which we want to
|
|
6127
6150
|
* ignore in courier_partner assignment.
|
|
@@ -7859,6 +7882,22 @@ type RegionSchema = {
|
|
|
7859
7882
|
*/
|
|
7860
7883
|
count?: number;
|
|
7861
7884
|
};
|
|
7885
|
+
/** @returns {FoDetails} */
|
|
7886
|
+
declare function FoDetails(): FoDetails;
|
|
7887
|
+
type FoDetails = {
|
|
7888
|
+
/**
|
|
7889
|
+
* - Serviceability strategy configured
|
|
7890
|
+
* for the fulfillment option. `zone_based` corresponds to the "Restrict to
|
|
7891
|
+
* Zones" strategy and `all` to "Ship to All".
|
|
7892
|
+
*/
|
|
7893
|
+
serviceability_type: string;
|
|
7894
|
+
/**
|
|
7895
|
+
* - Number of active,
|
|
7896
|
+
* non-default zones (excluding zones still in progress) mapped to this
|
|
7897
|
+
* fulfillment option.
|
|
7898
|
+
*/
|
|
7899
|
+
active_non_default_zone_count: number;
|
|
7900
|
+
};
|
|
7862
7901
|
/** @returns {ZoneStores} */
|
|
7863
7902
|
declare function ZoneStores(): ZoneStores;
|
|
7864
7903
|
type ZoneStores = {
|
|
@@ -199,6 +199,7 @@ const Joi = require("joi");
|
|
|
199
199
|
* @property {ListViewItems[]} items - List of zone items, each representing a
|
|
200
200
|
* zone's details.
|
|
201
201
|
* @property {Page} page
|
|
202
|
+
* @property {FoDetails} [fo_details]
|
|
202
203
|
*/
|
|
203
204
|
|
|
204
205
|
/**
|
|
@@ -1426,6 +1427,9 @@ const Joi = require("joi");
|
|
|
1426
1427
|
* in the courier partner shipment.
|
|
1427
1428
|
* @property {boolean} is_mto - A boolean indicating if the courier partner
|
|
1428
1429
|
* supports Made to Order service.
|
|
1430
|
+
* @property {boolean} [is_mps] - Indicates if shipment configuration is
|
|
1431
|
+
* multi-part shipment or single shipment.
|
|
1432
|
+
* @property {boolean} [is_b2b] - Indicates if the shipment is business-to-business.
|
|
1429
1433
|
* @property {string[]} ignore_scheme_ids - A list of scheme_id which we want to
|
|
1430
1434
|
* ignore in courier_partner assignment.
|
|
1431
1435
|
* @property {Object} [error] - Error Details
|
|
@@ -2168,6 +2172,16 @@ const Joi = require("joi");
|
|
|
2168
2172
|
* @property {number} [count] - Count of items in the region.
|
|
2169
2173
|
*/
|
|
2170
2174
|
|
|
2175
|
+
/**
|
|
2176
|
+
* @typedef FoDetails
|
|
2177
|
+
* @property {string} serviceability_type - Serviceability strategy configured
|
|
2178
|
+
* for the fulfillment option. `zone_based` corresponds to the "Restrict to
|
|
2179
|
+
* Zones" strategy and `all` to "Ship to All".
|
|
2180
|
+
* @property {number} active_non_default_zone_count - Number of active,
|
|
2181
|
+
* non-default zones (excluding zones still in progress) mapped to this
|
|
2182
|
+
* fulfillment option.
|
|
2183
|
+
*/
|
|
2184
|
+
|
|
2171
2185
|
/**
|
|
2172
2186
|
* @typedef ZoneStores
|
|
2173
2187
|
* @property {Object} type - Type of zone store.
|
|
@@ -3419,6 +3433,7 @@ class ServiceabilityPlatformModel {
|
|
|
3419
3433
|
.items(ServiceabilityPlatformModel.ListViewItems())
|
|
3420
3434
|
.required(),
|
|
3421
3435
|
page: ServiceabilityPlatformModel.Page().required(),
|
|
3436
|
+
fo_details: ServiceabilityPlatformModel.FoDetails(),
|
|
3422
3437
|
});
|
|
3423
3438
|
}
|
|
3424
3439
|
|
|
@@ -4715,6 +4730,8 @@ class ServiceabilityPlatformModel {
|
|
|
4715
4730
|
.items(ServiceabilityPlatformModel.CourierPartnerShipmentsArticles())
|
|
4716
4731
|
.required(),
|
|
4717
4732
|
is_mto: Joi.boolean().required(),
|
|
4733
|
+
is_mps: Joi.boolean(),
|
|
4734
|
+
is_b2b: Joi.boolean(),
|
|
4718
4735
|
ignore_scheme_ids: Joi.array().items(Joi.string().allow("")).required(),
|
|
4719
4736
|
error: Joi.object().pattern(/\S/, Joi.any()),
|
|
4720
4737
|
});
|
|
@@ -5539,6 +5556,14 @@ class ServiceabilityPlatformModel {
|
|
|
5539
5556
|
});
|
|
5540
5557
|
}
|
|
5541
5558
|
|
|
5559
|
+
/** @returns {FoDetails} */
|
|
5560
|
+
static FoDetails() {
|
|
5561
|
+
return Joi.object({
|
|
5562
|
+
serviceability_type: Joi.string().allow("").required(),
|
|
5563
|
+
active_non_default_zone_count: Joi.number().required(),
|
|
5564
|
+
});
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5542
5567
|
/** @returns {ZoneStores} */
|
|
5543
5568
|
static ZoneStores() {
|
|
5544
5569
|
return Joi.object({
|
|
@@ -584,6 +584,7 @@ export = ThemePlatformModel;
|
|
|
584
584
|
* | "profile-company"
|
|
585
585
|
* | "profile-email"
|
|
586
586
|
* | "profile-phone"
|
|
587
|
+
* | "profile-loyalty-rewards"
|
|
587
588
|
* | "rate-us"
|
|
588
589
|
* | "refer-earn"
|
|
589
590
|
* | "settings"
|
|
@@ -1667,4 +1668,4 @@ type ActionPage = {
|
|
|
1667
1668
|
* @returns {PageType}
|
|
1668
1669
|
*/
|
|
1669
1670
|
declare function PageType(): PageType;
|
|
1670
|
-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
1671
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "profile-loyalty-rewards" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
@@ -667,6 +667,7 @@ const Joi = require("joi");
|
|
|
667
667
|
* | "profile-company"
|
|
668
668
|
* | "profile-email"
|
|
669
669
|
* | "profile-phone"
|
|
670
|
+
* | "profile-loyalty-rewards"
|
|
670
671
|
* | "rate-us"
|
|
671
672
|
* | "refer-earn"
|
|
672
673
|
* | "settings"
|
|
@@ -1561,6 +1562,8 @@ class ThemePlatformModel {
|
|
|
1561
1562
|
|
|
1562
1563
|
"profile-phone",
|
|
1563
1564
|
|
|
1565
|
+
"profile-loyalty-rewards",
|
|
1566
|
+
|
|
1564
1567
|
"rate-us",
|
|
1565
1568
|
|
|
1566
1569
|
"refer-earn",
|