@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,84 +1,6 @@
|
|
|
1
1
|
export = FileStoragePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {number} [pdf_type_id]
|
|
5
|
-
* @property {string} [name]
|
|
6
|
-
* @property {string[]} [format]
|
|
7
|
-
* @property {boolean} [visibility]
|
|
8
|
-
* @property {Object} [schema]
|
|
9
|
-
* @property {boolean} [store_os]
|
|
10
|
-
* @property {string} [country_code]
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @typedef PdfTypeIdResponse
|
|
14
|
-
* @property {boolean} [store_os]
|
|
15
|
-
* @property {string} [country_code]
|
|
16
|
-
* @property {number} [pdf_type_id]
|
|
17
|
-
* @property {number} [__v]
|
|
18
|
-
* @property {string[]} [format]
|
|
19
|
-
* @property {string} [name]
|
|
20
|
-
* @property {boolean} [visibility]
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* @typedef PdfConfigurationData
|
|
24
|
-
* @property {string} [_id]
|
|
25
|
-
* @property {number} [pdf_type_id]
|
|
26
|
-
* @property {string} [format]
|
|
27
|
-
* @property {string} [template]
|
|
28
|
-
* @property {string} [country_code]
|
|
29
|
-
* @property {number} [__v]
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* @typedef PdfConfigurationResponse
|
|
33
|
-
* @property {PdfConfigurationData} [data]
|
|
34
|
-
* @property {boolean} [success]
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* @typedef UpdateTemplate
|
|
38
|
-
* @property {number} [pdf_type_id]
|
|
39
|
-
* @property {string} [format] - This is invoice document format such as A4, A6, POS, A5
|
|
40
|
-
* @property {string} [country_code] - This is iso code of a country
|
|
41
|
-
* @property {string} [template] - This is html template string
|
|
42
|
-
* @property {boolean} [store_os] - This flag is to identify store-os
|
|
43
|
-
*/
|
|
44
|
-
/**
|
|
45
|
-
* @typedef PdfDefaultTemplateResponse
|
|
46
|
-
* @property {string} [_id] - The ID of the PDF default template
|
|
47
|
-
* @property {string} [country_code] - The country code associated with the template
|
|
48
|
-
* @property {string} [format] - The format of the template (e.g., "A4")
|
|
49
|
-
* @property {number} [pdf_type_id] - The ID of the PDF type
|
|
50
|
-
* @property {number} [__v] - Version number
|
|
51
|
-
* @property {string} [template] - The HTML template content
|
|
52
|
-
*/
|
|
53
|
-
/**
|
|
54
|
-
* @typedef PdfTemplateCreateSuccess
|
|
55
|
-
* @property {number} [code]
|
|
56
|
-
* @property {boolean} [success]
|
|
57
|
-
* @property {PdfTemplateCreateSuccessData} [data]
|
|
58
|
-
*/
|
|
59
|
-
/**
|
|
60
|
-
* @typedef PdfTemplateCreateSuccessData
|
|
61
|
-
* @property {string} [_id]
|
|
62
|
-
* @property {number} [pdf_type_id]
|
|
63
|
-
* @property {string} [format]
|
|
64
|
-
* @property {string} [template]
|
|
65
|
-
* @property {string} [country_code]
|
|
66
|
-
* @property {number} [__v]
|
|
67
|
-
*/
|
|
68
|
-
/**
|
|
69
|
-
* @typedef CreateTemplate
|
|
70
|
-
* @property {number} pdf_type_id
|
|
71
|
-
* @property {string} format - This is invoice document format such as A4, A6, POS, A5
|
|
72
|
-
* @property {string} country_code - This is iso code of a country
|
|
73
|
-
* @property {string} [template] - This is html template string
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* @typedef PdfDefaultTemplateSuccess
|
|
77
|
-
* @property {Document[]} [data]
|
|
78
|
-
* @property {boolean} [success] - Indicates if the request was successful.
|
|
79
|
-
*/
|
|
80
|
-
/**
|
|
81
|
-
* @typedef FailedResponse
|
|
3
|
+
* @typedef FailedBrowseFilesResult
|
|
82
4
|
* @property {string} message
|
|
83
5
|
*/
|
|
84
6
|
/**
|
|
@@ -93,7 +15,7 @@ export = FileStoragePlatformModel;
|
|
|
93
15
|
* @property {string} url
|
|
94
16
|
*/
|
|
95
17
|
/**
|
|
96
|
-
* @typedef
|
|
18
|
+
* @typedef FileUpload
|
|
97
19
|
* @property {string} file_name
|
|
98
20
|
* @property {string} file_path
|
|
99
21
|
* @property {string} content_type
|
|
@@ -105,7 +27,7 @@ export = FileStoragePlatformModel;
|
|
|
105
27
|
* @property {string[]} [tags]
|
|
106
28
|
*/
|
|
107
29
|
/**
|
|
108
|
-
* @typedef
|
|
30
|
+
* @typedef FileUploadStart
|
|
109
31
|
* @property {string} file_name
|
|
110
32
|
* @property {string} content_type
|
|
111
33
|
* @property {number} size
|
|
@@ -117,7 +39,7 @@ export = FileStoragePlatformModel;
|
|
|
117
39
|
* @property {string} [username]
|
|
118
40
|
*/
|
|
119
41
|
/**
|
|
120
|
-
* @typedef
|
|
42
|
+
* @typedef FileUploadComplete
|
|
121
43
|
* @property {string} _id
|
|
122
44
|
* @property {string} file_name
|
|
123
45
|
* @property {string} file_path
|
|
@@ -135,7 +57,7 @@ export = FileStoragePlatformModel;
|
|
|
135
57
|
* @property {CreatedBy} [created_by]
|
|
136
58
|
*/
|
|
137
59
|
/**
|
|
138
|
-
* @typedef
|
|
60
|
+
* @typedef ProxyFileAccess
|
|
139
61
|
* @property {Object} [data]
|
|
140
62
|
* @property {Object} [support]
|
|
141
63
|
*/
|
|
@@ -155,384 +77,14 @@ export = FileStoragePlatformModel;
|
|
|
155
77
|
* @property {number} expiry
|
|
156
78
|
*/
|
|
157
79
|
/**
|
|
158
|
-
* @typedef
|
|
80
|
+
* @typedef SignUrlResult
|
|
159
81
|
* @property {Urls[]} urls
|
|
160
82
|
*/
|
|
161
83
|
/**
|
|
162
|
-
* @typedef
|
|
84
|
+
* @typedef SignUrl
|
|
163
85
|
* @property {number} expiry
|
|
164
86
|
* @property {string[]} urls
|
|
165
87
|
*/
|
|
166
|
-
/**
|
|
167
|
-
* @typedef InvoiceTypesDataResponse
|
|
168
|
-
* @property {boolean} [status]
|
|
169
|
-
* @property {string} _id
|
|
170
|
-
* @property {number} pdf_type_id
|
|
171
|
-
* @property {string} name
|
|
172
|
-
* @property {string[]} format
|
|
173
|
-
* @property {number} __v
|
|
174
|
-
* @property {boolean} visibility
|
|
175
|
-
* @property {boolean} store_os
|
|
176
|
-
* @property {string} country_code
|
|
177
|
-
*/
|
|
178
|
-
/**
|
|
179
|
-
* @typedef InvoiceTypesResponse
|
|
180
|
-
* @property {InvoiceTypesDataResponse[]} data
|
|
181
|
-
* @property {boolean} success
|
|
182
|
-
*/
|
|
183
|
-
/**
|
|
184
|
-
* @typedef ConversionRate
|
|
185
|
-
* @property {string} [base]
|
|
186
|
-
* @property {Object} [rates]
|
|
187
|
-
* @property {number} [timestamp]
|
|
188
|
-
*/
|
|
189
|
-
/**
|
|
190
|
-
* @typedef DeliveryPartnerDetail
|
|
191
|
-
* @property {string} [name]
|
|
192
|
-
* @property {string} [awb_number_barcode]
|
|
193
|
-
* @property {string} [awb_number]
|
|
194
|
-
* @property {string} [origin]
|
|
195
|
-
* @property {string} [destination]
|
|
196
|
-
* @property {string} [eway_bill_number]
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* @typedef Image
|
|
200
|
-
* @property {string} [sales_channel_logo]
|
|
201
|
-
*/
|
|
202
|
-
/**
|
|
203
|
-
* @typedef PaymentData
|
|
204
|
-
* @property {string} [payment_type]
|
|
205
|
-
* @property {number} [amount]
|
|
206
|
-
* @property {string} [date]
|
|
207
|
-
* @property {string} [transaction_id]
|
|
208
|
-
* @property {string} [time]
|
|
209
|
-
* @property {string} [mode]
|
|
210
|
-
* @property {string} [name]
|
|
211
|
-
* @property {Object} [meta]
|
|
212
|
-
*/
|
|
213
|
-
/**
|
|
214
|
-
* @typedef InvoiceDetail
|
|
215
|
-
* @property {string} [invoice_id]
|
|
216
|
-
* @property {string} [invoice_date]
|
|
217
|
-
* @property {string} [irn]
|
|
218
|
-
* @property {string} [external_order_id]
|
|
219
|
-
* @property {string} [shipment_id]
|
|
220
|
-
* @property {string} [signed_qrcode]
|
|
221
|
-
* @property {string} [upi_qrcode]
|
|
222
|
-
* @property {string} [device_id]
|
|
223
|
-
* @property {string} [marketplace_invoice_id]
|
|
224
|
-
* @property {string} [marketplace_shipment_id]
|
|
225
|
-
* @property {string} [channel_order_id]
|
|
226
|
-
*/
|
|
227
|
-
/**
|
|
228
|
-
* @typedef CompanyDetail
|
|
229
|
-
* @property {string} [name] - The official name of the company.
|
|
230
|
-
* @property {string} [address] - The physical street address of the company.
|
|
231
|
-
* @property {string} [city] - The city where the company is located.
|
|
232
|
-
* @property {string} [state] - The state or province where the company is located.
|
|
233
|
-
* @property {string} [country] - The country where the company is based.
|
|
234
|
-
* @property {number} [zip_code] - The postal code for the company's location.
|
|
235
|
-
* @property {string} [state_code] - A code representing the state, often used
|
|
236
|
-
* in official documents and forms.
|
|
237
|
-
* @property {string} [country_code] - The code of the country.
|
|
238
|
-
* @property {string} [gstin] - The Goods and Services Tax Identification
|
|
239
|
-
* Number, unique to each business in India.
|
|
240
|
-
* @property {string} [pan] - The Permanent Account Number, unique to each
|
|
241
|
-
* taxpayer in India.
|
|
242
|
-
* @property {string} [phone_no] - The primary contact phone number for the company.
|
|
243
|
-
* @property {string} [cin] - The Corporate Identification Number, unique to
|
|
244
|
-
* each company registered in India.
|
|
245
|
-
* @property {string} [website_url] - The URL to the company's official website.
|
|
246
|
-
* @property {string} [email] - The company's official email address.
|
|
247
|
-
* @property {string} [display_address] - The display address of the company.
|
|
248
|
-
* @property {string} [sector] - The sector in which company is located.
|
|
249
|
-
* @property {Object} [phone] - The provided phone no of country.
|
|
250
|
-
* @property {string} [trn] - The trn no of the company.
|
|
251
|
-
* @property {string} [vat] - The vat no of the company.
|
|
252
|
-
* @property {string} [business_country_timezone] - The bussiness country timezone.
|
|
253
|
-
* @property {Object} [business_country_currency] - This object represents the
|
|
254
|
-
* bussiness country currency.
|
|
255
|
-
* @property {Object} [meta] - This object represents the meta fields for company.
|
|
256
|
-
*/
|
|
257
|
-
/**
|
|
258
|
-
* @typedef StoreDetail
|
|
259
|
-
* @property {string} [store_name]
|
|
260
|
-
* @property {string} [address]
|
|
261
|
-
* @property {string} [city]
|
|
262
|
-
* @property {string} [state]
|
|
263
|
-
* @property {string} [country]
|
|
264
|
-
* @property {string} [country_code]
|
|
265
|
-
* @property {string} [zip_code]
|
|
266
|
-
* @property {string} [state_code]
|
|
267
|
-
* @property {string} [gstin]
|
|
268
|
-
* @property {string} [display_address]
|
|
269
|
-
* @property {string} [sector]
|
|
270
|
-
* @property {string} [store_id]
|
|
271
|
-
*/
|
|
272
|
-
/**
|
|
273
|
-
* @typedef CustomerBillingDetail
|
|
274
|
-
* @property {string} [name]
|
|
275
|
-
* @property {string} [phone_no]
|
|
276
|
-
* @property {string} [address]
|
|
277
|
-
* @property {string} [city]
|
|
278
|
-
* @property {string} [state]
|
|
279
|
-
* @property {string} [country]
|
|
280
|
-
* @property {string} [country_code]
|
|
281
|
-
* @property {string} [zip_code]
|
|
282
|
-
* @property {string} [state_code]
|
|
283
|
-
* @property {string} [gstin]
|
|
284
|
-
* @property {string} [display_address]
|
|
285
|
-
* @property {string} [sector]
|
|
286
|
-
* @property {string} [email]
|
|
287
|
-
*/
|
|
288
|
-
/**
|
|
289
|
-
* @typedef CustomerShippingDetail
|
|
290
|
-
* @property {string} [name]
|
|
291
|
-
* @property {string} [phone_no]
|
|
292
|
-
* @property {string} [address]
|
|
293
|
-
* @property {string} [city]
|
|
294
|
-
* @property {string} [state]
|
|
295
|
-
* @property {string} [country]
|
|
296
|
-
* @property {string} [country_code]
|
|
297
|
-
* @property {string} [zip_code]
|
|
298
|
-
* @property {string} [state_code]
|
|
299
|
-
* @property {string} [gstin]
|
|
300
|
-
* @property {string} [display_address]
|
|
301
|
-
* @property {string} [sector]
|
|
302
|
-
*/
|
|
303
|
-
/**
|
|
304
|
-
* @typedef ReturnDetail
|
|
305
|
-
* @property {string} [address]
|
|
306
|
-
* @property {string} [city]
|
|
307
|
-
* @property {string} [state]
|
|
308
|
-
* @property {string} [country]
|
|
309
|
-
* @property {string} [country_code]
|
|
310
|
-
* @property {string} [zip_code]
|
|
311
|
-
* @property {string} [state_code]
|
|
312
|
-
* @property {string} [gstin]
|
|
313
|
-
* @property {string} [display_address]
|
|
314
|
-
* @property {string} [sector]
|
|
315
|
-
*/
|
|
316
|
-
/**
|
|
317
|
-
* @typedef Brand
|
|
318
|
-
* @property {string} [logo]
|
|
319
|
-
* @property {string} [name]
|
|
320
|
-
*/
|
|
321
|
-
/**
|
|
322
|
-
* @typedef Cgst
|
|
323
|
-
* @property {number} [value]
|
|
324
|
-
* @property {number} [percent]
|
|
325
|
-
*/
|
|
326
|
-
/**
|
|
327
|
-
* @typedef Sgst
|
|
328
|
-
* @property {number} [value]
|
|
329
|
-
* @property {number} [percent]
|
|
330
|
-
*/
|
|
331
|
-
/**
|
|
332
|
-
* @typedef Igst
|
|
333
|
-
* @property {number} [value]
|
|
334
|
-
* @property {number} [percent]
|
|
335
|
-
*/
|
|
336
|
-
/**
|
|
337
|
-
* @typedef Tax
|
|
338
|
-
* @property {Cgst} [cgst]
|
|
339
|
-
* @property {Sgst} [sgst]
|
|
340
|
-
* @property {Igst} [igst]
|
|
341
|
-
*/
|
|
342
|
-
/**
|
|
343
|
-
* @typedef ItemsProductTable
|
|
344
|
-
* @property {string} [name]
|
|
345
|
-
* @property {string} [seller_identifier]
|
|
346
|
-
* @property {number} [total]
|
|
347
|
-
* @property {Brand} [brand]
|
|
348
|
-
* @property {string} [hsn_code]
|
|
349
|
-
* @property {string} [item_code]
|
|
350
|
-
* @property {number} [total_units]
|
|
351
|
-
* @property {string} [size]
|
|
352
|
-
* @property {number} [mrp]
|
|
353
|
-
* @property {number} [discount]
|
|
354
|
-
* @property {number} [taxable_amount]
|
|
355
|
-
* @property {number} [total_taxable_amount]
|
|
356
|
-
* @property {Tax} [tax]
|
|
357
|
-
* @property {Object} [meta]
|
|
358
|
-
* @property {string} [country_of_origin]
|
|
359
|
-
*/
|
|
360
|
-
/**
|
|
361
|
-
* @typedef ProductTable
|
|
362
|
-
* @property {number} [total_items]
|
|
363
|
-
* @property {ItemsProductTable[]} [products]
|
|
364
|
-
* @property {number} [grand_total]
|
|
365
|
-
* @property {number} [delivery_charges]
|
|
366
|
-
* @property {string} [delivery_charge_text]
|
|
367
|
-
* @property {number} [cod_charges]
|
|
368
|
-
* @property {number} [fynd_discounts]
|
|
369
|
-
* @property {string} [total_in_words]
|
|
370
|
-
* @property {number} [gift_price]
|
|
371
|
-
* @property {number} [total_quantity]
|
|
372
|
-
* @property {number} [sub_total]
|
|
373
|
-
* @property {number} [discount]
|
|
374
|
-
* @property {number} [promotion]
|
|
375
|
-
* @property {number} [coupon]
|
|
376
|
-
* @property {number} [reward]
|
|
377
|
-
* @property {number} [round_off]
|
|
378
|
-
* @property {number} [total_value_of_goods]
|
|
379
|
-
*/
|
|
380
|
-
/**
|
|
381
|
-
* @typedef Taxes
|
|
382
|
-
* @property {string} [hsn_code]
|
|
383
|
-
* @property {Tax} [tax]
|
|
384
|
-
* @property {number} [total_tax_value]
|
|
385
|
-
*/
|
|
386
|
-
/**
|
|
387
|
-
* @typedef TaxTable
|
|
388
|
-
* @property {Taxes[]} [taxes]
|
|
389
|
-
* @property {number} [total_tax]
|
|
390
|
-
* @property {string} [tax_in_words]
|
|
391
|
-
*/
|
|
392
|
-
/**
|
|
393
|
-
* @typedef RegisteredCompanyDetail
|
|
394
|
-
* @property {string} [address]
|
|
395
|
-
* @property {string} [city]
|
|
396
|
-
* @property {string} [state]
|
|
397
|
-
* @property {string} [country]
|
|
398
|
-
* @property {string} [country_code]
|
|
399
|
-
* @property {number} [zip_code]
|
|
400
|
-
* @property {string} [state_code]
|
|
401
|
-
* @property {string} [display_address]
|
|
402
|
-
* @property {string} [sector]
|
|
403
|
-
*/
|
|
404
|
-
/**
|
|
405
|
-
* @typedef Kwargs
|
|
406
|
-
* @property {string} [value]
|
|
407
|
-
*/
|
|
408
|
-
/**
|
|
409
|
-
* @typedef ShipmentIdBarcodeGenerator
|
|
410
|
-
* @property {string} [method]
|
|
411
|
-
* @property {Kwargs} [kwargs]
|
|
412
|
-
*/
|
|
413
|
-
/**
|
|
414
|
-
* @typedef SignedQrcodeGenerator
|
|
415
|
-
* @property {string} [method]
|
|
416
|
-
* @property {Kwargs} [kwargs]
|
|
417
|
-
*/
|
|
418
|
-
/**
|
|
419
|
-
* @typedef KwargsUpiQrcode
|
|
420
|
-
* @property {string} [qr_data]
|
|
421
|
-
* @property {string} [qr_url]
|
|
422
|
-
*/
|
|
423
|
-
/**
|
|
424
|
-
* @typedef UpiQrcodeGenerator
|
|
425
|
-
* @property {string} [method]
|
|
426
|
-
* @property {KwargsUpiQrcode} [kwargs]
|
|
427
|
-
*/
|
|
428
|
-
/**
|
|
429
|
-
* @typedef DigitalsignatureGenerator
|
|
430
|
-
* @property {string} [method]
|
|
431
|
-
* @property {Kwargs} [kwargs]
|
|
432
|
-
*/
|
|
433
|
-
/**
|
|
434
|
-
* @typedef KwargsAwbNumber
|
|
435
|
-
* @property {Object[]} [value]
|
|
436
|
-
*/
|
|
437
|
-
/**
|
|
438
|
-
* @typedef AwbNumberLabelBarcodeGenerator
|
|
439
|
-
* @property {string} [method]
|
|
440
|
-
* @property {KwargsAwbNumber} [kwargs]
|
|
441
|
-
*/
|
|
442
|
-
/**
|
|
443
|
-
* @typedef AwbNumberBarcodeGenerator
|
|
444
|
-
* @property {string} [method]
|
|
445
|
-
* @property {Kwargs} [kwargs]
|
|
446
|
-
*/
|
|
447
|
-
/**
|
|
448
|
-
* @typedef MetaProperty
|
|
449
|
-
* @property {ShipmentIdBarcodeGenerator} [shipment_id_barcode_generator]
|
|
450
|
-
* @property {SignedQrcodeGenerator} [signed_qrcode_generator]
|
|
451
|
-
* @property {UpiQrcodeGenerator} [upi_qrcode_generator]
|
|
452
|
-
* @property {DigitalsignatureGenerator} [digitalsignature_generator]
|
|
453
|
-
* @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
|
|
454
|
-
* @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
|
|
455
|
-
*/
|
|
456
|
-
/**
|
|
457
|
-
* @typedef Meta
|
|
458
|
-
* @property {MetaProperty} [generator]
|
|
459
|
-
*/
|
|
460
|
-
/**
|
|
461
|
-
* @typedef DummyTemplateDataPayload
|
|
462
|
-
* @property {boolean} [is_export]
|
|
463
|
-
* @property {boolean} [is_export_shipment]
|
|
464
|
-
* @property {string} [app_domain_name]
|
|
465
|
-
* @property {string} [txn_id]
|
|
466
|
-
* @property {string} [utr]
|
|
467
|
-
* @property {string} [po_number]
|
|
468
|
-
* @property {string} [credit_note_id]
|
|
469
|
-
* @property {string} [current_date]
|
|
470
|
-
* @property {number} [total_value_of_goods]
|
|
471
|
-
* @property {Object} [b2b_buyer_details]
|
|
472
|
-
* @property {Object} [is_qwik]
|
|
473
|
-
* @property {string} [order_type]
|
|
474
|
-
* @property {ConversionRate} [conversion_rate]
|
|
475
|
-
* @property {string} [currency_code]
|
|
476
|
-
* @property {string} [shipment_id]
|
|
477
|
-
* @property {DeliveryPartnerDetail} [delivery_partner_detail]
|
|
478
|
-
* @property {Image} [image]
|
|
479
|
-
* @property {PaymentData[]} [payments]
|
|
480
|
-
* @property {InvoiceDetail} [invoice_detail]
|
|
481
|
-
* @property {CompanyDetail} [company_detail]
|
|
482
|
-
* @property {StoreDetail} [store_detail]
|
|
483
|
-
* @property {CustomerBillingDetail} [customer_billing_detail]
|
|
484
|
-
* @property {CustomerShippingDetail} [customer_shipping_detail]
|
|
485
|
-
* @property {ReturnDetail} [return_detail]
|
|
486
|
-
* @property {ProductTable} [product_table]
|
|
487
|
-
* @property {TaxTable} [tax_table]
|
|
488
|
-
* @property {string[]} [declaration_texts]
|
|
489
|
-
* @property {RegisteredCompanyDetail} [registered_company_detail]
|
|
490
|
-
* @property {string} [disclaimer]
|
|
491
|
-
* @property {Meta} [meta]
|
|
492
|
-
* @property {boolean} [is_self_ship]
|
|
493
|
-
* @property {string} [mode]
|
|
494
|
-
* @property {boolean} [is_self_pickup]
|
|
495
|
-
* @property {string} [platform_name]
|
|
496
|
-
* @property {number} [amount_to_be_collected]
|
|
497
|
-
* @property {number} [amount_paid]
|
|
498
|
-
* @property {Object[]} [waybills]
|
|
499
|
-
* @property {number} [total_items]
|
|
500
|
-
* @property {string} [brand_logo]
|
|
501
|
-
* @property {string} [shipment_id_barcode]
|
|
502
|
-
* @property {string} [signed_qrcode]
|
|
503
|
-
* @property {string} [upi_qrcode]
|
|
504
|
-
* @property {string} [digitalsignature]
|
|
505
|
-
* @property {string} [awb_number_barcode]
|
|
506
|
-
* @property {string} [uid]
|
|
507
|
-
*/
|
|
508
|
-
/**
|
|
509
|
-
* @typedef DummyTemplateData
|
|
510
|
-
* @property {string} [_id] - This field contains the unique identifier for the
|
|
511
|
-
* PDF payload.
|
|
512
|
-
* @property {number} [pdf_type_id] - This is invoice unique id
|
|
513
|
-
* @property {DummyTemplateDataPayload} payload
|
|
514
|
-
* @property {string} [country_code] - This field represents the country code.
|
|
515
|
-
* @property {number} [__v]
|
|
516
|
-
*/
|
|
517
|
-
/**
|
|
518
|
-
* @typedef savePdfPayload
|
|
519
|
-
* @property {number} [pdf_type_id]
|
|
520
|
-
* @property {DummyTemplateDataPayload} [payload]
|
|
521
|
-
* @property {string} [country_code]
|
|
522
|
-
*/
|
|
523
|
-
/**
|
|
524
|
-
* @typedef DummyPayloadById
|
|
525
|
-
* @property {string} [_id]
|
|
526
|
-
* @property {number} [pdf_type_id]
|
|
527
|
-
* @property {DummyTemplateDataPayload} [payload]
|
|
528
|
-
* @property {string} [country_code]
|
|
529
|
-
* @property {number} [__v] - This field holds the version number.
|
|
530
|
-
*/
|
|
531
|
-
/**
|
|
532
|
-
* @typedef DummyTemplateDataItems
|
|
533
|
-
* @property {DummyTemplateData[]} data
|
|
534
|
-
* @property {boolean} success
|
|
535
|
-
*/
|
|
536
88
|
/**
|
|
537
89
|
* @typedef PdfConfig
|
|
538
90
|
* @property {string} [format] - This is invoice document format such as A4, A6, POS
|
|
@@ -556,9 +108,7 @@ export = FileStoragePlatformModel;
|
|
|
556
108
|
* for the PDF document.
|
|
557
109
|
* @property {number} [__v] - This field holds the version number of the PDF
|
|
558
110
|
* configuration document.
|
|
559
|
-
* @property {string} [country_code]
|
|
560
|
-
* @property {boolean} [default_template] - This field indicates whether the
|
|
561
|
-
* HTML template is the default template.
|
|
111
|
+
* @property {string} [country_code]
|
|
562
112
|
*/
|
|
563
113
|
/**
|
|
564
114
|
* @typedef PdfConfigSuccess
|
|
@@ -580,15 +130,6 @@ export = FileStoragePlatformModel;
|
|
|
580
130
|
* @property {PdfConfigSaveSuccessData} [data]
|
|
581
131
|
* @property {boolean} [success]
|
|
582
132
|
*/
|
|
583
|
-
/**
|
|
584
|
-
* @typedef Document
|
|
585
|
-
* @property {string} [_id]
|
|
586
|
-
* @property {number} [pdf_type_id]
|
|
587
|
-
* @property {string} [format]
|
|
588
|
-
* @property {string} [template]
|
|
589
|
-
* @property {string} [country_code]
|
|
590
|
-
* @property {number} [__v]
|
|
591
|
-
*/
|
|
592
133
|
/**
|
|
593
134
|
* @typedef PaymentReceiptRequestBody
|
|
594
135
|
* @property {PaymentReceiptPayload} [payload]
|
|
@@ -661,141 +202,11 @@ export = FileStoragePlatformModel;
|
|
|
661
202
|
declare class FileStoragePlatformModel {
|
|
662
203
|
}
|
|
663
204
|
declare namespace FileStoragePlatformModel {
|
|
664
|
-
export {
|
|
205
|
+
export { FailedBrowseFilesResult, CDN, Upload, FileUpload, FileUploadStart, CreatedBy, FileUploadComplete, ProxyFileAccess, DestinationNamespace, CopyFiles, Urls, SignUrlResult, SignUrl, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
|
|
665
206
|
}
|
|
666
|
-
/** @returns {
|
|
667
|
-
declare function
|
|
668
|
-
type
|
|
669
|
-
pdf_type_id?: number;
|
|
670
|
-
name?: string;
|
|
671
|
-
format?: string[];
|
|
672
|
-
visibility?: boolean;
|
|
673
|
-
schema?: any;
|
|
674
|
-
store_os?: boolean;
|
|
675
|
-
country_code?: string;
|
|
676
|
-
};
|
|
677
|
-
/** @returns {PdfTypeIdResponse} */
|
|
678
|
-
declare function PdfTypeIdResponse(): PdfTypeIdResponse;
|
|
679
|
-
type PdfTypeIdResponse = {
|
|
680
|
-
store_os?: boolean;
|
|
681
|
-
country_code?: string;
|
|
682
|
-
pdf_type_id?: number;
|
|
683
|
-
__v?: number;
|
|
684
|
-
format?: string[];
|
|
685
|
-
name?: string;
|
|
686
|
-
visibility?: boolean;
|
|
687
|
-
};
|
|
688
|
-
/** @returns {PdfConfigurationData} */
|
|
689
|
-
declare function PdfConfigurationData(): PdfConfigurationData;
|
|
690
|
-
type PdfConfigurationData = {
|
|
691
|
-
_id?: string;
|
|
692
|
-
pdf_type_id?: number;
|
|
693
|
-
format?: string;
|
|
694
|
-
template?: string;
|
|
695
|
-
country_code?: string;
|
|
696
|
-
__v?: number;
|
|
697
|
-
};
|
|
698
|
-
/** @returns {PdfConfigurationResponse} */
|
|
699
|
-
declare function PdfConfigurationResponse(): PdfConfigurationResponse;
|
|
700
|
-
type PdfConfigurationResponse = {
|
|
701
|
-
data?: PdfConfigurationData;
|
|
702
|
-
success?: boolean;
|
|
703
|
-
};
|
|
704
|
-
/** @returns {UpdateTemplate} */
|
|
705
|
-
declare function UpdateTemplate(): UpdateTemplate;
|
|
706
|
-
type UpdateTemplate = {
|
|
707
|
-
pdf_type_id?: number;
|
|
708
|
-
/**
|
|
709
|
-
* - This is invoice document format such as A4, A6, POS, A5
|
|
710
|
-
*/
|
|
711
|
-
format?: string;
|
|
712
|
-
/**
|
|
713
|
-
* - This is iso code of a country
|
|
714
|
-
*/
|
|
715
|
-
country_code?: string;
|
|
716
|
-
/**
|
|
717
|
-
* - This is html template string
|
|
718
|
-
*/
|
|
719
|
-
template?: string;
|
|
720
|
-
/**
|
|
721
|
-
* - This flag is to identify store-os
|
|
722
|
-
*/
|
|
723
|
-
store_os?: boolean;
|
|
724
|
-
};
|
|
725
|
-
/** @returns {PdfDefaultTemplateResponse} */
|
|
726
|
-
declare function PdfDefaultTemplateResponse(): PdfDefaultTemplateResponse;
|
|
727
|
-
type PdfDefaultTemplateResponse = {
|
|
728
|
-
/**
|
|
729
|
-
* - The ID of the PDF default template
|
|
730
|
-
*/
|
|
731
|
-
_id?: string;
|
|
732
|
-
/**
|
|
733
|
-
* - The country code associated with the template
|
|
734
|
-
*/
|
|
735
|
-
country_code?: string;
|
|
736
|
-
/**
|
|
737
|
-
* - The format of the template (e.g., "A4")
|
|
738
|
-
*/
|
|
739
|
-
format?: string;
|
|
740
|
-
/**
|
|
741
|
-
* - The ID of the PDF type
|
|
742
|
-
*/
|
|
743
|
-
pdf_type_id?: number;
|
|
744
|
-
/**
|
|
745
|
-
* - Version number
|
|
746
|
-
*/
|
|
747
|
-
__v?: number;
|
|
748
|
-
/**
|
|
749
|
-
* - The HTML template content
|
|
750
|
-
*/
|
|
751
|
-
template?: string;
|
|
752
|
-
};
|
|
753
|
-
/** @returns {PdfTemplateCreateSuccess} */
|
|
754
|
-
declare function PdfTemplateCreateSuccess(): PdfTemplateCreateSuccess;
|
|
755
|
-
type PdfTemplateCreateSuccess = {
|
|
756
|
-
code?: number;
|
|
757
|
-
success?: boolean;
|
|
758
|
-
data?: PdfTemplateCreateSuccessData;
|
|
759
|
-
};
|
|
760
|
-
/** @returns {PdfTemplateCreateSuccessData} */
|
|
761
|
-
declare function PdfTemplateCreateSuccessData(): PdfTemplateCreateSuccessData;
|
|
762
|
-
type PdfTemplateCreateSuccessData = {
|
|
763
|
-
_id?: string;
|
|
764
|
-
pdf_type_id?: number;
|
|
765
|
-
format?: string;
|
|
766
|
-
template?: string;
|
|
767
|
-
country_code?: string;
|
|
768
|
-
__v?: number;
|
|
769
|
-
};
|
|
770
|
-
/** @returns {CreateTemplate} */
|
|
771
|
-
declare function CreateTemplate(): CreateTemplate;
|
|
772
|
-
type CreateTemplate = {
|
|
773
|
-
pdf_type_id: number;
|
|
774
|
-
/**
|
|
775
|
-
* - This is invoice document format such as A4, A6, POS, A5
|
|
776
|
-
*/
|
|
777
|
-
format: string;
|
|
778
|
-
/**
|
|
779
|
-
* - This is iso code of a country
|
|
780
|
-
*/
|
|
781
|
-
country_code: string;
|
|
782
|
-
/**
|
|
783
|
-
* - This is html template string
|
|
784
|
-
*/
|
|
785
|
-
template?: string;
|
|
786
|
-
};
|
|
787
|
-
/** @returns {PdfDefaultTemplateSuccess} */
|
|
788
|
-
declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
|
|
789
|
-
type PdfDefaultTemplateSuccess = {
|
|
790
|
-
data?: Document[];
|
|
791
|
-
/**
|
|
792
|
-
* - Indicates if the request was successful.
|
|
793
|
-
*/
|
|
794
|
-
success?: boolean;
|
|
795
|
-
};
|
|
796
|
-
/** @returns {FailedResponse} */
|
|
797
|
-
declare function FailedResponse(): FailedResponse;
|
|
798
|
-
type FailedResponse = {
|
|
207
|
+
/** @returns {FailedBrowseFilesResult} */
|
|
208
|
+
declare function FailedBrowseFilesResult(): FailedBrowseFilesResult;
|
|
209
|
+
type FailedBrowseFilesResult = {
|
|
799
210
|
message: string;
|
|
800
211
|
};
|
|
801
212
|
/** @returns {CDN} */
|
|
@@ -811,9 +222,9 @@ type Upload = {
|
|
|
811
222
|
expiry: number;
|
|
812
223
|
url: string;
|
|
813
224
|
};
|
|
814
|
-
/** @returns {
|
|
815
|
-
declare function
|
|
816
|
-
type
|
|
225
|
+
/** @returns {FileUpload} */
|
|
226
|
+
declare function FileUpload(): FileUpload;
|
|
227
|
+
type FileUpload = {
|
|
817
228
|
file_name: string;
|
|
818
229
|
file_path: string;
|
|
819
230
|
content_type: string;
|
|
@@ -824,9 +235,9 @@ type StartResponse = {
|
|
|
824
235
|
upload: Upload;
|
|
825
236
|
tags?: string[];
|
|
826
237
|
};
|
|
827
|
-
/** @returns {
|
|
828
|
-
declare function
|
|
829
|
-
type
|
|
238
|
+
/** @returns {FileUploadStart} */
|
|
239
|
+
declare function FileUploadStart(): FileUploadStart;
|
|
240
|
+
type FileUploadStart = {
|
|
830
241
|
file_name: string;
|
|
831
242
|
content_type: string;
|
|
832
243
|
size: number;
|
|
@@ -838,9 +249,9 @@ declare function CreatedBy(): CreatedBy;
|
|
|
838
249
|
type CreatedBy = {
|
|
839
250
|
username?: string;
|
|
840
251
|
};
|
|
841
|
-
/** @returns {
|
|
842
|
-
declare function
|
|
843
|
-
type
|
|
252
|
+
/** @returns {FileUploadComplete} */
|
|
253
|
+
declare function FileUploadComplete(): FileUploadComplete;
|
|
254
|
+
type FileUploadComplete = {
|
|
844
255
|
_id: string;
|
|
845
256
|
file_name: string;
|
|
846
257
|
file_path: string;
|
|
@@ -857,9 +268,9 @@ type CompleteResponse = {
|
|
|
857
268
|
modified_on: string;
|
|
858
269
|
created_by?: CreatedBy;
|
|
859
270
|
};
|
|
860
|
-
/** @returns {
|
|
861
|
-
declare function
|
|
862
|
-
type
|
|
271
|
+
/** @returns {ProxyFileAccess} */
|
|
272
|
+
declare function ProxyFileAccess(): ProxyFileAccess;
|
|
273
|
+
type ProxyFileAccess = {
|
|
863
274
|
data?: any;
|
|
864
275
|
support?: any;
|
|
865
276
|
};
|
|
@@ -881,503 +292,17 @@ type Urls = {
|
|
|
881
292
|
signed_url: string;
|
|
882
293
|
expiry: number;
|
|
883
294
|
};
|
|
884
|
-
/** @returns {
|
|
885
|
-
declare function
|
|
886
|
-
type
|
|
295
|
+
/** @returns {SignUrlResult} */
|
|
296
|
+
declare function SignUrlResult(): SignUrlResult;
|
|
297
|
+
type SignUrlResult = {
|
|
887
298
|
urls: Urls[];
|
|
888
299
|
};
|
|
889
|
-
/** @returns {
|
|
890
|
-
declare function
|
|
891
|
-
type
|
|
300
|
+
/** @returns {SignUrl} */
|
|
301
|
+
declare function SignUrl(): SignUrl;
|
|
302
|
+
type SignUrl = {
|
|
892
303
|
expiry: number;
|
|
893
304
|
urls: string[];
|
|
894
305
|
};
|
|
895
|
-
/** @returns {InvoiceTypesDataResponse} */
|
|
896
|
-
declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
|
|
897
|
-
type InvoiceTypesDataResponse = {
|
|
898
|
-
status?: boolean;
|
|
899
|
-
_id: string;
|
|
900
|
-
pdf_type_id: number;
|
|
901
|
-
name: string;
|
|
902
|
-
format: string[];
|
|
903
|
-
__v: number;
|
|
904
|
-
visibility: boolean;
|
|
905
|
-
store_os: boolean;
|
|
906
|
-
country_code: string;
|
|
907
|
-
};
|
|
908
|
-
/** @returns {InvoiceTypesResponse} */
|
|
909
|
-
declare function InvoiceTypesResponse(): InvoiceTypesResponse;
|
|
910
|
-
type InvoiceTypesResponse = {
|
|
911
|
-
data: InvoiceTypesDataResponse[];
|
|
912
|
-
success: boolean;
|
|
913
|
-
};
|
|
914
|
-
/** @returns {ConversionRate} */
|
|
915
|
-
declare function ConversionRate(): ConversionRate;
|
|
916
|
-
type ConversionRate = {
|
|
917
|
-
base?: string;
|
|
918
|
-
rates?: any;
|
|
919
|
-
timestamp?: number;
|
|
920
|
-
};
|
|
921
|
-
/** @returns {DeliveryPartnerDetail} */
|
|
922
|
-
declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
|
|
923
|
-
type DeliveryPartnerDetail = {
|
|
924
|
-
name?: string;
|
|
925
|
-
awb_number_barcode?: string;
|
|
926
|
-
awb_number?: string;
|
|
927
|
-
origin?: string;
|
|
928
|
-
destination?: string;
|
|
929
|
-
eway_bill_number?: string;
|
|
930
|
-
};
|
|
931
|
-
/** @returns {Image} */
|
|
932
|
-
declare function Image(): Image;
|
|
933
|
-
type Image = {
|
|
934
|
-
sales_channel_logo?: string;
|
|
935
|
-
};
|
|
936
|
-
/** @returns {PaymentData} */
|
|
937
|
-
declare function PaymentData(): PaymentData;
|
|
938
|
-
type PaymentData = {
|
|
939
|
-
payment_type?: string;
|
|
940
|
-
amount?: number;
|
|
941
|
-
date?: string;
|
|
942
|
-
transaction_id?: string;
|
|
943
|
-
time?: string;
|
|
944
|
-
mode?: string;
|
|
945
|
-
name?: string;
|
|
946
|
-
meta?: any;
|
|
947
|
-
};
|
|
948
|
-
/** @returns {InvoiceDetail} */
|
|
949
|
-
declare function InvoiceDetail(): InvoiceDetail;
|
|
950
|
-
type InvoiceDetail = {
|
|
951
|
-
invoice_id?: string;
|
|
952
|
-
invoice_date?: string;
|
|
953
|
-
irn?: string;
|
|
954
|
-
external_order_id?: string;
|
|
955
|
-
shipment_id?: string;
|
|
956
|
-
signed_qrcode?: string;
|
|
957
|
-
upi_qrcode?: string;
|
|
958
|
-
device_id?: string;
|
|
959
|
-
marketplace_invoice_id?: string;
|
|
960
|
-
marketplace_shipment_id?: string;
|
|
961
|
-
channel_order_id?: string;
|
|
962
|
-
};
|
|
963
|
-
/** @returns {CompanyDetail} */
|
|
964
|
-
declare function CompanyDetail(): CompanyDetail;
|
|
965
|
-
type CompanyDetail = {
|
|
966
|
-
/**
|
|
967
|
-
* - The official name of the company.
|
|
968
|
-
*/
|
|
969
|
-
name?: string;
|
|
970
|
-
/**
|
|
971
|
-
* - The physical street address of the company.
|
|
972
|
-
*/
|
|
973
|
-
address?: string;
|
|
974
|
-
/**
|
|
975
|
-
* - The city where the company is located.
|
|
976
|
-
*/
|
|
977
|
-
city?: string;
|
|
978
|
-
/**
|
|
979
|
-
* - The state or province where the company is located.
|
|
980
|
-
*/
|
|
981
|
-
state?: string;
|
|
982
|
-
/**
|
|
983
|
-
* - The country where the company is based.
|
|
984
|
-
*/
|
|
985
|
-
country?: string;
|
|
986
|
-
/**
|
|
987
|
-
* - The postal code for the company's location.
|
|
988
|
-
*/
|
|
989
|
-
zip_code?: number;
|
|
990
|
-
/**
|
|
991
|
-
* - A code representing the state, often used
|
|
992
|
-
* in official documents and forms.
|
|
993
|
-
*/
|
|
994
|
-
state_code?: string;
|
|
995
|
-
/**
|
|
996
|
-
* - The code of the country.
|
|
997
|
-
*/
|
|
998
|
-
country_code?: string;
|
|
999
|
-
/**
|
|
1000
|
-
* - The Goods and Services Tax Identification
|
|
1001
|
-
* Number, unique to each business in India.
|
|
1002
|
-
*/
|
|
1003
|
-
gstin?: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* - The Permanent Account Number, unique to each
|
|
1006
|
-
* taxpayer in India.
|
|
1007
|
-
*/
|
|
1008
|
-
pan?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* - The primary contact phone number for the company.
|
|
1011
|
-
*/
|
|
1012
|
-
phone_no?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* - The Corporate Identification Number, unique to
|
|
1015
|
-
* each company registered in India.
|
|
1016
|
-
*/
|
|
1017
|
-
cin?: string;
|
|
1018
|
-
/**
|
|
1019
|
-
* - The URL to the company's official website.
|
|
1020
|
-
*/
|
|
1021
|
-
website_url?: string;
|
|
1022
|
-
/**
|
|
1023
|
-
* - The company's official email address.
|
|
1024
|
-
*/
|
|
1025
|
-
email?: string;
|
|
1026
|
-
/**
|
|
1027
|
-
* - The display address of the company.
|
|
1028
|
-
*/
|
|
1029
|
-
display_address?: string;
|
|
1030
|
-
/**
|
|
1031
|
-
* - The sector in which company is located.
|
|
1032
|
-
*/
|
|
1033
|
-
sector?: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* - The provided phone no of country.
|
|
1036
|
-
*/
|
|
1037
|
-
phone?: any;
|
|
1038
|
-
/**
|
|
1039
|
-
* - The trn no of the company.
|
|
1040
|
-
*/
|
|
1041
|
-
trn?: string;
|
|
1042
|
-
/**
|
|
1043
|
-
* - The vat no of the company.
|
|
1044
|
-
*/
|
|
1045
|
-
vat?: string;
|
|
1046
|
-
/**
|
|
1047
|
-
* - The bussiness country timezone.
|
|
1048
|
-
*/
|
|
1049
|
-
business_country_timezone?: string;
|
|
1050
|
-
/**
|
|
1051
|
-
* - This object represents the
|
|
1052
|
-
* bussiness country currency.
|
|
1053
|
-
*/
|
|
1054
|
-
business_country_currency?: any;
|
|
1055
|
-
/**
|
|
1056
|
-
* - This object represents the meta fields for company.
|
|
1057
|
-
*/
|
|
1058
|
-
meta?: any;
|
|
1059
|
-
};
|
|
1060
|
-
/** @returns {StoreDetail} */
|
|
1061
|
-
declare function StoreDetail(): StoreDetail;
|
|
1062
|
-
type StoreDetail = {
|
|
1063
|
-
store_name?: string;
|
|
1064
|
-
address?: string;
|
|
1065
|
-
city?: string;
|
|
1066
|
-
state?: string;
|
|
1067
|
-
country?: string;
|
|
1068
|
-
country_code?: string;
|
|
1069
|
-
zip_code?: string;
|
|
1070
|
-
state_code?: string;
|
|
1071
|
-
gstin?: string;
|
|
1072
|
-
display_address?: string;
|
|
1073
|
-
sector?: string;
|
|
1074
|
-
store_id?: string;
|
|
1075
|
-
};
|
|
1076
|
-
/** @returns {CustomerBillingDetail} */
|
|
1077
|
-
declare function CustomerBillingDetail(): CustomerBillingDetail;
|
|
1078
|
-
type CustomerBillingDetail = {
|
|
1079
|
-
name?: string;
|
|
1080
|
-
phone_no?: string;
|
|
1081
|
-
address?: string;
|
|
1082
|
-
city?: string;
|
|
1083
|
-
state?: string;
|
|
1084
|
-
country?: string;
|
|
1085
|
-
country_code?: string;
|
|
1086
|
-
zip_code?: string;
|
|
1087
|
-
state_code?: string;
|
|
1088
|
-
gstin?: string;
|
|
1089
|
-
display_address?: string;
|
|
1090
|
-
sector?: string;
|
|
1091
|
-
email?: string;
|
|
1092
|
-
};
|
|
1093
|
-
/** @returns {CustomerShippingDetail} */
|
|
1094
|
-
declare function CustomerShippingDetail(): CustomerShippingDetail;
|
|
1095
|
-
type CustomerShippingDetail = {
|
|
1096
|
-
name?: string;
|
|
1097
|
-
phone_no?: string;
|
|
1098
|
-
address?: string;
|
|
1099
|
-
city?: string;
|
|
1100
|
-
state?: string;
|
|
1101
|
-
country?: string;
|
|
1102
|
-
country_code?: string;
|
|
1103
|
-
zip_code?: string;
|
|
1104
|
-
state_code?: string;
|
|
1105
|
-
gstin?: string;
|
|
1106
|
-
display_address?: string;
|
|
1107
|
-
sector?: string;
|
|
1108
|
-
};
|
|
1109
|
-
/** @returns {ReturnDetail} */
|
|
1110
|
-
declare function ReturnDetail(): ReturnDetail;
|
|
1111
|
-
type ReturnDetail = {
|
|
1112
|
-
address?: string;
|
|
1113
|
-
city?: string;
|
|
1114
|
-
state?: string;
|
|
1115
|
-
country?: string;
|
|
1116
|
-
country_code?: string;
|
|
1117
|
-
zip_code?: string;
|
|
1118
|
-
state_code?: string;
|
|
1119
|
-
gstin?: string;
|
|
1120
|
-
display_address?: string;
|
|
1121
|
-
sector?: string;
|
|
1122
|
-
};
|
|
1123
|
-
/** @returns {Brand} */
|
|
1124
|
-
declare function Brand(): Brand;
|
|
1125
|
-
type Brand = {
|
|
1126
|
-
logo?: string;
|
|
1127
|
-
name?: string;
|
|
1128
|
-
};
|
|
1129
|
-
/** @returns {Cgst} */
|
|
1130
|
-
declare function Cgst(): Cgst;
|
|
1131
|
-
type Cgst = {
|
|
1132
|
-
value?: number;
|
|
1133
|
-
percent?: number;
|
|
1134
|
-
};
|
|
1135
|
-
/** @returns {Sgst} */
|
|
1136
|
-
declare function Sgst(): Sgst;
|
|
1137
|
-
type Sgst = {
|
|
1138
|
-
value?: number;
|
|
1139
|
-
percent?: number;
|
|
1140
|
-
};
|
|
1141
|
-
/** @returns {Igst} */
|
|
1142
|
-
declare function Igst(): Igst;
|
|
1143
|
-
type Igst = {
|
|
1144
|
-
value?: number;
|
|
1145
|
-
percent?: number;
|
|
1146
|
-
};
|
|
1147
|
-
/** @returns {Tax} */
|
|
1148
|
-
declare function Tax(): Tax;
|
|
1149
|
-
type Tax = {
|
|
1150
|
-
cgst?: Cgst;
|
|
1151
|
-
sgst?: Sgst;
|
|
1152
|
-
igst?: Igst;
|
|
1153
|
-
};
|
|
1154
|
-
/** @returns {ItemsProductTable} */
|
|
1155
|
-
declare function ItemsProductTable(): ItemsProductTable;
|
|
1156
|
-
type ItemsProductTable = {
|
|
1157
|
-
name?: string;
|
|
1158
|
-
seller_identifier?: string;
|
|
1159
|
-
total?: number;
|
|
1160
|
-
brand?: Brand;
|
|
1161
|
-
hsn_code?: string;
|
|
1162
|
-
item_code?: string;
|
|
1163
|
-
total_units?: number;
|
|
1164
|
-
size?: string;
|
|
1165
|
-
mrp?: number;
|
|
1166
|
-
discount?: number;
|
|
1167
|
-
taxable_amount?: number;
|
|
1168
|
-
total_taxable_amount?: number;
|
|
1169
|
-
tax?: Tax;
|
|
1170
|
-
meta?: any;
|
|
1171
|
-
country_of_origin?: string;
|
|
1172
|
-
};
|
|
1173
|
-
/** @returns {ProductTable} */
|
|
1174
|
-
declare function ProductTable(): ProductTable;
|
|
1175
|
-
type ProductTable = {
|
|
1176
|
-
total_items?: number;
|
|
1177
|
-
products?: ItemsProductTable[];
|
|
1178
|
-
grand_total?: number;
|
|
1179
|
-
delivery_charges?: number;
|
|
1180
|
-
delivery_charge_text?: string;
|
|
1181
|
-
cod_charges?: number;
|
|
1182
|
-
fynd_discounts?: number;
|
|
1183
|
-
total_in_words?: string;
|
|
1184
|
-
gift_price?: number;
|
|
1185
|
-
total_quantity?: number;
|
|
1186
|
-
sub_total?: number;
|
|
1187
|
-
discount?: number;
|
|
1188
|
-
promotion?: number;
|
|
1189
|
-
coupon?: number;
|
|
1190
|
-
reward?: number;
|
|
1191
|
-
round_off?: number;
|
|
1192
|
-
total_value_of_goods?: number;
|
|
1193
|
-
};
|
|
1194
|
-
/** @returns {Taxes} */
|
|
1195
|
-
declare function Taxes(): Taxes;
|
|
1196
|
-
type Taxes = {
|
|
1197
|
-
hsn_code?: string;
|
|
1198
|
-
tax?: Tax;
|
|
1199
|
-
total_tax_value?: number;
|
|
1200
|
-
};
|
|
1201
|
-
/** @returns {TaxTable} */
|
|
1202
|
-
declare function TaxTable(): TaxTable;
|
|
1203
|
-
type TaxTable = {
|
|
1204
|
-
taxes?: Taxes[];
|
|
1205
|
-
total_tax?: number;
|
|
1206
|
-
tax_in_words?: string;
|
|
1207
|
-
};
|
|
1208
|
-
/** @returns {RegisteredCompanyDetail} */
|
|
1209
|
-
declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
|
|
1210
|
-
type RegisteredCompanyDetail = {
|
|
1211
|
-
address?: string;
|
|
1212
|
-
city?: string;
|
|
1213
|
-
state?: string;
|
|
1214
|
-
country?: string;
|
|
1215
|
-
country_code?: string;
|
|
1216
|
-
zip_code?: number;
|
|
1217
|
-
state_code?: string;
|
|
1218
|
-
display_address?: string;
|
|
1219
|
-
sector?: string;
|
|
1220
|
-
};
|
|
1221
|
-
/** @returns {Kwargs} */
|
|
1222
|
-
declare function Kwargs(): Kwargs;
|
|
1223
|
-
type Kwargs = {
|
|
1224
|
-
value?: string;
|
|
1225
|
-
};
|
|
1226
|
-
/** @returns {ShipmentIdBarcodeGenerator} */
|
|
1227
|
-
declare function ShipmentIdBarcodeGenerator(): ShipmentIdBarcodeGenerator;
|
|
1228
|
-
type ShipmentIdBarcodeGenerator = {
|
|
1229
|
-
method?: string;
|
|
1230
|
-
kwargs?: Kwargs;
|
|
1231
|
-
};
|
|
1232
|
-
/** @returns {SignedQrcodeGenerator} */
|
|
1233
|
-
declare function SignedQrcodeGenerator(): SignedQrcodeGenerator;
|
|
1234
|
-
type SignedQrcodeGenerator = {
|
|
1235
|
-
method?: string;
|
|
1236
|
-
kwargs?: Kwargs;
|
|
1237
|
-
};
|
|
1238
|
-
/** @returns {KwargsUpiQrcode} */
|
|
1239
|
-
declare function KwargsUpiQrcode(): KwargsUpiQrcode;
|
|
1240
|
-
type KwargsUpiQrcode = {
|
|
1241
|
-
qr_data?: string;
|
|
1242
|
-
qr_url?: string;
|
|
1243
|
-
};
|
|
1244
|
-
/** @returns {UpiQrcodeGenerator} */
|
|
1245
|
-
declare function UpiQrcodeGenerator(): UpiQrcodeGenerator;
|
|
1246
|
-
type UpiQrcodeGenerator = {
|
|
1247
|
-
method?: string;
|
|
1248
|
-
kwargs?: KwargsUpiQrcode;
|
|
1249
|
-
};
|
|
1250
|
-
/** @returns {DigitalsignatureGenerator} */
|
|
1251
|
-
declare function DigitalsignatureGenerator(): DigitalsignatureGenerator;
|
|
1252
|
-
type DigitalsignatureGenerator = {
|
|
1253
|
-
method?: string;
|
|
1254
|
-
kwargs?: Kwargs;
|
|
1255
|
-
};
|
|
1256
|
-
/** @returns {KwargsAwbNumber} */
|
|
1257
|
-
declare function KwargsAwbNumber(): KwargsAwbNumber;
|
|
1258
|
-
type KwargsAwbNumber = {
|
|
1259
|
-
value?: any[];
|
|
1260
|
-
};
|
|
1261
|
-
/** @returns {AwbNumberLabelBarcodeGenerator} */
|
|
1262
|
-
declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
|
|
1263
|
-
type AwbNumberLabelBarcodeGenerator = {
|
|
1264
|
-
method?: string;
|
|
1265
|
-
kwargs?: KwargsAwbNumber;
|
|
1266
|
-
};
|
|
1267
|
-
/** @returns {AwbNumberBarcodeGenerator} */
|
|
1268
|
-
declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
|
|
1269
|
-
type AwbNumberBarcodeGenerator = {
|
|
1270
|
-
method?: string;
|
|
1271
|
-
kwargs?: Kwargs;
|
|
1272
|
-
};
|
|
1273
|
-
/** @returns {MetaProperty} */
|
|
1274
|
-
declare function MetaProperty(): MetaProperty;
|
|
1275
|
-
type MetaProperty = {
|
|
1276
|
-
shipment_id_barcode_generator?: ShipmentIdBarcodeGenerator;
|
|
1277
|
-
signed_qrcode_generator?: SignedQrcodeGenerator;
|
|
1278
|
-
upi_qrcode_generator?: UpiQrcodeGenerator;
|
|
1279
|
-
digitalsignature_generator?: DigitalsignatureGenerator;
|
|
1280
|
-
awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
|
|
1281
|
-
awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
|
|
1282
|
-
};
|
|
1283
|
-
/** @returns {Meta} */
|
|
1284
|
-
declare function Meta(): Meta;
|
|
1285
|
-
type Meta = {
|
|
1286
|
-
generator?: MetaProperty;
|
|
1287
|
-
};
|
|
1288
|
-
/** @returns {DummyTemplateDataPayload} */
|
|
1289
|
-
declare function DummyTemplateDataPayload(): DummyTemplateDataPayload;
|
|
1290
|
-
type DummyTemplateDataPayload = {
|
|
1291
|
-
is_export?: boolean;
|
|
1292
|
-
is_export_shipment?: boolean;
|
|
1293
|
-
app_domain_name?: string;
|
|
1294
|
-
txn_id?: string;
|
|
1295
|
-
utr?: string;
|
|
1296
|
-
po_number?: string;
|
|
1297
|
-
credit_note_id?: string;
|
|
1298
|
-
current_date?: string;
|
|
1299
|
-
total_value_of_goods?: number;
|
|
1300
|
-
b2b_buyer_details?: any;
|
|
1301
|
-
is_qwik?: any;
|
|
1302
|
-
order_type?: string;
|
|
1303
|
-
conversion_rate?: ConversionRate;
|
|
1304
|
-
currency_code?: string;
|
|
1305
|
-
shipment_id?: string;
|
|
1306
|
-
delivery_partner_detail?: DeliveryPartnerDetail;
|
|
1307
|
-
image?: Image;
|
|
1308
|
-
payments?: PaymentData[];
|
|
1309
|
-
invoice_detail?: InvoiceDetail;
|
|
1310
|
-
company_detail?: CompanyDetail;
|
|
1311
|
-
store_detail?: StoreDetail;
|
|
1312
|
-
customer_billing_detail?: CustomerBillingDetail;
|
|
1313
|
-
customer_shipping_detail?: CustomerShippingDetail;
|
|
1314
|
-
return_detail?: ReturnDetail;
|
|
1315
|
-
product_table?: ProductTable;
|
|
1316
|
-
tax_table?: TaxTable;
|
|
1317
|
-
declaration_texts?: string[];
|
|
1318
|
-
registered_company_detail?: RegisteredCompanyDetail;
|
|
1319
|
-
disclaimer?: string;
|
|
1320
|
-
meta?: Meta;
|
|
1321
|
-
is_self_ship?: boolean;
|
|
1322
|
-
mode?: string;
|
|
1323
|
-
is_self_pickup?: boolean;
|
|
1324
|
-
platform_name?: string;
|
|
1325
|
-
amount_to_be_collected?: number;
|
|
1326
|
-
amount_paid?: number;
|
|
1327
|
-
waybills?: any[];
|
|
1328
|
-
total_items?: number;
|
|
1329
|
-
brand_logo?: string;
|
|
1330
|
-
shipment_id_barcode?: string;
|
|
1331
|
-
signed_qrcode?: string;
|
|
1332
|
-
upi_qrcode?: string;
|
|
1333
|
-
digitalsignature?: string;
|
|
1334
|
-
awb_number_barcode?: string;
|
|
1335
|
-
uid?: string;
|
|
1336
|
-
};
|
|
1337
|
-
/** @returns {DummyTemplateData} */
|
|
1338
|
-
declare function DummyTemplateData(): DummyTemplateData;
|
|
1339
|
-
type DummyTemplateData = {
|
|
1340
|
-
/**
|
|
1341
|
-
* - This field contains the unique identifier for the
|
|
1342
|
-
* PDF payload.
|
|
1343
|
-
*/
|
|
1344
|
-
_id?: string;
|
|
1345
|
-
/**
|
|
1346
|
-
* - This is invoice unique id
|
|
1347
|
-
*/
|
|
1348
|
-
pdf_type_id?: number;
|
|
1349
|
-
payload: DummyTemplateDataPayload;
|
|
1350
|
-
/**
|
|
1351
|
-
* - This field represents the country code.
|
|
1352
|
-
*/
|
|
1353
|
-
country_code?: string;
|
|
1354
|
-
__v?: number;
|
|
1355
|
-
};
|
|
1356
|
-
/** @returns {savePdfPayload} */
|
|
1357
|
-
declare function savePdfPayload(): savePdfPayload;
|
|
1358
|
-
type savePdfPayload = {
|
|
1359
|
-
pdf_type_id?: number;
|
|
1360
|
-
payload?: DummyTemplateDataPayload;
|
|
1361
|
-
country_code?: string;
|
|
1362
|
-
};
|
|
1363
|
-
/** @returns {DummyPayloadById} */
|
|
1364
|
-
declare function DummyPayloadById(): DummyPayloadById;
|
|
1365
|
-
type DummyPayloadById = {
|
|
1366
|
-
_id?: string;
|
|
1367
|
-
pdf_type_id?: number;
|
|
1368
|
-
payload?: DummyTemplateDataPayload;
|
|
1369
|
-
country_code?: string;
|
|
1370
|
-
/**
|
|
1371
|
-
* - This field holds the version number.
|
|
1372
|
-
*/
|
|
1373
|
-
__v?: number;
|
|
1374
|
-
};
|
|
1375
|
-
/** @returns {DummyTemplateDataItems} */
|
|
1376
|
-
declare function DummyTemplateDataItems(): DummyTemplateDataItems;
|
|
1377
|
-
type DummyTemplateDataItems = {
|
|
1378
|
-
data: DummyTemplateData[];
|
|
1379
|
-
success: boolean;
|
|
1380
|
-
};
|
|
1381
306
|
/** @returns {PdfConfig} */
|
|
1382
307
|
declare function PdfConfig(): PdfConfig;
|
|
1383
308
|
type PdfConfig = {
|
|
@@ -1439,15 +364,7 @@ type PdfConfigSuccessData = {
|
|
|
1439
364
|
* configuration document.
|
|
1440
365
|
*/
|
|
1441
366
|
__v?: number;
|
|
1442
|
-
/**
|
|
1443
|
-
* - This field represents the country code.
|
|
1444
|
-
*/
|
|
1445
367
|
country_code?: string;
|
|
1446
|
-
/**
|
|
1447
|
-
* - This field indicates whether the
|
|
1448
|
-
* HTML template is the default template.
|
|
1449
|
-
*/
|
|
1450
|
-
default_template?: boolean;
|
|
1451
368
|
};
|
|
1452
369
|
/** @returns {PdfConfigSuccess} */
|
|
1453
370
|
declare function PdfConfigSuccess(): PdfConfigSuccess;
|
|
@@ -1472,16 +389,6 @@ type PdfConfigSaveSuccess = {
|
|
|
1472
389
|
data?: PdfConfigSaveSuccessData;
|
|
1473
390
|
success?: boolean;
|
|
1474
391
|
};
|
|
1475
|
-
/** @returns {Document} */
|
|
1476
|
-
declare function Document(): Document;
|
|
1477
|
-
type Document = {
|
|
1478
|
-
_id?: string;
|
|
1479
|
-
pdf_type_id?: number;
|
|
1480
|
-
format?: string;
|
|
1481
|
-
template?: string;
|
|
1482
|
-
country_code?: string;
|
|
1483
|
-
__v?: number;
|
|
1484
|
-
};
|
|
1485
392
|
/** @returns {PaymentReceiptRequestBody} */
|
|
1486
393
|
declare function PaymentReceiptRequestBody(): PaymentReceiptRequestBody;
|
|
1487
394
|
type PaymentReceiptRequestBody = {
|