@gofynd/fdk-client-javascript 1.4.0-beta.3 → 1.4.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/Cart/CartApplicationModel.d.ts +10 -0
- package/sdk/application/Cart/CartApplicationModel.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +10 -0
- package/sdk/platform/Cart/CartPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5 -14
- package/sdk/platform/Order/OrderPlatformModel.js +6 -18
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
214
214
|
The above code will log the curl command in the console
|
|
215
215
|
|
|
216
216
|
```bash
|
|
217
|
-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.0
|
|
217
|
+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
218
218
|
Active Theme: Emerge
|
|
219
219
|
```
|
|
220
220
|
|
package/package.json
CHANGED
|
@@ -81,7 +81,9 @@ export = CartApplicationModel;
|
|
|
81
81
|
* @property {number} [article_quantity] - Quantity of article on which
|
|
82
82
|
* promotion is applicable
|
|
83
83
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
84
|
+
* @property {string} [code] - Promotion code
|
|
84
85
|
* @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
|
|
86
|
+
* @property {Object} [meta] - Meta object for extra data
|
|
85
87
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
86
88
|
* product MRP or ESP
|
|
87
89
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
@@ -1056,10 +1058,18 @@ type AppliedPromotion = {
|
|
|
1056
1058
|
* - Buy rules for promotions
|
|
1057
1059
|
*/
|
|
1058
1060
|
buy_rules?: BuyRules[];
|
|
1061
|
+
/**
|
|
1062
|
+
* - Promotion code
|
|
1063
|
+
*/
|
|
1064
|
+
code?: string;
|
|
1059
1065
|
/**
|
|
1060
1066
|
* - Discount rules for promotions
|
|
1061
1067
|
*/
|
|
1062
1068
|
discount_rules?: DiscountRulesApp[];
|
|
1069
|
+
/**
|
|
1070
|
+
* - Meta object for extra data
|
|
1071
|
+
*/
|
|
1072
|
+
meta?: any;
|
|
1063
1073
|
/**
|
|
1064
1074
|
* - If applied promotion is applied on
|
|
1065
1075
|
* product MRP or ESP
|
|
@@ -88,7 +88,9 @@ const Joi = require("joi");
|
|
|
88
88
|
* @property {number} [article_quantity] - Quantity of article on which
|
|
89
89
|
* promotion is applicable
|
|
90
90
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
91
|
+
* @property {string} [code] - Promotion code
|
|
91
92
|
* @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
|
|
93
|
+
* @property {Object} [meta] - Meta object for extra data
|
|
92
94
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
93
95
|
* product MRP or ESP
|
|
94
96
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
@@ -1129,9 +1131,11 @@ class CartApplicationModel {
|
|
|
1129
1131
|
),
|
|
1130
1132
|
article_quantity: Joi.number(),
|
|
1131
1133
|
buy_rules: Joi.array().items(CartApplicationModel.BuyRules()),
|
|
1134
|
+
code: Joi.string().allow("").allow(null),
|
|
1132
1135
|
discount_rules: Joi.array().items(
|
|
1133
1136
|
CartApplicationModel.DiscountRulesApp()
|
|
1134
1137
|
),
|
|
1138
|
+
meta: Joi.any(),
|
|
1135
1139
|
mrp_promotion: Joi.boolean(),
|
|
1136
1140
|
offer_text: Joi.string().allow(""),
|
|
1137
1141
|
ownership: CartApplicationModel.Ownership(),
|
|
@@ -108,8 +108,10 @@ export = CartPlatformModel;
|
|
|
108
108
|
* @property {number} [article_quantity] - Quantity of article on which
|
|
109
109
|
* promotion is applicable
|
|
110
110
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
111
|
+
* @property {string} [code] - Promotion code
|
|
111
112
|
* @property {CartCurrency} [currency]
|
|
112
113
|
* @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
|
|
114
|
+
* @property {Object} [meta] - Meta object for extra data
|
|
113
115
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
114
116
|
* product MRP or ESP
|
|
115
117
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
@@ -1909,11 +1911,19 @@ type AppliedPromotion = {
|
|
|
1909
1911
|
* - Buy rules for promotions
|
|
1910
1912
|
*/
|
|
1911
1913
|
buy_rules?: BuyRules[];
|
|
1914
|
+
/**
|
|
1915
|
+
* - Promotion code
|
|
1916
|
+
*/
|
|
1917
|
+
code?: string;
|
|
1912
1918
|
currency?: CartCurrency;
|
|
1913
1919
|
/**
|
|
1914
1920
|
* - Discount rules for promotions
|
|
1915
1921
|
*/
|
|
1916
1922
|
discount_rules?: DiscountRulesApp[];
|
|
1923
|
+
/**
|
|
1924
|
+
* - Meta object for extra data
|
|
1925
|
+
*/
|
|
1926
|
+
meta?: any;
|
|
1917
1927
|
/**
|
|
1918
1928
|
* - If applied promotion is applied on
|
|
1919
1929
|
* product MRP or ESP
|
|
@@ -117,8 +117,10 @@ const Joi = require("joi");
|
|
|
117
117
|
* @property {number} [article_quantity] - Quantity of article on which
|
|
118
118
|
* promotion is applicable
|
|
119
119
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
120
|
+
* @property {string} [code] - Promotion code
|
|
120
121
|
* @property {CartCurrency} [currency]
|
|
121
122
|
* @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
|
|
123
|
+
* @property {Object} [meta] - Meta object for extra data
|
|
122
124
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
123
125
|
* product MRP or ESP
|
|
124
126
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
@@ -2033,8 +2035,10 @@ class CartPlatformModel {
|
|
|
2033
2035
|
),
|
|
2034
2036
|
article_quantity: Joi.number(),
|
|
2035
2037
|
buy_rules: Joi.array().items(CartPlatformModel.BuyRules()),
|
|
2038
|
+
code: Joi.string().allow("").allow(null),
|
|
2036
2039
|
currency: CartPlatformModel.CartCurrency(),
|
|
2037
2040
|
discount_rules: Joi.array().items(CartPlatformModel.DiscountRulesApp()),
|
|
2041
|
+
meta: Joi.any(),
|
|
2038
2042
|
mrp_promotion: Joi.boolean(),
|
|
2039
2043
|
offer_text: Joi.string().allow(""),
|
|
2040
2044
|
ownership: CartPlatformModel.Ownership2(),
|
|
@@ -1930,11 +1930,6 @@ export = OrderPlatformModel;
|
|
|
1930
1930
|
* @property {string} [request_id]
|
|
1931
1931
|
* @property {number} [resend_timer]
|
|
1932
1932
|
*/
|
|
1933
|
-
/**
|
|
1934
|
-
* @typedef PostActivityHistory
|
|
1935
|
-
* @property {PostHistoryData} data
|
|
1936
|
-
* @property {PostHistoryFilters[]} filters
|
|
1937
|
-
*/
|
|
1938
1933
|
/**
|
|
1939
1934
|
* @typedef PostHistoryData
|
|
1940
1935
|
* @property {string} message
|
|
@@ -1942,7 +1937,8 @@ export = OrderPlatformModel;
|
|
|
1942
1937
|
*/
|
|
1943
1938
|
/**
|
|
1944
1939
|
* @typedef PostHistoryDict
|
|
1945
|
-
* @property {
|
|
1940
|
+
* @property {PostHistoryData} data
|
|
1941
|
+
* @property {PostHistoryFilters[]} filters
|
|
1946
1942
|
*/
|
|
1947
1943
|
/**
|
|
1948
1944
|
* @typedef PostHistoryFilters
|
|
@@ -2812,7 +2808,7 @@ export = OrderPlatformModel;
|
|
|
2812
2808
|
declare class OrderPlatformModel {
|
|
2813
2809
|
}
|
|
2814
2810
|
declare namespace OrderPlatformModel {
|
|
2815
|
-
export { ActionInfo, AdvanceFilterInfo, Affiliate, AffiliateAppConfig, AffiliateAppConfigMeta, AffiliateBag, AffiliateBagDetails, AffiliateBagsDetails, AffiliateConfig, AffiliateDetails, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryOrderConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateMeta, AffiliateStoreIdMapping, AllowedTemplatesResponse, AnnouncementResponse, AnnouncementsResponse, AppliedPromos, Article, ArticleDetails, ArticleStatusDetails, AttachOrderUser, AttachOrderUserResponse, AttachUserInfo, AttachUserOtpData, Attributes, BagConfigs, BagData, BagDetails, BagDetailsPlatformResponse, BagPaymentMethods, BagReasonMeta, BagReasons, BagReturnableCancelableStatus, Bags, BagsPage, BagStateMapper, BagStateTransitionMap, BagStatusHistory, BagUnit, BaseResponse, BillingInfo, Brand, BulkActionListingData, BulkActionTemplate, BulkActionTemplateResponse, BulkFailedResponse, BulkListingResponse, BulkListinPage, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, BuyerDetails, BuyRules, Charge, CheckResponse, Click2CallResponse, Company, CompanyDetails, ContactDetails, ConversionRate, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, CreateChannelConfig, CreateChannelConfigData, CreateChannelConfigResponse, CreateChannelConifgErrorResponse, CreateChannelPaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, CreateOrderPayload, CreateOrderResponse, CreditBalanceInfo, Currency, CurrencyInfo, CurrentStatus, DataUpdates, DateRange, Dates, DebugInfo, DeliverySlotDetails, Dimension, Dimensions, DiscountRules, DispatchManifest, Document, DpConfiguration, DPDetailsData, EInvoiceDetails, EInvoiceErrorDetails, EInvoiceErrorInfo, EInvoiceErrorResponse, EInvoiceErrorResponseData, EInvoiceErrorResponseDetails, EinvoiceInfo, EInvoiceIrnDetails, EInvoicePortalDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceRetryShipmentData, Entities, EntitiesDataUpdates, EntitiesReasons, EntityReasonData, Error, ErrorDetail, ErrorResponse, FailedOrderLogDetails, FailedOrderLogs, FailedOrdersItem, FetchCreditBalanceRequestPayload, FetchCreditBalanceResponsePayload, FileResponse, FilterInfoOption, Filters, FiltersInfo, FiltersRequest, FiltersResponse, FinancialBreakup, Formatted, FulfillingStore, FyndOrderIdList, GenerateInvoiceIDErrorResponse, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDResponseData, GeneratePosOrderReceiptResponse, GetActionsResponse, GetBagsPlatformResponse, GSTDetailsData, HistoryDict, HistoryMeta, HistoryReason, Identifier, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCachePayload, InvalidateShipmentCacheResponse, InvoiceDetails, InvoiceInfo, Item, ItemCriterias, JobDetailsData, JobDetailsResponse, JobFailedResponse, LaneConfigResponse, LineItem, LocationDetails, LockData, LogPaymentDetails, LogsChannelDetails, Manifest, ManifestDetails, ManifestFile, ManifestFiltersResponse, ManifestItemDetails, ManifestList, ManifestMediaUpdate, ManifestMeta, ManifestPageInfo, ManifestShipmentListing, MarketPlacePdf, Meta, OrderBagArticle, OrderBags, OrderBrandName, OrderConfig, OrderData, OrderDetails, OrderDetailsData, OrderDetailsResponse, OrderInfo, OrderingCurrency, OrderingStoreDetails, OrderItemDataUpdates, OrderListingResponse, OrderPriority, OrderStatus, OrderStatusData, OrderStatusResult, OrderUser, OriginalFilter, Page, PageDetails, PaymentInfo, PaymentMethod, PaymentMethods, PDFLinks, PDFMeta, PhoneDetails, PlatformArticleAttributes, PlatformBreakupValues, PlatformChannel, PlatformDeliveryAddress, PlatformItem, PlatformOrderItems, PlatformOrderUpdate, PlatformShipment, PlatformShipmentReasonsResponse, PlatformShipmentTrack, PlatformTrack, PointBlankOtpData,
|
|
2811
|
+
export { ActionInfo, AdvanceFilterInfo, Affiliate, AffiliateAppConfig, AffiliateAppConfigMeta, AffiliateBag, AffiliateBagDetails, AffiliateBagsDetails, AffiliateConfig, AffiliateDetails, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryOrderConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateMeta, AffiliateStoreIdMapping, AllowedTemplatesResponse, AnnouncementResponse, AnnouncementsResponse, AppliedPromos, Article, ArticleDetails, ArticleStatusDetails, AttachOrderUser, AttachOrderUserResponse, AttachUserInfo, AttachUserOtpData, Attributes, BagConfigs, BagData, BagDetails, BagDetailsPlatformResponse, BagPaymentMethods, BagReasonMeta, BagReasons, BagReturnableCancelableStatus, Bags, BagsPage, BagStateMapper, BagStateTransitionMap, BagStatusHistory, BagUnit, BaseResponse, BillingInfo, Brand, BulkActionListingData, BulkActionTemplate, BulkActionTemplateResponse, BulkFailedResponse, BulkListingResponse, BulkListinPage, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, BuyerDetails, BuyRules, Charge, CheckResponse, Click2CallResponse, Company, CompanyDetails, ContactDetails, ConversionRate, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, CreateChannelConfig, CreateChannelConfigData, CreateChannelConfigResponse, CreateChannelConifgErrorResponse, CreateChannelPaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, CreateOrderPayload, CreateOrderResponse, CreditBalanceInfo, Currency, CurrencyInfo, CurrentStatus, DataUpdates, DateRange, Dates, DebugInfo, DeliverySlotDetails, Dimension, Dimensions, DiscountRules, DispatchManifest, Document, DpConfiguration, DPDetailsData, EInvoiceDetails, EInvoiceErrorDetails, EInvoiceErrorInfo, EInvoiceErrorResponse, EInvoiceErrorResponseData, EInvoiceErrorResponseDetails, EinvoiceInfo, EInvoiceIrnDetails, EInvoicePortalDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceRetryShipmentData, Entities, EntitiesDataUpdates, EntitiesReasons, EntityReasonData, Error, ErrorDetail, ErrorResponse, FailedOrderLogDetails, FailedOrderLogs, FailedOrdersItem, FetchCreditBalanceRequestPayload, FetchCreditBalanceResponsePayload, FileResponse, FilterInfoOption, Filters, FiltersInfo, FiltersRequest, FiltersResponse, FinancialBreakup, Formatted, FulfillingStore, FyndOrderIdList, GenerateInvoiceIDErrorResponse, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDResponseData, GeneratePosOrderReceiptResponse, GetActionsResponse, GetBagsPlatformResponse, GSTDetailsData, HistoryDict, HistoryMeta, HistoryReason, Identifier, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCachePayload, InvalidateShipmentCacheResponse, InvoiceDetails, InvoiceInfo, Item, ItemCriterias, JobDetailsData, JobDetailsResponse, JobFailedResponse, LaneConfigResponse, LineItem, LocationDetails, LockData, LogPaymentDetails, LogsChannelDetails, Manifest, ManifestDetails, ManifestFile, ManifestFiltersResponse, ManifestItemDetails, ManifestList, ManifestMediaUpdate, ManifestMeta, ManifestPageInfo, ManifestShipmentListing, MarketPlacePdf, Meta, OrderBagArticle, OrderBags, OrderBrandName, OrderConfig, OrderData, OrderDetails, OrderDetailsData, OrderDetailsResponse, OrderInfo, OrderingCurrency, OrderingStoreDetails, OrderItemDataUpdates, OrderListingResponse, OrderPriority, OrderStatus, OrderStatusData, OrderStatusResult, OrderUser, OriginalFilter, Page, PageDetails, PaymentInfo, PaymentMethod, PaymentMethods, PDFLinks, PDFMeta, PhoneDetails, PlatformArticleAttributes, PlatformBreakupValues, PlatformChannel, PlatformDeliveryAddress, PlatformItem, PlatformOrderItems, PlatformOrderUpdate, PlatformShipment, PlatformShipmentReasonsResponse, PlatformShipmentTrack, PlatformTrack, PointBlankOtpData, PostHistoryData, PostHistoryDict, PostHistoryFilters, PostShipmentHistory, Prices, ProcessingDates, ProcessManifest, ProcessManifestItemResponse, ProcessManifestResponse, Products, ProductsDataUpdates, ProductsDataUpdatesFilters, ProductsReasons, ProductsReasonsData, ProductsReasonsFilters, QuestionSet, Reason, ReasonsData, RefundModeConfigRequestPayload, RefundModeConfigResponsePayload, RefundModeInfo, RefundOption, ReplacementDetails, ResponseDetail, ReturnConfig, RoleBaseStateTransitionMapping, SendSmsPayload, SendUserMobileOTP, SendUserMobileOtpResponse, Shipment, ShipmentActionInfo, ShipmentBagReasons, ShipmentConfig, ShipmentData, ShipmentDetail, ShipmentDetails, ShipmentGstDetails, ShipmentHistoryResponse, ShipmentInfoResponse, ShipmentInternalPlatformViewResponse, ShipmentItem, ShipmentItemFulFillingStore, ShipmentListingBrand, ShipmentListingChannel, ShipmentLockDetails, ShipmentMeta, ShipmentPayments, ShipmentReasonsResponse, ShipmentResponseReasons, ShipmentsRequest, ShipmentsResponse, ShipmentStatus, ShipmentStatusData, ShipmentTags, ShipmentTimeStamp, ShippingInfo, SmsDataPayload, StatuesRequest, StatuesResponse, Store, StoreAddress, StoreDocuments, StoreEinvoice, StoreEwaybill, StoreGstCredentials, StoreMeta, StoreReassign, StoreReassignResponse, SubLane, SuccessResponse, SuperLane, Tax, TaxDetails, TaxInfo, TemplateDownloadResponse, Templates, TotalShipmentPricesCount, TrackingList, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponse, UpdateShipmentLockPayload, UpdateShipmentLockResponse, UpdateShipmentStatusRequest, UpdateShipmentStatusResponseBody, UploadConsent, URL, UserData, UserDataInfo, UserDetails, UserDetailsData, UserInfo, VerifyMobileOTP, VerifyOtpData, VerifyOtpResponse, VerifyOtpResponseData, Weight, WeightData };
|
|
2816
2812
|
}
|
|
2817
2813
|
/** @returns {ActionInfo} */
|
|
2818
2814
|
declare function ActionInfo(): ActionInfo;
|
|
@@ -5154,12 +5150,6 @@ type PointBlankOtpData = {
|
|
|
5154
5150
|
request_id?: string;
|
|
5155
5151
|
resend_timer?: number;
|
|
5156
5152
|
};
|
|
5157
|
-
/** @returns {PostActivityHistory} */
|
|
5158
|
-
declare function PostActivityHistory(): PostActivityHistory;
|
|
5159
|
-
type PostActivityHistory = {
|
|
5160
|
-
data: PostHistoryData;
|
|
5161
|
-
filters: PostHistoryFilters[];
|
|
5162
|
-
};
|
|
5163
5153
|
/** @returns {PostHistoryData} */
|
|
5164
5154
|
declare function PostHistoryData(): PostHistoryData;
|
|
5165
5155
|
type PostHistoryData = {
|
|
@@ -5169,7 +5159,8 @@ type PostHistoryData = {
|
|
|
5169
5159
|
/** @returns {PostHistoryDict} */
|
|
5170
5160
|
declare function PostHistoryDict(): PostHistoryDict;
|
|
5171
5161
|
type PostHistoryDict = {
|
|
5172
|
-
|
|
5162
|
+
data: PostHistoryData;
|
|
5163
|
+
filters: PostHistoryFilters[];
|
|
5173
5164
|
};
|
|
5174
5165
|
/** @returns {PostHistoryFilters} */
|
|
5175
5166
|
declare function PostHistoryFilters(): PostHistoryFilters;
|
|
@@ -2139,12 +2139,6 @@ const Joi = require("joi");
|
|
|
2139
2139
|
* @property {number} [resend_timer]
|
|
2140
2140
|
*/
|
|
2141
2141
|
|
|
2142
|
-
/**
|
|
2143
|
-
* @typedef PostActivityHistory
|
|
2144
|
-
* @property {PostHistoryData} data
|
|
2145
|
-
* @property {PostHistoryFilters[]} filters
|
|
2146
|
-
*/
|
|
2147
|
-
|
|
2148
2142
|
/**
|
|
2149
2143
|
* @typedef PostHistoryData
|
|
2150
2144
|
* @property {string} message
|
|
@@ -2153,7 +2147,8 @@ const Joi = require("joi");
|
|
|
2153
2147
|
|
|
2154
2148
|
/**
|
|
2155
2149
|
* @typedef PostHistoryDict
|
|
2156
|
-
* @property {
|
|
2150
|
+
* @property {PostHistoryData} data
|
|
2151
|
+
* @property {PostHistoryFilters[]} filters
|
|
2157
2152
|
*/
|
|
2158
2153
|
|
|
2159
2154
|
/**
|
|
@@ -5702,16 +5697,6 @@ class OrderPlatformModel {
|
|
|
5702
5697
|
});
|
|
5703
5698
|
}
|
|
5704
5699
|
|
|
5705
|
-
/** @returns {PostActivityHistory} */
|
|
5706
|
-
static PostActivityHistory() {
|
|
5707
|
-
return Joi.object({
|
|
5708
|
-
data: OrderPlatformModel.PostHistoryData().required(),
|
|
5709
|
-
filters: Joi.array()
|
|
5710
|
-
.items(OrderPlatformModel.PostHistoryFilters())
|
|
5711
|
-
.required(),
|
|
5712
|
-
});
|
|
5713
|
-
}
|
|
5714
|
-
|
|
5715
5700
|
/** @returns {PostHistoryData} */
|
|
5716
5701
|
static PostHistoryData() {
|
|
5717
5702
|
return Joi.object({
|
|
@@ -5723,7 +5708,10 @@ class OrderPlatformModel {
|
|
|
5723
5708
|
/** @returns {PostHistoryDict} */
|
|
5724
5709
|
static PostHistoryDict() {
|
|
5725
5710
|
return Joi.object({
|
|
5726
|
-
|
|
5711
|
+
data: OrderPlatformModel.PostHistoryData().required(),
|
|
5712
|
+
filters: Joi.array()
|
|
5713
|
+
.items(OrderPlatformModel.PostHistoryFilters())
|
|
5714
|
+
.required(),
|
|
5727
5715
|
});
|
|
5728
5716
|
}
|
|
5729
5717
|
|