@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0
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 +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- 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 +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export = CompanyProfilePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef CompanyTaxesSchema
|
|
4
4
|
* @property {string} [effective_date]
|
|
5
5
|
* @property {number} [rate]
|
|
6
6
|
* @property {boolean} [enable]
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* @typedef
|
|
9
|
+
* @typedef UserSchema
|
|
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 GetAddressSchema
|
|
55
55
|
* @property {string} [landmark]
|
|
56
56
|
* @property {string} [country_code]
|
|
57
57
|
* @property {string} [pincode]
|
|
@@ -67,14 +67,14 @@ export = CompanyProfilePlatformModel;
|
|
|
67
67
|
* @property {number} latitude
|
|
68
68
|
*/
|
|
69
69
|
/**
|
|
70
|
-
* @typedef
|
|
70
|
+
* @typedef GetCompanyProfileSerializerResponseSchema
|
|
71
71
|
* @property {string} [business_info]
|
|
72
|
-
* @property {
|
|
72
|
+
* @property {CompanyTaxesSchema[]} [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 {UserSchema} [created_by]
|
|
78
78
|
* @property {string} [created_on]
|
|
79
79
|
* @property {Object} [warnings]
|
|
80
80
|
* @property {BusinessDetails} [business_details]
|
|
@@ -87,30 +87,29 @@ export = CompanyProfilePlatformModel;
|
|
|
87
87
|
* @property {string} [stage]
|
|
88
88
|
* @property {string} company_type
|
|
89
89
|
* @property {Document[]} [documents]
|
|
90
|
-
* @property {
|
|
91
|
-
* @property {
|
|
90
|
+
* @property {GetAddressSchema[]} [addresses]
|
|
91
|
+
* @property {UserSchema} [verified_by]
|
|
92
92
|
* @property {string[]} [notification_emails]
|
|
93
|
-
* @property {
|
|
93
|
+
* @property {UserSchema} [modified_by]
|
|
94
94
|
*/
|
|
95
95
|
/**
|
|
96
|
-
* @typedef
|
|
97
|
-
* @property {
|
|
98
|
-
*
|
|
99
|
-
* @property {
|
|
100
|
-
*
|
|
101
|
-
* @property {number} [status]
|
|
96
|
+
* @typedef ErrorResponseSchema
|
|
97
|
+
* @property {string} [message] - A descriptive message providing details about
|
|
98
|
+
* the error, intended to convey the nature and context of the issue.
|
|
99
|
+
* @property {Object} [error] - An object containing additional error details,
|
|
100
|
+
* which may vary depending on the error type.
|
|
102
101
|
*/
|
|
103
102
|
/**
|
|
104
|
-
* @typedef
|
|
103
|
+
* @typedef CompanyRequestTaxesSchema
|
|
105
104
|
* @property {string} [effective_date]
|
|
106
105
|
* @property {number} [rate]
|
|
107
106
|
* @property {boolean} [enable]
|
|
108
107
|
*/
|
|
109
108
|
/**
|
|
110
|
-
* @typedef
|
|
109
|
+
* @typedef CreateUpdateAddressSchema
|
|
111
110
|
* @property {string} [landmark]
|
|
112
111
|
* @property {string} [country_code]
|
|
113
|
-
* @property {string}
|
|
112
|
+
* @property {string} pincode
|
|
114
113
|
* @property {string} address_type
|
|
115
114
|
* @property {number} longitude
|
|
116
115
|
* @property {string} country
|
|
@@ -127,20 +126,19 @@ export = CompanyProfilePlatformModel;
|
|
|
127
126
|
* @property {Object} [warnings]
|
|
128
127
|
* @property {string} [company_type]
|
|
129
128
|
* @property {Object} [_custom_json]
|
|
130
|
-
* @property {
|
|
129
|
+
* @property {CompanyRequestTaxesSchema[]} [taxes]
|
|
131
130
|
* @property {BusinessDetails} [business_details]
|
|
132
131
|
* @property {Document[]} [documents]
|
|
133
132
|
* @property {string} [business_type]
|
|
134
|
-
* @property {
|
|
133
|
+
* @property {CreateUpdateAddressSchema[]} [addresses]
|
|
135
134
|
* @property {string[]} [notification_emails]
|
|
136
135
|
* @property {ContactDetails} [contact_details]
|
|
137
136
|
* @property {string} [reject_reason]
|
|
138
137
|
* @property {string} [name]
|
|
139
138
|
*/
|
|
140
139
|
/**
|
|
141
|
-
* @typedef
|
|
140
|
+
* @typedef ProfileSuccessResponseSchema
|
|
142
141
|
* @property {number} [uid]
|
|
143
|
-
* @property {Object[]} [data]
|
|
144
142
|
* @property {string} [message]
|
|
145
143
|
* @property {boolean} [success]
|
|
146
144
|
*/
|
|
@@ -150,7 +148,7 @@ export = CompanyProfilePlatformModel;
|
|
|
150
148
|
* @property {number} [verified]
|
|
151
149
|
*/
|
|
152
150
|
/**
|
|
153
|
-
* @typedef
|
|
151
|
+
* @typedef MetricsSchema
|
|
154
152
|
* @property {string} [stage]
|
|
155
153
|
* @property {DocumentsObj} [store]
|
|
156
154
|
* @property {DocumentsObj} [company_documents]
|
|
@@ -160,18 +158,18 @@ export = CompanyProfilePlatformModel;
|
|
|
160
158
|
* @property {DocumentsObj} [brand]
|
|
161
159
|
*/
|
|
162
160
|
/**
|
|
163
|
-
* @typedef
|
|
161
|
+
* @typedef BrandBannerSchema
|
|
164
162
|
* @property {string} portrait
|
|
165
163
|
* @property {string} landscape
|
|
166
164
|
*/
|
|
167
165
|
/**
|
|
168
|
-
* @typedef
|
|
169
|
-
* @property {
|
|
170
|
-
* @property {
|
|
166
|
+
* @typedef GetBrandResponseSchema
|
|
167
|
+
* @property {UserSchema} [modified_by]
|
|
168
|
+
* @property {BrandBannerSchema} [banner]
|
|
171
169
|
* @property {string} name
|
|
172
170
|
* @property {Object} [_custom_json]
|
|
173
171
|
* @property {string} [verified_on]
|
|
174
|
-
* @property {
|
|
172
|
+
* @property {UserSchema} [created_by]
|
|
175
173
|
* @property {string} [created_on]
|
|
176
174
|
* @property {Object} [warnings]
|
|
177
175
|
* @property {Object} [_locale_language]
|
|
@@ -181,13 +179,13 @@ export = CompanyProfilePlatformModel;
|
|
|
181
179
|
* @property {number} [uid]
|
|
182
180
|
* @property {string} [reject_reason]
|
|
183
181
|
* @property {string} [stage]
|
|
184
|
-
* @property {
|
|
182
|
+
* @property {UserSchema} [verified_by]
|
|
185
183
|
* @property {string} [slug_key]
|
|
186
184
|
* @property {string} [logo]
|
|
187
185
|
* @property {string} [description]
|
|
188
186
|
*/
|
|
189
187
|
/**
|
|
190
|
-
* @typedef
|
|
188
|
+
* @typedef CreateBrandRequestSchema
|
|
191
189
|
* @property {Object} [_custom_json]
|
|
192
190
|
* @property {Object} [_locale_language]
|
|
193
191
|
* @property {string[]} [synonyms]
|
|
@@ -196,10 +194,23 @@ export = CompanyProfilePlatformModel;
|
|
|
196
194
|
* @property {string} logo
|
|
197
195
|
* @property {string} [brand_tier]
|
|
198
196
|
* @property {number} [uid]
|
|
199
|
-
* @property {
|
|
197
|
+
* @property {BrandBannerSchema} banner
|
|
200
198
|
* @property {string} name
|
|
201
199
|
* @property {string} [slug_key]
|
|
202
200
|
*/
|
|
201
|
+
/**
|
|
202
|
+
* @typedef UpdateBrandRequestSchema
|
|
203
|
+
* @property {Object} [_custom_json]
|
|
204
|
+
* @property {Object} [_locale_language]
|
|
205
|
+
* @property {string[]} [synonyms]
|
|
206
|
+
* @property {number} [company_id]
|
|
207
|
+
* @property {string} [description]
|
|
208
|
+
* @property {string} logo
|
|
209
|
+
* @property {string} [brand_tier]
|
|
210
|
+
* @property {number} [uid]
|
|
211
|
+
* @property {BrandBannerSchema} banner
|
|
212
|
+
* @property {string} name
|
|
213
|
+
*/
|
|
203
214
|
/**
|
|
204
215
|
* @typedef CompanySocialAccounts
|
|
205
216
|
* @property {string} name
|
|
@@ -211,40 +222,40 @@ export = CompanyProfilePlatformModel;
|
|
|
211
222
|
* @property {string} [website_url]
|
|
212
223
|
*/
|
|
213
224
|
/**
|
|
214
|
-
* @typedef
|
|
225
|
+
* @typedef CompanySchema
|
|
215
226
|
* @property {string} [stage]
|
|
216
227
|
* @property {Object} [_custom_json]
|
|
217
228
|
* @property {string} [verified_on]
|
|
218
|
-
* @property {
|
|
229
|
+
* @property {UserSchema} [verified_by]
|
|
219
230
|
* @property {string} [created_on]
|
|
220
|
-
* @property {
|
|
231
|
+
* @property {UserSchema} [created_by]
|
|
221
232
|
* @property {string} company_type
|
|
222
233
|
* @property {string} [modified_on]
|
|
223
234
|
* @property {string[]} [market_channels]
|
|
224
|
-
* @property {string}
|
|
225
|
-
* @property {
|
|
235
|
+
* @property {string} business_type
|
|
236
|
+
* @property {GetAddressSchema[]} [addresses]
|
|
226
237
|
* @property {string[]} [notification_emails]
|
|
227
238
|
* @property {CompanyDetails} [details]
|
|
228
239
|
* @property {BusinessCountryInfo} [business_country_info]
|
|
229
240
|
* @property {number} [uid]
|
|
230
241
|
* @property {string} [reject_reason]
|
|
231
242
|
* @property {string} [name]
|
|
232
|
-
* @property {
|
|
243
|
+
* @property {UserSchema} [modified_by]
|
|
233
244
|
*/
|
|
234
245
|
/**
|
|
235
|
-
* @typedef
|
|
246
|
+
* @typedef CompanyBrandSchema
|
|
236
247
|
* @property {string} [stage]
|
|
237
248
|
* @property {string} [verified_on]
|
|
238
|
-
* @property {
|
|
249
|
+
* @property {UserSchema} [verified_by]
|
|
239
250
|
* @property {string} [created_on]
|
|
240
|
-
* @property {
|
|
241
|
-
* @property {
|
|
251
|
+
* @property {UserSchema} [created_by]
|
|
252
|
+
* @property {CompanySchema} [company]
|
|
242
253
|
* @property {Object} [warnings]
|
|
243
254
|
* @property {string} [modified_on]
|
|
244
255
|
* @property {number} [uid]
|
|
245
256
|
* @property {string} [reject_reason]
|
|
246
|
-
* @property {
|
|
247
|
-
* @property {
|
|
257
|
+
* @property {GetBrandResponseSchema} [brand]
|
|
258
|
+
* @property {UserSchema} [modified_by]
|
|
248
259
|
*/
|
|
249
260
|
/**
|
|
250
261
|
* @typedef Page
|
|
@@ -255,123 +266,123 @@ export = CompanyProfilePlatformModel;
|
|
|
255
266
|
* @property {number} [current] - The current page number.
|
|
256
267
|
* @property {string} type - The type of the page, such as 'PageType'.
|
|
257
268
|
* @property {number} [size] - The number of items per page.
|
|
258
|
-
* @property {number} [
|
|
269
|
+
* @property {number} [page_size] - The number of items per page.
|
|
259
270
|
*/
|
|
260
271
|
/**
|
|
261
|
-
* @typedef
|
|
262
|
-
* @property {
|
|
272
|
+
* @typedef CompanyBrandListSchema
|
|
273
|
+
* @property {CompanyBrandSchema[]} [items]
|
|
263
274
|
* @property {Page} [page]
|
|
264
275
|
*/
|
|
265
276
|
/**
|
|
266
|
-
* @typedef
|
|
277
|
+
* @typedef CompanyBrandPostRequestSchema
|
|
267
278
|
* @property {number} [uid]
|
|
268
279
|
* @property {number[]} brands
|
|
269
280
|
* @property {number} company
|
|
270
281
|
*/
|
|
271
282
|
/**
|
|
272
|
-
* @typedef
|
|
283
|
+
* @typedef InvoiceCredSchema
|
|
273
284
|
* @property {string} [username]
|
|
274
285
|
* @property {boolean} [enabled]
|
|
275
286
|
* @property {string} [password]
|
|
276
287
|
*/
|
|
277
288
|
/**
|
|
278
|
-
* @typedef
|
|
279
|
-
* @property {
|
|
280
|
-
* @property {
|
|
289
|
+
* @typedef InvoiceDetailsSchema
|
|
290
|
+
* @property {InvoiceCredSchema} [e_invoice]
|
|
291
|
+
* @property {InvoiceCredSchema} [e_waybill]
|
|
281
292
|
*/
|
|
282
293
|
/**
|
|
283
|
-
* @typedef
|
|
294
|
+
* @typedef GetCompanySchema
|
|
284
295
|
* @property {string} [stage]
|
|
285
296
|
* @property {string} [verified_on]
|
|
286
|
-
* @property {
|
|
297
|
+
* @property {UserSchema} [verified_by]
|
|
287
298
|
* @property {string} [created_on]
|
|
288
|
-
* @property {
|
|
299
|
+
* @property {UserSchema} [created_by]
|
|
289
300
|
* @property {string} [company_type]
|
|
290
301
|
* @property {string} [modified_on]
|
|
291
302
|
* @property {string} [business_type]
|
|
292
|
-
* @property {
|
|
303
|
+
* @property {GetAddressSchema[]} [addresses]
|
|
293
304
|
* @property {number} [uid]
|
|
294
305
|
* @property {string} [reject_reason]
|
|
295
306
|
* @property {string} [name]
|
|
296
|
-
* @property {
|
|
307
|
+
* @property {UserSchema} [modified_by]
|
|
297
308
|
*/
|
|
298
309
|
/**
|
|
299
|
-
* @typedef
|
|
310
|
+
* @typedef LocationManagerSchema
|
|
300
311
|
* @property {string} [email]
|
|
301
312
|
* @property {SellerPhoneNumber} mobile_no
|
|
302
313
|
* @property {string} [name]
|
|
303
314
|
*/
|
|
304
315
|
/**
|
|
305
|
-
* @typedef
|
|
316
|
+
* @typedef LocationTimingSchema
|
|
306
317
|
* @property {number} hour
|
|
307
318
|
* @property {number} minute
|
|
308
319
|
*/
|
|
309
320
|
/**
|
|
310
|
-
* @typedef
|
|
321
|
+
* @typedef LocationDayWiseSchema
|
|
311
322
|
* @property {boolean} open
|
|
312
323
|
* @property {string} weekday
|
|
313
|
-
* @property {
|
|
314
|
-
* @property {
|
|
324
|
+
* @property {LocationTimingSchema} [opening]
|
|
325
|
+
* @property {LocationTimingSchema} [closing]
|
|
315
326
|
*/
|
|
316
327
|
/**
|
|
317
|
-
* @typedef
|
|
328
|
+
* @typedef HolidayDateSchema
|
|
318
329
|
* @property {string} end_date
|
|
319
330
|
* @property {string} start_date
|
|
320
331
|
*/
|
|
321
332
|
/**
|
|
322
|
-
* @typedef
|
|
323
|
-
* @property {
|
|
333
|
+
* @typedef HolidaySchemaSchema
|
|
334
|
+
* @property {HolidayDateSchema} date
|
|
324
335
|
* @property {string} title
|
|
325
336
|
* @property {string} holiday_type
|
|
326
337
|
*/
|
|
327
338
|
/**
|
|
328
|
-
* @typedef
|
|
339
|
+
* @typedef ProductReturnConfigSchema
|
|
329
340
|
* @property {boolean} [on_same_store]
|
|
330
341
|
* @property {number} [store_uid]
|
|
331
342
|
*/
|
|
332
343
|
/**
|
|
333
|
-
* @typedef
|
|
344
|
+
* @typedef GetLocationSchema
|
|
334
345
|
* @property {string} code
|
|
335
346
|
* @property {string} [phone_number]
|
|
336
347
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
337
|
-
* @property {
|
|
348
|
+
* @property {InvoiceDetailsSchema} [gst_credentials]
|
|
338
349
|
* @property {string} name
|
|
339
350
|
* @property {Object} [_custom_json]
|
|
340
351
|
* @property {string} [verified_on]
|
|
341
|
-
* @property {
|
|
352
|
+
* @property {UserSchema} [created_by]
|
|
342
353
|
* @property {string} [created_on]
|
|
343
|
-
* @property {
|
|
344
|
-
* @property {
|
|
354
|
+
* @property {GetCompanySchema} [company]
|
|
355
|
+
* @property {GetAddressSchema} address
|
|
345
356
|
* @property {Object} [warnings]
|
|
346
357
|
* @property {string} [store_type]
|
|
347
|
-
* @property {
|
|
358
|
+
* @property {LocationManagerSchema} [manager]
|
|
348
359
|
* @property {boolean} [auto_invoice]
|
|
349
360
|
* @property {string} [modified_on]
|
|
350
361
|
* @property {number} [uid]
|
|
351
|
-
* @property {
|
|
362
|
+
* @property {LocationDayWiseSchema[]} [timing]
|
|
352
363
|
* @property {string} [stage]
|
|
353
364
|
* @property {Document[]} [documents]
|
|
354
365
|
* @property {boolean} [credit_note]
|
|
355
|
-
* @property {
|
|
366
|
+
* @property {HolidaySchemaSchema[]} [holiday]
|
|
356
367
|
* @property {string} display_name
|
|
357
|
-
* @property {
|
|
358
|
-
* @property {
|
|
368
|
+
* @property {ProductReturnConfigSchema} [product_return_config]
|
|
369
|
+
* @property {UserSchema} [verified_by]
|
|
359
370
|
* @property {string[]} [notification_emails]
|
|
360
|
-
* @property {
|
|
371
|
+
* @property {UserSchema} [modified_by]
|
|
361
372
|
* @property {string[]} [tags]
|
|
362
373
|
* @property {boolean} [default_order_acceptance_timing]
|
|
363
|
-
* @property {
|
|
374
|
+
* @property {LocationDayWiseSchema[]} [order_acceptance_timing]
|
|
364
375
|
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
365
376
|
* @property {boolean} [bulk_shipment]
|
|
366
377
|
* @property {boolean} [auto_assign_courier_partner]
|
|
367
378
|
*/
|
|
368
379
|
/**
|
|
369
|
-
* @typedef
|
|
370
|
-
* @property {
|
|
380
|
+
* @typedef LocationListSchema
|
|
381
|
+
* @property {GetLocationSchema[]} [items]
|
|
371
382
|
* @property {Page} [page]
|
|
372
383
|
*/
|
|
373
384
|
/**
|
|
374
|
-
* @typedef
|
|
385
|
+
* @typedef AddressSchema
|
|
375
386
|
* @property {string} [landmark]
|
|
376
387
|
* @property {string} country_code
|
|
377
388
|
* @property {string} [pincode]
|
|
@@ -387,39 +398,39 @@ export = CompanyProfilePlatformModel;
|
|
|
387
398
|
* @property {number} latitude
|
|
388
399
|
*/
|
|
389
400
|
/**
|
|
390
|
-
* @typedef
|
|
401
|
+
* @typedef LocationSchema
|
|
391
402
|
* @property {string} code
|
|
392
|
-
* @property {
|
|
403
|
+
* @property {InvoiceDetailsSchema} [gst_credentials]
|
|
393
404
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
394
405
|
* @property {string} name
|
|
395
406
|
* @property {Object} [_custom_json]
|
|
396
407
|
* @property {Object} [warnings]
|
|
397
|
-
* @property {
|
|
408
|
+
* @property {AddressSchema} address
|
|
398
409
|
* @property {number} company
|
|
399
410
|
* @property {string} [store_type]
|
|
400
|
-
* @property {
|
|
411
|
+
* @property {LocationManagerSchema} [manager]
|
|
401
412
|
* @property {boolean} [auto_invoice]
|
|
402
413
|
* @property {number} [uid]
|
|
403
|
-
* @property {
|
|
414
|
+
* @property {LocationDayWiseSchema[]} [timing]
|
|
404
415
|
* @property {string} [stage]
|
|
405
416
|
* @property {Document[]} documents
|
|
406
417
|
* @property {boolean} [credit_note]
|
|
407
|
-
* @property {
|
|
408
|
-
* @property {
|
|
418
|
+
* @property {HolidaySchemaSchema[]} [holiday]
|
|
419
|
+
* @property {ProductReturnConfigSchema} [product_return_config]
|
|
409
420
|
* @property {string} display_name
|
|
410
421
|
* @property {string[]} [notification_emails]
|
|
411
422
|
* @property {string[]} [tags]
|
|
412
423
|
* @property {boolean} [default_order_acceptance_timing] - Flag to set
|
|
413
424
|
* order_acceptance_timing as default timing
|
|
414
|
-
* @property {
|
|
425
|
+
* @property {LocationDayWiseSchema[]} [order_acceptance_timing] - Order
|
|
415
426
|
* acceptance timing of the store
|
|
416
427
|
* @property {AverageOrderProcessingTime} [avg_order_processing_time]
|
|
417
428
|
* @property {boolean} [bulk_shipment]
|
|
418
429
|
* @property {boolean} [auto_assign_courier_partner]
|
|
419
430
|
*/
|
|
420
431
|
/**
|
|
421
|
-
* @typedef
|
|
422
|
-
* @property {
|
|
432
|
+
* @typedef BulkLocationSchema
|
|
433
|
+
* @property {LocationSchema[]} [data]
|
|
423
434
|
*/
|
|
424
435
|
/**
|
|
425
436
|
* @typedef AverageOrderProcessingTime
|
|
@@ -434,18 +445,18 @@ export = CompanyProfilePlatformModel;
|
|
|
434
445
|
declare class CompanyProfilePlatformModel {
|
|
435
446
|
}
|
|
436
447
|
declare namespace CompanyProfilePlatformModel {
|
|
437
|
-
export {
|
|
448
|
+
export { CompanyTaxesSchema, UserSchema, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSchema, GetCompanyProfileSerializerResponseSchema, ErrorResponseSchema, CompanyRequestTaxesSchema, CreateUpdateAddressSchema, UpdateCompany, ProfileSuccessResponseSchema, DocumentsObj, MetricsSchema, BrandBannerSchema, GetBrandResponseSchema, CreateBrandRequestSchema, UpdateBrandRequestSchema, CompanySocialAccounts, CompanyDetails, CompanySchema, CompanyBrandSchema, Page, CompanyBrandListSchema, CompanyBrandPostRequestSchema, InvoiceCredSchema, InvoiceDetailsSchema, GetCompanySchema, LocationManagerSchema, LocationTimingSchema, LocationDayWiseSchema, HolidayDateSchema, HolidaySchemaSchema, ProductReturnConfigSchema, GetLocationSchema, LocationListSchema, AddressSchema, LocationSchema, BulkLocationSchema, AverageOrderProcessingTime, StoreTagsResponseSchema };
|
|
438
449
|
}
|
|
439
|
-
/** @returns {
|
|
440
|
-
declare function
|
|
441
|
-
type
|
|
450
|
+
/** @returns {CompanyTaxesSchema} */
|
|
451
|
+
declare function CompanyTaxesSchema(): CompanyTaxesSchema;
|
|
452
|
+
type CompanyTaxesSchema = {
|
|
442
453
|
effective_date?: string;
|
|
443
454
|
rate?: number;
|
|
444
455
|
enable?: boolean;
|
|
445
456
|
};
|
|
446
|
-
/** @returns {
|
|
447
|
-
declare function
|
|
448
|
-
type
|
|
457
|
+
/** @returns {UserSchema} */
|
|
458
|
+
declare function UserSchema(): UserSchema;
|
|
459
|
+
type UserSchema = {
|
|
449
460
|
user_id?: string;
|
|
450
461
|
contact?: string;
|
|
451
462
|
username?: string;
|
|
@@ -496,9 +507,9 @@ type Document = {
|
|
|
496
507
|
type: string;
|
|
497
508
|
url?: string;
|
|
498
509
|
};
|
|
499
|
-
/** @returns {
|
|
500
|
-
declare function
|
|
501
|
-
type
|
|
510
|
+
/** @returns {GetAddressSchema} */
|
|
511
|
+
declare function GetAddressSchema(): GetAddressSchema;
|
|
512
|
+
type GetAddressSchema = {
|
|
502
513
|
landmark?: string;
|
|
503
514
|
country_code?: string;
|
|
504
515
|
pincode?: string;
|
|
@@ -513,16 +524,16 @@ type GetAddressSerializer = {
|
|
|
513
524
|
city?: string;
|
|
514
525
|
latitude: number;
|
|
515
526
|
};
|
|
516
|
-
/** @returns {
|
|
517
|
-
declare function
|
|
518
|
-
type
|
|
527
|
+
/** @returns {GetCompanyProfileSerializerResponseSchema} */
|
|
528
|
+
declare function GetCompanyProfileSerializerResponseSchema(): GetCompanyProfileSerializerResponseSchema;
|
|
529
|
+
type GetCompanyProfileSerializerResponseSchema = {
|
|
519
530
|
business_info?: string;
|
|
520
|
-
taxes?:
|
|
531
|
+
taxes?: CompanyTaxesSchema[];
|
|
521
532
|
business_type?: string;
|
|
522
533
|
name?: string;
|
|
523
534
|
_custom_json?: any;
|
|
524
535
|
verified_on?: string;
|
|
525
|
-
created_by?:
|
|
536
|
+
created_by?: UserSchema;
|
|
526
537
|
created_on?: string;
|
|
527
538
|
warnings?: any;
|
|
528
539
|
business_details?: BusinessDetails;
|
|
@@ -535,33 +546,38 @@ type GetCompanyProfileSerializerResponse = {
|
|
|
535
546
|
stage?: string;
|
|
536
547
|
company_type: string;
|
|
537
548
|
documents?: Document[];
|
|
538
|
-
addresses?:
|
|
539
|
-
verified_by?:
|
|
549
|
+
addresses?: GetAddressSchema[];
|
|
550
|
+
verified_by?: UserSchema;
|
|
540
551
|
notification_emails?: string[];
|
|
541
|
-
modified_by?:
|
|
552
|
+
modified_by?: UserSchema;
|
|
542
553
|
};
|
|
543
|
-
/** @returns {
|
|
544
|
-
declare function
|
|
545
|
-
type
|
|
546
|
-
|
|
547
|
-
|
|
554
|
+
/** @returns {ErrorResponseSchema} */
|
|
555
|
+
declare function ErrorResponseSchema(): ErrorResponseSchema;
|
|
556
|
+
type ErrorResponseSchema = {
|
|
557
|
+
/**
|
|
558
|
+
* - A descriptive message providing details about
|
|
559
|
+
* the error, intended to convey the nature and context of the issue.
|
|
560
|
+
*/
|
|
548
561
|
message?: string;
|
|
549
|
-
|
|
550
|
-
|
|
562
|
+
/**
|
|
563
|
+
* - An object containing additional error details,
|
|
564
|
+
* which may vary depending on the error type.
|
|
565
|
+
*/
|
|
566
|
+
error?: any;
|
|
551
567
|
};
|
|
552
|
-
/** @returns {
|
|
553
|
-
declare function
|
|
554
|
-
type
|
|
568
|
+
/** @returns {CompanyRequestTaxesSchema} */
|
|
569
|
+
declare function CompanyRequestTaxesSchema(): CompanyRequestTaxesSchema;
|
|
570
|
+
type CompanyRequestTaxesSchema = {
|
|
555
571
|
effective_date?: string;
|
|
556
572
|
rate?: number;
|
|
557
573
|
enable?: boolean;
|
|
558
574
|
};
|
|
559
|
-
/** @returns {
|
|
560
|
-
declare function
|
|
561
|
-
type
|
|
575
|
+
/** @returns {CreateUpdateAddressSchema} */
|
|
576
|
+
declare function CreateUpdateAddressSchema(): CreateUpdateAddressSchema;
|
|
577
|
+
type CreateUpdateAddressSchema = {
|
|
562
578
|
landmark?: string;
|
|
563
579
|
country_code?: string;
|
|
564
|
-
pincode
|
|
580
|
+
pincode: string;
|
|
565
581
|
address_type: string;
|
|
566
582
|
longitude: number;
|
|
567
583
|
country: string;
|
|
@@ -579,21 +595,20 @@ type UpdateCompany = {
|
|
|
579
595
|
warnings?: any;
|
|
580
596
|
company_type?: string;
|
|
581
597
|
_custom_json?: any;
|
|
582
|
-
taxes?:
|
|
598
|
+
taxes?: CompanyRequestTaxesSchema[];
|
|
583
599
|
business_details?: BusinessDetails;
|
|
584
600
|
documents?: Document[];
|
|
585
601
|
business_type?: string;
|
|
586
|
-
addresses?:
|
|
602
|
+
addresses?: CreateUpdateAddressSchema[];
|
|
587
603
|
notification_emails?: string[];
|
|
588
604
|
contact_details?: ContactDetails;
|
|
589
605
|
reject_reason?: string;
|
|
590
606
|
name?: string;
|
|
591
607
|
};
|
|
592
|
-
/** @returns {
|
|
593
|
-
declare function
|
|
594
|
-
type
|
|
608
|
+
/** @returns {ProfileSuccessResponseSchema} */
|
|
609
|
+
declare function ProfileSuccessResponseSchema(): ProfileSuccessResponseSchema;
|
|
610
|
+
type ProfileSuccessResponseSchema = {
|
|
595
611
|
uid?: number;
|
|
596
|
-
data?: any[];
|
|
597
612
|
message?: string;
|
|
598
613
|
success?: boolean;
|
|
599
614
|
};
|
|
@@ -603,9 +618,9 @@ type DocumentsObj = {
|
|
|
603
618
|
pending?: number;
|
|
604
619
|
verified?: number;
|
|
605
620
|
};
|
|
606
|
-
/** @returns {
|
|
607
|
-
declare function
|
|
608
|
-
type
|
|
621
|
+
/** @returns {MetricsSchema} */
|
|
622
|
+
declare function MetricsSchema(): MetricsSchema;
|
|
623
|
+
type MetricsSchema = {
|
|
609
624
|
stage?: string;
|
|
610
625
|
store?: DocumentsObj;
|
|
611
626
|
company_documents?: DocumentsObj;
|
|
@@ -614,21 +629,21 @@ type MetricsSerializer = {
|
|
|
614
629
|
uid?: number;
|
|
615
630
|
brand?: DocumentsObj;
|
|
616
631
|
};
|
|
617
|
-
/** @returns {
|
|
618
|
-
declare function
|
|
619
|
-
type
|
|
632
|
+
/** @returns {BrandBannerSchema} */
|
|
633
|
+
declare function BrandBannerSchema(): BrandBannerSchema;
|
|
634
|
+
type BrandBannerSchema = {
|
|
620
635
|
portrait: string;
|
|
621
636
|
landscape: string;
|
|
622
637
|
};
|
|
623
|
-
/** @returns {
|
|
624
|
-
declare function
|
|
625
|
-
type
|
|
626
|
-
modified_by?:
|
|
627
|
-
banner?:
|
|
638
|
+
/** @returns {GetBrandResponseSchema} */
|
|
639
|
+
declare function GetBrandResponseSchema(): GetBrandResponseSchema;
|
|
640
|
+
type GetBrandResponseSchema = {
|
|
641
|
+
modified_by?: UserSchema;
|
|
642
|
+
banner?: BrandBannerSchema;
|
|
628
643
|
name: string;
|
|
629
644
|
_custom_json?: any;
|
|
630
645
|
verified_on?: string;
|
|
631
|
-
created_by?:
|
|
646
|
+
created_by?: UserSchema;
|
|
632
647
|
created_on?: string;
|
|
633
648
|
warnings?: any;
|
|
634
649
|
_locale_language?: any;
|
|
@@ -638,14 +653,14 @@ type GetBrandResponseSerializer = {
|
|
|
638
653
|
uid?: number;
|
|
639
654
|
reject_reason?: string;
|
|
640
655
|
stage?: string;
|
|
641
|
-
verified_by?:
|
|
656
|
+
verified_by?: UserSchema;
|
|
642
657
|
slug_key?: string;
|
|
643
658
|
logo?: string;
|
|
644
659
|
description?: string;
|
|
645
660
|
};
|
|
646
|
-
/** @returns {
|
|
647
|
-
declare function
|
|
648
|
-
type
|
|
661
|
+
/** @returns {CreateBrandRequestSchema} */
|
|
662
|
+
declare function CreateBrandRequestSchema(): CreateBrandRequestSchema;
|
|
663
|
+
type CreateBrandRequestSchema = {
|
|
649
664
|
_custom_json?: any;
|
|
650
665
|
_locale_language?: any;
|
|
651
666
|
synonyms?: string[];
|
|
@@ -654,10 +669,24 @@ type CreateUpdateBrandRequestSerializer = {
|
|
|
654
669
|
logo: string;
|
|
655
670
|
brand_tier?: string;
|
|
656
671
|
uid?: number;
|
|
657
|
-
banner:
|
|
672
|
+
banner: BrandBannerSchema;
|
|
658
673
|
name: string;
|
|
659
674
|
slug_key?: string;
|
|
660
675
|
};
|
|
676
|
+
/** @returns {UpdateBrandRequestSchema} */
|
|
677
|
+
declare function UpdateBrandRequestSchema(): UpdateBrandRequestSchema;
|
|
678
|
+
type UpdateBrandRequestSchema = {
|
|
679
|
+
_custom_json?: any;
|
|
680
|
+
_locale_language?: any;
|
|
681
|
+
synonyms?: string[];
|
|
682
|
+
company_id?: number;
|
|
683
|
+
description?: string;
|
|
684
|
+
logo: string;
|
|
685
|
+
brand_tier?: string;
|
|
686
|
+
uid?: number;
|
|
687
|
+
banner: BrandBannerSchema;
|
|
688
|
+
name: string;
|
|
689
|
+
};
|
|
661
690
|
/** @returns {CompanySocialAccounts} */
|
|
662
691
|
declare function CompanySocialAccounts(): CompanySocialAccounts;
|
|
663
692
|
type CompanySocialAccounts = {
|
|
@@ -670,43 +699,43 @@ type CompanyDetails = {
|
|
|
670
699
|
socials?: CompanySocialAccounts[];
|
|
671
700
|
website_url?: string;
|
|
672
701
|
};
|
|
673
|
-
/** @returns {
|
|
674
|
-
declare function
|
|
675
|
-
type
|
|
702
|
+
/** @returns {CompanySchema} */
|
|
703
|
+
declare function CompanySchema(): CompanySchema;
|
|
704
|
+
type CompanySchema = {
|
|
676
705
|
stage?: string;
|
|
677
706
|
_custom_json?: any;
|
|
678
707
|
verified_on?: string;
|
|
679
|
-
verified_by?:
|
|
708
|
+
verified_by?: UserSchema;
|
|
680
709
|
created_on?: string;
|
|
681
|
-
created_by?:
|
|
710
|
+
created_by?: UserSchema;
|
|
682
711
|
company_type: string;
|
|
683
712
|
modified_on?: string;
|
|
684
713
|
market_channels?: string[];
|
|
685
|
-
business_type
|
|
686
|
-
addresses?:
|
|
714
|
+
business_type: string;
|
|
715
|
+
addresses?: GetAddressSchema[];
|
|
687
716
|
notification_emails?: string[];
|
|
688
717
|
details?: CompanyDetails;
|
|
689
718
|
business_country_info?: BusinessCountryInfo;
|
|
690
719
|
uid?: number;
|
|
691
720
|
reject_reason?: string;
|
|
692
721
|
name?: string;
|
|
693
|
-
modified_by?:
|
|
722
|
+
modified_by?: UserSchema;
|
|
694
723
|
};
|
|
695
|
-
/** @returns {
|
|
696
|
-
declare function
|
|
697
|
-
type
|
|
724
|
+
/** @returns {CompanyBrandSchema} */
|
|
725
|
+
declare function CompanyBrandSchema(): CompanyBrandSchema;
|
|
726
|
+
type CompanyBrandSchema = {
|
|
698
727
|
stage?: string;
|
|
699
728
|
verified_on?: string;
|
|
700
|
-
verified_by?:
|
|
729
|
+
verified_by?: UserSchema;
|
|
701
730
|
created_on?: string;
|
|
702
|
-
created_by?:
|
|
703
|
-
company?:
|
|
731
|
+
created_by?: UserSchema;
|
|
732
|
+
company?: CompanySchema;
|
|
704
733
|
warnings?: any;
|
|
705
734
|
modified_on?: string;
|
|
706
735
|
uid?: number;
|
|
707
736
|
reject_reason?: string;
|
|
708
|
-
brand?:
|
|
709
|
-
modified_by?:
|
|
737
|
+
brand?: GetBrandResponseSchema;
|
|
738
|
+
modified_by?: UserSchema;
|
|
710
739
|
};
|
|
711
740
|
/** @returns {Page} */
|
|
712
741
|
declare function Page(): Page;
|
|
@@ -740,139 +769,139 @@ type Page = {
|
|
|
740
769
|
*/
|
|
741
770
|
size?: number;
|
|
742
771
|
/**
|
|
743
|
-
* -
|
|
772
|
+
* - The number of items per page.
|
|
744
773
|
*/
|
|
745
|
-
|
|
774
|
+
page_size?: number;
|
|
746
775
|
};
|
|
747
|
-
/** @returns {
|
|
748
|
-
declare function
|
|
749
|
-
type
|
|
750
|
-
items?:
|
|
776
|
+
/** @returns {CompanyBrandListSchema} */
|
|
777
|
+
declare function CompanyBrandListSchema(): CompanyBrandListSchema;
|
|
778
|
+
type CompanyBrandListSchema = {
|
|
779
|
+
items?: CompanyBrandSchema[];
|
|
751
780
|
page?: Page;
|
|
752
781
|
};
|
|
753
|
-
/** @returns {
|
|
754
|
-
declare function
|
|
755
|
-
type
|
|
782
|
+
/** @returns {CompanyBrandPostRequestSchema} */
|
|
783
|
+
declare function CompanyBrandPostRequestSchema(): CompanyBrandPostRequestSchema;
|
|
784
|
+
type CompanyBrandPostRequestSchema = {
|
|
756
785
|
uid?: number;
|
|
757
786
|
brands: number[];
|
|
758
787
|
company: number;
|
|
759
788
|
};
|
|
760
|
-
/** @returns {
|
|
761
|
-
declare function
|
|
762
|
-
type
|
|
789
|
+
/** @returns {InvoiceCredSchema} */
|
|
790
|
+
declare function InvoiceCredSchema(): InvoiceCredSchema;
|
|
791
|
+
type InvoiceCredSchema = {
|
|
763
792
|
username?: string;
|
|
764
793
|
enabled?: boolean;
|
|
765
794
|
password?: string;
|
|
766
795
|
};
|
|
767
|
-
/** @returns {
|
|
768
|
-
declare function
|
|
769
|
-
type
|
|
770
|
-
e_invoice?:
|
|
771
|
-
e_waybill?:
|
|
796
|
+
/** @returns {InvoiceDetailsSchema} */
|
|
797
|
+
declare function InvoiceDetailsSchema(): InvoiceDetailsSchema;
|
|
798
|
+
type InvoiceDetailsSchema = {
|
|
799
|
+
e_invoice?: InvoiceCredSchema;
|
|
800
|
+
e_waybill?: InvoiceCredSchema;
|
|
772
801
|
};
|
|
773
|
-
/** @returns {
|
|
774
|
-
declare function
|
|
775
|
-
type
|
|
802
|
+
/** @returns {GetCompanySchema} */
|
|
803
|
+
declare function GetCompanySchema(): GetCompanySchema;
|
|
804
|
+
type GetCompanySchema = {
|
|
776
805
|
stage?: string;
|
|
777
806
|
verified_on?: string;
|
|
778
|
-
verified_by?:
|
|
807
|
+
verified_by?: UserSchema;
|
|
779
808
|
created_on?: string;
|
|
780
|
-
created_by?:
|
|
809
|
+
created_by?: UserSchema;
|
|
781
810
|
company_type?: string;
|
|
782
811
|
modified_on?: string;
|
|
783
812
|
business_type?: string;
|
|
784
|
-
addresses?:
|
|
813
|
+
addresses?: GetAddressSchema[];
|
|
785
814
|
uid?: number;
|
|
786
815
|
reject_reason?: string;
|
|
787
816
|
name?: string;
|
|
788
|
-
modified_by?:
|
|
817
|
+
modified_by?: UserSchema;
|
|
789
818
|
};
|
|
790
|
-
/** @returns {
|
|
791
|
-
declare function
|
|
792
|
-
type
|
|
819
|
+
/** @returns {LocationManagerSchema} */
|
|
820
|
+
declare function LocationManagerSchema(): LocationManagerSchema;
|
|
821
|
+
type LocationManagerSchema = {
|
|
793
822
|
email?: string;
|
|
794
823
|
mobile_no: SellerPhoneNumber;
|
|
795
824
|
name?: string;
|
|
796
825
|
};
|
|
797
|
-
/** @returns {
|
|
798
|
-
declare function
|
|
799
|
-
type
|
|
826
|
+
/** @returns {LocationTimingSchema} */
|
|
827
|
+
declare function LocationTimingSchema(): LocationTimingSchema;
|
|
828
|
+
type LocationTimingSchema = {
|
|
800
829
|
hour: number;
|
|
801
830
|
minute: number;
|
|
802
831
|
};
|
|
803
|
-
/** @returns {
|
|
804
|
-
declare function
|
|
805
|
-
type
|
|
832
|
+
/** @returns {LocationDayWiseSchema} */
|
|
833
|
+
declare function LocationDayWiseSchema(): LocationDayWiseSchema;
|
|
834
|
+
type LocationDayWiseSchema = {
|
|
806
835
|
open: boolean;
|
|
807
836
|
weekday: string;
|
|
808
|
-
opening?:
|
|
809
|
-
closing?:
|
|
837
|
+
opening?: LocationTimingSchema;
|
|
838
|
+
closing?: LocationTimingSchema;
|
|
810
839
|
};
|
|
811
|
-
/** @returns {
|
|
812
|
-
declare function
|
|
813
|
-
type
|
|
840
|
+
/** @returns {HolidayDateSchema} */
|
|
841
|
+
declare function HolidayDateSchema(): HolidayDateSchema;
|
|
842
|
+
type HolidayDateSchema = {
|
|
814
843
|
end_date: string;
|
|
815
844
|
start_date: string;
|
|
816
845
|
};
|
|
817
|
-
/** @returns {
|
|
818
|
-
declare function
|
|
819
|
-
type
|
|
820
|
-
date:
|
|
846
|
+
/** @returns {HolidaySchemaSchema} */
|
|
847
|
+
declare function HolidaySchemaSchema(): HolidaySchemaSchema;
|
|
848
|
+
type HolidaySchemaSchema = {
|
|
849
|
+
date: HolidayDateSchema;
|
|
821
850
|
title: string;
|
|
822
851
|
holiday_type: string;
|
|
823
852
|
};
|
|
824
|
-
/** @returns {
|
|
825
|
-
declare function
|
|
826
|
-
type
|
|
853
|
+
/** @returns {ProductReturnConfigSchema} */
|
|
854
|
+
declare function ProductReturnConfigSchema(): ProductReturnConfigSchema;
|
|
855
|
+
type ProductReturnConfigSchema = {
|
|
827
856
|
on_same_store?: boolean;
|
|
828
857
|
store_uid?: number;
|
|
829
858
|
};
|
|
830
|
-
/** @returns {
|
|
831
|
-
declare function
|
|
832
|
-
type
|
|
859
|
+
/** @returns {GetLocationSchema} */
|
|
860
|
+
declare function GetLocationSchema(): GetLocationSchema;
|
|
861
|
+
type GetLocationSchema = {
|
|
833
862
|
code: string;
|
|
834
863
|
phone_number?: string;
|
|
835
864
|
contact_numbers?: SellerPhoneNumber[];
|
|
836
|
-
gst_credentials?:
|
|
865
|
+
gst_credentials?: InvoiceDetailsSchema;
|
|
837
866
|
name: string;
|
|
838
867
|
_custom_json?: any;
|
|
839
868
|
verified_on?: string;
|
|
840
|
-
created_by?:
|
|
869
|
+
created_by?: UserSchema;
|
|
841
870
|
created_on?: string;
|
|
842
|
-
company?:
|
|
843
|
-
address:
|
|
871
|
+
company?: GetCompanySchema;
|
|
872
|
+
address: GetAddressSchema;
|
|
844
873
|
warnings?: any;
|
|
845
874
|
store_type?: string;
|
|
846
|
-
manager?:
|
|
875
|
+
manager?: LocationManagerSchema;
|
|
847
876
|
auto_invoice?: boolean;
|
|
848
877
|
modified_on?: string;
|
|
849
878
|
uid?: number;
|
|
850
|
-
timing?:
|
|
879
|
+
timing?: LocationDayWiseSchema[];
|
|
851
880
|
stage?: string;
|
|
852
881
|
documents?: Document[];
|
|
853
882
|
credit_note?: boolean;
|
|
854
|
-
holiday?:
|
|
883
|
+
holiday?: HolidaySchemaSchema[];
|
|
855
884
|
display_name: string;
|
|
856
|
-
product_return_config?:
|
|
857
|
-
verified_by?:
|
|
885
|
+
product_return_config?: ProductReturnConfigSchema;
|
|
886
|
+
verified_by?: UserSchema;
|
|
858
887
|
notification_emails?: string[];
|
|
859
|
-
modified_by?:
|
|
888
|
+
modified_by?: UserSchema;
|
|
860
889
|
tags?: string[];
|
|
861
890
|
default_order_acceptance_timing?: boolean;
|
|
862
|
-
order_acceptance_timing?:
|
|
891
|
+
order_acceptance_timing?: LocationDayWiseSchema[];
|
|
863
892
|
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
864
893
|
bulk_shipment?: boolean;
|
|
865
894
|
auto_assign_courier_partner?: boolean;
|
|
866
895
|
};
|
|
867
|
-
/** @returns {
|
|
868
|
-
declare function
|
|
869
|
-
type
|
|
870
|
-
items?:
|
|
896
|
+
/** @returns {LocationListSchema} */
|
|
897
|
+
declare function LocationListSchema(): LocationListSchema;
|
|
898
|
+
type LocationListSchema = {
|
|
899
|
+
items?: GetLocationSchema[];
|
|
871
900
|
page?: Page;
|
|
872
901
|
};
|
|
873
|
-
/** @returns {
|
|
874
|
-
declare function
|
|
875
|
-
type
|
|
902
|
+
/** @returns {AddressSchema} */
|
|
903
|
+
declare function AddressSchema(): AddressSchema;
|
|
904
|
+
type AddressSchema = {
|
|
876
905
|
landmark?: string;
|
|
877
906
|
country_code: string;
|
|
878
907
|
pincode?: string;
|
|
@@ -887,27 +916,27 @@ type AddressSerializer = {
|
|
|
887
916
|
city?: string;
|
|
888
917
|
latitude: number;
|
|
889
918
|
};
|
|
890
|
-
/** @returns {
|
|
891
|
-
declare function
|
|
892
|
-
type
|
|
919
|
+
/** @returns {LocationSchema} */
|
|
920
|
+
declare function LocationSchema(): LocationSchema;
|
|
921
|
+
type LocationSchema = {
|
|
893
922
|
code: string;
|
|
894
|
-
gst_credentials?:
|
|
923
|
+
gst_credentials?: InvoiceDetailsSchema;
|
|
895
924
|
contact_numbers?: SellerPhoneNumber[];
|
|
896
925
|
name: string;
|
|
897
926
|
_custom_json?: any;
|
|
898
927
|
warnings?: any;
|
|
899
|
-
address:
|
|
928
|
+
address: AddressSchema;
|
|
900
929
|
company: number;
|
|
901
930
|
store_type?: string;
|
|
902
|
-
manager?:
|
|
931
|
+
manager?: LocationManagerSchema;
|
|
903
932
|
auto_invoice?: boolean;
|
|
904
933
|
uid?: number;
|
|
905
|
-
timing?:
|
|
934
|
+
timing?: LocationDayWiseSchema[];
|
|
906
935
|
stage?: string;
|
|
907
936
|
documents: Document[];
|
|
908
937
|
credit_note?: boolean;
|
|
909
|
-
holiday?:
|
|
910
|
-
product_return_config?:
|
|
938
|
+
holiday?: HolidaySchemaSchema[];
|
|
939
|
+
product_return_config?: ProductReturnConfigSchema;
|
|
911
940
|
display_name: string;
|
|
912
941
|
notification_emails?: string[];
|
|
913
942
|
tags?: string[];
|
|
@@ -920,15 +949,15 @@ type LocationSerializer = {
|
|
|
920
949
|
* - Order
|
|
921
950
|
* acceptance timing of the store
|
|
922
951
|
*/
|
|
923
|
-
order_acceptance_timing?:
|
|
952
|
+
order_acceptance_timing?: LocationDayWiseSchema[];
|
|
924
953
|
avg_order_processing_time?: AverageOrderProcessingTime;
|
|
925
954
|
bulk_shipment?: boolean;
|
|
926
955
|
auto_assign_courier_partner?: boolean;
|
|
927
956
|
};
|
|
928
|
-
/** @returns {
|
|
929
|
-
declare function
|
|
930
|
-
type
|
|
931
|
-
data?:
|
|
957
|
+
/** @returns {BulkLocationSchema} */
|
|
958
|
+
declare function BulkLocationSchema(): BulkLocationSchema;
|
|
959
|
+
type BulkLocationSchema = {
|
|
960
|
+
data?: LocationSchema[];
|
|
932
961
|
};
|
|
933
962
|
/** @returns {AverageOrderProcessingTime} */
|
|
934
963
|
declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
|