Skip to content

Commit 2b896bd

Browse files
committed
[Auto Generated] 3.12.0
1 parent f7fa624 commit 2b896bd

25 files changed

+2649
-1265
lines changed

CHANGELOG.md

Lines changed: 593 additions & 0 deletions
Large diffs are not rendered by default.

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@3.11.0#egg=fdk_client"
17+
pip install "git+https://github.com/gofynd/fdk-client-python.git@3.12.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__ = "3.11.0"
1+
__version__ = "3.12.0"

fdk_client/application/cart/client.py

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

fdk_client/application/cart/enums.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

fdk_client/application/cart/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from ..ApplicationModel import BaseSchema
77

88

9-
from .enums import *
10-
119

1210

1311
class BuyRules(BaseSchema):
@@ -1151,6 +1149,8 @@ class CartProductInfo(BaseSchema):
11511149

11521150
promotions_applied = fields.List(fields.Nested(AppliedPromotion, required=False), required=False)
11531151

1152+
item_type = fields.Str(required=False)
1153+
11541154

11551155

11561156
class DisplayBreakup(BaseSchema):

fdk_client/application/cart/validator.py

Lines changed: 24 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212

1313

14-
15-
from .models import OrderingSource
16-
14+
1715

1816

1917

@@ -27,9 +25,7 @@
2725

2826

2927

30-
31-
from .models import OrderingSource
32-
28+
3329

3430

3531

@@ -38,9 +34,7 @@
3834

3935

4036

41-
42-
from .models import OrderingSource
43-
37+
4438

4539

4640

@@ -50,9 +44,7 @@
5044

5145

5246

53-
54-
from .models import OrderingSource
55-
47+
5648

5749

5850

@@ -73,9 +65,7 @@
7365

7466

7567

76-
77-
from .models import OrderingSource
78-
68+
7969

8070

8171

@@ -84,9 +74,7 @@
8474

8575

8676

87-
88-
from .models import OrderingSource
89-
77+
9078

9179

9280

@@ -97,9 +85,7 @@
9785

9886

9987

100-
101-
from .models import OrderingSource
102-
88+
10389

10490

10591

@@ -130,25 +116,19 @@
130116

131117

132118

133-
134-
from .models import OrderingSource
135-
119+
136120

137121

138122

139123

140124

141125

142-
143-
from .models import OrderingSource
144-
126+
145127

146128

147129

148130

149-
150-
from .models import OrderingSource
151-
131+
152132

153133

154134

@@ -171,9 +151,7 @@
171151

172152

173153

174-
175-
from .models import OrderingSource
176-
154+
177155

178156

179157

@@ -210,9 +188,7 @@
210188

211189

212190

213-
214-
from .models import OrderingSource
215-
191+
216192

217193

218194

@@ -222,7 +198,7 @@ class CartValidator:
222198
class getCart(BaseSchema):
223199

224200

225-
x__ordering__source = fields.Nested(OrderingSource, required=False)
201+
x__ordering__source = fields.Str(required=False)
226202

227203
id = fields.Str(required=False)
228204

@@ -252,7 +228,7 @@ class getCartLastModified(BaseSchema):
252228
class addItems(BaseSchema):
253229

254230

255-
x__ordering__source = fields.Nested(OrderingSource, required=False)
231+
x__ordering__source = fields.Str(required=False)
256232

257233
i = fields.Boolean(required=False)
258234

@@ -271,7 +247,7 @@ class addItems(BaseSchema):
271247
class updateCart(BaseSchema):
272248

273249

274-
x__ordering__source = fields.Nested(OrderingSource, required=False)
250+
x__ordering__source = fields.Str(required=False)
275251

276252
id = fields.Str(required=False)
277253

@@ -292,7 +268,7 @@ class updateCart(BaseSchema):
292268
class updateCartBreakup(BaseSchema):
293269

294270

295-
x__ordering__source = fields.Nested(OrderingSource, required=False)
271+
x__ordering__source = fields.Str(required=False)
296272

297273
id = fields.Str(required=False)
298274

@@ -338,7 +314,7 @@ class getCoupons(BaseSchema):
338314
class applyCoupon(BaseSchema):
339315

340316

341-
x__ordering__source = fields.Nested(OrderingSource, required=False)
317+
x__ordering__source = fields.Str(required=False)
342318

343319
i = fields.Boolean(required=False)
344320

@@ -357,7 +333,7 @@ class applyCoupon(BaseSchema):
357333
class removeCoupon(BaseSchema):
358334

359335

360-
x__ordering__source = fields.Nested(OrderingSource, required=False)
336+
x__ordering__source = fields.Str(required=False)
361337

362338
id = fields.Str(required=False)
363339

@@ -381,7 +357,7 @@ class getBulkDiscountOffers(BaseSchema):
381357
class applyLoyaltyPoints(BaseSchema):
382358

383359

384-
x__ordering__source = fields.Nested(OrderingSource, required=False)
360+
x__ordering__source = fields.Str(required=False)
385361

386362
id = fields.Str(required=False)
387363

@@ -451,7 +427,7 @@ class removeAddress(BaseSchema):
451427
class selectAddress(BaseSchema):
452428

453429

454-
x__ordering__source = fields.Nested(OrderingSource, required=False)
430+
x__ordering__source = fields.Str(required=False)
455431

456432
cart_id = fields.Str(required=False)
457433

@@ -466,7 +442,7 @@ class selectAddress(BaseSchema):
466442
class selectPaymentMode(BaseSchema):
467443

468444

469-
x__ordering__source = fields.Nested(OrderingSource, required=False)
445+
x__ordering__source = fields.Str(required=False)
470446

471447
id = fields.Str(required=False)
472448

@@ -477,7 +453,7 @@ class selectPaymentMode(BaseSchema):
477453
class validateCouponForPayment(BaseSchema):
478454

479455

480-
x__ordering__source = fields.Nested(OrderingSource, required=False)
456+
x__ordering__source = fields.Str(required=False)
481457

482458
id = fields.Str(required=False)
483459

@@ -525,7 +501,7 @@ class getShipments(BaseSchema):
525501
class checkoutCart(BaseSchema):
526502

527503

528-
x__ordering__source = fields.Nested(OrderingSource, required=False)
504+
x__ordering__source = fields.Str(required=False)
529505

530506
buy_now = fields.Boolean(required=False)
531507

@@ -609,7 +585,7 @@ class getPromotionPaymentOffers(BaseSchema):
609585
class checkoutCartV2(BaseSchema):
610586

611587

612-
x__ordering__source = fields.Nested(OrderingSource, required=False)
588+
x__ordering__source = fields.Str(required=False)
613589

614590
buy_now = fields.Boolean(required=False)
615591

0 commit comments

Comments
 (0)