Skip to content

Commit

Permalink
[Auto Generated] 1.3.5-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 11, 2023
1 parent 7c95ce6 commit 228757b
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 69 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
# CHANGE LOG (1.3.4-beta.2) - v1.8.3-prerelease-v2
# CHANGE LOG (1.3.5-beta.1) - v1.8.4-prerelease-v1

## Platform Client



### Catalog



#### getProductBulkUploadHistory

- ##### What's New
- [Added] property `items[]` of schema `ProductBulkRequestList` in response with status code 200

- ##### What's Deprecated
- [Deleted] properties `items.cancelled`, `items.cancelled_records`, `items.company_id`, `items.created_by`, `items.created_on`, `items.failed`, `items.failed_records`, `items.file_path`, `items.is_active`, `items.modified_by`, `items.modified_on`, `items.stage`, `items.succeed`, `items.template`, `items.template_tag`, `items.total` in response with status code 200

- ##### What's Changed
- [Breaking] [Changed] Type from `object` to `array` of property `items` of schema `ProductBulkRequest` in response with status code 200


# CHANGE LOG (1.3.4) - fp-v1.8.3

## Application Client

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
The above code will log the curl command in the console

```bash
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.3.5-beta.2' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
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.3.5-beta.1' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
Active Theme: Emerge
```

Expand Down
2 changes: 1 addition & 1 deletion dist/application.js

Large diffs are not rendered by default.

84 changes: 43 additions & 41 deletions documentation/platform/CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11481,46 +11481,48 @@ List of bulk product upload jobs. See `BulkRequestGetSchema` for details

```json
{
"items": {
"cancelled": 0,
"cancelled_records": [],
"company_id": 61,
"created_by": {
"full_name": "Anuja Yadav",
"user_id": "23218433",
"username": "yadavanuja039_gmail_com_82948"
},
"created_on": "2021-03-12T08:11:06.848000Z",
"failed": 0,
"failed_records": [],
"file_path": "https://hdn-1.fynd.com/company/61/self/documents/product-import/free/original/mkX5ApRmw-sample_bulk_products_footwear.xlsx",
"id": "604b221a73bfa20001cb00e8",
"is_active": true,
"modified_by": {
"user_id": "0",
"username": "Silverbolt"
},
"modified_on": "2021-03-12T08:11:08.646000Z",
"stage": "completed",
"succeed": 1,
"template": {
"banner": "https://hdn-1.fynd.com/seller/pictures/landscape-banner/original/nFPtXR_Beauty_&_Personal_Care_L.jpgf30455a5-d265-4382-b513-65afb9240320/nFPtXR_Beauty_and_Personal_Care_L.jpg",
"departments": [
"men",
"women",
"kids",
"fashion"
],
"description": "Footwear is a garment worn on the feet to protect against environmental adversities like heat or ground textures. Example: Sports Shoes",
"is_expirable": true,
"is_physical": true,
"logo": "https://hdn-1.fynd.com/seller/pictures/logo/original/9Y2UEp_ssssss.jpg7359e4c6-4c53-4dbe-a920-ef8ac658afb1/9Y2UEp_ssssss.jpg",
"name": "Footwear",
"slug": "footwear"
},
"template_tag": "footwear",
"total": 1
},
"items": [
{
"cancelled": 0,
"cancelled_records": [],
"company_id": 61,
"created_by": {
"full_name": "Anuja Yadav",
"user_id": "23218433",
"username": "yadavanuja039_gmail_com_82948"
},
"created_on": "2021-03-12T08:11:06.848000Z",
"failed": 0,
"failed_records": [],
"file_path": "https://hdn-1.fynd.com/company/61/self/documents/product-import/free/original/mkX5ApRmw-sample_bulk_products_footwear.xlsx",
"id": "604b221a73bfa20001cb00e8",
"is_active": true,
"modified_by": {
"user_id": "0",
"username": "Silverbolt"
},
"modified_on": "2021-03-12T08:11:08.646000Z",
"stage": "completed",
"succeed": 1,
"template": {
"banner": "https://hdn-1.fynd.com/seller/pictures/landscape-banner/original/nFPtXR_Beauty_&_Personal_Care_L.jpgf30455a5-d265-4382-b513-65afb9240320/nFPtXR_Beauty_and_Personal_Care_L.jpg",
"departments": [
"men",
"women",
"kids",
"fashion"
],
"description": "Footwear is a garment worn on the feet to protect against environmental adversities like heat or ground textures. Example: Sports Shoes",
"is_expirable": true,
"is_physical": true,
"logo": "https://hdn-1.fynd.com/seller/pictures/logo/original/9Y2UEp_ssssss.jpg7359e4c6-4c53-4dbe-a920-ef8ac658afb1/9Y2UEp_ssssss.jpg",
"name": "Footwear",
"slug": "footwear"
},
"template_tag": "footwear",
"total": 1
}
],
"page": {
"current": 1,
"has_next": true,
Expand Down Expand Up @@ -19940,7 +19942,7 @@ List of fields and validation values fro each. See example below or refer `Inven

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| items | [ProductBulkRequest](#ProductBulkRequest)? | yes | |
| items | [[ProductBulkRequest](#ProductBulkRequest)]? | yes | |
| page | [Page](#Page)? | yes | |


Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gofynd/fdk-client-javascript",
"version": "1.3.4-beta.2",
"version": "1.3.5-beta.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -41,4 +41,4 @@
"!dist",
"!cypress"
]
}
}
4 changes: 2 additions & 2 deletions sdk/platform/Catalog/CatalogPlatformModel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2062,7 +2062,7 @@ export = CatalogPlatformModel;
*/
/**
* @typedef ProductBulkRequestList
* @property {ProductBulkRequest} [items]
* @property {ProductBulkRequest[]} [items]
* @property {Page} [page]
*/
/**
Expand Down Expand Up @@ -6141,7 +6141,7 @@ type ProductBulkRequest = {
/** @returns {ProductBulkRequestList} */
declare function ProductBulkRequestList(): ProductBulkRequestList;
type ProductBulkRequestList = {
items?: ProductBulkRequest;
items?: ProductBulkRequest[];
page?: Page;
};
/** @returns {ProductBundleItem} */
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 @@ -2304,7 +2304,7 @@ const Joi = require("joi");

/**
* @typedef ProductBulkRequestList
* @property {ProductBulkRequest} [items]
* @property {ProductBulkRequest[]} [items]
* @property {Page} [page]
*/

Expand Down Expand Up @@ -6113,7 +6113,7 @@ class CatalogPlatformModel {
/** @returns {ProductBulkRequestList} */
static ProductBulkRequestList() {
return Joi.object({
items: CatalogPlatformModel.ProductBulkRequest(),
items: Joi.array().items(CatalogPlatformModel.ProductBulkRequest()),
page: CatalogPlatformModel.Page(),
});
}
Expand Down
7 changes: 2 additions & 5 deletions tests/common/schema/url-action.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@
}
}
},

{
"name": "faq with category",
"path": "/faq/:category",
Expand All @@ -300,9 +299,7 @@
"page": {
"type": "faq",
"query": {},
"params": {
"category": ["order123"]
}
"params": {}
}
}
}
Expand Down Expand Up @@ -495,7 +492,7 @@
},
{
"name": "shared token",
"path": "/shared-cart/:1234",
"path": "/shared-cart/1234",
"result": {
"action": {
"type": "page",
Expand Down

0 comments on commit 228757b

Please sign in to comment.