@gofynd/fdk-client-javascript 1.4.4 → 1.4.6
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/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +1 -1
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationClient.d.ts +16 -18
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +8 -8
- package/sdk/application/Catalog/CatalogApplicationClient.js +5 -5
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +2 -2
- package/sdk/application/Logistic/LogisticApplicationModel.js +2 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +1 -1
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationValidator.js +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +23 -17
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +2 -2
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +2 -2
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +17 -18
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +2 -2
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +28 -5
- package/sdk/platform/Catalog/CatalogPlatformClient.js +69 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +16 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +60 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +25 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +3 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +2 -2
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformModel.js +65 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +22 -16
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -19
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -24
- package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicModel.js +1 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +0 -323
- package/sdk/application/PosCart/PosCartApplicationClient.js +0 -2364
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +0 -1857
- package/sdk/application/PosCart/PosCartApplicationModel.js +0 -1906
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +0 -483
- package/sdk/application/PosCart/PosCartApplicationValidator.js +0 -492
|
@@ -151,5 +151,5 @@ declare class Lead {
|
|
|
151
151
|
*/
|
|
152
152
|
openVideoRoom({ body, requestHeaders }?: LeadPlatformApplicationValidator.OpenVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CreateVideoRoomResponse>;
|
|
153
153
|
}
|
|
154
|
-
import LeadPlatformApplicationValidator = require("
|
|
155
|
-
import LeadPlatformModel = require("
|
|
154
|
+
import LeadPlatformApplicationValidator = require("./LeadPlatformApplicationValidator");
|
|
155
|
+
import LeadPlatformModel = require("./LeadPlatformModel");
|
|
@@ -191,4 +191,4 @@ type OpenVideoRoomParam = {
|
|
|
191
191
|
body: LeadPlatformModel.CreateVideoRoomPayload;
|
|
192
192
|
};
|
|
193
193
|
type GetCustomFormsParam = any;
|
|
194
|
-
import LeadPlatformModel = require("
|
|
194
|
+
import LeadPlatformModel = require("./LeadPlatformModel");
|
|
@@ -116,5 +116,5 @@ declare class Lead {
|
|
|
116
116
|
*/
|
|
117
117
|
submitFeedback({ id, body, requestHeaders }?: LeadPlatformValidator.SubmitFeedbackParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedback>;
|
|
118
118
|
}
|
|
119
|
-
import LeadPlatformValidator = require("
|
|
120
|
-
import LeadPlatformModel = require("
|
|
119
|
+
import LeadPlatformValidator = require("./LeadPlatformValidator");
|
|
120
|
+
import LeadPlatformModel = require("./LeadPlatformModel");
|
|
@@ -172,4 +172,4 @@ type SubmitFeedbackParam = {
|
|
|
172
172
|
body: LeadPlatformModel.TicketFeedbackPayload;
|
|
173
173
|
};
|
|
174
174
|
type GetGeneralConfigParam = any;
|
|
175
|
-
import LeadPlatformModel = require("
|
|
175
|
+
import LeadPlatformModel = require("./LeadPlatformModel");
|
|
@@ -20,7 +20,7 @@ declare class OAuthClient {
|
|
|
20
20
|
grant_type: any;
|
|
21
21
|
refresh_token: any;
|
|
22
22
|
code: any;
|
|
23
|
-
}): Promise<import("
|
|
24
|
-
getOfflineAccessToken(scopes: any, code: any): Promise<import("
|
|
25
|
-
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("
|
|
23
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
+
getOfflineAccessToken(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
|
+
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
26
|
}
|
|
@@ -64,5 +64,5 @@ declare class Order {
|
|
|
64
64
|
*/
|
|
65
65
|
trackShipmentPlatform({ shipmentId, requestHeaders }?: OrderPlatformApplicationValidator.TrackShipmentPlatformParam, { responseHeaders }?: object): Promise<OrderPlatformModel.PlatformShipmentTrack>;
|
|
66
66
|
}
|
|
67
|
-
import OrderPlatformApplicationValidator = require("
|
|
68
|
-
import OrderPlatformModel = require("
|
|
67
|
+
import OrderPlatformApplicationValidator = require("./OrderPlatformApplicationValidator");
|
|
68
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -575,5 +575,5 @@ declare class Order {
|
|
|
575
575
|
*/
|
|
576
576
|
verifyMobileOTP({ body, requestHeaders }?: OrderPlatformValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<OrderPlatformModel.VerifyOtpResponse>;
|
|
577
577
|
}
|
|
578
|
-
import OrderPlatformValidator = require("
|
|
579
|
-
import OrderPlatformModel = require("
|
|
578
|
+
import OrderPlatformValidator = require("./OrderPlatformValidator");
|
|
579
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -3190,7 +3190,7 @@ class OrderPlatformModel {
|
|
|
3190
3190
|
fynd_order_id: Joi.string().allow("").allow(null),
|
|
3191
3191
|
set_id: Joi.string().allow("").allow(null),
|
|
3192
3192
|
affiliate_bag_id: Joi.string().allow("").allow(null),
|
|
3193
|
-
reason_ids: Joi.array().items(Joi.number()),
|
|
3193
|
+
reason_ids: Joi.array().items(Joi.number()).allow(null, ""),
|
|
3194
3194
|
mongo_article_id: Joi.string().allow("").allow(null),
|
|
3195
3195
|
});
|
|
3196
3196
|
}
|
|
@@ -4095,7 +4095,7 @@ class OrderPlatformModel {
|
|
|
4095
4095
|
eway_bill_id: Joi.string().allow("").allow(null),
|
|
4096
4096
|
affiliate_shipment_id: Joi.string().allow("").allow(null),
|
|
4097
4097
|
fynd_order_id: Joi.string().allow(""),
|
|
4098
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
4098
|
+
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
4099
4099
|
created_at: Joi.string().allow(""),
|
|
4100
4100
|
delivery_awb_number: Joi.string().allow("").allow(null),
|
|
4101
4101
|
hand_over_contact_json: OrderPlatformModel.PlatformDeliveryAddress(),
|
|
@@ -4896,7 +4896,9 @@ class OrderPlatformModel {
|
|
|
4896
4896
|
/** @returns {FiltersInfo} */
|
|
4897
4897
|
static FiltersInfo() {
|
|
4898
4898
|
return Joi.object({
|
|
4899
|
-
options: Joi.array()
|
|
4899
|
+
options: Joi.array()
|
|
4900
|
+
.items(OrderPlatformModel.FilterInfoOption())
|
|
4901
|
+
.allow(null, ""),
|
|
4900
4902
|
text: Joi.string().allow("").required(),
|
|
4901
4903
|
placeholder_text: Joi.string().allow("").allow(null),
|
|
4902
4904
|
value: Joi.string().allow("").required(),
|
|
@@ -5208,7 +5210,7 @@ class OrderPlatformModel {
|
|
|
5208
5210
|
current_shipment_status: Joi.string().allow("").allow(null),
|
|
5209
5211
|
meta: Joi.any().allow(null),
|
|
5210
5212
|
shipment_status_id: Joi.number().allow(null),
|
|
5211
|
-
bag_list: Joi.array().items(Joi.string().allow("")),
|
|
5213
|
+
bag_list: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5212
5214
|
title: Joi.string().allow("").required(),
|
|
5213
5215
|
created_at: Joi.string().allow("").allow(null),
|
|
5214
5216
|
created_ts: Joi.string().allow("").allow(null),
|
|
@@ -5401,7 +5403,7 @@ class OrderPlatformModel {
|
|
|
5401
5403
|
updated_ts: Joi.string().allow("").allow(null),
|
|
5402
5404
|
bag_state_mapper: OrderPlatformModel.BagStateMapper(),
|
|
5403
5405
|
bag_id: Joi.number().allow(null),
|
|
5404
|
-
reasons: Joi.array().items(Joi.any()),
|
|
5406
|
+
reasons: Joi.array().items(Joi.any()).allow(null, ""),
|
|
5405
5407
|
status: Joi.string().allow("").required(),
|
|
5406
5408
|
display_name: Joi.string().allow("").allow(null),
|
|
5407
5409
|
});
|
|
@@ -5454,7 +5456,7 @@ class OrderPlatformModel {
|
|
|
5454
5456
|
raw_meta: Joi.string().allow("").allow(null),
|
|
5455
5457
|
size: Joi.string().allow("").required(),
|
|
5456
5458
|
is_set: Joi.boolean().allow(null),
|
|
5457
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
5459
|
+
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5458
5460
|
});
|
|
5459
5461
|
}
|
|
5460
5462
|
|
|
@@ -5527,11 +5529,11 @@ class OrderPlatformModel {
|
|
|
5527
5529
|
l3_category_name: Joi.string().allow("").allow(null),
|
|
5528
5530
|
last_updated_at: Joi.string().allow("").allow(null),
|
|
5529
5531
|
name: Joi.string().allow("").allow(null),
|
|
5530
|
-
l2_category: Joi.array().items(Joi.string().allow("")),
|
|
5532
|
+
l2_category: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5531
5533
|
brand: Joi.string().allow("").allow(null),
|
|
5532
|
-
image: Joi.array().items(Joi.string().allow("")),
|
|
5534
|
+
image: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5533
5535
|
code: Joi.string().allow("").allow(null),
|
|
5534
|
-
l1_category: Joi.array().items(Joi.string().allow("")),
|
|
5536
|
+
l1_category: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5535
5537
|
size: Joi.string().allow("").allow(null),
|
|
5536
5538
|
can_cancel: Joi.boolean().allow(null),
|
|
5537
5539
|
can_return: Joi.boolean().allow(null),
|
|
@@ -5539,7 +5541,7 @@ class OrderPlatformModel {
|
|
|
5539
5541
|
meta: Joi.any().allow(null),
|
|
5540
5542
|
color: Joi.string().allow("").allow(null),
|
|
5541
5543
|
department_id: Joi.number().allow(null),
|
|
5542
|
-
images: Joi.array().items(Joi.string().allow("")),
|
|
5544
|
+
images: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5543
5545
|
});
|
|
5544
5546
|
}
|
|
5545
5547
|
|
|
@@ -5577,7 +5579,7 @@ class OrderPlatformModel {
|
|
|
5577
5579
|
brand: OrderPlatformModel.ShipmentListingBrand(),
|
|
5578
5580
|
affiliate_bag_details: OrderPlatformModel.AffiliateBagDetails(),
|
|
5579
5581
|
item: OrderPlatformModel.PlatformItem(),
|
|
5580
|
-
reasons: Joi.array().items(Joi.any()),
|
|
5582
|
+
reasons: Joi.array().items(Joi.any()).allow(null, ""),
|
|
5581
5583
|
product_quantity: Joi.number().required(),
|
|
5582
5584
|
can_return: Joi.boolean().allow(null),
|
|
5583
5585
|
display_name: Joi.string().allow("").allow(null),
|
|
@@ -5598,7 +5600,9 @@ class OrderPlatformModel {
|
|
|
5598
5600
|
static ShipmentItemFulFillingStore() {
|
|
5599
5601
|
return Joi.object({
|
|
5600
5602
|
phone: Joi.string().allow("").allow(null),
|
|
5601
|
-
brand_store_tags: Joi.array()
|
|
5603
|
+
brand_store_tags: Joi.array()
|
|
5604
|
+
.items(Joi.string().allow(""))
|
|
5605
|
+
.allow(null, ""),
|
|
5602
5606
|
pincode: Joi.string().allow("").allow(null),
|
|
5603
5607
|
meta: Joi.any().allow(null),
|
|
5604
5608
|
address: Joi.string().allow("").allow(null),
|
|
@@ -5611,7 +5615,7 @@ class OrderPlatformModel {
|
|
|
5611
5615
|
name: Joi.string().allow("").allow(null),
|
|
5612
5616
|
state: Joi.string().allow("").allow(null),
|
|
5613
5617
|
city: Joi.string().allow("").allow(null),
|
|
5614
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
5618
|
+
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5615
5619
|
});
|
|
5616
5620
|
}
|
|
5617
5621
|
|
|
@@ -5664,7 +5668,7 @@ class OrderPlatformModel {
|
|
|
5664
5668
|
lock_status: Joi.boolean().allow(null),
|
|
5665
5669
|
invoice_id: Joi.string().allow("").allow(null),
|
|
5666
5670
|
payment_methods: Joi.any().allow(null),
|
|
5667
|
-
payment_info: Joi.array().items(Joi.any()),
|
|
5671
|
+
payment_info: Joi.array().items(Joi.any()).allow(null, ""),
|
|
5668
5672
|
status_created_at: Joi.string().allow(""),
|
|
5669
5673
|
status_created_ts: Joi.string().allow(""),
|
|
5670
5674
|
display_name: Joi.string().allow("").allow(null),
|
|
@@ -5775,8 +5779,10 @@ class OrderPlatformModel {
|
|
|
5775
5779
|
/** @returns {ContactDetails} */
|
|
5776
5780
|
static ContactDetails() {
|
|
5777
5781
|
return Joi.object({
|
|
5778
|
-
phone: Joi.array()
|
|
5779
|
-
|
|
5782
|
+
phone: Joi.array()
|
|
5783
|
+
.items(OrderPlatformModel.PhoneDetails())
|
|
5784
|
+
.allow(null, ""),
|
|
5785
|
+
emails: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5780
5786
|
});
|
|
5781
5787
|
}
|
|
5782
5788
|
|
|
@@ -5994,7 +6000,7 @@ class OrderPlatformModel {
|
|
|
5994
6000
|
return_config: OrderPlatformModel.ReturnConfig(),
|
|
5995
6001
|
uid: Joi.string().allow("").allow(null),
|
|
5996
6002
|
size: Joi.string().allow("").allow(null),
|
|
5997
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
6003
|
+
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
5998
6004
|
});
|
|
5999
6005
|
}
|
|
6000
6006
|
|
|
@@ -6038,7 +6044,7 @@ class OrderPlatformModel {
|
|
|
6038
6044
|
/** @returns {ItemCriterias} */
|
|
6039
6045
|
static ItemCriterias() {
|
|
6040
6046
|
return Joi.object({
|
|
6041
|
-
item_brand: Joi.array().items(Joi.number()),
|
|
6047
|
+
item_brand: Joi.array().items(Joi.number()).allow(null, ""),
|
|
6042
6048
|
});
|
|
6043
6049
|
}
|
|
6044
6050
|
|
|
@@ -6152,7 +6158,7 @@ class OrderPlatformModel {
|
|
|
6152
6158
|
static ShipmentStatusData() {
|
|
6153
6159
|
return Joi.object({
|
|
6154
6160
|
meta: Joi.any().allow(null),
|
|
6155
|
-
bag_list: Joi.array().items(Joi.string().allow("")),
|
|
6161
|
+
bag_list: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
6156
6162
|
id: Joi.number().allow(null),
|
|
6157
6163
|
created_at: Joi.string().allow("").allow(null),
|
|
6158
6164
|
created_ts: Joi.string().allow("").allow(null),
|
|
@@ -6189,13 +6195,15 @@ class OrderPlatformModel {
|
|
|
6189
6195
|
estimated_sla_time: Joi.string().allow("").allow(null),
|
|
6190
6196
|
estimated_sla_ts: Joi.string().allow("").allow(null),
|
|
6191
6197
|
can_update_dimension: Joi.boolean().allow(null),
|
|
6192
|
-
shipment_images: Joi.array()
|
|
6198
|
+
shipment_images: Joi.array()
|
|
6199
|
+
.items(Joi.string().allow(""))
|
|
6200
|
+
.allow(null, ""),
|
|
6193
6201
|
delivery_details: OrderPlatformModel.UserDetailsData(),
|
|
6194
6202
|
billing_details: OrderPlatformModel.UserDetailsData(),
|
|
6195
6203
|
forward_shipment_id: Joi.string().allow("").allow(null),
|
|
6196
6204
|
fulfilment_priority: Joi.number().allow(null),
|
|
6197
6205
|
shipment_details: OrderPlatformModel.ShipmentLockDetails(),
|
|
6198
|
-
custom_meta: Joi.array().items(Joi.any()),
|
|
6206
|
+
custom_meta: Joi.array().items(Joi.any()).allow(null, ""),
|
|
6199
6207
|
shipment_quantity: Joi.number().allow(null),
|
|
6200
6208
|
company_details: OrderPlatformModel.CompanyDetails(),
|
|
6201
6209
|
ordering_store: OrderPlatformModel.OrderingStoreDetails(),
|
|
@@ -6206,7 +6214,7 @@ class OrderPlatformModel {
|
|
|
6206
6214
|
dp_details: OrderPlatformModel.DPDetailsData(),
|
|
6207
6215
|
invoice_id: Joi.string().allow("").allow(null),
|
|
6208
6216
|
payment_methods: Joi.any().allow(null),
|
|
6209
|
-
payment_info: Joi.array().items(Joi.any()),
|
|
6217
|
+
payment_info: Joi.array().items(Joi.any()).allow(null, ""),
|
|
6210
6218
|
coupon: Joi.any().allow(null),
|
|
6211
6219
|
affiliate_details: OrderPlatformModel.AffiliateDetails(),
|
|
6212
6220
|
priority_text: Joi.string().allow("").allow(null),
|
|
@@ -6285,7 +6293,9 @@ class OrderPlatformModel {
|
|
|
6285
6293
|
fynd_order_id: Joi.string().allow("").required(),
|
|
6286
6294
|
prices: OrderPlatformModel.Prices(),
|
|
6287
6295
|
payment_methods: Joi.any().allow(null),
|
|
6288
|
-
payment_info: Joi.array()
|
|
6296
|
+
payment_info: Joi.array()
|
|
6297
|
+
.items(OrderPlatformModel.PaymentInfoData())
|
|
6298
|
+
.allow(null, ""),
|
|
6289
6299
|
});
|
|
6290
6300
|
}
|
|
6291
6301
|
|
|
@@ -6403,11 +6413,21 @@ class OrderPlatformModel {
|
|
|
6403
6413
|
/** @returns {AdvanceFilterInfo} */
|
|
6404
6414
|
static AdvanceFilterInfo() {
|
|
6405
6415
|
return Joi.object({
|
|
6406
|
-
returned: Joi.array()
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6416
|
+
returned: Joi.array()
|
|
6417
|
+
.items(OrderPlatformModel.FiltersInfo())
|
|
6418
|
+
.allow(null, ""),
|
|
6419
|
+
action_centre: Joi.array()
|
|
6420
|
+
.items(OrderPlatformModel.FiltersInfo())
|
|
6421
|
+
.allow(null, ""),
|
|
6422
|
+
unfulfilled: Joi.array()
|
|
6423
|
+
.items(OrderPlatformModel.FiltersInfo())
|
|
6424
|
+
.allow(null, ""),
|
|
6425
|
+
filters: Joi.array()
|
|
6426
|
+
.items(OrderPlatformModel.FiltersInfo())
|
|
6427
|
+
.allow(null, ""),
|
|
6428
|
+
processed: Joi.array()
|
|
6429
|
+
.items(OrderPlatformModel.FiltersInfo())
|
|
6430
|
+
.allow(null, ""),
|
|
6411
6431
|
applied_filters: Joi.any().allow(null),
|
|
6412
6432
|
page: Joi.any().allow(null),
|
|
6413
6433
|
});
|
|
@@ -6572,8 +6592,10 @@ class OrderPlatformModel {
|
|
|
6572
6592
|
static StoreMeta() {
|
|
6573
6593
|
return Joi.object({
|
|
6574
6594
|
additional_contact_details: Joi.any().allow(null),
|
|
6575
|
-
timing: Joi.array().items(Joi.any()),
|
|
6576
|
-
notification_emails: Joi.array()
|
|
6595
|
+
timing: Joi.array().items(Joi.any()).allow(null, ""),
|
|
6596
|
+
notification_emails: Joi.array()
|
|
6597
|
+
.items(Joi.string().allow(""))
|
|
6598
|
+
.allow(null, ""),
|
|
6577
6599
|
gst_number: Joi.string().allow("").allow(null),
|
|
6578
6600
|
ewaybill_portal_details: Joi.any().allow(null),
|
|
6579
6601
|
einvoice_portal_details: OrderPlatformModel.EInvoicePortalDetails(),
|
|
@@ -6605,7 +6627,9 @@ class OrderPlatformModel {
|
|
|
6605
6627
|
city: Joi.string().allow("").required(),
|
|
6606
6628
|
name: Joi.string().allow("").required(),
|
|
6607
6629
|
longitude: Joi.number().allow(null),
|
|
6608
|
-
brand_store_tags: Joi.array()
|
|
6630
|
+
brand_store_tags: Joi.array()
|
|
6631
|
+
.items(Joi.string().allow(""))
|
|
6632
|
+
.allow(null, ""),
|
|
6609
6633
|
order_integration_id: Joi.string().allow("").allow(null),
|
|
6610
6634
|
parent_store_id: Joi.number().allow(null),
|
|
6611
6635
|
location_type: Joi.string().allow("").required(),
|
|
@@ -6657,7 +6681,7 @@ class OrderPlatformModel {
|
|
|
6657
6681
|
primary_color_hex: Joi.string().allow("").allow(null),
|
|
6658
6682
|
brand_name: Joi.string().allow("").allow(null),
|
|
6659
6683
|
name: Joi.string().allow("").allow(null),
|
|
6660
|
-
gender: Joi.array().items(Joi.string().allow("")),
|
|
6684
|
+
gender: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
6661
6685
|
});
|
|
6662
6686
|
}
|
|
6663
6687
|
|
|
@@ -6672,13 +6696,13 @@ class OrderPlatformModel {
|
|
|
6672
6696
|
l3_category_name: Joi.string().allow("").allow(null),
|
|
6673
6697
|
last_updated_at: Joi.string().allow("").allow(null),
|
|
6674
6698
|
name: Joi.string().allow("").required(),
|
|
6675
|
-
l2_category: Joi.array().items(Joi.string().allow("")),
|
|
6699
|
+
l2_category: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
6676
6700
|
brand: Joi.string().allow("").required(),
|
|
6677
6701
|
image: Joi.array().items(Joi.string().allow("")).required(),
|
|
6678
6702
|
code: Joi.string().allow("").allow(null),
|
|
6679
6703
|
l1_category_id: Joi.number().allow(null),
|
|
6680
6704
|
item_id: Joi.number().required(),
|
|
6681
|
-
l1_category: Joi.array().items(Joi.string().allow("")),
|
|
6705
|
+
l1_category: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
6682
6706
|
gender: Joi.string().allow("").allow(null),
|
|
6683
6707
|
can_cancel: Joi.boolean().allow(null),
|
|
6684
6708
|
can_return: Joi.boolean().allow(null),
|
|
@@ -6778,7 +6802,7 @@ class OrderPlatformModel {
|
|
|
6778
6802
|
bag_id: Joi.number().allow(null),
|
|
6779
6803
|
affiliate_bag_details: OrderPlatformModel.AffiliateBagDetails(),
|
|
6780
6804
|
affiliate_details: OrderPlatformModel.AffiliateDetails(),
|
|
6781
|
-
applied_promos: Joi.array().items(Joi.any()),
|
|
6805
|
+
applied_promos: Joi.array().items(Joi.any()).allow(null, ""),
|
|
6782
6806
|
article: OrderPlatformModel.Article(),
|
|
6783
6807
|
article_details: OrderPlatformModel.ArticleStatusDetails(),
|
|
6784
6808
|
bag_status: Joi.array().items(OrderPlatformModel.BagStatusHistory()),
|
|
@@ -6823,7 +6847,7 @@ class OrderPlatformModel {
|
|
|
6823
6847
|
prices: OrderPlatformModel.Prices(),
|
|
6824
6848
|
qc_required: Joi.boolean().allow(null),
|
|
6825
6849
|
quantity: Joi.number().allow(null),
|
|
6826
|
-
reasons: Joi.array().items(Joi.any()),
|
|
6850
|
+
reasons: Joi.array().items(Joi.any()).allow(null, ""),
|
|
6827
6851
|
restore_coupon: Joi.boolean().allow(null),
|
|
6828
6852
|
restore_promos: Joi.any().allow(null),
|
|
6829
6853
|
rto_address: OrderPlatformModel.PlatformDeliveryAddress(),
|
|
@@ -6833,11 +6857,11 @@ class OrderPlatformModel {
|
|
|
6833
6857
|
shipment_id: Joi.string().allow("").allow(null),
|
|
6834
6858
|
shipment_gst: OrderPlatformModel.ShipmentGstDetails(),
|
|
6835
6859
|
shipment_status: OrderPlatformModel.ShipmentStatusData(),
|
|
6836
|
-
shipment_status_history: Joi.array()
|
|
6837
|
-
OrderPlatformModel.ShipmentStatusData()
|
|
6838
|
-
|
|
6860
|
+
shipment_status_history: Joi.array()
|
|
6861
|
+
.items(OrderPlatformModel.ShipmentStatusData())
|
|
6862
|
+
.allow(null, ""),
|
|
6839
6863
|
status: OrderPlatformModel.BagReturnableCancelableStatus(),
|
|
6840
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
6864
|
+
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
6841
6865
|
total_shipment_bags: Joi.number().allow(null),
|
|
6842
6866
|
total_shipments_in_order: Joi.number().allow(null),
|
|
6843
6867
|
transaction_type: Joi.string().allow("").allow(null),
|
|
@@ -6845,7 +6869,7 @@ class OrderPlatformModel {
|
|
|
6845
6869
|
updated_at: Joi.string().allow("").allow(null),
|
|
6846
6870
|
user: OrderPlatformModel.UserDetails(),
|
|
6847
6871
|
weight: OrderPlatformModel.WeightData(),
|
|
6848
|
-
original_bag_list: Joi.array().items(Joi.number()),
|
|
6872
|
+
original_bag_list: Joi.array().items(Joi.number()).allow(null, ""),
|
|
6849
6873
|
identifier: Joi.string().allow("").allow(null),
|
|
6850
6874
|
});
|
|
6851
6875
|
}
|
|
@@ -1106,4 +1106,4 @@ type GetBulkActionTemplateParam = any;
|
|
|
1106
1106
|
type GetChannelConfigParam = any;
|
|
1107
1107
|
type GetRoleBasedActionsParam = any;
|
|
1108
1108
|
type GetStateTransitionMapParam = any;
|
|
1109
|
-
import OrderPlatformModel = require("
|
|
1109
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -24,5 +24,5 @@ declare class Partner {
|
|
|
24
24
|
*/
|
|
25
25
|
removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.RemoveProxyResponse>;
|
|
26
26
|
}
|
|
27
|
-
import PartnerPlatformApplicationValidator = require("
|
|
28
|
-
import PartnerPlatformModel = require("
|
|
27
|
+
import PartnerPlatformApplicationValidator = require("./PartnerPlatformApplicationValidator");
|
|
28
|
+
import PartnerPlatformModel = require("./PartnerPlatformModel");
|
|
@@ -628,5 +628,5 @@ declare class Payment {
|
|
|
628
628
|
*/
|
|
629
629
|
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
|
|
630
630
|
}
|
|
631
|
-
import PaymentPlatformApplicationValidator = require("
|
|
632
|
-
import PaymentPlatformModel = require("
|
|
631
|
+
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
632
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -626,4 +626,4 @@ type EdcDeviceStatsParam = any;
|
|
|
626
626
|
type GetMerchantPaymentOptionParam = any;
|
|
627
627
|
type GetPGConfigAggregatorsParam = any;
|
|
628
628
|
type GetPaymentCodeOptionParam = any;
|
|
629
|
-
import PaymentPlatformModel = require("
|
|
629
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -114,5 +114,5 @@ declare class Payment {
|
|
|
114
114
|
*/
|
|
115
115
|
verifyIfscCode({ ifscCode, requestHeaders }?: PaymentPlatformValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.IfscCodeResponse>;
|
|
116
116
|
}
|
|
117
|
-
import PaymentPlatformValidator = require("
|
|
118
|
-
import PaymentPlatformModel = require("
|
|
117
|
+
import PaymentPlatformValidator = require("./PaymentPlatformValidator");
|
|
118
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -1448,9 +1448,9 @@ class PaymentPlatformModel {
|
|
|
1448
1448
|
retry_count: Joi.number().allow(null),
|
|
1449
1449
|
card_name: Joi.string().allow("").allow(null),
|
|
1450
1450
|
timeout: Joi.number().allow(null),
|
|
1451
|
-
intent_app_error_dict_list: Joi.array()
|
|
1452
|
-
PaymentPlatformModel.IntentAppErrorList()
|
|
1453
|
-
|
|
1451
|
+
intent_app_error_dict_list: Joi.array()
|
|
1452
|
+
.items(PaymentPlatformModel.IntentAppErrorList())
|
|
1453
|
+
.allow(null, ""),
|
|
1454
1454
|
card_brand_image: Joi.string().allow("").allow(null),
|
|
1455
1455
|
expired: Joi.boolean().allow(null),
|
|
1456
1456
|
logo_url: PaymentPlatformModel.PaymentModeLogo(),
|
|
@@ -1459,12 +1459,16 @@ class PaymentPlatformModel {
|
|
|
1459
1459
|
cod_charges: Joi.number().allow(null),
|
|
1460
1460
|
product_cod_data: PaymentPlatformModel.ProductCODData(),
|
|
1461
1461
|
cod_limit: Joi.number().allow(null),
|
|
1462
|
-
intent_app: Joi.array()
|
|
1462
|
+
intent_app: Joi.array()
|
|
1463
|
+
.items(PaymentPlatformModel.IntentApp())
|
|
1464
|
+
.allow(null, ""),
|
|
1463
1465
|
nickname: Joi.string().allow("").allow(null),
|
|
1464
1466
|
compliant_with_tokenisation_guidelines: Joi.boolean().allow(null),
|
|
1465
1467
|
exp_year: Joi.number().allow(null),
|
|
1466
1468
|
name: Joi.string().allow("").allow(null),
|
|
1467
|
-
intent_app_error_list: Joi.array()
|
|
1469
|
+
intent_app_error_list: Joi.array()
|
|
1470
|
+
.items(Joi.string().allow(""))
|
|
1471
|
+
.allow(null, ""),
|
|
1468
1472
|
});
|
|
1469
1473
|
}
|
|
1470
1474
|
|
|
@@ -1553,9 +1557,9 @@ class PaymentPlatformModel {
|
|
|
1553
1557
|
prepayment_value: Joi.number().allow(null),
|
|
1554
1558
|
cancellation_type: Joi.string().allow("").allow(null),
|
|
1555
1559
|
refund_time_limit: Joi.number().allow(null),
|
|
1556
|
-
all_prepayment_type: Joi.array()
|
|
1557
|
-
Joi.string().allow("").allow(null)
|
|
1558
|
-
|
|
1560
|
+
all_prepayment_type: Joi.array()
|
|
1561
|
+
.items(Joi.string().allow("").allow(null))
|
|
1562
|
+
.allow(null, ""),
|
|
1559
1563
|
allow_custom_advance_amount: Joi.boolean().allow(null),
|
|
1560
1564
|
});
|
|
1561
1565
|
}
|
|
@@ -1576,7 +1580,9 @@ class PaymentPlatformModel {
|
|
|
1576
1580
|
display_priority: Joi.number().allow(null),
|
|
1577
1581
|
payment_mode_id: Joi.number().allow(null),
|
|
1578
1582
|
display_name: Joi.string().allow("").allow(null),
|
|
1579
|
-
list: Joi.array()
|
|
1583
|
+
list: Joi.array()
|
|
1584
|
+
.items(PaymentPlatformModel.PaymentModeList())
|
|
1585
|
+
.allow(null, ""),
|
|
1580
1586
|
split: PaymentPlatformModel.SplitObject(),
|
|
1581
1587
|
advance: PaymentPlatformModel.AdvanceObject(),
|
|
1582
1588
|
});
|
|
@@ -1588,9 +1594,9 @@ class PaymentPlatformModel {
|
|
|
1588
1594
|
payment_options: PaymentPlatformModel.PaymentOptionAndFlow().required(),
|
|
1589
1595
|
success: Joi.boolean().required(),
|
|
1590
1596
|
payment_breakup: Joi.any(),
|
|
1591
|
-
advance_payment: Joi.array()
|
|
1592
|
-
PaymentPlatformModel.AdvancePaymentObject()
|
|
1593
|
-
|
|
1597
|
+
advance_payment: Joi.array()
|
|
1598
|
+
.items(PaymentPlatformModel.AdvancePaymentObject())
|
|
1599
|
+
.allow(null, ""),
|
|
1594
1600
|
});
|
|
1595
1601
|
}
|
|
1596
1602
|
|
|
@@ -1844,9 +1850,9 @@ class PaymentPlatformModel {
|
|
|
1844
1850
|
/** @returns {OrderBeneficiaryResponse} */
|
|
1845
1851
|
static OrderBeneficiaryResponse() {
|
|
1846
1852
|
return Joi.object({
|
|
1847
|
-
beneficiaries: Joi.array()
|
|
1848
|
-
PaymentPlatformModel.OrderBeneficiaryDetails()
|
|
1849
|
-
|
|
1853
|
+
beneficiaries: Joi.array()
|
|
1854
|
+
.items(PaymentPlatformModel.OrderBeneficiaryDetails())
|
|
1855
|
+
.allow(null, ""),
|
|
1850
1856
|
show_beneficiary_details: Joi.boolean(),
|
|
1851
1857
|
});
|
|
1852
1858
|
}
|
|
@@ -2445,7 +2451,7 @@ class PaymentPlatformModel {
|
|
|
2445
2451
|
static PlatformPaymentModeResponse() {
|
|
2446
2452
|
return Joi.object({
|
|
2447
2453
|
message: Joi.string().allow("").allow(null),
|
|
2448
|
-
items: Joi.array().items(Joi.any()),
|
|
2454
|
+
items: Joi.array().items(Joi.any()).allow(null, ""),
|
|
2449
2455
|
success: Joi.boolean().required(),
|
|
2450
2456
|
});
|
|
2451
2457
|
}
|
|
@@ -110,4 +110,4 @@ type VerifyIfscCodeParam = {
|
|
|
110
110
|
ifscCode?: string;
|
|
111
111
|
};
|
|
112
112
|
type GetSubscriptionConfigParam = any;
|
|
113
|
-
import PaymentPlatformModel = require("
|
|
113
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -13,7 +13,7 @@ declare class APIClient {
|
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
* @param {Options} options
|
|
15
15
|
*/
|
|
16
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("
|
|
16
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
17
|
get(url: any, config: any): Promise<any>;
|
|
18
18
|
}
|
|
19
19
|
declare namespace APIClient {
|
|
@@ -12,7 +12,7 @@ declare class PlatformApplicationClient {
|
|
|
12
12
|
* @param {import("./PlatformConfig")} config - The platform configuration.
|
|
13
13
|
*/
|
|
14
14
|
constructor(applicationId: string, config: import("./PlatformConfig"));
|
|
15
|
-
config: import("
|
|
15
|
+
config: import("./PlatformConfig");
|
|
16
16
|
companyId: string;
|
|
17
17
|
applicationId: string;
|
|
18
18
|
cart: Cart;
|
|
@@ -38,18 +38,18 @@ declare class PlatformApplicationClient {
|
|
|
38
38
|
*/
|
|
39
39
|
setExtraHeaders(header: object): void;
|
|
40
40
|
}
|
|
41
|
-
import Cart = require("
|
|
42
|
-
import Catalog = require("
|
|
43
|
-
import Communication = require("
|
|
44
|
-
import Configuration = require("
|
|
45
|
-
import Content = require("
|
|
46
|
-
import FileStorage = require("
|
|
47
|
-
import Lead = require("
|
|
48
|
-
import Serviceability = require("
|
|
49
|
-
import Order = require("
|
|
50
|
-
import Partner = require("
|
|
51
|
-
import Payment = require("
|
|
52
|
-
import Rewards = require("
|
|
53
|
-
import Share = require("
|
|
54
|
-
import Theme = require("
|
|
55
|
-
import User = require("
|
|
41
|
+
import Cart = require("./Cart/CartPlatformApplicationClient");
|
|
42
|
+
import Catalog = require("./Catalog/CatalogPlatformApplicationClient");
|
|
43
|
+
import Communication = require("./Communication/CommunicationPlatformApplicationClient");
|
|
44
|
+
import Configuration = require("./Configuration/ConfigurationPlatformApplicationClient");
|
|
45
|
+
import Content = require("./Content/ContentPlatformApplicationClient");
|
|
46
|
+
import FileStorage = require("./FileStorage/FileStoragePlatformApplicationClient");
|
|
47
|
+
import Lead = require("./Lead/LeadPlatformApplicationClient");
|
|
48
|
+
import Serviceability = require("./Serviceability/ServiceabilityPlatformApplicationClient");
|
|
49
|
+
import Order = require("./Order/OrderPlatformApplicationClient");
|
|
50
|
+
import Partner = require("./Partner/PartnerPlatformApplicationClient");
|
|
51
|
+
import Payment = require("./Payment/PaymentPlatformApplicationClient");
|
|
52
|
+
import Rewards = require("./Rewards/RewardsPlatformApplicationClient");
|
|
53
|
+
import Share = require("./Share/SharePlatformApplicationClient");
|
|
54
|
+
import Theme = require("./Theme/ThemePlatformApplicationClient");
|
|
55
|
+
import User = require("./User/UserPlatformApplicationClient");
|
|
@@ -11,7 +11,7 @@ declare class PlatformClient {
|
|
|
11
11
|
* @param {import("./PlatformConfig")} config - The application configuration.
|
|
12
12
|
*/
|
|
13
13
|
constructor(config: import("./PlatformConfig"));
|
|
14
|
-
config: import("
|
|
14
|
+
config: import("./PlatformConfig");
|
|
15
15
|
auditTrail: AuditTrail;
|
|
16
16
|
billing: Billing;
|
|
17
17
|
catalog: Catalog;
|
|
@@ -47,21 +47,21 @@ declare class PlatformClient {
|
|
|
47
47
|
*/
|
|
48
48
|
setExtraHeaders(header: object): void;
|
|
49
49
|
}
|
|
50
|
-
import AuditTrail = require("
|
|
51
|
-
import Billing = require("
|
|
52
|
-
import Catalog = require("
|
|
53
|
-
import Common = require("
|
|
54
|
-
import Communication = require("
|
|
55
|
-
import CompanyProfile = require("
|
|
56
|
-
import Configuration = require("
|
|
57
|
-
import Content = require("
|
|
58
|
-
import Discount = require("
|
|
59
|
-
import FileStorage = require("
|
|
60
|
-
import Finance = require("
|
|
61
|
-
import Lead = require("
|
|
62
|
-
import Serviceability = require("
|
|
63
|
-
import Order = require("
|
|
64
|
-
import Payment = require("
|
|
65
|
-
import Theme = require("
|
|
66
|
-
import Webhook = require("
|
|
67
|
-
import PlatformApplicationClient = require("
|
|
50
|
+
import AuditTrail = require("./AuditTrail/AuditTrailPlatformClient");
|
|
51
|
+
import Billing = require("./Billing/BillingPlatformClient");
|
|
52
|
+
import Catalog = require("./Catalog/CatalogPlatformClient");
|
|
53
|
+
import Common = require("./Common/CommonPlatformClient");
|
|
54
|
+
import Communication = require("./Communication/CommunicationPlatformClient");
|
|
55
|
+
import CompanyProfile = require("./CompanyProfile/CompanyProfilePlatformClient");
|
|
56
|
+
import Configuration = require("./Configuration/ConfigurationPlatformClient");
|
|
57
|
+
import Content = require("./Content/ContentPlatformClient");
|
|
58
|
+
import Discount = require("./Discount/DiscountPlatformClient");
|
|
59
|
+
import FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
60
|
+
import Finance = require("./Finance/FinancePlatformClient");
|
|
61
|
+
import Lead = require("./Lead/LeadPlatformClient");
|
|
62
|
+
import Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
63
|
+
import Order = require("./Order/OrderPlatformClient");
|
|
64
|
+
import Payment = require("./Payment/PaymentPlatformClient");
|
|
65
|
+
import Theme = require("./Theme/ThemePlatformClient");
|
|
66
|
+
import Webhook = require("./Webhook/WebhookPlatformClient");
|
|
67
|
+
import PlatformApplicationClient = require("./PlatformApplicationClient");
|