@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
- package/sdk/application/Content/ContentApplicationModel.js +341 -277
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
- package/sdk/application/Order/OrderApplicationModel.js +391 -317
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
- package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
- package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
- package/sdk/platform/Content/ContentPlatformModel.js +28 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
- package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
- package/sdk/platform/Order/OrderPlatformModel.js +359 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
- package/sdk/platform/User/UserPlatformModel.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
- package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
- package/sdk/public/Billing/BillingPublicClient.js +80 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
- package/sdk/public/Billing/BillingPublicModel.js +252 -87
- package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
- package/sdk/public/Billing/BillingPublicValidator.js +12 -0
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -2,36 +2,48 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @typedef CommunicationConsentReq
|
|
5
|
-
* @property {string} [response]
|
|
6
|
-
*
|
|
7
|
-
* @property {string} [
|
|
5
|
+
* @property {string} [response] - Whether the user has responded to the inquiry
|
|
6
|
+
* regarding their preference for opting in or out of receiving communications.
|
|
7
|
+
* @property {string} [action] - The user's choice to opt in or opt out of
|
|
8
|
+
* receiving communications.
|
|
9
|
+
* @property {string} [channel] - The channel of communication the user has
|
|
10
|
+
* agreed to receive messages through.
|
|
8
11
|
*/
|
|
9
12
|
|
|
10
13
|
/**
|
|
11
14
|
* @typedef CommunicationConsentRes
|
|
12
|
-
* @property {string} [app_id]
|
|
13
|
-
*
|
|
15
|
+
* @property {string} [app_id] - The ID of the sales channel where the user has
|
|
16
|
+
* given their consent.
|
|
17
|
+
* @property {string} [user_id] - Identifier which can uniquely identify the user.
|
|
14
18
|
* @property {CommunicationConsentChannels} [channels]
|
|
15
19
|
*/
|
|
16
20
|
|
|
17
21
|
/**
|
|
18
22
|
* @typedef CommunicationConsentChannelsEmail
|
|
19
|
-
* @property {string} [response]
|
|
20
|
-
*
|
|
23
|
+
* @property {string} [response] - The user's choice to opt in or opt out of
|
|
24
|
+
* receiving communications.
|
|
25
|
+
* @property {string} [display_name] - Name of the channel of communication the
|
|
26
|
+
* user has agreed to receive messages through.
|
|
21
27
|
*/
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* @typedef CommunicationConsentChannelsSms
|
|
25
|
-
* @property {string} [response]
|
|
26
|
-
*
|
|
31
|
+
* @property {string} [response] - The user's choice to opt in or opt out of
|
|
32
|
+
* receiving communications.
|
|
33
|
+
* @property {string} [display_name] - Name of the channel of communication the
|
|
34
|
+
* user has agreed to receive messages through.
|
|
27
35
|
*/
|
|
28
36
|
|
|
29
37
|
/**
|
|
30
38
|
* @typedef CommunicationConsentChannelsWhatsapp
|
|
31
|
-
* @property {string} [response]
|
|
32
|
-
*
|
|
33
|
-
* @property {string} [
|
|
34
|
-
*
|
|
39
|
+
* @property {string} [response] - The user's choice to opt in or opt out of
|
|
40
|
+
* receiving communications.
|
|
41
|
+
* @property {string} [display_name] - Name of the channel of communication the
|
|
42
|
+
* user has agreed to receive messages through.
|
|
43
|
+
* @property {string} [country_code] - Alphanumeric identification code for the
|
|
44
|
+
* users country.
|
|
45
|
+
* @property {string} [phone_number] - Phone number of the user that the user
|
|
46
|
+
* has accepted to receive communication through WhatsApp.
|
|
35
47
|
*/
|
|
36
48
|
|
|
37
49
|
/**
|
|
@@ -43,39 +55,48 @@ const Joi = require("joi");
|
|
|
43
55
|
|
|
44
56
|
/**
|
|
45
57
|
* @typedef CommunicationConsent
|
|
46
|
-
* @property {string} [app_id]
|
|
47
|
-
*
|
|
58
|
+
* @property {string} [app_id] - The ID of the sales channel where the user has
|
|
59
|
+
* given their consent.
|
|
60
|
+
* @property {string} [user_id] - Identifier which can uniquely identify the user.
|
|
48
61
|
* @property {CommunicationConsentChannels} [channels]
|
|
49
62
|
*/
|
|
50
63
|
|
|
51
64
|
/**
|
|
52
65
|
* @typedef BadRequestSchema
|
|
53
|
-
* @property {string} [status] -
|
|
54
|
-
* @property {string} [message] -
|
|
66
|
+
* @property {string} [status] - Error code indicating the type of issue.
|
|
67
|
+
* @property {string} [message] - Error message providing details about the error.
|
|
55
68
|
*/
|
|
56
69
|
|
|
57
70
|
/**
|
|
58
71
|
* @typedef PushtokenReq
|
|
59
|
-
* @property {string} [action]
|
|
60
|
-
*
|
|
61
|
-
* @property {string} [
|
|
62
|
-
* @property {string} [
|
|
63
|
-
*
|
|
72
|
+
* @property {string} [action] - The type of operation to perform with the push
|
|
73
|
+
* token, such as create, update, or reset.
|
|
74
|
+
* @property {string} [bundle_identifier] - Unique identifier used to identify a bundle.
|
|
75
|
+
* @property {string} [push_token] - A string of codes containing comprehensive
|
|
76
|
+
* data that identifies a identity of requester.
|
|
77
|
+
* @property {string} [unique_device_id] - Unique identifier used to identify a device.
|
|
78
|
+
* @property {string} [type] - Source address of the requestee.
|
|
64
79
|
*/
|
|
65
80
|
|
|
66
81
|
/**
|
|
67
82
|
* @typedef PushtokenRes
|
|
68
|
-
* @property {string} [_id]
|
|
69
|
-
*
|
|
70
|
-
* @property {string} [
|
|
71
|
-
* @property {string} [
|
|
72
|
-
*
|
|
73
|
-
* @property {string} [
|
|
74
|
-
* @property {string} [
|
|
75
|
-
* @property {string} [
|
|
76
|
-
* @property {string} [
|
|
77
|
-
*
|
|
78
|
-
* @property {string} [
|
|
83
|
+
* @property {string} [_id] - Key used to uniquely identify document that
|
|
84
|
+
* contains push token credentials.
|
|
85
|
+
* @property {string} [bundle_identifier] - Unique identifier used to identify a bundle.
|
|
86
|
+
* @property {string} [push_token] - A string of codes containing comprehensive
|
|
87
|
+
* data that identifies a identity of requester.
|
|
88
|
+
* @property {string} [unique_device_id] - Unique identifier used to identify a device.
|
|
89
|
+
* @property {string} [type] - Source address of the requester.
|
|
90
|
+
* @property {string} [platform] - Source address of the requester.
|
|
91
|
+
* @property {string} [application_id] - The ID of the sales channel associated
|
|
92
|
+
* with the push token.
|
|
93
|
+
* @property {string} [user_id] - Identifier which can uniquely identify the user.
|
|
94
|
+
* @property {string} [created_at] - The timestamp indicating when a record was
|
|
95
|
+
* initially created.
|
|
96
|
+
* @property {string} [updated_at] - The timestamp indicating when a record was
|
|
97
|
+
* last modified or updated.
|
|
98
|
+
* @property {string} [expired_at] - The timestamp indicating when a record is
|
|
99
|
+
* set to expire or become invalid.
|
|
79
100
|
*/
|
|
80
101
|
|
|
81
102
|
class CommunicationApplicationModel {
|
|
@@ -30,7 +30,7 @@ declare class Configuration {
|
|
|
30
30
|
* Success response
|
|
31
31
|
* @name getAppCurrencies
|
|
32
32
|
* @summary: Get currency configuration
|
|
33
|
-
* @description:
|
|
33
|
+
* @description: Get currency configuration of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
|
|
34
34
|
*/
|
|
35
35
|
getAppCurrencies({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.AppCurrencyResponse>;
|
|
36
36
|
/**
|
|
@@ -41,7 +41,7 @@ declare class Configuration {
|
|
|
41
41
|
* Success response
|
|
42
42
|
* @name getAppStaffList
|
|
43
43
|
* @summary: List staff members
|
|
44
|
-
* @description:
|
|
44
|
+
* @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
|
|
45
45
|
*/
|
|
46
46
|
getAppStaffList({ pageNo, pageSize, orderIncent, orderingStore, user, userName, requestHeaders, }?: ConfigurationApplicationValidator.GetAppStaffListParam, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.AppStaffListResponse>;
|
|
47
47
|
/**
|
|
@@ -52,7 +52,7 @@ declare class Configuration {
|
|
|
52
52
|
* Success response
|
|
53
53
|
* @name getAppStaffs
|
|
54
54
|
* @summary: Get staff member
|
|
55
|
-
* @description:
|
|
55
|
+
* @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/).
|
|
56
56
|
*/
|
|
57
57
|
getAppStaffs({ orderIncent, orderingStore, user, requestHeaders }?: ConfigurationApplicationValidator.GetAppStaffsParam, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.AppStaffResponse>;
|
|
58
58
|
/**
|
|
@@ -62,7 +62,7 @@ declare class Configuration {
|
|
|
62
62
|
* @returns {Promise<ConfigurationApplicationModel.Application>} - Success response
|
|
63
63
|
* @name getApplication
|
|
64
64
|
* @summary: Get sales channel
|
|
65
|
-
* @description:
|
|
65
|
+
* @description: Get details of the current sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getApplication/).
|
|
66
66
|
*/
|
|
67
67
|
getApplication({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.Application>;
|
|
68
68
|
/**
|
|
@@ -73,7 +73,7 @@ declare class Configuration {
|
|
|
73
73
|
* Success response
|
|
74
74
|
* @name getBasicDetails
|
|
75
75
|
* @summary: Get Sales channel
|
|
76
|
-
* @description:
|
|
76
|
+
* @description: Get basic details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getBasicDetails/).
|
|
77
77
|
*/
|
|
78
78
|
getBasicDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.ApplicationDetail>;
|
|
79
79
|
/**
|
|
@@ -85,7 +85,7 @@ declare class Configuration {
|
|
|
85
85
|
*
|
|
86
86
|
* @name getContactInfo
|
|
87
87
|
* @summary: Get sales channel contact
|
|
88
|
-
* @description:
|
|
88
|
+
* @description: Get contact details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getContactInfo/).
|
|
89
89
|
*/
|
|
90
90
|
getContactInfo({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.ApplicationInformation>;
|
|
91
91
|
/**
|
|
@@ -96,7 +96,7 @@ declare class Configuration {
|
|
|
96
96
|
* Success response
|
|
97
97
|
* @name getCurrencies
|
|
98
98
|
* @summary: List currencies
|
|
99
|
-
* @description:
|
|
99
|
+
* @description: List available currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
|
|
100
100
|
*/
|
|
101
101
|
getCurrencies({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.CurrenciesResponse>;
|
|
102
102
|
/**
|
|
@@ -106,7 +106,7 @@ declare class Configuration {
|
|
|
106
106
|
* @returns {Promise<ConfigurationApplicationModel.Currency>} - Success response
|
|
107
107
|
* @name getCurrencyById
|
|
108
108
|
* @summary: Get a currency
|
|
109
|
-
* @description:
|
|
109
|
+
* @description: Get details of the currency. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
|
|
110
110
|
*/
|
|
111
111
|
getCurrencyById({ id, requestHeaders }?: ConfigurationApplicationValidator.GetCurrencyByIdParam, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.Currency>;
|
|
112
112
|
/**
|
|
@@ -117,7 +117,7 @@ declare class Configuration {
|
|
|
117
117
|
* Success response
|
|
118
118
|
* @name getFeatures
|
|
119
119
|
* @summary: Get sales channel features
|
|
120
|
-
* @description:
|
|
120
|
+
* @description: Get configuration of the features of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
|
|
121
121
|
*/
|
|
122
122
|
getFeatures({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.AppFeatureResponse>;
|
|
123
123
|
/**
|
|
@@ -130,7 +130,7 @@ declare class Configuration {
|
|
|
130
130
|
* Success response
|
|
131
131
|
* @name getIntegrationTokens
|
|
132
132
|
* @summary: Get API tokens
|
|
133
|
-
* @description:
|
|
133
|
+
* @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/).
|
|
134
134
|
*/
|
|
135
135
|
getIntegrationTokens({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.AppTokenResponse>;
|
|
136
136
|
/**
|
|
@@ -141,7 +141,7 @@ declare class Configuration {
|
|
|
141
141
|
* Success response
|
|
142
142
|
* @name getLanguages
|
|
143
143
|
* @summary: List languages
|
|
144
|
-
* @description:
|
|
144
|
+
* @description: List available languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
|
|
145
145
|
*/
|
|
146
146
|
getLanguages({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.LanguageResponse>;
|
|
147
147
|
/**
|
|
@@ -165,7 +165,7 @@ declare class Configuration {
|
|
|
165
165
|
* @returns {Promise<ConfigurationApplicationModel.OrderingStores>} - Success response
|
|
166
166
|
* @name getOrderingStores
|
|
167
167
|
* @summary: List order-enabled selling locations
|
|
168
|
-
* @description:
|
|
168
|
+
* @description: Get details of all the deployment store locations where the sales channel will be used for order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStores/).
|
|
169
169
|
*/
|
|
170
170
|
getOrderingStores({ pageNo, pageSize, q, requestHeaders }?: ConfigurationApplicationValidator.GetOrderingStoresParam, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.OrderingStores>;
|
|
171
171
|
/**
|
|
@@ -177,7 +177,7 @@ declare class Configuration {
|
|
|
177
177
|
*
|
|
178
178
|
* @name getOwnerInfo
|
|
179
179
|
* @summary: Get sales channel owner
|
|
180
|
-
* @description:
|
|
180
|
+
* @description: Get details of the sales channel owner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
|
|
181
181
|
*/
|
|
182
182
|
getOwnerInfo({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.ApplicationAboutResponse>;
|
|
183
183
|
/**
|
|
@@ -188,7 +188,7 @@ declare class Configuration {
|
|
|
188
188
|
* @returns {Promise<ConfigurationApplicationModel.OrderingStore>} - Success response
|
|
189
189
|
* @name getStoreDetailById
|
|
190
190
|
* @summary: Get a selling location
|
|
191
|
-
* @description:
|
|
191
|
+
* @description: Get details of a selling location (store) by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getStoreDetailById/).
|
|
192
192
|
*/
|
|
193
193
|
getStoreDetailById({ storeId, requestHeaders }?: ConfigurationApplicationValidator.GetStoreDetailByIdParam, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.OrderingStore>;
|
|
194
194
|
/**
|
|
@@ -202,7 +202,7 @@ declare class Configuration {
|
|
|
202
202
|
*
|
|
203
203
|
* @name removeOrderingStoreCookie
|
|
204
204
|
* @summary: Delete store cookie
|
|
205
|
-
* @description:
|
|
205
|
+
* @description: Delete store cookie. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
|
|
206
206
|
*/
|
|
207
207
|
removeOrderingStoreCookie({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationApplicationModel.SuccessMessageResponse>;
|
|
208
208
|
}
|
|
@@ -59,7 +59,7 @@ class Configuration {
|
|
|
59
59
|
* Success response
|
|
60
60
|
* @name getAppCurrencies
|
|
61
61
|
* @summary: Get currency configuration
|
|
62
|
-
* @description:
|
|
62
|
+
* @description: Get currency configuration of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
|
|
63
63
|
*/
|
|
64
64
|
async getAppCurrencies(
|
|
65
65
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -140,7 +140,7 @@ class Configuration {
|
|
|
140
140
|
* Success response
|
|
141
141
|
* @name getAppStaffList
|
|
142
142
|
* @summary: List staff members
|
|
143
|
-
* @description:
|
|
143
|
+
* @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
|
|
144
144
|
*/
|
|
145
145
|
async getAppStaffList(
|
|
146
146
|
{
|
|
@@ -235,7 +235,7 @@ class Configuration {
|
|
|
235
235
|
* Success response
|
|
236
236
|
* @name getAppStaffs
|
|
237
237
|
* @summary: Get staff member
|
|
238
|
-
* @description:
|
|
238
|
+
* @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/).
|
|
239
239
|
*/
|
|
240
240
|
async getAppStaffs(
|
|
241
241
|
{ orderIncent, orderingStore, user, requestHeaders } = {
|
|
@@ -318,7 +318,7 @@ class Configuration {
|
|
|
318
318
|
* @returns {Promise<ConfigurationApplicationModel.Application>} - Success response
|
|
319
319
|
* @name getApplication
|
|
320
320
|
* @summary: Get sales channel
|
|
321
|
-
* @description:
|
|
321
|
+
* @description: Get details of the current sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getApplication/).
|
|
322
322
|
*/
|
|
323
323
|
async getApplication(
|
|
324
324
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -399,7 +399,7 @@ class Configuration {
|
|
|
399
399
|
* Success response
|
|
400
400
|
* @name getBasicDetails
|
|
401
401
|
* @summary: Get Sales channel
|
|
402
|
-
* @description:
|
|
402
|
+
* @description: Get basic details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getBasicDetails/).
|
|
403
403
|
*/
|
|
404
404
|
async getBasicDetails(
|
|
405
405
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -481,7 +481,7 @@ class Configuration {
|
|
|
481
481
|
*
|
|
482
482
|
* @name getContactInfo
|
|
483
483
|
* @summary: Get sales channel contact
|
|
484
|
-
* @description:
|
|
484
|
+
* @description: Get contact details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getContactInfo/).
|
|
485
485
|
*/
|
|
486
486
|
async getContactInfo(
|
|
487
487
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -562,7 +562,7 @@ class Configuration {
|
|
|
562
562
|
* Success response
|
|
563
563
|
* @name getCurrencies
|
|
564
564
|
* @summary: List currencies
|
|
565
|
-
* @description:
|
|
565
|
+
* @description: List available currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
|
|
566
566
|
*/
|
|
567
567
|
async getCurrencies(
|
|
568
568
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -642,7 +642,7 @@ class Configuration {
|
|
|
642
642
|
* @returns {Promise<ConfigurationApplicationModel.Currency>} - Success response
|
|
643
643
|
* @name getCurrencyById
|
|
644
644
|
* @summary: Get a currency
|
|
645
|
-
* @description:
|
|
645
|
+
* @description: Get details of the currency. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
|
|
646
646
|
*/
|
|
647
647
|
async getCurrencyById(
|
|
648
648
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -723,7 +723,7 @@ class Configuration {
|
|
|
723
723
|
* Success response
|
|
724
724
|
* @name getFeatures
|
|
725
725
|
* @summary: Get sales channel features
|
|
726
|
-
* @description:
|
|
726
|
+
* @description: Get configuration of the features of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
|
|
727
727
|
*/
|
|
728
728
|
async getFeatures(
|
|
729
729
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -804,7 +804,7 @@ class Configuration {
|
|
|
804
804
|
* Success response
|
|
805
805
|
* @name getIntegrationTokens
|
|
806
806
|
* @summary: Get API tokens
|
|
807
|
-
* @description:
|
|
807
|
+
* @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/).
|
|
808
808
|
*/
|
|
809
809
|
async getIntegrationTokens(
|
|
810
810
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -885,7 +885,7 @@ class Configuration {
|
|
|
885
885
|
* Success response
|
|
886
886
|
* @name getLanguages
|
|
887
887
|
* @summary: List languages
|
|
888
|
-
* @description:
|
|
888
|
+
* @description: List available languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
|
|
889
889
|
*/
|
|
890
890
|
async getLanguages(
|
|
891
891
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1047,7 +1047,7 @@ class Configuration {
|
|
|
1047
1047
|
* @returns {Promise<ConfigurationApplicationModel.OrderingStores>} - Success response
|
|
1048
1048
|
* @name getOrderingStores
|
|
1049
1049
|
* @summary: List order-enabled selling locations
|
|
1050
|
-
* @description:
|
|
1050
|
+
* @description: Get details of all the deployment store locations where the sales channel will be used for order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStores/).
|
|
1051
1051
|
*/
|
|
1052
1052
|
async getOrderingStores(
|
|
1053
1053
|
{ pageNo, pageSize, q, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1132,7 +1132,7 @@ class Configuration {
|
|
|
1132
1132
|
*
|
|
1133
1133
|
* @name getOwnerInfo
|
|
1134
1134
|
* @summary: Get sales channel owner
|
|
1135
|
-
* @description:
|
|
1135
|
+
* @description: Get details of the sales channel owner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
|
|
1136
1136
|
*/
|
|
1137
1137
|
async getOwnerInfo(
|
|
1138
1138
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1211,7 +1211,7 @@ class Configuration {
|
|
|
1211
1211
|
* @returns {Promise<ConfigurationApplicationModel.OrderingStore>} - Success response
|
|
1212
1212
|
* @name getStoreDetailById
|
|
1213
1213
|
* @summary: Get a selling location
|
|
1214
|
-
* @description:
|
|
1214
|
+
* @description: Get details of a selling location (store) by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getStoreDetailById/).
|
|
1215
1215
|
*/
|
|
1216
1216
|
async getStoreDetailById(
|
|
1217
1217
|
{ storeId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1295,7 +1295,7 @@ class Configuration {
|
|
|
1295
1295
|
*
|
|
1296
1296
|
* @name removeOrderingStoreCookie
|
|
1297
1297
|
* @summary: Delete store cookie
|
|
1298
|
-
* @description:
|
|
1298
|
+
* @description: Delete store cookie. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
|
|
1299
1299
|
*/
|
|
1300
1300
|
async removeOrderingStoreCookie(
|
|
1301
1301
|
{ requestHeaders } = { requestHeaders: {} },
|