@gofynd/fdk-client-javascript 3.16.3 → 3.17.0
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 +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationClient.js +53 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
- package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
- package/sdk/application/Order/OrderApplicationClient.js +50 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +4 -4
- package/sdk/application/Payment/PaymentApplicationClient.js +3 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -3
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1 -4
- package/sdk/platform/Cart/CartPlatformModel.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6 -131
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -141
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -10
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -12
- package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
- package/sdk/platform/Common/CommonPlatformModel.js +14 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +26 -18
- package/sdk/platform/Order/OrderPlatformClient.js +175 -107
- package/sdk/platform/Order/OrderPlatformModel.d.ts +339 -43
- package/sdk/platform/Order/OrderPlatformModel.js +209 -43
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
- package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformModel.js +14 -10
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
- package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -410
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export = Rewards;
|
|
2
|
-
declare class Rewards {
|
|
3
|
-
constructor(config: any, applicationId: any);
|
|
4
|
-
config: any;
|
|
5
|
-
applicationId: any;
|
|
6
|
-
/**
|
|
7
|
-
* @param {RewardsPlatformApplicationValidator.GetGiveawayByIdParam} arg - Arg object
|
|
8
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
-
* @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
|
|
11
|
-
* @name getGiveawayById
|
|
12
|
-
* @summary: Get a giveaway
|
|
13
|
-
* @description: Retrieve specific giveaway details by its unique identifier. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getGiveawayById/).
|
|
14
|
-
*/
|
|
15
|
-
getGiveawayById({ id, requestHeaders }?: RewardsPlatformApplicationValidator.GetGiveawayByIdParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
|
|
16
|
-
/**
|
|
17
|
-
* @param {RewardsPlatformApplicationValidator.GetOfferByNameParam} arg - Arg object
|
|
18
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
19
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
20
|
-
* @returns {Promise<RewardsPlatformModel.Offer>} - Success response
|
|
21
|
-
* @name getOfferByName
|
|
22
|
-
* @summary: Get offer by name
|
|
23
|
-
* @description: Retrieve an offer by its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getOfferByName/).
|
|
24
|
-
*/
|
|
25
|
-
getOfferByName({ name, requestHeaders }?: RewardsPlatformApplicationValidator.GetOfferByNameParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer>;
|
|
26
|
-
/**
|
|
27
|
-
* @param {RewardsPlatformApplicationValidator.GetRewardsConfigurationParam} arg
|
|
28
|
-
* - Arg object
|
|
29
|
-
*
|
|
30
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
31
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
32
|
-
* @returns {Promise<RewardsPlatformModel.ConfigurationRes>} - Success response
|
|
33
|
-
* @name getRewardsConfiguration
|
|
34
|
-
* @summary: Get rewards configuration
|
|
35
|
-
* @description: Retrieve the configuration settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getRewardsConfiguration/).
|
|
36
|
-
*/
|
|
37
|
-
getRewardsConfiguration({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsPlatformModel.ConfigurationRes>;
|
|
38
|
-
/**
|
|
39
|
-
* @param {RewardsPlatformApplicationValidator.GetUserDetailsParam} arg - Arg object
|
|
40
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
41
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
42
|
-
* @returns {Promise<RewardsPlatformModel.UserRes>} - Success response
|
|
43
|
-
* @name getUserDetails
|
|
44
|
-
* @summary: Get a user
|
|
45
|
-
* @description: Retrieve comprehensive details about a user in the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserDetails/).
|
|
46
|
-
*/
|
|
47
|
-
getUserDetails({ userId, requestHeaders }?: RewardsPlatformApplicationValidator.GetUserDetailsParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.UserRes>;
|
|
48
|
-
/**
|
|
49
|
-
* @param {RewardsPlatformApplicationValidator.GetUserPointsHistoryParam} arg
|
|
50
|
-
* - Arg object
|
|
51
|
-
*
|
|
52
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
53
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
54
|
-
* @returns {Promise<RewardsPlatformModel.HistoryRes>} - Success response
|
|
55
|
-
* @name getUserPointsHistory
|
|
56
|
-
* @summary: Get reward user points history
|
|
57
|
-
* @description: Retrieve the history of points earned and redeemed by a user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserPointsHistory/).
|
|
58
|
-
*/
|
|
59
|
-
getUserPointsHistory({ userId, pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.GetUserPointsHistoryParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.HistoryRes>;
|
|
60
|
-
/**
|
|
61
|
-
* @param {RewardsPlatformApplicationValidator.SaveGiveAwayParam} arg - Arg object
|
|
62
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
64
|
-
* @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
|
|
65
|
-
* @name saveGiveAway
|
|
66
|
-
* @summary: Create a giveaway
|
|
67
|
-
* @description: Store and manage details of a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/saveGiveAway/).
|
|
68
|
-
*/
|
|
69
|
-
saveGiveAway({ body, requestHeaders }?: RewardsPlatformApplicationValidator.SaveGiveAwayParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
|
|
70
|
-
/**
|
|
71
|
-
* @param {RewardsPlatformApplicationValidator.SetRewardsConfigurationParam} arg
|
|
72
|
-
* - Arg object
|
|
73
|
-
*
|
|
74
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
75
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
76
|
-
* @returns {Promise<RewardsPlatformModel.SetConfigurationRes>} - Success response
|
|
77
|
-
* @name setRewardsConfiguration
|
|
78
|
-
* @summary: Set rewards configuration
|
|
79
|
-
* @description: Configure and modify the settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/setRewardsConfiguration/).
|
|
80
|
-
*/
|
|
81
|
-
setRewardsConfiguration({ body, requestHeaders }?: RewardsPlatformApplicationValidator.SetRewardsConfigurationParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.SetConfigurationRes>;
|
|
82
|
-
/**
|
|
83
|
-
* @param {RewardsPlatformApplicationValidator.ShowGiveawaysParam} arg - Arg object
|
|
84
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
85
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
86
|
-
* @returns {Promise<RewardsPlatformModel.ListGiveaway>} - Success response
|
|
87
|
-
* @name showGiveaways
|
|
88
|
-
* @summary: List giveaways
|
|
89
|
-
* @description: Retrieve and display available giveaways. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showGiveaways/).
|
|
90
|
-
*/
|
|
91
|
-
showGiveaways({ pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.ShowGiveawaysParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.ListGiveaway>;
|
|
92
|
-
/**
|
|
93
|
-
* @param {RewardsPlatformApplicationValidator.ShowOffersParam} arg - Arg object
|
|
94
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<RewardsPlatformModel.Offer[]>} - Success response
|
|
97
|
-
* @name showOffers
|
|
98
|
-
* @summary: List offers
|
|
99
|
-
* @description: Display available offers for users. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showOffers/).
|
|
100
|
-
*/
|
|
101
|
-
showOffers({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer[]>;
|
|
102
|
-
/**
|
|
103
|
-
* @param {RewardsPlatformApplicationValidator.UpdateGiveAwayParam} arg - Arg object
|
|
104
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
105
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
|
-
* @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
|
|
107
|
-
* @name updateGiveAway
|
|
108
|
-
* @summary: Update a giveaway
|
|
109
|
-
* @description: Modify and update information about a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateGiveAway/).
|
|
110
|
-
*/
|
|
111
|
-
updateGiveAway({ id, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateGiveAwayParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
|
|
112
|
-
/**
|
|
113
|
-
* @param {RewardsPlatformApplicationValidator.UpdateOfferByNameParam} arg
|
|
114
|
-
* - Arg object
|
|
115
|
-
*
|
|
116
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
117
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
118
|
-
* @returns {Promise<RewardsPlatformModel.Offer>} - Success response
|
|
119
|
-
* @name updateOfferByName
|
|
120
|
-
* @summary: Update offer by name
|
|
121
|
-
* @description: Modify and manage an offer using its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateOfferByName/).
|
|
122
|
-
*/
|
|
123
|
-
updateOfferByName({ name, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateOfferByNameParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer>;
|
|
124
|
-
/**
|
|
125
|
-
* @param {RewardsPlatformApplicationValidator.UpdateUserStatusParam} arg - Arg object
|
|
126
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
127
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
128
|
-
* @returns {Promise<RewardsPlatformModel.AppUser>} - Success response
|
|
129
|
-
* @name updateUserStatus
|
|
130
|
-
* @summary: Update user status
|
|
131
|
-
* @description: Change and update the status of a user in the rewards system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateUserStatus/).
|
|
132
|
-
*/
|
|
133
|
-
updateUserStatus({ userId, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateUserStatusParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.AppUser>;
|
|
134
|
-
}
|
|
135
|
-
import RewardsPlatformApplicationValidator = require("./RewardsPlatformApplicationValidator");
|
|
136
|
-
import RewardsPlatformModel = require("./RewardsPlatformModel");
|