Skip to content

Commit

Permalink
[Auto Generated] 1.3.11-beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Dec 20, 2023
1 parent f979e2b commit ac58f1d
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 37 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CHANGE LOG (1.3.11-beta.4) - v1.8.7-prerelease-v4
# CHANGE LOG (1.3.11-beta.5) - v1.8.7-prerelease-v5

## Platform 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.11-beta.4' --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.11-beta.5' --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.

23 changes: 10 additions & 13 deletions documentation/platform/ORDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -787,17 +787,14 @@ NOTE success response can contains success and failed result as well

```json
{
"items": {
"type": "array",
"items": [
{
"shipment_id": "16838049724111283577",
"success": true,
"invoice_id": "A0B1C2D3",
"error_message": null
}
]
}
"items": [
{
"shipment_id": "16838049724111283577",
"success": true,
"invoice_id": "A0B1C2D3",
"error_message": null
}
]
}
```
</details>
Expand Down Expand Up @@ -6760,7 +6757,7 @@ Verify OTP

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| items | [GenerateInvoiceIDErrorResponseData](#GenerateInvoiceIDErrorResponseData)? | yes | |
| items | [[GenerateInvoiceIDErrorResponseData](#GenerateInvoiceIDErrorResponseData)]? | yes | |


---
Expand Down Expand Up @@ -6790,7 +6787,7 @@ Verify OTP

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| items | [GenerateInvoiceIDResponseData](#GenerateInvoiceIDResponseData)? | yes | |
| items | [[GenerateInvoiceIDResponseData](#GenerateInvoiceIDResponseData)]? | yes | |


---
Expand Down
16 changes: 8 additions & 8 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.3.11-beta.4",
"version": "1.3.11-beta.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions sdk/platform/Order/OrderPlatformModel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ export = OrderPlatformModel;
*/
/**
* @typedef GenerateInvoiceIDErrorResponse
* @property {GenerateInvoiceIDErrorResponseData} [items]
* @property {GenerateInvoiceIDErrorResponseData[]} [items]
*/
/**
* @typedef GenerateInvoiceIDErrorResponseData
Expand All @@ -979,7 +979,7 @@ export = OrderPlatformModel;
*/
/**
* @typedef GenerateInvoiceIDResponse
* @property {GenerateInvoiceIDResponseData} [items]
* @property {GenerateInvoiceIDResponseData[]} [items]
*/
/**
* @typedef GenerateInvoiceIDResponseData
Expand Down Expand Up @@ -3620,7 +3620,7 @@ type FyndOrderIdList = {
/** @returns {GenerateInvoiceIDErrorResponse} */
declare function GenerateInvoiceIDErrorResponse(): GenerateInvoiceIDErrorResponse;
type GenerateInvoiceIDErrorResponse = {
items?: GenerateInvoiceIDErrorResponseData;
items?: GenerateInvoiceIDErrorResponseData[];
};
/** @returns {GenerateInvoiceIDErrorResponseData} */
declare function GenerateInvoiceIDErrorResponseData(): GenerateInvoiceIDErrorResponseData;
Expand All @@ -3638,7 +3638,7 @@ type GenerateInvoiceIDRequest = {
/** @returns {GenerateInvoiceIDResponse} */
declare function GenerateInvoiceIDResponse(): GenerateInvoiceIDResponse;
type GenerateInvoiceIDResponse = {
items?: GenerateInvoiceIDResponseData;
items?: GenerateInvoiceIDResponseData[];
};
/** @returns {GenerateInvoiceIDResponseData} */
declare function GenerateInvoiceIDResponseData(): GenerateInvoiceIDResponseData;
Expand Down
20 changes: 12 additions & 8 deletions sdk/platform/Order/OrderPlatformModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ const Joi = require("joi");

/**
* @typedef GenerateInvoiceIDErrorResponse
* @property {GenerateInvoiceIDErrorResponseData} [items]
* @property {GenerateInvoiceIDErrorResponseData[]} [items]
*/

/**
Expand All @@ -1090,7 +1090,7 @@ const Joi = require("joi");

/**
* @typedef GenerateInvoiceIDResponse
* @property {GenerateInvoiceIDResponseData} [items]
* @property {GenerateInvoiceIDResponseData[]} [items]
*/

/**
Expand Down Expand Up @@ -3977,15 +3977,17 @@ class OrderPlatformModel {
/** @returns {GenerateInvoiceIDErrorResponse} */
static GenerateInvoiceIDErrorResponse() {
return Joi.object({
items: OrderPlatformModel.GenerateInvoiceIDErrorResponseData(),
items: Joi.array().items(
OrderPlatformModel.GenerateInvoiceIDErrorResponseData()
),
});
}

/** @returns {GenerateInvoiceIDErrorResponseData} */
static GenerateInvoiceIDErrorResponseData() {
return Joi.object({
error_message: Joi.string().allow(""),
invoice_id: Joi.boolean(),
error_message: Joi.string().allow("").allow(null),
invoice_id: Joi.boolean().allow(null),
shipment_id: Joi.string().allow(""),
success: Joi.boolean(),
});
Expand All @@ -4001,15 +4003,17 @@ class OrderPlatformModel {
/** @returns {GenerateInvoiceIDResponse} */
static GenerateInvoiceIDResponse() {
return Joi.object({
items: OrderPlatformModel.GenerateInvoiceIDResponseData(),
items: Joi.array().items(
OrderPlatformModel.GenerateInvoiceIDResponseData()
),
});
}

/** @returns {GenerateInvoiceIDResponseData} */
static GenerateInvoiceIDResponseData() {
return Joi.object({
error_message: Joi.boolean(),
invoice_id: Joi.string().allow(""),
error_message: Joi.boolean().allow(null),
invoice_id: Joi.string().allow("").allow(null),
shipment_id: Joi.string().allow(""),
success: Joi.boolean(),
});
Expand Down

0 comments on commit ac58f1d

Please sign in to comment.