@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.8
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/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 +3630 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +310 -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 +16 -5
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
- 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 +1030 -468
- package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
- 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
|
@@ -154,6 +154,38 @@ const Joi = require("joi");
|
|
|
154
154
|
* @property {string} [start]
|
|
155
155
|
*/
|
|
156
156
|
|
|
157
|
+
/**
|
|
158
|
+
* @typedef CustomFieldSchema
|
|
159
|
+
* @property {string} [_id]
|
|
160
|
+
* @property {string} [application_id]
|
|
161
|
+
* @property {string} [company_id]
|
|
162
|
+
* @property {string} [created_at]
|
|
163
|
+
* @property {string} [created_by]
|
|
164
|
+
* @property {string} [creator]
|
|
165
|
+
* @property {string} [definition_id]
|
|
166
|
+
* @property {boolean} [has_invalid_values]
|
|
167
|
+
* @property {Object[]} [invalid_value_errors]
|
|
168
|
+
* @property {boolean} [is_deleted]
|
|
169
|
+
* @property {string} [key]
|
|
170
|
+
* @property {boolean} [multi_value]
|
|
171
|
+
* @property {string} [namespace]
|
|
172
|
+
* @property {string} [resource]
|
|
173
|
+
* @property {string} [resource_id]
|
|
174
|
+
* @property {string} [type]
|
|
175
|
+
* @property {string} [updated_at]
|
|
176
|
+
* @property {CustomFieldValue[]} [value]
|
|
177
|
+
*/
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @typedef CustomFieldsResponseByResourceIdSchema
|
|
181
|
+
* @property {CustomFieldSchema[]} [items]
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @typedef CustomFieldValue
|
|
186
|
+
* @property {Object} [value]
|
|
187
|
+
*/
|
|
188
|
+
|
|
157
189
|
/**
|
|
158
190
|
* @typedef CustomMetaTag
|
|
159
191
|
* @property {string} [_id]
|
|
@@ -161,6 +193,37 @@ const Joi = require("joi");
|
|
|
161
193
|
* @property {string} [name]
|
|
162
194
|
*/
|
|
163
195
|
|
|
196
|
+
/**
|
|
197
|
+
* @typedef CustomObjectByIdSchema
|
|
198
|
+
* @property {string} [_id]
|
|
199
|
+
* @property {CustomObjectListItemDefinationSchema} [definition]
|
|
200
|
+
* @property {string} [display_name]
|
|
201
|
+
* @property {CustomObjectFieldSchema[]} [fields]
|
|
202
|
+
* @property {Object[]} [references]
|
|
203
|
+
* @property {string} [status]
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @typedef CustomObjectFieldSchema
|
|
208
|
+
* @property {string} [_id]
|
|
209
|
+
* @property {string} [definition_id]
|
|
210
|
+
* @property {string} [key]
|
|
211
|
+
* @property {string} [type]
|
|
212
|
+
* @property {CustomObjectFieldValue[]} [value]
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @typedef CustomObjectFieldValue
|
|
217
|
+
* @property {Object} [value]
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @typedef CustomObjectListItemDefinationSchema
|
|
222
|
+
* @property {string} [_id]
|
|
223
|
+
* @property {string} [name]
|
|
224
|
+
* @property {string} [type]
|
|
225
|
+
*/
|
|
226
|
+
|
|
164
227
|
/**
|
|
165
228
|
* @typedef DataLoaderSchema
|
|
166
229
|
* @property {DataLoaderSourceSchema} [__source]
|
|
@@ -404,11 +467,21 @@ const Joi = require("joi");
|
|
|
404
467
|
|
|
405
468
|
/**
|
|
406
469
|
* @typedef SEO
|
|
470
|
+
* @property {SEObreadcrumb[]} [breadcrumb]
|
|
471
|
+
* @property {string} [canonical_url]
|
|
407
472
|
* @property {string} [description]
|
|
408
473
|
* @property {SEOImage} [image]
|
|
474
|
+
* @property {SEOMetaItem[]} [meta_tags]
|
|
475
|
+
* @property {SEOSitemap} [sitemap]
|
|
409
476
|
* @property {string} [title]
|
|
410
477
|
*/
|
|
411
478
|
|
|
479
|
+
/**
|
|
480
|
+
* @typedef SEObreadcrumb
|
|
481
|
+
* @property {Action} [action]
|
|
482
|
+
* @property {string} [url]
|
|
483
|
+
*/
|
|
484
|
+
|
|
412
485
|
/**
|
|
413
486
|
* @typedef SeoComponent
|
|
414
487
|
* @property {SeoSchema} [seo]
|
|
@@ -419,9 +492,22 @@ const Joi = require("joi");
|
|
|
419
492
|
* @property {string} [url]
|
|
420
493
|
*/
|
|
421
494
|
|
|
495
|
+
/**
|
|
496
|
+
* @typedef SEOMetaItem
|
|
497
|
+
* @property {SEOMetaItems[]} [items]
|
|
498
|
+
* @property {string} [title]
|
|
499
|
+
*/
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @typedef SEOMetaItems
|
|
503
|
+
* @property {string} [key]
|
|
504
|
+
* @property {string} [value]
|
|
505
|
+
*/
|
|
506
|
+
|
|
422
507
|
/**
|
|
423
508
|
* @typedef SeoSchema
|
|
424
509
|
* @property {string} [_id]
|
|
510
|
+
* @property {string} [additonal_sitemap]
|
|
425
511
|
* @property {string} [app]
|
|
426
512
|
* @property {boolean} [cannonical_enabled]
|
|
427
513
|
* @property {string} [created_at]
|
|
@@ -432,6 +518,30 @@ const Joi = require("joi");
|
|
|
432
518
|
* @property {string} [updated_at]
|
|
433
519
|
*/
|
|
434
520
|
|
|
521
|
+
/**
|
|
522
|
+
* @typedef SeoSchemaComponent
|
|
523
|
+
* @property {SEOSchemaMarkupTemplate[]} [items]
|
|
524
|
+
*/
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @typedef SEOSchemaMarkupTemplate
|
|
528
|
+
* @property {boolean} [active]
|
|
529
|
+
* @property {string} [application]
|
|
530
|
+
* @property {string} [created_at]
|
|
531
|
+
* @property {string} [description]
|
|
532
|
+
* @property {string} [id]
|
|
533
|
+
* @property {string} [page_type]
|
|
534
|
+
* @property {string} [schema]
|
|
535
|
+
* @property {string} [title]
|
|
536
|
+
* @property {string} [updated_at]
|
|
537
|
+
*/
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @typedef SEOSitemap
|
|
541
|
+
* @property {string} [frequency]
|
|
542
|
+
* @property {number} [priority]
|
|
543
|
+
*/
|
|
544
|
+
|
|
435
545
|
/**
|
|
436
546
|
* @typedef SlideshowGetResponse
|
|
437
547
|
* @property {SlideshowSchema[]} [items]
|
|
@@ -747,6 +857,44 @@ class ContentApplicationModel {
|
|
|
747
857
|
});
|
|
748
858
|
}
|
|
749
859
|
|
|
860
|
+
/** @returns {CustomFieldSchema} */
|
|
861
|
+
static CustomFieldSchema() {
|
|
862
|
+
return Joi.object({
|
|
863
|
+
_id: Joi.string().allow(""),
|
|
864
|
+
application_id: Joi.string().allow(""),
|
|
865
|
+
company_id: Joi.string().allow(""),
|
|
866
|
+
created_at: Joi.string().allow(""),
|
|
867
|
+
created_by: Joi.string().allow(""),
|
|
868
|
+
creator: Joi.string().allow(""),
|
|
869
|
+
definition_id: Joi.string().allow(""),
|
|
870
|
+
has_invalid_values: Joi.boolean(),
|
|
871
|
+
invalid_value_errors: Joi.array().items(Joi.any()),
|
|
872
|
+
is_deleted: Joi.boolean(),
|
|
873
|
+
key: Joi.string().allow(""),
|
|
874
|
+
multi_value: Joi.boolean(),
|
|
875
|
+
namespace: Joi.string().allow(""),
|
|
876
|
+
resource: Joi.string().allow(""),
|
|
877
|
+
resource_id: Joi.string().allow(""),
|
|
878
|
+
type: Joi.string().allow(""),
|
|
879
|
+
updated_at: Joi.string().allow(""),
|
|
880
|
+
value: Joi.array().items(ContentApplicationModel.CustomFieldValue()),
|
|
881
|
+
});
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/** @returns {CustomFieldsResponseByResourceIdSchema} */
|
|
885
|
+
static CustomFieldsResponseByResourceIdSchema() {
|
|
886
|
+
return Joi.object({
|
|
887
|
+
items: Joi.array().items(ContentApplicationModel.CustomFieldSchema()),
|
|
888
|
+
});
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/** @returns {CustomFieldValue} */
|
|
892
|
+
static CustomFieldValue() {
|
|
893
|
+
return Joi.object({
|
|
894
|
+
value: Joi.any(),
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
|
|
750
898
|
/** @returns {CustomMetaTag} */
|
|
751
899
|
static CustomMetaTag() {
|
|
752
900
|
return Joi.object({
|
|
@@ -756,6 +904,49 @@ class ContentApplicationModel {
|
|
|
756
904
|
});
|
|
757
905
|
}
|
|
758
906
|
|
|
907
|
+
/** @returns {CustomObjectByIdSchema} */
|
|
908
|
+
static CustomObjectByIdSchema() {
|
|
909
|
+
return Joi.object({
|
|
910
|
+
_id: Joi.string().allow(""),
|
|
911
|
+
definition: ContentApplicationModel.CustomObjectListItemDefinationSchema(),
|
|
912
|
+
display_name: Joi.string().allow(""),
|
|
913
|
+
fields: Joi.array().items(
|
|
914
|
+
ContentApplicationModel.CustomObjectFieldSchema()
|
|
915
|
+
),
|
|
916
|
+
references: Joi.array().items(Joi.any()),
|
|
917
|
+
status: Joi.string().allow(""),
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** @returns {CustomObjectFieldSchema} */
|
|
922
|
+
static CustomObjectFieldSchema() {
|
|
923
|
+
return Joi.object({
|
|
924
|
+
_id: Joi.string().allow(""),
|
|
925
|
+
definition_id: Joi.string().allow(""),
|
|
926
|
+
key: Joi.string().allow(""),
|
|
927
|
+
type: Joi.string().allow(""),
|
|
928
|
+
value: Joi.array().items(
|
|
929
|
+
ContentApplicationModel.CustomObjectFieldValue()
|
|
930
|
+
),
|
|
931
|
+
});
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/** @returns {CustomObjectFieldValue} */
|
|
935
|
+
static CustomObjectFieldValue() {
|
|
936
|
+
return Joi.object({
|
|
937
|
+
value: Joi.any(),
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/** @returns {CustomObjectListItemDefinationSchema} */
|
|
942
|
+
static CustomObjectListItemDefinationSchema() {
|
|
943
|
+
return Joi.object({
|
|
944
|
+
_id: Joi.string().allow(""),
|
|
945
|
+
name: Joi.string().allow(""),
|
|
946
|
+
type: Joi.string().allow(""),
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
|
|
759
950
|
/** @returns {DataLoaderSchema} */
|
|
760
951
|
static DataLoaderSchema() {
|
|
761
952
|
return Joi.object({
|
|
@@ -1059,12 +1250,24 @@ class ContentApplicationModel {
|
|
|
1059
1250
|
/** @returns {SEO} */
|
|
1060
1251
|
static SEO() {
|
|
1061
1252
|
return Joi.object({
|
|
1253
|
+
breadcrumb: Joi.array().items(ContentApplicationModel.SEObreadcrumb()),
|
|
1254
|
+
canonical_url: Joi.string().allow(""),
|
|
1062
1255
|
description: Joi.string().allow(""),
|
|
1063
1256
|
image: ContentApplicationModel.SEOImage(),
|
|
1257
|
+
meta_tags: Joi.array().items(ContentApplicationModel.SEOMetaItem()),
|
|
1258
|
+
sitemap: ContentApplicationModel.SEOSitemap(),
|
|
1064
1259
|
title: Joi.string().allow(""),
|
|
1065
1260
|
});
|
|
1066
1261
|
}
|
|
1067
1262
|
|
|
1263
|
+
/** @returns {SEObreadcrumb} */
|
|
1264
|
+
static SEObreadcrumb() {
|
|
1265
|
+
return Joi.object({
|
|
1266
|
+
action: ContentApplicationModel.Action(),
|
|
1267
|
+
url: Joi.string().allow(""),
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1068
1271
|
/** @returns {SeoComponent} */
|
|
1069
1272
|
static SeoComponent() {
|
|
1070
1273
|
return Joi.object({
|
|
@@ -1079,10 +1282,27 @@ class ContentApplicationModel {
|
|
|
1079
1282
|
});
|
|
1080
1283
|
}
|
|
1081
1284
|
|
|
1285
|
+
/** @returns {SEOMetaItem} */
|
|
1286
|
+
static SEOMetaItem() {
|
|
1287
|
+
return Joi.object({
|
|
1288
|
+
items: Joi.array().items(ContentApplicationModel.SEOMetaItems()),
|
|
1289
|
+
title: Joi.string().allow(""),
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/** @returns {SEOMetaItems} */
|
|
1294
|
+
static SEOMetaItems() {
|
|
1295
|
+
return Joi.object({
|
|
1296
|
+
key: Joi.string().allow(""),
|
|
1297
|
+
value: Joi.string().allow(""),
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1082
1301
|
/** @returns {SeoSchema} */
|
|
1083
1302
|
static SeoSchema() {
|
|
1084
1303
|
return Joi.object({
|
|
1085
1304
|
_id: Joi.string().allow(""),
|
|
1305
|
+
additonal_sitemap: Joi.string().allow(""),
|
|
1086
1306
|
app: Joi.string().allow(""),
|
|
1087
1307
|
cannonical_enabled: Joi.boolean(),
|
|
1088
1308
|
created_at: Joi.string().allow(""),
|
|
@@ -1096,6 +1316,38 @@ class ContentApplicationModel {
|
|
|
1096
1316
|
});
|
|
1097
1317
|
}
|
|
1098
1318
|
|
|
1319
|
+
/** @returns {SeoSchemaComponent} */
|
|
1320
|
+
static SeoSchemaComponent() {
|
|
1321
|
+
return Joi.object({
|
|
1322
|
+
items: Joi.array().items(
|
|
1323
|
+
ContentApplicationModel.SEOSchemaMarkupTemplate()
|
|
1324
|
+
),
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
/** @returns {SEOSchemaMarkupTemplate} */
|
|
1329
|
+
static SEOSchemaMarkupTemplate() {
|
|
1330
|
+
return Joi.object({
|
|
1331
|
+
active: Joi.boolean(),
|
|
1332
|
+
application: Joi.string().allow(""),
|
|
1333
|
+
created_at: Joi.string().allow(""),
|
|
1334
|
+
description: Joi.string().allow(""),
|
|
1335
|
+
id: Joi.string().allow(""),
|
|
1336
|
+
page_type: Joi.string().allow(""),
|
|
1337
|
+
schema: Joi.string().allow(""),
|
|
1338
|
+
title: Joi.string().allow(""),
|
|
1339
|
+
updated_at: Joi.string().allow(""),
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
/** @returns {SEOSitemap} */
|
|
1344
|
+
static SEOSitemap() {
|
|
1345
|
+
return Joi.object({
|
|
1346
|
+
frequency: Joi.string().allow(""),
|
|
1347
|
+
priority: Joi.number(),
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1099
1351
|
/** @returns {SlideshowGetResponse} */
|
|
1100
1352
|
static SlideshowGetResponse() {
|
|
1101
1353
|
return Joi.object({
|
|
@@ -13,6 +13,15 @@ export = ContentApplicationValidator;
|
|
|
13
13
|
* set of results. Default value is 1.
|
|
14
14
|
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
15
15
|
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef GetCustomFieldsParam
|
|
18
|
+
* @property {string} resource
|
|
19
|
+
* @property {string} resourceId
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef GetCustomObjectParam
|
|
23
|
+
* @property {string} metaobjectId
|
|
24
|
+
*/
|
|
16
25
|
/** @typedef GetDataLoadersParam */
|
|
17
26
|
/**
|
|
18
27
|
* @typedef GetFaqBySlugParam
|
|
@@ -56,6 +65,12 @@ export = ContentApplicationValidator;
|
|
|
56
65
|
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
57
66
|
*/
|
|
58
67
|
/** @typedef GetSEOConfigurationParam */
|
|
68
|
+
/**
|
|
69
|
+
* @typedef GetSEOMarkupSchemasParam
|
|
70
|
+
* @property {string} [pageType] - The type of page against which schema
|
|
71
|
+
* template was created
|
|
72
|
+
* @property {boolean} [active] - Boolean value for fetching seo schema.
|
|
73
|
+
*/
|
|
59
74
|
/**
|
|
60
75
|
* @typedef GetSlideshowParam
|
|
61
76
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -77,6 +92,10 @@ declare class ContentApplicationValidator {
|
|
|
77
92
|
static getBlog(): GetBlogParam;
|
|
78
93
|
/** @returns {GetBlogsParam} */
|
|
79
94
|
static getBlogs(): GetBlogsParam;
|
|
95
|
+
/** @returns {GetCustomFieldsParam} */
|
|
96
|
+
static getCustomFields(): GetCustomFieldsParam;
|
|
97
|
+
/** @returns {GetCustomObjectParam} */
|
|
98
|
+
static getCustomObject(): GetCustomObjectParam;
|
|
80
99
|
/** @returns {GetDataLoadersParam} */
|
|
81
100
|
static getDataLoaders(): any;
|
|
82
101
|
/** @returns {GetFaqBySlugParam} */
|
|
@@ -101,6 +120,8 @@ declare class ContentApplicationValidator {
|
|
|
101
120
|
static getPages(): GetPagesParam;
|
|
102
121
|
/** @returns {GetSEOConfigurationParam} */
|
|
103
122
|
static getSEOConfiguration(): any;
|
|
123
|
+
/** @returns {GetSEOMarkupSchemasParam} */
|
|
124
|
+
static getSEOMarkupSchemas(): GetSEOMarkupSchemasParam;
|
|
104
125
|
/** @returns {GetSlideshowParam} */
|
|
105
126
|
static getSlideshow(): GetSlideshowParam;
|
|
106
127
|
/** @returns {GetSlideshowsParam} */
|
|
@@ -111,7 +132,7 @@ declare class ContentApplicationValidator {
|
|
|
111
132
|
static getTags(): any;
|
|
112
133
|
}
|
|
113
134
|
declare namespace ContentApplicationValidator {
|
|
114
|
-
export { GetAnnouncementsParam, GetBlogParam, GetBlogsParam, GetDataLoadersParam, GetFaqBySlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugParam, GetFaqsParam, GetFaqsByCategorySlugParam, GetLandingPageParam, GetLegalInformationParam, GetNavigationsParam, GetPageParam, GetPagesParam, GetSEOConfigurationParam, GetSlideshowParam, GetSlideshowsParam, GetSupportInformationParam, GetTagsParam };
|
|
135
|
+
export { GetAnnouncementsParam, GetBlogParam, GetBlogsParam, GetCustomFieldsParam, GetCustomObjectParam, GetDataLoadersParam, GetFaqBySlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugParam, GetFaqsParam, GetFaqsByCategorySlugParam, GetLandingPageParam, GetLegalInformationParam, GetNavigationsParam, GetPageParam, GetPagesParam, GetSEOConfigurationParam, GetSEOMarkupSchemasParam, GetSlideshowParam, GetSlideshowsParam, GetSupportInformationParam, GetTagsParam };
|
|
115
136
|
}
|
|
116
137
|
type GetBlogParam = {
|
|
117
138
|
/**
|
|
@@ -136,6 +157,13 @@ type GetBlogsParam = {
|
|
|
136
157
|
*/
|
|
137
158
|
pageSize?: number;
|
|
138
159
|
};
|
|
160
|
+
type GetCustomFieldsParam = {
|
|
161
|
+
resource: string;
|
|
162
|
+
resourceId: string;
|
|
163
|
+
};
|
|
164
|
+
type GetCustomObjectParam = {
|
|
165
|
+
metaobjectId: string;
|
|
166
|
+
};
|
|
139
167
|
type GetFaqBySlugParam = {
|
|
140
168
|
/**
|
|
141
169
|
* - A short, human-readable, URL-friendly identifier of
|
|
@@ -194,6 +222,17 @@ type GetPagesParam = {
|
|
|
194
222
|
*/
|
|
195
223
|
pageSize?: number;
|
|
196
224
|
};
|
|
225
|
+
type GetSEOMarkupSchemasParam = {
|
|
226
|
+
/**
|
|
227
|
+
* - The type of page against which schema
|
|
228
|
+
* template was created
|
|
229
|
+
*/
|
|
230
|
+
pageType?: string;
|
|
231
|
+
/**
|
|
232
|
+
* - Boolean value for fetching seo schema.
|
|
233
|
+
*/
|
|
234
|
+
active?: boolean;
|
|
235
|
+
};
|
|
197
236
|
type GetSlideshowParam = {
|
|
198
237
|
/**
|
|
199
238
|
* - A short, human-readable, URL-friendly identifier of
|
|
@@ -19,6 +19,17 @@ const ContentApplicationModel = require("./ContentApplicationModel");
|
|
|
19
19
|
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @typedef GetCustomFieldsParam
|
|
24
|
+
* @property {string} resource
|
|
25
|
+
* @property {string} resourceId
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @typedef GetCustomObjectParam
|
|
30
|
+
* @property {string} metaobjectId
|
|
31
|
+
*/
|
|
32
|
+
|
|
22
33
|
/** @typedef GetDataLoadersParam */
|
|
23
34
|
|
|
24
35
|
/**
|
|
@@ -74,6 +85,13 @@ const ContentApplicationModel = require("./ContentApplicationModel");
|
|
|
74
85
|
|
|
75
86
|
/** @typedef GetSEOConfigurationParam */
|
|
76
87
|
|
|
88
|
+
/**
|
|
89
|
+
* @typedef GetSEOMarkupSchemasParam
|
|
90
|
+
* @property {string} [pageType] - The type of page against which schema
|
|
91
|
+
* template was created
|
|
92
|
+
* @property {boolean} [active] - Boolean value for fetching seo schema.
|
|
93
|
+
*/
|
|
94
|
+
|
|
77
95
|
/**
|
|
78
96
|
* @typedef GetSlideshowParam
|
|
79
97
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -114,6 +132,21 @@ class ContentApplicationValidator {
|
|
|
114
132
|
});
|
|
115
133
|
}
|
|
116
134
|
|
|
135
|
+
/** @returns {GetCustomFieldsParam} */
|
|
136
|
+
static getCustomFields() {
|
|
137
|
+
return Joi.object({
|
|
138
|
+
resource: Joi.string().allow("").required(),
|
|
139
|
+
resourceId: Joi.string().allow("").required(),
|
|
140
|
+
}).required();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** @returns {GetCustomObjectParam} */
|
|
144
|
+
static getCustomObject() {
|
|
145
|
+
return Joi.object({
|
|
146
|
+
metaobjectId: Joi.string().allow("").required(),
|
|
147
|
+
}).required();
|
|
148
|
+
}
|
|
149
|
+
|
|
117
150
|
/** @returns {GetDataLoadersParam} */
|
|
118
151
|
static getDataLoaders() {
|
|
119
152
|
return Joi.object({});
|
|
@@ -189,6 +222,14 @@ class ContentApplicationValidator {
|
|
|
189
222
|
return Joi.object({});
|
|
190
223
|
}
|
|
191
224
|
|
|
225
|
+
/** @returns {GetSEOMarkupSchemasParam} */
|
|
226
|
+
static getSEOMarkupSchemas() {
|
|
227
|
+
return Joi.object({
|
|
228
|
+
pageType: Joi.string().allow(""),
|
|
229
|
+
active: Joi.boolean(),
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
|
|
192
233
|
/** @returns {GetSlideshowParam} */
|
|
193
234
|
static getSlideshow() {
|
|
194
235
|
return Joi.object({
|
|
@@ -4,10 +4,16 @@ declare class Logistic {
|
|
|
4
4
|
_conf: any;
|
|
5
5
|
_relativeUrls: {
|
|
6
6
|
getAllCountries: string;
|
|
7
|
+
getCountries: string;
|
|
8
|
+
getCountry: string;
|
|
9
|
+
getLocalities: string;
|
|
10
|
+
getLocality: string;
|
|
11
|
+
getLocations: string;
|
|
7
12
|
getOptimalLocations: string;
|
|
8
13
|
getPincodeCity: string;
|
|
9
14
|
getPincodeZones: string;
|
|
10
15
|
getTatProduct: string;
|
|
16
|
+
validateAddress: string;
|
|
11
17
|
};
|
|
12
18
|
_urls: {};
|
|
13
19
|
updateUrls(urls: any): void;
|
|
@@ -21,6 +27,56 @@ declare class Logistic {
|
|
|
21
27
|
* @description: Get all countries - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
22
28
|
*/
|
|
23
29
|
getAllCountries({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LogisticApplicationModel.CountryListResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* @param {LogisticApplicationValidator.GetCountriesParam} arg - Arg object.
|
|
32
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
34
|
+
* @returns {Promise<LogisticApplicationModel.GetCountries>} - Success response
|
|
35
|
+
* @name getCountries
|
|
36
|
+
* @summary: Get all countries and associated data.
|
|
37
|
+
* @description: Retrieve of all countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
|
|
38
|
+
*/
|
|
39
|
+
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: LogisticApplicationValidator.GetCountriesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountries>;
|
|
40
|
+
/**
|
|
41
|
+
* @param {LogisticApplicationValidator.GetCountryParam} arg - Arg object.
|
|
42
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
43
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
44
|
+
* @returns {Promise<LogisticApplicationModel.GetCountry>} - Success response
|
|
45
|
+
* @name getCountry
|
|
46
|
+
* @summary: Get single country and associated data.
|
|
47
|
+
* @description: Retrieve data for a single country and address format. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
|
|
48
|
+
*/
|
|
49
|
+
getCountry({ countryIsoCode, requestHeaders }?: LogisticApplicationValidator.GetCountryParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountry>;
|
|
50
|
+
/**
|
|
51
|
+
* @param {LogisticApplicationValidator.GetLocalitiesParam} arg - Arg object.
|
|
52
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
53
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
54
|
+
* @returns {Promise<LogisticApplicationModel.GetLocalities>} - Success response
|
|
55
|
+
* @name getLocalities
|
|
56
|
+
* @summary: Get Localities.
|
|
57
|
+
* @description: Get Localities data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
|
|
58
|
+
*/
|
|
59
|
+
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?: LogisticApplicationValidator.GetLocalitiesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocalities>;
|
|
60
|
+
/**
|
|
61
|
+
* @param {LogisticApplicationValidator.GetLocalityParam} arg - Arg object.
|
|
62
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
64
|
+
* @returns {Promise<LogisticApplicationModel.GetLocality>} - Success response
|
|
65
|
+
* @name getLocality
|
|
66
|
+
* @summary: Get Locality API
|
|
67
|
+
* @description: Get Locality data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
|
|
68
|
+
*/
|
|
69
|
+
getLocality({ localityType, localityValue, country, state, city, requestHeaders }?: LogisticApplicationValidator.GetLocalityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocality>;
|
|
70
|
+
/**
|
|
71
|
+
* @param {LogisticApplicationValidator.GetLocationsParam} arg - Arg object.
|
|
72
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
73
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
74
|
+
* @returns {Promise<LogisticApplicationModel.GetStoreResponse>} - Success response
|
|
75
|
+
* @name getLocations
|
|
76
|
+
* @summary: GET locations from the Pincode.
|
|
77
|
+
* @description: This API returns store from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
|
|
78
|
+
*/
|
|
79
|
+
getLocations({ xApplicationId, xApplicationData, country, state, city, pincode, sector, pageNo, pageSize, requestHeaders, }?: LogisticApplicationValidator.GetLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetStoreResponse>;
|
|
24
80
|
/**
|
|
25
81
|
* @param {LogisticApplicationValidator.GetOptimalLocationsParam} arg - Arg object.
|
|
26
82
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -64,6 +120,17 @@ declare class Logistic {
|
|
|
64
120
|
* @description: Get TAT data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
65
121
|
*/
|
|
66
122
|
getTatProduct({ body, requestHeaders }?: LogisticApplicationValidator.GetTatProductParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.TATViewResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* @param {LogisticApplicationValidator.ValidateAddressParam} arg - Arg object.
|
|
125
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
126
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
127
|
+
* @returns {Promise<LogisticApplicationModel.ValidateAddressRequest>} -
|
|
128
|
+
* Success response
|
|
129
|
+
* @name validateAddress
|
|
130
|
+
* @summary: Validate given address wrt template
|
|
131
|
+
* @description: Validate given address wrt template - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
|
|
132
|
+
*/
|
|
133
|
+
validateAddress({ countryIsoCode, templateName, body, requestHeaders }?: LogisticApplicationValidator.ValidateAddressParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.ValidateAddressRequest>;
|
|
67
134
|
}
|
|
68
135
|
import LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
69
136
|
import LogisticApplicationValidator = require("./LogisticApplicationValidator");
|