@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
|
@@ -1,30 +1,56 @@
|
|
|
1
1
|
export = ServiceabilityPlatformApplicationValidator;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {ServiceabilityPlatformModel.
|
|
3
|
+
* @typedef CreateCourierPartnerRuleParam
|
|
4
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerRule} body
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* @typedef
|
|
8
|
-
* @property {
|
|
9
|
-
* identifier of a particular delivery partner.
|
|
7
|
+
* @typedef CreateStoreRulesParam
|
|
8
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
10
9
|
*/
|
|
11
|
-
/** @typedef
|
|
12
|
-
/** @typedef
|
|
13
|
-
/** @typedef
|
|
10
|
+
/** @typedef GetApplicationConfigParam */
|
|
11
|
+
/** @typedef GetApplicationConfigurationParam */
|
|
12
|
+
/** @typedef GetApplicationServiceabilitySelfShipmentParam */
|
|
14
13
|
/**
|
|
15
|
-
* @typedef
|
|
16
|
-
* @property {
|
|
14
|
+
* @typedef GetCourierPartnerRuleParam
|
|
15
|
+
* @property {string} ruleId - A `rule_id` is a unique identifier for a rule.
|
|
17
16
|
*/
|
|
18
17
|
/**
|
|
19
|
-
* @typedef
|
|
18
|
+
* @typedef GetCourierPartnerRulesParam
|
|
20
19
|
* @property {number} [pageNo] - Index of the item to start returning with
|
|
21
20
|
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
22
|
-
* @property {string
|
|
23
|
-
* @property {string} [q] - Search with name as a free text
|
|
21
|
+
* @property {string} [status] - Filter rules based on rule status
|
|
24
22
|
*/
|
|
25
23
|
/**
|
|
26
|
-
* @typedef
|
|
27
|
-
* @property {
|
|
24
|
+
* @typedef GetStoreRuleParam
|
|
25
|
+
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
26
|
+
* particular rule object.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef GetStoreRulesParam
|
|
30
|
+
* @property {number} [pageNo]
|
|
31
|
+
* @property {number} [pageSize]
|
|
32
|
+
* @property {string} [status]
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef InsertApplicationConfigParam
|
|
36
|
+
* @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef PatchApplicationServiceabilitySelfShipmentParam
|
|
40
|
+
* @property {ServiceabilityPlatformModel.SelfShipResponse} body
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* @typedef UpdateApplicationConfigurationParam
|
|
44
|
+
* @property {ServiceabilityPlatformModel.ApplicationConfig} body
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* @typedef UpdateCourierPartnerRulePriorityParam
|
|
48
|
+
* @property {ServiceabilityPlatformModel.RulePriorityRequest} body
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* @typedef UpdateCourierRuleParam
|
|
52
|
+
* @property {string} ruleId - A `rule_id` is a unique identifier for a particular Dp.
|
|
53
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerRule} body
|
|
28
54
|
*/
|
|
29
55
|
/**
|
|
30
56
|
* @typedef UpdatePincodeAuditHistoryParam
|
|
@@ -43,30 +69,44 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
43
69
|
* @property {ServiceabilityPlatformModel.PincodeMopData} body
|
|
44
70
|
*/
|
|
45
71
|
/**
|
|
46
|
-
* @typedef
|
|
47
|
-
* @property {
|
|
72
|
+
* @typedef UpdateStoreRulesParam
|
|
73
|
+
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
74
|
+
* particular rule object.
|
|
75
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
48
76
|
*/
|
|
49
77
|
/**
|
|
50
|
-
* @typedef
|
|
51
|
-
* @property {ServiceabilityPlatformModel.
|
|
78
|
+
* @typedef UpdateStoreRulesConfigParam
|
|
79
|
+
* @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
|
|
52
80
|
*/
|
|
53
81
|
declare class ServiceabilityPlatformApplicationValidator {
|
|
54
|
-
/** @returns {
|
|
55
|
-
static
|
|
56
|
-
/** @returns {
|
|
57
|
-
static
|
|
58
|
-
/** @returns {
|
|
59
|
-
static
|
|
60
|
-
/** @returns {
|
|
61
|
-
static
|
|
62
|
-
/** @returns {
|
|
63
|
-
static
|
|
64
|
-
/** @returns {
|
|
65
|
-
static
|
|
66
|
-
/** @returns {
|
|
67
|
-
static
|
|
68
|
-
/** @returns {
|
|
69
|
-
static
|
|
82
|
+
/** @returns {CreateCourierPartnerRuleParam} */
|
|
83
|
+
static createCourierPartnerRule(): CreateCourierPartnerRuleParam;
|
|
84
|
+
/** @returns {CreateStoreRulesParam} */
|
|
85
|
+
static createStoreRules(): CreateStoreRulesParam;
|
|
86
|
+
/** @returns {GetApplicationConfigParam} */
|
|
87
|
+
static getApplicationConfig(): any;
|
|
88
|
+
/** @returns {GetApplicationConfigurationParam} */
|
|
89
|
+
static getApplicationConfiguration(): any;
|
|
90
|
+
/** @returns {GetApplicationServiceabilitySelfShipmentParam} */
|
|
91
|
+
static getApplicationServiceabilitySelfShipment(): any;
|
|
92
|
+
/** @returns {GetCourierPartnerRuleParam} */
|
|
93
|
+
static getCourierPartnerRule(): GetCourierPartnerRuleParam;
|
|
94
|
+
/** @returns {GetCourierPartnerRulesParam} */
|
|
95
|
+
static getCourierPartnerRules(): GetCourierPartnerRulesParam;
|
|
96
|
+
/** @returns {GetStoreRuleParam} */
|
|
97
|
+
static getStoreRule(): GetStoreRuleParam;
|
|
98
|
+
/** @returns {GetStoreRulesParam} */
|
|
99
|
+
static getStoreRules(): GetStoreRulesParam;
|
|
100
|
+
/** @returns {InsertApplicationConfigParam} */
|
|
101
|
+
static insertApplicationConfig(): InsertApplicationConfigParam;
|
|
102
|
+
/** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
|
|
103
|
+
static patchApplicationServiceabilitySelfShipment(): PatchApplicationServiceabilitySelfShipmentParam;
|
|
104
|
+
/** @returns {UpdateApplicationConfigurationParam} */
|
|
105
|
+
static updateApplicationConfiguration(): UpdateApplicationConfigurationParam;
|
|
106
|
+
/** @returns {UpdateCourierPartnerRulePriorityParam} */
|
|
107
|
+
static updateCourierPartnerRulePriority(): UpdateCourierPartnerRulePriorityParam;
|
|
108
|
+
/** @returns {UpdateCourierRuleParam} */
|
|
109
|
+
static updateCourierRule(): UpdateCourierRuleParam;
|
|
70
110
|
/** @returns {UpdatePincodeAuditHistoryParam} */
|
|
71
111
|
static updatePincodeAuditHistory(): UpdatePincodeAuditHistoryParam;
|
|
72
112
|
/** @returns {UpdatePincodeBulkViewParam} */
|
|
@@ -75,28 +115,27 @@ declare class ServiceabilityPlatformApplicationValidator {
|
|
|
75
115
|
static updatePincodeCoDListing(): UpdatePincodeCoDListingParam;
|
|
76
116
|
/** @returns {UpdatePincodeMopViewParam} */
|
|
77
117
|
static updatePincodeMopView(): UpdatePincodeMopViewParam;
|
|
78
|
-
/** @returns {
|
|
79
|
-
static
|
|
80
|
-
/** @returns {
|
|
81
|
-
static
|
|
118
|
+
/** @returns {UpdateStoreRulesParam} */
|
|
119
|
+
static updateStoreRules(): UpdateStoreRulesParam;
|
|
120
|
+
/** @returns {UpdateStoreRulesConfigParam} */
|
|
121
|
+
static updateStoreRulesConfig(): UpdateStoreRulesConfigParam;
|
|
82
122
|
}
|
|
83
123
|
declare namespace ServiceabilityPlatformApplicationValidator {
|
|
84
|
-
export {
|
|
124
|
+
export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetStoreRuleParam, GetStoreRulesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
|
|
85
125
|
}
|
|
86
|
-
type
|
|
87
|
-
body: ServiceabilityPlatformModel.
|
|
126
|
+
type CreateCourierPartnerRuleParam = {
|
|
127
|
+
body: ServiceabilityPlatformModel.CourierPartnerRule;
|
|
128
|
+
};
|
|
129
|
+
type CreateStoreRulesParam = {
|
|
130
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
|
|
88
131
|
};
|
|
89
|
-
type
|
|
132
|
+
type GetCourierPartnerRuleParam = {
|
|
90
133
|
/**
|
|
91
|
-
* - A `
|
|
92
|
-
* identifier of a particular delivery partner.
|
|
134
|
+
* - A `rule_id` is a unique identifier for a rule.
|
|
93
135
|
*/
|
|
94
|
-
|
|
136
|
+
ruleId: string;
|
|
95
137
|
};
|
|
96
|
-
type
|
|
97
|
-
body: ServiceabilityPlatformModel.GetZoneFromPincodeViewRequest;
|
|
98
|
-
};
|
|
99
|
-
type GetZonesFromApplicationIdViewParam = {
|
|
138
|
+
type GetCourierPartnerRulesParam = {
|
|
100
139
|
/**
|
|
101
140
|
* - Index of the item to start returning with
|
|
102
141
|
*/
|
|
@@ -106,16 +145,40 @@ type GetZonesFromApplicationIdViewParam = {
|
|
|
106
145
|
*/
|
|
107
146
|
pageSize?: number;
|
|
108
147
|
/**
|
|
109
|
-
* -
|
|
148
|
+
* - Filter rules based on rule status
|
|
110
149
|
*/
|
|
111
|
-
|
|
150
|
+
status?: string;
|
|
151
|
+
};
|
|
152
|
+
type GetStoreRuleParam = {
|
|
112
153
|
/**
|
|
113
|
-
* -
|
|
154
|
+
* - A `rule_uid` is a unique identifier for a
|
|
155
|
+
* particular rule object.
|
|
114
156
|
*/
|
|
115
|
-
|
|
157
|
+
ruleUid: string;
|
|
158
|
+
};
|
|
159
|
+
type GetStoreRulesParam = {
|
|
160
|
+
pageNo?: number;
|
|
161
|
+
pageSize?: number;
|
|
162
|
+
status?: string;
|
|
163
|
+
};
|
|
164
|
+
type InsertApplicationConfigParam = {
|
|
165
|
+
body: ServiceabilityPlatformModel.StoreRuleConfigData;
|
|
166
|
+
};
|
|
167
|
+
type PatchApplicationServiceabilitySelfShipmentParam = {
|
|
168
|
+
body: ServiceabilityPlatformModel.SelfShipResponse;
|
|
116
169
|
};
|
|
117
|
-
type
|
|
118
|
-
body: ServiceabilityPlatformModel.
|
|
170
|
+
type UpdateApplicationConfigurationParam = {
|
|
171
|
+
body: ServiceabilityPlatformModel.ApplicationConfig;
|
|
172
|
+
};
|
|
173
|
+
type UpdateCourierPartnerRulePriorityParam = {
|
|
174
|
+
body: ServiceabilityPlatformModel.RulePriorityRequest;
|
|
175
|
+
};
|
|
176
|
+
type UpdateCourierRuleParam = {
|
|
177
|
+
/**
|
|
178
|
+
* - A `rule_id` is a unique identifier for a particular Dp.
|
|
179
|
+
*/
|
|
180
|
+
ruleId: string;
|
|
181
|
+
body: ServiceabilityPlatformModel.CourierPartnerRule;
|
|
119
182
|
};
|
|
120
183
|
type UpdatePincodeAuditHistoryParam = {
|
|
121
184
|
body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest;
|
|
@@ -129,13 +192,18 @@ type UpdatePincodeCoDListingParam = {
|
|
|
129
192
|
type UpdatePincodeMopViewParam = {
|
|
130
193
|
body: ServiceabilityPlatformModel.PincodeMopData;
|
|
131
194
|
};
|
|
132
|
-
type
|
|
133
|
-
|
|
195
|
+
type UpdateStoreRulesParam = {
|
|
196
|
+
/**
|
|
197
|
+
* - A `rule_uid` is a unique identifier for a
|
|
198
|
+
* particular rule object.
|
|
199
|
+
*/
|
|
200
|
+
ruleUid: string;
|
|
201
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
|
|
134
202
|
};
|
|
135
|
-
type
|
|
136
|
-
body: ServiceabilityPlatformModel.
|
|
203
|
+
type UpdateStoreRulesConfigParam = {
|
|
204
|
+
body: ServiceabilityPlatformModel.StoreRuleConfigData;
|
|
137
205
|
};
|
|
138
|
-
type
|
|
139
|
-
type
|
|
140
|
-
type
|
|
206
|
+
type GetApplicationConfigParam = any;
|
|
207
|
+
type GetApplicationConfigurationParam = any;
|
|
208
|
+
type GetApplicationServiceabilitySelfShipmentParam = any;
|
|
141
209
|
import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
@@ -3,38 +3,70 @@ const Joi = require("joi");
|
|
|
3
3
|
const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @typedef
|
|
7
|
-
* @property {ServiceabilityPlatformModel.
|
|
6
|
+
* @typedef CreateCourierPartnerRuleParam
|
|
7
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerRule} body
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @typedef
|
|
12
|
-
* @property {
|
|
13
|
-
* identifier of a particular delivery partner.
|
|
11
|
+
* @typedef CreateStoreRulesParam
|
|
12
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
14
13
|
*/
|
|
15
14
|
|
|
16
|
-
/** @typedef
|
|
15
|
+
/** @typedef GetApplicationConfigParam */
|
|
17
16
|
|
|
18
|
-
/** @typedef
|
|
17
|
+
/** @typedef GetApplicationConfigurationParam */
|
|
19
18
|
|
|
20
|
-
/** @typedef
|
|
19
|
+
/** @typedef GetApplicationServiceabilitySelfShipmentParam */
|
|
21
20
|
|
|
22
21
|
/**
|
|
23
|
-
* @typedef
|
|
24
|
-
* @property {
|
|
22
|
+
* @typedef GetCourierPartnerRuleParam
|
|
23
|
+
* @property {string} ruleId - A `rule_id` is a unique identifier for a rule.
|
|
25
24
|
*/
|
|
26
25
|
|
|
27
26
|
/**
|
|
28
|
-
* @typedef
|
|
27
|
+
* @typedef GetCourierPartnerRulesParam
|
|
29
28
|
* @property {number} [pageNo] - Index of the item to start returning with
|
|
30
29
|
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
31
|
-
* @property {string
|
|
32
|
-
* @property {string} [q] - Search with name as a free text
|
|
30
|
+
* @property {string} [status] - Filter rules based on rule status
|
|
33
31
|
*/
|
|
34
32
|
|
|
35
33
|
/**
|
|
36
|
-
* @typedef
|
|
37
|
-
* @property {
|
|
34
|
+
* @typedef GetStoreRuleParam
|
|
35
|
+
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
36
|
+
* particular rule object.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @typedef GetStoreRulesParam
|
|
41
|
+
* @property {number} [pageNo]
|
|
42
|
+
* @property {number} [pageSize]
|
|
43
|
+
* @property {string} [status]
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @typedef InsertApplicationConfigParam
|
|
48
|
+
* @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @typedef PatchApplicationServiceabilitySelfShipmentParam
|
|
53
|
+
* @property {ServiceabilityPlatformModel.SelfShipResponse} body
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @typedef UpdateApplicationConfigurationParam
|
|
58
|
+
* @property {ServiceabilityPlatformModel.ApplicationConfig} body
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @typedef UpdateCourierPartnerRulePriorityParam
|
|
63
|
+
* @property {ServiceabilityPlatformModel.RulePriorityRequest} body
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @typedef UpdateCourierRuleParam
|
|
68
|
+
* @property {string} ruleId - A `rule_id` is a unique identifier for a particular Dp.
|
|
69
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerRule} body
|
|
38
70
|
*/
|
|
39
71
|
|
|
40
72
|
/**
|
|
@@ -58,66 +90,112 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
58
90
|
*/
|
|
59
91
|
|
|
60
92
|
/**
|
|
61
|
-
* @typedef
|
|
62
|
-
* @property {
|
|
93
|
+
* @typedef UpdateStoreRulesParam
|
|
94
|
+
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
95
|
+
* particular rule object.
|
|
96
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
63
97
|
*/
|
|
64
98
|
|
|
65
99
|
/**
|
|
66
|
-
* @typedef
|
|
67
|
-
* @property {ServiceabilityPlatformModel.
|
|
100
|
+
* @typedef UpdateStoreRulesConfigParam
|
|
101
|
+
* @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
|
|
68
102
|
*/
|
|
69
103
|
|
|
70
104
|
class ServiceabilityPlatformApplicationValidator {
|
|
71
|
-
/** @returns {
|
|
72
|
-
static
|
|
105
|
+
/** @returns {CreateCourierPartnerRuleParam} */
|
|
106
|
+
static createCourierPartnerRule() {
|
|
73
107
|
return Joi.object({
|
|
74
|
-
body: ServiceabilityPlatformModel.
|
|
108
|
+
body: ServiceabilityPlatformModel.CourierPartnerRule().required(),
|
|
75
109
|
}).required();
|
|
76
110
|
}
|
|
77
111
|
|
|
78
|
-
/** @returns {
|
|
79
|
-
static
|
|
112
|
+
/** @returns {CreateStoreRulesParam} */
|
|
113
|
+
static createStoreRules() {
|
|
80
114
|
return Joi.object({
|
|
81
|
-
|
|
115
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
|
|
82
116
|
}).required();
|
|
83
117
|
}
|
|
84
118
|
|
|
85
|
-
/** @returns {
|
|
86
|
-
static
|
|
119
|
+
/** @returns {GetApplicationConfigParam} */
|
|
120
|
+
static getApplicationConfig() {
|
|
87
121
|
return Joi.object({}).required();
|
|
88
122
|
}
|
|
89
123
|
|
|
90
|
-
/** @returns {
|
|
91
|
-
static
|
|
124
|
+
/** @returns {GetApplicationConfigurationParam} */
|
|
125
|
+
static getApplicationConfiguration() {
|
|
92
126
|
return Joi.object({}).required();
|
|
93
127
|
}
|
|
94
128
|
|
|
95
|
-
/** @returns {
|
|
96
|
-
static
|
|
129
|
+
/** @returns {GetApplicationServiceabilitySelfShipmentParam} */
|
|
130
|
+
static getApplicationServiceabilitySelfShipment() {
|
|
97
131
|
return Joi.object({}).required();
|
|
98
132
|
}
|
|
99
133
|
|
|
100
|
-
/** @returns {
|
|
101
|
-
static
|
|
134
|
+
/** @returns {GetCourierPartnerRuleParam} */
|
|
135
|
+
static getCourierPartnerRule() {
|
|
136
|
+
return Joi.object({
|
|
137
|
+
ruleId: Joi.string().allow("").required(),
|
|
138
|
+
}).required();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** @returns {GetCourierPartnerRulesParam} */
|
|
142
|
+
static getCourierPartnerRules() {
|
|
102
143
|
return Joi.object({
|
|
103
|
-
|
|
144
|
+
pageNo: Joi.number(),
|
|
145
|
+
pageSize: Joi.number(),
|
|
146
|
+
status: Joi.string().allow(""),
|
|
147
|
+
}).required();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** @returns {GetStoreRuleParam} */
|
|
151
|
+
static getStoreRule() {
|
|
152
|
+
return Joi.object({
|
|
153
|
+
ruleUid: Joi.string().allow("").required(),
|
|
104
154
|
}).required();
|
|
105
155
|
}
|
|
106
156
|
|
|
107
|
-
/** @returns {
|
|
108
|
-
static
|
|
157
|
+
/** @returns {GetStoreRulesParam} */
|
|
158
|
+
static getStoreRules() {
|
|
109
159
|
return Joi.object({
|
|
110
160
|
pageNo: Joi.number(),
|
|
111
161
|
pageSize: Joi.number(),
|
|
112
|
-
|
|
113
|
-
|
|
162
|
+
status: Joi.string().allow(""),
|
|
163
|
+
}).required();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** @returns {InsertApplicationConfigParam} */
|
|
167
|
+
static insertApplicationConfig() {
|
|
168
|
+
return Joi.object({
|
|
169
|
+
body: ServiceabilityPlatformModel.StoreRuleConfigData().required(),
|
|
170
|
+
}).required();
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
|
|
174
|
+
static patchApplicationServiceabilitySelfShipment() {
|
|
175
|
+
return Joi.object({
|
|
176
|
+
body: ServiceabilityPlatformModel.SelfShipResponse().required(),
|
|
177
|
+
}).required();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/** @returns {UpdateApplicationConfigurationParam} */
|
|
181
|
+
static updateApplicationConfiguration() {
|
|
182
|
+
return Joi.object({
|
|
183
|
+
body: ServiceabilityPlatformModel.ApplicationConfig().required(),
|
|
184
|
+
}).required();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/** @returns {UpdateCourierPartnerRulePriorityParam} */
|
|
188
|
+
static updateCourierPartnerRulePriority() {
|
|
189
|
+
return Joi.object({
|
|
190
|
+
body: ServiceabilityPlatformModel.RulePriorityRequest().required(),
|
|
114
191
|
}).required();
|
|
115
192
|
}
|
|
116
193
|
|
|
117
|
-
/** @returns {
|
|
118
|
-
static
|
|
194
|
+
/** @returns {UpdateCourierRuleParam} */
|
|
195
|
+
static updateCourierRule() {
|
|
119
196
|
return Joi.object({
|
|
120
|
-
|
|
197
|
+
ruleId: Joi.string().allow("").required(),
|
|
198
|
+
body: ServiceabilityPlatformModel.CourierPartnerRule().required(),
|
|
121
199
|
}).required();
|
|
122
200
|
}
|
|
123
201
|
|
|
@@ -149,17 +227,18 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
149
227
|
}).required();
|
|
150
228
|
}
|
|
151
229
|
|
|
152
|
-
/** @returns {
|
|
153
|
-
static
|
|
230
|
+
/** @returns {UpdateStoreRulesParam} */
|
|
231
|
+
static updateStoreRules() {
|
|
154
232
|
return Joi.object({
|
|
155
|
-
|
|
233
|
+
ruleUid: Joi.string().allow("").required(),
|
|
234
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
|
|
156
235
|
}).required();
|
|
157
236
|
}
|
|
158
237
|
|
|
159
|
-
/** @returns {
|
|
160
|
-
static
|
|
238
|
+
/** @returns {UpdateStoreRulesConfigParam} */
|
|
239
|
+
static updateStoreRulesConfig() {
|
|
161
240
|
return Joi.object({
|
|
162
|
-
body: ServiceabilityPlatformModel.
|
|
241
|
+
body: ServiceabilityPlatformModel.StoreRuleConfigData().required(),
|
|
163
242
|
}).required();
|
|
164
243
|
}
|
|
165
244
|
}
|