Skip to content

Commit

Permalink
[Auto Generated] 1.4.15-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Dec 13, 2024
1 parent 8cc3b48 commit 7caeba6
Show file tree
Hide file tree
Showing 241 changed files with 41,309 additions and 53,707 deletions.
11,587 changes: 11,478 additions & 109 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 @@ -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.4.15-beta.3' --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.4.15-beta.4' --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.

339 changes: 223 additions & 116 deletions package-lock.json

Large diffs are not rendered by default.

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.4.15-beta.3",
"version": "1.4.15-beta.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions sdk/application/ApplicationClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ declare class ApplicationClient {
configuration: Configuration;
content: Content;
fileStorage: FileStorage;
finance: Finance;
lead: Lead;
logistic: Logistic;
order: Order;
Expand Down Expand Up @@ -72,7 +71,6 @@ import Communication = require("./Communication/CommunicationApplicationClient")
import Configuration = require("./Configuration/ConfigurationApplicationClient");
import Content = require("./Content/ContentApplicationClient");
import FileStorage = require("./FileStorage/FileStorageApplicationClient");
import Finance = require("./Finance/FinanceApplicationClient");
import Lead = require("./Lead/LeadApplicationClient");
import Logistic = require("./Logistic/LogisticApplicationClient");
import Order = require("./Order/OrderApplicationClient");
Expand Down
2 changes: 0 additions & 2 deletions sdk/application/ApplicationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const Communication = require("./Communication/CommunicationApplicationClient");
const Configuration = require("./Configuration/ConfigurationApplicationClient");
const Content = require("./Content/ContentApplicationClient");
const FileStorage = require("./FileStorage/FileStorageApplicationClient");
const Finance = require("./Finance/FinanceApplicationClient");
const Lead = require("./Lead/LeadApplicationClient");
const Logistic = require("./Logistic/LogisticApplicationClient");
const Order = require("./Order/OrderApplicationClient");
Expand Down Expand Up @@ -36,7 +35,6 @@ class ApplicationClient {
this.configuration = new Configuration(config);
this.content = new Content(config);
this.fileStorage = new FileStorage(config);
this.finance = new Finance(config);
this.lead = new Lead(config);
this.logistic = new Logistic(config);
this.order = new Order(config);
Expand Down
116 changes: 48 additions & 68 deletions sdk/application/Cart/CartApplicationClient.d.ts

Large diffs are not rendered by default.

141 changes: 27 additions & 114 deletions sdk/application/Cart/CartApplicationClient.js

Large diffs are not rendered by default.

117 changes: 58 additions & 59 deletions sdk/application/Catalog/CatalogApplicationClient.d.ts

Large diffs are not rendered by default.

59 changes: 29 additions & 30 deletions sdk/application/Catalog/CatalogApplicationClient.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sdk/application/Common/CommonApplicationClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ declare class Common {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<ApplicationResponseSchema>} - Success response
* @returns {Promise<ApplicationResponse>} - Success response
* @name searchApplication
* @summary: Get sales channel
* @description: Get an active sales channel based on a provided query. The query can be a valid sales channel ID or a verified domain name. If the sales channel is found, a success response is returned. If not, a 404 error response is returned. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/common/searchApplication/).
*/
searchApplication({ authorization, query, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationResponseSchema>;
searchApplication({ authorization, query, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationResponse>;
}
2 changes: 1 addition & 1 deletion sdk/application/Common/CommonApplicationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Common {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<ApplicationResponseSchema>} - Success response
* @returns {Promise<ApplicationResponse>} - Success response
* @name searchApplication
* @summary: Get sales channel
* @description: Get an active sales channel based on a provided query. The query can be a valid sales channel ID or a verified domain name. If the sales channel is found, a success response is returned. If not, a 404 error response is returned. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/common/searchApplication/).
Expand Down
40 changes: 20 additions & 20 deletions sdk/application/Configuration/ConfigurationApplicationClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ declare class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppCurrencyResponseSchema>} - Success response
* @returns {Promise<AppCurrencyResponse>} - Success response
* @name getAppCurrencies
* @summary: Get currency configuration
* @description: Get currency configuration of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
*/
getAppCurrencies({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppCurrencyResponseSchema>;
getAppCurrencies({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppCurrencyResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppStaffListResponseSchema>} - Success response
* @returns {Promise<AppStaffListResponse>} - Success response
* @name getAppStaffList
* @summary: List staff members
* @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
*/
getAppStaffList({ pageNo, pageSize, orderIncent, orderingStore, user, userName, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppStaffListResponseSchema>;
getAppStaffList({ pageNo, pageSize, orderIncent, orderingStore, user, userName, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppStaffListResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppStaffResponseSchema>} - Success response
* @returns {Promise<AppStaffResponse>} - Success response
* @name getAppStaffs
* @summary: Get staff member
* @description: Get a staff user including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffs/).
*/
getAppStaffs({ orderIncent, orderingStore, user, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppStaffResponseSchema>;
getAppStaffs({ orderIncent, orderingStore, user, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppStaffResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
Expand Down Expand Up @@ -79,12 +79,12 @@ declare class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<CurrenciesResponseSchema>} - Success response
* @returns {Promise<CurrenciesResponse>} - Success response
* @name getCurrencies
* @summary: List currencies
* @description: List available currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
*/
getCurrencies({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CurrenciesResponseSchema>;
getCurrencies({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CurrenciesResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
Expand All @@ -97,39 +97,39 @@ declare class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppFeatureResponseSchema>} - Success response
* @returns {Promise<AppFeatureResponse>} - Success response
* @name getFeatures
* @summary: Get sales channel features
* @description: Get configuration of the features of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
*/
getFeatures({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppFeatureResponseSchema>;
getFeatures({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppFeatureResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppTokenResponseSchema>} - Success response
* @returns {Promise<AppTokenResponse>} - Success response
* @name getIntegrationTokens
* @summary: Get API tokens
* @description: Get tools integration token of the sales channel. For example, Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, and Facebook. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getIntegrationTokens/).
*/
getIntegrationTokens({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppTokenResponseSchema>;
getIntegrationTokens({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppTokenResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<LanguageResponseSchema>} - Success response
* @returns {Promise<LanguageResponse>} - Success response
* @name getLanguages
* @summary: List languages
* @description: List available languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
*/
getLanguages({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LanguageResponseSchema>;
getLanguages({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LanguageResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<SuccessMessageResponseSchema>} - Success response
* @returns {Promise<SuccessMessageResponse>} - Success response
* @name getOrderingStoreCookie
* @summary: Create cookies
* @description: Reset cookie of ordering store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStoreCookie/).
*/
getOrderingStoreCookie({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SuccessMessageResponseSchema>;
getOrderingStoreCookie({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SuccessMessageResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
Expand All @@ -142,12 +142,12 @@ declare class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<ApplicationAboutResponseSchema>} - Success response
* @returns {Promise<ApplicationAboutResponse>} - Success response
* @name getOwnerInfo
* @summary: Get sales channel owner
* @description: Get details of the sales channel owner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
*/
getOwnerInfo({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationAboutResponseSchema>;
getOwnerInfo({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationAboutResponse>;
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
Expand All @@ -160,10 +160,10 @@ declare class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<SuccessMessageResponseSchema>} - Success response
* @returns {Promise<SuccessMessageResponse>} - Success response
* @name removeOrderingStoreCookie
* @summary: Delete store cookie
* @description: Delete store cookie. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
*/
removeOrderingStoreCookie({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SuccessMessageResponseSchema>;
removeOrderingStoreCookie({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SuccessMessageResponse>;
}
20 changes: 10 additions & 10 deletions sdk/application/Configuration/ConfigurationApplicationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppCurrencyResponseSchema>} - Success response
* @returns {Promise<AppCurrencyResponse>} - Success response
* @name getAppCurrencies
* @summary: Get currency configuration
* @description: Get currency configuration of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
Expand Down Expand Up @@ -83,7 +83,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppStaffListResponseSchema>} - Success response
* @returns {Promise<AppStaffListResponse>} - Success response
* @name getAppStaffList
* @summary: List staff members
* @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
Expand Down Expand Up @@ -134,7 +134,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppStaffResponseSchema>} - Success response
* @returns {Promise<AppStaffResponse>} - Success response
* @name getAppStaffs
* @summary: Get staff member
* @description: Get a staff user including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffs/).
Expand Down Expand Up @@ -287,7 +287,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<CurrenciesResponseSchema>} - Success response
* @returns {Promise<CurrenciesResponse>} - Success response
* @name getCurrencies
* @summary: List currencies
* @description: List available currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
Expand Down Expand Up @@ -361,7 +361,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppFeatureResponseSchema>} - Success response
* @returns {Promise<AppFeatureResponse>} - Success response
* @name getFeatures
* @summary: Get sales channel features
* @description: Get configuration of the features of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
Expand Down Expand Up @@ -398,7 +398,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<AppTokenResponseSchema>} - Success response
* @returns {Promise<AppTokenResponse>} - Success response
* @name getIntegrationTokens
* @summary: Get API tokens
* @description: Get tools integration token of the sales channel. For example, Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, and Facebook. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getIntegrationTokens/).
Expand Down Expand Up @@ -435,7 +435,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<LanguageResponseSchema>} - Success response
* @returns {Promise<LanguageResponse>} - Success response
* @name getLanguages
* @summary: List languages
* @description: List available languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
Expand Down Expand Up @@ -472,7 +472,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<SuccessMessageResponseSchema>} - Success response
* @returns {Promise<SuccessMessageResponse>} - Success response
* @name getOrderingStoreCookie
* @summary: Create cookies
* @description: Reset cookie of ordering store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStoreCookie/).
Expand Down Expand Up @@ -549,7 +549,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<ApplicationAboutResponseSchema>} - Success response
* @returns {Promise<ApplicationAboutResponse>} - Success response
* @name getOwnerInfo
* @summary: Get sales channel owner
* @description: Get details of the sales channel owner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
Expand Down Expand Up @@ -623,7 +623,7 @@ class Configuration {
/**
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../ApplicationAPIClient").Options} - Options
* @returns {Promise<SuccessMessageResponseSchema>} - Success response
* @returns {Promise<SuccessMessageResponse>} - Success response
* @name removeOrderingStoreCookie
* @summary: Delete store cookie
* @description: Delete store cookie. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
Expand Down
Loading

0 comments on commit 7caeba6

Please sign in to comment.