@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -13,6 +13,11 @@ export = CompanyProfilePlatformModel;
|
|
|
13
13
|
* @property {number} [pincode]
|
|
14
14
|
* @property {string} [state]
|
|
15
15
|
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef AverageOrderProcessingTime
|
|
18
|
+
* @property {number} [duration]
|
|
19
|
+
* @property {string} [duration_type]
|
|
20
|
+
*/
|
|
16
21
|
/**
|
|
17
22
|
* @typedef BrandBannerSerializer
|
|
18
23
|
* @property {string} landscape
|
|
@@ -235,12 +240,15 @@ export = CompanyProfilePlatformModel;
|
|
|
235
240
|
* @property {Object} [_custom_json]
|
|
236
241
|
* @property {GetAddressSerializer} address
|
|
237
242
|
* @property {boolean} [auto_invoice]
|
|
243
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
244
|
+
* @property {boolean} [bulk_shipment]
|
|
238
245
|
* @property {string} code
|
|
239
246
|
* @property {GetCompanySerializer} [company]
|
|
240
247
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
241
248
|
* @property {UserSerializer} [created_by]
|
|
242
249
|
* @property {string} [created_on]
|
|
243
250
|
* @property {boolean} [credit_note]
|
|
251
|
+
* @property {boolean} [default_order_acceptance_timing]
|
|
244
252
|
* @property {string} display_name
|
|
245
253
|
* @property {Document[]} [documents]
|
|
246
254
|
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
@@ -250,10 +258,12 @@ export = CompanyProfilePlatformModel;
|
|
|
250
258
|
* @property {string} [modified_on]
|
|
251
259
|
* @property {string} name
|
|
252
260
|
* @property {string[]} [notification_emails]
|
|
261
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
|
|
253
262
|
* @property {string} [phone_number]
|
|
254
263
|
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
255
264
|
* @property {string} [stage]
|
|
256
265
|
* @property {string} [store_type]
|
|
266
|
+
* @property {string[]} [tags]
|
|
257
267
|
* @property {LocationDayWiseSerializer[]} [timing]
|
|
258
268
|
* @property {number} [uid]
|
|
259
269
|
* @property {UserSerializer} [verified_by]
|
|
@@ -305,10 +315,14 @@ export = CompanyProfilePlatformModel;
|
|
|
305
315
|
* @property {Object} [_custom_json]
|
|
306
316
|
* @property {AddressSerializer} address
|
|
307
317
|
* @property {boolean} [auto_invoice]
|
|
318
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
319
|
+
* @property {boolean} [bulk_shipment]
|
|
308
320
|
* @property {string} code
|
|
309
321
|
* @property {number} company
|
|
310
322
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
311
323
|
* @property {boolean} [credit_note]
|
|
324
|
+
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
325
|
+
* order_acceptance_timing as default timing
|
|
312
326
|
* @property {string} display_name
|
|
313
327
|
* @property {Document[]} [documents]
|
|
314
328
|
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
@@ -316,9 +330,12 @@ export = CompanyProfilePlatformModel;
|
|
|
316
330
|
* @property {LocationManagerSerializer} [manager]
|
|
317
331
|
* @property {string} name
|
|
318
332
|
* @property {string[]} [notification_emails]
|
|
333
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
|
|
334
|
+
* acceptance timing of the store
|
|
319
335
|
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
320
336
|
* @property {string} [stage]
|
|
321
337
|
* @property {string} [store_type]
|
|
338
|
+
* @property {string[]} [tags]
|
|
322
339
|
* @property {LocationDayWiseSerializer[]} [timing]
|
|
323
340
|
* @property {number} [uid]
|
|
324
341
|
* @property {Object} [warnings]
|
|
@@ -364,6 +381,11 @@ export = CompanyProfilePlatformModel;
|
|
|
364
381
|
* @property {number} country_code
|
|
365
382
|
* @property {string} number
|
|
366
383
|
*/
|
|
384
|
+
/**
|
|
385
|
+
* @typedef StoreTagsResponseSchema
|
|
386
|
+
* @property {boolean} [success]
|
|
387
|
+
* @property {string[]} [tags]
|
|
388
|
+
*/
|
|
367
389
|
/**
|
|
368
390
|
* @typedef UpdateCompany
|
|
369
391
|
* @property {Object} [_custom_json]
|
|
@@ -394,7 +416,7 @@ export = CompanyProfilePlatformModel;
|
|
|
394
416
|
declare class CompanyProfilePlatformModel {
|
|
395
417
|
}
|
|
396
418
|
declare namespace CompanyProfilePlatformModel {
|
|
397
|
-
export { AddressSerializer, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, UpdateCompany, UserSerializer, Website };
|
|
419
|
+
export { AddressSerializer, AverageOrderProcessingTime, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, StoreTagsResponseSchema, UpdateCompany, UserSerializer, Website };
|
|
398
420
|
}
|
|
399
421
|
/** @returns {AddressSerializer} */
|
|
400
422
|
declare function AddressSerializer(): AddressSerializer;
|
|
@@ -411,6 +433,12 @@ type AddressSerializer = {
|
|
|
411
433
|
pincode?: number;
|
|
412
434
|
state?: string;
|
|
413
435
|
};
|
|
436
|
+
/** @returns {AverageOrderProcessingTime} */
|
|
437
|
+
declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
|
|
438
|
+
type AverageOrderProcessingTime = {
|
|
439
|
+
duration?: number;
|
|
440
|
+
duration_type?: string;
|
|
441
|
+
};
|
|
414
442
|
/** @returns {BrandBannerSerializer} */
|
|
415
443
|
declare function BrandBannerSerializer(): BrandBannerSerializer;
|
|
416
444
|
type BrandBannerSerializer = {
|
|
@@ -656,12 +684,15 @@ type GetLocationSerializer = {
|
|
|
656
684
|
_custom_json?: any;
|
|
657
685
|
address: GetAddressSerializer;
|
|
658
686
|
auto_invoice?: boolean;
|
|
687
|
+
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
688
|
+
bulk_shipment?: boolean;
|
|
659
689
|
code: string;
|
|
660
690
|
company?: GetCompanySerializer;
|
|
661
691
|
contact_numbers?: SellerPhoneNumber[];
|
|
662
692
|
created_by?: UserSerializer;
|
|
663
693
|
created_on?: string;
|
|
664
694
|
credit_note?: boolean;
|
|
695
|
+
default_order_acceptance_timing?: boolean;
|
|
665
696
|
display_name: string;
|
|
666
697
|
documents?: Document[];
|
|
667
698
|
gst_credentials?: InvoiceDetailsSerializer;
|
|
@@ -671,10 +702,12 @@ type GetLocationSerializer = {
|
|
|
671
702
|
modified_on?: string;
|
|
672
703
|
name: string;
|
|
673
704
|
notification_emails?: string[];
|
|
705
|
+
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
674
706
|
phone_number?: string;
|
|
675
707
|
product_return_config?: ProductReturnConfigSerializer;
|
|
676
708
|
stage?: string;
|
|
677
709
|
store_type?: string;
|
|
710
|
+
tags?: string[];
|
|
678
711
|
timing?: LocationDayWiseSerializer[];
|
|
679
712
|
uid?: number;
|
|
680
713
|
verified_by?: UserSerializer;
|
|
@@ -734,10 +767,17 @@ type LocationSerializer = {
|
|
|
734
767
|
_custom_json?: any;
|
|
735
768
|
address: AddressSerializer;
|
|
736
769
|
auto_invoice?: boolean;
|
|
770
|
+
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
771
|
+
bulk_shipment?: boolean;
|
|
737
772
|
code: string;
|
|
738
773
|
company: number;
|
|
739
774
|
contact_numbers?: SellerPhoneNumber[];
|
|
740
775
|
credit_note?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* - Flag to set
|
|
778
|
+
* order_acceptance_timing as default timing
|
|
779
|
+
*/
|
|
780
|
+
default_order_acceptance_timing?: boolean;
|
|
741
781
|
display_name: string;
|
|
742
782
|
documents?: Document[];
|
|
743
783
|
gst_credentials?: InvoiceDetailsSerializer;
|
|
@@ -745,9 +785,15 @@ type LocationSerializer = {
|
|
|
745
785
|
manager?: LocationManagerSerializer;
|
|
746
786
|
name: string;
|
|
747
787
|
notification_emails?: string[];
|
|
788
|
+
/**
|
|
789
|
+
* - Order
|
|
790
|
+
* acceptance timing of the store
|
|
791
|
+
*/
|
|
792
|
+
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
748
793
|
product_return_config?: ProductReturnConfigSerializer;
|
|
749
794
|
stage?: string;
|
|
750
795
|
store_type?: string;
|
|
796
|
+
tags?: string[];
|
|
751
797
|
timing?: LocationDayWiseSerializer[];
|
|
752
798
|
uid?: number;
|
|
753
799
|
warnings?: any;
|
|
@@ -799,6 +845,12 @@ type SellerPhoneNumber = {
|
|
|
799
845
|
country_code: number;
|
|
800
846
|
number: string;
|
|
801
847
|
};
|
|
848
|
+
/** @returns {StoreTagsResponseSchema} */
|
|
849
|
+
declare function StoreTagsResponseSchema(): StoreTagsResponseSchema;
|
|
850
|
+
type StoreTagsResponseSchema = {
|
|
851
|
+
success?: boolean;
|
|
852
|
+
tags?: string[];
|
|
853
|
+
};
|
|
802
854
|
/** @returns {UpdateCompany} */
|
|
803
855
|
declare function UpdateCompany(): UpdateCompany;
|
|
804
856
|
type UpdateCompany = {
|
|
@@ -15,6 +15,12 @@ const Joi = require("joi");
|
|
|
15
15
|
* @property {string} [state]
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* @typedef AverageOrderProcessingTime
|
|
20
|
+
* @property {number} [duration]
|
|
21
|
+
* @property {string} [duration_type]
|
|
22
|
+
*/
|
|
23
|
+
|
|
18
24
|
/**
|
|
19
25
|
* @typedef BrandBannerSerializer
|
|
20
26
|
* @property {string} landscape
|
|
@@ -259,12 +265,15 @@ const Joi = require("joi");
|
|
|
259
265
|
* @property {Object} [_custom_json]
|
|
260
266
|
* @property {GetAddressSerializer} address
|
|
261
267
|
* @property {boolean} [auto_invoice]
|
|
268
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
269
|
+
* @property {boolean} [bulk_shipment]
|
|
262
270
|
* @property {string} code
|
|
263
271
|
* @property {GetCompanySerializer} [company]
|
|
264
272
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
265
273
|
* @property {UserSerializer} [created_by]
|
|
266
274
|
* @property {string} [created_on]
|
|
267
275
|
* @property {boolean} [credit_note]
|
|
276
|
+
* @property {boolean} [default_order_acceptance_timing]
|
|
268
277
|
* @property {string} display_name
|
|
269
278
|
* @property {Document[]} [documents]
|
|
270
279
|
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
@@ -274,10 +283,12 @@ const Joi = require("joi");
|
|
|
274
283
|
* @property {string} [modified_on]
|
|
275
284
|
* @property {string} name
|
|
276
285
|
* @property {string[]} [notification_emails]
|
|
286
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
|
|
277
287
|
* @property {string} [phone_number]
|
|
278
288
|
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
279
289
|
* @property {string} [stage]
|
|
280
290
|
* @property {string} [store_type]
|
|
291
|
+
* @property {string[]} [tags]
|
|
281
292
|
* @property {LocationDayWiseSerializer[]} [timing]
|
|
282
293
|
* @property {number} [uid]
|
|
283
294
|
* @property {UserSerializer} [verified_by]
|
|
@@ -337,10 +348,14 @@ const Joi = require("joi");
|
|
|
337
348
|
* @property {Object} [_custom_json]
|
|
338
349
|
* @property {AddressSerializer} address
|
|
339
350
|
* @property {boolean} [auto_invoice]
|
|
351
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
352
|
+
* @property {boolean} [bulk_shipment]
|
|
340
353
|
* @property {string} code
|
|
341
354
|
* @property {number} company
|
|
342
355
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
343
356
|
* @property {boolean} [credit_note]
|
|
357
|
+
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
358
|
+
* order_acceptance_timing as default timing
|
|
344
359
|
* @property {string} display_name
|
|
345
360
|
* @property {Document[]} [documents]
|
|
346
361
|
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
@@ -348,9 +363,12 @@ const Joi = require("joi");
|
|
|
348
363
|
* @property {LocationManagerSerializer} [manager]
|
|
349
364
|
* @property {string} name
|
|
350
365
|
* @property {string[]} [notification_emails]
|
|
366
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
|
|
367
|
+
* acceptance timing of the store
|
|
351
368
|
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
352
369
|
* @property {string} [stage]
|
|
353
370
|
* @property {string} [store_type]
|
|
371
|
+
* @property {string[]} [tags]
|
|
354
372
|
* @property {LocationDayWiseSerializer[]} [timing]
|
|
355
373
|
* @property {number} [uid]
|
|
356
374
|
* @property {Object} [warnings]
|
|
@@ -403,6 +421,12 @@ const Joi = require("joi");
|
|
|
403
421
|
* @property {string} number
|
|
404
422
|
*/
|
|
405
423
|
|
|
424
|
+
/**
|
|
425
|
+
* @typedef StoreTagsResponseSchema
|
|
426
|
+
* @property {boolean} [success]
|
|
427
|
+
* @property {string[]} [tags]
|
|
428
|
+
*/
|
|
429
|
+
|
|
406
430
|
/**
|
|
407
431
|
* @typedef UpdateCompany
|
|
408
432
|
* @property {Object} [_custom_json]
|
|
@@ -451,6 +475,14 @@ class CompanyProfilePlatformModel {
|
|
|
451
475
|
});
|
|
452
476
|
}
|
|
453
477
|
|
|
478
|
+
/** @returns {AverageOrderProcessingTime} */
|
|
479
|
+
static AverageOrderProcessingTime() {
|
|
480
|
+
return Joi.object({
|
|
481
|
+
duration: Joi.number(),
|
|
482
|
+
duration_type: Joi.string().allow(""),
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
|
|
454
486
|
/** @returns {BrandBannerSerializer} */
|
|
455
487
|
static BrandBannerSerializer() {
|
|
456
488
|
return Joi.object({
|
|
@@ -752,6 +784,8 @@ class CompanyProfilePlatformModel {
|
|
|
752
784
|
_custom_json: Joi.any(),
|
|
753
785
|
address: CompanyProfilePlatformModel.GetAddressSerializer().required(),
|
|
754
786
|
auto_invoice: Joi.boolean(),
|
|
787
|
+
avg_order_processing_time: CompanyProfilePlatformModel.AverageOrderProcessingTime(),
|
|
788
|
+
bulk_shipment: Joi.boolean(),
|
|
755
789
|
code: Joi.string().allow("").required(),
|
|
756
790
|
company: CompanyProfilePlatformModel.GetCompanySerializer(),
|
|
757
791
|
contact_numbers: Joi.array().items(
|
|
@@ -760,6 +794,7 @@ class CompanyProfilePlatformModel {
|
|
|
760
794
|
created_by: CompanyProfilePlatformModel.UserSerializer(),
|
|
761
795
|
created_on: Joi.string().allow(""),
|
|
762
796
|
credit_note: Joi.boolean(),
|
|
797
|
+
default_order_acceptance_timing: Joi.boolean(),
|
|
763
798
|
display_name: Joi.string().allow("").required(),
|
|
764
799
|
documents: Joi.array().items(CompanyProfilePlatformModel.Document()),
|
|
765
800
|
gst_credentials: CompanyProfilePlatformModel.InvoiceDetailsSerializer(),
|
|
@@ -771,10 +806,14 @@ class CompanyProfilePlatformModel {
|
|
|
771
806
|
modified_on: Joi.string().allow(""),
|
|
772
807
|
name: Joi.string().allow("").required(),
|
|
773
808
|
notification_emails: Joi.array().items(Joi.string().allow("")),
|
|
809
|
+
order_acceptance_timing: Joi.array().items(
|
|
810
|
+
CompanyProfilePlatformModel.LocationDayWiseSerializer()
|
|
811
|
+
),
|
|
774
812
|
phone_number: Joi.string().allow(""),
|
|
775
813
|
product_return_config: CompanyProfilePlatformModel.ProductReturnConfigSerializer(),
|
|
776
814
|
stage: Joi.string().allow(""),
|
|
777
815
|
store_type: Joi.string().allow(""),
|
|
816
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
778
817
|
timing: Joi.array().items(
|
|
779
818
|
CompanyProfilePlatformModel.LocationDayWiseSerializer()
|
|
780
819
|
),
|
|
@@ -854,12 +893,15 @@ class CompanyProfilePlatformModel {
|
|
|
854
893
|
_custom_json: Joi.any(),
|
|
855
894
|
address: CompanyProfilePlatformModel.AddressSerializer().required(),
|
|
856
895
|
auto_invoice: Joi.boolean(),
|
|
896
|
+
avg_order_processing_time: CompanyProfilePlatformModel.AverageOrderProcessingTime(),
|
|
897
|
+
bulk_shipment: Joi.boolean(),
|
|
857
898
|
code: Joi.string().allow("").required(),
|
|
858
899
|
company: Joi.number().required(),
|
|
859
900
|
contact_numbers: Joi.array().items(
|
|
860
901
|
CompanyProfilePlatformModel.SellerPhoneNumber()
|
|
861
902
|
),
|
|
862
903
|
credit_note: Joi.boolean(),
|
|
904
|
+
default_order_acceptance_timing: Joi.boolean(),
|
|
863
905
|
display_name: Joi.string().allow("").required(),
|
|
864
906
|
documents: Joi.array().items(CompanyProfilePlatformModel.Document()),
|
|
865
907
|
gst_credentials: CompanyProfilePlatformModel.InvoiceDetailsSerializer(),
|
|
@@ -869,9 +911,13 @@ class CompanyProfilePlatformModel {
|
|
|
869
911
|
manager: CompanyProfilePlatformModel.LocationManagerSerializer(),
|
|
870
912
|
name: Joi.string().allow("").required(),
|
|
871
913
|
notification_emails: Joi.array().items(Joi.string().allow("")),
|
|
914
|
+
order_acceptance_timing: Joi.array().items(
|
|
915
|
+
CompanyProfilePlatformModel.LocationDayWiseSerializer()
|
|
916
|
+
),
|
|
872
917
|
product_return_config: CompanyProfilePlatformModel.ProductReturnConfigSerializer(),
|
|
873
918
|
stage: Joi.string().allow(""),
|
|
874
919
|
store_type: Joi.string().allow(""),
|
|
920
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
875
921
|
timing: Joi.array().items(
|
|
876
922
|
CompanyProfilePlatformModel.LocationDayWiseSerializer()
|
|
877
923
|
),
|
|
@@ -939,6 +985,14 @@ class CompanyProfilePlatformModel {
|
|
|
939
985
|
});
|
|
940
986
|
}
|
|
941
987
|
|
|
988
|
+
/** @returns {StoreTagsResponseSchema} */
|
|
989
|
+
static StoreTagsResponseSchema() {
|
|
990
|
+
return Joi.object({
|
|
991
|
+
success: Joi.boolean(),
|
|
992
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
|
|
942
996
|
/** @returns {UpdateCompany} */
|
|
943
997
|
static UpdateCompany() {
|
|
944
998
|
return Joi.object({
|
|
@@ -38,6 +38,7 @@ export = CompanyProfilePlatformValidator;
|
|
|
38
38
|
* @typedef GetLocationDetailParam
|
|
39
39
|
* @property {string} locationId - Id of the location which you want to view.
|
|
40
40
|
*/
|
|
41
|
+
/** @typedef GetLocationTagsParam */
|
|
41
42
|
/**
|
|
42
43
|
* @typedef GetLocationsParam
|
|
43
44
|
* @property {string} [storeType] - Helps to sort the location list on the basis
|
|
@@ -81,6 +82,8 @@ declare class CompanyProfilePlatformValidator {
|
|
|
81
82
|
static getCompanyMetrics(): any;
|
|
82
83
|
/** @returns {GetLocationDetailParam} */
|
|
83
84
|
static getLocationDetail(): GetLocationDetailParam;
|
|
85
|
+
/** @returns {GetLocationTagsParam} */
|
|
86
|
+
static getLocationTags(): any;
|
|
84
87
|
/** @returns {GetLocationsParam} */
|
|
85
88
|
static getLocations(): GetLocationsParam;
|
|
86
89
|
/** @returns {UpdateCompanyParam} */
|
|
@@ -89,7 +92,7 @@ declare class CompanyProfilePlatformValidator {
|
|
|
89
92
|
static updateLocation(): UpdateLocationParam;
|
|
90
93
|
}
|
|
91
94
|
declare namespace CompanyProfilePlatformValidator {
|
|
92
|
-
export { CbsOnboardGetParam, CreateBrandParam, CreateCompanyBrandMappingParam, CreateLocationParam, CreateLocationBulkParam, EditBrandParam, GetBrandParam, GetBrandsParam, GetCompanyMetricsParam, GetLocationDetailParam, GetLocationsParam, UpdateCompanyParam, UpdateLocationParam };
|
|
95
|
+
export { CbsOnboardGetParam, CreateBrandParam, CreateCompanyBrandMappingParam, CreateLocationParam, CreateLocationBulkParam, EditBrandParam, GetBrandParam, GetBrandsParam, GetCompanyMetricsParam, GetLocationDetailParam, GetLocationTagsParam, GetLocationsParam, UpdateCompanyParam, UpdateLocationParam };
|
|
93
96
|
}
|
|
94
97
|
type CreateBrandParam = {
|
|
95
98
|
body: CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer;
|
|
@@ -180,4 +183,5 @@ type UpdateLocationParam = {
|
|
|
180
183
|
};
|
|
181
184
|
type CbsOnboardGetParam = any;
|
|
182
185
|
type GetCompanyMetricsParam = any;
|
|
186
|
+
type GetLocationTagsParam = any;
|
|
183
187
|
import CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
|
|
@@ -51,6 +51,8 @@ const CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
|
|
|
51
51
|
* @property {string} locationId - Id of the location which you want to view.
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
+
/** @typedef GetLocationTagsParam */
|
|
55
|
+
|
|
54
56
|
/**
|
|
55
57
|
* @typedef GetLocationsParam
|
|
56
58
|
* @property {string} [storeType] - Helps to sort the location list on the basis
|
|
@@ -146,6 +148,11 @@ class CompanyProfilePlatformValidator {
|
|
|
146
148
|
}).required();
|
|
147
149
|
}
|
|
148
150
|
|
|
151
|
+
/** @returns {GetLocationTagsParam} */
|
|
152
|
+
static getLocationTags() {
|
|
153
|
+
return Joi.object({}).required();
|
|
154
|
+
}
|
|
155
|
+
|
|
149
156
|
/** @returns {GetLocationsParam} */
|
|
150
157
|
static getLocations() {
|
|
151
158
|
return Joi.object({
|