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