@gofynd/fdk-client-javascript 3.22.0 → 3.23.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/application/Cart/CartApplicationClient.d.ts +2 -2
- package/sdk/application/Cart/CartApplicationClient.js +5 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +94 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +574 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +70 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +81 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +85 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1364 -192
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +941 -159
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +10 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +12 -0
|
@@ -61,6 +61,10 @@ export = ServiceabilityPlatformValidator;
|
|
|
61
61
|
* @property {string} [endDate] - Fetch job history before a particule date
|
|
62
62
|
*/
|
|
63
63
|
/** @typedef GetCompanyConfigurationParam */
|
|
64
|
+
/**
|
|
65
|
+
* @typedef GetCompanyCourierPartnersListParam
|
|
66
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerDetails} body
|
|
67
|
+
*/
|
|
64
68
|
/**
|
|
65
69
|
* @typedef GetCountriesParam
|
|
66
70
|
* @property {boolean} [onboard] - Only fetch countries which allowed for
|
|
@@ -199,6 +203,8 @@ declare class ServiceabilityPlatformValidator {
|
|
|
199
203
|
static getBulkTat(): GetBulkTatParam;
|
|
200
204
|
/** @returns {GetCompanyConfigurationParam} */
|
|
201
205
|
static getCompanyConfiguration(): any;
|
|
206
|
+
/** @returns {GetCompanyCourierPartnersListParam} */
|
|
207
|
+
static getCompanyCourierPartnersList(): GetCompanyCourierPartnersListParam;
|
|
202
208
|
/** @returns {GetCountriesParam} */
|
|
203
209
|
static getCountries(): GetCountriesParam;
|
|
204
210
|
/** @returns {GetCourierPartnerAccountParam} */
|
|
@@ -239,7 +245,7 @@ declare class ServiceabilityPlatformValidator {
|
|
|
239
245
|
static updateSelfShipDetails(): UpdateSelfShipDetailsParam;
|
|
240
246
|
}
|
|
241
247
|
declare namespace ServiceabilityPlatformValidator {
|
|
242
|
-
export { BulkServiceabilityParam, BulkTatParam, CreateCourierPartnerAccountParam, CreateCourierPartnerSchemeParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetBulkServiceabilityParam, GetBulkTatParam, GetCompanyConfigurationParam, GetCountriesParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetCourierPartnerSchemeParam, GetCourierPartnerSchemesParam, GetInstalledCourierPartnerExtensionsParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialsParam, GetSampleFileServiceabilityStatusParam, GetSelfShipDetailsParam, SampleFileServiceabilityParam, UpdateCompanyConfigurationParam, UpdateCourierPartnerAccountParam, UpdateCourierPartnerSchemeParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, UpdateSelfShipDetailsParam };
|
|
248
|
+
export { BulkServiceabilityParam, BulkTatParam, CreateCourierPartnerAccountParam, CreateCourierPartnerSchemeParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetBulkServiceabilityParam, GetBulkTatParam, GetCompanyConfigurationParam, GetCompanyCourierPartnersListParam, GetCountriesParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetCourierPartnerSchemeParam, GetCourierPartnerSchemesParam, GetInstalledCourierPartnerExtensionsParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialsParam, GetSampleFileServiceabilityStatusParam, GetSelfShipDetailsParam, SampleFileServiceabilityParam, UpdateCompanyConfigurationParam, UpdateCourierPartnerAccountParam, UpdateCourierPartnerSchemeParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, UpdateSelfShipDetailsParam };
|
|
243
249
|
}
|
|
244
250
|
type BulkServiceabilityParam = {
|
|
245
251
|
/**
|
|
@@ -375,6 +381,9 @@ type GetBulkTatParam = {
|
|
|
375
381
|
*/
|
|
376
382
|
endDate?: string;
|
|
377
383
|
};
|
|
384
|
+
type GetCompanyCourierPartnersListParam = {
|
|
385
|
+
body: ServiceabilityPlatformModel.CourierPartnerDetails;
|
|
386
|
+
};
|
|
378
387
|
type GetCountriesParam = {
|
|
379
388
|
/**
|
|
380
389
|
* - Only fetch countries which allowed for
|
|
@@ -73,6 +73,11 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
73
73
|
|
|
74
74
|
/** @typedef GetCompanyConfigurationParam */
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* @typedef GetCompanyCourierPartnersListParam
|
|
78
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerDetails} body
|
|
79
|
+
*/
|
|
80
|
+
|
|
76
81
|
/**
|
|
77
82
|
* @typedef GetCountriesParam
|
|
78
83
|
* @property {boolean} [onboard] - Only fetch countries which allowed for
|
|
@@ -298,6 +303,13 @@ class ServiceabilityPlatformValidator {
|
|
|
298
303
|
return Joi.object({}).required();
|
|
299
304
|
}
|
|
300
305
|
|
|
306
|
+
/** @returns {GetCompanyCourierPartnersListParam} */
|
|
307
|
+
static getCompanyCourierPartnersList() {
|
|
308
|
+
return Joi.object({
|
|
309
|
+
body: ServiceabilityPlatformModel.CourierPartnerDetails().required(),
|
|
310
|
+
}).required();
|
|
311
|
+
}
|
|
312
|
+
|
|
301
313
|
/** @returns {GetCountriesParam} */
|
|
302
314
|
static getCountries() {
|
|
303
315
|
return Joi.object({
|