@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.6
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Lead/LeadApplicationModel.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -4
- package/sdk/application/Share/ShareApplicationModel.js +0 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +246 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +20 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -16
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +4 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Share/SharePlatformModel.d.ts +0 -4
- package/sdk/platform/Share/SharePlatformModel.js +0 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +4 -4
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -8,8 +8,8 @@ declare class Lead {
|
|
|
8
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
|
|
10
10
|
* @name createPlatformTicketHistory
|
|
11
|
-
* @summary: Create
|
|
12
|
-
* @description: Create
|
|
11
|
+
* @summary: Create platform ticket history.
|
|
12
|
+
* @description: Create futher interactions on a company level ticket such as changing it's status, priority or replying to a ticket via a thread. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
|
|
13
13
|
*/
|
|
14
14
|
createPlatformTicketHistory({ id, body, requestHeaders }?: LeadPlatformValidator.CreatePlatformTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistory>;
|
|
15
15
|
/**
|
|
@@ -18,8 +18,8 @@ declare class Lead {
|
|
|
18
18
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
19
19
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
20
20
|
* @name createTicket
|
|
21
|
-
* @summary:
|
|
22
|
-
* @description:
|
|
21
|
+
* @summary: Create ticket.
|
|
22
|
+
* @description: Create a new ticket at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
|
|
23
23
|
*/
|
|
24
24
|
createTicket({ body, requestHeaders }?: LeadPlatformValidator.CreateTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
|
|
25
25
|
/**
|
|
@@ -28,8 +28,8 @@ declare class Lead {
|
|
|
28
28
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
29
29
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
30
30
|
* @name editPlatformTicket
|
|
31
|
-
* @summary:
|
|
32
|
-
* @description:
|
|
31
|
+
* @summary: Edit platform ticket.
|
|
32
|
+
* @description: Modify the content and settings of a specific company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
|
|
33
33
|
*/
|
|
34
34
|
editPlatformTicket({ id, body, requestHeaders }?: LeadPlatformValidator.EditPlatformTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
|
|
35
35
|
/**
|
|
@@ -38,8 +38,8 @@ declare class Lead {
|
|
|
38
38
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
39
39
|
* @returns {Promise<LeadPlatformModel.TicketFeedbackList>} - Success response
|
|
40
40
|
* @name getFeedbacks
|
|
41
|
-
* @summary:
|
|
42
|
-
* @description:
|
|
41
|
+
* @summary: Get feedbacks.
|
|
42
|
+
* @description: Retrieve feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
|
|
43
43
|
*/
|
|
44
44
|
getFeedbacks({ id, requestHeaders }?: LeadPlatformValidator.GetFeedbacksParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedbackList>;
|
|
45
45
|
/**
|
|
@@ -48,8 +48,8 @@ declare class Lead {
|
|
|
48
48
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
49
49
|
* @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
|
|
50
50
|
* @name getGeneralConfig
|
|
51
|
-
* @summary: Get general
|
|
52
|
-
* @description:
|
|
51
|
+
* @summary: Get general configuration.
|
|
52
|
+
* @description: Retrieve general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
|
|
53
53
|
*/
|
|
54
54
|
getGeneralConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LeadPlatformModel.CloseVideoRoomResponse>;
|
|
55
55
|
/**
|
|
@@ -58,8 +58,8 @@ declare class Lead {
|
|
|
58
58
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
59
59
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
60
60
|
* @name getPlatformTicket
|
|
61
|
-
* @summary:
|
|
62
|
-
* @description:
|
|
61
|
+
* @summary: Get platform ticket.
|
|
62
|
+
* @description: Retrieve detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
|
|
63
63
|
*/
|
|
64
64
|
getPlatformTicket({ id, requestHeaders }?: LeadPlatformValidator.GetPlatformTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
|
|
65
65
|
/**
|
|
@@ -68,8 +68,8 @@ declare class Lead {
|
|
|
68
68
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
69
69
|
* @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
|
|
70
70
|
* @name getPlatformTicketHistory
|
|
71
|
-
* @summary:
|
|
72
|
-
* @description:
|
|
71
|
+
* @summary: Get platform ticket history.
|
|
72
|
+
* @description: Retrieve a list of history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
|
|
73
73
|
*/
|
|
74
74
|
getPlatformTicketHistory({ id, requestHeaders }?: LeadPlatformValidator.GetPlatformTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistoryList>;
|
|
75
75
|
/**
|
|
@@ -78,35 +78,10 @@ declare class Lead {
|
|
|
78
78
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
79
79
|
* @returns {Promise<LeadPlatformModel.TicketList>} - Success response
|
|
80
80
|
* @name getPlatformTickets
|
|
81
|
-
* @summary:
|
|
82
|
-
* @description:
|
|
81
|
+
* @summary: Get platform tickets.
|
|
82
|
+
* @description: Retrieve a list of tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
|
|
83
83
|
*/
|
|
84
84
|
getPlatformTickets({ items, filters, q, status, priority, category, pageNo, pageSize, requestHeaders, }?: LeadPlatformValidator.GetPlatformTicketsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketList>;
|
|
85
|
-
/**
|
|
86
|
-
* @param {Object} arg - Arg object.
|
|
87
|
-
* @param {boolean} [arg.items] - Decides that the reponse will contain the
|
|
88
|
-
* list of tickets
|
|
89
|
-
* @param {boolean} [arg.filters] - Decides that the reponse will contain
|
|
90
|
-
* the ticket filters
|
|
91
|
-
* @param {string} [arg.q] - Search through ticket titles and description
|
|
92
|
-
* @param {string} [arg.status] - Filter tickets on status
|
|
93
|
-
* @param {LeadPlatformModel.PriorityEnum} [arg.priority] - Filter tickets on priority
|
|
94
|
-
* @param {string} [arg.category] - Filter tickets on category
|
|
95
|
-
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
96
|
-
* page. Default is 12.
|
|
97
|
-
* @returns {Paginator<LeadPlatformModel.TicketList>}
|
|
98
|
-
* @summary: Gets the list of company level tickets and/or ticket filters depending on query params
|
|
99
|
-
* @description: Gets the list of company level tickets and/or ticket filters
|
|
100
|
-
*/
|
|
101
|
-
getPlatformTicketsPaginator({ items, filters, q, status, priority, category, pageSize, }?: {
|
|
102
|
-
items?: boolean;
|
|
103
|
-
filters?: boolean;
|
|
104
|
-
q?: string;
|
|
105
|
-
status?: string;
|
|
106
|
-
priority?: LeadPlatformModel.PriorityEnum;
|
|
107
|
-
category?: string;
|
|
108
|
-
pageSize?: number;
|
|
109
|
-
}): Paginator<LeadPlatformModel.TicketList>;
|
|
110
85
|
/**
|
|
111
86
|
* @param {LeadPlatformValidator.GetPlatformVideoParticipantsParam} arg - Arg object
|
|
112
87
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -115,8 +90,8 @@ declare class Lead {
|
|
|
115
90
|
* - Success response
|
|
116
91
|
*
|
|
117
92
|
* @name getPlatformVideoParticipants
|
|
118
|
-
* @summary: Get
|
|
119
|
-
* @description:
|
|
93
|
+
* @summary: Get platform video participants.
|
|
94
|
+
* @description: Retrieve a list of participants in a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
|
|
120
95
|
*/
|
|
121
96
|
getPlatformVideoParticipants({ uniqueName, requestHeaders }?: LeadPlatformValidator.GetPlatformVideoParticipantsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>;
|
|
122
97
|
/**
|
|
@@ -126,8 +101,8 @@ declare class Lead {
|
|
|
126
101
|
* @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
|
|
127
102
|
* Success response
|
|
128
103
|
* @name getTokenForPlatformVideoRoom
|
|
129
|
-
* @summary: Get
|
|
130
|
-
* @description:
|
|
104
|
+
* @summary: Get token for platform video room.
|
|
105
|
+
* @description: Retrieve an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
|
|
131
106
|
*/
|
|
132
107
|
getTokenForPlatformVideoRoom({ uniqueName, requestHeaders }?: LeadPlatformValidator.GetTokenForPlatformVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>;
|
|
133
108
|
/**
|
|
@@ -136,11 +111,10 @@ declare class Lead {
|
|
|
136
111
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
137
112
|
* @returns {Promise<LeadPlatformModel.TicketFeedback>} - Success response
|
|
138
113
|
* @name submitFeedback
|
|
139
|
-
* @summary: Submit
|
|
140
|
-
* @description:
|
|
114
|
+
* @summary: Submit feedback.
|
|
115
|
+
* @description: Provide feedback on a ticket and it's resolution. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
|
|
141
116
|
*/
|
|
142
117
|
submitFeedback({ id, body, requestHeaders }?: LeadPlatformValidator.SubmitFeedbackParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedback>;
|
|
143
118
|
}
|
|
144
119
|
import LeadPlatformValidator = require("./LeadPlatformValidator");
|
|
145
120
|
import LeadPlatformModel = require("./LeadPlatformModel");
|
|
146
|
-
import Paginator = require("../../common/Paginator");
|
|
@@ -20,8 +20,8 @@ class Lead {
|
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
21
|
* @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
|
|
22
22
|
* @name createPlatformTicketHistory
|
|
23
|
-
* @summary: Create
|
|
24
|
-
* @description: Create
|
|
23
|
+
* @summary: Create platform ticket history.
|
|
24
|
+
* @description: Create futher interactions on a company level ticket such as changing it's status, priority or replying to a ticket via a thread. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
|
|
25
25
|
*/
|
|
26
26
|
async createPlatformTicketHistory(
|
|
27
27
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -103,8 +103,8 @@ class Lead {
|
|
|
103
103
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
104
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
105
105
|
* @name createTicket
|
|
106
|
-
* @summary:
|
|
107
|
-
* @description:
|
|
106
|
+
* @summary: Create ticket.
|
|
107
|
+
* @description: Create a new ticket at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
|
|
108
108
|
*/
|
|
109
109
|
async createTicket(
|
|
110
110
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -180,8 +180,8 @@ class Lead {
|
|
|
180
180
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
181
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
182
182
|
* @name editPlatformTicket
|
|
183
|
-
* @summary:
|
|
184
|
-
* @description:
|
|
183
|
+
* @summary: Edit platform ticket.
|
|
184
|
+
* @description: Modify the content and settings of a specific company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
|
|
185
185
|
*/
|
|
186
186
|
async editPlatformTicket(
|
|
187
187
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -261,8 +261,8 @@ class Lead {
|
|
|
261
261
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
262
262
|
* @returns {Promise<LeadPlatformModel.TicketFeedbackList>} - Success response
|
|
263
263
|
* @name getFeedbacks
|
|
264
|
-
* @summary:
|
|
265
|
-
* @description:
|
|
264
|
+
* @summary: Get feedbacks.
|
|
265
|
+
* @description: Retrieve feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
|
|
266
266
|
*/
|
|
267
267
|
async getFeedbacks(
|
|
268
268
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -338,8 +338,8 @@ class Lead {
|
|
|
338
338
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
339
339
|
* @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
|
|
340
340
|
* @name getGeneralConfig
|
|
341
|
-
* @summary: Get general
|
|
342
|
-
* @description:
|
|
341
|
+
* @summary: Get general configuration.
|
|
342
|
+
* @description: Retrieve general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
|
|
343
343
|
*/
|
|
344
344
|
async getGeneralConfig(
|
|
345
345
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -413,8 +413,8 @@ class Lead {
|
|
|
413
413
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
414
414
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
415
415
|
* @name getPlatformTicket
|
|
416
|
-
* @summary:
|
|
417
|
-
* @description:
|
|
416
|
+
* @summary: Get platform ticket.
|
|
417
|
+
* @description: Retrieve detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
|
|
418
418
|
*/
|
|
419
419
|
async getPlatformTicket(
|
|
420
420
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -492,8 +492,8 @@ class Lead {
|
|
|
492
492
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
493
493
|
* @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
|
|
494
494
|
* @name getPlatformTicketHistory
|
|
495
|
-
* @summary:
|
|
496
|
-
* @description:
|
|
495
|
+
* @summary: Get platform ticket history.
|
|
496
|
+
* @description: Retrieve a list of history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
|
|
497
497
|
*/
|
|
498
498
|
async getPlatformTicketHistory(
|
|
499
499
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -571,8 +571,8 @@ class Lead {
|
|
|
571
571
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
572
572
|
* @returns {Promise<LeadPlatformModel.TicketList>} - Success response
|
|
573
573
|
* @name getPlatformTickets
|
|
574
|
-
* @summary:
|
|
575
|
-
* @description:
|
|
574
|
+
* @summary: Get platform tickets.
|
|
575
|
+
* @description: Retrieve a list of tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
|
|
576
576
|
*/
|
|
577
577
|
async getPlatformTickets(
|
|
578
578
|
{
|
|
@@ -676,56 +676,6 @@ class Lead {
|
|
|
676
676
|
return response;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
/**
|
|
680
|
-
* @param {Object} arg - Arg object.
|
|
681
|
-
* @param {boolean} [arg.items] - Decides that the reponse will contain the
|
|
682
|
-
* list of tickets
|
|
683
|
-
* @param {boolean} [arg.filters] - Decides that the reponse will contain
|
|
684
|
-
* the ticket filters
|
|
685
|
-
* @param {string} [arg.q] - Search through ticket titles and description
|
|
686
|
-
* @param {string} [arg.status] - Filter tickets on status
|
|
687
|
-
* @param {LeadPlatformModel.PriorityEnum} [arg.priority] - Filter tickets on priority
|
|
688
|
-
* @param {string} [arg.category] - Filter tickets on category
|
|
689
|
-
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
690
|
-
* page. Default is 12.
|
|
691
|
-
* @returns {Paginator<LeadPlatformModel.TicketList>}
|
|
692
|
-
* @summary: Gets the list of company level tickets and/or ticket filters depending on query params
|
|
693
|
-
* @description: Gets the list of company level tickets and/or ticket filters
|
|
694
|
-
*/
|
|
695
|
-
getPlatformTicketsPaginator({
|
|
696
|
-
items,
|
|
697
|
-
filters,
|
|
698
|
-
q,
|
|
699
|
-
status,
|
|
700
|
-
priority,
|
|
701
|
-
category,
|
|
702
|
-
pageSize,
|
|
703
|
-
} = {}) {
|
|
704
|
-
const paginator = new Paginator();
|
|
705
|
-
const callback = async () => {
|
|
706
|
-
const pageId = paginator.nextId;
|
|
707
|
-
const pageNo = paginator.pageNo;
|
|
708
|
-
const pageType = "number";
|
|
709
|
-
const data = await this.getPlatformTickets({
|
|
710
|
-
items: items,
|
|
711
|
-
filters: filters,
|
|
712
|
-
q: q,
|
|
713
|
-
status: status,
|
|
714
|
-
priority: priority,
|
|
715
|
-
category: category,
|
|
716
|
-
pageNo: pageNo,
|
|
717
|
-
pageSize: pageSize,
|
|
718
|
-
});
|
|
719
|
-
paginator.setPaginator({
|
|
720
|
-
hasNext: data.page.has_next ? true : false,
|
|
721
|
-
nextId: data.page.next_id,
|
|
722
|
-
});
|
|
723
|
-
return data;
|
|
724
|
-
};
|
|
725
|
-
paginator.setCallback(callback.bind(this));
|
|
726
|
-
return paginator;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
679
|
/**
|
|
730
680
|
* @param {LeadPlatformValidator.GetPlatformVideoParticipantsParam} arg - Arg object
|
|
731
681
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -734,8 +684,8 @@ class Lead {
|
|
|
734
684
|
* - Success response
|
|
735
685
|
*
|
|
736
686
|
* @name getPlatformVideoParticipants
|
|
737
|
-
* @summary: Get
|
|
738
|
-
* @description:
|
|
687
|
+
* @summary: Get platform video participants.
|
|
688
|
+
* @description: Retrieve a list of participants in a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
|
|
739
689
|
*/
|
|
740
690
|
async getPlatformVideoParticipants(
|
|
741
691
|
{ uniqueName, requestHeaders } = { requestHeaders: {} },
|
|
@@ -816,8 +766,8 @@ class Lead {
|
|
|
816
766
|
* @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
|
|
817
767
|
* Success response
|
|
818
768
|
* @name getTokenForPlatformVideoRoom
|
|
819
|
-
* @summary: Get
|
|
820
|
-
* @description:
|
|
769
|
+
* @summary: Get token for platform video room.
|
|
770
|
+
* @description: Retrieve an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
|
|
821
771
|
*/
|
|
822
772
|
async getTokenForPlatformVideoRoom(
|
|
823
773
|
{ uniqueName, requestHeaders } = { requestHeaders: {} },
|
|
@@ -897,8 +847,8 @@ class Lead {
|
|
|
897
847
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
898
848
|
* @returns {Promise<LeadPlatformModel.TicketFeedback>} - Success response
|
|
899
849
|
* @name submitFeedback
|
|
900
|
-
* @summary: Submit
|
|
901
|
-
* @description:
|
|
850
|
+
* @summary: Submit feedback.
|
|
851
|
+
* @description: Provide feedback on a ticket and it's resolution. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
|
|
902
852
|
*/
|
|
903
853
|
async submitFeedback(
|
|
904
854
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -35,8 +35,8 @@ declare class Order {
|
|
|
35
35
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
36
36
|
* @returns {Promise<OrderPlatformModel.ShipmentReasonsResponse>} - Success response
|
|
37
37
|
* @name getPlatformShipmentReasons
|
|
38
|
-
* @summary:
|
|
39
|
-
* @description:
|
|
38
|
+
* @summary: Get platform shipment reasons.
|
|
39
|
+
* @description: Retrieve reasons behind full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getPlatformShipmentReasons/).
|
|
40
40
|
*/
|
|
41
41
|
getPlatformShipmentReasons({ action, requestHeaders }?: OrderPlatformApplicationValidator.GetPlatformShipmentReasonsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentReasonsResponse>;
|
|
42
42
|
/**
|
|
@@ -59,8 +59,8 @@ declare class Order {
|
|
|
59
59
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
60
60
|
* @returns {Promise<OrderPlatformModel.PlatformShipmentTrack>} - Success response
|
|
61
61
|
* @name trackShipmentPlatform
|
|
62
|
-
* @summary: Track shipment
|
|
63
|
-
* @description: Track
|
|
62
|
+
* @summary: Track shipment on the platform.
|
|
63
|
+
* @description: Track shipment by Shipment ID for application based on application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipmentPlatform/).
|
|
64
64
|
*/
|
|
65
65
|
trackShipmentPlatform({ shipmentId, requestHeaders }?: OrderPlatformApplicationValidator.TrackShipmentPlatformParam, { responseHeaders }?: object): Promise<OrderPlatformModel.PlatformShipmentTrack>;
|
|
66
66
|
}
|
|
@@ -258,8 +258,8 @@ class Order {
|
|
|
258
258
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
259
259
|
* @returns {Promise<OrderPlatformModel.ShipmentReasonsResponse>} - Success response
|
|
260
260
|
* @name getPlatformShipmentReasons
|
|
261
|
-
* @summary:
|
|
262
|
-
* @description:
|
|
261
|
+
* @summary: Get platform shipment reasons.
|
|
262
|
+
* @description: Retrieve reasons behind full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getPlatformShipmentReasons/).
|
|
263
263
|
*/
|
|
264
264
|
async getPlatformShipmentReasons(
|
|
265
265
|
{ action, requestHeaders } = { requestHeaders: {} },
|
|
@@ -422,8 +422,8 @@ class Order {
|
|
|
422
422
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
423
423
|
* @returns {Promise<OrderPlatformModel.PlatformShipmentTrack>} - Success response
|
|
424
424
|
* @name trackShipmentPlatform
|
|
425
|
-
* @summary: Track shipment
|
|
426
|
-
* @description: Track
|
|
425
|
+
* @summary: Track shipment on the platform.
|
|
426
|
+
* @description: Track shipment by Shipment ID for application based on application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipmentPlatform/).
|
|
427
427
|
*/
|
|
428
428
|
async trackShipmentPlatform(
|
|
429
429
|
{ shipmentId, requestHeaders } = { requestHeaders: {} },
|