Skip to content

Commit

Permalink
[Auto Generated] 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Jun 19, 2023
1 parent b23e791 commit e8fc6b6
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 37 deletions.
2 changes: 1 addition & 1 deletion dist/application.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions documentation/platform/CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21436,7 +21436,7 @@ List of fields and validation values fro each. See example below or refer `Inven
| net_quantity | [NetQuantity](#NetQuantity)? | yes | |
| no_of_boxes | number? | yes | |
| product_group_tag | [string]? | yes | |
| product_publish | [ProductPublish1](#ProductPublish1)? | yes | |
| product_publish | [ProductPublish](#ProductPublish)? | yes | |
| requester | string? | yes | |
| return_config | [ReturnConfig](#ReturnConfig) | no | |
| short_description | string? | yes | |
Expand Down Expand Up @@ -21712,7 +21712,7 @@ List of fields and validation values fro each. See example below or refer `Inven
| pending | string? | yes | |
| primary_color | string? | yes | |
| product_group_tag | [string]? | yes | |
| product_publish | [ProductPublish](#ProductPublish)? | yes | |
| product_publish | [ProductPublish1](#ProductPublish1)? | yes | |
| return_config | [ReturnConfigResponse](#ReturnConfigResponse)? | yes | |
| short_description | string? | yes | |
| size_guide | string? | yes | |
Expand Down
1 change: 1 addition & 0 deletions documentation/platform/ORDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -6672,6 +6672,7 @@ Successful Manifest upload!
| ---------- | ---- | -------- | ----------- |
| exclude_bags_next_state | string? | yes | State to be change for Remaining Bag/Products |
| shipments | [[ShipmentsRequest](#ShipmentsRequest)]? | yes | |
| split_shipment | boolean? | yes | Flag to split shipment |
| status | string? | yes | |


Expand Down
52 changes: 26 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gofynd/fdk-client-javascript",
"version": "1.1.1",
"version": "1.1.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/common/AxiosHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function requestInterceptorFn() {
}
const { host, pathname, search } = new URL(url);
const { data, headers, method, params } = config;
headers["x-fp-sdk-version"] = "1.1.1";
headers["x-fp-sdk-version"] = "1.1.2";
let querySearchObj = querystring.parse(search);
querySearchObj = { ...querySearchObj, ...params };
let queryParam = "";
Expand Down
4 changes: 2 additions & 2 deletions sdk/platform/Catalog/CatalogPlatformModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ class CatalogModel {
net_quantity: CatalogModel.NetQuantity(),
no_of_boxes: Joi.number(),
product_group_tag: Joi.array().items(Joi.string().allow("")),
product_publish: CatalogModel.ProductPublish1(),
product_publish: CatalogModel.ProductPublish(),
requester: Joi.string().allow(""),
return_config: CatalogModel.ReturnConfig().required(),
short_description: Joi.string().allow(""),
Expand Down Expand Up @@ -2504,7 +2504,7 @@ class CatalogModel {
pending: Joi.string().allow(""),
primary_color: Joi.string().allow(""),
product_group_tag: Joi.array().items(Joi.string().allow("")),
product_publish: CatalogModel.ProductPublish(),
product_publish: CatalogModel.ProductPublish1(),
return_config: CatalogModel.ReturnConfigResponse(),
short_description: Joi.string().allow(""),
size_guide: Joi.string().allow(""),
Expand Down
1 change: 1 addition & 0 deletions sdk/platform/Order/OrderPlatformModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,7 @@ class OrderModel {
return Joi.object({
exclude_bags_next_state: Joi.string().allow(""),
shipments: Joi.array().items(OrderModel.ShipmentsRequest()),
split_shipment: Joi.boolean(),
status: Joi.string().allow(""),
});
}
Expand Down
5 changes: 3 additions & 2 deletions sdk/platform/PlatformClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4640,6 +4640,7 @@ type SmsDataPayload = {
type StatuesRequest = {
exclude_bags_next_state?: string;
shipments?: ShipmentsRequest[];
split_shipment?: boolean;
status?: string;
};
type StatuesResponse = {
Expand Down Expand Up @@ -6594,7 +6595,7 @@ type ProductCreateUpdateSchemaV2 = {
net_quantity?: NetQuantity;
no_of_boxes?: number;
product_group_tag?: string[];
product_publish?: ProductPublish1;
product_publish?: ProductPublish;
requester?: string;
return_config: ReturnConfig;
short_description?: string;
Expand Down Expand Up @@ -6774,7 +6775,7 @@ type ProductSchemaV2 = {
pending?: string;
primary_color?: string;
product_group_tag?: string[];
product_publish?: ProductPublish;
product_publish?: ProductPublish1;
return_config?: ReturnConfigResponse;
short_description?: string;
size_guide?: string;
Expand Down
5 changes: 3 additions & 2 deletions sdk/platform/PlatformClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -5481,6 +5481,7 @@ class PlatformClient {
* @typedef StatuesRequest
* @property {string} [exclude_bags_next_state]
* @property {ShipmentsRequest[]} [shipments]
* @property {boolean} [split_shipment]
* @property {string} [status]
*/
/**
Expand Down Expand Up @@ -7760,7 +7761,7 @@ class PlatformClient {
* @property {NetQuantity} [net_quantity]
* @property {number} [no_of_boxes]
* @property {string[]} [product_group_tag]
* @property {ProductPublish1} [product_publish]
* @property {ProductPublish} [product_publish]
* @property {string} [requester]
* @property {ReturnConfig} return_config
* @property {string} [short_description]
Expand Down Expand Up @@ -7956,7 +7957,7 @@ class PlatformClient {
* @property {string} [pending]
* @property {string} [primary_color]
* @property {string[]} [product_group_tag]
* @property {ProductPublish} [product_publish]
* @property {ProductPublish1} [product_publish]
* @property {ReturnConfigResponse} [return_config]
* @property {string} [short_description]
* @property {string} [size_guide]
Expand Down

0 comments on commit e8fc6b6

Please sign in to comment.