Skip to content

Commit

Permalink
[Auto Generated] 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Jan 21, 2025
1 parent 402cc27 commit 4d04267
Show file tree
Hide file tree
Showing 9 changed files with 228 additions and 18 deletions.
150 changes: 150 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,153 @@
# CHANGE LOG (1.6.2) - 2.1.0

## Application Client



### Cart



#### checkoutCart

- ##### What's New
- [Added] property <code>order_tags</code> of schema <code>CartCheckoutDetailCreation</code> in request body


#### checkoutCartV2

- ##### What's New
- [Added] property <code>order_tags</code> of schema <code>CartCheckoutDetailV2Creation</code> in request body


### Logistic



#### getCountries

- ##### What's New
- [Added] <code>query</code> parameter <code>phoneCode</code> (type: <code>string</code>)



#### getCountry

- ##### What's New
- [Added] Possible nullable value <code>true</code> to property <code>fields.address[].input</code> of schema <code>GetCountryFieldsAddress</code> in response with status code 200
- [Breaking] [Added] Possible values <code>list,textbox</code> to property <code>fields.address[].input</code> of schema <code>GetCountryFieldsAddress</code> in response with status code 200
- [Added] property <code>fields.address[].next</code> of schema <code>GetCountryFieldsAddress</code> in response with status code 200

- ##### What's Changed
- [Breaking] [Changed] <code>fields.address[].input</code> made optional in response with status code 200


## Partner Client



### FileStorage



#### signUrls

- ##### What's New
- [Added] method <code>signUrls</code>



### Webhook



#### fetchSubscribers

- ##### What's New
- [Breaking] [Added] Type <code>object</code> to property <code>items[].association</code> of schema <code>Association</code> in response with status code 200
- [Breaking] [Added] Type <code>object</code> to property <code>items[].auth_meta</code> of schema <code>AuthMeta</code> in response with status code 200


## Platform Client



### AuditTrail



#### createAuditLog

- ##### What's New
- [Breaking] [Added] Type <code>object</code> to property <code></code> of schema <code>CreateLogResp</code> in response with status code 200

- ##### What's Deprecated
- [Deleted] Required status to Request body content


### Cart



#### platformCheckoutCart

- ##### What's New
- [Added] property <code>order_tags</code> of schema <code>PlatformCartCheckoutDetailCreation</code> in request body


#### platformCheckoutCartV2

- ##### What's New
- [Added] property <code>order_tags</code> of schema <code>PlatformCartCheckoutDetailV2Creation</code> in request body


### Content



#### createPagePreview

- ##### What's Deprecated
- [Breaking] [Deleted] method <code>createPagePreview</code>



### Order



#### getShipments

- ##### What's New
- [Added] <code>query</code> parameter <code>statusAssigned</code> (type: <code>string</code>)

- [Added] <code>query</code> parameter <code>statusAssignedStartDate</code> (type: <code>string</code>)

- [Added] <code>query</code> parameter <code>statusAssignedEndDate</code> (type: <code>string</code>)



### Payment



#### validateCustomerAndCreditSummary

- ##### What's New
- [Added] method <code>validateCustomerAndCreditSummary</code>



### User



#### createUser

- ##### What's Changed
- [Changed] <code>username</code> made optional in request body


# CHANGE LOG (1.6.1) - 2.1.0

## Application Client
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,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.6.1' --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.6.2' --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.

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.

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.6.1",
"version": "1.6.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/platform/Order/OrderPlatformClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ declare class Order {
* @summary: List shipments
* @description: Get a list of shipments based on the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipments/).
*/
getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, groupEntity, enforceDateFilter, fulfillmentType, requestHeaders, }?: OrderPlatformValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInternalPlatformViewResponseSchema>;
getShipments({ lane, bagStatus, statusAssigned, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, statusAssignedStartDate, statusAssignedEndDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, groupEntity, enforceDateFilter, fulfillmentType, requestHeaders, }?: OrderPlatformValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInternalPlatformViewResponseSchema>;
/**
* @param {OrderPlatformValidator.GetStateManagerConfigParam} arg - Arg object
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
Expand Down
12 changes: 12 additions & 0 deletions sdk/platform/Order/OrderPlatformClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -3337,6 +3337,7 @@ class Order {
{
lane,
bagStatus,
statusAssigned,
statusOverrideLane,
timeToDispatch,
searchType,
Expand All @@ -3345,6 +3346,8 @@ class Order {
toDate,
startDate,
endDate,
statusAssignedStartDate,
statusAssignedEndDate,
dpIds,
stores,
salesChannels,
Expand Down Expand Up @@ -3377,6 +3380,7 @@ class Order {
{
lane,
bagStatus,
statusAssigned,
statusOverrideLane,
timeToDispatch,
searchType,
Expand All @@ -3385,6 +3389,8 @@ class Order {
toDate,
startDate,
endDate,
statusAssignedStartDate,
statusAssignedEndDate,
dpIds,
stores,
salesChannels,
Expand Down Expand Up @@ -3421,6 +3427,7 @@ class Order {
{
lane,
bagStatus,
statusAssigned,
statusOverrideLane,
timeToDispatch,
searchType,
Expand All @@ -3429,6 +3436,8 @@ class Order {
toDate,
startDate,
endDate,
statusAssignedStartDate,
statusAssignedEndDate,
dpIds,
stores,
salesChannels,
Expand Down Expand Up @@ -3466,6 +3475,7 @@ class Order {
const query_params = {};
query_params["lane"] = lane;
query_params["bag_status"] = bagStatus;
query_params["status_assigned"] = statusAssigned;
query_params["status_override_lane"] = statusOverrideLane;
query_params["time_to_dispatch"] = timeToDispatch;
query_params["search_type"] = searchType;
Expand All @@ -3474,6 +3484,8 @@ class Order {
query_params["to_date"] = toDate;
query_params["start_date"] = startDate;
query_params["end_date"] = endDate;
query_params["status_assigned_start_date"] = statusAssignedStartDate;
query_params["status_assigned_end_date"] = statusAssignedEndDate;
query_params["dp_ids"] = dpIds;
query_params["stores"] = stores;
query_params["sales_channels"] = salesChannels;
Expand Down
33 changes: 33 additions & 0 deletions sdk/platform/Order/OrderPlatformValidator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ export = OrderPlatformValidator;
* @typedef GetShipmentsParam
* @property {string} [lane] - Name of lane for which data is to be fetched
* @property {string} [bagStatus] - Comma separated values of bag statuses.
* @property {string} [statusAssigned] - Used to filter shipments based on
* status present in shipment_status_history. For more information on these
* statuses, refer to the Fynd Partners documentation.
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
* bag_status and override lane.
* @property {number} [timeToDispatch] - Indicates the time to dispatch.
Expand All @@ -305,6 +308,15 @@ export = OrderPlatformValidator;
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
* @property {string} [endDate] - The UTC end date in ISO format
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
* @property {string} [statusAssignedStartDate] - Specifies the starting UTC
* date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
* boundary for filtering shipments based on the `created_at` timestamp of
* statuses in the shipment's status history. It allows filtering statuses
* that were created within a specific time range.
* @property {string} [statusAssignedEndDate] - Specifies the ending UTC date
* and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
* for filtering shipments based on the `created_at` timestamp of statuses in
* the shipment's status history.
* @property {string} [dpIds] - A comma-separated list of delivery partner IDs
* to filter results by specific delivery partners.
* @property {string} [stores] - A comma-separated list of store IDs used to
Expand Down Expand Up @@ -1150,6 +1162,12 @@ type GetShipmentsParam = {
* - Comma separated values of bag statuses.
*/
bagStatus?: string;
/**
* - Used to filter shipments based on
* status present in shipment_status_history. For more information on these
* statuses, refer to the Fynd Partners documentation.
*/
statusAssigned?: string;
/**
* - Use this flag to fetch by
* bag_status and override lane.
Expand Down Expand Up @@ -1187,6 +1205,21 @@ type GetShipmentsParam = {
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
*/
endDate?: string;
/**
* - Specifies the starting UTC
* date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
* boundary for filtering shipments based on the `created_at` timestamp of
* statuses in the shipment's status history. It allows filtering statuses
* that were created within a specific time range.
*/
statusAssignedStartDate?: string;
/**
* - Specifies the ending UTC date
* and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
* for filtering shipments based on the `created_at` timestamp of statuses in
* the shipment's status history.
*/
statusAssignedEndDate?: string;
/**
* - A comma-separated list of delivery partner IDs
* to filter results by specific delivery partners.
Expand Down
Loading

0 comments on commit 4d04267

Please sign in to comment.