@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1
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/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +3 -15
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3641 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +319 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +18 -19
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -30,15 +30,11 @@ export = FileStoragePartnerModel;
|
|
|
30
30
|
* @typedef FailedResponse
|
|
31
31
|
* @property {string} message
|
|
32
32
|
*/
|
|
33
|
-
/**
|
|
34
|
-
* @typedef Params
|
|
35
|
-
* @property {string} [subpath] - The subpath for the file.
|
|
36
|
-
*/
|
|
37
33
|
/**
|
|
38
34
|
* @typedef StartRequest
|
|
39
35
|
* @property {string} content_type
|
|
40
36
|
* @property {string} file_name
|
|
41
|
-
* @property {
|
|
37
|
+
* @property {Object} [params]
|
|
42
38
|
* @property {number} size
|
|
43
39
|
* @property {string[]} [tags]
|
|
44
40
|
*/
|
|
@@ -63,7 +59,7 @@ export = FileStoragePartnerModel;
|
|
|
63
59
|
declare class FileStoragePartnerModel {
|
|
64
60
|
}
|
|
65
61
|
declare namespace FileStoragePartnerModel {
|
|
66
|
-
export { CDN, CompleteResponse, CreatedBy, FailedResponse,
|
|
62
|
+
export { CDN, CompleteResponse, CreatedBy, FailedResponse, StartRequest, StartResponse, Upload };
|
|
67
63
|
}
|
|
68
64
|
/** @returns {CDN} */
|
|
69
65
|
declare function CDN(): CDN;
|
|
@@ -100,20 +96,12 @@ declare function FailedResponse(): FailedResponse;
|
|
|
100
96
|
type FailedResponse = {
|
|
101
97
|
message: string;
|
|
102
98
|
};
|
|
103
|
-
/** @returns {Params} */
|
|
104
|
-
declare function Params(): Params;
|
|
105
|
-
type Params = {
|
|
106
|
-
/**
|
|
107
|
-
* - The subpath for the file.
|
|
108
|
-
*/
|
|
109
|
-
subpath?: string;
|
|
110
|
-
};
|
|
111
99
|
/** @returns {StartRequest} */
|
|
112
100
|
declare function StartRequest(): StartRequest;
|
|
113
101
|
type StartRequest = {
|
|
114
102
|
content_type: string;
|
|
115
103
|
file_name: string;
|
|
116
|
-
params?:
|
|
104
|
+
params?: any;
|
|
117
105
|
size: number;
|
|
118
106
|
tags?: string[];
|
|
119
107
|
};
|
|
@@ -35,16 +35,11 @@ const Joi = require("joi");
|
|
|
35
35
|
* @property {string} message
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
|
-
/**
|
|
39
|
-
* @typedef Params
|
|
40
|
-
* @property {string} [subpath] - The subpath for the file.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
38
|
/**
|
|
44
39
|
* @typedef StartRequest
|
|
45
40
|
* @property {string} content_type
|
|
46
41
|
* @property {string} file_name
|
|
47
|
-
* @property {
|
|
42
|
+
* @property {Object} [params]
|
|
48
43
|
* @property {number} size
|
|
49
44
|
* @property {string[]} [tags]
|
|
50
45
|
*/
|
|
@@ -113,19 +108,12 @@ class FileStoragePartnerModel {
|
|
|
113
108
|
});
|
|
114
109
|
}
|
|
115
110
|
|
|
116
|
-
/** @returns {Params} */
|
|
117
|
-
static Params() {
|
|
118
|
-
return Joi.object({
|
|
119
|
-
subpath: Joi.string().allow(""),
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
|
|
123
111
|
/** @returns {StartRequest} */
|
|
124
112
|
static StartRequest() {
|
|
125
113
|
return Joi.object({
|
|
126
114
|
content_type: Joi.string().allow("").required(),
|
|
127
115
|
file_name: Joi.string().allow("").required(),
|
|
128
|
-
params:
|
|
116
|
+
params: Joi.object().pattern(/\S/, Joi.any()),
|
|
129
117
|
size: Joi.number().required(),
|
|
130
118
|
tags: Joi.array().items(Joi.string().allow("")),
|
|
131
119
|
});
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export = Lead;
|
|
2
|
+
declare class Lead {
|
|
3
|
+
constructor(config: any);
|
|
4
|
+
config: any;
|
|
5
|
+
/**
|
|
6
|
+
* @param {LeadPartnerValidator.GetTicketsParam} arg - Arg object.
|
|
7
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
9
|
+
* @returns {Promise<LeadPartnerModel.TicketList>} - Success response
|
|
10
|
+
* @name getTickets
|
|
11
|
+
* @summary: Gets the list of partner level tickets and/or ticket filters depending on query params
|
|
12
|
+
* @description: Gets the list of partner level tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/getTickets/).
|
|
13
|
+
*/
|
|
14
|
+
getTickets({ items, filters, q, status, priority, category, pageNo, pageSize, requestHeaders, }?: LeadPartnerValidator.GetTicketsParam, { responseHeaders }?: object): Promise<LeadPartnerModel.TicketList>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {Object} arg - Arg object.
|
|
17
|
+
* @param {boolean} [arg.items] - Decides that the reponse will contain the
|
|
18
|
+
* list of tickets
|
|
19
|
+
* @param {boolean} [arg.filters] - Decides that the reponse will contain
|
|
20
|
+
* the ticket filters
|
|
21
|
+
* @param {string} [arg.q] - Search through ticket titles and description
|
|
22
|
+
* @param {string} [arg.status] - Filter tickets on status
|
|
23
|
+
* @param {LeadPartnerModel.PriorityEnum} [arg.priority] - Filter tickets on priority
|
|
24
|
+
* @param {string} [arg.category] - Filter tickets on category
|
|
25
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
26
|
+
* page. Default is 12.
|
|
27
|
+
* @returns {Paginator<LeadPartnerModel.TicketList>}
|
|
28
|
+
* @summary: Gets the list of partner level tickets and/or ticket filters depending on query params
|
|
29
|
+
* @description: Gets the list of partner level tickets and/or ticket filters
|
|
30
|
+
*/
|
|
31
|
+
getTicketsPaginator({ items, filters, q, status, priority, category, pageSize, }?: {
|
|
32
|
+
items?: boolean;
|
|
33
|
+
filters?: boolean;
|
|
34
|
+
q?: string;
|
|
35
|
+
status?: string;
|
|
36
|
+
priority?: LeadPartnerModel.PriorityEnum;
|
|
37
|
+
category?: string;
|
|
38
|
+
pageSize?: number;
|
|
39
|
+
}): Paginator<LeadPartnerModel.TicketList>;
|
|
40
|
+
/**
|
|
41
|
+
* @param {LeadPartnerValidator.CreateTicketParam} arg - Arg object.
|
|
42
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
43
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
44
|
+
* @returns {Promise<LeadPartnerModel.Ticket>} - Success response
|
|
45
|
+
* @name createTicket
|
|
46
|
+
* @summary: Creates a partner level ticket
|
|
47
|
+
* @description: Creates a partner level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/createTicket/).
|
|
48
|
+
*/
|
|
49
|
+
createTicket({ body, requestHeaders }?: LeadPartnerValidator.CreateTicketParam, { responseHeaders }?: object): Promise<LeadPartnerModel.Ticket>;
|
|
50
|
+
/**
|
|
51
|
+
* @param {LeadPartnerValidator.GetTicketParam} arg - Arg object.
|
|
52
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
53
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
54
|
+
* @returns {Promise<LeadPartnerModel.Ticket>} - Success response
|
|
55
|
+
* @name getTicket
|
|
56
|
+
* @summary: Retreives ticket details of a partner level ticket with ticket ID
|
|
57
|
+
* @description: Retreives ticket details of a partner level ticket - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/getTicket/).
|
|
58
|
+
*/
|
|
59
|
+
getTicket({ id, requestHeaders }?: LeadPartnerValidator.GetTicketParam, { responseHeaders }?: object): Promise<LeadPartnerModel.Ticket>;
|
|
60
|
+
/**
|
|
61
|
+
* @param {LeadPartnerValidator.EditTicketParam} arg - Arg object.
|
|
62
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
64
|
+
* @returns {Promise<LeadPartnerModel.Ticket>} - Success response
|
|
65
|
+
* @name editTicket
|
|
66
|
+
* @summary: Edits ticket details of a partner level ticket
|
|
67
|
+
* @description: Edits ticket details of a partner level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/editTicket/).
|
|
68
|
+
*/
|
|
69
|
+
editTicket({ id, body, requestHeaders }?: LeadPartnerValidator.EditTicketParam, { responseHeaders }?: object): Promise<LeadPartnerModel.Ticket>;
|
|
70
|
+
/**
|
|
71
|
+
* @param {LeadPartnerValidator.CreateHistoryParam} arg - Arg object.
|
|
72
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
73
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
74
|
+
* @returns {Promise<LeadPartnerModel.TicketHistory>} - Success response
|
|
75
|
+
* @name createHistory
|
|
76
|
+
* @summary: Create history for specific partner level ticket
|
|
77
|
+
* @description: Create history for specific partner 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/partner/lead/createHistory/).
|
|
78
|
+
*/
|
|
79
|
+
createHistory({ id, body, requestHeaders }?: LeadPartnerValidator.CreateHistoryParam, { responseHeaders }?: object): Promise<LeadPartnerModel.TicketHistory>;
|
|
80
|
+
/**
|
|
81
|
+
* @param {LeadPartnerValidator.GetTicketHistoryParam} arg - Arg object.
|
|
82
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
83
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
84
|
+
* @returns {Promise<LeadPartnerModel.TicketHistoryList>} - Success response
|
|
85
|
+
* @name getTicketHistory
|
|
86
|
+
* @summary: Gets history list for specific partner level ticket
|
|
87
|
+
* @description: Gets history list for specific partner 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/partner/lead/getTicketHistory/).
|
|
88
|
+
*/
|
|
89
|
+
getTicketHistory({ id, requestHeaders }?: LeadPartnerValidator.GetTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPartnerModel.TicketHistoryList>;
|
|
90
|
+
/**
|
|
91
|
+
* @param {LeadPartnerValidator.GetTokenForVideoRoomParam} arg - Arg object.
|
|
92
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
93
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
94
|
+
* @returns {Promise<LeadPartnerModel.GetTokenForVideoRoomResponse>} -
|
|
95
|
+
* Success response
|
|
96
|
+
* @name getTokenForVideoRoom
|
|
97
|
+
* @summary: Get Token to join a specific Video Room using it's unqiue name
|
|
98
|
+
* @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/partner/lead/getTokenForVideoRoom/).
|
|
99
|
+
*/
|
|
100
|
+
getTokenForVideoRoom({ uniqueName, requestHeaders }?: LeadPartnerValidator.GetTokenForVideoRoomParam, { responseHeaders }?: object): Promise<LeadPartnerModel.GetTokenForVideoRoomResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* @param {LeadPartnerValidator.GetVideoParticipantsParam} arg - Arg object.
|
|
103
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
105
|
+
* @returns {Promise<LeadPartnerModel.GetParticipantsInsideVideoRoomResponse>}
|
|
106
|
+
* - Success response
|
|
107
|
+
*
|
|
108
|
+
* @name getVideoParticipants
|
|
109
|
+
* @summary: Get participants of a specific Video Room using it's unique name
|
|
110
|
+
* @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/partner/lead/getVideoParticipants/).
|
|
111
|
+
*/
|
|
112
|
+
getVideoParticipants({ uniqueName, requestHeaders }?: LeadPartnerValidator.GetVideoParticipantsParam, { responseHeaders }?: object): Promise<LeadPartnerModel.GetParticipantsInsideVideoRoomResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* @param {LeadPartnerValidator.GetGeneralConfigParam} arg - Arg object.
|
|
115
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
116
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
117
|
+
* @returns {Promise<LeadPartnerModel.GeneralConfigResponse>} - Success response
|
|
118
|
+
* @name getGeneralConfig
|
|
119
|
+
* @summary: Get general support configuration.
|
|
120
|
+
* @description: Get general support configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/getGeneralConfig/).
|
|
121
|
+
*/
|
|
122
|
+
getGeneralConfig({ requestHeaders }?: LeadPartnerValidator.GetGeneralConfigParam, { responseHeaders }?: object): Promise<LeadPartnerModel.GeneralConfigResponse>;
|
|
123
|
+
}
|
|
124
|
+
import LeadPartnerModel = require("./LeadPartnerModel");
|
|
125
|
+
import Paginator = require("../../common/Paginator");
|