@gofynd/fdk-client-javascript 1.4.16-beta.3 → 1.4.16-beta.4
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/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -117
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -51
- package/sdk/application/Content/ContentApplicationClient.js +56 -161
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -101
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/common/Utility.js +6 -3
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -121
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6389
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -204
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +403 -1375
- package/sdk/platform/Content/ContentPlatformModel.js +394 -631
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +49 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
- package/sdk/platform/Share/SharePlatformModel.js +6 -31
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +6 -810
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -111
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export = CompanyProfilePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef CompanyTaxesSerializer
|
|
4
4
|
* @property {string} [effective_date]
|
|
5
5
|
* @property {number} [rate]
|
|
6
6
|
* @property {boolean} [enable]
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* @typedef
|
|
9
|
+
* @typedef UserSerializer
|
|
10
10
|
* @property {string} [user_id]
|
|
11
11
|
* @property {string} [contact]
|
|
12
12
|
* @property {string} [username]
|
|
@@ -51,7 +51,7 @@ export = CompanyProfilePlatformModel;
|
|
|
51
51
|
* @property {string} [url]
|
|
52
52
|
*/
|
|
53
53
|
/**
|
|
54
|
-
* @typedef
|
|
54
|
+
* @typedef GetAddressSerializer
|
|
55
55
|
* @property {string} [landmark]
|
|
56
56
|
* @property {string} [country_code]
|
|
57
57
|
* @property {number} [pincode]
|
|
@@ -67,14 +67,14 @@ export = CompanyProfilePlatformModel;
|
|
|
67
67
|
* @property {number} latitude
|
|
68
68
|
*/
|
|
69
69
|
/**
|
|
70
|
-
* @typedef
|
|
70
|
+
* @typedef GetCompanyProfileSerializerResponse
|
|
71
71
|
* @property {string} [business_info]
|
|
72
|
-
* @property {
|
|
72
|
+
* @property {CompanyTaxesSerializer[]} [taxes]
|
|
73
73
|
* @property {string} [business_type]
|
|
74
74
|
* @property {string} [name]
|
|
75
75
|
* @property {Object} [_custom_json]
|
|
76
76
|
* @property {string} [verified_on]
|
|
77
|
-
* @property {
|
|
77
|
+
* @property {UserSerializer} [created_by]
|
|
78
78
|
* @property {string} [created_on]
|
|
79
79
|
* @property {Object} [warnings]
|
|
80
80
|
* @property {BusinessDetails} [business_details]
|
|
@@ -87,13 +87,13 @@ export = CompanyProfilePlatformModel;
|
|
|
87
87
|
* @property {string} [stage]
|
|
88
88
|
* @property {string} company_type
|
|
89
89
|
* @property {Document[]} [documents]
|
|
90
|
-
* @property {
|
|
91
|
-
* @property {
|
|
90
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
91
|
+
* @property {UserSerializer} [verified_by]
|
|
92
92
|
* @property {string[]} [notification_emails]
|
|
93
|
-
* @property {
|
|
93
|
+
* @property {UserSerializer} [modified_by]
|
|
94
94
|
*/
|
|
95
95
|
/**
|
|
96
|
-
* @typedef
|
|
96
|
+
* @typedef ErrorResponse
|
|
97
97
|
* @property {string} [message]
|
|
98
98
|
* @property {string} [code]
|
|
99
99
|
* @property {number} [status]
|
|
@@ -106,7 +106,7 @@ export = CompanyProfilePlatformModel;
|
|
|
106
106
|
* @property {boolean} [enable]
|
|
107
107
|
*/
|
|
108
108
|
/**
|
|
109
|
-
* @typedef
|
|
109
|
+
* @typedef CreateUpdateAddressSerializer
|
|
110
110
|
* @property {string} [landmark]
|
|
111
111
|
* @property {string} [country_code]
|
|
112
112
|
* @property {number} pincode
|
|
@@ -130,14 +130,14 @@ export = CompanyProfilePlatformModel;
|
|
|
130
130
|
* @property {BusinessDetails} [business_details]
|
|
131
131
|
* @property {Document[]} [documents]
|
|
132
132
|
* @property {string} [business_type]
|
|
133
|
-
* @property {
|
|
133
|
+
* @property {CreateUpdateAddressSerializer[]} [addresses]
|
|
134
134
|
* @property {string[]} [notification_emails]
|
|
135
135
|
* @property {ContactDetails} [contact_details]
|
|
136
136
|
* @property {string} [reject_reason]
|
|
137
137
|
* @property {string} [name]
|
|
138
138
|
*/
|
|
139
139
|
/**
|
|
140
|
-
* @typedef
|
|
140
|
+
* @typedef ProfileSuccessResponse
|
|
141
141
|
* @property {number} [uid]
|
|
142
142
|
* @property {string} [message]
|
|
143
143
|
* @property {boolean} [success]
|
|
@@ -148,7 +148,7 @@ export = CompanyProfilePlatformModel;
|
|
|
148
148
|
* @property {number} [verified]
|
|
149
149
|
*/
|
|
150
150
|
/**
|
|
151
|
-
* @typedef
|
|
151
|
+
* @typedef MetricsSerializer
|
|
152
152
|
* @property {string} [stage]
|
|
153
153
|
* @property {DocumentsObj} [store]
|
|
154
154
|
* @property {DocumentsObj} [company_documents]
|
|
@@ -158,18 +158,18 @@ export = CompanyProfilePlatformModel;
|
|
|
158
158
|
* @property {DocumentsObj} [brand]
|
|
159
159
|
*/
|
|
160
160
|
/**
|
|
161
|
-
* @typedef
|
|
161
|
+
* @typedef BrandBannerSerializer
|
|
162
162
|
* @property {string} portrait
|
|
163
163
|
* @property {string} landscape
|
|
164
164
|
*/
|
|
165
165
|
/**
|
|
166
|
-
* @typedef
|
|
167
|
-
* @property {
|
|
168
|
-
* @property {
|
|
166
|
+
* @typedef GetBrandResponseSerializer
|
|
167
|
+
* @property {UserSerializer} [modified_by]
|
|
168
|
+
* @property {BrandBannerSerializer} [banner]
|
|
169
169
|
* @property {string} name
|
|
170
170
|
* @property {Object} [_custom_json]
|
|
171
171
|
* @property {string} [verified_on]
|
|
172
|
-
* @property {
|
|
172
|
+
* @property {UserSerializer} [created_by]
|
|
173
173
|
* @property {string} [created_on]
|
|
174
174
|
* @property {Object} [warnings]
|
|
175
175
|
* @property {Object} [_locale_language]
|
|
@@ -179,13 +179,13 @@ export = CompanyProfilePlatformModel;
|
|
|
179
179
|
* @property {number} [uid]
|
|
180
180
|
* @property {string} [reject_reason]
|
|
181
181
|
* @property {string} [stage]
|
|
182
|
-
* @property {
|
|
182
|
+
* @property {UserSerializer} [verified_by]
|
|
183
183
|
* @property {string} [slug_key]
|
|
184
184
|
* @property {string} [logo]
|
|
185
185
|
* @property {string} [description]
|
|
186
186
|
*/
|
|
187
187
|
/**
|
|
188
|
-
* @typedef
|
|
188
|
+
* @typedef CreateBrandRequestSerializer
|
|
189
189
|
* @property {Object} [_custom_json]
|
|
190
190
|
* @property {Object} [_locale_language]
|
|
191
191
|
* @property {string[]} [synonyms]
|
|
@@ -194,12 +194,12 @@ export = CompanyProfilePlatformModel;
|
|
|
194
194
|
* @property {string} logo
|
|
195
195
|
* @property {string} [brand_tier]
|
|
196
196
|
* @property {number} [uid]
|
|
197
|
-
* @property {
|
|
197
|
+
* @property {BrandBannerSerializer} banner
|
|
198
198
|
* @property {string} name
|
|
199
199
|
* @property {string} [slug_key]
|
|
200
200
|
*/
|
|
201
201
|
/**
|
|
202
|
-
* @typedef
|
|
202
|
+
* @typedef UpdateBrandRequestSerializer
|
|
203
203
|
* @property {Object} [_custom_json]
|
|
204
204
|
* @property {Object} [_locale_language]
|
|
205
205
|
* @property {string[]} [synonyms]
|
|
@@ -208,7 +208,7 @@ export = CompanyProfilePlatformModel;
|
|
|
208
208
|
* @property {string} logo
|
|
209
209
|
* @property {string} [brand_tier]
|
|
210
210
|
* @property {number} [uid]
|
|
211
|
-
* @property {
|
|
211
|
+
* @property {BrandBannerSerializer} banner
|
|
212
212
|
* @property {string} name
|
|
213
213
|
*/
|
|
214
214
|
/**
|
|
@@ -222,40 +222,40 @@ export = CompanyProfilePlatformModel;
|
|
|
222
222
|
* @property {string} [website_url]
|
|
223
223
|
*/
|
|
224
224
|
/**
|
|
225
|
-
* @typedef
|
|
225
|
+
* @typedef CompanySerializer
|
|
226
226
|
* @property {string} [stage]
|
|
227
227
|
* @property {Object} [_custom_json]
|
|
228
228
|
* @property {string} [verified_on]
|
|
229
|
-
* @property {
|
|
229
|
+
* @property {UserSerializer} [verified_by]
|
|
230
230
|
* @property {string} [created_on]
|
|
231
|
-
* @property {
|
|
231
|
+
* @property {UserSerializer} [created_by]
|
|
232
232
|
* @property {string} company_type
|
|
233
233
|
* @property {string} [modified_on]
|
|
234
234
|
* @property {string[]} [market_channels]
|
|
235
235
|
* @property {string} business_type
|
|
236
|
-
* @property {
|
|
236
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
237
237
|
* @property {string[]} [notification_emails]
|
|
238
238
|
* @property {CompanyDetails} [details]
|
|
239
239
|
* @property {BusinessCountryInfo} [business_country_info]
|
|
240
240
|
* @property {number} [uid]
|
|
241
241
|
* @property {string} [reject_reason]
|
|
242
242
|
* @property {string} [name]
|
|
243
|
-
* @property {
|
|
243
|
+
* @property {UserSerializer} [modified_by]
|
|
244
244
|
*/
|
|
245
245
|
/**
|
|
246
|
-
* @typedef
|
|
246
|
+
* @typedef CompanyBrandSerializer
|
|
247
247
|
* @property {string} [stage]
|
|
248
248
|
* @property {string} [verified_on]
|
|
249
|
-
* @property {
|
|
249
|
+
* @property {UserSerializer} [verified_by]
|
|
250
250
|
* @property {string} [created_on]
|
|
251
|
-
* @property {
|
|
252
|
-
* @property {
|
|
251
|
+
* @property {UserSerializer} [created_by]
|
|
252
|
+
* @property {CompanySerializer} [company]
|
|
253
253
|
* @property {Object} [warnings]
|
|
254
254
|
* @property {string} [modified_on]
|
|
255
255
|
* @property {number} [uid]
|
|
256
256
|
* @property {string} [reject_reason]
|
|
257
|
-
* @property {
|
|
258
|
-
* @property {
|
|
257
|
+
* @property {GetBrandResponseSerializer} [brand]
|
|
258
|
+
* @property {UserSerializer} [modified_by]
|
|
259
259
|
*/
|
|
260
260
|
/**
|
|
261
261
|
* @typedef Page
|
|
@@ -268,120 +268,120 @@ export = CompanyProfilePlatformModel;
|
|
|
268
268
|
* @property {number} [size] - The number of items per page.
|
|
269
269
|
*/
|
|
270
270
|
/**
|
|
271
|
-
* @typedef
|
|
272
|
-
* @property {
|
|
271
|
+
* @typedef CompanyBrandListSerializer
|
|
272
|
+
* @property {CompanyBrandSerializer[]} [items]
|
|
273
273
|
* @property {Page} [page]
|
|
274
274
|
*/
|
|
275
275
|
/**
|
|
276
|
-
* @typedef
|
|
276
|
+
* @typedef CompanyBrandPostRequestSerializer
|
|
277
277
|
* @property {number} [uid]
|
|
278
278
|
* @property {number[]} brands
|
|
279
279
|
* @property {number} company
|
|
280
280
|
*/
|
|
281
281
|
/**
|
|
282
|
-
* @typedef
|
|
282
|
+
* @typedef InvoiceCredSerializer
|
|
283
283
|
* @property {string} [username]
|
|
284
284
|
* @property {boolean} [enabled]
|
|
285
285
|
* @property {string} [password]
|
|
286
286
|
*/
|
|
287
287
|
/**
|
|
288
|
-
* @typedef
|
|
289
|
-
* @property {
|
|
290
|
-
* @property {
|
|
288
|
+
* @typedef InvoiceDetailsSerializer
|
|
289
|
+
* @property {InvoiceCredSerializer} [e_invoice]
|
|
290
|
+
* @property {InvoiceCredSerializer} [e_waybill]
|
|
291
291
|
*/
|
|
292
292
|
/**
|
|
293
|
-
* @typedef
|
|
293
|
+
* @typedef GetCompanySerializer
|
|
294
294
|
* @property {string} [stage]
|
|
295
295
|
* @property {string} [verified_on]
|
|
296
|
-
* @property {
|
|
296
|
+
* @property {UserSerializer} [verified_by]
|
|
297
297
|
* @property {string} [created_on]
|
|
298
|
-
* @property {
|
|
298
|
+
* @property {UserSerializer} [created_by]
|
|
299
299
|
* @property {string} [company_type]
|
|
300
300
|
* @property {string} [modified_on]
|
|
301
301
|
* @property {string} [business_type]
|
|
302
|
-
* @property {
|
|
302
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
303
303
|
* @property {number} [uid]
|
|
304
304
|
* @property {string} [reject_reason]
|
|
305
305
|
* @property {string} [name]
|
|
306
|
-
* @property {
|
|
306
|
+
* @property {UserSerializer} [modified_by]
|
|
307
307
|
*/
|
|
308
308
|
/**
|
|
309
|
-
* @typedef
|
|
309
|
+
* @typedef LocationManagerSerializer
|
|
310
310
|
* @property {string} [email]
|
|
311
311
|
* @property {SellerPhoneNumber} mobile_no
|
|
312
312
|
* @property {string} [name]
|
|
313
313
|
*/
|
|
314
314
|
/**
|
|
315
|
-
* @typedef
|
|
315
|
+
* @typedef LocationTimingSerializer
|
|
316
316
|
* @property {number} hour
|
|
317
317
|
* @property {number} minute
|
|
318
318
|
*/
|
|
319
319
|
/**
|
|
320
|
-
* @typedef
|
|
320
|
+
* @typedef LocationDayWiseSerializer
|
|
321
321
|
* @property {boolean} open
|
|
322
322
|
* @property {string} weekday
|
|
323
|
-
* @property {
|
|
324
|
-
* @property {
|
|
323
|
+
* @property {LocationTimingSerializer} [opening]
|
|
324
|
+
* @property {LocationTimingSerializer} [closing]
|
|
325
325
|
*/
|
|
326
326
|
/**
|
|
327
|
-
* @typedef
|
|
327
|
+
* @typedef HolidayDateSerializer
|
|
328
328
|
* @property {string} end_date
|
|
329
329
|
* @property {string} start_date
|
|
330
330
|
*/
|
|
331
331
|
/**
|
|
332
|
-
* @typedef
|
|
333
|
-
* @property {
|
|
332
|
+
* @typedef HolidaySchemaSerializer
|
|
333
|
+
* @property {HolidayDateSerializer} date
|
|
334
334
|
* @property {string} title
|
|
335
335
|
* @property {string} holiday_type
|
|
336
336
|
*/
|
|
337
337
|
/**
|
|
338
|
-
* @typedef
|
|
338
|
+
* @typedef ProductReturnConfigSerializer
|
|
339
339
|
* @property {boolean} [on_same_store]
|
|
340
340
|
* @property {number} [store_uid]
|
|
341
341
|
*/
|
|
342
342
|
/**
|
|
343
|
-
* @typedef
|
|
343
|
+
* @typedef GetLocationSerializer
|
|
344
344
|
* @property {string} code
|
|
345
345
|
* @property {string} [phone_number]
|
|
346
346
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
347
|
-
* @property {
|
|
347
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
348
348
|
* @property {string} name
|
|
349
349
|
* @property {Object} [_custom_json]
|
|
350
350
|
* @property {string} [verified_on]
|
|
351
|
-
* @property {
|
|
351
|
+
* @property {UserSerializer} [created_by]
|
|
352
352
|
* @property {string} [created_on]
|
|
353
|
-
* @property {
|
|
354
|
-
* @property {
|
|
353
|
+
* @property {GetCompanySerializer} [company]
|
|
354
|
+
* @property {GetAddressSerializer} address
|
|
355
355
|
* @property {Object} [warnings]
|
|
356
356
|
* @property {string} [store_type]
|
|
357
|
-
* @property {
|
|
357
|
+
* @property {LocationManagerSerializer} [manager]
|
|
358
358
|
* @property {boolean} [auto_invoice]
|
|
359
359
|
* @property {string} [modified_on]
|
|
360
360
|
* @property {number} [uid]
|
|
361
|
-
* @property {
|
|
361
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
362
362
|
* @property {string} [stage]
|
|
363
363
|
* @property {Document[]} [documents]
|
|
364
364
|
* @property {boolean} [credit_note]
|
|
365
|
-
* @property {
|
|
365
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
366
366
|
* @property {string} display_name
|
|
367
|
-
* @property {
|
|
368
|
-
* @property {
|
|
367
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
368
|
+
* @property {UserSerializer} [verified_by]
|
|
369
369
|
* @property {string[]} [notification_emails]
|
|
370
|
-
* @property {
|
|
370
|
+
* @property {UserSerializer} [modified_by]
|
|
371
371
|
* @property {string[]} [tags]
|
|
372
372
|
* @property {boolean} [default_order_acceptance_timing]
|
|
373
|
-
* @property {
|
|
373
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
|
|
374
374
|
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
375
375
|
* @property {boolean} [bulk_shipment]
|
|
376
376
|
* @property {boolean} [auto_assign_courier_partner]
|
|
377
377
|
*/
|
|
378
378
|
/**
|
|
379
|
-
* @typedef
|
|
380
|
-
* @property {
|
|
379
|
+
* @typedef LocationListSerializer
|
|
380
|
+
* @property {GetLocationSerializer[]} [items]
|
|
381
381
|
* @property {Page} [page]
|
|
382
382
|
*/
|
|
383
383
|
/**
|
|
384
|
-
* @typedef
|
|
384
|
+
* @typedef AddressSerializer
|
|
385
385
|
* @property {string} [landmark]
|
|
386
386
|
* @property {string} country_code
|
|
387
387
|
* @property {number} [pincode]
|
|
@@ -397,39 +397,39 @@ export = CompanyProfilePlatformModel;
|
|
|
397
397
|
* @property {number} latitude
|
|
398
398
|
*/
|
|
399
399
|
/**
|
|
400
|
-
* @typedef
|
|
400
|
+
* @typedef LocationSerializer
|
|
401
401
|
* @property {string} code
|
|
402
|
-
* @property {
|
|
402
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
403
403
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
404
404
|
* @property {string} name
|
|
405
405
|
* @property {Object} [_custom_json]
|
|
406
406
|
* @property {Object} [warnings]
|
|
407
|
-
* @property {
|
|
407
|
+
* @property {AddressSerializer} address
|
|
408
408
|
* @property {number} company
|
|
409
409
|
* @property {string} [store_type]
|
|
410
|
-
* @property {
|
|
410
|
+
* @property {LocationManagerSerializer} [manager]
|
|
411
411
|
* @property {boolean} [auto_invoice]
|
|
412
412
|
* @property {number} [uid]
|
|
413
|
-
* @property {
|
|
413
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
414
414
|
* @property {string} [stage]
|
|
415
415
|
* @property {Document[]} documents
|
|
416
416
|
* @property {boolean} [credit_note]
|
|
417
|
-
* @property {
|
|
418
|
-
* @property {
|
|
417
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
418
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
419
419
|
* @property {string} display_name
|
|
420
420
|
* @property {string[]} [notification_emails]
|
|
421
421
|
* @property {string[]} [tags]
|
|
422
422
|
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
423
423
|
* order_acceptance_timing as default timing
|
|
424
|
-
* @property {
|
|
424
|
+
* @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
|
|
425
425
|
* acceptance timing of the store
|
|
426
426
|
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
427
427
|
* @property {boolean} [bulk_shipment]
|
|
428
428
|
* @property {boolean} [auto_assign_courier_partner]
|
|
429
429
|
*/
|
|
430
430
|
/**
|
|
431
|
-
* @typedef
|
|
432
|
-
* @property {
|
|
431
|
+
* @typedef BulkLocationSerializer
|
|
432
|
+
* @property {LocationSerializer[]} [data]
|
|
433
433
|
*/
|
|
434
434
|
/**
|
|
435
435
|
* @typedef AverageOrderProcessingTime
|
|
@@ -444,18 +444,18 @@ export = CompanyProfilePlatformModel;
|
|
|
444
444
|
declare class CompanyProfilePlatformModel {
|
|
445
445
|
}
|
|
446
446
|
declare namespace CompanyProfilePlatformModel {
|
|
447
|
-
export {
|
|
447
|
+
export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSerializer, GetCompanyProfileSerializerResponse, ErrorResponse, CompanyTaxesSerializer1, CreateUpdateAddressSerializer, UpdateCompany, ProfileSuccessResponse, DocumentsObj, MetricsSerializer, BrandBannerSerializer, GetBrandResponseSerializer, CreateBrandRequestSerializer, UpdateBrandRequestSerializer, CompanySocialAccounts, CompanyDetails, CompanySerializer, CompanyBrandSerializer, Page, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, GetCompanySerializer, LocationManagerSerializer, LocationTimingSerializer, LocationDayWiseSerializer, HolidayDateSerializer, HolidaySchemaSerializer, ProductReturnConfigSerializer, GetLocationSerializer, LocationListSerializer, AddressSerializer, LocationSerializer, BulkLocationSerializer, AverageOrderProcessingTime, StoreTagsResponseSchema };
|
|
448
448
|
}
|
|
449
|
-
/** @returns {
|
|
450
|
-
declare function
|
|
451
|
-
type
|
|
449
|
+
/** @returns {CompanyTaxesSerializer} */
|
|
450
|
+
declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
|
|
451
|
+
type CompanyTaxesSerializer = {
|
|
452
452
|
effective_date?: string;
|
|
453
453
|
rate?: number;
|
|
454
454
|
enable?: boolean;
|
|
455
455
|
};
|
|
456
|
-
/** @returns {
|
|
457
|
-
declare function
|
|
458
|
-
type
|
|
456
|
+
/** @returns {UserSerializer} */
|
|
457
|
+
declare function UserSerializer(): UserSerializer;
|
|
458
|
+
type UserSerializer = {
|
|
459
459
|
user_id?: string;
|
|
460
460
|
contact?: string;
|
|
461
461
|
username?: string;
|
|
@@ -506,9 +506,9 @@ type Document = {
|
|
|
506
506
|
type: string;
|
|
507
507
|
url?: string;
|
|
508
508
|
};
|
|
509
|
-
/** @returns {
|
|
510
|
-
declare function
|
|
511
|
-
type
|
|
509
|
+
/** @returns {GetAddressSerializer} */
|
|
510
|
+
declare function GetAddressSerializer(): GetAddressSerializer;
|
|
511
|
+
type GetAddressSerializer = {
|
|
512
512
|
landmark?: string;
|
|
513
513
|
country_code?: string;
|
|
514
514
|
pincode?: number;
|
|
@@ -523,16 +523,16 @@ type GetAddressSchema = {
|
|
|
523
523
|
city?: string;
|
|
524
524
|
latitude: number;
|
|
525
525
|
};
|
|
526
|
-
/** @returns {
|
|
527
|
-
declare function
|
|
528
|
-
type
|
|
526
|
+
/** @returns {GetCompanyProfileSerializerResponse} */
|
|
527
|
+
declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
|
|
528
|
+
type GetCompanyProfileSerializerResponse = {
|
|
529
529
|
business_info?: string;
|
|
530
|
-
taxes?:
|
|
530
|
+
taxes?: CompanyTaxesSerializer[];
|
|
531
531
|
business_type?: string;
|
|
532
532
|
name?: string;
|
|
533
533
|
_custom_json?: any;
|
|
534
534
|
verified_on?: string;
|
|
535
|
-
created_by?:
|
|
535
|
+
created_by?: UserSerializer;
|
|
536
536
|
created_on?: string;
|
|
537
537
|
warnings?: any;
|
|
538
538
|
business_details?: BusinessDetails;
|
|
@@ -545,14 +545,14 @@ type GetCompanyProfileSerializerResponseSchema = {
|
|
|
545
545
|
stage?: string;
|
|
546
546
|
company_type: string;
|
|
547
547
|
documents?: Document[];
|
|
548
|
-
addresses?:
|
|
549
|
-
verified_by?:
|
|
548
|
+
addresses?: GetAddressSerializer[];
|
|
549
|
+
verified_by?: UserSerializer;
|
|
550
550
|
notification_emails?: string[];
|
|
551
|
-
modified_by?:
|
|
551
|
+
modified_by?: UserSerializer;
|
|
552
552
|
};
|
|
553
|
-
/** @returns {
|
|
554
|
-
declare function
|
|
555
|
-
type
|
|
553
|
+
/** @returns {ErrorResponse} */
|
|
554
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
555
|
+
type ErrorResponse = {
|
|
556
556
|
message?: string;
|
|
557
557
|
code?: string;
|
|
558
558
|
status?: number;
|
|
@@ -565,9 +565,9 @@ type CompanyTaxesSerializer1 = {
|
|
|
565
565
|
rate?: number;
|
|
566
566
|
enable?: boolean;
|
|
567
567
|
};
|
|
568
|
-
/** @returns {
|
|
569
|
-
declare function
|
|
570
|
-
type
|
|
568
|
+
/** @returns {CreateUpdateAddressSerializer} */
|
|
569
|
+
declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
|
|
570
|
+
type CreateUpdateAddressSerializer = {
|
|
571
571
|
landmark?: string;
|
|
572
572
|
country_code?: string;
|
|
573
573
|
pincode: number;
|
|
@@ -592,15 +592,15 @@ type UpdateCompany = {
|
|
|
592
592
|
business_details?: BusinessDetails;
|
|
593
593
|
documents?: Document[];
|
|
594
594
|
business_type?: string;
|
|
595
|
-
addresses?:
|
|
595
|
+
addresses?: CreateUpdateAddressSerializer[];
|
|
596
596
|
notification_emails?: string[];
|
|
597
597
|
contact_details?: ContactDetails;
|
|
598
598
|
reject_reason?: string;
|
|
599
599
|
name?: string;
|
|
600
600
|
};
|
|
601
|
-
/** @returns {
|
|
602
|
-
declare function
|
|
603
|
-
type
|
|
601
|
+
/** @returns {ProfileSuccessResponse} */
|
|
602
|
+
declare function ProfileSuccessResponse(): ProfileSuccessResponse;
|
|
603
|
+
type ProfileSuccessResponse = {
|
|
604
604
|
uid?: number;
|
|
605
605
|
message?: string;
|
|
606
606
|
success?: boolean;
|
|
@@ -611,9 +611,9 @@ type DocumentsObj = {
|
|
|
611
611
|
pending?: number;
|
|
612
612
|
verified?: number;
|
|
613
613
|
};
|
|
614
|
-
/** @returns {
|
|
615
|
-
declare function
|
|
616
|
-
type
|
|
614
|
+
/** @returns {MetricsSerializer} */
|
|
615
|
+
declare function MetricsSerializer(): MetricsSerializer;
|
|
616
|
+
type MetricsSerializer = {
|
|
617
617
|
stage?: string;
|
|
618
618
|
store?: DocumentsObj;
|
|
619
619
|
company_documents?: DocumentsObj;
|
|
@@ -622,21 +622,21 @@ type MetricsSchema = {
|
|
|
622
622
|
uid?: number;
|
|
623
623
|
brand?: DocumentsObj;
|
|
624
624
|
};
|
|
625
|
-
/** @returns {
|
|
626
|
-
declare function
|
|
627
|
-
type
|
|
625
|
+
/** @returns {BrandBannerSerializer} */
|
|
626
|
+
declare function BrandBannerSerializer(): BrandBannerSerializer;
|
|
627
|
+
type BrandBannerSerializer = {
|
|
628
628
|
portrait: string;
|
|
629
629
|
landscape: string;
|
|
630
630
|
};
|
|
631
|
-
/** @returns {
|
|
632
|
-
declare function
|
|
633
|
-
type
|
|
634
|
-
modified_by?:
|
|
635
|
-
banner?:
|
|
631
|
+
/** @returns {GetBrandResponseSerializer} */
|
|
632
|
+
declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
|
|
633
|
+
type GetBrandResponseSerializer = {
|
|
634
|
+
modified_by?: UserSerializer;
|
|
635
|
+
banner?: BrandBannerSerializer;
|
|
636
636
|
name: string;
|
|
637
637
|
_custom_json?: any;
|
|
638
638
|
verified_on?: string;
|
|
639
|
-
created_by?:
|
|
639
|
+
created_by?: UserSerializer;
|
|
640
640
|
created_on?: string;
|
|
641
641
|
warnings?: any;
|
|
642
642
|
_locale_language?: any;
|
|
@@ -646,14 +646,14 @@ type GetBrandResponseSchema = {
|
|
|
646
646
|
uid?: number;
|
|
647
647
|
reject_reason?: string;
|
|
648
648
|
stage?: string;
|
|
649
|
-
verified_by?:
|
|
649
|
+
verified_by?: UserSerializer;
|
|
650
650
|
slug_key?: string;
|
|
651
651
|
logo?: string;
|
|
652
652
|
description?: string;
|
|
653
653
|
};
|
|
654
|
-
/** @returns {
|
|
655
|
-
declare function
|
|
656
|
-
type
|
|
654
|
+
/** @returns {CreateBrandRequestSerializer} */
|
|
655
|
+
declare function CreateBrandRequestSerializer(): CreateBrandRequestSerializer;
|
|
656
|
+
type CreateBrandRequestSerializer = {
|
|
657
657
|
_custom_json?: any;
|
|
658
658
|
_locale_language?: any;
|
|
659
659
|
synonyms?: string[];
|
|
@@ -662,13 +662,13 @@ type CreateBrandRequestSchema = {
|
|
|
662
662
|
logo: string;
|
|
663
663
|
brand_tier?: string;
|
|
664
664
|
uid?: number;
|
|
665
|
-
banner:
|
|
665
|
+
banner: BrandBannerSerializer;
|
|
666
666
|
name: string;
|
|
667
667
|
slug_key?: string;
|
|
668
668
|
};
|
|
669
|
-
/** @returns {
|
|
670
|
-
declare function
|
|
671
|
-
type
|
|
669
|
+
/** @returns {UpdateBrandRequestSerializer} */
|
|
670
|
+
declare function UpdateBrandRequestSerializer(): UpdateBrandRequestSerializer;
|
|
671
|
+
type UpdateBrandRequestSerializer = {
|
|
672
672
|
_custom_json?: any;
|
|
673
673
|
_locale_language?: any;
|
|
674
674
|
synonyms?: string[];
|
|
@@ -677,7 +677,7 @@ type UpdateBrandRequestSchema = {
|
|
|
677
677
|
logo: string;
|
|
678
678
|
brand_tier?: string;
|
|
679
679
|
uid?: number;
|
|
680
|
-
banner:
|
|
680
|
+
banner: BrandBannerSerializer;
|
|
681
681
|
name: string;
|
|
682
682
|
};
|
|
683
683
|
/** @returns {CompanySocialAccounts} */
|
|
@@ -692,43 +692,43 @@ type CompanyDetails = {
|
|
|
692
692
|
socials?: CompanySocialAccounts[];
|
|
693
693
|
website_url?: string;
|
|
694
694
|
};
|
|
695
|
-
/** @returns {
|
|
696
|
-
declare function
|
|
697
|
-
type
|
|
695
|
+
/** @returns {CompanySerializer} */
|
|
696
|
+
declare function CompanySerializer(): CompanySerializer;
|
|
697
|
+
type CompanySerializer = {
|
|
698
698
|
stage?: string;
|
|
699
699
|
_custom_json?: any;
|
|
700
700
|
verified_on?: string;
|
|
701
|
-
verified_by?:
|
|
701
|
+
verified_by?: UserSerializer;
|
|
702
702
|
created_on?: string;
|
|
703
|
-
created_by?:
|
|
703
|
+
created_by?: UserSerializer;
|
|
704
704
|
company_type: string;
|
|
705
705
|
modified_on?: string;
|
|
706
706
|
market_channels?: string[];
|
|
707
707
|
business_type: string;
|
|
708
|
-
addresses?:
|
|
708
|
+
addresses?: GetAddressSerializer[];
|
|
709
709
|
notification_emails?: string[];
|
|
710
710
|
details?: CompanyDetails;
|
|
711
711
|
business_country_info?: BusinessCountryInfo;
|
|
712
712
|
uid?: number;
|
|
713
713
|
reject_reason?: string;
|
|
714
714
|
name?: string;
|
|
715
|
-
modified_by?:
|
|
715
|
+
modified_by?: UserSerializer;
|
|
716
716
|
};
|
|
717
|
-
/** @returns {
|
|
718
|
-
declare function
|
|
719
|
-
type
|
|
717
|
+
/** @returns {CompanyBrandSerializer} */
|
|
718
|
+
declare function CompanyBrandSerializer(): CompanyBrandSerializer;
|
|
719
|
+
type CompanyBrandSerializer = {
|
|
720
720
|
stage?: string;
|
|
721
721
|
verified_on?: string;
|
|
722
|
-
verified_by?:
|
|
722
|
+
verified_by?: UserSerializer;
|
|
723
723
|
created_on?: string;
|
|
724
|
-
created_by?:
|
|
725
|
-
company?:
|
|
724
|
+
created_by?: UserSerializer;
|
|
725
|
+
company?: CompanySerializer;
|
|
726
726
|
warnings?: any;
|
|
727
727
|
modified_on?: string;
|
|
728
728
|
uid?: number;
|
|
729
729
|
reject_reason?: string;
|
|
730
|
-
brand?:
|
|
731
|
-
modified_by?:
|
|
730
|
+
brand?: GetBrandResponseSerializer;
|
|
731
|
+
modified_by?: UserSerializer;
|
|
732
732
|
};
|
|
733
733
|
/** @returns {Page} */
|
|
734
734
|
declare function Page(): Page;
|
|
@@ -762,135 +762,135 @@ type Page = {
|
|
|
762
762
|
*/
|
|
763
763
|
size?: number;
|
|
764
764
|
};
|
|
765
|
-
/** @returns {
|
|
766
|
-
declare function
|
|
767
|
-
type
|
|
768
|
-
items?:
|
|
765
|
+
/** @returns {CompanyBrandListSerializer} */
|
|
766
|
+
declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
|
|
767
|
+
type CompanyBrandListSerializer = {
|
|
768
|
+
items?: CompanyBrandSerializer[];
|
|
769
769
|
page?: Page;
|
|
770
770
|
};
|
|
771
|
-
/** @returns {
|
|
772
|
-
declare function
|
|
773
|
-
type
|
|
771
|
+
/** @returns {CompanyBrandPostRequestSerializer} */
|
|
772
|
+
declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
|
|
773
|
+
type CompanyBrandPostRequestSerializer = {
|
|
774
774
|
uid?: number;
|
|
775
775
|
brands: number[];
|
|
776
776
|
company: number;
|
|
777
777
|
};
|
|
778
|
-
/** @returns {
|
|
779
|
-
declare function
|
|
780
|
-
type
|
|
778
|
+
/** @returns {InvoiceCredSerializer} */
|
|
779
|
+
declare function InvoiceCredSerializer(): InvoiceCredSerializer;
|
|
780
|
+
type InvoiceCredSerializer = {
|
|
781
781
|
username?: string;
|
|
782
782
|
enabled?: boolean;
|
|
783
783
|
password?: string;
|
|
784
784
|
};
|
|
785
|
-
/** @returns {
|
|
786
|
-
declare function
|
|
787
|
-
type
|
|
788
|
-
e_invoice?:
|
|
789
|
-
e_waybill?:
|
|
785
|
+
/** @returns {InvoiceDetailsSerializer} */
|
|
786
|
+
declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
|
|
787
|
+
type InvoiceDetailsSerializer = {
|
|
788
|
+
e_invoice?: InvoiceCredSerializer;
|
|
789
|
+
e_waybill?: InvoiceCredSerializer;
|
|
790
790
|
};
|
|
791
|
-
/** @returns {
|
|
792
|
-
declare function
|
|
793
|
-
type
|
|
791
|
+
/** @returns {GetCompanySerializer} */
|
|
792
|
+
declare function GetCompanySerializer(): GetCompanySerializer;
|
|
793
|
+
type GetCompanySerializer = {
|
|
794
794
|
stage?: string;
|
|
795
795
|
verified_on?: string;
|
|
796
|
-
verified_by?:
|
|
796
|
+
verified_by?: UserSerializer;
|
|
797
797
|
created_on?: string;
|
|
798
|
-
created_by?:
|
|
798
|
+
created_by?: UserSerializer;
|
|
799
799
|
company_type?: string;
|
|
800
800
|
modified_on?: string;
|
|
801
801
|
business_type?: string;
|
|
802
|
-
addresses?:
|
|
802
|
+
addresses?: GetAddressSerializer[];
|
|
803
803
|
uid?: number;
|
|
804
804
|
reject_reason?: string;
|
|
805
805
|
name?: string;
|
|
806
|
-
modified_by?:
|
|
806
|
+
modified_by?: UserSerializer;
|
|
807
807
|
};
|
|
808
|
-
/** @returns {
|
|
809
|
-
declare function
|
|
810
|
-
type
|
|
808
|
+
/** @returns {LocationManagerSerializer} */
|
|
809
|
+
declare function LocationManagerSerializer(): LocationManagerSerializer;
|
|
810
|
+
type LocationManagerSerializer = {
|
|
811
811
|
email?: string;
|
|
812
812
|
mobile_no: SellerPhoneNumber;
|
|
813
813
|
name?: string;
|
|
814
814
|
};
|
|
815
|
-
/** @returns {
|
|
816
|
-
declare function
|
|
817
|
-
type
|
|
815
|
+
/** @returns {LocationTimingSerializer} */
|
|
816
|
+
declare function LocationTimingSerializer(): LocationTimingSerializer;
|
|
817
|
+
type LocationTimingSerializer = {
|
|
818
818
|
hour: number;
|
|
819
819
|
minute: number;
|
|
820
820
|
};
|
|
821
|
-
/** @returns {
|
|
822
|
-
declare function
|
|
823
|
-
type
|
|
821
|
+
/** @returns {LocationDayWiseSerializer} */
|
|
822
|
+
declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
|
|
823
|
+
type LocationDayWiseSerializer = {
|
|
824
824
|
open: boolean;
|
|
825
825
|
weekday: string;
|
|
826
|
-
opening?:
|
|
827
|
-
closing?:
|
|
826
|
+
opening?: LocationTimingSerializer;
|
|
827
|
+
closing?: LocationTimingSerializer;
|
|
828
828
|
};
|
|
829
|
-
/** @returns {
|
|
830
|
-
declare function
|
|
831
|
-
type
|
|
829
|
+
/** @returns {HolidayDateSerializer} */
|
|
830
|
+
declare function HolidayDateSerializer(): HolidayDateSerializer;
|
|
831
|
+
type HolidayDateSerializer = {
|
|
832
832
|
end_date: string;
|
|
833
833
|
start_date: string;
|
|
834
834
|
};
|
|
835
|
-
/** @returns {
|
|
836
|
-
declare function
|
|
837
|
-
type
|
|
838
|
-
date:
|
|
835
|
+
/** @returns {HolidaySchemaSerializer} */
|
|
836
|
+
declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
|
|
837
|
+
type HolidaySchemaSerializer = {
|
|
838
|
+
date: HolidayDateSerializer;
|
|
839
839
|
title: string;
|
|
840
840
|
holiday_type: string;
|
|
841
841
|
};
|
|
842
|
-
/** @returns {
|
|
843
|
-
declare function
|
|
844
|
-
type
|
|
842
|
+
/** @returns {ProductReturnConfigSerializer} */
|
|
843
|
+
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
844
|
+
type ProductReturnConfigSerializer = {
|
|
845
845
|
on_same_store?: boolean;
|
|
846
846
|
store_uid?: number;
|
|
847
847
|
};
|
|
848
|
-
/** @returns {
|
|
849
|
-
declare function
|
|
850
|
-
type
|
|
848
|
+
/** @returns {GetLocationSerializer} */
|
|
849
|
+
declare function GetLocationSerializer(): GetLocationSerializer;
|
|
850
|
+
type GetLocationSerializer = {
|
|
851
851
|
code: string;
|
|
852
852
|
phone_number?: string;
|
|
853
853
|
contact_numbers?: SellerPhoneNumber[];
|
|
854
|
-
gst_credentials?:
|
|
854
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
855
855
|
name: string;
|
|
856
856
|
_custom_json?: any;
|
|
857
857
|
verified_on?: string;
|
|
858
|
-
created_by?:
|
|
858
|
+
created_by?: UserSerializer;
|
|
859
859
|
created_on?: string;
|
|
860
|
-
company?:
|
|
861
|
-
address:
|
|
860
|
+
company?: GetCompanySerializer;
|
|
861
|
+
address: GetAddressSerializer;
|
|
862
862
|
warnings?: any;
|
|
863
863
|
store_type?: string;
|
|
864
|
-
manager?:
|
|
864
|
+
manager?: LocationManagerSerializer;
|
|
865
865
|
auto_invoice?: boolean;
|
|
866
866
|
modified_on?: string;
|
|
867
867
|
uid?: number;
|
|
868
|
-
timing?:
|
|
868
|
+
timing?: LocationDayWiseSerializer[];
|
|
869
869
|
stage?: string;
|
|
870
870
|
documents?: Document[];
|
|
871
871
|
credit_note?: boolean;
|
|
872
|
-
holiday?:
|
|
872
|
+
holiday?: HolidaySchemaSerializer[];
|
|
873
873
|
display_name: string;
|
|
874
|
-
product_return_config?:
|
|
875
|
-
verified_by?:
|
|
874
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
875
|
+
verified_by?: UserSerializer;
|
|
876
876
|
notification_emails?: string[];
|
|
877
|
-
modified_by?:
|
|
877
|
+
modified_by?: UserSerializer;
|
|
878
878
|
tags?: string[];
|
|
879
879
|
default_order_acceptance_timing?: boolean;
|
|
880
|
-
order_acceptance_timing?:
|
|
880
|
+
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
881
881
|
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
882
882
|
bulk_shipment?: boolean;
|
|
883
883
|
auto_assign_courier_partner?: boolean;
|
|
884
884
|
};
|
|
885
|
-
/** @returns {
|
|
886
|
-
declare function
|
|
887
|
-
type
|
|
888
|
-
items?:
|
|
885
|
+
/** @returns {LocationListSerializer} */
|
|
886
|
+
declare function LocationListSerializer(): LocationListSerializer;
|
|
887
|
+
type LocationListSerializer = {
|
|
888
|
+
items?: GetLocationSerializer[];
|
|
889
889
|
page?: Page;
|
|
890
890
|
};
|
|
891
|
-
/** @returns {
|
|
892
|
-
declare function
|
|
893
|
-
type
|
|
891
|
+
/** @returns {AddressSerializer} */
|
|
892
|
+
declare function AddressSerializer(): AddressSerializer;
|
|
893
|
+
type AddressSerializer = {
|
|
894
894
|
landmark?: string;
|
|
895
895
|
country_code: string;
|
|
896
896
|
pincode?: number;
|
|
@@ -905,27 +905,27 @@ type AddressSchema = {
|
|
|
905
905
|
city?: string;
|
|
906
906
|
latitude: number;
|
|
907
907
|
};
|
|
908
|
-
/** @returns {
|
|
909
|
-
declare function
|
|
910
|
-
type
|
|
908
|
+
/** @returns {LocationSerializer} */
|
|
909
|
+
declare function LocationSerializer(): LocationSerializer;
|
|
910
|
+
type LocationSerializer = {
|
|
911
911
|
code: string;
|
|
912
|
-
gst_credentials?:
|
|
912
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
913
913
|
contact_numbers?: SellerPhoneNumber[];
|
|
914
914
|
name: string;
|
|
915
915
|
_custom_json?: any;
|
|
916
916
|
warnings?: any;
|
|
917
|
-
address:
|
|
917
|
+
address: AddressSerializer;
|
|
918
918
|
company: number;
|
|
919
919
|
store_type?: string;
|
|
920
|
-
manager?:
|
|
920
|
+
manager?: LocationManagerSerializer;
|
|
921
921
|
auto_invoice?: boolean;
|
|
922
922
|
uid?: number;
|
|
923
|
-
timing?:
|
|
923
|
+
timing?: LocationDayWiseSerializer[];
|
|
924
924
|
stage?: string;
|
|
925
925
|
documents: Document[];
|
|
926
926
|
credit_note?: boolean;
|
|
927
|
-
holiday?:
|
|
928
|
-
product_return_config?:
|
|
927
|
+
holiday?: HolidaySchemaSerializer[];
|
|
928
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
929
929
|
display_name: string;
|
|
930
930
|
notification_emails?: string[];
|
|
931
931
|
tags?: string[];
|
|
@@ -938,15 +938,15 @@ type LocationSchema = {
|
|
|
938
938
|
* - Order
|
|
939
939
|
* acceptance timing of the store
|
|
940
940
|
*/
|
|
941
|
-
order_acceptance_timing?:
|
|
941
|
+
order_acceptance_timing?: LocationDayWiseSerializer[];
|
|
942
942
|
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
943
943
|
bulk_shipment?: boolean;
|
|
944
944
|
auto_assign_courier_partner?: boolean;
|
|
945
945
|
};
|
|
946
|
-
/** @returns {
|
|
947
|
-
declare function
|
|
948
|
-
type
|
|
949
|
-
data?:
|
|
946
|
+
/** @returns {BulkLocationSerializer} */
|
|
947
|
+
declare function BulkLocationSerializer(): BulkLocationSerializer;
|
|
948
|
+
type BulkLocationSerializer = {
|
|
949
|
+
data?: LocationSerializer[];
|
|
950
950
|
};
|
|
951
951
|
/** @returns {AverageOrderProcessingTime} */
|
|
952
952
|
declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
|