Skip to content

Commit 226119c

Browse files
committed
[Auto Generated] 3.14.0
1 parent 420da10 commit 226119c

File tree

8 files changed

+93
-11
lines changed

8 files changed

+93
-11
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
# CHANGE LOG (3.14.0) - 2.9.3
2+
3+
## Platform Client
4+
5+
6+
7+
### Cart
8+
9+
10+
11+
#### platformAddItems
12+
13+
- ##### What's New
14+
- [Added] property <code>default_cart</code> of schema <code>PlatformAddCartDetails</code> in request body
15+
16+
17+
### Catalog
18+
19+
20+
21+
#### getAppProducts
22+
23+
- ##### What's New
24+
- [Added] Possible nullable value <code>true</code> to property <code>items[].hs_code</code> of schema <code>RawProduct</code> in response with status code 200
25+
26+
27+
#### validateProductGlobalTemplate
28+
29+
- ##### What's New
30+
- [Added] Possible nullable value <code>true</code> to property <code>data.global_validation.properties.hs_code</code> of schema <code>Properties</code> in response with status code 200
31+
32+
33+
#### getProductSize
34+
35+
- ##### What's New
36+
- [Added] Possible nullable value <code>true</code> to property <code>items[].hs_code</code> of schema <code>Product</code> in response with status code 200
37+
38+
39+
#### getProducts
40+
41+
- ##### What's New
42+
- [Added] Possible nullable value <code>true</code> to property <code>items[].hs_code</code> of schema <code>ProductSchemaV2</code> in response with status code 200
43+
44+
45+
#### createProduct
46+
47+
- ##### What's New
48+
- [Added] Possible nullable value <code>true</code> to property <code>hs_code</code> of schema <code>ProductCreateSchemaV3</code> in request body
49+
50+
51+
#### editProduct
52+
53+
- ##### What's New
54+
- [Added] Possible nullable value <code>true</code> to property <code>hs_code</code> of schema <code>ProductUpdateSchemaV3</code> in request body
55+
56+
57+
#### partialUpdateProduct
58+
59+
- ##### What's New
60+
- [Added] Possible nullable value <code>true</code> to property <code>hs_code</code> of schema <code>ProductPatchSchemaV3</code> in request body
61+
62+
63+
#### getProduct
64+
65+
- ##### What's New
66+
- [Added] Possible nullable value <code>true</code> to property <code>data.hs_code</code> of schema <code>ProductSchemaV2</code> in response with status code 200
67+
68+
69+
### Order
70+
71+
72+
73+
#### createOrder
74+
75+
- ##### What's New
76+
- [Added] property <code>meta</code> of schema <code>CreateOrderRequestSchema</code> in request body
77+
78+
179
# CHANGE LOG (v3.13.0) - 2.9.2
280

381
## Platform Client

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get started with the python Development SDK for Fynd Platform
1414
### Usage
1515

1616
```bash
17-
pip install "git+https://github.com/gofynd/fdk-client-python.git@v3.13.0#egg=fdk_client"
17+
pip install "git+https://github.com/gofynd/fdk-client-python.git@3.14.0#egg=fdk_client"
1818
```
1919

2020
Using this method, you can `import` fdk-client-python like so:

fdk_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "v3.13.0"
1+
__version__ = "3.14.0"

fdk_client/platform/cart/applicationClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ async def getCart(self, x_ordering_source=None, id=None, user_id=None, order_typ
19311931
return response
19321932

19331933
async def platformAddItems(self, x_ordering_source=None, i=None, b=None, buy_now=None, order_type=None, id=None, body="", request_headers:Dict={}):
1934-
"""Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it.
1934+
"""Adds product items to a customer's shopping cart. If the customer does not have an existing cart, a new one is created automatically. - The `new_cart` flag forces creation of a new cart even if one already exists. - The `default_cart` flag determines whether the item is added to the user's default storefront-visible cart. If `true`, the item is added to the user's default cart that is accessible via the storefront. If `false`, an existing active cart is fetched if available; otherwise, a new hidden cart is created.
19351935
:param x-ordering-source : Ordering source header, to be used to identify source of order creation. : type string
19361936
:param i : This is a boolean value. Select `true` to retrieve all the items added in the cart. : type boolean
19371937
:param b : This is a boolean value. Select `true` to retrieve the price breakup of cart items. : type boolean

fdk_client/platform/cart/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4023,6 +4023,8 @@ class PlatformAddCartDetails(BaseSchema):
40234023

40244024
new_cart = fields.Boolean(required=False)
40254025

4026+
default_cart = fields.Boolean(required=False)
4027+
40264028
items = fields.List(fields.Nested(AddProductCart, required=False), required=False)
40274029

40284030

fdk_client/platform/catalog/models.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3979,7 +3979,7 @@ class RawProduct(BaseSchema):
39793979

39803980
highlights = fields.List(fields.Str(required=False), required=False)
39813981

3982-
hs_code = fields.Str(required=False)
3982+
hs_code = fields.Str(required=False, allow_none=True)
39833983

39843984
hsn_code = fields.Str(required=False)
39853985

@@ -6593,7 +6593,7 @@ class Product(BaseSchema):
65936593

65946594
highlights = fields.List(fields.Str(required=False), required=False)
65956595

6596-
hs_code = fields.Str(required=False)
6596+
hs_code = fields.Str(required=False, allow_none=True)
65976597

65986598
hsn_code = fields.Str(required=False)
65996599

@@ -6859,7 +6859,7 @@ class ProductCreateSchemaV3(BaseSchema):
68596859

68606860
variants = fields.Dict(required=False)
68616861

6862-
hs_code = fields.Str(required=False)
6862+
hs_code = fields.Str(required=False, allow_none=True)
68636863

68646864
bundle_details = fields.List(fields.Nested(BundleDetails, required=False), required=False)
68656865

@@ -6939,7 +6939,7 @@ class ProductUpdateSchemaV3(BaseSchema):
69396939

69406940
tax_identifier = fields.Nested(TaxIdentifierV3, required=False)
69416941

6942-
hs_code = fields.Str(required=False)
6942+
hs_code = fields.Str(required=False, allow_none=True)
69436943

69446944
teaser_tag = fields.Nested(TeaserTag, required=False)
69456945

@@ -7005,7 +7005,7 @@ class ProductPatchSchemaV3(BaseSchema):
70057005

70067006
tax_identifier = fields.Nested(TaxIdentifierV3, required=False)
70077007

7008-
hs_code = fields.Str(required=False)
7008+
hs_code = fields.Str(required=False, allow_none=True)
70097009

70107010
teaser_tag = fields.Nested(TeaserTag, required=False)
70117011

@@ -7745,7 +7745,7 @@ class ProductSchemaV2(BaseSchema):
77457745

77467746
highlights = fields.List(fields.Str(required=False), required=False)
77477747

7748-
hs_code = fields.Str(required=False)
7748+
hs_code = fields.Str(required=False, allow_none=True)
77497749

77507750
hsn_code = fields.Str(required=False)
77517751

@@ -8061,7 +8061,7 @@ class Properties(BaseSchema):
80618061

80628062
highlights = fields.Dict(required=False)
80638063

8064-
hs_code = fields.Dict(required=False)
8064+
hs_code = fields.Dict(required=False, allow_none=True)
80658065

80668066
hsn_code = fields.Dict(required=False)
80678067

fdk_client/platform/order/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5929,6 +5929,8 @@ class CreateOrderRequestSchema(BaseSchema):
59295929

59305930
is_draft = fields.Boolean(required=False)
59315931

5932+
meta = fields.Dict(required=False)
5933+
59325934

59335935

59345936
class Page(BaseSchema):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name='fdk_client',
14-
version='v3.13.0',
14+
version='3.14.0',
1515
author='Manish Magnani',
1616
description=description,
1717
long_description=long_description,

0 commit comments

Comments
 (0)