Skip to content

Commit

Permalink
[Auto Generated] 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 9, 2023
1 parent 633564b commit 3099077
Show file tree
Hide file tree
Showing 35 changed files with 5,238 additions and 3,541 deletions.
2,750 changes: 283 additions & 2,467 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Get started with the Kotlin Development SDK for Fynd Platform

# Usage

1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.3.3'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.3.4'` in your app build.gradle
2. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 21
targetSdkVersion 31
versionCode 2
versionName "1.3.3"
versionName "1.3.4"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
24 changes: 24 additions & 0 deletions documentation/application/CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@ Success. Returns a Product object. Check the example shown below or refer `Produ
},
"_custom_json": {}
},
"department": {
"name": "Electronics",
"uid": 1,
"logo": {
"type": "image",
"url": "https://hdn-1.fynd.com/media/logo/brand/original/12391_0d956c6c71a4427895c15e44cba82f88.jpg"
},
"slug": "electronics"
},
"uid": 1,
"slug": "benchmark-collaborative-paradigms",
"attributes": {
Expand Down Expand Up @@ -8015,6 +8024,20 @@ Success. Returns a ProductSizeSellerV3 object. Check the example shown below or



#### [ProductDepartment](#ProductDepartment)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| uid | Int? | yes | |
| logo | [Media](#Media)? | yes | |
| slug | String? | yes | |
| name | String? | yes | |

---




#### [ProductCategoryMap](#ProductCategoryMap)

| Properties | Type | Nullable | Description |
Expand Down Expand Up @@ -8180,6 +8203,7 @@ Success. Returns a ProductSizeSellerV3 object. Check the example shown below or
| highlights | ArrayList<String>? | yes | |
| price | [ProductListingPrice](#ProductListingPrice)? | yes | |
| brand | [ProductBrand](#ProductBrand)? | yes | |
| department | [ProductDepartment](#ProductDepartment)? | yes | |
| teaserTag | String? | yes | |

---
Expand Down
131 changes: 112 additions & 19 deletions documentation/application/FILESTORAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,48 @@ This operation will return the URL of the uploaded file.

[StartResponse](#StartResponse)

Success. Next, call the `completeUpload` API and pass the response payload of this API to finish the upload process.
Success. Returns a response containing relaving and absolute_url of storage service




<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"file_name": "shirt.png",
"file_path": "/path/qwertyuiop-shirt.png",
"content_type": "image/png",
"method": "PUT",
"namespace": "products-item-images",
"operation": "putObject",
"tags": [
"clothing",
"shirt"
],
"size": 9999,
"cdn": {
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"absolute_url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"relative_url": "products/pictures/free/original/qwertyuiop-shirt.png"
},
"upload": {
"expiry": 5000,
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png?AWSAccessKeyId=xxx&Content-Type=image%2Fpng&Expires=5000&Signature=xxx&x-amz-acl=public-read"
}
}
}
```
</details>

</details>




Expand Down Expand Up @@ -153,13 +182,49 @@ Success


<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"success": true,
"_id": "xxxxxxxxxxxxxxxxxxxxxx",
"file_name": "shirt.png",
"file_path": "/path/qwertyuiop-shirt.png",
"content_type": "image/png",
"namespace": "products-item-images",
"operation": "putObject",
"company_id": 2,
"tags": [
"clothing",
"shirt"
],
"size": 9999,
"cdn": {
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"absolute_url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"relative_url": "products/pictures/free/original/qwertyuiop-shirt.png"
},
"upload": {
"expiry": 5000,
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png?AWSAccessKeyId=xxx&Content-Type=image%2Fpng&Expires=5000&Signature=xxx&x-amz-acl=public-read"
},
"created_on": "2020-02-03T09:50:04.240Z",
"modified_on": "2020-02-03T09:50:04.240Z",
"created_by": {
"username": "app@fynd.com"
}
}
}
```
</details>

</details>




Expand Down Expand Up @@ -212,13 +277,29 @@ Success


<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"urls": [
{
"url": "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/x0/documents/manifest/PDFs/test/s3EtYk5p9-new_fee.pdf",
"signed_url": "https://fynd-staging-assets-private.s3-accelerate.amazonaws.com/addsale/v2/falling-surf-7c8bb8/fyndnp/wrkr/x0/documents/manifest/PDFs/test/s3EtYk5p9-new_fee.pdf",
"expiry": 1800
}
]
}
}
```
</details>

</details>




Expand All @@ -235,17 +316,6 @@ Success



#### [FailedResponse](#FailedResponse)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| message | String | no | |

---




#### [CDN](#CDN)

| Properties | Type | Nullable | Description |
Expand Down Expand Up @@ -291,6 +361,17 @@ Success



#### [Params](#Params)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| subpath | String? | yes | The subpath for the file. |

---




#### [StartRequest](#StartRequest)

| Properties | Type | Nullable | Description |
Expand All @@ -299,7 +380,18 @@ Success
| contentType | String | no | |
| size | Int | no | |
| tags | ArrayList<String>? | yes | |
| params | HashMap<String,Any>? | yes | |
| params | [Params](#Params)? | yes | |

---




#### [CreatedBy](#CreatedBy)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| username | String? | yes | |

---

Expand All @@ -323,6 +415,7 @@ Success
| tags | ArrayList<String>? | yes | |
| createdOn | String | no | |
| modifiedOn | String | no | |
| createdBy | [CreatedBy](#CreatedBy)? | yes | |

---

Expand Down
Loading

0 comments on commit 3099077

Please sign in to comment.