Skip to content

Commit 89c0f03

Browse files
committed
[Auto Generated] 3.15.0
1 parent f1e6543 commit 89c0f03

20 files changed

+821
-86
lines changed

CHANGELOG.md

Lines changed: 665 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
@@ -234,7 +234,7 @@ console.log("Active Theme: ", response.information.name);
234234
The above code will log the curl command in the console
235235

236236
```bash
237-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.14.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
237+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.15.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
238238
Active Theme: Emerge
239239
```
240240

dist/application.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gofynd/fdk-client-javascript",
3-
"version": "3.14.0",
3+
"version": "3.15.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

sdk/common/Constant.d.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export namespace AVAILABLE_PAGE_TYPE {
2727
const PROFILE_ORDER_SHIPMENT: string;
2828
const PROFILE_BASIC: string;
2929
const PROFILE_COMPANY: string;
30-
const PROFILE_EMAILS: string;
31-
const PROFILE_PHONES: string;
30+
const PROFILE_EMAIL: string;
31+
const PROFILE_PHONE: string;
3232
const RATE_US: string;
3333
const REFER_EARN: string;
3434
const SETTINGS: string;
@@ -48,6 +48,7 @@ export namespace AVAILABLE_PAGE_TYPE {
4848
const ORDER_STATUS: string;
4949
const LOCATE_US: string;
5050
const SINGLE_PAGE_CHECKOUT: string;
51+
const REQUEST_REATTEMPT: string;
5152
}
5253
export const NAVIGATORS: {
5354
"about-us": {
@@ -206,11 +207,11 @@ export const NAVIGATORS: {
206207
name: string;
207208
link: string;
208209
};
209-
"profile-emails": {
210+
"profile-email": {
210211
name: string;
211212
link: string;
212213
};
213-
"profile-phones": {
214+
"profile-phone": {
214215
name: string;
215216
link: string;
216217
};
@@ -306,4 +307,12 @@ export const NAVIGATORS: {
306307
name: string;
307308
link: string;
308309
};
310+
"request-reattempt": {
311+
name: string;
312+
link: string;
313+
params: {
314+
key: string;
315+
required: boolean;
316+
}[];
317+
};
309318
};

sdk/common/Constant.js

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const AVAILABLE_PAGE_TYPE = {
2727
PROFILE_ORDER_SHIPMENT: "profile-order-shipment",
2828
PROFILE_BASIC: "profile-basic",
2929
PROFILE_COMPANY: "profile-company",
30-
PROFILE_EMAILS: "profile-emails",
31-
PROFILE_PHONES: "profile-phones",
30+
PROFILE_EMAIL: "profile-email",
31+
PROFILE_PHONE: "profile-phone",
3232
RATE_US: "rate-us",
3333
REFER_EARN: "refer-earn",
3434
SETTINGS: "settings",
@@ -48,6 +48,7 @@ const AVAILABLE_PAGE_TYPE = {
4848
ORDER_STATUS: "order-status",
4949
LOCATE_US: "locate-us",
5050
SINGLE_PAGE_CHECKOUT: "single-page-checkout",
51+
REQUEST_REATTEMPT: "request-reattempt",
5152
};
5253

5354
Object.freeze(AVAILABLE_PAGE_TYPE);
@@ -231,12 +232,12 @@ const NAVIGATORS = {
231232
name: "Profile Company",
232233
link: "/profile/company",
233234
},
234-
"profile-emails": {
235-
name: "Profile Emails",
235+
"profile-email": {
236+
name: "Profile Email",
236237
link: "/profile/email",
237238
},
238-
"profile-phones": {
239-
name: "Profile Phones",
239+
"profile-phone": {
240+
name: "Profile Phone",
240241
link: "/profile/phone",
241242
},
242243
"rate-us": {
@@ -339,6 +340,16 @@ const NAVIGATORS = {
339340
name: "Single Page Checkout",
340341
link: "/cart/checkout",
341342
},
343+
"request-reattempt": {
344+
name: "Request Reattempt",
345+
link: "/reattempt/shipment/:shipmentId",
346+
params: [
347+
{
348+
key: "shipmentId",
349+
required: true,
350+
},
351+
],
352+
},
342353
};
343354

344355
module.exports = {

sdk/partner/Theme/ThemePartnerModel.d.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ export = ThemePartnerModel;
654654
* | "profile-order-shipment"
655655
* | "profile-basic"
656656
* | "profile-company"
657-
* | "profile-emails"
658-
* | "profile-phones"
657+
* | "profile-email"
658+
* | "profile-phone"
659659
* | "rate-us"
660660
* | "refer-earn"
661661
* | "settings"
@@ -674,7 +674,8 @@ export = ThemePartnerModel;
674674
* | "return-policy"
675675
* | "order-status"
676676
* | "locate-us"
677-
* | "single-page-checkout"} PageType
677+
* | "single-page-checkout"
678+
* | "request-reattempt"} PageType
678679
*/
679680
declare class ThemePartnerModel {
680681
}
@@ -1896,4 +1897,4 @@ type ActionPage = {
18961897
* @returns {PageType}
18971898
*/
18981899
declare function PageType(): PageType;
1899-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout";
1900+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";

sdk/partner/Theme/ThemePartnerModel.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ const Joi = require("joi");
746746
* | "profile-order-shipment"
747747
* | "profile-basic"
748748
* | "profile-company"
749-
* | "profile-emails"
750-
* | "profile-phones"
749+
* | "profile-email"
750+
* | "profile-phone"
751751
* | "rate-us"
752752
* | "refer-earn"
753753
* | "settings"
@@ -766,7 +766,8 @@ const Joi = require("joi");
766766
* | "return-policy"
767767
* | "order-status"
768768
* | "locate-us"
769-
* | "single-page-checkout"} PageType
769+
* | "single-page-checkout"
770+
* | "request-reattempt"} PageType
770771
*/
771772

772773
class ThemePartnerModel {
@@ -1737,9 +1738,9 @@ class ThemePartnerModel {
17371738

17381739
"profile-company",
17391740

1740-
"profile-emails",
1741+
"profile-email",
17411742

1742-
"profile-phones",
1743+
"profile-phone",
17431744

17441745
"rate-us",
17451746

@@ -1777,7 +1778,9 @@ class ThemePartnerModel {
17771778

17781779
"locate-us",
17791780

1780-
"single-page-checkout"
1781+
"single-page-checkout",
1782+
1783+
"request-reattempt"
17811784
);
17821785
}
17831786
}

sdk/platform/Catalog/CatalogPlatformModel.d.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4632,8 +4632,8 @@ export = CatalogPlatformModel;
46324632
* | "profile-order-shipment"
46334633
* | "profile-basic"
46344634
* | "profile-company"
4635-
* | "profile-emails"
4636-
* | "profile-phones"
4635+
* | "profile-email"
4636+
* | "profile-phone"
46374637
* | "rate-us"
46384638
* | "refer-earn"
46394639
* | "settings"
@@ -4652,7 +4652,8 @@ export = CatalogPlatformModel;
46524652
* | "return-policy"
46534653
* | "order-status"
46544654
* | "locate-us"
4655-
* | "single-page-checkout"} PageType
4655+
* | "single-page-checkout"
4656+
* | "request-reattempt"} PageType
46564657
*/
46574658
declare class CatalogPlatformModel {
46584659
}
@@ -14549,4 +14550,4 @@ type HsTypeEnum = "HS" | "SAC";
1454914550
* @returns {PageType}
1455014551
*/
1455114552
declare function PageType(): PageType;
14552-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout";
14553+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt";

0 commit comments

Comments
 (0)