@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.5

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.
Files changed (140) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
  4. package/sdk/application/Cart/CartApplicationClient.js +82 -71
  5. package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
  6. package/sdk/application/Cart/CartApplicationValidator.js +59 -34
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
  16. package/sdk/application/Content/ContentApplicationClient.js +34 -115
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
  20. package/sdk/application/Lead/LeadApplicationClient.js +14 -14
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +24 -24
  25. package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
  26. package/sdk/application/Order/OrderApplicationModel.js +28 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
  28. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  29. package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
  30. package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
  31. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  32. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  33. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
  34. package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
  35. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
  36. package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
  37. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
  38. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  39. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  40. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  41. package/sdk/application/User/UserApplicationClient.d.ts +64 -64
  42. package/sdk/application/User/UserApplicationClient.js +64 -64
  43. package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
  44. package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
  45. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  46. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
  47. package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
  48. package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
  49. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
  50. package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
  51. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
  52. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
  54. package/sdk/platform/Cart/CartPlatformModel.js +12 -0
  55. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
  56. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
  57. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
  58. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
  59. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
  60. package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
  61. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
  62. package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
  63. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
  64. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  65. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
  66. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
  67. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
  68. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
  69. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
  70. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
  71. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
  72. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
  73. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
  74. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
  75. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
  76. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
  77. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
  78. package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
  79. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  80. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  81. package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
  82. package/sdk/platform/Content/ContentPlatformClient.js +7 -7
  83. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  84. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  85. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
  86. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
  87. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +19 -55
  88. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -55
  89. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
  90. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
  91. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -12
  92. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -14
  93. package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
  94. package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
  95. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  96. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  97. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
  98. package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
  99. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
  100. package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
  101. package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
  102. package/sdk/platform/Order/OrderPlatformClient.js +79 -294
  103. package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
  104. package/sdk/platform/Order/OrderPlatformModel.js +34 -2
  105. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  106. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  107. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
  108. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
  109. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
  110. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
  111. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  112. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  113. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
  114. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
  115. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
  116. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
  117. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
  118. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
  119. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
  120. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  121. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  122. package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
  123. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
  124. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
  125. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  126. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  127. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
  128. package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
  129. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  130. package/sdk/platform/User/UserPlatformModel.js +2 -2
  131. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
  132. package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
  133. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
  134. package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
  135. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  136. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  137. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  138. package/sdk/public/Partner/PartnerPublicClient.js +2 -2
  139. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  140. 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 history for specific company level ticket
12
- * @description: Create history for specific company level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
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: Creates a company level ticket
22
- * @description: Creates a company level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
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: Edits ticket details of a company level ticket
32
- * @description: Edits ticket details of a company level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
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: Gets a list of feedback submitted against that ticket
42
- * @description: Gets a list of feedback submitted against that ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
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 support configuration.
52
- * @description: Get general support configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
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: Retreives ticket details of a company level ticket with ticket ID
62
- * @description: Retreives ticket details of a company level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
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: Gets history list for specific company level ticket
72
- * @description: Gets history list for specific company level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
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: Gets the list of company level tickets and/or ticket filters depending on query params
82
- * @description: Gets the list of company level tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
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 participants of a specific Video Room using it's unique name
119
- * @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
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 Token to join a specific Video Room using it's unqiue name
130
- * @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
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 a response for feeback form against that ticket
140
- * @description: Submit a response for feeback form against that ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
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 history for specific company level ticket
24
- * @description: Create history for specific company level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
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: Creates a company level ticket
107
- * @description: Creates a company level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
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: Edits ticket details of a company level ticket
184
- * @description: Edits ticket details of a company level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
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: Gets a list of feedback submitted against that ticket
265
- * @description: Gets a list of feedback submitted against that ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
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 support configuration.
342
- * @description: Get general support configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
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: Retreives ticket details of a company level ticket with ticket ID
417
- * @description: Retreives ticket details of a company level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
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: Gets history list for specific company level ticket
496
- * @description: Gets history list for specific company level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
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: Gets the list of company level tickets and/or ticket filters depending on query params
575
- * @description: Gets the list of company level tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
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 participants of a specific Video Room using it's unique name
738
- * @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
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 Token to join a specific Video Room using it's unqiue name
820
- * @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
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 a response for feeback form against that ticket
901
- * @description: Submit a response for feeback form against that ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
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: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
39
- * @description: Using action, get reasons behind full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getPlatformShipmentReasons/).
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 Shipment by shipment id, for application based on application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipmentPlatform/).
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: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
262
- * @description: Using action, get reasons behind full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getPlatformShipmentReasons/).
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 Shipment by shipment id, for application based on application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipmentPlatform/).
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: {} },