@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
- package/sdk/application/Content/ContentApplicationModel.js +341 -277
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
- package/sdk/application/Order/OrderApplicationModel.js +391 -317
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
- package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
- package/sdk/platform/Content/ContentPlatformModel.js +28 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
- package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
- package/sdk/platform/Order/OrderPlatformModel.js +359 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
- package/sdk/platform/User/UserPlatformModel.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
- package/sdk/public/Billing/BillingPublicClient.js +0 -269
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
- package/sdk/public/Billing/BillingPublicModel.js +0 -395
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
- package/sdk/public/Billing/BillingPublicValidator.js +0 -38
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -2,158 +2,179 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @typedef TicketHistoryPayload
|
|
5
|
-
* @property {Object} value - Details of history event
|
|
5
|
+
* @property {Object} value - Details of history event.
|
|
6
6
|
* @property {HistoryTypeEnum} type
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @typedef CustomFormSubmissionPayload
|
|
11
|
-
* @property {Object[]} response -
|
|
12
|
-
* @property {TicketAsset[]} [attachments] - List of all attachments related to the form
|
|
11
|
+
* @property {Object[]} response - Custom form response.
|
|
12
|
+
* @property {TicketAsset[]} [attachments] - List of all attachments related to the form.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @typedef SubmitCustomFormResponse
|
|
17
|
-
* @property {string} message - Success message for form submission
|
|
17
|
+
* @property {string} message - Success message for form submission.
|
|
18
18
|
* @property {Ticket} [ticket]
|
|
19
|
+
* @property {FormFieldResponse} [response]
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @typedef FormFieldResponse
|
|
24
|
+
* @property {string} [_id] - Unique identifier for a custom form response.
|
|
25
|
+
* @property {number} [__v] - Version of the form.
|
|
26
|
+
* @property {string} [application_id] - Unique identifier for a Sales channel.
|
|
27
|
+
* @property {string} [form_slug] - A short, human-readable, URL-friendly unique
|
|
28
|
+
* identifier for a custom form.
|
|
29
|
+
* @property {CreatedOn} [created_on]
|
|
30
|
+
* @property {FormFieldResponseValues[]} [response] - Data related to
|
|
31
|
+
* acknowledgement on submission of custom form.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @typedef FormFieldResponseValues
|
|
36
|
+
* @property {string} [key] - Keyname of field against which the input was
|
|
37
|
+
* filled in custom form.
|
|
19
38
|
*/
|
|
20
39
|
|
|
21
40
|
/**
|
|
22
41
|
* @typedef TicketContext
|
|
23
|
-
* @property {string} [application_id] -
|
|
24
|
-
* @property {string} company_id - Company ID related to the ticket
|
|
42
|
+
* @property {string} [application_id] - Unique identifier for a Sales channel.
|
|
43
|
+
* @property {string} company_id - Company ID related to the ticket.
|
|
25
44
|
*/
|
|
26
45
|
|
|
27
46
|
/**
|
|
28
47
|
* @typedef CreatedOn
|
|
29
|
-
* @property {string} user_agent - Useragent details
|
|
48
|
+
* @property {string} user_agent - Useragent details.
|
|
30
49
|
*/
|
|
31
50
|
|
|
32
51
|
/**
|
|
33
52
|
* @typedef TicketAsset
|
|
34
|
-
* @property {string} [display] - Display text for asset
|
|
35
|
-
* @property {string} value - To be used for details
|
|
53
|
+
* @property {string} [display] - Display text for asset.
|
|
54
|
+
* @property {string} value - To be used for details.
|
|
36
55
|
* @property {TicketAssetTypeEnum} type
|
|
37
56
|
*/
|
|
38
57
|
|
|
39
58
|
/**
|
|
40
59
|
* @typedef TicketContent
|
|
41
|
-
* @property {string} title - Title for ticket
|
|
42
|
-
* @property {string} [description] - Long description of issue
|
|
43
|
-
* @property {TicketAsset[]} [attachments] - List of all attachments related to
|
|
60
|
+
* @property {string} title - Title for ticket.
|
|
61
|
+
* @property {string} [description] - Long description of issue.
|
|
62
|
+
* @property {TicketAsset[]} [attachments] - List of all attachments related to
|
|
63
|
+
* the ticket.
|
|
44
64
|
*/
|
|
45
65
|
|
|
46
66
|
/**
|
|
47
67
|
* @typedef AddTicketPayload
|
|
48
|
-
* @property {Object} [created_by] - Creator of the ticket
|
|
49
|
-
* @property {string} [status] - Status of the ticket
|
|
68
|
+
* @property {Object} [created_by] - Creator of the ticket.
|
|
69
|
+
* @property {string} [status] - Status of the ticket.
|
|
50
70
|
* @property {PriorityEnum} [priority]
|
|
51
|
-
* @property {string} category - Category of the ticket
|
|
71
|
+
* @property {string} category - Category of the ticket.
|
|
52
72
|
* @property {TicketContent} content
|
|
53
|
-
* @property {Object} [_custom_json] - Optional custom data that needs to be sent
|
|
54
|
-
* @property {string[]} [subscribers]
|
|
73
|
+
* @property {Object} [_custom_json] - Optional custom data that needs to be sent.
|
|
74
|
+
* @property {string[]} [subscribers] - List of emails to be informed for ticket updates.
|
|
55
75
|
*/
|
|
56
76
|
|
|
57
77
|
/**
|
|
58
78
|
* @typedef Priority
|
|
59
79
|
* @property {PriorityEnum} key
|
|
60
|
-
* @property {string} display - Display text for priority
|
|
61
|
-
* @property {string} color - Color for priority
|
|
80
|
+
* @property {string} display - Display text for priority.
|
|
81
|
+
* @property {string} color - Color for priority.
|
|
62
82
|
*/
|
|
63
83
|
|
|
64
84
|
/**
|
|
65
85
|
* @typedef Status
|
|
66
|
-
* @property {string} key - Key for status
|
|
67
|
-
* @property {string} display - Display text for status
|
|
68
|
-
* @property {string} color - Color for status
|
|
86
|
+
* @property {string} key - Key for status.
|
|
87
|
+
* @property {string} display - Display text for status.
|
|
88
|
+
* @property {string} color - Color for status.
|
|
69
89
|
*/
|
|
70
90
|
|
|
71
91
|
/**
|
|
72
92
|
* @typedef SubmitButton
|
|
73
|
-
* @property {string} title - Title for submit button
|
|
74
|
-
* @property {string} title_color - Title color submit button
|
|
75
|
-
* @property {string} background_color - Color for submit button
|
|
93
|
+
* @property {string} title - Title for submit button.
|
|
94
|
+
* @property {string} title_color - Title color submit button.
|
|
95
|
+
* @property {string} background_color - Color for submit button.
|
|
76
96
|
*/
|
|
77
97
|
|
|
78
98
|
/**
|
|
79
99
|
* @typedef PollForAssignment
|
|
80
|
-
* @property {number} duration - Duration for polling of staff
|
|
81
|
-
* @property {string} message - Message for polling
|
|
82
|
-
* @property {string} success_message - Message for successful polling
|
|
83
|
-
* @property {string} failure_message - Message if polling failed
|
|
100
|
+
* @property {number} duration - Duration for polling of staff.
|
|
101
|
+
* @property {string} message - Message for polling.
|
|
102
|
+
* @property {string} success_message - Message for successful polling.
|
|
103
|
+
* @property {string} failure_message - Message if polling failed.
|
|
84
104
|
*/
|
|
85
105
|
|
|
86
106
|
/**
|
|
87
107
|
* @typedef CustomForm
|
|
88
|
-
* @property {string} application_id - Application ID for
|
|
89
|
-
* @property {string} slug - Slug for the form, which is to be used for
|
|
90
|
-
*
|
|
91
|
-
* @property {string}
|
|
92
|
-
* @property {string}
|
|
108
|
+
* @property {string} application_id - Application ID - Identifier for a Sales channel.
|
|
109
|
+
* @property {string} slug - Slug for the form, which is to be used for
|
|
110
|
+
* accessing the form.
|
|
111
|
+
* @property {string} [header_image] - Form header image that will be shown to the user.
|
|
112
|
+
* @property {string} title - Form title that will be shown to the user.
|
|
113
|
+
* @property {string} [description] - Form description that will be shown to the user.
|
|
93
114
|
* @property {Priority} priority
|
|
94
|
-
* @property {boolean} login_required -
|
|
95
|
-
*
|
|
96
|
-
* @property {boolean} should_notify -
|
|
97
|
-
*
|
|
115
|
+
* @property {boolean} login_required - If login is required to make a form
|
|
116
|
+
* response submission.
|
|
117
|
+
* @property {boolean} should_notify - If new response submission for the form
|
|
118
|
+
* should be notified to the assignees.
|
|
98
119
|
* @property {string} [success_message] - Message that is to be shown on
|
|
99
|
-
*
|
|
120
|
+
* successful form response submission.
|
|
100
121
|
* @property {SubmitButton} [submit_button]
|
|
101
|
-
* @property {Object[]} inputs - List of all the form fields
|
|
122
|
+
* @property {Object[]} inputs - List of all the form fields.
|
|
102
123
|
* @property {CreatedOn} [created_on]
|
|
103
124
|
* @property {PollForAssignment} [poll_for_assignment]
|
|
104
|
-
* @property {string} _id - Unique identifier for the form
|
|
125
|
+
* @property {string} _id - Unique identifier for the form.
|
|
105
126
|
*/
|
|
106
127
|
|
|
107
128
|
/**
|
|
108
129
|
* @typedef FeedbackForm
|
|
109
|
-
* @property {Object} [inputs] - Input details for the
|
|
110
|
-
* @property {string} [title] - Title for the
|
|
111
|
-
* @property {Object} [timestamps] -
|
|
130
|
+
* @property {Object} [inputs] - Input details for the feedback form.
|
|
131
|
+
* @property {string} [title] - Title for the feedback form.
|
|
132
|
+
* @property {Object} [timestamps] - Timestamp details of feedback form.
|
|
112
133
|
*/
|
|
113
134
|
|
|
114
135
|
/**
|
|
115
136
|
* @typedef TicketCategory
|
|
116
|
-
* @property {string} display - Category display value identifier
|
|
117
|
-
* @property {string} key - Category key value identifier
|
|
137
|
+
* @property {string} display - Category display value identifier.
|
|
138
|
+
* @property {string} key - Category key value identifier.
|
|
118
139
|
* @property {TicketCategory} [sub_categories]
|
|
119
|
-
* @property {number} [group_id] - Group id of category
|
|
140
|
+
* @property {number} [group_id] - Group id of category related data.
|
|
120
141
|
* @property {FeedbackForm} [feedback_form]
|
|
121
142
|
*/
|
|
122
143
|
|
|
123
144
|
/**
|
|
124
145
|
* @typedef TicketHistory
|
|
125
|
-
* @property {string} type - Type of the history event
|
|
126
|
-
* @property {Object} value - Data of the history event
|
|
127
|
-
* @property {string} ticket_id - Readable ticket number
|
|
146
|
+
* @property {string} type - Type of the history event.
|
|
147
|
+
* @property {Object} value - Data of the history event.
|
|
148
|
+
* @property {string} ticket_id - Readable ticket number.
|
|
128
149
|
* @property {CreatedOn} [created_on]
|
|
129
|
-
* @property {Object} [created_by] - User who created the history event
|
|
130
|
-
* @property {string} _id - Unique identifier of the history event
|
|
131
|
-
* @property {string} [updated_at] - Time of last update of the history event
|
|
132
|
-
* @property {string} [created_at] - Time of creation of the history event
|
|
150
|
+
* @property {Object} [created_by] - User who created the history event.
|
|
151
|
+
* @property {string} _id - Unique identifier of the history event.
|
|
152
|
+
* @property {string} [updated_at] - Time of last update of the history event.
|
|
153
|
+
* @property {string} [created_at] - Time of creation of the history event.
|
|
133
154
|
*/
|
|
134
155
|
|
|
135
156
|
/**
|
|
136
157
|
* @typedef Ticket
|
|
137
158
|
* @property {TicketContext} [context]
|
|
138
159
|
* @property {CreatedOn} [created_on]
|
|
139
|
-
* @property {string} [response_id] - Details of company and application
|
|
140
|
-
*
|
|
160
|
+
* @property {string} [response_id] - Details of company and application related
|
|
161
|
+
* to the ticket.
|
|
141
162
|
* @property {TicketContent} [content]
|
|
142
163
|
* @property {TicketCategory} category
|
|
143
|
-
* @property {string} [sub_category] - Sub-category assigned to the ticket
|
|
164
|
+
* @property {string} [sub_category] - Sub-category assigned to the ticket.
|
|
144
165
|
* @property {TicketSourceEnum} source
|
|
145
166
|
* @property {Status} status
|
|
146
167
|
* @property {Priority} priority
|
|
147
|
-
* @property {Object} [created_by] - User details of ticket creator
|
|
148
|
-
* @property {Object} [assigned_to] - Details of support staff to whom ticket is assigned
|
|
149
|
-
* @property {string[]} [tags] - Tags relevant to ticket
|
|
150
|
-
* @property {Object} [_custom_json] - Custom json relevant to the ticket
|
|
151
|
-
* @property {boolean} [is_feedback_pending] -
|
|
152
|
-
*
|
|
153
|
-
* @property {Object} [integration] - Integration type and its details of the ticket
|
|
154
|
-
* @property {string} _id - Unique identifier for the ticket
|
|
155
|
-
* @property {string} [updated_at] - Time when the ticket was last updated
|
|
156
|
-
* @property {string} [created_at] - Time when the ticket was created
|
|
168
|
+
* @property {Object} [created_by] - User details of ticket creator.
|
|
169
|
+
* @property {Object} [assigned_to] - Details of support staff to whom ticket is assigned.
|
|
170
|
+
* @property {string[]} [tags] - Tags relevant to ticket.
|
|
171
|
+
* @property {Object} [_custom_json] - Custom json relevant to the ticket.
|
|
172
|
+
* @property {boolean} [is_feedback_pending] - If feedback submission is pending
|
|
173
|
+
* for the ticket.
|
|
174
|
+
* @property {Object} [integration] - Integration type and its details of the ticket.
|
|
175
|
+
* @property {string} _id - Unique identifier for the ticket.
|
|
176
|
+
* @property {string} [updated_at] - Time when the ticket was last updated.
|
|
177
|
+
* @property {string} [created_at] - Time when the ticket was created.
|
|
157
178
|
*/
|
|
158
179
|
|
|
159
180
|
/** @typedef {"low" | "medium" | "high" | "urgent"} PriorityEnum */
|
|
@@ -196,6 +217,28 @@ class LeadApplicationModel {
|
|
|
196
217
|
return Joi.object({
|
|
197
218
|
message: Joi.string().allow("").required(),
|
|
198
219
|
ticket: LeadApplicationModel.Ticket(),
|
|
220
|
+
response: LeadApplicationModel.FormFieldResponse(),
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** @returns {FormFieldResponse} */
|
|
225
|
+
static FormFieldResponse() {
|
|
226
|
+
return Joi.object({
|
|
227
|
+
_id: Joi.string().allow(""),
|
|
228
|
+
__v: Joi.number(),
|
|
229
|
+
application_id: Joi.string().allow(""),
|
|
230
|
+
form_slug: Joi.string().allow(""),
|
|
231
|
+
created_on: LeadApplicationModel.CreatedOn(),
|
|
232
|
+
response: Joi.array().items(
|
|
233
|
+
LeadApplicationModel.FormFieldResponseValues()
|
|
234
|
+
),
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/** @returns {FormFieldResponseValues} */
|
|
239
|
+
static FormFieldResponseValues() {
|
|
240
|
+
return Joi.object({
|
|
241
|
+
key: Joi.string().allow(""),
|
|
199
242
|
});
|
|
200
243
|
}
|
|
201
244
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export = LeadApplicationValidator;
|
|
2
2
|
/**
|
|
3
3
|
* @typedef CreateHistoryParam
|
|
4
|
-
* @property {string} id - Ticket ID for which history is created
|
|
4
|
+
* @property {string} id - Ticket ID for which history is created.
|
|
5
5
|
* @property {LeadApplicationModel.TicketHistoryPayload} body
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -10,15 +10,15 @@ export = LeadApplicationValidator;
|
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
12
|
* @typedef GetCustomFormParam
|
|
13
|
-
* @property {string} slug - Slug of form whose response is getting submitted
|
|
13
|
+
* @property {string} slug - Slug of form whose response is getting submitted.
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
16
|
* @typedef GetTicketParam
|
|
17
|
-
* @property {string} id - ID of ticket to be retrieved
|
|
17
|
+
* @property {string} id - ID of ticket to be retrieved.
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* @typedef SubmitCustomFormParam
|
|
21
|
-
* @property {string} slug - Slug of form whose response is getting submitted
|
|
21
|
+
* @property {string} slug - Slug of form whose response is getting submitted.
|
|
22
22
|
* @property {LeadApplicationModel.CustomFormSubmissionPayload} body
|
|
23
23
|
*/
|
|
24
24
|
declare class LeadApplicationValidator {
|
|
@@ -38,7 +38,7 @@ declare namespace LeadApplicationValidator {
|
|
|
38
38
|
}
|
|
39
39
|
type CreateHistoryParam = {
|
|
40
40
|
/**
|
|
41
|
-
* - Ticket ID for which history is created
|
|
41
|
+
* - Ticket ID for which history is created.
|
|
42
42
|
*/
|
|
43
43
|
id: string;
|
|
44
44
|
body: LeadApplicationModel.TicketHistoryPayload;
|
|
@@ -48,19 +48,19 @@ type CreateTicketParam = {
|
|
|
48
48
|
};
|
|
49
49
|
type GetCustomFormParam = {
|
|
50
50
|
/**
|
|
51
|
-
* - Slug of form whose response is getting submitted
|
|
51
|
+
* - Slug of form whose response is getting submitted.
|
|
52
52
|
*/
|
|
53
53
|
slug: string;
|
|
54
54
|
};
|
|
55
55
|
type GetTicketParam = {
|
|
56
56
|
/**
|
|
57
|
-
* - ID of ticket to be retrieved
|
|
57
|
+
* - ID of ticket to be retrieved.
|
|
58
58
|
*/
|
|
59
59
|
id: string;
|
|
60
60
|
};
|
|
61
61
|
type SubmitCustomFormParam = {
|
|
62
62
|
/**
|
|
63
|
-
* - Slug of form whose response is getting submitted
|
|
63
|
+
* - Slug of form whose response is getting submitted.
|
|
64
64
|
*/
|
|
65
65
|
slug: string;
|
|
66
66
|
body: LeadApplicationModel.CustomFormSubmissionPayload;
|
|
@@ -4,7 +4,7 @@ const LeadApplicationModel = require("./LeadApplicationModel");
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @typedef CreateHistoryParam
|
|
7
|
-
* @property {string} id - Ticket ID for which history is created
|
|
7
|
+
* @property {string} id - Ticket ID for which history is created.
|
|
8
8
|
* @property {LeadApplicationModel.TicketHistoryPayload} body
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -15,17 +15,17 @@ const LeadApplicationModel = require("./LeadApplicationModel");
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @typedef GetCustomFormParam
|
|
18
|
-
* @property {string} slug - Slug of form whose response is getting submitted
|
|
18
|
+
* @property {string} slug - Slug of form whose response is getting submitted.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @typedef GetTicketParam
|
|
23
|
-
* @property {string} id - ID of ticket to be retrieved
|
|
23
|
+
* @property {string} id - ID of ticket to be retrieved.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @typedef SubmitCustomFormParam
|
|
28
|
-
* @property {string} slug - Slug of form whose response is getting submitted
|
|
28
|
+
* @property {string} slug - Slug of form whose response is getting submitted.
|
|
29
29
|
* @property {LeadApplicationModel.CustomFormSubmissionPayload} body
|
|
30
30
|
*/
|
|
31
31
|
|
|
@@ -24,7 +24,7 @@ declare class Logistic {
|
|
|
24
24
|
* @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
|
|
25
25
|
* @name getAllCountries
|
|
26
26
|
* @summary: Get deliverable countries
|
|
27
|
-
* @description:
|
|
27
|
+
* @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
28
28
|
*/
|
|
29
29
|
getAllCountries({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LogisticApplicationModel.CountryListResponse>;
|
|
30
30
|
/**
|
|
@@ -34,7 +34,7 @@ declare class Logistic {
|
|
|
34
34
|
* @returns {Promise<LogisticApplicationModel.GetCountries>} - Success response
|
|
35
35
|
* @name getCountries
|
|
36
36
|
* @summary: Get countries
|
|
37
|
-
* @description:
|
|
37
|
+
* @description: List of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
|
|
38
38
|
*/
|
|
39
39
|
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: LogisticApplicationValidator.GetCountriesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountries>;
|
|
40
40
|
/**
|
|
@@ -44,7 +44,7 @@ declare class Logistic {
|
|
|
44
44
|
* @returns {Promise<LogisticApplicationModel.GetCountry>} - Success response
|
|
45
45
|
* @name getCountry
|
|
46
46
|
* @summary: Get country details
|
|
47
|
-
* @description:
|
|
47
|
+
* @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
|
|
48
48
|
*/
|
|
49
49
|
getCountry({ countryIsoCode, requestHeaders }?: LogisticApplicationValidator.GetCountryParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountry>;
|
|
50
50
|
/**
|
|
@@ -54,7 +54,7 @@ declare class Logistic {
|
|
|
54
54
|
* @returns {Promise<LogisticApplicationModel.GetLocalities>} - Success response
|
|
55
55
|
* @name getLocalities
|
|
56
56
|
* @summary: Get localities
|
|
57
|
-
* @description:
|
|
57
|
+
* @description: Get geographical data for a specific type of locality based on the provided filters. For instance, obtain a list of cities for a given country and state. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
|
|
58
58
|
*/
|
|
59
59
|
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?: LogisticApplicationValidator.GetLocalitiesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocalities>;
|
|
60
60
|
/**
|
|
@@ -64,7 +64,7 @@ declare class Logistic {
|
|
|
64
64
|
* @returns {Promise<LogisticApplicationModel.GetLocality>} - Success response
|
|
65
65
|
* @name getLocality
|
|
66
66
|
* @summary: Get locality detail
|
|
67
|
-
* @description:
|
|
67
|
+
* @description: Get detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
|
|
68
68
|
*/
|
|
69
69
|
getLocality({ localityType, localityValue, country, state, city, requestHeaders }?: LogisticApplicationValidator.GetLocalityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocality>;
|
|
70
70
|
/**
|
|
@@ -74,7 +74,7 @@ declare class Logistic {
|
|
|
74
74
|
* @returns {Promise<LogisticApplicationModel.GetStoreResponse>} - Success response
|
|
75
75
|
* @name getLocations
|
|
76
76
|
* @summary: Get available selling locations
|
|
77
|
-
* @description:
|
|
77
|
+
* @description: Get stores available for the application based on Delivery Zones and Order Orchestration rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
|
|
78
78
|
*/
|
|
79
79
|
getLocations({ xApplicationId, xApplicationData, country, state, city, pincode, sector, pageNo, pageSize, requestHeaders, }?: LogisticApplicationValidator.GetLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetStoreResponse>;
|
|
80
80
|
/**
|
|
@@ -85,7 +85,7 @@ declare class Logistic {
|
|
|
85
85
|
* Success response
|
|
86
86
|
* @name getOptimalLocations
|
|
87
87
|
* @summary: Get selling locations
|
|
88
|
-
* @description:
|
|
88
|
+
* @description: Get optimal fulfillment centre for customers by analyzing their location, product availability, and inventory levels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
|
|
89
89
|
*/
|
|
90
90
|
getOptimalLocations({ body, requestHeaders }?: LogisticApplicationValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.ReAssignStoreResponse>;
|
|
91
91
|
/**
|
|
@@ -95,7 +95,7 @@ declare class Logistic {
|
|
|
95
95
|
* @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
|
|
96
96
|
* @name getPincodeCity
|
|
97
97
|
* @summary: Get pincode details
|
|
98
|
-
* @description:
|
|
98
|
+
* @description: Get details of a specific pincode, such as obtaining its city and state information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
|
|
99
99
|
*/
|
|
100
100
|
getPincodeCity({ pincode, requestHeaders }?: LogisticApplicationValidator.GetPincodeCityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.PincodeApiResponse>;
|
|
101
101
|
/**
|
|
@@ -107,7 +107,7 @@ declare class Logistic {
|
|
|
107
107
|
*
|
|
108
108
|
* @name getPincodeZones
|
|
109
109
|
* @summary: Get zones
|
|
110
|
-
* @description:
|
|
110
|
+
* @description: Get the delivery zone associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
111
111
|
*/
|
|
112
112
|
getPincodeZones({ body, requestHeaders }?: LogisticApplicationValidator.GetPincodeZonesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetZoneFromPincodeViewResponse>;
|
|
113
113
|
/**
|
|
@@ -117,7 +117,7 @@ declare class Logistic {
|
|
|
117
117
|
* @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
|
|
118
118
|
* @name getTatProduct
|
|
119
119
|
* @summary: Get product's turnaround time
|
|
120
|
-
* @description:
|
|
120
|
+
* @description: Get the estimated delivery time frame for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
121
121
|
*/
|
|
122
122
|
getTatProduct({ body, requestHeaders }?: LogisticApplicationValidator.GetTatProductParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.TATViewResponse>;
|
|
123
123
|
/**
|
|
@@ -54,7 +54,7 @@ class Logistic {
|
|
|
54
54
|
* @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
|
|
55
55
|
* @name getAllCountries
|
|
56
56
|
* @summary: Get deliverable countries
|
|
57
|
-
* @description:
|
|
57
|
+
* @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
58
58
|
*/
|
|
59
59
|
async getAllCountries(
|
|
60
60
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -132,7 +132,7 @@ class Logistic {
|
|
|
132
132
|
* @returns {Promise<LogisticApplicationModel.GetCountries>} - Success response
|
|
133
133
|
* @name getCountries
|
|
134
134
|
* @summary: Get countries
|
|
135
|
-
* @description:
|
|
135
|
+
* @description: List of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
|
|
136
136
|
*/
|
|
137
137
|
async getCountries(
|
|
138
138
|
{ onboarding, pageNo, pageSize, q, requestHeaders } = {
|
|
@@ -216,7 +216,7 @@ class Logistic {
|
|
|
216
216
|
* @returns {Promise<LogisticApplicationModel.GetCountry>} - Success response
|
|
217
217
|
* @name getCountry
|
|
218
218
|
* @summary: Get country details
|
|
219
|
-
* @description:
|
|
219
|
+
* @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
|
|
220
220
|
*/
|
|
221
221
|
async getCountry(
|
|
222
222
|
{ countryIsoCode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -294,7 +294,7 @@ class Logistic {
|
|
|
294
294
|
* @returns {Promise<LogisticApplicationModel.GetLocalities>} - Success response
|
|
295
295
|
* @name getLocalities
|
|
296
296
|
* @summary: Get localities
|
|
297
|
-
* @description:
|
|
297
|
+
* @description: Get geographical data for a specific type of locality based on the provided filters. For instance, obtain a list of cities for a given country and state. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
|
|
298
298
|
*/
|
|
299
299
|
async getLocalities(
|
|
300
300
|
{
|
|
@@ -387,7 +387,7 @@ class Logistic {
|
|
|
387
387
|
* @returns {Promise<LogisticApplicationModel.GetLocality>} - Success response
|
|
388
388
|
* @name getLocality
|
|
389
389
|
* @summary: Get locality detail
|
|
390
|
-
* @description:
|
|
390
|
+
* @description: Get detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
|
|
391
391
|
*/
|
|
392
392
|
async getLocality(
|
|
393
393
|
{ localityType, localityValue, country, state, city, requestHeaders } = {
|
|
@@ -470,7 +470,7 @@ class Logistic {
|
|
|
470
470
|
* @returns {Promise<LogisticApplicationModel.GetStoreResponse>} - Success response
|
|
471
471
|
* @name getLocations
|
|
472
472
|
* @summary: Get available selling locations
|
|
473
|
-
* @description:
|
|
473
|
+
* @description: Get stores available for the application based on Delivery Zones and Order Orchestration rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
|
|
474
474
|
*/
|
|
475
475
|
async getLocations(
|
|
476
476
|
{
|
|
@@ -589,7 +589,7 @@ class Logistic {
|
|
|
589
589
|
* Success response
|
|
590
590
|
* @name getOptimalLocations
|
|
591
591
|
* @summary: Get selling locations
|
|
592
|
-
* @description:
|
|
592
|
+
* @description: Get optimal fulfillment centre for customers by analyzing their location, product availability, and inventory levels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
|
|
593
593
|
*/
|
|
594
594
|
async getOptimalLocations(
|
|
595
595
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -669,7 +669,7 @@ class Logistic {
|
|
|
669
669
|
* @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
|
|
670
670
|
* @name getPincodeCity
|
|
671
671
|
* @summary: Get pincode details
|
|
672
|
-
* @description:
|
|
672
|
+
* @description: Get details of a specific pincode, such as obtaining its city and state information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
|
|
673
673
|
*/
|
|
674
674
|
async getPincodeCity(
|
|
675
675
|
{ pincode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -749,7 +749,7 @@ class Logistic {
|
|
|
749
749
|
*
|
|
750
750
|
* @name getPincodeZones
|
|
751
751
|
* @summary: Get zones
|
|
752
|
-
* @description:
|
|
752
|
+
* @description: Get the delivery zone associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
753
753
|
*/
|
|
754
754
|
async getPincodeZones(
|
|
755
755
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -827,7 +827,7 @@ class Logistic {
|
|
|
827
827
|
* @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
|
|
828
828
|
* @name getTatProduct
|
|
829
829
|
* @summary: Get product's turnaround time
|
|
830
|
-
* @description:
|
|
830
|
+
* @description: Get the estimated delivery time frame for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
831
831
|
*/
|
|
832
832
|
async getTatProduct(
|
|
833
833
|
{ body, requestHeaders } = { requestHeaders: {} },
|