@gofynd/fdk-client-javascript 3.12.0 → 3.14.0
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/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1 -1
- package/sdk/platform/Cart/CartPlatformModel.d.ts +21 -8
- package/sdk/platform/Cart/CartPlatformModel.js +10 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformClient.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +241 -207
- package/sdk/platform/Order/OrderPlatformModel.js +117 -104
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +16 -4
- package/sdk/platform/Order/OrderPlatformValidator.js +8 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +85 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +861 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +534 -84
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +5 -0
- package/sdk/public/Webhook/WebhookPublicModel.js +2 -0
|
@@ -23,6 +23,12 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
23
23
|
* @typedef CreateGeoAreaExportJobParam
|
|
24
24
|
* @property {string} geoareaId - The unique identifier of the Geoarea.
|
|
25
25
|
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef CreateShipmentsParam
|
|
28
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
29
|
+
* identify source of order creation.
|
|
30
|
+
* @property {ServiceabilityPlatformModel.PlatformShipmentsRequestSchema} body
|
|
31
|
+
*/
|
|
26
32
|
/**
|
|
27
33
|
* @typedef CreateStoreRulesParam
|
|
28
34
|
* @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
|
|
@@ -242,6 +248,8 @@ declare class ServiceabilityPlatformApplicationValidator {
|
|
|
242
248
|
static createGeoArea(): CreateGeoAreaParam;
|
|
243
249
|
/** @returns {CreateGeoAreaExportJobParam} */
|
|
244
250
|
static createGeoAreaExportJob(): CreateGeoAreaExportJobParam;
|
|
251
|
+
/** @returns {CreateShipmentsParam} */
|
|
252
|
+
static createShipments(): CreateShipmentsParam;
|
|
245
253
|
/** @returns {CreateStoreRulesParam} */
|
|
246
254
|
static createStoreRules(): CreateStoreRulesParam;
|
|
247
255
|
/** @returns {CreateZoneParam} */
|
|
@@ -328,7 +336,7 @@ declare class ServiceabilityPlatformApplicationValidator {
|
|
|
328
336
|
static validateBulkFulfillmentOptions(): ValidateBulkFulfillmentOptionsParam;
|
|
329
337
|
}
|
|
330
338
|
declare namespace ServiceabilityPlatformApplicationValidator {
|
|
331
|
-
export { CreateBulkExportParam, CreateBulkGeoAreaParam, CreateCourierPartnerRuleParam, CreateFulfillmentOptionParam, CreateGeoAreaParam, CreateGeoAreaExportJobParam, CreateStoreRulesParam, CreateZoneParam, DeleteFulfillmentOptionsParam, DeleteZoneParam, DownloadGeoareaSampleFileParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetBulkExportParam, GetBulkFulfillmentValidationStatusParam, GetBulkGeoAreaParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetFulfillmentOptionProductsParam, GetFulfillmentOptionStoresParam, GetFulfillmentOptionsParam, GetFulfillmentOptionsListParam, GetGeoAreaParam, GetGeoAreaExportJobStatusParam, GetGeoAreasParam, GetStoreRuleParam, GetStoreRulesParam, GetZoneParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationConfigurationParam, PutFulfillmentOptionParam, UpdateApplicationConfigurationParam, UpdateBulkGeoAreaParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdateGeoAreaParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulePriorityParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam, UpdateZoneParam, UploadBulkFulfillmentOptionsParam, ValidateBulkFulfillmentOptionsParam };
|
|
339
|
+
export { CreateBulkExportParam, CreateBulkGeoAreaParam, CreateCourierPartnerRuleParam, CreateFulfillmentOptionParam, CreateGeoAreaParam, CreateGeoAreaExportJobParam, CreateShipmentsParam, CreateStoreRulesParam, CreateZoneParam, DeleteFulfillmentOptionsParam, DeleteZoneParam, DownloadGeoareaSampleFileParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetBulkExportParam, GetBulkFulfillmentValidationStatusParam, GetBulkGeoAreaParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetFulfillmentOptionProductsParam, GetFulfillmentOptionStoresParam, GetFulfillmentOptionsParam, GetFulfillmentOptionsListParam, GetGeoAreaParam, GetGeoAreaExportJobStatusParam, GetGeoAreasParam, GetStoreRuleParam, GetStoreRulesParam, GetZoneParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationConfigurationParam, PutFulfillmentOptionParam, UpdateApplicationConfigurationParam, UpdateBulkGeoAreaParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdateGeoAreaParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulePriorityParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam, UpdateZoneParam, UploadBulkFulfillmentOptionsParam, ValidateBulkFulfillmentOptionsParam };
|
|
332
340
|
}
|
|
333
341
|
type CreateBulkExportParam = {
|
|
334
342
|
body: ServiceabilityPlatformModel.BulkCreateZoneExport;
|
|
@@ -351,6 +359,14 @@ type CreateGeoAreaExportJobParam = {
|
|
|
351
359
|
*/
|
|
352
360
|
geoareaId: string;
|
|
353
361
|
};
|
|
362
|
+
type CreateShipmentsParam = {
|
|
363
|
+
/**
|
|
364
|
+
* - Ordering source header, to be used to
|
|
365
|
+
* identify source of order creation.
|
|
366
|
+
*/
|
|
367
|
+
xOrderingSource?: string;
|
|
368
|
+
body: ServiceabilityPlatformModel.PlatformShipmentsRequestSchema;
|
|
369
|
+
};
|
|
354
370
|
type CreateStoreRulesParam = {
|
|
355
371
|
body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
|
|
356
372
|
};
|
|
@@ -32,6 +32,13 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
32
32
|
* @property {string} geoareaId - The unique identifier of the Geoarea.
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @typedef CreateShipmentsParam
|
|
37
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
38
|
+
* identify source of order creation.
|
|
39
|
+
* @property {ServiceabilityPlatformModel.PlatformShipmentsRequestSchema} body
|
|
40
|
+
*/
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* @typedef CreateStoreRulesParam
|
|
37
44
|
* @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
|
|
@@ -323,6 +330,15 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
323
330
|
}).required();
|
|
324
331
|
}
|
|
325
332
|
|
|
333
|
+
/** @returns {CreateShipmentsParam} */
|
|
334
|
+
static createShipments() {
|
|
335
|
+
return Joi.object({
|
|
336
|
+
xOrderingSource: Joi.string().allow(""),
|
|
337
|
+
|
|
338
|
+
body: ServiceabilityPlatformModel.PlatformShipmentsRequestSchema().required(),
|
|
339
|
+
}).required();
|
|
340
|
+
}
|
|
341
|
+
|
|
326
342
|
/** @returns {CreateStoreRulesParam} */
|
|
327
343
|
static createStoreRules() {
|
|
328
344
|
return Joi.object({
|