@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1
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/FileStorage/FileStoragePartnerModel.d.ts +3 -15
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
- 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 +3641 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +319 -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 +18 -19
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
- 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 +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- 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
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
export = LogisticsPartnerModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef ArithmeticOperations
|
|
4
|
+
* @property {number} [gt]
|
|
5
|
+
* @property {number} [gte]
|
|
6
|
+
* @property {number} [lt]
|
|
7
|
+
* @property {number} [lte]
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @typedef BulkRegionJobSerializer
|
|
11
|
+
* @property {string} action
|
|
12
|
+
* @property {string} country
|
|
13
|
+
* @property {string} [file_path]
|
|
14
|
+
* @property {string} region
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef BulkRegionResponse
|
|
18
|
+
* @property {BulkRegionResponseItemData[]} items
|
|
19
|
+
* @property {Page} page
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef BulkRegionResponseItemData
|
|
23
|
+
* @property {string} action
|
|
24
|
+
* @property {string} batch_id
|
|
25
|
+
* @property {string} country
|
|
26
|
+
* @property {string} [error_file_path]
|
|
27
|
+
* @property {number} [failed]
|
|
28
|
+
* @property {Object[]} [failed_records]
|
|
29
|
+
* @property {string} file_path
|
|
30
|
+
* @property {string} region
|
|
31
|
+
* @property {string} status
|
|
32
|
+
* @property {number} [success]
|
|
33
|
+
* @property {number} [total]
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* @typedef BulkRegionServiceabilityTatRequest
|
|
37
|
+
* @property {string} country
|
|
38
|
+
* @property {string} region
|
|
39
|
+
* @property {string} type
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* @typedef BulkRegionServiceabilityTatResponse
|
|
43
|
+
* @property {BulkRegionServiceabilityTatResponseItemData[]} [items]
|
|
44
|
+
* @property {Page} [page]
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* @typedef BulkRegionServiceabilityTatResponseItemData
|
|
48
|
+
* @property {string} [batch_id]
|
|
49
|
+
* @property {string} [country]
|
|
50
|
+
* @property {Object[]} [failed_records]
|
|
51
|
+
* @property {string} [file_path]
|
|
52
|
+
* @property {string} [region]
|
|
53
|
+
* @property {string} [status]
|
|
54
|
+
* @property {string} [type]
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef CompanyCourierPartnerAccountListResponse
|
|
58
|
+
* @property {CourierAccountResponse[]} items
|
|
59
|
+
* @property {Page} page
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* @typedef CourierAccount
|
|
63
|
+
* @property {string} account_id
|
|
64
|
+
* @property {string} extension_id
|
|
65
|
+
* @property {boolean} is_own_account
|
|
66
|
+
* @property {boolean} is_self_ship
|
|
67
|
+
* @property {string} scheme_id
|
|
68
|
+
* @property {string} stage
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* @typedef CourierAccountResponse
|
|
72
|
+
* @property {string} account_id
|
|
73
|
+
* @property {boolean} is_own_account
|
|
74
|
+
* @property {boolean} is_self_ship
|
|
75
|
+
* @property {string} scheme_id
|
|
76
|
+
* @property {CourierPartnerSchemeModel} scheme_rules
|
|
77
|
+
* @property {string} stage
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* @typedef CourierPartnerAccountFailureResponse
|
|
81
|
+
* @property {ErrorResponse[]} error
|
|
82
|
+
* @property {boolean} success
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @typedef CourierPartnerSchemeFeatures
|
|
86
|
+
* @property {boolean} [cold_storage_goods]
|
|
87
|
+
* @property {boolean} [dangerous_goods]
|
|
88
|
+
* @property {boolean} [doorstep_exchange]
|
|
89
|
+
* @property {boolean} [doorstep_qc]
|
|
90
|
+
* @property {boolean} [doorstep_return]
|
|
91
|
+
* @property {boolean} [ewaybill]
|
|
92
|
+
* @property {boolean} [fragile_goods]
|
|
93
|
+
* @property {boolean} [mps]
|
|
94
|
+
* @property {boolean} [multi_pick_multi_drop]
|
|
95
|
+
* @property {boolean} [multi_pick_single_drop]
|
|
96
|
+
* @property {boolean} [ndr]
|
|
97
|
+
* @property {number} [ndr_attempts]
|
|
98
|
+
* @property {boolean} [openbox_delivery]
|
|
99
|
+
* @property {boolean} [product_installation]
|
|
100
|
+
* @property {boolean} [qr]
|
|
101
|
+
* @property {boolean} [restricted_goods]
|
|
102
|
+
* @property {boolean} [single_pick_multi_drop]
|
|
103
|
+
* @property {string} [status_updates]
|
|
104
|
+
*/
|
|
105
|
+
/**
|
|
106
|
+
* @typedef CourierPartnerSchemeModel
|
|
107
|
+
* @property {string} delivery_type
|
|
108
|
+
* @property {string} extension_id
|
|
109
|
+
* @property {CourierPartnerSchemeFeatures} feature
|
|
110
|
+
* @property {string} name
|
|
111
|
+
* @property {string[]} payment_mode
|
|
112
|
+
* @property {string} region
|
|
113
|
+
* @property {string} scheme_id
|
|
114
|
+
* @property {string} stage
|
|
115
|
+
* @property {string} transport_type
|
|
116
|
+
* @property {ArithmeticOperations} weight
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* @typedef CourierPartnerSchemeUpdateRequest
|
|
120
|
+
* @property {string} delivery_type
|
|
121
|
+
* @property {CourierPartnerSchemeFeatures} feature
|
|
122
|
+
* @property {string} name
|
|
123
|
+
* @property {string[]} payment_mode
|
|
124
|
+
* @property {string} region
|
|
125
|
+
* @property {string} stage
|
|
126
|
+
* @property {string} transport_type
|
|
127
|
+
* @property {ArithmeticOperations} weight
|
|
128
|
+
*/
|
|
129
|
+
/**
|
|
130
|
+
* @typedef ErrorResponse
|
|
131
|
+
* @property {string} message
|
|
132
|
+
* @property {string} type
|
|
133
|
+
* @property {string} value
|
|
134
|
+
*/
|
|
135
|
+
/**
|
|
136
|
+
* @typedef FailureResponse
|
|
137
|
+
* @property {ErrorResponse[]} error
|
|
138
|
+
* @property {boolean} success
|
|
139
|
+
*/
|
|
140
|
+
/**
|
|
141
|
+
* @typedef GetCountries
|
|
142
|
+
* @property {GetCountriesItems[]} items
|
|
143
|
+
* @property {Page} page
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* @typedef GetCountriesItems
|
|
147
|
+
* @property {string} [currency]
|
|
148
|
+
* @property {string} [display_name]
|
|
149
|
+
* @property {HierarchyItems[]} [hierarchy]
|
|
150
|
+
* @property {string} [id]
|
|
151
|
+
* @property {string} [iso2]
|
|
152
|
+
* @property {string} [iso3]
|
|
153
|
+
* @property {string} [latitude]
|
|
154
|
+
* @property {string} [longitude]
|
|
155
|
+
* @property {string} [name]
|
|
156
|
+
* @property {string} [phone_code]
|
|
157
|
+
* @property {string[]} [timezones]
|
|
158
|
+
* @property {string} [type]
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* @typedef HierarchyItems
|
|
162
|
+
* @property {string} [display_name]
|
|
163
|
+
* @property {string} [slug]
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* @typedef Page
|
|
167
|
+
* @property {number} [current]
|
|
168
|
+
* @property {boolean} [has_next]
|
|
169
|
+
* @property {boolean} [has_previous]
|
|
170
|
+
* @property {number} [item_total]
|
|
171
|
+
* @property {string} [next_id]
|
|
172
|
+
* @property {number} [size]
|
|
173
|
+
* @property {string} type
|
|
174
|
+
*/
|
|
175
|
+
declare class LogisticsPartnerModel {
|
|
176
|
+
}
|
|
177
|
+
declare namespace LogisticsPartnerModel {
|
|
178
|
+
export { ArithmeticOperations, BulkRegionJobSerializer, BulkRegionResponse, BulkRegionResponseItemData, BulkRegionServiceabilityTatRequest, BulkRegionServiceabilityTatResponse, BulkRegionServiceabilityTatResponseItemData, CompanyCourierPartnerAccountListResponse, CourierAccount, CourierAccountResponse, CourierPartnerAccountFailureResponse, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierPartnerSchemeUpdateRequest, ErrorResponse, FailureResponse, GetCountries, GetCountriesItems, HierarchyItems, Page };
|
|
179
|
+
}
|
|
180
|
+
/** @returns {ArithmeticOperations} */
|
|
181
|
+
declare function ArithmeticOperations(): ArithmeticOperations;
|
|
182
|
+
type ArithmeticOperations = {
|
|
183
|
+
gt?: number;
|
|
184
|
+
gte?: number;
|
|
185
|
+
lt?: number;
|
|
186
|
+
lte?: number;
|
|
187
|
+
};
|
|
188
|
+
/** @returns {BulkRegionJobSerializer} */
|
|
189
|
+
declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
|
|
190
|
+
type BulkRegionJobSerializer = {
|
|
191
|
+
action: string;
|
|
192
|
+
country: string;
|
|
193
|
+
file_path?: string;
|
|
194
|
+
region: string;
|
|
195
|
+
};
|
|
196
|
+
/** @returns {BulkRegionResponse} */
|
|
197
|
+
declare function BulkRegionResponse(): BulkRegionResponse;
|
|
198
|
+
type BulkRegionResponse = {
|
|
199
|
+
items: BulkRegionResponseItemData[];
|
|
200
|
+
page: Page;
|
|
201
|
+
};
|
|
202
|
+
/** @returns {BulkRegionResponseItemData} */
|
|
203
|
+
declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
|
|
204
|
+
type BulkRegionResponseItemData = {
|
|
205
|
+
action: string;
|
|
206
|
+
batch_id: string;
|
|
207
|
+
country: string;
|
|
208
|
+
error_file_path?: string;
|
|
209
|
+
failed?: number;
|
|
210
|
+
failed_records?: any[];
|
|
211
|
+
file_path: string;
|
|
212
|
+
region: string;
|
|
213
|
+
status: string;
|
|
214
|
+
success?: number;
|
|
215
|
+
total?: number;
|
|
216
|
+
};
|
|
217
|
+
/** @returns {BulkRegionServiceabilityTatRequest} */
|
|
218
|
+
declare function BulkRegionServiceabilityTatRequest(): BulkRegionServiceabilityTatRequest;
|
|
219
|
+
type BulkRegionServiceabilityTatRequest = {
|
|
220
|
+
country: string;
|
|
221
|
+
region: string;
|
|
222
|
+
type: string;
|
|
223
|
+
};
|
|
224
|
+
/** @returns {BulkRegionServiceabilityTatResponse} */
|
|
225
|
+
declare function BulkRegionServiceabilityTatResponse(): BulkRegionServiceabilityTatResponse;
|
|
226
|
+
type BulkRegionServiceabilityTatResponse = {
|
|
227
|
+
items?: BulkRegionServiceabilityTatResponseItemData[];
|
|
228
|
+
page?: Page;
|
|
229
|
+
};
|
|
230
|
+
/** @returns {BulkRegionServiceabilityTatResponseItemData} */
|
|
231
|
+
declare function BulkRegionServiceabilityTatResponseItemData(): BulkRegionServiceabilityTatResponseItemData;
|
|
232
|
+
type BulkRegionServiceabilityTatResponseItemData = {
|
|
233
|
+
batch_id?: string;
|
|
234
|
+
country?: string;
|
|
235
|
+
failed_records?: any[];
|
|
236
|
+
file_path?: string;
|
|
237
|
+
region?: string;
|
|
238
|
+
status?: string;
|
|
239
|
+
type?: string;
|
|
240
|
+
};
|
|
241
|
+
/** @returns {CompanyCourierPartnerAccountListResponse} */
|
|
242
|
+
declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
|
|
243
|
+
type CompanyCourierPartnerAccountListResponse = {
|
|
244
|
+
items: CourierAccountResponse[];
|
|
245
|
+
page: Page;
|
|
246
|
+
};
|
|
247
|
+
/** @returns {CourierAccount} */
|
|
248
|
+
declare function CourierAccount(): CourierAccount;
|
|
249
|
+
type CourierAccount = {
|
|
250
|
+
account_id: string;
|
|
251
|
+
extension_id: string;
|
|
252
|
+
is_own_account: boolean;
|
|
253
|
+
is_self_ship: boolean;
|
|
254
|
+
scheme_id: string;
|
|
255
|
+
stage: string;
|
|
256
|
+
};
|
|
257
|
+
/** @returns {CourierAccountResponse} */
|
|
258
|
+
declare function CourierAccountResponse(): CourierAccountResponse;
|
|
259
|
+
type CourierAccountResponse = {
|
|
260
|
+
account_id: string;
|
|
261
|
+
is_own_account: boolean;
|
|
262
|
+
is_self_ship: boolean;
|
|
263
|
+
scheme_id: string;
|
|
264
|
+
scheme_rules: CourierPartnerSchemeModel;
|
|
265
|
+
stage: string;
|
|
266
|
+
};
|
|
267
|
+
/** @returns {CourierPartnerAccountFailureResponse} */
|
|
268
|
+
declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
|
|
269
|
+
type CourierPartnerAccountFailureResponse = {
|
|
270
|
+
error: ErrorResponse[];
|
|
271
|
+
success: boolean;
|
|
272
|
+
};
|
|
273
|
+
/** @returns {CourierPartnerSchemeFeatures} */
|
|
274
|
+
declare function CourierPartnerSchemeFeatures(): CourierPartnerSchemeFeatures;
|
|
275
|
+
type CourierPartnerSchemeFeatures = {
|
|
276
|
+
cold_storage_goods?: boolean;
|
|
277
|
+
dangerous_goods?: boolean;
|
|
278
|
+
doorstep_exchange?: boolean;
|
|
279
|
+
doorstep_qc?: boolean;
|
|
280
|
+
doorstep_return?: boolean;
|
|
281
|
+
ewaybill?: boolean;
|
|
282
|
+
fragile_goods?: boolean;
|
|
283
|
+
mps?: boolean;
|
|
284
|
+
multi_pick_multi_drop?: boolean;
|
|
285
|
+
multi_pick_single_drop?: boolean;
|
|
286
|
+
ndr?: boolean;
|
|
287
|
+
ndr_attempts?: number;
|
|
288
|
+
openbox_delivery?: boolean;
|
|
289
|
+
product_installation?: boolean;
|
|
290
|
+
qr?: boolean;
|
|
291
|
+
restricted_goods?: boolean;
|
|
292
|
+
single_pick_multi_drop?: boolean;
|
|
293
|
+
status_updates?: string;
|
|
294
|
+
};
|
|
295
|
+
/** @returns {CourierPartnerSchemeModel} */
|
|
296
|
+
declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
|
|
297
|
+
type CourierPartnerSchemeModel = {
|
|
298
|
+
delivery_type: string;
|
|
299
|
+
extension_id: string;
|
|
300
|
+
feature: CourierPartnerSchemeFeatures;
|
|
301
|
+
name: string;
|
|
302
|
+
payment_mode: string[];
|
|
303
|
+
region: string;
|
|
304
|
+
scheme_id: string;
|
|
305
|
+
stage: string;
|
|
306
|
+
transport_type: string;
|
|
307
|
+
weight: ArithmeticOperations;
|
|
308
|
+
};
|
|
309
|
+
/** @returns {CourierPartnerSchemeUpdateRequest} */
|
|
310
|
+
declare function CourierPartnerSchemeUpdateRequest(): CourierPartnerSchemeUpdateRequest;
|
|
311
|
+
type CourierPartnerSchemeUpdateRequest = {
|
|
312
|
+
delivery_type: string;
|
|
313
|
+
feature: CourierPartnerSchemeFeatures;
|
|
314
|
+
name: string;
|
|
315
|
+
payment_mode: string[];
|
|
316
|
+
region: string;
|
|
317
|
+
stage: string;
|
|
318
|
+
transport_type: string;
|
|
319
|
+
weight: ArithmeticOperations;
|
|
320
|
+
};
|
|
321
|
+
/** @returns {ErrorResponse} */
|
|
322
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
323
|
+
type ErrorResponse = {
|
|
324
|
+
message: string;
|
|
325
|
+
type: string;
|
|
326
|
+
value: string;
|
|
327
|
+
};
|
|
328
|
+
/** @returns {FailureResponse} */
|
|
329
|
+
declare function FailureResponse(): FailureResponse;
|
|
330
|
+
type FailureResponse = {
|
|
331
|
+
error: ErrorResponse[];
|
|
332
|
+
success: boolean;
|
|
333
|
+
};
|
|
334
|
+
/** @returns {GetCountries} */
|
|
335
|
+
declare function GetCountries(): GetCountries;
|
|
336
|
+
type GetCountries = {
|
|
337
|
+
items: GetCountriesItems[];
|
|
338
|
+
page: Page;
|
|
339
|
+
};
|
|
340
|
+
/** @returns {GetCountriesItems} */
|
|
341
|
+
declare function GetCountriesItems(): GetCountriesItems;
|
|
342
|
+
type GetCountriesItems = {
|
|
343
|
+
currency?: string;
|
|
344
|
+
display_name?: string;
|
|
345
|
+
hierarchy?: HierarchyItems[];
|
|
346
|
+
id?: string;
|
|
347
|
+
iso2?: string;
|
|
348
|
+
iso3?: string;
|
|
349
|
+
latitude?: string;
|
|
350
|
+
longitude?: string;
|
|
351
|
+
name?: string;
|
|
352
|
+
phone_code?: string;
|
|
353
|
+
timezones?: string[];
|
|
354
|
+
type?: string;
|
|
355
|
+
};
|
|
356
|
+
/** @returns {HierarchyItems} */
|
|
357
|
+
declare function HierarchyItems(): HierarchyItems;
|
|
358
|
+
type HierarchyItems = {
|
|
359
|
+
display_name?: string;
|
|
360
|
+
slug?: string;
|
|
361
|
+
};
|
|
362
|
+
/** @returns {Page} */
|
|
363
|
+
declare function Page(): Page;
|
|
364
|
+
type Page = {
|
|
365
|
+
current?: number;
|
|
366
|
+
has_next?: boolean;
|
|
367
|
+
has_previous?: boolean;
|
|
368
|
+
item_total?: number;
|
|
369
|
+
next_id?: string;
|
|
370
|
+
size?: number;
|
|
371
|
+
type: string;
|
|
372
|
+
};
|