@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- 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/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -1,159 +1,136 @@
|
|
|
1
1
|
export = CompanyProfilePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {string} [
|
|
5
|
-
* @property {
|
|
6
|
-
* @property {
|
|
7
|
-
* @property {string} [city]
|
|
8
|
-
* @property {string} [country]
|
|
9
|
-
* @property {string} country_code
|
|
10
|
-
* @property {string} [landmark]
|
|
11
|
-
* @property {number} latitude
|
|
12
|
-
* @property {number} longitude
|
|
13
|
-
* @property {number} [pincode]
|
|
14
|
-
* @property {string} [sector]
|
|
15
|
-
* @property {string} [state]
|
|
16
|
-
* @property {string} [state_code]
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* @typedef AverageOrderProcessingTime
|
|
20
|
-
* @property {number} [duration]
|
|
21
|
-
* @property {string} [duration_type]
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* @typedef BrandBannerSerializer
|
|
25
|
-
* @property {string} landscape
|
|
26
|
-
* @property {string} portrait
|
|
3
|
+
* @typedef CompanyTaxesSerializer
|
|
4
|
+
* @property {string} [effective_date]
|
|
5
|
+
* @property {number} [rate]
|
|
6
|
+
* @property {boolean} [enable]
|
|
27
7
|
*/
|
|
28
8
|
/**
|
|
29
|
-
* @typedef
|
|
30
|
-
* @property {
|
|
9
|
+
* @typedef UserSerializer
|
|
10
|
+
* @property {string} [user_id]
|
|
11
|
+
* @property {string} [contact]
|
|
12
|
+
* @property {string} [username]
|
|
31
13
|
*/
|
|
32
14
|
/**
|
|
33
|
-
* @typedef
|
|
34
|
-
* @property {string}
|
|
35
|
-
* @property {string} country_code
|
|
36
|
-
* @property {CountryCurrencyInfo} currency
|
|
37
|
-
* @property {string} timezone
|
|
15
|
+
* @typedef Website
|
|
16
|
+
* @property {string} [url]
|
|
38
17
|
*/
|
|
39
18
|
/**
|
|
40
19
|
* @typedef BusinessDetails
|
|
41
20
|
* @property {Website} [website]
|
|
42
21
|
*/
|
|
43
22
|
/**
|
|
44
|
-
* @typedef
|
|
45
|
-
* @property {
|
|
46
|
-
* @property {
|
|
23
|
+
* @typedef SellerPhoneNumber
|
|
24
|
+
* @property {number} country_code
|
|
25
|
+
* @property {string} number
|
|
47
26
|
*/
|
|
48
27
|
/**
|
|
49
|
-
* @typedef
|
|
50
|
-
* @property {
|
|
51
|
-
* @property {
|
|
52
|
-
* @property {number} [uid]
|
|
28
|
+
* @typedef ContactDetails
|
|
29
|
+
* @property {string[]} [emails]
|
|
30
|
+
* @property {SellerPhoneNumber[]} [phone]
|
|
53
31
|
*/
|
|
54
32
|
/**
|
|
55
|
-
* @typedef
|
|
56
|
-
* @property {
|
|
57
|
-
* @property {
|
|
58
|
-
* @property {UserSerializer} [created_by]
|
|
59
|
-
* @property {string} [created_on]
|
|
60
|
-
* @property {UserSerializer} [modified_by]
|
|
61
|
-
* @property {string} [modified_on]
|
|
62
|
-
* @property {string} [reject_reason]
|
|
63
|
-
* @property {string} [stage]
|
|
64
|
-
* @property {number} [uid]
|
|
65
|
-
* @property {UserSerializer} [verified_by]
|
|
66
|
-
* @property {string} [verified_on]
|
|
67
|
-
* @property {Object} [warnings]
|
|
33
|
+
* @typedef BusinessCountryInfo
|
|
34
|
+
* @property {string} [country_code]
|
|
35
|
+
* @property {string} [country]
|
|
68
36
|
*/
|
|
69
37
|
/**
|
|
70
|
-
* @typedef
|
|
71
|
-
* @property {
|
|
72
|
-
* @property {string} [
|
|
38
|
+
* @typedef Document
|
|
39
|
+
* @property {string} value
|
|
40
|
+
* @property {string} [legal_name]
|
|
41
|
+
* @property {boolean} [verified]
|
|
42
|
+
* @property {string} type
|
|
43
|
+
* @property {string} [url]
|
|
73
44
|
*/
|
|
74
45
|
/**
|
|
75
|
-
* @typedef
|
|
46
|
+
* @typedef GetAddressSerializer
|
|
47
|
+
* @property {string} [landmark]
|
|
48
|
+
* @property {string} [country_code]
|
|
49
|
+
* @property {number} [pincode]
|
|
50
|
+
* @property {string} [address_type]
|
|
51
|
+
* @property {number} longitude
|
|
52
|
+
* @property {string} [country]
|
|
53
|
+
* @property {string} [address2]
|
|
54
|
+
* @property {string} [state]
|
|
55
|
+
* @property {string} [address1]
|
|
56
|
+
* @property {string} [city]
|
|
57
|
+
* @property {number} latitude
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* @typedef GetCompanyProfileSerializerResponse
|
|
61
|
+
* @property {string} [business_info]
|
|
62
|
+
* @property {CompanyTaxesSerializer[]} [taxes]
|
|
63
|
+
* @property {string} [business_type]
|
|
64
|
+
* @property {string} [name]
|
|
76
65
|
* @property {Object} [_custom_json]
|
|
77
|
-
* @property {
|
|
78
|
-
* @property {BusinessCountryInfo} [business_country_info]
|
|
79
|
-
* @property {string} business_type
|
|
80
|
-
* @property {string} company_type
|
|
66
|
+
* @property {string} [verified_on]
|
|
81
67
|
* @property {UserSerializer} [created_by]
|
|
82
68
|
* @property {string} [created_on]
|
|
83
|
-
* @property {
|
|
84
|
-
* @property {
|
|
85
|
-
* @property {
|
|
69
|
+
* @property {Object} [warnings]
|
|
70
|
+
* @property {BusinessDetails} [business_details]
|
|
71
|
+
* @property {string} [mode]
|
|
72
|
+
* @property {ContactDetails} [contact_details]
|
|
73
|
+
* @property {BusinessCountryInfo} [business_country_info]
|
|
86
74
|
* @property {string} [modified_on]
|
|
87
|
-
* @property {
|
|
88
|
-
* @property {
|
|
89
|
-
* @property {string} [reject_reason]
|
|
75
|
+
* @property {number} uid
|
|
76
|
+
* @property {boolean} [franchise_enabled]
|
|
90
77
|
* @property {string} [stage]
|
|
91
|
-
* @property {
|
|
78
|
+
* @property {string} company_type
|
|
79
|
+
* @property {Document[]} [documents]
|
|
80
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
92
81
|
* @property {UserSerializer} [verified_by]
|
|
93
|
-
* @property {string} [
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @typedef CompanySocialAccounts
|
|
97
|
-
* @property {string} name
|
|
98
|
-
* @property {string} url
|
|
82
|
+
* @property {string[]} [notification_emails]
|
|
83
|
+
* @property {UserSerializer} [modified_by]
|
|
99
84
|
*/
|
|
100
85
|
/**
|
|
101
|
-
* @typedef
|
|
102
|
-
* @property {string} [
|
|
103
|
-
* @property {
|
|
104
|
-
* @property {number} [
|
|
86
|
+
* @typedef ErrorResponse
|
|
87
|
+
* @property {string} [message]
|
|
88
|
+
* @property {string} [code]
|
|
89
|
+
* @property {number} [status]
|
|
90
|
+
* @property {Object} [meta]
|
|
105
91
|
*/
|
|
106
92
|
/**
|
|
107
93
|
* @typedef CompanyTaxesSerializer1
|
|
108
94
|
* @property {string} [effective_date]
|
|
109
|
-
* @property {boolean} [enable]
|
|
110
95
|
* @property {number} [rate]
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @typedef ContactDetails
|
|
114
|
-
* @property {string[]} [emails]
|
|
115
|
-
* @property {SellerPhoneNumber[]} [phone]
|
|
116
|
-
*/
|
|
117
|
-
/**
|
|
118
|
-
* @typedef CountryCurrencyInfo
|
|
119
|
-
* @property {string} code
|
|
120
|
-
* @property {string} name
|
|
121
|
-
* @property {string} symbol
|
|
96
|
+
* @property {boolean} [enable]
|
|
122
97
|
*/
|
|
123
98
|
/**
|
|
124
99
|
* @typedef CreateUpdateAddressSerializer
|
|
100
|
+
* @property {string} [landmark]
|
|
101
|
+
* @property {string} [country_code]
|
|
102
|
+
* @property {number} pincode
|
|
125
103
|
* @property {string} address_type
|
|
126
|
-
* @property {
|
|
104
|
+
* @property {number} longitude
|
|
105
|
+
* @property {string} country
|
|
127
106
|
* @property {string} [address2]
|
|
107
|
+
* @property {string} state
|
|
108
|
+
* @property {string} address1
|
|
128
109
|
* @property {string} city
|
|
129
|
-
* @property {string} country
|
|
130
|
-
* @property {string} [country_code]
|
|
131
|
-
* @property {string} [landmark]
|
|
132
110
|
* @property {number} latitude
|
|
133
|
-
* @property {number} longitude
|
|
134
|
-
* @property {number} pincode
|
|
135
|
-
* @property {string} state
|
|
136
111
|
*/
|
|
137
112
|
/**
|
|
138
|
-
* @typedef
|
|
113
|
+
* @typedef UpdateCompany
|
|
114
|
+
* @property {boolean} [franchise_enabled]
|
|
115
|
+
* @property {string} [business_info]
|
|
116
|
+
* @property {Object} [warnings]
|
|
117
|
+
* @property {string} [company_type]
|
|
139
118
|
* @property {Object} [_custom_json]
|
|
140
|
-
* @property {
|
|
141
|
-
* @property {
|
|
142
|
-
* @property {
|
|
143
|
-
* @property {
|
|
144
|
-
* @property {
|
|
145
|
-
* @property {string}
|
|
146
|
-
* @property {
|
|
147
|
-
* @property {string
|
|
148
|
-
* @property {
|
|
119
|
+
* @property {CompanyTaxesSerializer1[]} [taxes]
|
|
120
|
+
* @property {BusinessDetails} [business_details]
|
|
121
|
+
* @property {Document[]} [documents]
|
|
122
|
+
* @property {string} [business_type]
|
|
123
|
+
* @property {CreateUpdateAddressSerializer[]} [addresses]
|
|
124
|
+
* @property {string[]} [notification_emails]
|
|
125
|
+
* @property {ContactDetails} [contact_details]
|
|
126
|
+
* @property {string} [reject_reason]
|
|
127
|
+
* @property {string} [name]
|
|
149
128
|
*/
|
|
150
129
|
/**
|
|
151
|
-
* @typedef
|
|
152
|
-
* @property {
|
|
153
|
-
* @property {string}
|
|
154
|
-
* @property {
|
|
155
|
-
* @property {string} value
|
|
156
|
-
* @property {boolean} [verified]
|
|
130
|
+
* @typedef ProfileSuccessResponse
|
|
131
|
+
* @property {number} [uid]
|
|
132
|
+
* @property {string} [message]
|
|
133
|
+
* @property {boolean} [success]
|
|
157
134
|
*/
|
|
158
135
|
/**
|
|
159
136
|
* @typedef DocumentsObj
|
|
@@ -161,144 +138,127 @@ export = CompanyProfilePlatformModel;
|
|
|
161
138
|
* @property {number} [verified]
|
|
162
139
|
*/
|
|
163
140
|
/**
|
|
164
|
-
* @typedef
|
|
165
|
-
* @property {string} [
|
|
166
|
-
* @property {
|
|
167
|
-
* @property {
|
|
168
|
-
* @property {
|
|
141
|
+
* @typedef MetricsSerializer
|
|
142
|
+
* @property {string} [stage]
|
|
143
|
+
* @property {DocumentsObj} [store]
|
|
144
|
+
* @property {DocumentsObj} [company_documents]
|
|
145
|
+
* @property {DocumentsObj} [store_documents]
|
|
146
|
+
* @property {DocumentsObj} [product]
|
|
147
|
+
* @property {number} [uid]
|
|
148
|
+
* @property {DocumentsObj} [brand]
|
|
169
149
|
*/
|
|
170
150
|
/**
|
|
171
|
-
* @typedef
|
|
172
|
-
* @property {string}
|
|
173
|
-
* @property {string}
|
|
174
|
-
* @property {string} [address2]
|
|
175
|
-
* @property {string} [city]
|
|
176
|
-
* @property {string} [country]
|
|
177
|
-
* @property {string} [country_code]
|
|
178
|
-
* @property {string} [landmark]
|
|
179
|
-
* @property {number} latitude
|
|
180
|
-
* @property {number} longitude
|
|
181
|
-
* @property {number} [pincode]
|
|
182
|
-
* @property {string} [sector]
|
|
183
|
-
* @property {string} [state]
|
|
184
|
-
* @property {string} [state_code]
|
|
151
|
+
* @typedef BrandBannerSerializer
|
|
152
|
+
* @property {string} portrait
|
|
153
|
+
* @property {string} landscape
|
|
185
154
|
*/
|
|
186
155
|
/**
|
|
187
156
|
* @typedef GetBrandResponseSerializer
|
|
188
|
-
* @property {
|
|
189
|
-
* @property {Object} [_locale_language]
|
|
157
|
+
* @property {UserSerializer} [modified_by]
|
|
190
158
|
* @property {BrandBannerSerializer} [banner]
|
|
159
|
+
* @property {string} name
|
|
160
|
+
* @property {Object} [_custom_json]
|
|
161
|
+
* @property {string} [verified_on]
|
|
191
162
|
* @property {UserSerializer} [created_by]
|
|
192
163
|
* @property {string} [created_on]
|
|
193
|
-
* @property {
|
|
194
|
-
* @property {
|
|
164
|
+
* @property {Object} [warnings]
|
|
165
|
+
* @property {Object} [_locale_language]
|
|
195
166
|
* @property {string} [mode]
|
|
196
|
-
* @property {
|
|
167
|
+
* @property {string[]} [synonyms]
|
|
197
168
|
* @property {string} [modified_on]
|
|
198
|
-
* @property {
|
|
169
|
+
* @property {number} [uid]
|
|
199
170
|
* @property {string} [reject_reason]
|
|
200
|
-
* @property {string} [slug_key]
|
|
201
171
|
* @property {string} [stage]
|
|
202
|
-
* @property {string[]} [synonyms]
|
|
203
|
-
* @property {number} [uid]
|
|
204
172
|
* @property {UserSerializer} [verified_by]
|
|
205
|
-
* @property {string} [
|
|
206
|
-
* @property {
|
|
173
|
+
* @property {string} [slug_key]
|
|
174
|
+
* @property {string} [logo]
|
|
175
|
+
* @property {string} [description]
|
|
207
176
|
*/
|
|
208
177
|
/**
|
|
209
|
-
* @typedef
|
|
178
|
+
* @typedef CreateUpdateBrandRequestSerializer
|
|
210
179
|
* @property {Object} [_custom_json]
|
|
211
|
-
* @property {
|
|
212
|
-
* @property {
|
|
213
|
-
* @property {
|
|
214
|
-
* @property {string} [
|
|
215
|
-
* @property {string}
|
|
216
|
-
* @property {string}
|
|
217
|
-
* @property {
|
|
218
|
-
* @property {
|
|
219
|
-
* @property {string}
|
|
220
|
-
* @property {Document[]} [documents]
|
|
221
|
-
* @property {boolean} [franchise_enabled]
|
|
222
|
-
* @property {string} [mode]
|
|
223
|
-
* @property {UserSerializer} [modified_by]
|
|
224
|
-
* @property {string} [modified_on]
|
|
225
|
-
* @property {string} [name]
|
|
226
|
-
* @property {string[]} [notification_emails]
|
|
227
|
-
* @property {string} [stage]
|
|
228
|
-
* @property {CompanyTaxesSerializer[]} [taxes]
|
|
229
|
-
* @property {number} uid
|
|
230
|
-
* @property {UserSerializer} [verified_by]
|
|
231
|
-
* @property {string} [verified_on]
|
|
232
|
-
* @property {Object} [warnings]
|
|
180
|
+
* @property {Object} [_locale_language]
|
|
181
|
+
* @property {string[]} [synonyms]
|
|
182
|
+
* @property {number} [company_id]
|
|
183
|
+
* @property {string} [description]
|
|
184
|
+
* @property {string} logo
|
|
185
|
+
* @property {string} [brand_tier]
|
|
186
|
+
* @property {number} [uid]
|
|
187
|
+
* @property {BrandBannerSerializer} banner
|
|
188
|
+
* @property {string} name
|
|
233
189
|
*/
|
|
234
190
|
/**
|
|
235
|
-
* @typedef
|
|
236
|
-
* @property {
|
|
237
|
-
* @property {string}
|
|
238
|
-
* @property {string} [company_type]
|
|
239
|
-
* @property {UserSerializer} [created_by]
|
|
240
|
-
* @property {string} [created_on]
|
|
241
|
-
* @property {UserSerializer} [modified_by]
|
|
242
|
-
* @property {string} [modified_on]
|
|
243
|
-
* @property {string} [name]
|
|
244
|
-
* @property {string} [reject_reason]
|
|
245
|
-
* @property {string} [stage]
|
|
246
|
-
* @property {number} [uid]
|
|
247
|
-
* @property {UserSerializer} [verified_by]
|
|
248
|
-
* @property {string} [verified_on]
|
|
191
|
+
* @typedef CompanySocialAccounts
|
|
192
|
+
* @property {string} name
|
|
193
|
+
* @property {string} url
|
|
249
194
|
*/
|
|
250
195
|
/**
|
|
251
|
-
* @typedef
|
|
196
|
+
* @typedef CompanyDetails
|
|
197
|
+
* @property {CompanySocialAccounts[]} [socials]
|
|
198
|
+
* @property {string} [website_url]
|
|
199
|
+
*/
|
|
200
|
+
/**
|
|
201
|
+
* @typedef CompanySerializer
|
|
202
|
+
* @property {string} [stage]
|
|
252
203
|
* @property {Object} [_custom_json]
|
|
253
|
-
* @property {
|
|
254
|
-
* @property {
|
|
255
|
-
* @property {boolean} [auto_invoice]
|
|
256
|
-
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
257
|
-
* @property {boolean} [bulk_shipment]
|
|
258
|
-
* @property {string} code
|
|
259
|
-
* @property {GetCompanySerializer} [company]
|
|
260
|
-
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
261
|
-
* @property {UserSerializer} [created_by]
|
|
204
|
+
* @property {string} [verified_on]
|
|
205
|
+
* @property {UserSerializer} [verified_by]
|
|
262
206
|
* @property {string} [created_on]
|
|
263
|
-
* @property {
|
|
264
|
-
* @property {
|
|
265
|
-
* @property {string} display_name
|
|
266
|
-
* @property {Document[]} [documents]
|
|
267
|
-
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
268
|
-
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
269
|
-
* @property {LocationManagerSerializer} [manager]
|
|
270
|
-
* @property {UserSerializer} [modified_by]
|
|
207
|
+
* @property {UserSerializer} [created_by]
|
|
208
|
+
* @property {string} company_type
|
|
271
209
|
* @property {string} [modified_on]
|
|
272
|
-
* @property {string}
|
|
210
|
+
* @property {string[]} [market_channels]
|
|
211
|
+
* @property {string} business_type
|
|
212
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
273
213
|
* @property {string[]} [notification_emails]
|
|
274
|
-
* @property {
|
|
275
|
-
* @property {
|
|
276
|
-
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
277
|
-
* @property {string} [stage]
|
|
278
|
-
* @property {string} [store_type]
|
|
279
|
-
* @property {string[]} [tags]
|
|
280
|
-
* @property {LocationDayWiseSerializer[]} [timing]
|
|
214
|
+
* @property {CompanyDetails} [details]
|
|
215
|
+
* @property {BusinessCountryInfo} [business_country_info]
|
|
281
216
|
* @property {number} [uid]
|
|
282
|
-
* @property {
|
|
217
|
+
* @property {string} [reject_reason]
|
|
218
|
+
* @property {string} [name]
|
|
219
|
+
* @property {UserSerializer} [modified_by]
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* @typedef CompanyBrandSerializer
|
|
223
|
+
* @property {string} [stage]
|
|
283
224
|
* @property {string} [verified_on]
|
|
225
|
+
* @property {UserSerializer} [verified_by]
|
|
226
|
+
* @property {string} [created_on]
|
|
227
|
+
* @property {UserSerializer} [created_by]
|
|
228
|
+
* @property {CompanySerializer} [company]
|
|
284
229
|
* @property {Object} [warnings]
|
|
230
|
+
* @property {string} [modified_on]
|
|
231
|
+
* @property {number} [uid]
|
|
232
|
+
* @property {string} [reject_reason]
|
|
233
|
+
* @property {GetBrandResponseSerializer} [brand]
|
|
234
|
+
* @property {UserSerializer} [modified_by]
|
|
285
235
|
*/
|
|
286
236
|
/**
|
|
287
|
-
* @typedef
|
|
288
|
-
* @property {
|
|
289
|
-
* @property {string}
|
|
237
|
+
* @typedef Page
|
|
238
|
+
* @property {number} [item_total]
|
|
239
|
+
* @property {string} [next_id]
|
|
240
|
+
* @property {boolean} [has_previous]
|
|
241
|
+
* @property {boolean} [has_next]
|
|
242
|
+
* @property {number} [current]
|
|
243
|
+
* @property {string} type
|
|
244
|
+
* @property {number} [size]
|
|
290
245
|
*/
|
|
291
246
|
/**
|
|
292
|
-
* @typedef
|
|
293
|
-
* @property {
|
|
294
|
-
* @property {
|
|
295
|
-
|
|
247
|
+
* @typedef CompanyBrandListSerializer
|
|
248
|
+
* @property {CompanyBrandSerializer[]} [items]
|
|
249
|
+
* @property {Page} [page]
|
|
250
|
+
*/
|
|
251
|
+
/**
|
|
252
|
+
* @typedef CompanyBrandPostRequestSerializer
|
|
253
|
+
* @property {number} [uid]
|
|
254
|
+
* @property {number[]} brands
|
|
255
|
+
* @property {number} company
|
|
296
256
|
*/
|
|
297
257
|
/**
|
|
298
258
|
* @typedef InvoiceCredSerializer
|
|
259
|
+
* @property {string} [username]
|
|
299
260
|
* @property {boolean} [enabled]
|
|
300
261
|
* @property {string} [password]
|
|
301
|
-
* @property {string} [username]
|
|
302
262
|
*/
|
|
303
263
|
/**
|
|
304
264
|
* @typedef InvoiceDetailsSerializer
|
|
@@ -306,16 +266,20 @@ export = CompanyProfilePlatformModel;
|
|
|
306
266
|
* @property {InvoiceCredSerializer} [e_waybill]
|
|
307
267
|
*/
|
|
308
268
|
/**
|
|
309
|
-
* @typedef
|
|
310
|
-
* @property {
|
|
311
|
-
* @property {
|
|
312
|
-
* @property {
|
|
313
|
-
* @property {string}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
* @
|
|
317
|
-
* @property {
|
|
318
|
-
* @property {
|
|
269
|
+
* @typedef GetCompanySerializer
|
|
270
|
+
* @property {string} [stage]
|
|
271
|
+
* @property {string} [verified_on]
|
|
272
|
+
* @property {UserSerializer} [verified_by]
|
|
273
|
+
* @property {string} [created_on]
|
|
274
|
+
* @property {UserSerializer} [created_by]
|
|
275
|
+
* @property {string} [company_type]
|
|
276
|
+
* @property {string} [modified_on]
|
|
277
|
+
* @property {string} [business_type]
|
|
278
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
279
|
+
* @property {number} [uid]
|
|
280
|
+
* @property {string} [reject_reason]
|
|
281
|
+
* @property {string} [name]
|
|
282
|
+
* @property {UserSerializer} [modified_by]
|
|
319
283
|
*/
|
|
320
284
|
/**
|
|
321
285
|
* @typedef LocationManagerSerializer
|
|
@@ -323,61 +287,28 @@ export = CompanyProfilePlatformModel;
|
|
|
323
287
|
* @property {SellerPhoneNumber} mobile_no
|
|
324
288
|
* @property {string} [name]
|
|
325
289
|
*/
|
|
326
|
-
/**
|
|
327
|
-
* @typedef LocationSerializer
|
|
328
|
-
* @property {Object} [_custom_json]
|
|
329
|
-
* @property {AddressSerializer} address
|
|
330
|
-
* @property {boolean} [auto_assign_courier_partner]
|
|
331
|
-
* @property {boolean} [auto_invoice]
|
|
332
|
-
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
333
|
-
* @property {boolean} [bulk_shipment]
|
|
334
|
-
* @property {string} code
|
|
335
|
-
* @property {number} company
|
|
336
|
-
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
337
|
-
* @property {boolean} [credit_note]
|
|
338
|
-
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
339
|
-
* order_acceptance_timing as default timing
|
|
340
|
-
* @property {string} display_name
|
|
341
|
-
* @property {Document[]} documents
|
|
342
|
-
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
343
|
-
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
344
|
-
* @property {LocationManagerSerializer} [manager]
|
|
345
|
-
* @property {string} name
|
|
346
|
-
* @property {string[]} [notification_emails]
|
|
347
|
-
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
|
|
348
|
-
* acceptance timing of the store
|
|
349
|
-
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
350
|
-
* @property {string} [stage]
|
|
351
|
-
* @property {string} [store_type]
|
|
352
|
-
* @property {string[]} [tags]
|
|
353
|
-
* @property {LocationDayWiseSerializer[]} [timing]
|
|
354
|
-
* @property {number} [uid]
|
|
355
|
-
* @property {Object} [warnings]
|
|
356
|
-
*/
|
|
357
290
|
/**
|
|
358
291
|
* @typedef LocationTimingSerializer
|
|
359
292
|
* @property {number} hour
|
|
360
293
|
* @property {number} minute
|
|
361
294
|
*/
|
|
362
295
|
/**
|
|
363
|
-
* @typedef
|
|
364
|
-
* @property {
|
|
365
|
-
* @property {
|
|
366
|
-
* @property {
|
|
367
|
-
* @property {
|
|
368
|
-
* @property {DocumentsObj} [store]
|
|
369
|
-
* @property {DocumentsObj} [store_documents]
|
|
370
|
-
* @property {number} [uid]
|
|
296
|
+
* @typedef LocationDayWiseSerializer
|
|
297
|
+
* @property {boolean} open
|
|
298
|
+
* @property {string} weekday
|
|
299
|
+
* @property {LocationTimingSerializer} [opening]
|
|
300
|
+
* @property {LocationTimingSerializer} [closing]
|
|
371
301
|
*/
|
|
372
302
|
/**
|
|
373
|
-
* @typedef
|
|
374
|
-
* @property {
|
|
375
|
-
* @property {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
* @
|
|
379
|
-
* @property {
|
|
380
|
-
* @property {string}
|
|
303
|
+
* @typedef HolidayDateSerializer
|
|
304
|
+
* @property {string} end_date
|
|
305
|
+
* @property {string} start_date
|
|
306
|
+
*/
|
|
307
|
+
/**
|
|
308
|
+
* @typedef HolidaySchemaSerializer
|
|
309
|
+
* @property {HolidayDateSerializer} date
|
|
310
|
+
* @property {string} title
|
|
311
|
+
* @property {string} holiday_type
|
|
381
312
|
*/
|
|
382
313
|
/**
|
|
383
314
|
* @typedef ProductReturnConfigSerializer
|
|
@@ -385,227 +316,255 @@ export = CompanyProfilePlatformModel;
|
|
|
385
316
|
* @property {number} [store_uid]
|
|
386
317
|
*/
|
|
387
318
|
/**
|
|
388
|
-
* @typedef
|
|
389
|
-
* @property {string}
|
|
390
|
-
* @property {
|
|
319
|
+
* @typedef GetLocationSerializer
|
|
320
|
+
* @property {string} code
|
|
321
|
+
* @property {string} [phone_number]
|
|
322
|
+
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
323
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
324
|
+
* @property {string} name
|
|
325
|
+
* @property {Object} [_custom_json]
|
|
326
|
+
* @property {string} [verified_on]
|
|
327
|
+
* @property {UserSerializer} [created_by]
|
|
328
|
+
* @property {string} [created_on]
|
|
329
|
+
* @property {GetCompanySerializer} [company]
|
|
330
|
+
* @property {GetAddressSerializer} address
|
|
331
|
+
* @property {Object} [warnings]
|
|
332
|
+
* @property {string} [store_type]
|
|
333
|
+
* @property {LocationManagerSerializer} [manager]
|
|
334
|
+
* @property {boolean} [auto_invoice]
|
|
335
|
+
* @property {string} [modified_on]
|
|
391
336
|
* @property {number} [uid]
|
|
337
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
338
|
+
* @property {string} [stage]
|
|
339
|
+
* @property {Document[]} [documents]
|
|
340
|
+
* @property {boolean} [credit_note]
|
|
341
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
342
|
+
* @property {string} display_name
|
|
343
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
344
|
+
* @property {UserSerializer} [verified_by]
|
|
345
|
+
* @property {string[]} [notification_emails]
|
|
346
|
+
* @property {UserSerializer} [modified_by]
|
|
347
|
+
* @property {string[]} [tags]
|
|
348
|
+
* @property {boolean} [default_order_acceptance_timing]
|
|
349
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
|
|
350
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
351
|
+
* @property {boolean} [bulk_shipment]
|
|
392
352
|
*/
|
|
393
353
|
/**
|
|
394
|
-
* @typedef
|
|
395
|
-
* @property {
|
|
396
|
-
* @property {
|
|
397
|
-
*/
|
|
398
|
-
/**
|
|
399
|
-
* @typedef StoreTagsResponseSchema
|
|
400
|
-
* @property {boolean} [success]
|
|
401
|
-
* @property {string[]} [tags]
|
|
354
|
+
* @typedef LocationListSerializer
|
|
355
|
+
* @property {GetLocationSerializer[]} [items]
|
|
356
|
+
* @property {Page} [page]
|
|
402
357
|
*/
|
|
403
358
|
/**
|
|
404
|
-
* @typedef
|
|
405
|
-
* @property {
|
|
406
|
-
* @property {
|
|
407
|
-
* @property {
|
|
408
|
-
* @property {string} [
|
|
409
|
-
* @property {
|
|
410
|
-
* @property {string} [
|
|
411
|
-
* @property {
|
|
359
|
+
* @typedef AddressSerializer
|
|
360
|
+
* @property {string} [landmark]
|
|
361
|
+
* @property {string} [country_code]
|
|
362
|
+
* @property {number} [pincode]
|
|
363
|
+
* @property {string} [address_type]
|
|
364
|
+
* @property {number} longitude
|
|
365
|
+
* @property {string} [country]
|
|
366
|
+
* @property {string} [address2]
|
|
367
|
+
* @property {string} [state]
|
|
368
|
+
* @property {string} [address1]
|
|
369
|
+
* @property {string} [city]
|
|
370
|
+
* @property {number} latitude
|
|
371
|
+
*/
|
|
372
|
+
/**
|
|
373
|
+
* @typedef LocationSerializer
|
|
374
|
+
* @property {string} code
|
|
375
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
376
|
+
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
377
|
+
* @property {string} name
|
|
378
|
+
* @property {Object} [_custom_json]
|
|
379
|
+
* @property {Object} [warnings]
|
|
380
|
+
* @property {AddressSerializer} address
|
|
381
|
+
* @property {number} company
|
|
382
|
+
* @property {string} [store_type]
|
|
383
|
+
* @property {LocationManagerSerializer} [manager]
|
|
384
|
+
* @property {boolean} [auto_invoice]
|
|
385
|
+
* @property {number} [uid]
|
|
386
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
387
|
+
* @property {string} [stage]
|
|
412
388
|
* @property {Document[]} [documents]
|
|
413
|
-
* @property {boolean} [
|
|
414
|
-
* @property {
|
|
389
|
+
* @property {boolean} [credit_note]
|
|
390
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
391
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
392
|
+
* @property {string} display_name
|
|
415
393
|
* @property {string[]} [notification_emails]
|
|
416
|
-
* @property {string} [
|
|
417
|
-
* @property {
|
|
418
|
-
*
|
|
394
|
+
* @property {string[]} [tags]
|
|
395
|
+
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
396
|
+
* order_acceptance_timing as default timing
|
|
397
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
|
|
398
|
+
* acceptance timing of the store
|
|
399
|
+
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
400
|
+
* @property {boolean} [bulk_shipment]
|
|
419
401
|
*/
|
|
420
402
|
/**
|
|
421
|
-
* @typedef
|
|
422
|
-
* @property {
|
|
423
|
-
* @property {string} [user_id]
|
|
424
|
-
* @property {string} [username]
|
|
403
|
+
* @typedef BulkLocationSerializer
|
|
404
|
+
* @property {LocationSerializer[]} [data]
|
|
425
405
|
*/
|
|
426
406
|
/**
|
|
427
|
-
* @typedef
|
|
428
|
-
* @property {
|
|
407
|
+
* @typedef AverageOrderProcessingTime
|
|
408
|
+
* @property {number} [duration]
|
|
409
|
+
* @property {string} [duration_type]
|
|
410
|
+
*/
|
|
411
|
+
/**
|
|
412
|
+
* @typedef StoreTagsResponseSchema
|
|
413
|
+
* @property {string[]} [tags]
|
|
414
|
+
* @property {boolean} [success]
|
|
429
415
|
*/
|
|
430
416
|
declare class CompanyProfilePlatformModel {
|
|
431
417
|
}
|
|
432
418
|
declare namespace CompanyProfilePlatformModel {
|
|
433
|
-
export {
|
|
419
|
+
export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, BusinessCountryInfo, Document, GetAddressSerializer, GetCompanyProfileSerializerResponse, ErrorResponse, CompanyTaxesSerializer1, CreateUpdateAddressSerializer, UpdateCompany, ProfileSuccessResponse, DocumentsObj, MetricsSerializer, BrandBannerSerializer, GetBrandResponseSerializer, CreateUpdateBrandRequestSerializer, CompanySocialAccounts, CompanyDetails, CompanySerializer, CompanyBrandSerializer, Page, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, GetCompanySerializer, LocationManagerSerializer, LocationTimingSerializer, LocationDayWiseSerializer, HolidayDateSerializer, HolidaySchemaSerializer, ProductReturnConfigSerializer, GetLocationSerializer, LocationListSerializer, AddressSerializer, LocationSerializer, BulkLocationSerializer, AverageOrderProcessingTime, StoreTagsResponseSchema };
|
|
434
420
|
}
|
|
435
|
-
/** @returns {
|
|
436
|
-
declare function
|
|
437
|
-
type
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
city?: string;
|
|
442
|
-
country?: string;
|
|
443
|
-
country_code: string;
|
|
444
|
-
landmark?: string;
|
|
445
|
-
latitude: number;
|
|
446
|
-
longitude: number;
|
|
447
|
-
pincode?: number;
|
|
448
|
-
sector?: string;
|
|
449
|
-
state?: string;
|
|
450
|
-
state_code?: string;
|
|
451
|
-
};
|
|
452
|
-
/** @returns {AverageOrderProcessingTime} */
|
|
453
|
-
declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
|
|
454
|
-
type AverageOrderProcessingTime = {
|
|
455
|
-
duration?: number;
|
|
456
|
-
duration_type?: string;
|
|
457
|
-
};
|
|
458
|
-
/** @returns {BrandBannerSerializer} */
|
|
459
|
-
declare function BrandBannerSerializer(): BrandBannerSerializer;
|
|
460
|
-
type BrandBannerSerializer = {
|
|
461
|
-
landscape: string;
|
|
462
|
-
portrait: string;
|
|
421
|
+
/** @returns {CompanyTaxesSerializer} */
|
|
422
|
+
declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
|
|
423
|
+
type CompanyTaxesSerializer = {
|
|
424
|
+
effective_date?: string;
|
|
425
|
+
rate?: number;
|
|
426
|
+
enable?: boolean;
|
|
463
427
|
};
|
|
464
|
-
/** @returns {
|
|
465
|
-
declare function
|
|
466
|
-
type
|
|
467
|
-
|
|
428
|
+
/** @returns {UserSerializer} */
|
|
429
|
+
declare function UserSerializer(): UserSerializer;
|
|
430
|
+
type UserSerializer = {
|
|
431
|
+
user_id?: string;
|
|
432
|
+
contact?: string;
|
|
433
|
+
username?: string;
|
|
468
434
|
};
|
|
469
|
-
/** @returns {
|
|
470
|
-
declare function
|
|
471
|
-
type
|
|
472
|
-
|
|
473
|
-
country_code: string;
|
|
474
|
-
currency: CountryCurrencyInfo;
|
|
475
|
-
timezone: string;
|
|
435
|
+
/** @returns {Website} */
|
|
436
|
+
declare function Website(): Website;
|
|
437
|
+
type Website = {
|
|
438
|
+
url?: string;
|
|
476
439
|
};
|
|
477
440
|
/** @returns {BusinessDetails} */
|
|
478
441
|
declare function BusinessDetails(): BusinessDetails;
|
|
479
442
|
type BusinessDetails = {
|
|
480
443
|
website?: Website;
|
|
481
444
|
};
|
|
482
|
-
/** @returns {
|
|
483
|
-
declare function
|
|
484
|
-
type
|
|
485
|
-
|
|
486
|
-
|
|
445
|
+
/** @returns {SellerPhoneNumber} */
|
|
446
|
+
declare function SellerPhoneNumber(): SellerPhoneNumber;
|
|
447
|
+
type SellerPhoneNumber = {
|
|
448
|
+
country_code: number;
|
|
449
|
+
number: string;
|
|
487
450
|
};
|
|
488
|
-
/** @returns {
|
|
489
|
-
declare function
|
|
490
|
-
type
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
uid?: number;
|
|
451
|
+
/** @returns {ContactDetails} */
|
|
452
|
+
declare function ContactDetails(): ContactDetails;
|
|
453
|
+
type ContactDetails = {
|
|
454
|
+
emails?: string[];
|
|
455
|
+
phone?: SellerPhoneNumber[];
|
|
494
456
|
};
|
|
495
|
-
/** @returns {
|
|
496
|
-
declare function
|
|
497
|
-
type
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
created_by?: UserSerializer;
|
|
501
|
-
created_on?: string;
|
|
502
|
-
modified_by?: UserSerializer;
|
|
503
|
-
modified_on?: string;
|
|
504
|
-
reject_reason?: string;
|
|
505
|
-
stage?: string;
|
|
506
|
-
uid?: number;
|
|
507
|
-
verified_by?: UserSerializer;
|
|
508
|
-
verified_on?: string;
|
|
509
|
-
warnings?: any;
|
|
457
|
+
/** @returns {BusinessCountryInfo} */
|
|
458
|
+
declare function BusinessCountryInfo(): BusinessCountryInfo;
|
|
459
|
+
type BusinessCountryInfo = {
|
|
460
|
+
country_code?: string;
|
|
461
|
+
country?: string;
|
|
510
462
|
};
|
|
511
|
-
/** @returns {
|
|
512
|
-
declare function
|
|
513
|
-
type
|
|
514
|
-
|
|
515
|
-
|
|
463
|
+
/** @returns {Document} */
|
|
464
|
+
declare function Document(): Document;
|
|
465
|
+
type Document = {
|
|
466
|
+
value: string;
|
|
467
|
+
legal_name?: string;
|
|
468
|
+
verified?: boolean;
|
|
469
|
+
type: string;
|
|
470
|
+
url?: string;
|
|
516
471
|
};
|
|
517
|
-
/** @returns {
|
|
518
|
-
declare function
|
|
519
|
-
type
|
|
472
|
+
/** @returns {GetAddressSerializer} */
|
|
473
|
+
declare function GetAddressSerializer(): GetAddressSerializer;
|
|
474
|
+
type GetAddressSerializer = {
|
|
475
|
+
landmark?: string;
|
|
476
|
+
country_code?: string;
|
|
477
|
+
pincode?: number;
|
|
478
|
+
address_type?: string;
|
|
479
|
+
longitude: number;
|
|
480
|
+
country?: string;
|
|
481
|
+
address2?: string;
|
|
482
|
+
state?: string;
|
|
483
|
+
address1?: string;
|
|
484
|
+
city?: string;
|
|
485
|
+
latitude: number;
|
|
486
|
+
};
|
|
487
|
+
/** @returns {GetCompanyProfileSerializerResponse} */
|
|
488
|
+
declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
|
|
489
|
+
type GetCompanyProfileSerializerResponse = {
|
|
490
|
+
business_info?: string;
|
|
491
|
+
taxes?: CompanyTaxesSerializer[];
|
|
492
|
+
business_type?: string;
|
|
493
|
+
name?: string;
|
|
520
494
|
_custom_json?: any;
|
|
521
|
-
|
|
522
|
-
business_country_info?: BusinessCountryInfo;
|
|
523
|
-
business_type: string;
|
|
524
|
-
company_type: string;
|
|
495
|
+
verified_on?: string;
|
|
525
496
|
created_by?: UserSerializer;
|
|
526
497
|
created_on?: string;
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
498
|
+
warnings?: any;
|
|
499
|
+
business_details?: BusinessDetails;
|
|
500
|
+
mode?: string;
|
|
501
|
+
contact_details?: ContactDetails;
|
|
502
|
+
business_country_info?: BusinessCountryInfo;
|
|
530
503
|
modified_on?: string;
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
reject_reason?: string;
|
|
504
|
+
uid: number;
|
|
505
|
+
franchise_enabled?: boolean;
|
|
534
506
|
stage?: string;
|
|
535
|
-
|
|
507
|
+
company_type: string;
|
|
508
|
+
documents?: Document[];
|
|
509
|
+
addresses?: GetAddressSerializer[];
|
|
536
510
|
verified_by?: UserSerializer;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
/** @returns {CompanySocialAccounts} */
|
|
540
|
-
declare function CompanySocialAccounts(): CompanySocialAccounts;
|
|
541
|
-
type CompanySocialAccounts = {
|
|
542
|
-
name: string;
|
|
543
|
-
url: string;
|
|
511
|
+
notification_emails?: string[];
|
|
512
|
+
modified_by?: UserSerializer;
|
|
544
513
|
};
|
|
545
|
-
/** @returns {
|
|
546
|
-
declare function
|
|
547
|
-
type
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
514
|
+
/** @returns {ErrorResponse} */
|
|
515
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
516
|
+
type ErrorResponse = {
|
|
517
|
+
message?: string;
|
|
518
|
+
code?: string;
|
|
519
|
+
status?: number;
|
|
520
|
+
meta?: any;
|
|
551
521
|
};
|
|
552
522
|
/** @returns {CompanyTaxesSerializer1} */
|
|
553
523
|
declare function CompanyTaxesSerializer1(): CompanyTaxesSerializer1;
|
|
554
524
|
type CompanyTaxesSerializer1 = {
|
|
555
525
|
effective_date?: string;
|
|
556
|
-
enable?: boolean;
|
|
557
526
|
rate?: number;
|
|
558
|
-
|
|
559
|
-
/** @returns {ContactDetails} */
|
|
560
|
-
declare function ContactDetails(): ContactDetails;
|
|
561
|
-
type ContactDetails = {
|
|
562
|
-
emails?: string[];
|
|
563
|
-
phone?: SellerPhoneNumber[];
|
|
564
|
-
};
|
|
565
|
-
/** @returns {CountryCurrencyInfo} */
|
|
566
|
-
declare function CountryCurrencyInfo(): CountryCurrencyInfo;
|
|
567
|
-
type CountryCurrencyInfo = {
|
|
568
|
-
code: string;
|
|
569
|
-
name: string;
|
|
570
|
-
symbol: string;
|
|
527
|
+
enable?: boolean;
|
|
571
528
|
};
|
|
572
529
|
/** @returns {CreateUpdateAddressSerializer} */
|
|
573
530
|
declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
|
|
574
531
|
type CreateUpdateAddressSerializer = {
|
|
532
|
+
landmark?: string;
|
|
533
|
+
country_code?: string;
|
|
534
|
+
pincode: number;
|
|
575
535
|
address_type: string;
|
|
576
|
-
|
|
536
|
+
longitude: number;
|
|
537
|
+
country: string;
|
|
577
538
|
address2?: string;
|
|
539
|
+
state: string;
|
|
540
|
+
address1: string;
|
|
578
541
|
city: string;
|
|
579
|
-
country: string;
|
|
580
|
-
country_code?: string;
|
|
581
|
-
landmark?: string;
|
|
582
542
|
latitude: number;
|
|
583
|
-
longitude: number;
|
|
584
|
-
pincode: number;
|
|
585
|
-
state: string;
|
|
586
543
|
};
|
|
587
|
-
/** @returns {
|
|
588
|
-
declare function
|
|
589
|
-
type
|
|
544
|
+
/** @returns {UpdateCompany} */
|
|
545
|
+
declare function UpdateCompany(): UpdateCompany;
|
|
546
|
+
type UpdateCompany = {
|
|
547
|
+
franchise_enabled?: boolean;
|
|
548
|
+
business_info?: string;
|
|
549
|
+
warnings?: any;
|
|
550
|
+
company_type?: string;
|
|
590
551
|
_custom_json?: any;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
552
|
+
taxes?: CompanyTaxesSerializer1[];
|
|
553
|
+
business_details?: BusinessDetails;
|
|
554
|
+
documents?: Document[];
|
|
555
|
+
business_type?: string;
|
|
556
|
+
addresses?: CreateUpdateAddressSerializer[];
|
|
557
|
+
notification_emails?: string[];
|
|
558
|
+
contact_details?: ContactDetails;
|
|
559
|
+
reject_reason?: string;
|
|
560
|
+
name?: string;
|
|
600
561
|
};
|
|
601
|
-
/** @returns {
|
|
602
|
-
declare function
|
|
603
|
-
type
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
value: string;
|
|
608
|
-
verified?: boolean;
|
|
562
|
+
/** @returns {ProfileSuccessResponse} */
|
|
563
|
+
declare function ProfileSuccessResponse(): ProfileSuccessResponse;
|
|
564
|
+
type ProfileSuccessResponse = {
|
|
565
|
+
uid?: number;
|
|
566
|
+
message?: string;
|
|
567
|
+
success?: boolean;
|
|
609
568
|
};
|
|
610
569
|
/** @returns {DocumentsObj} */
|
|
611
570
|
declare function DocumentsObj(): DocumentsObj;
|
|
@@ -613,154 +572,140 @@ type DocumentsObj = {
|
|
|
613
572
|
pending?: number;
|
|
614
573
|
verified?: number;
|
|
615
574
|
};
|
|
616
|
-
/** @returns {
|
|
617
|
-
declare function
|
|
618
|
-
type
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
575
|
+
/** @returns {MetricsSerializer} */
|
|
576
|
+
declare function MetricsSerializer(): MetricsSerializer;
|
|
577
|
+
type MetricsSerializer = {
|
|
578
|
+
stage?: string;
|
|
579
|
+
store?: DocumentsObj;
|
|
580
|
+
company_documents?: DocumentsObj;
|
|
581
|
+
store_documents?: DocumentsObj;
|
|
582
|
+
product?: DocumentsObj;
|
|
583
|
+
uid?: number;
|
|
584
|
+
brand?: DocumentsObj;
|
|
623
585
|
};
|
|
624
|
-
/** @returns {
|
|
625
|
-
declare function
|
|
626
|
-
type
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
address2?: string;
|
|
630
|
-
city?: string;
|
|
631
|
-
country?: string;
|
|
632
|
-
country_code?: string;
|
|
633
|
-
landmark?: string;
|
|
634
|
-
latitude: number;
|
|
635
|
-
longitude: number;
|
|
636
|
-
pincode?: number;
|
|
637
|
-
sector?: string;
|
|
638
|
-
state?: string;
|
|
639
|
-
state_code?: string;
|
|
586
|
+
/** @returns {BrandBannerSerializer} */
|
|
587
|
+
declare function BrandBannerSerializer(): BrandBannerSerializer;
|
|
588
|
+
type BrandBannerSerializer = {
|
|
589
|
+
portrait: string;
|
|
590
|
+
landscape: string;
|
|
640
591
|
};
|
|
641
592
|
/** @returns {GetBrandResponseSerializer} */
|
|
642
593
|
declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
|
|
643
594
|
type GetBrandResponseSerializer = {
|
|
644
|
-
|
|
645
|
-
_locale_language?: any;
|
|
595
|
+
modified_by?: UserSerializer;
|
|
646
596
|
banner?: BrandBannerSerializer;
|
|
597
|
+
name: string;
|
|
598
|
+
_custom_json?: any;
|
|
599
|
+
verified_on?: string;
|
|
647
600
|
created_by?: UserSerializer;
|
|
648
601
|
created_on?: string;
|
|
649
|
-
|
|
650
|
-
|
|
602
|
+
warnings?: any;
|
|
603
|
+
_locale_language?: any;
|
|
651
604
|
mode?: string;
|
|
652
|
-
|
|
605
|
+
synonyms?: string[];
|
|
653
606
|
modified_on?: string;
|
|
654
|
-
|
|
607
|
+
uid?: number;
|
|
655
608
|
reject_reason?: string;
|
|
656
|
-
slug_key?: string;
|
|
657
609
|
stage?: string;
|
|
658
|
-
synonyms?: string[];
|
|
659
|
-
uid?: number;
|
|
660
610
|
verified_by?: UserSerializer;
|
|
661
|
-
|
|
662
|
-
|
|
611
|
+
slug_key?: string;
|
|
612
|
+
logo?: string;
|
|
613
|
+
description?: string;
|
|
663
614
|
};
|
|
664
|
-
/** @returns {
|
|
665
|
-
declare function
|
|
666
|
-
type
|
|
615
|
+
/** @returns {CreateUpdateBrandRequestSerializer} */
|
|
616
|
+
declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
|
|
617
|
+
type CreateUpdateBrandRequestSerializer = {
|
|
667
618
|
_custom_json?: any;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
619
|
+
_locale_language?: any;
|
|
620
|
+
synonyms?: string[];
|
|
621
|
+
company_id?: number;
|
|
622
|
+
description?: string;
|
|
623
|
+
logo: string;
|
|
624
|
+
brand_tier?: string;
|
|
625
|
+
uid?: number;
|
|
626
|
+
banner: BrandBannerSerializer;
|
|
627
|
+
name: string;
|
|
628
|
+
};
|
|
629
|
+
/** @returns {CompanySocialAccounts} */
|
|
630
|
+
declare function CompanySocialAccounts(): CompanySocialAccounts;
|
|
631
|
+
type CompanySocialAccounts = {
|
|
632
|
+
name: string;
|
|
633
|
+
url: string;
|
|
634
|
+
};
|
|
635
|
+
/** @returns {CompanyDetails} */
|
|
636
|
+
declare function CompanyDetails(): CompanyDetails;
|
|
637
|
+
type CompanyDetails = {
|
|
638
|
+
socials?: CompanySocialAccounts[];
|
|
639
|
+
website_url?: string;
|
|
640
|
+
};
|
|
641
|
+
/** @returns {CompanySerializer} */
|
|
642
|
+
declare function CompanySerializer(): CompanySerializer;
|
|
643
|
+
type CompanySerializer = {
|
|
684
644
|
stage?: string;
|
|
685
|
-
|
|
686
|
-
uid: number;
|
|
687
|
-
verified_by?: UserSerializer;
|
|
645
|
+
_custom_json?: any;
|
|
688
646
|
verified_on?: string;
|
|
689
|
-
|
|
690
|
-
};
|
|
691
|
-
/** @returns {GetCompanySerializer} */
|
|
692
|
-
declare function GetCompanySerializer(): GetCompanySerializer;
|
|
693
|
-
type GetCompanySerializer = {
|
|
694
|
-
addresses?: GetAddressSerializer[];
|
|
695
|
-
business_type?: string;
|
|
696
|
-
company_type?: string;
|
|
697
|
-
created_by?: UserSerializer;
|
|
647
|
+
verified_by?: UserSerializer;
|
|
698
648
|
created_on?: string;
|
|
699
|
-
|
|
649
|
+
created_by?: UserSerializer;
|
|
650
|
+
company_type: string;
|
|
700
651
|
modified_on?: string;
|
|
701
|
-
|
|
652
|
+
market_channels?: string[];
|
|
653
|
+
business_type: string;
|
|
654
|
+
addresses?: GetAddressSerializer[];
|
|
655
|
+
notification_emails?: string[];
|
|
656
|
+
details?: CompanyDetails;
|
|
657
|
+
business_country_info?: BusinessCountryInfo;
|
|
658
|
+
uid?: number;
|
|
702
659
|
reject_reason?: string;
|
|
660
|
+
name?: string;
|
|
661
|
+
modified_by?: UserSerializer;
|
|
662
|
+
};
|
|
663
|
+
/** @returns {CompanyBrandSerializer} */
|
|
664
|
+
declare function CompanyBrandSerializer(): CompanyBrandSerializer;
|
|
665
|
+
type CompanyBrandSerializer = {
|
|
703
666
|
stage?: string;
|
|
704
|
-
uid?: number;
|
|
705
|
-
verified_by?: UserSerializer;
|
|
706
667
|
verified_on?: string;
|
|
707
|
-
|
|
708
|
-
/** @returns {GetLocationSerializer} */
|
|
709
|
-
declare function GetLocationSerializer(): GetLocationSerializer;
|
|
710
|
-
type GetLocationSerializer = {
|
|
711
|
-
_custom_json?: any;
|
|
712
|
-
address: GetAddressSerializer;
|
|
713
|
-
auto_assign_courier_partner?: boolean;
|
|
714
|
-
auto_invoice?: boolean;
|
|
715
|
-
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
716
|
-
bulk_shipment?: boolean;
|
|
717
|
-
code: string;
|
|
718
|
-
company?: GetCompanySerializer;
|
|
719
|
-
contact_numbers?: SellerPhoneNumber[];
|
|
720
|
-
created_by?: UserSerializer;
|
|
668
|
+
verified_by?: UserSerializer;
|
|
721
669
|
created_on?: string;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
documents?: Document[];
|
|
726
|
-
gst_credentials?: InvoiceDetailsSerializer;
|
|
727
|
-
holiday?: HolidaySchemaSerializer[];
|
|
728
|
-
manager?: LocationManagerSerializer;
|
|
729
|
-
modified_by?: UserSerializer;
|
|
670
|
+
created_by?: UserSerializer;
|
|
671
|
+
company?: CompanySerializer;
|
|
672
|
+
warnings?: any;
|
|
730
673
|
modified_on?: string;
|
|
731
|
-
name: string;
|
|
732
|
-
notification_emails?: string[];
|
|
733
|
-
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
734
|
-
phone_number?: string;
|
|
735
|
-
product_return_config?: ProductReturnConfigSerializer;
|
|
736
|
-
stage?: string;
|
|
737
|
-
store_type?: string;
|
|
738
|
-
tags?: string[];
|
|
739
|
-
timing?: LocationDayWiseSerializer[];
|
|
740
674
|
uid?: number;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
675
|
+
reject_reason?: string;
|
|
676
|
+
brand?: GetBrandResponseSerializer;
|
|
677
|
+
modified_by?: UserSerializer;
|
|
678
|
+
};
|
|
679
|
+
/** @returns {Page} */
|
|
680
|
+
declare function Page(): Page;
|
|
681
|
+
type Page = {
|
|
682
|
+
item_total?: number;
|
|
683
|
+
next_id?: string;
|
|
684
|
+
has_previous?: boolean;
|
|
685
|
+
has_next?: boolean;
|
|
686
|
+
current?: number;
|
|
687
|
+
type: string;
|
|
688
|
+
size?: number;
|
|
744
689
|
};
|
|
745
|
-
/** @returns {
|
|
746
|
-
declare function
|
|
747
|
-
type
|
|
748
|
-
|
|
749
|
-
|
|
690
|
+
/** @returns {CompanyBrandListSerializer} */
|
|
691
|
+
declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
|
|
692
|
+
type CompanyBrandListSerializer = {
|
|
693
|
+
items?: CompanyBrandSerializer[];
|
|
694
|
+
page?: Page;
|
|
750
695
|
};
|
|
751
|
-
/** @returns {
|
|
752
|
-
declare function
|
|
753
|
-
type
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
696
|
+
/** @returns {CompanyBrandPostRequestSerializer} */
|
|
697
|
+
declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
|
|
698
|
+
type CompanyBrandPostRequestSerializer = {
|
|
699
|
+
uid?: number;
|
|
700
|
+
brands: number[];
|
|
701
|
+
company: number;
|
|
757
702
|
};
|
|
758
703
|
/** @returns {InvoiceCredSerializer} */
|
|
759
704
|
declare function InvoiceCredSerializer(): InvoiceCredSerializer;
|
|
760
705
|
type InvoiceCredSerializer = {
|
|
706
|
+
username?: string;
|
|
761
707
|
enabled?: boolean;
|
|
762
708
|
password?: string;
|
|
763
|
-
username?: string;
|
|
764
709
|
};
|
|
765
710
|
/** @returns {InvoiceDetailsSerializer} */
|
|
766
711
|
declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
|
|
@@ -768,13 +713,98 @@ type InvoiceDetailsSerializer = {
|
|
|
768
713
|
e_invoice?: InvoiceCredSerializer;
|
|
769
714
|
e_waybill?: InvoiceCredSerializer;
|
|
770
715
|
};
|
|
716
|
+
/** @returns {GetCompanySerializer} */
|
|
717
|
+
declare function GetCompanySerializer(): GetCompanySerializer;
|
|
718
|
+
type GetCompanySerializer = {
|
|
719
|
+
stage?: string;
|
|
720
|
+
verified_on?: string;
|
|
721
|
+
verified_by?: UserSerializer;
|
|
722
|
+
created_on?: string;
|
|
723
|
+
created_by?: UserSerializer;
|
|
724
|
+
company_type?: string;
|
|
725
|
+
modified_on?: string;
|
|
726
|
+
business_type?: string;
|
|
727
|
+
addresses?: GetAddressSerializer[];
|
|
728
|
+
uid?: number;
|
|
729
|
+
reject_reason?: string;
|
|
730
|
+
name?: string;
|
|
731
|
+
modified_by?: UserSerializer;
|
|
732
|
+
};
|
|
733
|
+
/** @returns {LocationManagerSerializer} */
|
|
734
|
+
declare function LocationManagerSerializer(): LocationManagerSerializer;
|
|
735
|
+
type LocationManagerSerializer = {
|
|
736
|
+
email?: string;
|
|
737
|
+
mobile_no: SellerPhoneNumber;
|
|
738
|
+
name?: string;
|
|
739
|
+
};
|
|
740
|
+
/** @returns {LocationTimingSerializer} */
|
|
741
|
+
declare function LocationTimingSerializer(): LocationTimingSerializer;
|
|
742
|
+
type LocationTimingSerializer = {
|
|
743
|
+
hour: number;
|
|
744
|
+
minute: number;
|
|
745
|
+
};
|
|
771
746
|
/** @returns {LocationDayWiseSerializer} */
|
|
772
747
|
declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
|
|
773
748
|
type LocationDayWiseSerializer = {
|
|
774
|
-
closing?: LocationTimingSerializer;
|
|
775
749
|
open: boolean;
|
|
776
|
-
opening?: LocationTimingSerializer;
|
|
777
750
|
weekday: string;
|
|
751
|
+
opening?: LocationTimingSerializer;
|
|
752
|
+
closing?: LocationTimingSerializer;
|
|
753
|
+
};
|
|
754
|
+
/** @returns {HolidayDateSerializer} */
|
|
755
|
+
declare function HolidayDateSerializer(): HolidayDateSerializer;
|
|
756
|
+
type HolidayDateSerializer = {
|
|
757
|
+
end_date: string;
|
|
758
|
+
start_date: string;
|
|
759
|
+
};
|
|
760
|
+
/** @returns {HolidaySchemaSerializer} */
|
|
761
|
+
declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
|
|
762
|
+
type HolidaySchemaSerializer = {
|
|
763
|
+
date: HolidayDateSerializer;
|
|
764
|
+
title: string;
|
|
765
|
+
holiday_type: string;
|
|
766
|
+
};
|
|
767
|
+
/** @returns {ProductReturnConfigSerializer} */
|
|
768
|
+
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
769
|
+
type ProductReturnConfigSerializer = {
|
|
770
|
+
on_same_store?: boolean;
|
|
771
|
+
store_uid?: number;
|
|
772
|
+
};
|
|
773
|
+
/** @returns {GetLocationSerializer} */
|
|
774
|
+
declare function GetLocationSerializer(): GetLocationSerializer;
|
|
775
|
+
type GetLocationSerializer = {
|
|
776
|
+
code: string;
|
|
777
|
+
phone_number?: string;
|
|
778
|
+
contact_numbers?: SellerPhoneNumber[];
|
|
779
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
780
|
+
name: string;
|
|
781
|
+
_custom_json?: any;
|
|
782
|
+
verified_on?: string;
|
|
783
|
+
created_by?: UserSerializer;
|
|
784
|
+
created_on?: string;
|
|
785
|
+
company?: GetCompanySerializer;
|
|
786
|
+
address: GetAddressSerializer;
|
|
787
|
+
warnings?: any;
|
|
788
|
+
store_type?: string;
|
|
789
|
+
manager?: LocationManagerSerializer;
|
|
790
|
+
auto_invoice?: boolean;
|
|
791
|
+
modified_on?: string;
|
|
792
|
+
uid?: number;
|
|
793
|
+
timing?: LocationDayWiseSerializer[];
|
|
794
|
+
stage?: string;
|
|
795
|
+
documents?: Document[];
|
|
796
|
+
credit_note?: boolean;
|
|
797
|
+
holiday?: HolidaySchemaSerializer[];
|
|
798
|
+
display_name: string;
|
|
799
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
800
|
+
verified_by?: UserSerializer;
|
|
801
|
+
notification_emails?: string[];
|
|
802
|
+
modified_by?: UserSerializer;
|
|
803
|
+
tags?: string[];
|
|
804
|
+
default_order_acceptance_timing?: boolean;
|
|
805
|
+
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
806
|
+
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
807
|
+
bulk_shipment?: boolean;
|
|
778
808
|
};
|
|
779
809
|
/** @returns {LocationListSerializer} */
|
|
780
810
|
declare function LocationListSerializer(): LocationListSerializer;
|
|
@@ -782,131 +812,72 @@ type LocationListSerializer = {
|
|
|
782
812
|
items?: GetLocationSerializer[];
|
|
783
813
|
page?: Page;
|
|
784
814
|
};
|
|
785
|
-
/** @returns {
|
|
786
|
-
declare function
|
|
787
|
-
type
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
815
|
+
/** @returns {AddressSerializer} */
|
|
816
|
+
declare function AddressSerializer(): AddressSerializer;
|
|
817
|
+
type AddressSerializer = {
|
|
818
|
+
landmark?: string;
|
|
819
|
+
country_code?: string;
|
|
820
|
+
pincode?: number;
|
|
821
|
+
address_type?: string;
|
|
822
|
+
longitude: number;
|
|
823
|
+
country?: string;
|
|
824
|
+
address2?: string;
|
|
825
|
+
state?: string;
|
|
826
|
+
address1?: string;
|
|
827
|
+
city?: string;
|
|
828
|
+
latitude: number;
|
|
791
829
|
};
|
|
792
830
|
/** @returns {LocationSerializer} */
|
|
793
831
|
declare function LocationSerializer(): LocationSerializer;
|
|
794
832
|
type LocationSerializer = {
|
|
833
|
+
code: string;
|
|
834
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
835
|
+
contact_numbers?: SellerPhoneNumber[];
|
|
836
|
+
name: string;
|
|
795
837
|
_custom_json?: any;
|
|
838
|
+
warnings?: any;
|
|
796
839
|
address: AddressSerializer;
|
|
797
|
-
auto_assign_courier_partner?: boolean;
|
|
798
|
-
auto_invoice?: boolean;
|
|
799
|
-
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
800
|
-
bulk_shipment?: boolean;
|
|
801
|
-
code: string;
|
|
802
840
|
company: number;
|
|
803
|
-
|
|
841
|
+
store_type?: string;
|
|
842
|
+
manager?: LocationManagerSerializer;
|
|
843
|
+
auto_invoice?: boolean;
|
|
844
|
+
uid?: number;
|
|
845
|
+
timing?: LocationDayWiseSerializer[];
|
|
846
|
+
stage?: string;
|
|
847
|
+
documents?: Document[];
|
|
804
848
|
credit_note?: boolean;
|
|
849
|
+
holiday?: HolidaySchemaSerializer[];
|
|
850
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
851
|
+
display_name: string;
|
|
852
|
+
notification_emails?: string[];
|
|
853
|
+
tags?: string[];
|
|
805
854
|
/**
|
|
806
855
|
* - Flag to set
|
|
807
856
|
* order_acceptance_timing as default timing
|
|
808
857
|
*/
|
|
809
858
|
default_order_acceptance_timing?: boolean;
|
|
810
|
-
display_name: string;
|
|
811
|
-
documents: Document[];
|
|
812
|
-
gst_credentials?: InvoiceDetailsSerializer;
|
|
813
|
-
holiday?: HolidaySchemaSerializer[];
|
|
814
|
-
manager?: LocationManagerSerializer;
|
|
815
|
-
name: string;
|
|
816
|
-
notification_emails?: string[];
|
|
817
859
|
/**
|
|
818
860
|
* - Order
|
|
819
861
|
* acceptance timing of the store
|
|
820
862
|
*/
|
|
821
863
|
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
store_type?: string;
|
|
825
|
-
tags?: string[];
|
|
826
|
-
timing?: LocationDayWiseSerializer[];
|
|
827
|
-
uid?: number;
|
|
828
|
-
warnings?: any;
|
|
829
|
-
};
|
|
830
|
-
/** @returns {LocationTimingSerializer} */
|
|
831
|
-
declare function LocationTimingSerializer(): LocationTimingSerializer;
|
|
832
|
-
type LocationTimingSerializer = {
|
|
833
|
-
hour: number;
|
|
834
|
-
minute: number;
|
|
835
|
-
};
|
|
836
|
-
/** @returns {MetricsSerializer} */
|
|
837
|
-
declare function MetricsSerializer(): MetricsSerializer;
|
|
838
|
-
type MetricsSerializer = {
|
|
839
|
-
brand?: DocumentsObj;
|
|
840
|
-
company_documents?: DocumentsObj;
|
|
841
|
-
product?: DocumentsObj;
|
|
842
|
-
stage?: string;
|
|
843
|
-
store?: DocumentsObj;
|
|
844
|
-
store_documents?: DocumentsObj;
|
|
845
|
-
uid?: number;
|
|
846
|
-
};
|
|
847
|
-
/** @returns {Page} */
|
|
848
|
-
declare function Page(): Page;
|
|
849
|
-
type Page = {
|
|
850
|
-
current?: number;
|
|
851
|
-
has_next?: boolean;
|
|
852
|
-
has_previous?: boolean;
|
|
853
|
-
item_total?: number;
|
|
854
|
-
next_id?: string;
|
|
855
|
-
size?: number;
|
|
856
|
-
type: string;
|
|
857
|
-
};
|
|
858
|
-
/** @returns {ProductReturnConfigSerializer} */
|
|
859
|
-
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
860
|
-
type ProductReturnConfigSerializer = {
|
|
861
|
-
on_same_store?: boolean;
|
|
862
|
-
store_uid?: number;
|
|
864
|
+
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
865
|
+
bulk_shipment?: boolean;
|
|
863
866
|
};
|
|
864
|
-
/** @returns {
|
|
865
|
-
declare function
|
|
866
|
-
type
|
|
867
|
-
|
|
868
|
-
success?: boolean;
|
|
869
|
-
uid?: number;
|
|
867
|
+
/** @returns {BulkLocationSerializer} */
|
|
868
|
+
declare function BulkLocationSerializer(): BulkLocationSerializer;
|
|
869
|
+
type BulkLocationSerializer = {
|
|
870
|
+
data?: LocationSerializer[];
|
|
870
871
|
};
|
|
871
|
-
/** @returns {
|
|
872
|
-
declare function
|
|
873
|
-
type
|
|
874
|
-
|
|
875
|
-
|
|
872
|
+
/** @returns {AverageOrderProcessingTime} */
|
|
873
|
+
declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
|
|
874
|
+
type AverageOrderProcessingTime = {
|
|
875
|
+
duration?: number;
|
|
876
|
+
duration_type?: string;
|
|
876
877
|
};
|
|
877
878
|
/** @returns {StoreTagsResponseSchema} */
|
|
878
879
|
declare function StoreTagsResponseSchema(): StoreTagsResponseSchema;
|
|
879
880
|
type StoreTagsResponseSchema = {
|
|
880
|
-
success?: boolean;
|
|
881
881
|
tags?: string[];
|
|
882
|
-
|
|
883
|
-
/** @returns {UpdateCompany} */
|
|
884
|
-
declare function UpdateCompany(): UpdateCompany;
|
|
885
|
-
type UpdateCompany = {
|
|
886
|
-
_custom_json?: any;
|
|
887
|
-
addresses?: CreateUpdateAddressSerializer[];
|
|
888
|
-
business_details?: BusinessDetails;
|
|
889
|
-
business_info?: string;
|
|
890
|
-
business_type?: string;
|
|
891
|
-
company_type?: string;
|
|
892
|
-
contact_details?: ContactDetails;
|
|
893
|
-
documents?: Document[];
|
|
894
|
-
franchise_enabled?: boolean;
|
|
895
|
-
name?: string;
|
|
896
|
-
notification_emails?: string[];
|
|
897
|
-
reject_reason?: string;
|
|
898
|
-
taxes?: CompanyTaxesSerializer1[];
|
|
899
|
-
warnings?: any;
|
|
900
|
-
};
|
|
901
|
-
/** @returns {UserSerializer} */
|
|
902
|
-
declare function UserSerializer(): UserSerializer;
|
|
903
|
-
type UserSerializer = {
|
|
904
|
-
contact?: string;
|
|
905
|
-
user_id?: string;
|
|
906
|
-
username?: string;
|
|
907
|
-
};
|
|
908
|
-
/** @returns {Website} */
|
|
909
|
-
declare function Website(): Website;
|
|
910
|
-
type Website = {
|
|
911
|
-
url?: string;
|
|
882
|
+
success?: boolean;
|
|
912
883
|
};
|